AttachedNetworkConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. AttachedNetworkConfiguration
- com.
Implements
public final class AttachedNetworkConfiguration
implements JsonSerializable<AttachedNetworkConfiguration>
AttachedNetworkConfiguration represents the set of workload networks to attach to a resource.
Constructor Summary
| Constructor | Description |
|---|---|
| AttachedNetworkConfiguration() |
Creates an instance of Attached |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Attached |
fromJson(JsonReader jsonReader)
Reads an instance of Attached |
|
List<L2Network |
l2Networks()
Get the l2Networks property: The list of Layer 2 Networks and related configuration for attachment. |
|
List<L3Network |
l3Networks()
Get the l3Networks property: The list of Layer 3 Networks and related configuration for attachment. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
List<Trunked |
trunkedNetworks()
Get the trunked |
| void |
validate()
Validates the instance. |
|
Attached |
withL2Networks(List<L2NetworkAttachmentConfiguration> l2Networks)
Set the l2Networks property: The list of Layer 2 Networks and related configuration for attachment. |
|
Attached |
withL3Networks(List<L3NetworkAttachmentConfiguration> l3Networks)
Set the l3Networks property: The list of Layer 3 Networks and related configuration for attachment. |
|
Attached |
withTrunkedNetworks(List<TrunkedNetworkAttachmentConfiguration> trunkedNetworks)
Set the trunked |
Methods inherited from java.lang.Object
Constructor Details
AttachedNetworkConfiguration
public AttachedNetworkConfiguration()
Creates an instance of AttachedNetworkConfiguration class.
Method Details
fromJson
public static AttachedNetworkConfiguration fromJson(JsonReader jsonReader)
Reads an instance of AttachedNetworkConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
l2Networks
public List<L2NetworkAttachmentConfiguration> l2Networks()
Get the l2Networks property: The list of Layer 2 Networks and related configuration for attachment.
Returns:
l3Networks
public List<L3NetworkAttachmentConfiguration> l3Networks()
Get the l3Networks property: The list of Layer 3 Networks and related configuration for attachment.
Returns:
toJson
trunkedNetworks
public List<TrunkedNetworkAttachmentConfiguration> trunkedNetworks()
Get the trunkedNetworks property: The list of Trunked Networks and related configuration for attachment.
Returns:
validate
public void validate()
Validates the instance.
withL2Networks
public AttachedNetworkConfiguration withL2Networks(List<L2NetworkAttachmentConfiguration> l2Networks)
Set the l2Networks property: The list of Layer 2 Networks and related configuration for attachment.
Parameters:
Returns:
withL3Networks
public AttachedNetworkConfiguration withL3Networks(List<L3NetworkAttachmentConfiguration> l3Networks)
Set the l3Networks property: The list of Layer 3 Networks and related configuration for attachment.
Parameters:
Returns:
withTrunkedNetworks
public AttachedNetworkConfiguration withTrunkedNetworks(List<TrunkedNetworkAttachmentConfiguration> trunkedNetworks)
Set the trunkedNetworks property: The list of Trunked Networks and related configuration for attachment.
Parameters:
Returns: