次の方法で共有


ServiceFabricManagedClusterCollection.GetAsync メソッド

定義

作成された Service Fabric マネージド クラスター リソースを取得するか、指定したリソース グループで作成されるプロセスで取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}
  • 操作IdManagedClusters_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterResource>> GetAsync (string clusterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterResource>>
Public Overridable Function GetAsync (clusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceFabricManagedClusterResource))

パラメーター

clusterName
String

クラスター リソースの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

clusterName は空の文字列であり、空でないと予想されていました。

clusterName が null です。

適用対象