PrivateLinkServiceIpConfigurationInner Class

public final class PrivateLinkServiceIpConfigurationInner
extends SubResource

The private link service ip configuration.

Constructor Summary

Constructor Description
PrivateLinkServiceIpConfigurationInner()

Creates an instance of PrivateLinkServiceIpConfigurationInner class.

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 PrivateLinkServiceIpConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServiceIpConfigurationInner from the JsonReader.

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 privateIpAddress property: The private IP address of the IP configuration.

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.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private link service IP configuration resource.

SubnetInner subnet()

Get the subnet property: The reference to the subnet resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

PrivateLinkServiceIpConfigurationInner withId(String id)
PrivateLinkServiceIpConfigurationInner withName(String name)

Set the name property: The name of private link service ip configuration.

PrivateLinkServiceIpConfigurationInner withPrimary(Boolean primary)

Set the primary property: Whether the ip configuration is primary or not.

PrivateLinkServiceIpConfigurationInner withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: The private IP address of the IP configuration.

PrivateLinkServiceIpConfigurationInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)

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

PrivateLinkServiceIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)

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

PrivateLinkServiceIpConfigurationInner 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:

the etag value.

fromJson

public static PrivateLinkServiceIpConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServiceIpConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of private link service ip configuration.

Returns:

the name value.

primary

public Boolean primary()

Get the primary property: Whether the ip configuration is primary or not.

Returns:

the primary value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: The private IP address of the IP configuration.

Returns:

the privateIpAddress 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.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private link service IP configuration resource.

Returns:

the provisioningState value.

subnet

public SubnetInner subnet()

Get the subnet property: The reference to the subnet resource.

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateLinkServiceIpConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public PrivateLinkServiceIpConfigurationInner withId(String id)

Overrides:

PrivateLinkServiceIpConfigurationInner.withId(String id)

Parameters:

id

withName

public PrivateLinkServiceIpConfigurationInner withName(String name)

Set the name property: The name of private link service ip configuration.

Parameters:

name - the name value to set.

Returns:

the PrivateLinkServiceIpConfigurationInner object itself.

withPrimary

public PrivateLinkServiceIpConfigurationInner withPrimary(Boolean primary)

Set the primary property: Whether the ip configuration is primary or not.

Parameters:

primary - the primary value to set.

Returns:

the PrivateLinkServiceIpConfigurationInner object itself.

withPrivateIpAddress

public PrivateLinkServiceIpConfigurationInner withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: The private IP address of the IP configuration.

Parameters:

privateIpAddress - the privateIpAddress value to set.

Returns:

the PrivateLinkServiceIpConfigurationInner object itself.

withPrivateIpAddressVersion

public PrivateLinkServiceIpConfigurationInner 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 PrivateLinkServiceIpConfigurationInner object itself.

withPrivateIpAllocationMethod

public PrivateLinkServiceIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)

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

Parameters:

privateIpAllocationMethod - the privateIpAllocationMethod value to set.

Returns:

the PrivateLinkServiceIpConfigurationInner object itself.

withSubnet

public PrivateLinkServiceIpConfigurationInner withSubnet(SubnetInner subnet)

Set the subnet property: The reference to the subnet resource.

Parameters:

subnet - the subnet value to set.

Returns:

the PrivateLinkServiceIpConfigurationInner object itself.

Applies to