共用方式為


ContainerServiceManagedClusterCollection Class

Definition

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

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

Constructors

ContainerServiceManagedClusterCollection()

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

Creates or updates a managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_CreateOrUpdate
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
CreateOrUpdateAsync(WaitUntil, String, ContainerServiceManagedClusterData, CancellationToken)

Creates or updates a managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_CreateOrUpdate
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
Get(String, CancellationToken)

Gets a managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
GetAll(CancellationToken)

Lists managed clusters in the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters
  • Operation Id: ManagedClusters_ListByResourceGroup
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
GetAllAsync(CancellationToken)

Lists managed clusters in the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters
  • Operation Id: ManagedClusters_ListByResourceGroup
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
GetAsync(String, CancellationToken)

Gets a managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
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<ContainerServiceManagedClusterResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerServiceManagedClusterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to