共用方式為


NetworkVirtualApplianceSkuCollection Class

Definition

A class representing a collection of NetworkVirtualApplianceSkuResource and their operations. Each NetworkVirtualApplianceSkuResource in the collection will belong to the same instance of SubscriptionResource. To get a NetworkVirtualApplianceSkuCollection instance call the GetNetworkVirtualApplianceSkus method from an instance of SubscriptionResource.

public class NetworkVirtualApplianceSkuCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.NetworkVirtualApplianceSkuResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkVirtualApplianceSkuResource>
type NetworkVirtualApplianceSkuCollection = class
    inherit ArmCollection
    interface seq<NetworkVirtualApplianceSkuResource>
    interface IEnumerable
    interface IAsyncEnumerable<NetworkVirtualApplianceSkuResource>
Public Class NetworkVirtualApplianceSkuCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of NetworkVirtualApplianceSkuResource), IEnumerable(Of NetworkVirtualApplianceSkuResource)
Inheritance
NetworkVirtualApplianceSkuCollection
Implements

Constructors

NetworkVirtualApplianceSkuCollection()

Initializes a new instance of the NetworkVirtualApplianceSkuCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}
  • Operation Id: VirtualApplianceSkus_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkVirtualApplianceSkuResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}
  • Operation Id: VirtualApplianceSkus_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkVirtualApplianceSkuResource
Get(String, CancellationToken)

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
GetAll(CancellationToken)

List all SKUs available for a virtual appliance.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus
  • Operation Id: VirtualApplianceSkus_List
  • Default Api Version: 2024-03-01
  • Resource: NetworkVirtualApplianceSkuResource
GetAllAsync(CancellationToken)

List all SKUs available for a virtual appliance.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus
  • Operation Id: VirtualApplianceSkus_List
  • Default Api Version: 2024-03-01
  • Resource: NetworkVirtualApplianceSkuResource
GetAsync(String, CancellationToken)

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
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}
  • Operation Id: VirtualApplianceSkus_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkVirtualApplianceSkuResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}
  • Operation Id: VirtualApplianceSkus_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkVirtualApplianceSkuResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<NetworkVirtualApplianceSkuResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkVirtualApplianceSkuResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to