Share via


NetworkCloudExtensions.GetNetworkCloudRackSku Method

Definition

Get the properties of the provided rack SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/rackSkus/{rackSkuName}
  • Operation Id: RackSkus_Get
public static Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackSkuResource> GetNetworkCloudRackSku (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string rackSkuName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudRackSku : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackSkuResource>
<Extension()>
Public Function GetNetworkCloudRackSku (subscriptionResource As SubscriptionResource, rackSkuName As String, Optional cancellationToken As CancellationToken = Nothing) As 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