Partilhar via


ConnectedVMwarevSphereExtensions.GetVMwareHosts Método

Definição

Sobrecargas

GetVMwareHosts(ResourceGroupResource)

Obtém uma coleção de VMwareHostResources no ResourceGroupResource.

GetVMwareHosts(SubscriptionResource, CancellationToken)

Lista de hosts em uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/hosts
  • IdHosts_List de operação

GetVMwareHosts(ResourceGroupResource)

Obtém uma coleção de VMwareHostResources no ResourceGroupResource.

public static Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostCollection GetVMwareHosts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVMwareHosts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostCollection
<Extension()>
Public Function GetVMwareHosts (resourceGroupResource As ResourceGroupResource) As VMwareHostCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

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

Retornos

Um objeto que representa a coleção de VMwareHostResources e suas operações em um VMwareHostResource.

Aplica-se a

GetVMwareHosts(SubscriptionResource, CancellationToken)

Lista de hosts em uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/hosts
  • IdHosts_List de operação
public static Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource> GetVMwareHosts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVMwareHosts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource>
<Extension()>
Public Function GetVMwareHosts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VMwareHostResource)

Parâmetros

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de VMwareHostResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a