共用方式為


ManagedClusterVersionOperationsExtensions.GetAsync Method

Definition

Gets information about a Service Fabric managed cluster code version available in the specified location.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedClusterCodeVersionResult> GetAsync (this Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClusterVersionOperations operations, string location, string clusterVersion, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClusterVersionOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedClusterCodeVersionResult>
<Extension()>
Public Function GetAsync (operations As IManagedClusterVersionOperations, location As String, clusterVersion As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedClusterCodeVersionResult)

Parameters

operations
IManagedClusterVersionOperations

The operations group for this extension method.

location
String

The location for the cluster code versions. This is different from cluster location.

clusterVersion
String

The cluster code version.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets information about an available Service Fabric managed cluster code version.

Applies to