FabricClient.QueryClient.GetDeployedServiceTypeListAsync 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
GetDeployedServiceTypeListAsync(String, Uri) |
Gets the deployed service types on the given node and application. |
GetDeployedServiceTypeListAsync(String, Uri, String, String) |
Gets the deployed service types on the given node and application. |
GetDeployedServiceTypeListAsync(String, Uri, String, String, TimeSpan, CancellationToken) |
Gets the deployed service types on the given node and application. |
GetDeployedServiceTypeListAsync(String, Uri)
Gets the deployed service types on the given node and application.
public System.Threading.Tasks.Task<System.Fabric.Query.DeployedServiceTypeList> GetDeployedServiceTypeListAsync (string nodeName, Uri applicationName);
member this.GetDeployedServiceTypeListAsync : string * Uri -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedServiceTypeList>
Public Function GetDeployedServiceTypeListAsync (nodeName As String, applicationName As Uri) As Task(Of DeployedServiceTypeList)
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 types as DeployedServiceTypeList.
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.
ApplicationNotFound: The application does not exist.
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
GetDeployedServiceTypeListAsync(String, Uri, String, String)
Gets the deployed service types on the given node and application.
public System.Threading.Tasks.Task<System.Fabric.Query.DeployedServiceTypeList> GetDeployedServiceTypeListAsync (string nodeName, Uri applicationName, string serviceManifestNameFilter, string serviceTypeNameFilter);
member this.GetDeployedServiceTypeListAsync : string * Uri * string * string -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedServiceTypeList>
Public Function GetDeployedServiceTypeListAsync (nodeName As String, applicationName As Uri, serviceManifestNameFilter As String, serviceTypeNameFilter As String) As Task(Of DeployedServiceTypeList)
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 service types matching this service manifest name.
- serviceTypeNameFilter
- String
Filter results to include only service types matching this name.
Returns
A task that represents the asynchronous query operation.
The returned task contains the list of deployed service types as DeployedServiceTypeList.
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
GetDeployedServiceTypeListAsync(String, Uri, String, String, TimeSpan, CancellationToken)
Gets the deployed service types on the given node and application.
public System.Threading.Tasks.Task<System.Fabric.Query.DeployedServiceTypeList> GetDeployedServiceTypeListAsync (string nodeName, Uri applicationName, string serviceManifestNameFilter, string serviceTypeNameFilter, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetDeployedServiceTypeListAsync : string * Uri * string * string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedServiceTypeList>
Public Function GetDeployedServiceTypeListAsync (nodeName As String, applicationName As Uri, serviceManifestNameFilter As String, serviceTypeNameFilter As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of DeployedServiceTypeList)
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 service types matching this service manifest name.
- serviceTypeNameFilter
- String
Filter results to include only service types matching this 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 types as DeployedServiceTypeList.
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