FabricClient.QueryClient.GetDeployedServicePackageListAsync 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
GetDeployedServicePackageListAsync(String, Uri) |
Gets the deployed service packages for the given node and application. For more functionality, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription). This method will be deprecated in the future. |
GetDeployedServicePackageListAsync(String, Uri, String) |
Gets the deployed service packages for the given node and application. For more functionality, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription). This method will be deprecated in the future. |
GetDeployedServicePackageListAsync(String, Uri, String, TimeSpan, CancellationToken) |
Gets the deployed service packages for the given node and application. For more functionality, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription, TimeSpan, CancellationToken). This method will be deprecated in the future. |
GetDeployedServicePackageListAsync(String, Uri)
Gets the deployed service packages for the given node and application. For more functionality, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription). This method will be deprecated in the future.
public System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackageList> GetDeployedServicePackageListAsync (string nodeName, Uri applicationName);
member this.GetDeployedServicePackageListAsync : string * Uri -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackageList>
Public Function GetDeployedServicePackageListAsync (nodeName As String, applicationName As Uri) As Task(Of DeployedServicePackageList)
Parameters
- nodeName
- String
The name of the node. This is a case-sensitive exact match. This value should not be null or empty, and if the node name does not match any node on the cluster, an exception is thrown.
- applicationName
- Uri
The name of the application.
Returns
A task that represents the asynchronous query operation.
The returned task contains the list of deployed service packages as DeployedServicePackageList.
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.
For this query, this exception usually means that the given node name does not match any node in the cluster.
Applies to
GetDeployedServicePackageListAsync(String, Uri, String)
Gets the deployed service packages for the given node and application. For more functionality, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription). This method will be deprecated in the future.
public System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackageList> GetDeployedServicePackageListAsync (string nodeName, Uri applicationName, string serviceManifestNameFilter);
member this.GetDeployedServicePackageListAsync : string * Uri * string -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackageList>
Public Function GetDeployedServicePackageListAsync (nodeName As String, applicationName As Uri, serviceManifestNameFilter As String) As Task(Of DeployedServicePackageList)
Parameters
- nodeName
- String
The name of the node. This is a case-sensitive exact match. This value should not be null or empty, and if the node name does not match any node on the cluster, an exception is thrown.
- applicationName
- Uri
The name of the application.
- serviceManifestNameFilter
- String
Filter results to include only those matching this service manifest name.
Returns
A task that represents the asynchronous query operation.
The returned task contains the list of deployed service packages as DeployedServicePackageList.
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.
For this query, this exception usually means that the given node name does not match any node in the cluster.
Applies to
GetDeployedServicePackageListAsync(String, Uri, String, TimeSpan, CancellationToken)
Gets the deployed service packages for the given node and application. For more functionality, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription, TimeSpan, CancellationToken). This method will be deprecated in the future.
public System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackageList> GetDeployedServicePackageListAsync (string nodeName, Uri applicationName, string serviceManifestNameFilter, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetDeployedServicePackageListAsync : string * Uri * string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackageList>
Public Function GetDeployedServicePackageListAsync (nodeName As String, applicationName As Uri, serviceManifestNameFilter As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of DeployedServicePackageList)
Parameters
- nodeName
- String
The name of the node. This is a case-sensitive exact match. This value should not be null or empty, and if the node name does not match any node on the cluster, an exception is thrown.
- applicationName
- Uri
The name of the application.
- serviceManifestNameFilter
- String
Filter results to include only those matching this service manifest name.
- timeout
- TimeSpan
Specifies the duration this operation has to complete before timing out.
- cancellationToken
- CancellationToken
Propagates notification that operations should be canceled.
Returns
A task that represents the asynchronous query operation.
The returned task contains the list of deployed service packages as DeployedServicePackageList.
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.
For this query, this exception usually means that the given node name does not match any node in the cluster.
Applies to
Azure SDK for .NET