ClusterVersionsOperationsExtensions.ListAsync(IClusterVersionsOperations, String, String, CancellationToken) Method

Definition

List cluster code versions by location

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceFabric.Models.ClusterCodeVersionsResult>> ListAsync (this Microsoft.Azure.Management.ServiceFabric.IClusterVersionsOperations operations, string location, string environment, System.Threading.CancellationToken cancellationToken = null);
static member ListAsync : Microsoft.Azure.Management.ServiceFabric.IClusterVersionsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceFabric.Models.ClusterCodeVersionsResult>>

Parameters

operations
IClusterVersionsOperations

The operations group for this extension method.

location
String

The location for the cluster code versions, this is different from cluster location

environment
String

Cluster operating system, the default means all. Possible values include: 'Default', 'Windows', 'Linux'

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.IPage<ClusterCodeVersionsResult>>

Applies to