共用方式為


ConnectedClusterServiceCollection Class

Definition

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

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

Constructors

ConnectedClusterServiceCollection()

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

Create a ServiceResource

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/services/{serviceName}
  • Operation Id: ServiceResource_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterServiceResource
CreateOrUpdateAsync(WaitUntil, String, ConnectedClusterServiceData, CancellationToken)

Create a ServiceResource

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/services/{serviceName}
  • Operation Id: ServiceResource_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterServiceResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/services/{serviceName}
  • Operation Id: ServiceResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterServiceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/services/{serviceName}
  • Operation Id: ServiceResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterServiceResource
Get(String, CancellationToken)

Get a ServiceResource

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/services/{serviceName}
  • Operation Id: ServiceResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterServiceResource
GetAll(CancellationToken)

List ServiceResource resources by parent

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

List ServiceResource resources by parent

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

Get a ServiceResource

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/services/{serviceName}
  • Operation Id: ServiceResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterServiceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/services/{serviceName}
  • Operation Id: ServiceResource_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterServiceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ConnectedClusterServiceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to