你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkInterfaceIpConfigurationPropertiesFormatInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationPropertiesFormatInner

Implements

public final class NetworkInterfaceIpConfigurationPropertiesFormatInner
implements JsonSerializable<NetworkInterfaceIpConfigurationPropertiesFormatInner>

Properties of IP configuration.

Constructor Summary

Constructor Description
NetworkInterfaceIpConfigurationPropertiesFormatInner()

Creates an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner class.

Method Summary

Modifier and Type Method and Description
List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools()

Get the applicationGatewayBackendAddressPools property: The reference to ApplicationGatewayBackendAddressPool resource.

List<ApplicationSecurityGroupInner> applicationSecurityGroups()

Get the applicationSecurityGroups property: Application security groups in which the IP configuration is included.

static NetworkInterfaceIpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner from the JsonReader.

SubResource gatewayLoadBalancer()

Get the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.

List<BackendAddressPoolInner> loadBalancerBackendAddressPools()

Get the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource.

List<InboundNatRuleInner> loadBalancerInboundNatRules()

Get the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules.

Boolean primary()

Get the primary property: Whether this is a primary customer address on the network interface.

String privateIpAddress()

Get the privateIpAddress property: Private IP address of the IP configuration.

Integer privateIPAddressPrefixLength()

Get the privateIPAddressPrefixLength property: The private IP address prefix length.

IpVersion privateIpAddressVersion()

Get the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6.

IpAllocationMethod privateIpAllocationMethod()

Get the privateIpAllocationMethod property: The private IP address allocation method.

NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties()

Get the privateLinkConnectionProperties property: PrivateLinkConnection properties for the network interface.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the network interface IP configuration.

PublicIpAddressInner publicIpAddress()

Get the publicIpAddress property: Public IP address bound to the IP configuration.

SubnetInner subnet()

Get the subnet property: Subnet bound to the IP configuration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<VirtualNetworkTapInner> virtualNetworkTaps()

Get the virtualNetworkTaps property: The reference to Virtual Network Taps.

NetworkInterfaceIpConfigurationPropertiesFormatInner withApplicationGatewayBackendAddressPools(List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools)

Set the applicationGatewayBackendAddressPools property: The reference to ApplicationGatewayBackendAddressPool resource.

NetworkInterfaceIpConfigurationPropertiesFormatInner withApplicationSecurityGroups(List<ApplicationSecurityGroupInner> applicationSecurityGroups)

Set the applicationSecurityGroups property: Application security groups in which the IP configuration is included.

NetworkInterfaceIpConfigurationPropertiesFormatInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer)

Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.

NetworkInterfaceIpConfigurationPropertiesFormatInner withLoadBalancerBackendAddressPools(List<BackendAddressPoolInner> loadBalancerBackendAddressPools)

Set the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource.

NetworkInterfaceIpConfigurationPropertiesFormatInner withLoadBalancerInboundNatRules(List<InboundNatRuleInner> loadBalancerInboundNatRules)

Set the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules.

NetworkInterfaceIpConfigurationPropertiesFormatInner withPrimary(Boolean primary)

Set the primary property: Whether this is a primary customer address on the network interface.

NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: Private IP address of the IP configuration.

NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIPAddressPrefixLength(Integer privateIPAddressPrefixLength)

Set the privateIPAddressPrefixLength property: The private IP address prefix length.

NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)

Set the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6.

NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)

Set the privateIpAllocationMethod property: The private IP address allocation method.

NetworkInterfaceIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress)

Set the publicIpAddress property: Public IP address bound to the IP configuration.

NetworkInterfaceIpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet)

Set the subnet property: Subnet bound to the IP configuration.

NetworkInterfaceIpConfigurationPropertiesFormatInner withVirtualNetworkTaps(List<VirtualNetworkTapInner> virtualNetworkTaps)

Set the virtualNetworkTaps property: The reference to Virtual Network Taps.

Methods inherited from java.lang.Object

Constructor Details

NetworkInterfaceIpConfigurationPropertiesFormatInner

public NetworkInterfaceIpConfigurationPropertiesFormatInner()

Creates an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner class.

Method Details

applicationGatewayBackendAddressPools

public List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools()

Get the applicationGatewayBackendAddressPools property: The reference to ApplicationGatewayBackendAddressPool resource.

Returns:

the applicationGatewayBackendAddressPools value.

applicationSecurityGroups

public List<ApplicationSecurityGroupInner> applicationSecurityGroups()

Get the applicationSecurityGroups property: Application security groups in which the IP configuration is included.

Returns:

the applicationSecurityGroups value.

fromJson

public static NetworkInterfaceIpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkInterfaceIpConfigurationPropertiesFormatInner 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 NetworkInterfaceIpConfigurationPropertiesFormatInner.

gatewayLoadBalancer

public SubResource gatewayLoadBalancer()

Get the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.

Returns:

the gatewayLoadBalancer value.

loadBalancerBackendAddressPools

public List<BackendAddressPoolInner> loadBalancerBackendAddressPools()

Get the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource.

Returns:

the loadBalancerBackendAddressPools value.

loadBalancerInboundNatRules

public List<InboundNatRuleInner> loadBalancerInboundNatRules()

Get the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules.

Returns:

the loadBalancerInboundNatRules value.

primary

public Boolean primary()

Get the primary property: Whether this is a primary customer address on the network interface.

Returns:

the primary value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format

/<prefix-length>.

Returns:

the privateIpAddress value.

privateIPAddressPrefixLength

public Integer privateIPAddressPrefixLength()

Get the privateIPAddressPrefixLength property: The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.

Returns:

the privateIPAddressPrefixLength value.

privateIpAddressVersion

public IpVersion privateIpAddressVersion()

Get the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.

Returns:

the privateIpAddressVersion value.

privateIpAllocationMethod

public IpAllocationMethod privateIpAllocationMethod()

Get the privateIpAllocationMethod property: The private IP address allocation method.

Returns:

the privateIpAllocationMethod value.

privateLinkConnectionProperties

public NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties()

Get the privateLinkConnectionProperties property: PrivateLinkConnection properties for the network interface.

Returns:

the privateLinkConnectionProperties value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the network interface IP configuration.

Returns:

the provisioningState value.

publicIpAddress

public PublicIpAddressInner publicIpAddress()

Get the publicIpAddress property: Public IP address bound to the IP configuration.

Returns:

the publicIpAddress value.

subnet

public SubnetInner subnet()

Get the subnet property: Subnet bound to the IP configuration.

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualNetworkTaps

public List<VirtualNetworkTapInner> virtualNetworkTaps()

Get the virtualNetworkTaps property: The reference to Virtual Network Taps.

Returns:

the virtualNetworkTaps value.

withApplicationGatewayBackendAddressPools

public NetworkInterfaceIpConfigurationPropertiesFormatInner withApplicationGatewayBackendAddressPools(List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools)

Set the applicationGatewayBackendAddressPools property: The reference to ApplicationGatewayBackendAddressPool resource.

Parameters:

applicationGatewayBackendAddressPools - the applicationGatewayBackendAddressPools value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withApplicationSecurityGroups

public NetworkInterfaceIpConfigurationPropertiesFormatInner withApplicationSecurityGroups(List<ApplicationSecurityGroupInner> applicationSecurityGroups)

Set the applicationSecurityGroups property: Application security groups in which the IP configuration is included.

Parameters:

applicationSecurityGroups - the applicationSecurityGroups value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withGatewayLoadBalancer

public NetworkInterfaceIpConfigurationPropertiesFormatInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer)

Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.

Parameters:

gatewayLoadBalancer - the gatewayLoadBalancer value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withLoadBalancerBackendAddressPools

public NetworkInterfaceIpConfigurationPropertiesFormatInner withLoadBalancerBackendAddressPools(List<BackendAddressPoolInner> loadBalancerBackendAddressPools)

Set the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource.

Parameters:

loadBalancerBackendAddressPools - the loadBalancerBackendAddressPools value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withLoadBalancerInboundNatRules

public NetworkInterfaceIpConfigurationPropertiesFormatInner withLoadBalancerInboundNatRules(List<InboundNatRuleInner> loadBalancerInboundNatRules)

Set the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules.

Parameters:

loadBalancerInboundNatRules - the loadBalancerInboundNatRules value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withPrimary

public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrimary(Boolean primary)

Set the primary property: Whether this is a primary customer address on the network interface.

Parameters:

primary - the primary value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withPrivateIpAddress

public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format

/<prefix-length>.

Parameters:

privateIpAddress - the privateIpAddress value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withPrivateIPAddressPrefixLength

public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIPAddressPrefixLength(Integer privateIPAddressPrefixLength)

Set the privateIPAddressPrefixLength property: The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.

Parameters:

privateIPAddressPrefixLength - the privateIPAddressPrefixLength value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withPrivateIpAddressVersion

public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)

Set the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.

Parameters:

privateIpAddressVersion - the privateIpAddressVersion value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withPrivateIpAllocationMethod

public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)

Set the privateIpAllocationMethod property: The private IP address allocation method.

Parameters:

privateIpAllocationMethod - the privateIpAllocationMethod value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withPublicIpAddress

public NetworkInterfaceIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress)

Set the publicIpAddress property: Public IP address bound to the IP configuration.

Parameters:

publicIpAddress - the publicIpAddress value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withSubnet

public NetworkInterfaceIpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet)

Set the subnet property: Subnet bound to the IP configuration.

Parameters:

subnet - the subnet value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

withVirtualNetworkTaps

public NetworkInterfaceIpConfigurationPropertiesFormatInner withVirtualNetworkTaps(List<VirtualNetworkTapInner> virtualNetworkTaps)

Set the virtualNetworkTaps property: The reference to Virtual Network Taps.

Parameters:

virtualNetworkTaps - the virtualNetworkTaps value to set.

Returns:

the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.

Applies to