L3NetworkAttachmentConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. L3NetworkAttachmentConfiguration
- com.
Implements
public final class L3NetworkAttachmentConfiguration
implements JsonSerializable<L3NetworkAttachmentConfiguration>
L3NetworkAttachmentConfiguration represents the configuration of the attachment of a Layer 3 network.
Constructor Summary
| Constructor | Description |
|---|---|
| L3NetworkAttachmentConfiguration() |
Creates an instance of L3Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
L3Network |
fromJson(JsonReader jsonReader)
Reads an instance of L3Network |
|
L3Network |
ipamEnabled()
Get the ipam |
| String |
networkId()
Get the network |
|
Kubernetes |
pluginType()
Get the plugin |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
L3Network |
withIpamEnabled(L3NetworkConfigurationIpamEnabled ipamEnabled)
Set the ipam |
|
L3Network |
withNetworkId(String networkId)
Set the network |
|
L3Network |
withPluginType(KubernetesPluginType pluginType)
Set the plugin |
Methods inherited from java.lang.Object
Constructor Details
L3NetworkAttachmentConfiguration
public L3NetworkAttachmentConfiguration()
Creates an instance of L3NetworkAttachmentConfiguration class.
Method Details
fromJson
public static L3NetworkAttachmentConfiguration fromJson(JsonReader jsonReader)
Reads an instance of L3NetworkAttachmentConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
ipamEnabled
public L3NetworkConfigurationIpamEnabled ipamEnabled()
Get the ipamEnabled property: The indication of whether this network will or will not perform IP address management and allocate IP addresses when attached.
Returns:
networkId
public String networkId()
Get the networkId property: The resource ID of the network that is being configured for attachment.
Returns:
pluginType
public KubernetesPluginType pluginType()
Get the pluginType property: The indicator of how this network will be utilized by the Kubernetes cluster.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIpamEnabled
public L3NetworkAttachmentConfiguration withIpamEnabled(L3NetworkConfigurationIpamEnabled ipamEnabled)
Set the ipamEnabled property: The indication of whether this network will or will not perform IP address management and allocate IP addresses when attached.
Parameters:
Returns:
withNetworkId
public L3NetworkAttachmentConfiguration withNetworkId(String networkId)
Set the networkId property: The resource ID of the network that is being configured for attachment.
Parameters:
Returns:
withPluginType
public L3NetworkAttachmentConfiguration withPluginType(KubernetesPluginType pluginType)
Set the pluginType property: The indicator of how this network will be utilized by the Kubernetes cluster.
Parameters:
Returns: