ContainerNetworkInterfaceConfigurationPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ContainerNetworkInterfaceConfigurationPropertiesFormat

Implements

public final class ContainerNetworkInterfaceConfigurationPropertiesFormat
implements JsonSerializable<ContainerNetworkInterfaceConfigurationPropertiesFormat>

Container network interface configuration properties.

Constructor Summary

Constructor Description
ContainerNetworkInterfaceConfigurationPropertiesFormat()

Creates an instance of ContainerNetworkInterfaceConfigurationPropertiesFormat 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.

static ContainerNetworkInterfaceConfigurationPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ContainerNetworkInterfaceConfigurationPropertiesFormat from the JsonReader.

List<IpConfigurationProfileInner> ipConfigurations()

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

ProvisioningState provisioningState()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContainerNetworkInterfaceConfigurationPropertiesFormat withContainerNetworkInterfaces(List<SubResource> containerNetworkInterfaces)

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

ContainerNetworkInterfaceConfigurationPropertiesFormat withIpConfigurations(List<IpConfigurationProfileInner> ipConfigurations)

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

Methods inherited from java.lang.Object

Constructor Details

ContainerNetworkInterfaceConfigurationPropertiesFormat

public ContainerNetworkInterfaceConfigurationPropertiesFormat()

Creates an instance of ContainerNetworkInterfaceConfigurationPropertiesFormat class.

Method Details

containerNetworkInterfaces

public List<SubResource> containerNetworkInterfaces()

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

Returns:

the containerNetworkInterfaces value.

fromJson

public static ContainerNetworkInterfaceConfigurationPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ContainerNetworkInterfaceConfigurationPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipConfigurations

public List<IpConfigurationProfileInner> ipConfigurations()

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

Returns:

the ipConfigurations 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)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContainerNetworkInterfaces

public ContainerNetworkInterfaceConfigurationPropertiesFormat withContainerNetworkInterfaces(List<SubResource> 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 ContainerNetworkInterfaceConfigurationPropertiesFormat object itself.

withIpConfigurations

public ContainerNetworkInterfaceConfigurationPropertiesFormat withIpConfigurations(List<IpConfigurationProfileInner> 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 ContainerNetworkInterfaceConfigurationPropertiesFormat object itself.

Applies to