共用方式為


NetworkCloudL2NetworkData Class

Definition

A class representing the NetworkCloudL2Network data model. L2Network represents a network that utilizes a single isolation domain set up for layer-2 resources.

public class NetworkCloudL2NetworkData : Azure.ResourceManager.Models.TrackedResourceData
public class NetworkCloudL2NetworkData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.NetworkCloudL2NetworkData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.NetworkCloudL2NetworkData>
type NetworkCloudL2NetworkData = class
    inherit TrackedResourceData
type NetworkCloudL2NetworkData = class
    inherit TrackedResourceData
    interface IJsonModel<NetworkCloudL2NetworkData>
    interface IPersistableModel<NetworkCloudL2NetworkData>
Public Class NetworkCloudL2NetworkData
Inherits TrackedResourceData
Public Class NetworkCloudL2NetworkData
Inherits TrackedResourceData
Implements IJsonModel(Of NetworkCloudL2NetworkData), IPersistableModel(Of NetworkCloudL2NetworkData)
Inheritance
NetworkCloudL2NetworkData
Implements

Constructors

NetworkCloudL2NetworkData(AzureLocation, ExtendedLocation, ResourceIdentifier)

Initializes a new instance of NetworkCloudL2NetworkData.

Properties

AssociatedResourceIds

The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.

ClusterId

The resource ID of the Network Cloud cluster this L2 network is associated with.

DetailedStatus

The more detailed status of the L2 network.

DetailedStatusMessage

The descriptive message about the current detailed status.

ExtendedLocation

The extended location of the cluster associated with the resource.

HybridAksClustersAssociatedIds

Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.

HybridAksPluginType

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.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
InterfaceName

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.

L2IsolationDomainId

The resource ID of the Network Fabric l2IsolationDomain.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The provisioning state of the L2 network.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
VirtualMachinesAssociatedIds

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<NetworkCloudL2NetworkData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NetworkCloudL2NetworkData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkCloudL2NetworkData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkCloudL2NetworkData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NetworkCloudL2NetworkData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to