Share via


AvsPrivateCloudClusterCollection Class

Definition

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

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

Constructors

AvsPrivateCloudClusterCollection()

Initializes a new instance of the AvsPrivateCloudClusterCollection 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, AvsPrivateCloudClusterData, CancellationToken)

Create a Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}
  • Operation Id: Clusters_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterResource
CreateOrUpdateAsync(WaitUntil, String, AvsPrivateCloudClusterData, CancellationToken)

Create a Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}
  • Operation Id: Clusters_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterResource
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}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterResource
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}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudClusterResource
Get(String, CancellationToken)

Get a Cluster

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

List Cluster resources by PrivateCloud

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

List Cluster resources by PrivateCloud

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

Get a Cluster

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AvsPrivateCloudClusterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to