FabricClient.QueryClient.GetDeployedServicePackageListAsync Método

Definición

Sobrecargas

GetDeployedServicePackageListAsync(String, Uri)

Obtiene los paquetes de servicio implementados para el nodo y la aplicación especificados. Para obtener más funcionalidad, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription). Este método quedará en desuso en el futuro.

GetDeployedServicePackageListAsync(String, Uri, String)

Obtiene los paquetes de servicio implementados para el nodo y la aplicación especificados. Para obtener más funcionalidad, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription). Este método quedará en desuso en el futuro.

GetDeployedServicePackageListAsync(String, Uri, String, TimeSpan, CancellationToken)

Obtiene los paquetes de servicio implementados para el nodo y la aplicación especificados. Para obtener más funcionalidad, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription, TimeSpan, CancellationToken). Este método quedará en desuso en el futuro.

GetDeployedServicePackageListAsync(String, Uri)

Obtiene los paquetes de servicio implementados para el nodo y la aplicación especificados. Para obtener más funcionalidad, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription). Este método quedará en desuso en el futuro.

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)

Parámetros

nodeName
String

El nombre del nodo. Se trata de una coincidencia exacta que distingue mayúsculas de minúsculas. Este valor no debe ser nulo o vacío y, si el nombre del nodo no coincide con ningún nodo del clúster, se produce una excepción.

applicationName
Uri

Nombre de la aplicación.

Devoluciones

Tarea que representa la operación de consulta asincrónica.

La tarea devuelta contiene la lista de paquetes de servicio implementados como DeployedServicePackageList.

Excepciones

Esta operación tiene un tiempo de espera de 60 segundos.

Consulte https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions para controlar errores comunes de FabricClient.

Consulte también https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions para controlar errores comunes de FabricClient.

Para esta consulta, esta excepción suele significar que el nombre de nodo especificado no coincide con ningún nodo del clúster.

Se aplica a

GetDeployedServicePackageListAsync(String, Uri, String)

Obtiene los paquetes de servicio implementados para el nodo y la aplicación especificados. Para obtener más funcionalidad, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription). Este método quedará en desuso en el futuro.

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)

Parámetros

nodeName
String

El nombre del nodo. Se trata de una coincidencia exacta que distingue mayúsculas de minúsculas. Este valor no debe ser nulo o vacío y, si el nombre del nodo no coincide con ningún nodo del clúster, se produce una excepción.

applicationName
Uri

Nombre de la aplicación.

serviceManifestNameFilter
String

Filtre los resultados para incluir solo aquellos que coincidan con este nombre de manifiesto de servicio.

Devoluciones

Tarea que representa la operación de consulta asincrónica.

La tarea devuelta contiene la lista de paquetes de servicio implementados como DeployedServicePackageList.

Excepciones

Esta operación tiene un tiempo de espera de 60 segundos.

Consulte https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions para controlar errores comunes de FabricClient.

Consulte también https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions para controlar errores comunes de FabricClient.

Para esta consulta, esta excepción suele significar que el nombre de nodo especificado no coincide con ningún nodo del clúster.

Se aplica a

GetDeployedServicePackageListAsync(String, Uri, String, TimeSpan, CancellationToken)

Obtiene los paquetes de servicio implementados para el nodo y la aplicación especificados. Para obtener más funcionalidad, use GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription, TimeSpan, CancellationToken). Este método quedará en desuso en el futuro.

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)

Parámetros

nodeName
String

El nombre del nodo. Se trata de una coincidencia exacta que distingue mayúsculas de minúsculas. Este valor no debe ser nulo o vacío y, si el nombre del nodo no coincide con ningún nodo del clúster, se produce una excepción.

applicationName
Uri

Nombre de la aplicación.

serviceManifestNameFilter
String

Filtre los resultados para incluir solo aquellos que coincidan con este nombre de manifiesto de servicio.

timeout
TimeSpan

Especifica la duración que esta operación tiene que completarse antes de que se agote el tiempo de espera.

cancellationToken
CancellationToken

Propaga la notificación de que las operaciones deberían cancelarse.

Devoluciones

Tarea que representa la operación de consulta asincrónica.

La tarea devuelta contiene la lista de paquetes de servicio implementados como DeployedServicePackageList.

Excepciones

Consulte también https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions para controlar errores comunes de FabricClient.

Para esta consulta, esta excepción suele significar que el nombre de nodo especificado no coincide con ningún nodo del clúster.

Se aplica a