public class ContainerNetworkInterface
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
ContainerNetworkInterface() |
| Modifier and Type | Method and Description |
|---|---|
Container |
container()
Get the container property: Reference to the container to which this container network interface is attached.
|
ContainerNetworkInterfaceConfiguration |
containerNetworkInterfaceConfiguration()
Get the containerNetworkInterfaceConfiguration property: Container network interface configuration from which
this container network interface is created.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
List<ContainerNetworkInterfaceIpConfiguration> |
ipConfigurations()
Get the ipConfigurations property: Reference to the ip configuration on this container nic.
|
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 resource.
|
String |
type()
Get the type property: Sub Resource type.
|
void |
validate()
Validates the instance.
|
ContainerNetworkInterface |
withContainer(Container container)
Set the container property: Reference to the container to which this container network interface is attached.
|
ContainerNetworkInterface |
withId(String id) |
ContainerNetworkInterface |
withName(String name)
Set the name property: The name of the resource.
|
public String name()
public ContainerNetworkInterface withName(String name)
name - the name value to set.public String type()
public String etag()
public ContainerNetworkInterfaceConfiguration containerNetworkInterfaceConfiguration()
public Container container()
public ContainerNetworkInterface withContainer(Container container)
container - the container value to set.public List<ContainerNetworkInterfaceIpConfiguration> ipConfigurations()
public ProvisioningState provisioningState()
public ContainerNetworkInterface withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.