Share via


ManagedNetworkFabricExtensions.GetNetworkFabricSkuAsync Method

Definition

Implements Network Fabric SKU GET method.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/{networkFabricSkuName}
  • Operation Id: NetworkFabricSkus_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricSkuResource>> GetNetworkFabricSkuAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string networkFabricSkuName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricSkuAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricSkuResource>>
<Extension()>
Public Function GetNetworkFabricSkuAsync (subscriptionResource As SubscriptionResource, networkFabricSkuName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricSkuResource))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

networkFabricSkuName
String

Name of the Network Fabric SKU.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or networkFabricSkuName is null.

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

Applies to