MockableNetworkSubscriptionResource.GetNetworkVirtualApplianceSku Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: 2023-11-01
- Resource: NetworkVirtualApplianceSkuResource
public virtual Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceSkuResource> GetNetworkVirtualApplianceSku (string skuName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkVirtualApplianceSku : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceSkuResource>
override this.GetNetworkVirtualApplianceSku : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceSkuResource>
Public Overridable Function GetNetworkVirtualApplianceSku (skuName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkVirtualApplianceSkuResource)
Parameters
- skuName
- String
Name of the Sku.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
skuName
is null.
skuName
is an empty string, and was expected to be non-empty.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET