Share via


ConnectedClusterStorageClassCollection Class

Definition

A class representing a collection of ConnectedClusterStorageClassResource and their operations. Each ConnectedClusterStorageClassResource in the collection will belong to the same instance of ArmResource. To get a ConnectedClusterStorageClassCollection instance call the GetConnectedClusterStorageClasses method from an instance of ArmResource.

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

Constructors

ConnectedClusterStorageClassCollection()

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

Create a StorageClassResource

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses/{storageClassName}
  • Operation Id: StorageClassResource_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
CreateOrUpdateAsync(WaitUntil, String, ConnectedClusterStorageClassData, CancellationToken)

Create a StorageClassResource

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses/{storageClassName}
  • Operation Id: StorageClassResource_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses/{storageClassName}
  • Operation Id: StorageClassResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses/{storageClassName}
  • Operation Id: StorageClassResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
Get(String, CancellationToken)

Get a StorageClassResource

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses/{storageClassName}
  • Operation Id: StorageClassResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
GetAll(CancellationToken)

List StorageClassResource resources by parent

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses
  • Operation Id: StorageClassResource_List
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
GetAllAsync(CancellationToken)

List StorageClassResource resources by parent

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses
  • Operation Id: StorageClassResource_List
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
GetAsync(String, CancellationToken)

Get a StorageClassResource

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses/{storageClassName}
  • Operation Id: StorageClassResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses/{storageClassName}
  • Operation Id: StorageClassResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses/{storageClassName}
  • Operation Id: StorageClassResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterStorageClassResource
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<ConnectedClusterStorageClassResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ConnectedClusterStorageClassResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to