Share via


FabricClient.QueryClient.GetDeployedServicePackageListAsync Method

Definition

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);

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

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.

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 Latest and Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy, Latest

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);

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

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.

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 Latest and Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy, Latest

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);

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

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 Latest and Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy, Latest