java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdateIpConfiguration
All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualMachineScaleSetUpdateIpConfiguration >
Describes a virtual machine scale set network profile's IP configuration. NOTE: The subnet of a scale set may be
modified as long as the original subnet and the new subnet are in the same virtual network.
Constructor Summary
Constructors
Creates an instance of VirtualMachineScaleSetUpdateIpConfiguration class.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
List <com.azure.core.management.SubResource>
Get the applicationGatewayBackendAddressPools property: The application gateway backend address pools.
List <com.azure.core.management.SubResource>
Get the applicationSecurityGroups property: Specifies an array of references to application security group.
fromJson (com.azure.json.JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetUpdateIpConfiguration from the JsonReader.
List <com.azure.core.management.SubResource>
Get the loadBalancerBackendAddressPools property: The load balancer backend address pools.
List <com.azure.core.management.SubResource>
Get the loadBalancerInboundNatPools property: The load balancer inbound nat pools.
Get the name property: The IP configuration name.
Get the primary property: Specifies the primary IP Configuration in case the network interface has more than one
IP Configuration.
Get the privateIpAddressVersion property: Available from Api-Version 2017-03-30 onwards, it represents whether
the specific ipconfiguration is IPv4 or IPv6.
Get the publicIpAddressConfiguration property: The publicIPAddressConfiguration.
Get the subnet property: The subnet.
com.azure.json.JsonWriter
toJson (com.azure.json.JsonWriter jsonWriter)
void
Set the applicationGatewayBackendAddressPools property: The application gateway backend address pools.
Set the applicationSecurityGroups property: Specifies an array of references to application security group.
Set the loadBalancerBackendAddressPools property: The load balancer backend address pools.
Set the loadBalancerInboundNatPools property: The load balancer inbound nat pools.
Set the name property: The IP configuration name.
Set the primary property: Specifies the primary IP Configuration in case the network interface has more than one
IP Configuration.
Set the privateIpAddressVersion property: Available from Api-Version 2017-03-30 onwards, it represents whether
the specific ipconfiguration is IPv4 or IPv6.
Set the publicIpAddressConfiguration property: The publicIPAddressConfiguration.
Set the subnet property: The subnet.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
Constructor Details
VirtualMachineScaleSetUpdateIpConfiguration
public VirtualMachineScaleSetUpdateIpConfiguration ()
Creates an instance of VirtualMachineScaleSetUpdateIpConfiguration class.
Method Details
name
Get the name property: The IP configuration name.
Returns:
the name value.
withName
Set the name property: The IP configuration name.
Parameters:
name - the name value to set.
Returns:
the VirtualMachineScaleSetUpdateIpConfiguration object itself.
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 VirtualMachineScaleSetUpdateIpConfiguration object itself.
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 VirtualMachineScaleSetUpdateIpConfiguration object itself.
publicIpAddressConfiguration
Get the publicIpAddressConfiguration property: The publicIPAddressConfiguration.
Returns:
the publicIpAddressConfiguration value.
withPublicIpAddressConfiguration
Set the publicIpAddressConfiguration property: The publicIPAddressConfiguration.
Parameters:
publicIpAddressConfiguration - the publicIpAddressConfiguration value to set.
Returns:
the VirtualMachineScaleSetUpdateIpConfiguration object itself.
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
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 VirtualMachineScaleSetUpdateIpConfiguration 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
Set the applicationGatewayBackendAddressPools property: The application gateway backend address pools.
Parameters:
applicationGatewayBackendAddressPools - the applicationGatewayBackendAddressPools value to set.
Returns:
the VirtualMachineScaleSetUpdateIpConfiguration 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
Set the applicationSecurityGroups property: Specifies an array of references to application security group.
Parameters:
applicationSecurityGroups - the applicationSecurityGroups value to set.
Returns:
the VirtualMachineScaleSetUpdateIpConfiguration 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
Set the loadBalancerBackendAddressPools property: The load balancer backend address pools.
Parameters:
loadBalancerBackendAddressPools - the loadBalancerBackendAddressPools value to set.
Returns:
the VirtualMachineScaleSetUpdateIpConfiguration 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
Set the loadBalancerInboundNatPools property: The load balancer inbound nat pools.
Parameters:
loadBalancerInboundNatPools - the loadBalancerInboundNatPools value to set.
Returns:
the VirtualMachineScaleSetUpdateIpConfiguration object itself.
validate
public void validate ()
Validates the instance.
Throws:
IllegalArgumentException - thrown if the instance is not valid.
fromJson
Reads an instance of VirtualMachineScaleSetUpdateIpConfiguration from the JsonReader.
Parameters:
jsonReader - The JsonReader being read.
Returns:
An instance of VirtualMachineScaleSetUpdateIpConfiguration 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 VirtualMachineScaleSetUpdateIpConfiguration.