getQuery function

Future<GetQueryResult> getQuery(
  1. GetQueryArgs args, {
  2. InvokeOptions? options,
})

Get query status If the query is still in progress, the state is set to "running" After the query has completed successfully, state is set to "completed" args Arguments passed to this invoke. Arguments for getQuery. options Invoke options controlling this call.

Implementation

Future<GetQueryResult> getQuery(
  GetQueryArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:apigee/v1:getQuery',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetQueryResult.fromMap(result);
}