共用方式為


AvsPrivateCloudClusterVirtualMachineCollection Class

Definition

A class representing a collection of AvsPrivateCloudClusterVirtualMachineResource and their operations. Each AvsPrivateCloudClusterVirtualMachineResource in the collection will belong to the same instance of AvsPrivateCloudClusterResource. To get an AvsPrivateCloudClusterVirtualMachineCollection instance call the GetAvsPrivateCloudClusterVirtualMachines method from an instance of AvsPrivateCloudClusterResource.

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

Constructors

AvsPrivateCloudClusterVirtualMachineCollection()

Initializes a new instance of the AvsPrivateCloudClusterVirtualMachineCollection 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}
  • Operation Id: VirtualMachines_Get
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterVirtualMachineResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}
  • Operation Id: VirtualMachines_Get
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterVirtualMachineResource
Get(String, CancellationToken)

Get a VirtualMachine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}
  • Operation Id: VirtualMachines_Get
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterVirtualMachineResource
GetAll(CancellationToken)

List VirtualMachine resources by Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines
  • Operation Id: VirtualMachines_List
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterVirtualMachineResource
GetAllAsync(CancellationToken)

List VirtualMachine resources by Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines
  • Operation Id: VirtualMachines_List
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterVirtualMachineResource
GetAsync(String, CancellationToken)

Get a VirtualMachine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}
  • Operation Id: VirtualMachines_Get
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterVirtualMachineResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}
  • Operation Id: VirtualMachines_Get
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterVirtualMachineResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}
  • Operation Id: VirtualMachines_Get
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterVirtualMachineResource
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<AvsPrivateCloudClusterVirtualMachineResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AvsPrivateCloudClusterVirtualMachineResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to