PrivateLinkServiceIpConfigurationInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. PrivateLinkServiceIpConfigurationInner
- com.
- com.
public final class PrivateLinkServiceIpConfigurationInner
extends SubResource
The private link service ip configuration.
Constructor Summary
Constructor | Description |
---|---|
PrivateLinkServiceIpConfigurationInner() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
String |
name()
Get the name property: The name of private link service ip configuration. |
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 |
Subnet |
subnet()
Get the subnet property: The reference to the subnet resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The resource type. |
void |
validate()
Validates the instance. |
Private |
withId(String id) |
Private |
withName(String name)
Set the name property: The name of private link service ip configuration. |
Private |
withPrimary(Boolean primary)
Set the primary property: Whether the ip configuration is primary or not. |
Private |
withPrivateIpAddress(String privateIpAddress)
Set the private |
Private |
withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)
Set the private |
Private |
withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the private |
Private |
withSubnet(SubnetInner subnet)
Set the subnet property: The reference to the subnet resource. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkServiceIpConfigurationInner
public PrivateLinkServiceIpConfigurationInner()
Creates an instance of PrivateLinkServiceIpConfigurationInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static PrivateLinkServiceIpConfigurationInner fromJson(JsonReader jsonReader)
Reads an instance of PrivateLinkServiceIpConfigurationInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of private link service ip configuration.
Returns:
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:
subnet
public SubnetInner subnet()
Get the subnet property: The reference to the subnet resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PrivateLinkServiceIpConfigurationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The resource type.
Returns:
validate
public void validate()
Validates the instance.
withId
public PrivateLinkServiceIpConfigurationInner withId(String id)
Overrides:
PrivateLinkServiceIpConfigurationInner.withId(String id)Parameters:
withName
public PrivateLinkServiceIpConfigurationInner withName(String name)
Set the name property: The name of private link service ip configuration.
Parameters:
Returns:
withPrimary
public PrivateLinkServiceIpConfigurationInner withPrimary(Boolean primary)
Set the primary property: Whether the ip configuration is primary or not.
Parameters:
Returns:
withPrivateIpAddress
public PrivateLinkServiceIpConfigurationInner withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IP address of the IP configuration.
Parameters:
Returns:
withPrivateIpAddressVersion
public PrivateLinkServiceIpConfigurationInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)
Set the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
Parameters:
Returns:
withPrivateIpAllocationMethod
public PrivateLinkServiceIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: The private IP address allocation method.
Parameters:
Returns:
withSubnet
public PrivateLinkServiceIpConfigurationInner withSubnet(SubnetInner subnet)
Set the subnet property: The reference to the subnet resource.
Parameters:
Returns:
Applies to
Azure SDK for Java