ContainerNetworkInterfaceIpConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ContainerNetworkInterfaceIpConfiguration

Implements

public final class ContainerNetworkInterfaceIpConfiguration
implements JsonSerializable<ContainerNetworkInterfaceIpConfiguration>

The ip configuration for a container network interface.

Constructor Summary

Constructor Description
ContainerNetworkInterfaceIpConfiguration()

Creates an instance of ContainerNetworkInterfaceIpConfiguration 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 ContainerNetworkInterfaceIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ContainerNetworkInterfaceIpConfiguration from the JsonReader.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Sub Resource type.

void validate()

Validates the instance.

ContainerNetworkInterfaceIpConfiguration withName(String name)

Set the name property: The name of the resource.

Methods inherited from java.lang.Object

Constructor Details

ContainerNetworkInterfaceIpConfiguration

public ContainerNetworkInterfaceIpConfiguration()

Creates an instance of ContainerNetworkInterfaceIpConfiguration 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 ContainerNetworkInterfaceIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ContainerNetworkInterfaceIpConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the resource. This name can be used to access the resource.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Sub Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withName

public ContainerNetworkInterfaceIpConfiguration withName(String name)

Set the name property: The name of the resource. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the ContainerNetworkInterfaceIpConfiguration object itself.

Applies to