다음을 통해 공유


VMwareVirtualNetworkCollection Class

Definition

A class representing a collection of VMwareVirtualNetworkResource and their operations. Each VMwareVirtualNetworkResource in the collection will belong to the same instance of ResourceGroupResource. To get a VMwareVirtualNetworkCollection instance call the GetVMwareVirtualNetworks method from an instance of ResourceGroupResource.

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

Constructors

VMwareVirtualNetworkCollection()

Initializes a new instance of the VMwareVirtualNetworkCollection 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

CreateOrUpdate(WaitUntil, String, VMwareVirtualNetworkData, CancellationToken)

Create Or Update virtual network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks/{virtualNetworkName}
  • Operation Id: VirtualNetworks_Create
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
CreateOrUpdateAsync(WaitUntil, String, VMwareVirtualNetworkData, CancellationToken)

Create Or Update virtual network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks/{virtualNetworkName}
  • Operation Id: VirtualNetworks_Create
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks/{virtualNetworkName}
  • Operation Id: VirtualNetworks_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks/{virtualNetworkName}
  • Operation Id: VirtualNetworks_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
Get(String, CancellationToken)

Implements virtual network GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks/{virtualNetworkName}
  • Operation Id: VirtualNetworks_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
GetAll(CancellationToken)

List of virtualNetworks in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks
  • Operation Id: VirtualNetworks_ListByResourceGroup
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
GetAllAsync(CancellationToken)

List of virtualNetworks in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks
  • Operation Id: VirtualNetworks_ListByResourceGroup
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
GetAsync(String, CancellationToken)

Implements virtual network GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks/{virtualNetworkName}
  • Operation Id: VirtualNetworks_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks/{virtualNetworkName}
  • Operation Id: VirtualNetworks_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks/{virtualNetworkName}
  • Operation Id: VirtualNetworks_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVirtualNetworkResource
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<VMwareVirtualNetworkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VMwareVirtualNetworkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to