ArmNetworkCloudModelFactory.NetworkCloudTrunkedNetworkData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.NetworkCloud.NetworkCloudTrunkedNetworkData NetworkCloudTrunkedNetworkData(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, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> isolationDomainIds = default, System.Collections.Generic.IEnumerable<long> vlans = default, System.Collections.Generic.IEnumerable<string> associatedResourceIds = default, Azure.Core.ResourceIdentifier clusterId = default, Azure.ResourceManager.NetworkCloud.Models.TrunkedNetworkDetailedStatus? 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.TrunkedNetworkProvisioningState? provisioningState = default, Azure.ETag? eTag = default, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation = default);
static member NetworkCloudTrunkedNetworkData : 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 * seq<Azure.Core.ResourceIdentifier> * seq<int64> * seq<string> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetworkCloud.Models.TrunkedNetworkDetailedStatus> * string * seq<Azure.Core.ResourceIdentifier> * seq<Azure.Core.ResourceIdentifier> * Nullable<Azure.ResourceManager.NetworkCloud.Models.TrunkedNetworkProvisioningState> * Nullable<Azure.ETag> * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation -> Azure.ResourceManager.NetworkCloud.NetworkCloudTrunkedNetworkData
Public Shared Function NetworkCloudTrunkedNetworkData (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 isolationDomainIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional vlans As IEnumerable(Of Long) = Nothing, Optional associatedResourceIds As IEnumerable(Of String) = Nothing, Optional clusterId As ResourceIdentifier = Nothing, Optional detailedStatus As Nullable(Of TrunkedNetworkDetailedStatus) = 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 TrunkedNetworkProvisioningState) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing) As NetworkCloudTrunkedNetworkData
Parameters
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 trunked network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.
- isolationDomainIds
- IEnumerable<ResourceIdentifier>
The list of resource IDs representing the Network Fabric isolation domains. It can be any combination of l2IsolationDomain and l3IsolationDomain resources.
- vlans
- IEnumerable<Int64>
The list of vlans that are selected from the isolation domains for trunking.
- associatedResourceIds
- IEnumerable<String>
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 trunked network is associated with.
- detailedStatus
- Nullable<TrunkedNetworkDetailedStatus>
The more detailed status of the trunked 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 IDs that are associated with this trunked network.
- virtualMachinesAssociatedIds
- IEnumerable<ResourceIdentifier>
Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this trunked network.
- provisioningState
- Nullable<TrunkedNetworkProvisioningState>
The provisioning state of the trunked network.
"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 NetworkCloudTrunkedNetworkData instance for mocking.
Exceptions
isolationDomainIds or vlans is null.