Partilhar via


ArmNetworkCloudModelFactory.NetworkCloudL2NetworkData Method

Definition

Initializes a new instance of NetworkCloudL2NetworkData.

public static Azure.ResourceManager.NetworkCloud.NetworkCloudL2NetworkData NetworkCloudL2NetworkData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> associatedResourceIds = default, Azure.Core.ResourceIdentifier clusterId = default, Azure.ResourceManager.NetworkCloud.Models.L2NetworkDetailedStatus? detailedStatus = default, string detailedStatusMessage = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> hybridAksClustersAssociatedIds = default, Azure.ResourceManager.NetworkCloud.Models.HybridAksPluginType? hybridAksPluginType = default, string interfaceName = default, Azure.Core.ResourceIdentifier l2IsolationDomainId = default, Azure.ResourceManager.NetworkCloud.Models.L2NetworkProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> virtualMachinesAssociatedIds = default);
static member NetworkCloudL2NetworkData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation * seq<Azure.Core.ResourceIdentifier> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetworkCloud.Models.L2NetworkDetailedStatus> * string * seq<Azure.Core.ResourceIdentifier> * Nullable<Azure.ResourceManager.NetworkCloud.Models.HybridAksPluginType> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetworkCloud.Models.L2NetworkProvisioningState> * seq<Azure.Core.ResourceIdentifier> -> Azure.ResourceManager.NetworkCloud.NetworkCloudL2NetworkData
Public Shared Function NetworkCloudL2NetworkData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional associatedResourceIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional clusterId As ResourceIdentifier = Nothing, Optional detailedStatus As Nullable(Of L2NetworkDetailedStatus) = Nothing, Optional detailedStatusMessage As String = Nothing, Optional hybridAksClustersAssociatedIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional hybridAksPluginType As Nullable(Of HybridAksPluginType) = Nothing, Optional interfaceName As String = Nothing, Optional l2IsolationDomainId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of L2NetworkProvisioningState) = Nothing, Optional virtualMachinesAssociatedIds As IEnumerable(Of ResourceIdentifier) = Nothing) As NetworkCloudL2NetworkData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

extendedLocation
ExtendedLocation

The extended location of the cluster associated with the resource.

associatedResourceIds
IEnumerable<ResourceIdentifier>

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

clusterId
ResourceIdentifier

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

detailedStatus
Nullable<L2NetworkDetailedStatus>

The more detailed status of the L2 network.

detailedStatusMessage
String

The descriptive message about the current detailed status.

hybridAksClustersAssociatedIds
IEnumerable<ResourceIdentifier>

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
Nullable<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.

interfaceName
String

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
ResourceIdentifier

The resource ID of the Network Fabric l2IsolationDomain.

provisioningState
Nullable<L2NetworkProvisioningState>

The provisioning state of the L2 network.

virtualMachinesAssociatedIds
IEnumerable<ResourceIdentifier>

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

A new NetworkCloudL2NetworkData instance for mocking.

Applies to