import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Discovery Schedule resource in Oracle Cloud Infrastructure Cloud Bridge service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/OCB/latest/DiscoverySchedule * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cloudBridge * * Creates the discovery schedule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDiscoverySchedule = new oci.cloudbridge.DiscoverySchedule("test_discovery_schedule", { * compartmentId: compartmentId, * executionRecurrences: discoveryScheduleExecutionRecurrences, * definedTags: { * "Operations.CostCenter": "42", * }, * displayName: discoveryScheduleDisplayName, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * DiscoverySchedules can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CloudBridge/discoverySchedule:DiscoverySchedule test_discovery_schedule "id" * ``` */ export declare class DiscoverySchedule extends pulumi.CustomResource { /** * Get an existing DiscoverySchedule 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?: DiscoveryScheduleState, opts?: pulumi.CustomResourceOptions): DiscoverySchedule; /** * Returns true if the given object is an instance of DiscoverySchedule. 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 DiscoverySchedule; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the discovery schedule is created. */ readonly compartmentId: pulumi.Output; /** * (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided. */ readonly displayName: pulumi.Output; /** * (Updatable) Recurrence specification for the discovery schedule execution. */ readonly executionRecurrences: pulumi.Output; /** * (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** 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 freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The detailed state of the discovery schedule. */ readonly lifecycleDetails: pulumi.Output; /** * Current state of the discovery schedule. */ readonly state: pulumi.Output; /** * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time when the discovery schedule was created in RFC3339 format. */ readonly timeCreated: pulumi.Output; /** * The time when the discovery schedule was last updated in RFC3339 format. */ readonly timeUpdated: pulumi.Output; /** * Create a DiscoverySchedule 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: DiscoveryScheduleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DiscoverySchedule resources. */ export interface DiscoveryScheduleState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the discovery schedule is created. */ compartmentId?: pulumi.Input; /** * (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided. */ displayName?: pulumi.Input; /** * (Updatable) Recurrence specification for the discovery schedule execution. */ executionRecurrences?: pulumi.Input; /** * (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** 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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The detailed state of the discovery schedule. */ lifecycleDetails?: pulumi.Input; /** * Current state of the discovery schedule. */ state?: pulumi.Input; /** * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time when the discovery schedule was created in RFC3339 format. */ timeCreated?: pulumi.Input; /** * The time when the discovery schedule was last updated in RFC3339 format. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a DiscoverySchedule resource. */ export interface DiscoveryScheduleArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the discovery schedule is created. */ compartmentId: pulumi.Input; /** * (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided. */ displayName?: pulumi.Input; /** * (Updatable) Recurrence specification for the discovery schedule execution. */ executionRecurrences: pulumi.Input; /** * (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** 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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=discoverySchedule.d.ts.map