import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Scheduled Query resource in Oracle Cloud Infrastructure Apm Traces service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/latest/ScheduledQuery * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/apm/apm_traces * * Create a scheduled query in the APM Domain. * * ## Import * * ScheduledQueries can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:ApmTraces/scheduledQuery:ScheduledQuery test_scheduled_query "scheduledQueries/{scheduledQueryId}/apmDomainId/{apmDomainId}" * ``` */ export declare class ScheduledQuery extends pulumi.CustomResource { /** * Get an existing ScheduledQuery 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?: ScheduledQueryState, opts?: pulumi.CustomResourceOptions): ScheduledQuery; /** * Returns true if the given object is an instance of ScheduledQuery. 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 ScheduledQuery; /** * (Updatable) The APM Domain ID for the intended request. */ readonly apmDomainId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Indicates that the request is a dry run, if set to "true". A dry run request does not create or modify the resource and is used only to perform validation on the submitted data. */ readonly opcDryRun: pulumi.Output; /** * (Updatable) Description for the scheduled query. */ readonly scheduledQueryDescription: pulumi.Output; /** * Scheduled query instances. */ readonly scheduledQueryInstances: pulumi.Output; /** * (Updatable) Maximum runtime for the scheduled query in seconds. */ readonly scheduledQueryMaximumRuntimeInSeconds: pulumi.Output; /** * (Updatable) Name of the scheduled query. */ readonly scheduledQueryName: pulumi.Output; /** * Next run for the scheduled query. */ readonly scheduledQueryNextRunInMs: pulumi.Output; /** * (Updatable) Definition of the scheduled query processing configuration. */ readonly scheduledQueryProcessingConfiguration: pulumi.Output; /** * (Updatable) Processing sub type of the scheduled query. */ readonly scheduledQueryProcessingSubType: pulumi.Output; /** * (Updatable) Type of the scheduled query. */ readonly scheduledQueryProcessingType: pulumi.Output; /** * (Updatable) Retention criteria for the scheduled query. */ readonly scheduledQueryRetentionCriteria: pulumi.Output; /** * (Updatable) Retention period for the scheduled query in milliseconds. */ readonly scheduledQueryRetentionPeriodInMs: pulumi.Output; /** * (Updatable) Schedule for the scheduled query. */ readonly scheduledQuerySchedule: pulumi.Output; /** * (Updatable) Scheduled query to be run. * * ** 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 scheduledQueryText: pulumi.Output; /** * The current lifecycle state of the Scheduled Query. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * Create a ScheduledQuery 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: ScheduledQueryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ScheduledQuery resources. */ export interface ScheduledQueryState { /** * (Updatable) The APM Domain ID for the intended request. */ apmDomainId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Indicates that the request is a dry run, if set to "true". A dry run request does not create or modify the resource and is used only to perform validation on the submitted data. */ opcDryRun?: pulumi.Input; /** * (Updatable) Description for the scheduled query. */ scheduledQueryDescription?: pulumi.Input; /** * Scheduled query instances. */ scheduledQueryInstances?: pulumi.Input; /** * (Updatable) Maximum runtime for the scheduled query in seconds. */ scheduledQueryMaximumRuntimeInSeconds?: pulumi.Input; /** * (Updatable) Name of the scheduled query. */ scheduledQueryName?: pulumi.Input; /** * Next run for the scheduled query. */ scheduledQueryNextRunInMs?: pulumi.Input; /** * (Updatable) Definition of the scheduled query processing configuration. */ scheduledQueryProcessingConfiguration?: pulumi.Input; /** * (Updatable) Processing sub type of the scheduled query. */ scheduledQueryProcessingSubType?: pulumi.Input; /** * (Updatable) Type of the scheduled query. */ scheduledQueryProcessingType?: pulumi.Input; /** * (Updatable) Retention criteria for the scheduled query. */ scheduledQueryRetentionCriteria?: pulumi.Input; /** * (Updatable) Retention period for the scheduled query in milliseconds. */ scheduledQueryRetentionPeriodInMs?: pulumi.Input; /** * (Updatable) Schedule for the scheduled query. */ scheduledQuerySchedule?: pulumi.Input; /** * (Updatable) Scheduled query to be run. * * ** 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 */ scheduledQueryText?: pulumi.Input; /** * The current lifecycle state of the Scheduled Query. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a ScheduledQuery resource. */ export interface ScheduledQueryArgs { /** * (Updatable) The APM Domain ID for the intended request. */ apmDomainId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Indicates that the request is a dry run, if set to "true". A dry run request does not create or modify the resource and is used only to perform validation on the submitted data. */ opcDryRun?: pulumi.Input; /** * (Updatable) Description for the scheduled query. */ scheduledQueryDescription?: pulumi.Input; /** * (Updatable) Maximum runtime for the scheduled query in seconds. */ scheduledQueryMaximumRuntimeInSeconds?: pulumi.Input; /** * (Updatable) Name of the scheduled query. */ scheduledQueryName?: pulumi.Input; /** * (Updatable) Definition of the scheduled query processing configuration. */ scheduledQueryProcessingConfiguration?: pulumi.Input; /** * (Updatable) Processing sub type of the scheduled query. */ scheduledQueryProcessingSubType?: pulumi.Input; /** * (Updatable) Type of the scheduled query. */ scheduledQueryProcessingType?: pulumi.Input; /** * (Updatable) Retention criteria for the scheduled query. */ scheduledQueryRetentionCriteria?: pulumi.Input; /** * (Updatable) Retention period for the scheduled query in milliseconds. */ scheduledQueryRetentionPeriodInMs?: pulumi.Input; /** * (Updatable) Schedule for the scheduled query. */ scheduledQuerySchedule?: pulumi.Input; /** * (Updatable) Scheduled query to be run. * * ** 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 */ scheduledQueryText?: pulumi.Input; } //# sourceMappingURL=scheduledQuery.d.ts.map