Compartilhar via


ConnectedVMwarevSphereExtensions.GetResourcePoolAsync Método

Definição

Implementa o método resourcePool GET.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/resourcePools/{resourcePoolName}
  • IdResourcePools_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.ResourcePoolResource>> GetResourcePoolAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourcePoolName, System.Threading.CancellationToken cancellationToken = default);
static member GetResourcePoolAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.ResourcePoolResource>>
<Extension()>
Public Function GetResourcePoolAsync (resourceGroupResource As ResourceGroupResource, resourcePoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourcePoolResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

resourcePoolName
String

Nome do resourcePool.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

resourcePoolName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

resourcePoolName é nulo.

Aplica-se a