Share via


ManagedNetworkFabricExtensions.GetNetworkFabricAsync Method

Definition

Get Network Fabric resource details.

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

networkFabricName
String

Name of the Network Fabric.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or networkFabricName is null.

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

Applies to