共用方式為


ConnectedVMwarevSphereExtensions.GetVirtualNetworks Method

Definition

Overloads

GetVirtualNetworks(ResourceGroupResource)

Gets a collection of VirtualNetworkResources in the ResourceGroupResource.

GetVirtualNetworks(SubscriptionResource, CancellationToken)

List of virtualNetworks in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks
  • Operation Id: VirtualNetworks_List

GetVirtualNetworks(ResourceGroupResource)

Source:
ConnectedVMwarevSphereExtensions.cs

Gets a collection of VirtualNetworkResources in the ResourceGroupResource.

public static Azure.ResourceManager.ConnectedVMwarevSphere.VirtualNetworkCollection GetVirtualNetworks (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVirtualNetworks : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ConnectedVMwarevSphere.VirtualNetworkCollection
<Extension()>
Public Function GetVirtualNetworks (resourceGroupResource As ResourceGroupResource) As VirtualNetworkCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of VirtualNetworkResources and their operations over a VirtualNetworkResource.

Applies to

GetVirtualNetworks(SubscriptionResource, CancellationToken)

Source:
ConnectedVMwarevSphereExtensions.cs

List of virtualNetworks in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks
  • Operation Id: VirtualNetworks_List
public static Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualNetworkResource> GetVirtualNetworks (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualNetworks : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualNetworkResource>
<Extension()>
Public Function GetVirtualNetworks (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VirtualNetworkResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to