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 Namespace Scheduled Tasks in Oracle Cloud Infrastructure Log Analytics service. * * Lists scheduled tasks. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamespaceScheduledTasks = oci.loganalytics.getNamespaceScheduledTasks({ * compartmentId: compartmentId, * namespace: namespaceScheduledTaskNamespace, * displayName: namespaceScheduledTaskDisplayName, * targetService: namespaceScheduledTaskTargetService, * taskType: namespaceScheduledTaskTaskType, * templateId: testTemplate.id, * }); * ``` */ export declare function getNamespaceScheduledTasks(args: GetNamespaceScheduledTasksArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNamespaceScheduledTasks. */ export interface GetNamespaceScheduledTasksArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.LogAnalytics.GetNamespaceScheduledTasksFilter[]; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: string; /** * The target service to use for filtering. */ targetService?: string; /** * Required parameter to specify schedule task type. */ taskType: string; /** * A filter to return only scheduled tasks whose stream action templateId matches the given id exactly. */ templateId?: string; } /** * A collection of values returned by getNamespaceScheduledTasks. */ export interface GetNamespaceScheduledTasksResult { /** * Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly compartmentId: string; /** * A user-friendly name that is changeable and that does not have to be unique. Format: a leading alphanumeric, followed by zero or more alphanumerics, underscores, spaces, backslashes, or hyphens in any order). No trailing spaces allowed. */ readonly displayName?: string; readonly filters?: outputs.LogAnalytics.GetNamespaceScheduledTasksFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_). */ readonly namespace: string; /** * The list of scheduled_task_collection. */ readonly scheduledTaskCollections: outputs.LogAnalytics.GetNamespaceScheduledTasksScheduledTaskCollection[]; readonly targetService?: string; /** * Task type. */ readonly taskType: string; /** * The Config template Id of a particular template. */ readonly templateId?: string; } /** * This data source provides the list of Namespace Scheduled Tasks in Oracle Cloud Infrastructure Log Analytics service. * * Lists scheduled tasks. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamespaceScheduledTasks = oci.loganalytics.getNamespaceScheduledTasks({ * compartmentId: compartmentId, * namespace: namespaceScheduledTaskNamespace, * displayName: namespaceScheduledTaskDisplayName, * targetService: namespaceScheduledTaskTargetService, * taskType: namespaceScheduledTaskTaskType, * templateId: testTemplate.id, * }); * ``` */ export declare function getNamespaceScheduledTasksOutput(args: GetNamespaceScheduledTasksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNamespaceScheduledTasks. */ export interface GetNamespaceScheduledTasksOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: pulumi.Input; /** * The target service to use for filtering. */ targetService?: pulumi.Input; /** * Required parameter to specify schedule task type. */ taskType: pulumi.Input; /** * A filter to return only scheduled tasks whose stream action templateId matches the given id exactly. */ templateId?: pulumi.Input; } //# sourceMappingURL=getNamespaceScheduledTasks.d.ts.map