FabricClient.QueryClient.GetProvisionedFabricCodeVersionListAsync 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.
Overloads
GetProvisionedFabricCodeVersionListAsync() |
Gets details for all cluster code versions provisioned in the system. |
GetProvisionedFabricCodeVersionListAsync(String) |
Gets details for the specific cluster code version provisioned in the system. |
GetProvisionedFabricCodeVersionListAsync(String, TimeSpan, CancellationToken) |
Gets details for the specific cluster code version provisioned in the system. |
GetProvisionedFabricCodeVersionListAsync()
Gets details for all cluster code versions provisioned in the system.
public System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricCodeVersionList> GetProvisionedFabricCodeVersionListAsync ();
member this.GetProvisionedFabricCodeVersionListAsync : unit -> System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricCodeVersionList>
Public Function GetProvisionedFabricCodeVersionListAsync () As Task(Of ProvisionedFabricCodeVersionList)
Returns
A task that represents the asynchronous query operation.
The returned task contains the list of provisioned Service Fabric code versions as ProvisionedFabricCodeVersionList.
Exceptions
See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
See also https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
Applies to
GetProvisionedFabricCodeVersionListAsync(String)
Gets details for the specific cluster code version provisioned in the system.
public System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricCodeVersionList> GetProvisionedFabricCodeVersionListAsync (string codeVersionFilter);
member this.GetProvisionedFabricCodeVersionListAsync : string -> System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricCodeVersionList>
Public Function GetProvisionedFabricCodeVersionListAsync (codeVersionFilter As String) As Task(Of ProvisionedFabricCodeVersionList)
Parameters
- codeVersionFilter
- String
The code version to get details for.
Returns
A task that represents the asynchronous query operation.
The returned task contains the list of provisioned Service Fabric code versions as ProvisionedFabricCodeVersionList.
Exceptions
See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
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.
See also https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
Applies to
GetProvisionedFabricCodeVersionListAsync(String, TimeSpan, CancellationToken)
Gets details for the specific cluster code version provisioned in the system.
public System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricCodeVersionList> GetProvisionedFabricCodeVersionListAsync (string codeVersionFilter, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetProvisionedFabricCodeVersionListAsync : string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.ProvisionedFabricCodeVersionList>
Public Function GetProvisionedFabricCodeVersionListAsync (codeVersionFilter As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ProvisionedFabricCodeVersionList)
Parameters
- codeVersionFilter
- String
Code 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 code versions as ProvisionedFabricCodeVersionList.
Exceptions
See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
See also https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
Applies to
Azure SDK for .NET