Freigeben über


ServiceFabricExtensions.GetClusterVersionsByEnvironmentAsync Methode

Definition

Überlädt

GetClusterVersionsByEnvironmentAsync(SubscriptionResource, AzureLocation, ClusterVersionsEnvironment, CancellationToken)

Ruft alle verfügbaren Codeversionen für Service Fabric-Clusterressourcen nach Umgebung ab.

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions
  • Vorgangs-IdClusterVersions_ListByEnvironment
GetClusterVersionsByEnvironmentAsync(SubscriptionResource, AzureLocation, ClusterVersionsEnvironment, String, CancellationToken)

Ruft Informationen zu einer verfügbaren Service Fabric-Clustercodeversion nach Umgebung ab.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions/{clusterVersion}
  • Vorgangs-IdClusterVersions_GetByEnvironment

GetClusterVersionsByEnvironmentAsync(SubscriptionResource, AzureLocation, ClusterVersionsEnvironment, CancellationToken)

Ruft alle verfügbaren Codeversionen für Service Fabric-Clusterressourcen nach Umgebung ab.

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions
  • Vorgangs-IdClusterVersions_ListByEnvironment
public static Azure.AsyncPageable<Azure.ResourceManager.ServiceFabric.Models.ClusterCodeVersionsResult> GetClusterVersionsByEnvironmentAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.ServiceFabric.Models.ClusterVersionsEnvironment environment, System.Threading.CancellationToken cancellationToken = default);
static member GetClusterVersionsByEnvironmentAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.ServiceFabric.Models.ClusterVersionsEnvironment * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabric.Models.ClusterCodeVersionsResult>
<Extension()>
Public Function GetClusterVersionsByEnvironmentAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, environment As ClusterVersionsEnvironment, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ClusterCodeVersionsResult)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

location
AzureLocation

Der Speicherort für die Clustercodeversionen. Dies unterscheidet sich vom Clusterspeicherort.

environment
ClusterVersionsEnvironment

Das Betriebssystem des Clusters. Der Standardwert bedeutet alle.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von ClusterCodeVersionsResult , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für:

GetClusterVersionsByEnvironmentAsync(SubscriptionResource, AzureLocation, ClusterVersionsEnvironment, String, CancellationToken)

Ruft Informationen zu einer verfügbaren Service Fabric-Clustercodeversion nach Umgebung ab.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions/{clusterVersion}
  • Vorgangs-IdClusterVersions_GetByEnvironment
public static Azure.AsyncPageable<Azure.ResourceManager.ServiceFabric.Models.ClusterCodeVersionsResult> GetClusterVersionsByEnvironmentAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.ServiceFabric.Models.ClusterVersionsEnvironment environment, string clusterVersion, System.Threading.CancellationToken cancellationToken = default);
static member GetClusterVersionsByEnvironmentAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.ServiceFabric.Models.ClusterVersionsEnvironment * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabric.Models.ClusterCodeVersionsResult>
<Extension()>
Public Function GetClusterVersionsByEnvironmentAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, environment As ClusterVersionsEnvironment, clusterVersion As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ClusterCodeVersionsResult)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

location
AzureLocation

Der Speicherort für die Clustercodeversionen. Dies unterscheidet sich vom Clusterspeicherort.

environment
ClusterVersionsEnvironment

Das Betriebssystem des Clusters. Der Standardwert bedeutet alle.

clusterVersion
String

Die Clustercodeversion

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von ClusterCodeVersionsResult , die mehrere Dienstanforderungen durchlaufen kann.

Ausnahmen

clusterVersion ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

clusterVersion ist NULL.

Gilt für: