VirtualMachineScaleSetIpConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineScaleSetIpConfiguration
- com.
Implements
public final class VirtualMachineScaleSetIpConfiguration
implements JsonSerializable<VirtualMachineScaleSetIpConfiguration>
Describes a virtual machine scale set network profile's IP configuration.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineScaleSetIpConfiguration() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Sub |
applicationGatewayBackendAddressPools()
Get the application |
List<Sub |
applicationSecurityGroups()
Get the application |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
List<Sub |
loadBalancerBackendAddressPools()
Get the load |
List<Sub |
loadBalancerInboundNatPools()
Get the load |
String |
name()
Get the name property: The IP configuration name. |
Boolean |
primary()
Get the primary property: Specifies the primary network interface in case the virtual machine has more than 1 network interface. |
Ip |
privateIpAddressVersion()
Get the private |
Virtual |
publicIpAddressConfiguration()
Get the public |
Api |
subnet()
Get the subnet property: Specifies the identifier of the subnet. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withApplicationGatewayBackendAddressPools(List<SubResource> applicationGatewayBackendAddressPools)
Set the application |
Virtual |
withApplicationSecurityGroups(List<SubResource> applicationSecurityGroups)
Set the application |
Virtual |
withLoadBalancerBackendAddressPools(List<SubResource> loadBalancerBackendAddressPools)
Set the load |
Virtual |
withLoadBalancerInboundNatPools(List<SubResource> loadBalancerInboundNatPools)
Set the load |
Virtual |
withName(String name)
Set the name property: The IP configuration name. |
Virtual |
withPrimary(Boolean primary)
Set the primary property: Specifies the primary network interface in case the virtual machine has more than 1 network interface. |
Virtual |
withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)
Set the private |
Virtual |
withPublicIpAddressConfiguration(VirtualMachineScaleSetPublicIpAddressConfiguration publicIpAddressConfiguration)
Set the public |
Virtual |
withSubnet(ApiEntityReference subnet)
Set the subnet property: Specifies the identifier of the subnet. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineScaleSetIpConfiguration
public VirtualMachineScaleSetIpConfiguration()
Creates an instance of VirtualMachineScaleSetIpConfiguration class.
Method Details
applicationGatewayBackendAddressPools
public List
Get the applicationGatewayBackendAddressPools property: Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
Returns:
applicationSecurityGroups
public List
Get the applicationSecurityGroups property: Specifies an array of references to application security group.
Returns:
fromJson
public static VirtualMachineScaleSetIpConfiguration fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetIpConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
loadBalancerBackendAddressPools
public List
Get the loadBalancerBackendAddressPools property: Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
Returns:
loadBalancerInboundNatPools
public List
Get the loadBalancerInboundNatPools property: Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
Returns:
name
public String name()
Get the name property: The IP configuration name.
Returns:
primary
public Boolean primary()
Get the primary property: Specifies the primary network interface in case the virtual machine has more than 1 network interface.
Returns:
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:
publicIpAddressConfiguration
public VirtualMachineScaleSetPublicIpAddressConfiguration publicIpAddressConfiguration()
Get the publicIpAddressConfiguration property: The publicIPAddressConfiguration.
Returns:
subnet
public ApiEntityReference subnet()
Get the subnet property: Specifies the identifier of the subnet.
Returns:
toJson
validate
public void validate()
Validates the instance.
withApplicationGatewayBackendAddressPools
public VirtualMachineScaleSetIpConfiguration withApplicationGatewayBackendAddressPools(List
Set the applicationGatewayBackendAddressPools property: Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
Parameters:
Returns:
withApplicationSecurityGroups
public VirtualMachineScaleSetIpConfiguration withApplicationSecurityGroups(List
Set the applicationSecurityGroups property: Specifies an array of references to application security group.
Parameters:
Returns:
withLoadBalancerBackendAddressPools
public VirtualMachineScaleSetIpConfiguration withLoadBalancerBackendAddressPools(List
Set the loadBalancerBackendAddressPools property: Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
Parameters:
Returns:
withLoadBalancerInboundNatPools
public VirtualMachineScaleSetIpConfiguration withLoadBalancerInboundNatPools(List
Set the loadBalancerInboundNatPools property: Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
Parameters:
Returns:
withName
public VirtualMachineScaleSetIpConfiguration withName(String name)
Set the name property: The IP configuration name.
Parameters:
Returns:
withPrimary
public VirtualMachineScaleSetIpConfiguration withPrimary(Boolean primary)
Set the primary property: Specifies the primary network interface in case the virtual machine has more than 1 network interface.
Parameters:
Returns:
withPrivateIpAddressVersion
public VirtualMachineScaleSetIpConfiguration 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:
Returns:
withPublicIpAddressConfiguration
public VirtualMachineScaleSetIpConfiguration withPublicIpAddressConfiguration(VirtualMachineScaleSetPublicIpAddressConfiguration publicIpAddressConfiguration)
Set the publicIpAddressConfiguration property: The publicIPAddressConfiguration.
Parameters:
Returns:
withSubnet
public VirtualMachineScaleSetIpConfiguration withSubnet(ApiEntityReference subnet)
Set the subnet property: Specifies the identifier of the subnet.
Parameters:
Returns:
Applies to
Azure SDK for Java