Partilhar via


ConnectedVMwarevSphereExtensions.GetVMwareHost Método

Definição

Implementa o método GET do host.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/hosts/{hostName}
  • Operação IdHosts_Get
public static Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource> GetVMwareHost (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string hostName, System.Threading.CancellationToken cancellationToken = default);
static member GetVMwareHost : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource>
<Extension()>
Public Function GetVMwareHost (resourceGroupResource As ResourceGroupResource, hostName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VMwareHostResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

hostName
String

Nome do host.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

hostName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

hostName é nulo.

Aplica-se a