ServiceFabricManagedClustersExtensions.GetManagedClusterVersionsByEnvironment 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.Pageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterVersion> GetManagedClusterVersionsByEnvironment (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterVersionEnvironment environment, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedClusterVersionsByEnvironment : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterVersionEnvironment * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterVersion>
<Extension()>
Public Function GetManagedClusterVersionsByEnvironment (subscriptionResource As SubscriptionResource, location As AzureLocation, environment As ManagedClusterVersionEnvironment, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServiceFabricManagedClusterVersion)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual 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 todos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a