Compartilhar via


NetworkCloudClusterCollection Class

Definition

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

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

Constructors

NetworkCloudClusterCollection()

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

Create a new cluster or update the properties of the cluster if it exists.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}
  • Operation Id: Clusters_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
CreateOrUpdateAsync(WaitUntil, String, NetworkCloudClusterData, CancellationToken)

Create a new cluster or update the properties of the cluster if it exists.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}
  • Operation Id: Clusters_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
Get(String, CancellationToken)

Get properties of the provided cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
GetAll(CancellationToken)

Get a list of clusters in the provided resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters
  • Operation Id: Clusters_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
GetAllAsync(CancellationToken)

Get a list of clusters in the provided resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters
  • Operation Id: Clusters_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
GetAsync(String, CancellationToken)

Get properties of the provided cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudClusterResource
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<NetworkCloudClusterResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkCloudClusterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to