Partilhar via


ServiceFabricManagedClustersExtensions.GetManagedClusterVersionsByEnvironmentAsync Método

Definição

Obtém todas as versões de código disponíveis para recursos de cluster do Service Fabric por ambiente.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/managedClusterVersions
  • Operação IdManagedClusterVersion_ListByEnvironment
public static Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterVersion> GetManagedClusterVersionsByEnvironmentAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterVersionEnvironment environment, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedClusterVersionsByEnvironmentAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterVersionEnvironment * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterVersion>
<Extension()>
Public Function GetManagedClusterVersionsByEnvironmentAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, environment As ManagedClusterVersionEnvironment, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceFabricManagedClusterVersion)

Parâmetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

O local para as versões de código do cluster. Isso é diferente do local do cluster.

environment
ManagedClusterVersionEnvironment

O sistema operacional do cluster. O padrão significa tudo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de ServiceFabricManagedClusterVersion que pode levar várias solicitações de serviço para iterar.

Aplica-se a