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 Maintenance Executions in Oracle Cloud Infrastructure Datacc service. * * Gets a list of the maintenance executions in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaintenanceExecutions = oci.oci.getDataccMaintenanceExecutions({ * compartmentId: compartmentId, * displayName: maintenanceExecutionDisplayName, * infrastructureId: testInfrastructure.id, * maintenanceRunId: testMaintenanceRun.id, * maintenanceSubtype: maintenanceExecutionMaintenanceSubtype, * maintenanceType: maintenanceExecutionMaintenanceType, * state: maintenanceExecutionState, * targetResourceType: maintenanceExecutionTargetResourceType, * timeAcceptedGreaterThanOrEqualTo: maintenanceExecutionTimeAcceptedGreaterThanOrEqualTo, * timeAcceptedLessThanOrEqualTo: maintenanceExecutionTimeAcceptedLessThanOrEqualTo, * type: maintenanceExecutionType, * }); * ``` */ export declare function getDataccMaintenanceExecutions(args: GetDataccMaintenanceExecutionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDataccMaintenanceExecutions. */ export interface GetDataccMaintenanceExecutionsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied). */ compartmentId: string; /** * A filter to return resources that match the entire display name given. The match is case sensitive. */ displayName?: string; filters?: inputs.oci.GetDataccMaintenanceExecutionsFilter[]; /** * The Database Infrastructure ID. */ infrastructureId?: string; /** * The maintenance run OCID. */ maintenanceRunId?: string; /** * The sub-type of the maintenance run. */ maintenanceSubtype?: string; /** * The maintenance type. */ maintenanceType?: string; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: string; /** * The type of the target resource. */ targetResourceType?: string; /** * Filter maintenance run for after given time. */ timeAcceptedGreaterThanOrEqualTo?: string; /** * Filter maintenance run for before given time. */ timeAcceptedLessThanOrEqualTo?: string; /** * The maintenance execution type. */ type?: string; } /** * A collection of values returned by getDataccMaintenanceExecutions. */ export interface GetDataccMaintenanceExecutionsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The user-friendly name for the maintenance run execution. */ readonly displayName?: string; readonly filters?: outputs.oci.GetDataccMaintenanceExecutionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure on which the maintenance run execution occurred. */ readonly infrastructureId?: string; /** * The list of maintenance_execution_collection. */ readonly maintenanceExecutionCollections: outputs.oci.GetDataccMaintenanceExecutionsMaintenanceExecutionCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance run to which this maintenance execution belongs. */ readonly maintenanceRunId?: string; /** * Maintenance run execution sub-type. */ readonly maintenanceSubtype?: string; /** * Maintenance type. */ readonly maintenanceType?: string; /** * The state of the maintenance run execution. */ readonly state?: string; /** * The type of the target resource on which the maintenance run execution occurred. */ readonly targetResourceType?: string; readonly timeAcceptedGreaterThanOrEqualTo?: string; readonly timeAcceptedLessThanOrEqualTo?: string; readonly type?: string; } /** * This data source provides the list of Maintenance Executions in Oracle Cloud Infrastructure Datacc service. * * Gets a list of the maintenance executions in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaintenanceExecutions = oci.oci.getDataccMaintenanceExecutions({ * compartmentId: compartmentId, * displayName: maintenanceExecutionDisplayName, * infrastructureId: testInfrastructure.id, * maintenanceRunId: testMaintenanceRun.id, * maintenanceSubtype: maintenanceExecutionMaintenanceSubtype, * maintenanceType: maintenanceExecutionMaintenanceType, * state: maintenanceExecutionState, * targetResourceType: maintenanceExecutionTargetResourceType, * timeAcceptedGreaterThanOrEqualTo: maintenanceExecutionTimeAcceptedGreaterThanOrEqualTo, * timeAcceptedLessThanOrEqualTo: maintenanceExecutionTimeAcceptedLessThanOrEqualTo, * type: maintenanceExecutionType, * }); * ``` */ export declare function getDataccMaintenanceExecutionsOutput(args: GetDataccMaintenanceExecutionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDataccMaintenanceExecutions. */ export interface GetDataccMaintenanceExecutionsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied). */ compartmentId: pulumi.Input; /** * A filter to return resources that match the entire display name given. The match is case sensitive. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The Database Infrastructure ID. */ infrastructureId?: pulumi.Input; /** * The maintenance run OCID. */ maintenanceRunId?: pulumi.Input; /** * The sub-type of the maintenance run. */ maintenanceSubtype?: pulumi.Input; /** * The maintenance type. */ maintenanceType?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: pulumi.Input; /** * The type of the target resource. */ targetResourceType?: pulumi.Input; /** * Filter maintenance run for after given time. */ timeAcceptedGreaterThanOrEqualTo?: pulumi.Input; /** * Filter maintenance run for before given time. */ timeAcceptedLessThanOrEqualTo?: pulumi.Input; /** * The maintenance execution type. */ type?: pulumi.Input; } //# sourceMappingURL=getDataccMaintenanceExecutions.d.ts.map