import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Job Executions Status resource 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 testJobExecutionsStatus = oci.databasemanagement.getJobExecutionsStatus({ * compartmentId: compartmentId, * endTime: jobExecutionsStatusEndTime, * startTime: jobExecutionsStatusStartTime, * id: jobExecutionsStatusId, * managedDatabaseGroupId: testManagedDatabaseGroup.id, * managedDatabaseId: testManagedDatabase.id, * name: jobExecutionsStatusName, * }); * ``` */ export declare function getJobExecutionsStatus(args: GetJobExecutionsStatusArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJobExecutionsStatus. */ export interface GetJobExecutionsStatusArgs { /** * 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; /** * 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 getJobExecutionsStatus. */ export interface GetJobExecutionsStatusResult { readonly compartmentId: string; readonly endTime: string; readonly id?: string; /** * A list of JobExecutionsSummary objects. */ readonly items: outputs.DatabaseManagement.GetJobExecutionsStatusItem[]; readonly managedDatabaseGroupId?: string; readonly managedDatabaseId?: string; readonly name?: string; readonly startTime: string; } /** * This data source provides details about a specific Job Executions Status resource 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 testJobExecutionsStatus = oci.databasemanagement.getJobExecutionsStatus({ * compartmentId: compartmentId, * endTime: jobExecutionsStatusEndTime, * startTime: jobExecutionsStatusStartTime, * id: jobExecutionsStatusId, * managedDatabaseGroupId: testManagedDatabaseGroup.id, * managedDatabaseId: testManagedDatabase.id, * name: jobExecutionsStatusName, * }); * ``` */ export declare function getJobExecutionsStatusOutput(args: GetJobExecutionsStatusOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJobExecutionsStatus. */ export interface GetJobExecutionsStatusOutputArgs { /** * 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; /** * 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=getJobExecutionsStatus.d.ts.map