Share via


FabricClient.QueryClient.GetDeployedCodePackageListAsync Method

Definition

Overloads

GetDeployedCodePackageListAsync(String, Uri)

Gets the list of the deployed code packages.

GetDeployedCodePackageListAsync(String, Uri, String, String)

Gets the list of the deployed code packages.

GetDeployedCodePackageListAsync(String, Uri, String, String, Boolean)

Gets the list of the deployed code packages.

GetDeployedCodePackageListAsync(String, Uri, String, String, TimeSpan, CancellationToken)

Gets the list of the deployed code packages.

GetDeployedCodePackageListAsync(String, Uri, String, String, Boolean, TimeSpan, CancellationToken)

Gets the list of the deployed code packages.

GetDeployedCodePackageListAsync(String, Uri)

Gets the list of the deployed code packages.

public System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList> GetDeployedCodePackageListAsync (string nodeName, Uri applicationName);
member this.GetDeployedCodePackageListAsync : string * Uri -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList>
Public Function GetDeployedCodePackageListAsync (nodeName As String, applicationName As Uri) As Task(Of DeployedCodePackageList)

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 code packages as DeployedCodePackageList.

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

GetDeployedCodePackageListAsync(String, Uri, String, String)

Gets the list of the deployed code packages.

public System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList> GetDeployedCodePackageListAsync (string nodeName, Uri applicationName, string serviceManifestNameFilter, string codePackageNameFilter);
member this.GetDeployedCodePackageListAsync : string * Uri * string * string -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList>
Public Function GetDeployedCodePackageListAsync (nodeName As String, applicationName As Uri, serviceManifestNameFilter As String, codePackageNameFilter As String) As Task(Of DeployedCodePackageList)

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.

codePackageNameFilter
String

Filter results to include only those matching this code package name.

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of deployed code packages as DeployedCodePackageList.

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

GetDeployedCodePackageListAsync(String, Uri, String, String, Boolean)

Gets the list of the deployed code packages.

public System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList> GetDeployedCodePackageListAsync (string nodeName, Uri applicationName, string serviceManifestNameFilter, string codePackageNameFilter, bool includeCodePackageUsageStats);
member this.GetDeployedCodePackageListAsync : string * Uri * string * string * bool -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList>
Public Function GetDeployedCodePackageListAsync (nodeName As String, applicationName As Uri, serviceManifestNameFilter As String, codePackageNameFilter As String, includeCodePackageUsageStats As Boolean) As Task(Of DeployedCodePackageList)

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.

codePackageNameFilter
String

Filter results to include only those matching this code package name.

includeCodePackageUsageStats
Boolean

Filter result to include or not include container statistics such as CPU/Memory/IO usage. This can cause the API to take longer to return results if your application has many containers and you do not filter by service manifest or code package.

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of deployed code packages as DeployedCodePackageList.

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

GetDeployedCodePackageListAsync(String, Uri, String, String, TimeSpan, CancellationToken)

Gets the list of the deployed code packages.

public System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList> GetDeployedCodePackageListAsync (string nodeName, Uri applicationName, string serviceManifestNameFilter, string codePackageNameFilter, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetDeployedCodePackageListAsync : string * Uri * string * string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList>
Public Function GetDeployedCodePackageListAsync (nodeName As String, applicationName As Uri, serviceManifestNameFilter As String, codePackageNameFilter As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of DeployedCodePackageList)

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.

codePackageNameFilter
String

Filter results to include only those matching this code package 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 code packages as DeployedCodePackageList.

Exceptions

For this query, this exception usually means that the given node name does not match any node in the cluster.

Applies to

GetDeployedCodePackageListAsync(String, Uri, String, String, Boolean, TimeSpan, CancellationToken)

Gets the list of the deployed code packages.

public System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList> GetDeployedCodePackageListAsync (string nodeName, Uri applicationName, string serviceManifestNameFilter, string codePackageNameFilter, bool includeCodePackageUsageStats, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetDeployedCodePackageListAsync : string * Uri * string * string * bool * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedCodePackageList>
Public Function GetDeployedCodePackageListAsync (nodeName As String, applicationName As Uri, serviceManifestNameFilter As String, codePackageNameFilter As String, includeCodePackageUsageStats As Boolean, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of DeployedCodePackageList)

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.

codePackageNameFilter
String

Filter results to include only those matching this code package name.

includeCodePackageUsageStats
Boolean

Filter result to include or not include container statistics such as CPU/Memory/IO usage. This can cause the API to take longer to return results if your application has many containers and you do not filter by service manifest or code package.

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 code packages as DeployedCodePackageList.

Exceptions

For this query, this exception usually means that the given node name does not match any node in the cluster.

Applies to