共用方式為


NetworkExtensions.GetNetworkVirtualAppliances Method

Definition

Overloads

GetNetworkVirtualAppliances(ResourceGroupResource)

Gets a collection of NetworkVirtualApplianceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkVirtualAppliances() instead.

GetNetworkVirtualAppliances(SubscriptionResource, CancellationToken)

Gets all Network Virtual Appliances in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances
  • Operation Id: NetworkVirtualAppliances_List
  • Default Api Version: 2024-03-01
  • Resource: NetworkVirtualApplianceResource

GetNetworkVirtualAppliances(ResourceGroupResource)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets a collection of NetworkVirtualApplianceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkVirtualAppliances() instead.

public static Azure.ResourceManager.Network.NetworkVirtualApplianceCollection GetNetworkVirtualAppliances (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkVirtualAppliances : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.NetworkVirtualApplianceCollection
<Extension()>
Public Function GetNetworkVirtualAppliances (resourceGroupResource As ResourceGroupResource) As NetworkVirtualApplianceCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkVirtualApplianceResources and their operations over a NetworkVirtualApplianceResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetworkVirtualAppliances(SubscriptionResource, CancellationToken)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets all Network Virtual Appliances in a subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NetworkVirtualApplianceResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to