ContainerRegistryAgentPoolCollection.GetAsync メソッド

定義

特定のエージェント プールの詳細情報を取得します。

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

パラメーター

agentPoolName
String

エージェント プールの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

agentPoolName が null です。

適用対象