Share via


MockableNetworkCloudSubscriptionResource.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 virtual Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackSkuResource> GetNetworkCloudRackSku (string rackSkuName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkCloudRackSku : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackSkuResource>
override this.GetNetworkCloudRackSku : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackSkuResource>
Public Overridable Function GetNetworkCloudRackSku (rackSkuName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkCloudRackSkuResource)

Parameters

rackSkuName
String

The name of the rack SKU.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

rackSkuName is null.

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

Applies to