共用方式為


OpenShiftManagedClustersOperationsExtensions.GetAsync Method

Definition

Gets a OpenShift managed cluster.

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

Parameters

operations
IOpenShiftManagedClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

resourceName
String

The name of the OpenShift managed cluster resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to