import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Workspace Application Schedule resource in Oracle Cloud Infrastructure Data Integration service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-integration/latest/WorkspaceApplicationSchedule * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataintegration * * Endpoint to create a new schedule * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWorkspaceApplicationSchedule = new oci.dataintegration.WorkspaceApplicationSchedule("test_workspace_application_schedule", { * applicationKey: workspaceApplicationScheduleApplicationKey, * identifier: workspaceApplicationScheduleIdentifier, * name: workspaceApplicationScheduleName, * workspaceId: testWorkspace.id, * description: workspaceApplicationScheduleDescription, * frequencyDetails: { * modelType: workspaceApplicationScheduleFrequencyDetailsModelType, * customExpression: workspaceApplicationScheduleFrequencyDetailsCustomExpression, * dayOfWeek: workspaceApplicationScheduleFrequencyDetailsDayOfWeek, * days: workspaceApplicationScheduleFrequencyDetailsDays, * frequency: workspaceApplicationScheduleFrequencyDetailsFrequency, * interval: Number(workspaceApplicationScheduleFrequencyDetailsInterval), * time: { * hour: Number(workspaceApplicationScheduleFrequencyDetailsTimeHour), * minute: Number(workspaceApplicationScheduleFrequencyDetailsTimeMinute), * second: Number(workspaceApplicationScheduleFrequencyDetailsTimeSecond), * }, * weekOfMonth: workspaceApplicationScheduleFrequencyDetailsWeekOfMonth, * }, * isDaylightAdjustmentEnabled: workspaceApplicationScheduleIsDaylightAdjustmentEnabled === "true", * key: workspaceApplicationScheduleKey, * modelVersion: workspaceApplicationScheduleModelVersion, * objectStatus: Number(workspaceApplicationScheduleObjectStatus), * objectVersion: Number(workspaceApplicationScheduleObjectVersion), * registryMetadata: { * aggregatorKey: workspaceApplicationScheduleRegistryMetadataAggregatorKey, * isFavorite: workspaceApplicationScheduleRegistryMetadataIsFavorite === "true", * key: workspaceApplicationScheduleRegistryMetadataKey, * labels: workspaceApplicationScheduleRegistryMetadataLabels, * registryVersion: Number(workspaceApplicationScheduleRegistryMetadataRegistryVersion), * }, * timezone: workspaceApplicationScheduleTimezone, * }); * ``` * * ## Import * * WorkspaceApplicationSchedules can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataIntegration/workspaceApplicationSchedule:WorkspaceApplicationSchedule test_workspace_application_schedule "workspaces/{workspaceId}/applications/{applicationKey}/schedules/{scheduleKey}" * ``` */ export declare class WorkspaceApplicationSchedule extends pulumi.CustomResource { /** * Get an existing WorkspaceApplicationSchedule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: WorkspaceApplicationScheduleState, opts?: pulumi.CustomResourceOptions): WorkspaceApplicationSchedule; /** * Returns true if the given object is an instance of WorkspaceApplicationSchedule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is WorkspaceApplicationSchedule; /** * The application key. */ readonly applicationKey: pulumi.Output; /** * (Updatable) Detailed description for the object. */ readonly description: pulumi.Output; /** * (Updatable) The model that holds the frequency details. */ readonly frequencyDetails: pulumi.Output; /** * (Updatable) Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. */ readonly identifier: pulumi.Output; /** * (Updatable) A flag to indicate whether daylight adjustment should be considered or not. */ readonly isDaylightAdjustmentEnabled: pulumi.Output; /** * (Updatable) Generated key that can be used in API calls to identify schedule. On scenarios where reference to the schedule is needed, a value can be passed in create. */ readonly key: pulumi.Output; /** * A summary type containing information about the object including its key, name and when/who created/updated it. */ readonly metadatas: pulumi.Output; /** * The type of the object. */ readonly modelType: pulumi.Output; /** * (Updatable) This is a version number that is used by the service to upgrade objects if needed through releases of the service. */ readonly modelVersion: pulumi.Output; /** * (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. */ readonly name: pulumi.Output; /** * (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved. */ readonly objectStatus: pulumi.Output; /** * (Updatable) This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object. */ readonly objectVersion: pulumi.Output; /** * A reference to the object's parent. */ readonly parentReves: pulumi.Output; /** * (Updatable) Information about the object and its parent. */ readonly registryMetadata: pulumi.Output; /** * (Updatable) The timezone for the schedule. */ readonly timezone: pulumi.Output; /** * The workspace ID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly workspaceId: pulumi.Output; /** * Create a WorkspaceApplicationSchedule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WorkspaceApplicationScheduleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WorkspaceApplicationSchedule resources. */ export interface WorkspaceApplicationScheduleState { /** * The application key. */ applicationKey?: pulumi.Input; /** * (Updatable) Detailed description for the object. */ description?: pulumi.Input; /** * (Updatable) The model that holds the frequency details. */ frequencyDetails?: pulumi.Input; /** * (Updatable) Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. */ identifier?: pulumi.Input; /** * (Updatable) A flag to indicate whether daylight adjustment should be considered or not. */ isDaylightAdjustmentEnabled?: pulumi.Input; /** * (Updatable) Generated key that can be used in API calls to identify schedule. On scenarios where reference to the schedule is needed, a value can be passed in create. */ key?: pulumi.Input; /** * A summary type containing information about the object including its key, name and when/who created/updated it. */ metadatas?: pulumi.Input[] | undefined>; /** * The type of the object. */ modelType?: pulumi.Input; /** * (Updatable) This is a version number that is used by the service to upgrade objects if needed through releases of the service. */ modelVersion?: pulumi.Input; /** * (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. */ name?: pulumi.Input; /** * (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved. */ objectStatus?: pulumi.Input; /** * (Updatable) This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object. */ objectVersion?: pulumi.Input; /** * A reference to the object's parent. */ parentReves?: pulumi.Input[] | undefined>; /** * (Updatable) Information about the object and its parent. */ registryMetadata?: pulumi.Input; /** * (Updatable) The timezone for the schedule. */ timezone?: pulumi.Input; /** * The workspace ID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ workspaceId?: pulumi.Input; } /** * The set of arguments for constructing a WorkspaceApplicationSchedule resource. */ export interface WorkspaceApplicationScheduleArgs { /** * The application key. */ applicationKey: pulumi.Input; /** * (Updatable) Detailed description for the object. */ description?: pulumi.Input; /** * (Updatable) The model that holds the frequency details. */ frequencyDetails?: pulumi.Input; /** * (Updatable) Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. */ identifier: pulumi.Input; /** * (Updatable) A flag to indicate whether daylight adjustment should be considered or not. */ isDaylightAdjustmentEnabled?: pulumi.Input; /** * (Updatable) Generated key that can be used in API calls to identify schedule. On scenarios where reference to the schedule is needed, a value can be passed in create. */ key?: pulumi.Input; /** * (Updatable) This is a version number that is used by the service to upgrade objects if needed through releases of the service. */ modelVersion?: pulumi.Input; /** * (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. */ name?: pulumi.Input; /** * (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved. */ objectStatus?: pulumi.Input; /** * (Updatable) This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object. */ objectVersion?: pulumi.Input; /** * (Updatable) Information about the object and its parent. */ registryMetadata?: pulumi.Input; /** * (Updatable) The timezone for the schedule. */ timezone?: pulumi.Input; /** * The workspace ID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ workspaceId: pulumi.Input; } //# sourceMappingURL=workspaceApplicationSchedule.d.ts.map