L2NetworkInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. networkcloud. fluent. models. L2NetworkInner
- com.
- com.
- com.
public final class L2NetworkInner
extends Resource
L2Network represents a network that utilizes a single isolation domain set up for layer-2 resources.
Constructor Summary
| Constructor | Description |
|---|---|
| L2NetworkInner() |
Creates an instance of L2Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
associatedResourceIds()
Get the associated |
| String |
clusterId()
Get the cluster |
|
L2Network |
detailedStatus()
Get the detailed |
| String |
detailedStatusMessage()
Get the detailed |
| String |
etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. |
|
Extended |
extendedLocation()
Get the extended |
|
static
L2Network |
fromJson(JsonReader jsonReader)
Reads an instance of L2Network |
| List<String> |
hybridAksClustersAssociatedIds()
Get the hybrid |
|
Hybrid |
hybridAksPluginType()
Get the hybrid |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
interfaceName()
Get the interface |
| String |
l2IsolationDomainId()
Get the l2Isolation |
| String |
name()
Get the name property: The name of the resource. |
|
L2Network |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| List<String> |
virtualMachinesAssociatedIds()
Get the virtual |
|
L2Network |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
L2Network |
withHybridAksPluginType(HybridAksPluginType hybridAksPluginType)
Set the hybrid |
|
L2Network |
withInterfaceName(String interfaceName)
Set the interface |
|
L2Network |
withL2IsolationDomainId(String l2IsolationDomainId)
Set the l2Isolation |
|
L2Network |
withLocation(String location) |
|
L2Network |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
L2NetworkInner
public L2NetworkInner()
Creates an instance of L2NetworkInner class.
Method Details
associatedResourceIds
public List<String> associatedResourceIds()
Get the associatedResourceIds property: The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
Returns:
clusterId
public String clusterId()
Get the clusterId property: The resource ID of the Network Cloud cluster this L2 network is associated with.
Returns:
detailedStatus
public L2NetworkDetailedStatus detailedStatus()
Get the detailedStatus property: The more detailed status of the L2 network.
Returns:
detailedStatusMessage
public String detailedStatusMessage()
Get the detailedStatusMessage property: The descriptive message about the current detailed status.
Returns:
etag
public String etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the resource. This property is required when creating the resource.
Returns:
fromJson
public static L2NetworkInner fromJson(JsonReader jsonReader)
Reads an instance of L2NetworkInner from the JsonReader.
Parameters:
Returns:
Throws:
hybridAksClustersAssociatedIds
public List<String> hybridAksClustersAssociatedIds()
Get the hybridAksClustersAssociatedIds property: Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.
Returns:
hybridAksPluginType
public HybridAksPluginType hybridAksPluginType()
Get the hybridAksPluginType property: Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
L2NetworkInner.id()Returns:
interfaceName
public String interfaceName()
Get the interfaceName property: The default interface name for this L2 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.
Returns:
l2IsolationDomainId
public String l2IsolationDomainId()
Get the l2IsolationDomainId property: The resource ID of the Network Fabric l2IsolationDomain.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
L2NetworkInner.name()Returns:
provisioningState
public L2NetworkProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the L2 network.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
L2NetworkInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
L2NetworkInner.type()Returns:
virtualMachinesAssociatedIds
public List<String> virtualMachinesAssociatedIds()
Get the virtualMachinesAssociatedIds property: Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource ID(s), excluding any Hybrid AKS virtual machines, that are currently using this L2 network.
Returns:
withExtendedLocation
public L2NetworkInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the resource. This property is required when creating the resource.
Parameters:
Returns:
withHybridAksPluginType
public L2NetworkInner withHybridAksPluginType(HybridAksPluginType hybridAksPluginType)
Set the hybridAksPluginType property: Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS.
Parameters:
Returns:
withInterfaceName
public L2NetworkInner withInterfaceName(String interfaceName)
Set the interfaceName property: The default interface name for this L2 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.
Parameters:
Returns:
withL2IsolationDomainId
public L2NetworkInner withL2IsolationDomainId(String l2IsolationDomainId)
Set the l2IsolationDomainId property: The resource ID of the Network Fabric l2IsolationDomain.
Parameters:
Returns:
withLocation
public L2NetworkInner withLocation(String location)
Overrides:
L2NetworkInner.withLocation(String location)Parameters:
withTags
public L2NetworkInner withTags(Map<String,String> tags)
Overrides:
L2NetworkInner.withTags(Map<String,String> tags)Parameters: