ContainerNetworkInterfaceConfiguration Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ContainerNetworkInterfaceConfiguration
- com.
- com.
public final class ContainerNetworkInterfaceConfiguration
extends SubResource
Container network interface configuration child resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ContainerNetworkInterfaceConfiguration() |
Creates an instance of Container |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Sub |
containerNetworkInterfaces()
Get the container |
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
|
List<Ip |
ipConfigurations()
Get the ip |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Sub Resource type. |
| void |
validate()
Validates the instance. |
|
Container |
withContainerNetworkInterfaces(List<SubResource> containerNetworkInterfaces)
Set the container |
|
Container |
withId(String id) |
|
Container |
withIpConfigurations(List<IpConfigurationProfileInner> ipConfigurations)
Set the ip |
|
Container |
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<SubResource> containerNetworkInterfaces()
Get the containerNetworkInterfaces property: A list of container network interfaces created from this container network interface configuration.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ContainerNetworkInterfaceConfiguration fromJson(JsonReader jsonReader)
Reads an instance of ContainerNetworkInterfaceConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
ipConfigurations
public List<IpConfigurationProfileInner> ipConfigurations()
Get the ipConfigurations property: A list of ip configurations of the container network interface configuration.
Returns:
name
public String name()
Get the name property: The name of the resource. This name can be used to access the resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the container network interface configuration resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ContainerNetworkInterfaceConfiguration.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Sub Resource type.
Returns:
validate
public void validate()
Validates the instance.
withContainerNetworkInterfaces
public ContainerNetworkInterfaceConfiguration withContainerNetworkInterfaces(List<SubResource> containerNetworkInterfaces)
Set the containerNetworkInterfaces property: A list of container network interfaces created from this container network interface configuration.
Parameters:
Returns:
withId
public ContainerNetworkInterfaceConfiguration withId(String id)
Overrides:
ContainerNetworkInterfaceConfiguration.withId(String id)Parameters:
withIpConfigurations
public ContainerNetworkInterfaceConfiguration withIpConfigurations(List<IpConfigurationProfileInner> ipConfigurations)
Set the ipConfigurations property: A list of ip configurations of the container network interface configuration.
Parameters:
Returns:
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:
Returns: