Delen via


FabricClient.QueryClient Class

Definition

Represents the fabric client that can be used to issue queries.

public sealed class FabricClient.QueryClient
type FabricClient.QueryClient = class
Public NotInheritable Class FabricClient.QueryClient
Inheritance
FabricClient.QueryClient

Methods

GetApplicationListAsync()

Gets the details for all applications created in the system. If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetApplicationListAsync(Uri)

Gets the details for all applications or for a specific application created in the system. If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetApplicationListAsync(Uri, String)

Gets the details for all applications or for a specific application created in the system. If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetApplicationListAsync(Uri, String, TimeSpan, CancellationToken)

Gets the details for all applications or for a specific application created in the system. If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetApplicationListAsync(Uri, TimeSpan, CancellationToken)

Gets the details for all applications or for a specific application created in the system. If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetApplicationLoadInformationAsync(String)

Retrieves the load information of the specified application instance.

GetApplicationLoadInformationAsync(String, TimeSpan, CancellationToken)

Retrieves the load information of the specified application instance.

GetApplicationNameAsync(Uri, TimeSpan, CancellationToken)

Gets the application name for the specified service.

GetApplicationPagedListAsync(ApplicationQueryDescription)

Gets the details of applications created that match filters specified in query description (if any). If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetApplicationPagedListAsync(ApplicationQueryDescription, TimeSpan, CancellationToken)

Gets the details of applications created that match filters specified in query description (if any). If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetApplicationTypeListAsync()

Gets the details for all the application types provisioned or being provisioned in the system. For more functionality, use GetApplicationTypePagedListAsync(). This method will be deprecated in the future.

GetApplicationTypeListAsync(String)

Gets the details for all the application types provisioned or being provisioned in the system or for the specified application type. For more functionality, use GetApplicationTypePagedListAsync(). This method will be deprecated in the future.

GetApplicationTypeListAsync(String, TimeSpan, CancellationToken)

Gets the details for all the application types provisioned or being provisioned in the system or for the specified application type. For more functionality, use GetApplicationTypePagedListAsync(). This method will be deprecated in the future.

GetApplicationTypePagedListAsync()

Gets the details for all the application types provisioned or being provisioned in the system.

GetApplicationTypePagedListAsync(PagedApplicationTypeQueryDescription)

Gets the details for application types provisioned or being provisioned in the system which match filters provided by the queryDescription argument.

GetApplicationTypePagedListAsync(PagedApplicationTypeQueryDescription, TimeSpan, CancellationToken)

Gets the details for application types provisioned or being provisioned in the system which match filters provided by the queryDescription argument.

GetClusterLoadInformationAsync()

Gets the cluster load information.

GetClusterLoadInformationAsync(TimeSpan, CancellationToken)

Gets the cluster load information.

GetDeployedApplicationListAsync(String)

Gets the deployed application list. For more functionality, use GetDeployedApplicationPagedListAsync(PagedDeployedApplicationQueryDescription). This method will be deprecated in the future.

GetDeployedApplicationListAsync(String, Uri)

Gets the deployed applications on a node with the specified application name. For more functionality, use GetDeployedApplicationPagedListAsync(PagedDeployedApplicationQueryDescription). This method will be deprecated in the future.

GetDeployedApplicationListAsync(String, Uri, TimeSpan, CancellationToken)

Gets the deployed applications on a node with the specified application name. For more functionality, use GetDeployedApplicationPagedListAsync(PagedDeployedApplicationQueryDescription, TimeSpan, CancellationToken). This method will be deprecated in the future.

GetDeployedApplicationPagedListAsync(PagedDeployedApplicationQueryDescription)

Gets the list of applications deployed on a node.

GetDeployedApplicationPagedListAsync(PagedDeployedApplicationQueryDescription, TimeSpan, CancellationToken)

Gets the list of applications deployed on a node.

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, Boolean, TimeSpan, CancellationToken)

Gets the list of the deployed code packages.

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

Gets the list of the deployed code packages.

GetDeployedReplicaDetailAsync(String, Guid, Int64)

Returns details of a replica running on the specified node.

GetDeployedReplicaDetailAsync(String, Guid, Int64, TimeSpan, CancellationToken)

Returns details of a replica running on the specified node.

GetDeployedReplicaListAsync(String, Uri)

Gets the view of replicas from a node.

GetDeployedReplicaListAsync(String, Uri, Nullable<Guid>)

Gets the view of replicas from a node.

GetDeployedReplicaListAsync(String, Uri, String, Nullable<Guid>)

Gets the view of replicas from a node.

GetDeployedReplicaListAsync(String, Uri, String, Nullable<Guid>, TimeSpan, CancellationToken)

Gets the view of replicas from a node.

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.

GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription)

Gets the deployed service packages for the given node and application.

GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription, TimeSpan, CancellationToken)

Gets the deployed service packages for the given node and application.

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.

GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription)

Gets top/least loaded partitions.

GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription, TimeSpan, CancellationToken)

Gets top/least loaded partitions.

GetNodeListAsync()

Gets the details for all nodes in the cluster. If the nodes do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page. For the latest features, use GetNodePagedListAsync().

GetNodeListAsync(String)

Gets the details for all nodes in the cluster or for the specified node. If the nodes do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page. For the latest features, use GetNodePagedListAsync(NodeQueryDescription).

GetNodeListAsync(String, NodeStatusFilter, String, TimeSpan, CancellationToken)

Gets the details for all nodes in the cluster or for the specified node. If the nodes do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page. For the latest features, use GetNodePagedListAsync(NodeQueryDescription, TimeSpan, CancellationToken).

GetNodeListAsync(String, String)

Gets the details for all nodes in the cluster or for the specified node. If the nodes do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page. For the latest features, use GetNodePagedListAsync(NodeQueryDescription).

GetNodeListAsync(String, String, TimeSpan, CancellationToken)

Gets the details for all nodes in the cluster or for the specified node. If the nodes do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page. For the latest features, use GetNodePagedListAsync(NodeQueryDescription, TimeSpan, CancellationToken).

GetNodeListAsync(String, TimeSpan, CancellationToken)

Gets the details for all nodes in the cluster or for the specified node. For the latest features, use GetNodePagedListAsync(NodeQueryDescription, TimeSpan, CancellationToken).

GetNodeLoadInformationAsync(String)

Get metrics and load information on the node.

GetNodeLoadInformationAsync(String, TimeSpan, CancellationToken)

Get metrics and load information on the node.

GetNodePagedListAsync()

Gets the details for all nodes in the cluster or for the specified node. If the nodes do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetNodePagedListAsync(NodeQueryDescription)

Gets the details for all nodes in the cluster or for the specified node. If the nodes do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetNodePagedListAsync(NodeQueryDescription, TimeSpan, CancellationToken)

Gets the details for all nodes in the cluster or for the specified node. If the nodes do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetPartitionAsync(Guid)

Gets the details for the specified partition.

GetPartitionAsync(Guid, TimeSpan, CancellationToken)

Gets the details for the specified partition.

GetPartitionListAsync(Uri)

Gets the details for all partitions of a service. If the partitions do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetPartitionListAsync(Uri, Nullable<Guid>)

Gets the details for all partitions of a service or just the specified partition. If the partitions do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetPartitionListAsync(Uri, Nullable<Guid>, String, TimeSpan, CancellationToken)

Gets the details for all partitions of a service or just the specified partition. If the partitions do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetPartitionListAsync(Uri, Nullable<Guid>, TimeSpan, CancellationToken)

Gets the details for all partitions of a service or just the specified partition. If the partitions do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetPartitionListAsync(Uri, String)

Gets the details for all partitions of a service. If the partitions do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetPartitionLoadInformationAsync(Guid)

Gets the information about the partition load.

GetPartitionLoadInformationAsync(Guid, TimeSpan, CancellationToken)

Gets the information about the partition load.

GetProvisionedFabricCodeVersionListAsync()

Gets details for all cluster code versions provisioned in the system.

GetProvisionedFabricCodeVersionListAsync(String)

Gets details for the specific cluster code version provisioned in the system.

GetProvisionedFabricCodeVersionListAsync(String, TimeSpan, CancellationToken)

Gets details for the specific cluster code version provisioned in the system.

GetProvisionedFabricConfigVersionListAsync()

Gets details for all cluster config versions provisioned in the system.

GetProvisionedFabricConfigVersionListAsync(String)

Gets details for a specific cluster config version provisioned in the system.

GetProvisionedFabricConfigVersionListAsync(String, TimeSpan, CancellationToken)

Gets details for a specific cluster config version provisioned in the system.

GetReplicaListAsync(Guid)

Gets the details for all replicas of a partition. If the replicas do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetReplicaListAsync(Guid, Int64)

Gets the details for all replicas of a partition that match the replica or instance filter and the status filter. If the replicas do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetReplicaListAsync(Guid, Int64, ServiceReplicaStatusFilter, String, TimeSpan, CancellationToken)

Gets the details for all replicas of a partition that match the replica or instance filter and the status filter. If the replicas do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetReplicaListAsync(Guid, Int64, ServiceReplicaStatusFilter, TimeSpan, CancellationToken)

Gets the details for all replicas of a partition that match the replica or instance filter and the status filter. If the replicas do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetReplicaListAsync(Guid, Int64, TimeSpan, CancellationToken)

Gets the details for all replicas of a partition that match the replica or instance filter. If the replicas do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetReplicaListAsync(Guid, String)

Gets the details for all replicas of a partition. If the replicas do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetReplicaListAsync(Guid, String, TimeSpan, CancellationToken)

Gets the details for all replicas of a partition. If the replicas do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetReplicaLoadInformationAsync(Guid, Int64)

Get a list of metric and their load on a replica.

GetReplicaLoadInformationAsync(Guid, Int64, TimeSpan, CancellationToken)

Get a list of metric and their load on a replica.

GetServiceGroupMemberListAsync(Uri)

Get service group members of an application.

GetServiceGroupMemberListAsync(Uri, Uri)

Get service group members of an application.

GetServiceGroupMemberListAsync(Uri, Uri, TimeSpan, CancellationToken)

Gets the details for all partitions of a service. If the partitions do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetServiceGroupMemberTypeListAsync(String, String)

Get service group members types of service group(s).

GetServiceGroupMemberTypeListAsync(String, String, String)

Get service group members types of service group(s).

GetServiceGroupMemberTypeListAsync(String, String, String, TimeSpan, CancellationToken)

Get service group members types of service group(s).

GetServiceListAsync(Uri)

Gets the information about all services belonging to the application specified by the application name URI. If the services do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetServiceListAsync(Uri, Uri)

Gets the details for all services of an application or just the specified service. If the services do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetServiceListAsync(Uri, Uri, String)

Gets the details for all services of an application or just the specified service. If the services do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetServiceListAsync(Uri, Uri, String, TimeSpan, CancellationToken)

Gets the details for all services of an application or just the specified service. If the services do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetServiceListAsync(Uri, Uri, TimeSpan, CancellationToken)

Gets the details for all services of an application or just the specified service. If the services do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetServiceNameAsync(Guid, TimeSpan, CancellationToken)

Gets the service name for the specified partition.

GetServicePagedListAsync(ServiceQueryDescription)

Gets the details for all services of an application or just the specified services that match filters specified in query description (if any). If the services do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetServicePagedListAsync(ServiceQueryDescription, TimeSpan, CancellationToken)

Gets the details for all services of an application or just the specified services that match filters specified in query description (if any). If the services do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetServiceTypeListAsync(String, String)

Gets the list of service types.

GetServiceTypeListAsync(String, String, String)

Gets the list of service types.

GetServiceTypeListAsync(String, String, String, TimeSpan, CancellationToken)

Gets the list of service types.

GetUnplacedReplicaInformationAsync(String, Guid, Boolean)

Get diagnostics information about services with unplaced replicas.

GetUnplacedReplicaInformationAsync(String, Guid, Boolean, TimeSpan, CancellationToken)

Get diagnostics information about services with unplaced replicas.

Extension Methods

GetComposeDeploymentStatusPagedListAsync(FabricClient+QueryClient, ComposeDeploymentStatusQueryDescription)

Gets the status of compose deployments created that match filters specified in query description (if any). If the compose deployments do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetComposeDeploymentStatusPagedListAsync(FabricClient+QueryClient, ComposeDeploymentStatusQueryDescription, TimeSpan)

Gets the status of compose deployments created that match filters specified in query description (if any). If the compose deployments do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetComposeDeploymentStatusPagedListAsync(FabricClient+QueryClient, ComposeDeploymentStatusQueryDescription, TimeSpan, CancellationToken)

Gets the status of compose deployments created that match filters specified in query description (if any). If the compose deployments do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

Applies to