import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * 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" */ export declare function getHostSecurityReport(args: GetHostSecurityReportArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetHostSecurityReportArgs { hostSecurityReportId: string; organizationId: string; } export interface GetHostSecurityReportResult { /** * Creation time of the query. */ readonly created: string; /** * Display Name specified by the user. */ readonly displayName: string; /** * Hostname is available only when query is executed at host level. */ readonly envgroupHostname: string; /** * Error is set when query fails. */ readonly error: string; /** * ExecutionTime is available only after the query is completed. */ readonly executionTime: string; /** * Contains information like metrics, dimenstions etc of the Security Report. */ readonly queryParams: outputs.apigee.v1.GoogleCloudApigeeV1SecurityReportMetadataResponse; /** * Report Definition ID. */ readonly reportDefinitionId: string; /** * Result is available only after the query is completed. */ readonly result: outputs.apigee.v1.GoogleCloudApigeeV1SecurityReportResultMetadataResponse; /** * ResultFileSize is available only after the query is completed. */ readonly resultFileSize: string; /** * ResultRows is available only after the query is completed. */ readonly resultRows: string; /** * Self link of the query. Example: `/organizations/myorg/environments/myenv/securityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd` or following format if query is running at host level: `/organizations/myorg/hostSecurityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd` */ readonly self: string; /** * Query state could be "enqueued", "running", "completed", "expired" and "failed". */ readonly state: string; /** * Last updated timestamp for the query. */ readonly updated: string; } /** * 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" */ export declare function getHostSecurityReportOutput(args: GetHostSecurityReportOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetHostSecurityReportOutputArgs { hostSecurityReportId: pulumi.Input; organizationId: pulumi.Input; }