共用方式為


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

A task that represents the asynchronous query operation.

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

Exceptions

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
String

The config version to get details for.

Returns

A task that represents the asynchronous query operation.

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

Exceptions

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>
Public Function GetProvisionedFabricConfigVersionListAsync (configVersionFilter As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ProvisionedFabricConfigVersionList)

Parameters

configVersionFilter
String

The config version to get details for.

timeout
TimeSpan

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

cancellationToken
CancellationToken

Reserved for future use.

Returns

A task that represents the asynchronous query operation.

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

Exceptions

Applies to