listInstances method

ResponseFuture<ListInstancesResponse> listInstances(
  1. ListInstancesRequest request, {
  2. CallOptions? options,
})

List Instances

Lists instances matching the given query. The query can be used to filter either by instance ID or domain. The request is paginated and returns 100 results by default. This method requires system level permissions and cannot be called from an instance context.

Required permissions:

  • system.instance.read

Implementation

$grpc.ResponseFuture<$0.ListInstancesResponse> listInstances(
  $0.ListInstancesRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$listInstances, request, options: options);
}