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