Class VirtualMachineScaleSetUpdateIpConfigurationProperties

java.lang.Object
com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetUpdateIpConfigurationProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualMachineScaleSetUpdateIpConfigurationProperties>

public final class VirtualMachineScaleSetUpdateIpConfigurationProperties extends Object implements com.azure.json.JsonSerializable<VirtualMachineScaleSetUpdateIpConfigurationProperties>
Describes a virtual machine scale set network profile's IP configuration properties.
  • Constructor Details

    • VirtualMachineScaleSetUpdateIpConfigurationProperties

      public VirtualMachineScaleSetUpdateIpConfigurationProperties()
      Creates an instance of VirtualMachineScaleSetUpdateIpConfigurationProperties class.
  • Method Details

    • subnet

      public ApiEntityReference subnet()
      Get the subnet property: The subnet.
      Returns:
      the subnet value.
    • withSubnet

      Set the subnet property: The subnet.
      Parameters:
      subnet - the subnet value to set.
      Returns:
      the VirtualMachineScaleSetUpdateIpConfigurationProperties object itself.
    • primary

      public Boolean primary()
      Get the primary property: Specifies the primary IP Configuration in case the network interface has more than one IP Configuration.
      Returns:
      the primary value.
    • withPrimary

      Set the primary property: Specifies the primary IP Configuration in case the network interface has more than one IP Configuration.
      Parameters:
      primary - the primary value to set.
      Returns:
      the VirtualMachineScaleSetUpdateIpConfigurationProperties object itself.
    • publicIpAddressConfiguration

      public VirtualMachineScaleSetUpdatePublicIpAddressConfiguration publicIpAddressConfiguration()
      Get the publicIpAddressConfiguration property: The publicIPAddressConfiguration.
      Returns:
      the publicIpAddressConfiguration value.
    • withPublicIpAddressConfiguration

      public VirtualMachineScaleSetUpdateIpConfigurationProperties withPublicIpAddressConfiguration(VirtualMachineScaleSetUpdatePublicIpAddressConfiguration publicIpAddressConfiguration)
      Set the publicIpAddressConfiguration property: The publicIPAddressConfiguration.
      Parameters:
      publicIpAddressConfiguration - the publicIpAddressConfiguration value to set.
      Returns:
      the VirtualMachineScaleSetUpdateIpConfigurationProperties object itself.
    • privateIpAddressVersion

      public IpVersion privateIpAddressVersion()
      Get the privateIpAddressVersion property: Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
      Returns:
      the privateIpAddressVersion value.
    • withPrivateIpAddressVersion

      public VirtualMachineScaleSetUpdateIpConfigurationProperties withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)
      Set the privateIpAddressVersion property: Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
      Parameters:
      privateIpAddressVersion - the privateIpAddressVersion value to set.
      Returns:
      the VirtualMachineScaleSetUpdateIpConfigurationProperties object itself.
    • applicationGatewayBackendAddressPools

      public List<com.azure.core.management.SubResource> applicationGatewayBackendAddressPools()
      Get the applicationGatewayBackendAddressPools property: The application gateway backend address pools.
      Returns:
      the applicationGatewayBackendAddressPools value.
    • withApplicationGatewayBackendAddressPools

      public VirtualMachineScaleSetUpdateIpConfigurationProperties withApplicationGatewayBackendAddressPools(List<com.azure.core.management.SubResource> applicationGatewayBackendAddressPools)
      Set the applicationGatewayBackendAddressPools property: The application gateway backend address pools.
      Parameters:
      applicationGatewayBackendAddressPools - the applicationGatewayBackendAddressPools value to set.
      Returns:
      the VirtualMachineScaleSetUpdateIpConfigurationProperties object itself.
    • applicationSecurityGroups

      public List<com.azure.core.management.SubResource> applicationSecurityGroups()
      Get the applicationSecurityGroups property: Specifies an array of references to application security group.
      Returns:
      the applicationSecurityGroups value.
    • withApplicationSecurityGroups

      public VirtualMachineScaleSetUpdateIpConfigurationProperties withApplicationSecurityGroups(List<com.azure.core.management.SubResource> applicationSecurityGroups)
      Set the applicationSecurityGroups property: Specifies an array of references to application security group.
      Parameters:
      applicationSecurityGroups - the applicationSecurityGroups value to set.
      Returns:
      the VirtualMachineScaleSetUpdateIpConfigurationProperties object itself.
    • loadBalancerBackendAddressPools

      public List<com.azure.core.management.SubResource> loadBalancerBackendAddressPools()
      Get the loadBalancerBackendAddressPools property: The load balancer backend address pools.
      Returns:
      the loadBalancerBackendAddressPools value.
    • withLoadBalancerBackendAddressPools

      public VirtualMachineScaleSetUpdateIpConfigurationProperties withLoadBalancerBackendAddressPools(List<com.azure.core.management.SubResource> loadBalancerBackendAddressPools)
      Set the loadBalancerBackendAddressPools property: The load balancer backend address pools.
      Parameters:
      loadBalancerBackendAddressPools - the loadBalancerBackendAddressPools value to set.
      Returns:
      the VirtualMachineScaleSetUpdateIpConfigurationProperties object itself.
    • loadBalancerInboundNatPools

      public List<com.azure.core.management.SubResource> loadBalancerInboundNatPools()
      Get the loadBalancerInboundNatPools property: The load balancer inbound nat pools.
      Returns:
      the loadBalancerInboundNatPools value.
    • withLoadBalancerInboundNatPools

      public VirtualMachineScaleSetUpdateIpConfigurationProperties withLoadBalancerInboundNatPools(List<com.azure.core.management.SubResource> loadBalancerInboundNatPools)
      Set the loadBalancerInboundNatPools property: The load balancer inbound nat pools.
      Parameters:
      loadBalancerInboundNatPools - the loadBalancerInboundNatPools value to set.
      Returns:
      the VirtualMachineScaleSetUpdateIpConfigurationProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<VirtualMachineScaleSetUpdateIpConfigurationProperties>
      Throws:
      IOException
    • fromJson

      public static VirtualMachineScaleSetUpdateIpConfigurationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of VirtualMachineScaleSetUpdateIpConfigurationProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of VirtualMachineScaleSetUpdateIpConfigurationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the VirtualMachineScaleSetUpdateIpConfigurationProperties.