VirtualNetworkApplianceIpConfigurationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. VirtualNetworkApplianceIpConfigurationProperties
- com.
Implements
public final class VirtualNetworkApplianceIpConfigurationProperties
implements JsonSerializable<VirtualNetworkApplianceIpConfigurationProperties>
Properties of virtual network appliance IP configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkApplianceIpConfigurationProperties() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| Boolean |
primary()
Get the primary property: Whether the ip configuration is primary or not. |
| String |
privateIpAddress()
Get the private |
|
Ip |
privateIpAddressVersion()
Get the private |
|
Ip |
privateIpAllocationMethod()
Get the private |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Virtual |
withPrimary(Boolean primary)
Set the primary property: Whether the ip configuration is primary or not. |
|
Virtual |
withPrivateIpAddress(String privateIpAddress)
Set the private |
|
Virtual |
withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)
Set the private |
|
Virtual |
withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the private |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkApplianceIpConfigurationProperties
public VirtualNetworkApplianceIpConfigurationProperties()
Creates an instance of VirtualNetworkApplianceIpConfigurationProperties class.
Method Details
fromJson
public static VirtualNetworkApplianceIpConfigurationProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkApplianceIpConfigurationProperties from the JsonReader.
Parameters:
Returns:
Throws:
primary
public Boolean primary()
Get the primary property: Whether the ip configuration is primary or not.
Returns:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The private IP address of the IP configuration.
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:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the private link service IP configuration resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPrimary
public VirtualNetworkApplianceIpConfigurationProperties withPrimary(Boolean primary)
Set the primary property: Whether the ip configuration is primary or not.
Parameters:
Returns:
withPrivateIpAddress
public VirtualNetworkApplianceIpConfigurationProperties withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IP address of the IP configuration.
Parameters:
Returns:
withPrivateIpAddressVersion
public VirtualNetworkApplianceIpConfigurationProperties withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)
Set the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
Parameters:
Returns:
withPrivateIpAllocationMethod
public VirtualNetworkApplianceIpConfigurationProperties withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: The private IP address allocation method.
Parameters:
Returns: