Freigeben über


ContainerNetworkInterfaceConfiguration Class

public final class ContainerNetworkInterfaceConfiguration
extends SubResource

Container network interface configuration child resource.

Constructor Summary

Constructor Description
ContainerNetworkInterfaceConfiguration()

Creates an instance of ContainerNetworkInterfaceConfiguration class.

Method Summary

Modifier and Type Method and Description
List<SubResource> containerNetworkInterfaces()

Get the containerNetworkInterfaces property: A list of container network interfaces created from this container network interface configuration.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ContainerNetworkInterfaceConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ContainerNetworkInterfaceConfiguration from the JsonReader.

List<IpConfigurationProfileInner> ipConfigurations()

Get the ipConfigurations property: A list of ip configurations of the container network interface configuration.

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 configuration resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Sub Resource type.

void validate()

Validates the instance.

ContainerNetworkInterfaceConfiguration withContainerNetworkInterfaces(List<SubResource> containerNetworkInterfaces)

Set the containerNetworkInterfaces property: A list of container network interfaces created from this container network interface configuration.

ContainerNetworkInterfaceConfiguration withId(String id)
ContainerNetworkInterfaceConfiguration withIpConfigurations(List<IpConfigurationProfileInner> ipConfigurations)

Set the ipConfigurations property: A list of ip configurations of the container network interface configuration.

ContainerNetworkInterfaceConfiguration withName(String name)

Set the name property: The name of the resource.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ContainerNetworkInterfaceConfiguration

public ContainerNetworkInterfaceConfiguration()

Creates an instance of ContainerNetworkInterfaceConfiguration class.

Method Details

containerNetworkInterfaces

public List containerNetworkInterfaces()

Get the containerNetworkInterfaces property: A list of container network interfaces created from this container network interface configuration.

Returns:

the containerNetworkInterfaces value.

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

Reads an instance of ContainerNetworkInterfaceConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipConfigurations

public List ipConfigurations()

Get the ipConfigurations property: A list of ip configurations of the container network interface configuration.

Returns:

the ipConfigurations value.

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 configuration resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ContainerNetworkInterfaceConfiguration.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.

withContainerNetworkInterfaces

public ContainerNetworkInterfaceConfiguration withContainerNetworkInterfaces(List containerNetworkInterfaces)

Set the containerNetworkInterfaces property: A list of container network interfaces created from this container network interface configuration.

Parameters:

containerNetworkInterfaces - the containerNetworkInterfaces value to set.

Returns:

the ContainerNetworkInterfaceConfiguration object itself.

withId

public ContainerNetworkInterfaceConfiguration withId(String id)

Overrides:

ContainerNetworkInterfaceConfiguration.withId(String id)

Parameters:

id

withIpConfigurations

public ContainerNetworkInterfaceConfiguration withIpConfigurations(List ipConfigurations)

Set the ipConfigurations property: A list of ip configurations of the container network interface configuration.

Parameters:

ipConfigurations - the ipConfigurations value to set.

Returns:

the ContainerNetworkInterfaceConfiguration object itself.

withName

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

Applies to