Compartilhar via


ServiceFabricManagedClustersExtensions.GetManagedClusterVersionByEnvironment Método

Definição

Obtém informações sobre uma versão de código de cluster do Service Fabric disponível por ambiente.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/managedClusterVersions/{clusterVersion}
  • IdManagedClusterVersion_GetByEnvironment de operação
public static Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterVersion> GetManagedClusterVersionByEnvironment (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterVersionEnvironment environment, string clusterVersion, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedClusterVersionByEnvironment : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterVersionEnvironment * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterVersion>
<Extension()>
Public Function GetManagedClusterVersionByEnvironment (subscriptionResource As SubscriptionResource, location As AzureLocation, environment As ManagedClusterVersionEnvironment, clusterVersion As String, Optional cancellationToken As CancellationToken = Nothing) As Response(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.

clusterVersion
String

A versão do código do cluster.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

clusterVersion é nulo.

Aplica-se a