ManagedNetworkFabricExtensions.GetNetworkFabricL2IsolationDomainAsync Method

Definition

Implements L2 Isolation Domain GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}
  • Operation Id: L2IsolationDomains_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricL2IsolationDomainResource>> GetNetworkFabricL2IsolationDomainAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string l2IsolationDomainName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricL2IsolationDomainAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricL2IsolationDomainResource>>
<Extension()>
Public Function GetNetworkFabricL2IsolationDomainAsync (resourceGroupResource As ResourceGroupResource, l2IsolationDomainName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricL2IsolationDomainResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

l2IsolationDomainName
String

Name of the L2 Isolation Domain.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or l2IsolationDomainName is null.

l2IsolationDomainName is an empty string, and was expected to be non-empty.

Applies to