ManagedClusterVersionOperationsExtensions.GetByEnvironmentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets information about a Service Fabric cluster code version available for the specified environment.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedClusterCodeVersionResult> GetByEnvironmentAsync (this Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClusterVersionOperations operations, string location, string clusterVersion, System.Threading.CancellationToken cancellationToken = default);
static member GetByEnvironmentAsync : Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClusterVersionOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedClusterCodeVersionResult>
<Extension()>
Public Function GetByEnvironmentAsync (operations As IManagedClusterVersionOperations, location As String, clusterVersion As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedClusterCodeVersionResult)
Parameters
- operations
- IManagedClusterVersionOperations
The operations group for this extension method.
- location
- String
The location for the cluster code versions. This is different from cluster location.
- clusterVersion
- String
The cluster code version.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Gets information about an available Service Fabric cluster code version by environment.