import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Job Executions Statuses in Oracle Cloud Infrastructure Database Management service. * * Gets the number of job executions grouped by status for a job, Managed Database, or Database Group in a specific compartment. Only one of the parameters, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJobExecutionsStatuses = oci.databasemanagement.getJobExecutionsStatuses({ * compartmentId: compartmentId, * endTime: jobExecutionsStatusEndTime, * startTime: jobExecutionsStatusStartTime, * id: jobExecutionsStatusId, * managedDatabaseGroupId: testManagedDatabaseGroup.id, * managedDatabaseId: testManagedDatabase.id, * name: jobExecutionsStatusName, * }); * ``` */ export declare function getJobExecutionsStatuses(args: GetJobExecutionsStatusesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJobExecutionsStatuses. */ export interface GetJobExecutionsStatusesArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * The end time of the time range to retrieve the status summary of job executions in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". */ endTime: string; filters?: inputs.DatabaseManagement.GetJobExecutionsStatusesFilter[]; /** * The identifier of the resource. */ id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database Group. */ managedDatabaseGroupId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId?: string; /** * A filter to return only resources that match the entire name. */ name?: string; /** * The start time of the time range to retrieve the status summary of job executions in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". */ startTime: string; } /** * A collection of values returned by getJobExecutionsStatuses. */ export interface GetJobExecutionsStatusesResult { readonly compartmentId: string; readonly endTime: string; readonly filters?: outputs.DatabaseManagement.GetJobExecutionsStatusesFilter[]; readonly id?: string; /** * The list of job_executions_status_summary_collection. */ readonly jobExecutionsStatusSummaryCollections: outputs.DatabaseManagement.GetJobExecutionsStatusesJobExecutionsStatusSummaryCollection[]; readonly managedDatabaseGroupId?: string; readonly managedDatabaseId?: string; readonly name?: string; readonly startTime: string; } /** * This data source provides the list of Job Executions Statuses in Oracle Cloud Infrastructure Database Management service. * * Gets the number of job executions grouped by status for a job, Managed Database, or Database Group in a specific compartment. Only one of the parameters, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJobExecutionsStatuses = oci.databasemanagement.getJobExecutionsStatuses({ * compartmentId: compartmentId, * endTime: jobExecutionsStatusEndTime, * startTime: jobExecutionsStatusStartTime, * id: jobExecutionsStatusId, * managedDatabaseGroupId: testManagedDatabaseGroup.id, * managedDatabaseId: testManagedDatabase.id, * name: jobExecutionsStatusName, * }); * ``` */ export declare function getJobExecutionsStatusesOutput(args: GetJobExecutionsStatusesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJobExecutionsStatuses. */ export interface GetJobExecutionsStatusesOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * The end time of the time range to retrieve the status summary of job executions in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". */ endTime: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The identifier of the resource. */ id?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database Group. */ managedDatabaseGroupId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId?: pulumi.Input; /** * A filter to return only resources that match the entire name. */ name?: pulumi.Input; /** * The start time of the time range to retrieve the status summary of job executions in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". */ startTime: pulumi.Input; } //# sourceMappingURL=getJobExecutionsStatuses.d.ts.map