Share via


ManagedNetworkFabricExtensions.GetNetworkFabric Method

Definition

Get Network Fabric resource details.

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