共用方式為


ManagedClustersOperationsExtensions.GetAsync Method

Definition

Gets a managed cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterInner> GetAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IManagedClustersOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ContainerService.Fluent.IManagedClustersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterInner>
<Extension()>
Public Function GetAsync (operations As IManagedClustersOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedClusterInner)

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

resourceName
String

The name of the managed cluster resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets the details of the managed cluster with a specified resource group and name.

Applies to