getHostQuery function
Get status of a query submitted at host level. 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 getHostQuery.
options Invoke options controlling this call.
Implementation
Future<GetHostQueryResult> getHostQuery(
GetHostQueryArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:apigee/v1:getHostQuery',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetHostQueryResult.fromMap(result);
}