Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.compute; import java.util.List; import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
Describes a virtual machine scale set network profile's IP configuration.
/** * Describes a virtual machine scale set network profile's IP configuration. */
@JsonFlatten public class VirtualMachineScaleSetIPConfiguration extends SubResource {
The IP configuration name.
/** * The IP configuration name. */
@JsonProperty(value = "name", required = true) private String name;
Specifies the identifier of the subnet.
/** * Specifies the identifier of the subnet. */
@JsonProperty(value = "properties.subnet") private ApiEntityReference subnet;
Specifies the primary network interface in case the virtual machine has more than 1 network interface.
/** * Specifies the primary network interface in case the virtual machine has * more than 1 network interface. */
@JsonProperty(value = "properties.primary") private Boolean primary;
The publicIPAddressConfiguration.
/** * The publicIPAddressConfiguration. */
@JsonProperty(value = "properties.publicIPAddressConfiguration") private VirtualMachineScaleSetPublicIPAddressConfiguration publicIPAddressConfiguration;
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'. Possible values include: 'IPv4', 'IPv6'.
/** * 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'. Possible values include: 'IPv4', * 'IPv6'. */
@JsonProperty(value = "properties.privateIPAddressVersion") private IPVersion privateIPAddressVersion;
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.
/** * 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. */
@JsonProperty(value = "properties.applicationGatewayBackendAddressPools") private List<SubResource> applicationGatewayBackendAddressPools;
Specifies an array of references to application security group.
/** * Specifies an array of references to application security group. */
@JsonProperty(value = "properties.applicationSecurityGroups") private List<SubResource> applicationSecurityGroups;
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.
/** * 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. */
@JsonProperty(value = "properties.loadBalancerBackendAddressPools") private List<SubResource> loadBalancerBackendAddressPools;
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.
/** * 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. */
@JsonProperty(value = "properties.loadBalancerInboundNatPools") private List<SubResource> loadBalancerInboundNatPools;
Get the IP configuration name.
Returns:the name value
/** * Get the IP configuration name. * * @return the name value */
public String name() { return this.name; }
Set the IP configuration name.
Params:
  • name – the name value to set
Returns:the VirtualMachineScaleSetIPConfiguration object itself.
/** * Set the IP configuration name. * * @param name the name value to set * @return the VirtualMachineScaleSetIPConfiguration object itself. */
public VirtualMachineScaleSetIPConfiguration withName(String name) { this.name = name; return this; }
Get specifies the identifier of the subnet.
Returns:the subnet value
/** * Get specifies the identifier of the subnet. * * @return the subnet value */
public ApiEntityReference subnet() { return this.subnet; }
Set specifies the identifier of the subnet.
Params:
  • subnet – the subnet value to set
Returns:the VirtualMachineScaleSetIPConfiguration object itself.
/** * Set specifies the identifier of the subnet. * * @param subnet the subnet value to set * @return the VirtualMachineScaleSetIPConfiguration object itself. */
public VirtualMachineScaleSetIPConfiguration withSubnet(ApiEntityReference subnet) { this.subnet = subnet; return this; }
Get specifies the primary network interface in case the virtual machine has more than 1 network interface.
Returns:the primary value
/** * Get specifies the primary network interface in case the virtual machine has more than 1 network interface. * * @return the primary value */
public Boolean primary() { return this.primary; }
Set specifies the primary network interface in case the virtual machine has more than 1 network interface.
Params:
  • primary – the primary value to set
Returns:the VirtualMachineScaleSetIPConfiguration object itself.
/** * Set specifies the primary network interface in case the virtual machine has more than 1 network interface. * * @param primary the primary value to set * @return the VirtualMachineScaleSetIPConfiguration object itself. */
public VirtualMachineScaleSetIPConfiguration withPrimary(Boolean primary) { this.primary = primary; return this; }
Get the publicIPAddressConfiguration.
Returns:the publicIPAddressConfiguration value
/** * Get the publicIPAddressConfiguration. * * @return the publicIPAddressConfiguration value */
public VirtualMachineScaleSetPublicIPAddressConfiguration publicIPAddressConfiguration() { return this.publicIPAddressConfiguration; }
Set the publicIPAddressConfiguration.
Params:
  • publicIPAddressConfiguration – the publicIPAddressConfiguration value to set
Returns:the VirtualMachineScaleSetIPConfiguration object itself.
/** * Set the publicIPAddressConfiguration. * * @param publicIPAddressConfiguration the publicIPAddressConfiguration value to set * @return the VirtualMachineScaleSetIPConfiguration object itself. */
public VirtualMachineScaleSetIPConfiguration withPublicIPAddressConfiguration(VirtualMachineScaleSetPublicIPAddressConfiguration publicIPAddressConfiguration) { this.publicIPAddressConfiguration = publicIPAddressConfiguration; return this; }
Get 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'. Possible values include: 'IPv4', 'IPv6'.
Returns:the privateIPAddressVersion value
/** * Get 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'. Possible values include: 'IPv4', 'IPv6'. * * @return the privateIPAddressVersion value */
public IPVersion privateIPAddressVersion() { return this.privateIPAddressVersion; }
Set 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'. Possible values include: 'IPv4', 'IPv6'.
Params:
  • privateIPAddressVersion – the privateIPAddressVersion value to set
Returns:the VirtualMachineScaleSetIPConfiguration object itself.
/** * Set 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'. Possible values include: 'IPv4', 'IPv6'. * * @param privateIPAddressVersion the privateIPAddressVersion value to set * @return the VirtualMachineScaleSetIPConfiguration object itself. */
public VirtualMachineScaleSetIPConfiguration withPrivateIPAddressVersion(IPVersion privateIPAddressVersion) { this.privateIPAddressVersion = privateIPAddressVersion; return this; }
Get 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:the applicationGatewayBackendAddressPools value
/** * Get 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. * * @return the applicationGatewayBackendAddressPools value */
public List<SubResource> applicationGatewayBackendAddressPools() { return this.applicationGatewayBackendAddressPools; }
Set 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.
Params:
  • applicationGatewayBackendAddressPools – the applicationGatewayBackendAddressPools value to set
Returns:the VirtualMachineScaleSetIPConfiguration object itself.
/** * Set 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. * * @param applicationGatewayBackendAddressPools the applicationGatewayBackendAddressPools value to set * @return the VirtualMachineScaleSetIPConfiguration object itself. */
public VirtualMachineScaleSetIPConfiguration withApplicationGatewayBackendAddressPools(List<SubResource> applicationGatewayBackendAddressPools) { this.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools; return this; }
Get specifies an array of references to application security group.
Returns:the applicationSecurityGroups value
/** * Get specifies an array of references to application security group. * * @return the applicationSecurityGroups value */
public List<SubResource> applicationSecurityGroups() { return this.applicationSecurityGroups; }
Set specifies an array of references to application security group.
Params:
  • applicationSecurityGroups – the applicationSecurityGroups value to set
Returns:the VirtualMachineScaleSetIPConfiguration object itself.
/** * Set specifies an array of references to application security group. * * @param applicationSecurityGroups the applicationSecurityGroups value to set * @return the VirtualMachineScaleSetIPConfiguration object itself. */
public VirtualMachineScaleSetIPConfiguration withApplicationSecurityGroups(List<SubResource> applicationSecurityGroups) { this.applicationSecurityGroups = applicationSecurityGroups; return this; }
Get 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:the loadBalancerBackendAddressPools value
/** * Get 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. * * @return the loadBalancerBackendAddressPools value */
public List<SubResource> loadBalancerBackendAddressPools() { return this.loadBalancerBackendAddressPools; }
Set 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.
Params:
  • loadBalancerBackendAddressPools – the loadBalancerBackendAddressPools value to set
Returns:the VirtualMachineScaleSetIPConfiguration object itself.
/** * Set 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. * * @param loadBalancerBackendAddressPools the loadBalancerBackendAddressPools value to set * @return the VirtualMachineScaleSetIPConfiguration object itself. */
public VirtualMachineScaleSetIPConfiguration withLoadBalancerBackendAddressPools(List<SubResource> loadBalancerBackendAddressPools) { this.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools; return this; }
Get 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:the loadBalancerInboundNatPools value
/** * Get 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. * * @return the loadBalancerInboundNatPools value */
public List<SubResource> loadBalancerInboundNatPools() { return this.loadBalancerInboundNatPools; }
Set 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.
Params:
  • loadBalancerInboundNatPools – the loadBalancerInboundNatPools value to set
Returns:the VirtualMachineScaleSetIPConfiguration object itself.
/** * Set 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. * * @param loadBalancerInboundNatPools the loadBalancerInboundNatPools value to set * @return the VirtualMachineScaleSetIPConfiguration object itself. */
public VirtualMachineScaleSetIPConfiguration withLoadBalancerInboundNatPools(List<SubResource> loadBalancerInboundNatPools) { this.loadBalancerInboundNatPools = loadBalancerInboundNatPools; return this; } }