Partilhar via


VMwareHostCollection.Get(String, CancellationToken) 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 virtual Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource> Get (string hostName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource>
Public Overridable Function Get (hostName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VMwareHostResource)

Parâmetros

hostName
String

Nome do host.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

hostName é nulo.

Aplica-se a