ContainerServiceManagedClusterCollection.GetAsync メソッド

定義

マネージド クラスターを取得します。

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

パラメーター

resourceName
String

マネージド クラスター リソースの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

resourceName が null です。

適用対象