共用方式為


NetworkExtensions.GetNetworkVirtualApplianceSku Method

Definition

Retrieves a single available sku for network virtual appliance.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}
  • Operation Id: VirtualApplianceSkus_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkVirtualApplianceSkuResource
public static Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceSkuResource> GetNetworkVirtualApplianceSku (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skuName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkVirtualApplianceSku : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceSkuResource>
<Extension()>
Public Function GetNetworkVirtualApplianceSku (subscriptionResource As SubscriptionResource, skuName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkVirtualApplianceSkuResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

skuName
String

Name of the Sku.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or skuName is null.

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

Applies to