FabricClient.QueryClient.GetProvisionedFabricConfigVersionListAsync Method

Definition

Overloads

GetProvisionedFabricConfigVersionListAsync()

Gets details for all cluster config versions provisioned in the system.

GetProvisionedFabricConfigVersionListAsync(String)

Gets details for a specific cluster config version provisioned in the system.

GetProvisionedFabricConfigVersionListAsync(String, TimeSpan, CancellationToken)

Gets details for a specific cluster config version provisioned in the system.

GetProvisionedFabricConfigVersionListAsync()

Gets details for all cluster config versions provisioned in the system.

public System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricConfigVersionList> GetProvisionedFabricConfigVersionListAsync ();
member this.GetProvisionedFabricConfigVersionListAsync : unit -> System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricConfigVersionList>
Public Function GetProvisionedFabricConfigVersionListAsync () As Task(Of ProvisionedFabricConfigVersionList)

Returns

System.Threading.Tasks.Task<ProvisionedFabricConfigVersionList>

A task that represents the asynchronous query operation.

The returned task contains the list of provisioned Service Fabric config versions as ProvisionedFabricConfigVersionList.

Exceptions

System.TimeoutException

See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.

Applies to

GetProvisionedFabricConfigVersionListAsync(String)

Gets details for a specific cluster config version provisioned in the system.

public System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricConfigVersionList> GetProvisionedFabricConfigVersionListAsync (string configVersionFilter);
member this.GetProvisionedFabricConfigVersionListAsync : string -> System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricConfigVersionList>
Public Function GetProvisionedFabricConfigVersionListAsync (configVersionFilter As String) As Task(Of ProvisionedFabricConfigVersionList)

Parameters

configVersionFilter
System.String

The config version to get details for.

Returns

System.Threading.Tasks.Task<ProvisionedFabricConfigVersionList>

A task that represents the asynchronous query operation.

The returned task contains the list of provisioned Service Fabric config versions as ProvisionedFabricConfigVersionList.

Exceptions

System.TimeoutException

This operation has a timeout of 60 seconds.

See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.

Applies to

GetProvisionedFabricConfigVersionListAsync(String, TimeSpan, CancellationToken)

Gets details for a specific cluster config version provisioned in the system.

public System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricConfigVersionList> GetProvisionedFabricConfigVersionListAsync (string configVersionFilter, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetProvisionedFabricConfigVersionListAsync : string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricConfigVersionList>

Parameters

configVersionFilter
System.String

The config version to get details for.

timeout
System.TimeSpan

The maximum time allowed for the operation to complete before TimeoutException is thrown.

cancellationToken
System.Threading.CancellationToken

Reserved for future use.

Returns

System.Threading.Tasks.Task<ProvisionedFabricConfigVersionList>

A task that represents the asynchronous query operation.

The returned task contains the list of provisioned Service Fabric config versions as ProvisionedFabricConfigVersionList.

Exceptions

System.TimeoutException

See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.

Applies to