Class VirtualMachineScaleSetUpdateIpConfiguration
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdateIpConfiguration
-
public final class VirtualMachineScaleSetUpdateIpConfiguration extends com.azure.core.management.SubResourceDescribes 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 Constructor Description VirtualMachineScaleSetUpdateIpConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.azure.core.management.SubResource>applicationGatewayBackendAddressPools()Get the applicationGatewayBackendAddressPools property: The application gateway backend address pools.List<com.azure.core.management.SubResource>applicationSecurityGroups()Get the applicationSecurityGroups property: Specifies an array of references to application security group.List<com.azure.core.management.SubResource>loadBalancerBackendAddressPools()Get the loadBalancerBackendAddressPools property: The load balancer backend address pools.List<com.azure.core.management.SubResource>loadBalancerInboundNatPools()Get the loadBalancerInboundNatPools property: The load balancer inbound nat pools.Stringname()Get the name property: The IP configuration name.Booleanprimary()Get the primary property: Specifies the primary IP Configuration in case the network interface has more than one IP Configuration.IpVersionprivateIpAddressVersion()Get the privateIpAddressVersion property: Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6.VirtualMachineScaleSetUpdatePublicIpAddressConfigurationpublicIpAddressConfiguration()Get the publicIpAddressConfiguration property: The publicIPAddressConfiguration.ApiEntityReferencesubnet()Get the subnet property: The subnet.voidvalidate()Validates the instance.VirtualMachineScaleSetUpdateIpConfigurationwithApplicationGatewayBackendAddressPools(List<com.azure.core.management.SubResource> applicationGatewayBackendAddressPools)Set the applicationGatewayBackendAddressPools property: The application gateway backend address pools.VirtualMachineScaleSetUpdateIpConfigurationwithApplicationSecurityGroups(List<com.azure.core.management.SubResource> applicationSecurityGroups)Set the applicationSecurityGroups property: Specifies an array of references to application security group.VirtualMachineScaleSetUpdateIpConfigurationwithId(String id)VirtualMachineScaleSetUpdateIpConfigurationwithLoadBalancerBackendAddressPools(List<com.azure.core.management.SubResource> loadBalancerBackendAddressPools)Set the loadBalancerBackendAddressPools property: The load balancer backend address pools.VirtualMachineScaleSetUpdateIpConfigurationwithLoadBalancerInboundNatPools(List<com.azure.core.management.SubResource> loadBalancerInboundNatPools)Set the loadBalancerInboundNatPools property: The load balancer inbound nat pools.VirtualMachineScaleSetUpdateIpConfigurationwithName(String name)Set the name property: The IP configuration name.VirtualMachineScaleSetUpdateIpConfigurationwithPrimary(Boolean primary)Set the primary property: Specifies the primary IP Configuration in case the network interface has more than one IP Configuration.VirtualMachineScaleSetUpdateIpConfigurationwithPrivateIpAddressVersion(IpVersion privateIpAddressVersion)Set the privateIpAddressVersion property: Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6.VirtualMachineScaleSetUpdateIpConfigurationwithPublicIpAddressConfiguration(VirtualMachineScaleSetUpdatePublicIpAddressConfiguration publicIpAddressConfiguration)Set the publicIpAddressConfiguration property: The publicIPAddressConfiguration.VirtualMachineScaleSetUpdateIpConfigurationwithSubnet(ApiEntityReference subnet)Set the subnet property: The subnet.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The IP configuration name.- Returns:
- the name value.
-
withName
public VirtualMachineScaleSetUpdateIpConfiguration withName(String name)
Set the name property: The IP configuration name.- Parameters:
name- the name value to set.- Returns:
- the VirtualMachineScaleSetUpdateIpConfiguration object itself.
-
withId
public VirtualMachineScaleSetUpdateIpConfiguration withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
subnet
public ApiEntityReference subnet()
Get the subnet property: The subnet.- Returns:
- the subnet value.
-
withSubnet
public VirtualMachineScaleSetUpdateIpConfiguration withSubnet(ApiEntityReference subnet)
Set the subnet property: The subnet.- Parameters:
subnet- the subnet value to set.- Returns:
- the VirtualMachineScaleSetUpdateIpConfiguration 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
public VirtualMachineScaleSetUpdateIpConfiguration withPrimary(Boolean primary)
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
public VirtualMachineScaleSetUpdatePublicIpAddressConfiguration publicIpAddressConfiguration()
Get the publicIpAddressConfiguration property: The publicIPAddressConfiguration.- Returns:
- the publicIpAddressConfiguration value.
-
withPublicIpAddressConfiguration
public VirtualMachineScaleSetUpdateIpConfiguration withPublicIpAddressConfiguration(VirtualMachineScaleSetUpdatePublicIpAddressConfiguration publicIpAddressConfiguration)
Set the publicIpAddressConfiguration property: The publicIPAddressConfiguration.- Parameters:
publicIpAddressConfiguration- the publicIpAddressConfiguration value to set.- Returns:
- the VirtualMachineScaleSetUpdateIpConfiguration 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 VirtualMachineScaleSetUpdateIpConfiguration 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 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
public VirtualMachineScaleSetUpdateIpConfiguration 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 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
public VirtualMachineScaleSetUpdateIpConfiguration 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 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
public VirtualMachineScaleSetUpdateIpConfiguration 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 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
public VirtualMachineScaleSetUpdateIpConfiguration 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 VirtualMachineScaleSetUpdateIpConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-