Compartilhar via


NetworkCloudExtensions.GetNetworkCloudRackSkuAsync Method

Definition

Get the properties of the provided rack SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/rackSkus/{rackSkuName}
  • Operation Id: RackSkus_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudRackSkuResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackSkuResource>> GetNetworkCloudRackSkuAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string rackSkuName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudRackSkuAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackSkuResource>>
<Extension()>
Public Function GetNetworkCloudRackSkuAsync (subscriptionResource As SubscriptionResource, rackSkuName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkCloudRackSkuResource))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

rackSkuName
String

The name of the rack SKU.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or rackSkuName is null.

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

Applies to