NetworkInterfaceIpConfigurationInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. NetworkInterfaceIpConfigurationInner
- com.
- com.
public final class NetworkInterfaceIpConfigurationInner
extends SubResource
IPConfiguration in a network interface.
Constructor Summary
Constructor | Description |
---|---|
NetworkInterfaceIpConfigurationInner() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Application |
applicationGatewayBackendAddressPools()
Get the application |
List<Application |
applicationSecurityGroups()
Get the application |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
Sub |
gatewayLoadBalancer()
Get the gateway |
List<Backend |
loadBalancerBackendAddressPools()
Get the load |
List<Inbound |
loadBalancerInboundNatRules()
Get the load |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Boolean |
primary()
Get the primary property: Whether this is a primary customer address on the network interface. |
String |
privateIpAddress()
Get the private |
Integer |
privateIpAddressPrefixLength()
Get the private |
Ip |
privateIpAddressVersion()
Get the private |
Ip |
privateIpAllocationMethod()
Get the private |
Network |
privateLinkConnectionProperties()
Get the private |
Provisioning |
provisioningState()
Get the provisioning |
Public |
publicIpAddress()
Get the public |
Subnet |
subnet()
Get the subnet property: Subnet bound to the IP configuration. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
List<Virtual |
virtualNetworkTaps()
Get the virtual |
Network |
withApplicationGatewayBackendAddressPools(List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools)
Set the application |
Network |
withApplicationSecurityGroups(List<ApplicationSecurityGroupInner> applicationSecurityGroups)
Set the application |
Network |
withGatewayLoadBalancer(SubResource gatewayLoadBalancer)
Set the gateway |
Network |
withId(String id) |
Network |
withLoadBalancerBackendAddressPools(List<BackendAddressPoolInner> loadBalancerBackendAddressPools)
Set the load |
Network |
withLoadBalancerInboundNatRules(List<InboundNatRuleInner> loadBalancerInboundNatRules)
Set the load |
Network |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Network |
withPrimary(Boolean primary)
Set the primary property: Whether this is a primary customer address on the network interface. |
Network |
withPrivateIpAddress(String privateIpAddress)
Set the private |
Network |
withPrivateIpAddressPrefixLength(Integer privateIpAddressPrefixLength)
Set the private |
Network |
withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)
Set the private |
Network |
withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the private |
Network |
withPublicIpAddress(PublicIpAddressInner publicIpAddress)
Set the public |
Network |
withSubnet(SubnetInner subnet)
Set the subnet property: Subnet bound to the IP configuration. |
Network |
withType(String type)
Set the type property: Resource type. |
Network |
withVirtualNetworkTaps(List<VirtualNetworkTapInner> virtualNetworkTaps)
Set the virtual |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
NetworkInterfaceIpConfigurationInner
public NetworkInterfaceIpConfigurationInner()
Creates an instance of NetworkInterfaceIpConfigurationInner class.
Method Details
applicationGatewayBackendAddressPools
public List
Get the applicationGatewayBackendAddressPools property: The reference to ApplicationGatewayBackendAddressPool resource.
Returns:
applicationSecurityGroups
public List
Get the applicationSecurityGroups property: Application security groups in which the IP configuration is included.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static NetworkInterfaceIpConfigurationInner fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterfaceIpConfigurationInner from the JsonReader.
Parameters:
Returns:
Throws:
gatewayLoadBalancer
public SubResource gatewayLoadBalancer()
Get the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.
Returns:
loadBalancerBackendAddressPools
public List
Get the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource.
Returns:
loadBalancerInboundNatRules
public List
Get the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules.
Returns:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
primary
public Boolean primary()
Get the primary property: Whether this is a primary customer address on the network interface.
Returns:
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
/.Returns:
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:
privateIpAddressVersion
public IpVersion privateIpAddressVersion()
Get the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
Returns:
privateIpAllocationMethod
public IpAllocationMethod privateIpAllocationMethod()
Get the privateIpAllocationMethod property: The private IP address allocation method.
Returns:
privateLinkConnectionProperties
public NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties()
Get the privateLinkConnectionProperties property: PrivateLinkConnection properties for the network interface.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the network interface IP configuration.
Returns:
publicIpAddress
public PublicIpAddressInner publicIpAddress()
Get the publicIpAddress property: Public IP address bound to the IP configuration.
Returns:
subnet
public SubnetInner subnet()
Get the subnet property: Subnet bound to the IP configuration.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkInterfaceIpConfigurationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
virtualNetworkTaps
public List
Get the virtualNetworkTaps property: The reference to Virtual Network Taps.
Returns:
withApplicationGatewayBackendAddressPools
public NetworkInterfaceIpConfigurationInner withApplicationGatewayBackendAddressPools(List
Set the applicationGatewayBackendAddressPools property: The reference to ApplicationGatewayBackendAddressPool resource.
Parameters:
Returns:
withApplicationSecurityGroups
public NetworkInterfaceIpConfigurationInner withApplicationSecurityGroups(List
Set the applicationSecurityGroups property: Application security groups in which the IP configuration is included.
Parameters:
Returns:
withGatewayLoadBalancer
public NetworkInterfaceIpConfigurationInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer)
Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.
Parameters:
Returns:
withId
public NetworkInterfaceIpConfigurationInner withId(String id)
Overrides:
NetworkInterfaceIpConfigurationInner.withId(String id)Parameters:
withLoadBalancerBackendAddressPools
public NetworkInterfaceIpConfigurationInner withLoadBalancerBackendAddressPools(List
Set the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource.
Parameters:
Returns:
withLoadBalancerInboundNatRules
public NetworkInterfaceIpConfigurationInner withLoadBalancerInboundNatRules(List
Set the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules.
Parameters:
Returns:
withName
public NetworkInterfaceIpConfigurationInner withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withPrimary
public NetworkInterfaceIpConfigurationInner withPrimary(Boolean primary)
Set the primary property: Whether this is a primary customer address on the network interface.
Parameters:
Returns:
withPrivateIpAddress
public NetworkInterfaceIpConfigurationInner 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
/.Parameters:
Returns:
withPrivateIpAddressPrefixLength
public NetworkInterfaceIpConfigurationInner 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:
Returns:
withPrivateIpAddressVersion
public NetworkInterfaceIpConfigurationInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)
Set the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
Parameters:
Returns:
withPrivateIpAllocationMethod
public NetworkInterfaceIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: The private IP address allocation method.
Parameters:
Returns:
withPublicIpAddress
public NetworkInterfaceIpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress)
Set the publicIpAddress property: Public IP address bound to the IP configuration.
Parameters:
Returns:
withSubnet
public NetworkInterfaceIpConfigurationInner withSubnet(SubnetInner subnet)
Set the subnet property: Subnet bound to the IP configuration.
Parameters:
Returns:
withType
public NetworkInterfaceIpConfigurationInner withType(String type)
Set the type property: Resource type.
Parameters:
Returns:
withVirtualNetworkTaps
public NetworkInterfaceIpConfigurationInner withVirtualNetworkTaps(List
Set the virtualNetworkTaps property: The reference to Virtual Network Taps.
Parameters:
Returns:
Applies to
Azure SDK for Java