ArmNetworkCloudModelFactory.NetworkCloudL2NetworkData Method

Definition

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.HybridAksPluginType? hybridAksPluginType = default, string interfaceName = default, Azure.Core.ResourceIdentifier l2IsolationDomainId = 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, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> virtualMachinesAssociatedIds = default, Azure.ResourceManager.NetworkCloud.Models.L2NetworkProvisioningState? provisioningState = default, Azure.ETag? eTag = default, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation = default);
static member NetworkCloudL2NetworkData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.NetworkCloud.Models.HybridAksPluginType> * string * Azure.Core.ResourceIdentifier * seq<Azure.Core.ResourceIdentifier> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetworkCloud.Models.L2NetworkDetailedStatus> * string * seq<Azure.Core.ResourceIdentifier> * seq<Azure.Core.ResourceIdentifier> * Nullable<Azure.ResourceManager.NetworkCloud.Models.L2NetworkProvisioningState> * Nullable<Azure.ETag> * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation -> 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 hybridAksPluginType As Nullable(Of HybridAksPluginType) = Nothing, Optional interfaceName As String = Nothing, Optional l2IsolationDomainId As ResourceIdentifier = 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 virtualMachinesAssociatedIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional provisioningState As Nullable(Of L2NetworkProvisioningState) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing) As NetworkCloudL2NetworkData

Parameters

id
ResourceIdentifier

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

name
String

The name of the resource.

resourceType
ResourceType

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

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

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.

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.

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.

provisioningState
Nullable<L2NetworkProvisioningState>

The provisioning state of the L2 network.

eTag
Nullable<ETag>

"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.").

extendedLocation
Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation

The extended location of the resource. This property is required when creating the resource.

Returns

A new NetworkCloudL2NetworkData instance for mocking.

Exceptions

l2IsolationDomainId is null.

Applies to