1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LogAnalytics
  5. getNamespaceScheduledTask
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi

    This data source provides details about a specific Namespace Scheduled Task resource in Oracle Cloud Infrastructure Log Analytics service.

    Get the scheduled task for the specified task identifier.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testNamespaceScheduledTask = oci.LogAnalytics.getNamespaceScheduledTask({
        namespace: namespaceScheduledTaskNamespace,
        scheduledTaskId: testScheduledTask.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_namespace_scheduled_task = oci.LogAnalytics.get_namespace_scheduled_task(namespace=namespace_scheduled_task_namespace,
        scheduled_task_id=test_scheduled_task["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/loganalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := loganalytics.GetNamespaceScheduledTask(ctx, &loganalytics.GetNamespaceScheduledTaskArgs{
    			Namespace:       namespaceScheduledTaskNamespace,
    			ScheduledTaskId: testScheduledTask.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testNamespaceScheduledTask = Oci.LogAnalytics.GetNamespaceScheduledTask.Invoke(new()
        {
            Namespace = namespaceScheduledTaskNamespace,
            ScheduledTaskId = testScheduledTask.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.LogAnalytics.LogAnalyticsFunctions;
    import com.pulumi.oci.LogAnalytics.inputs.GetNamespaceScheduledTaskArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testNamespaceScheduledTask = LogAnalyticsFunctions.getNamespaceScheduledTask(GetNamespaceScheduledTaskArgs.builder()
                .namespace(namespaceScheduledTaskNamespace)
                .scheduledTaskId(testScheduledTask.id())
                .build());
    
        }
    }
    
    variables:
      testNamespaceScheduledTask:
        fn::invoke:
          function: oci:LogAnalytics:getNamespaceScheduledTask
          arguments:
            namespace: ${namespaceScheduledTaskNamespace}
            scheduledTaskId: ${testScheduledTask.id}
    

    Using getNamespaceScheduledTask

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNamespaceScheduledTask(args: GetNamespaceScheduledTaskArgs, opts?: InvokeOptions): Promise<GetNamespaceScheduledTaskResult>
    function getNamespaceScheduledTaskOutput(args: GetNamespaceScheduledTaskOutputArgs, opts?: InvokeOptions): Output<GetNamespaceScheduledTaskResult>
    def get_namespace_scheduled_task(namespace: Optional[str] = None,
                                     scheduled_task_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetNamespaceScheduledTaskResult
    def get_namespace_scheduled_task_output(namespace: Optional[pulumi.Input[str]] = None,
                                     scheduled_task_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceScheduledTaskResult]
    func LookupNamespaceScheduledTask(ctx *Context, args *LookupNamespaceScheduledTaskArgs, opts ...InvokeOption) (*LookupNamespaceScheduledTaskResult, error)
    func LookupNamespaceScheduledTaskOutput(ctx *Context, args *LookupNamespaceScheduledTaskOutputArgs, opts ...InvokeOption) LookupNamespaceScheduledTaskResultOutput

    > Note: This function is named LookupNamespaceScheduledTask in the Go SDK.

    public static class GetNamespaceScheduledTask 
    {
        public static Task<GetNamespaceScheduledTaskResult> InvokeAsync(GetNamespaceScheduledTaskArgs args, InvokeOptions? opts = null)
        public static Output<GetNamespaceScheduledTaskResult> Invoke(GetNamespaceScheduledTaskInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNamespaceScheduledTaskResult> getNamespaceScheduledTask(GetNamespaceScheduledTaskArgs args, InvokeOptions options)
    public static Output<GetNamespaceScheduledTaskResult> getNamespaceScheduledTask(GetNamespaceScheduledTaskArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:LogAnalytics/getNamespaceScheduledTask:getNamespaceScheduledTask
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Namespace string
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    ScheduledTaskId string
    Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
    Namespace string
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    ScheduledTaskId string
    Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
    namespace String
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    scheduledTaskId String
    Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
    namespace string
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    scheduledTaskId string
    Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
    namespace str
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    scheduled_task_id str
    Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
    namespace String
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    scheduledTaskId String
    Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.

    getNamespaceScheduledTask Result

    The following output properties are available:

    Actions List<GetNamespaceScheduledTaskAction>
    Action for scheduled task.
    CompartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    Description for this resource.
    DisplayName 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.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the data plane resource.
    Kind string
    Discriminator.
    Namespace string
    The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
    NumOccurrences string
    Number of execution occurrences.
    SavedSearchId string
    The ManagementSavedSearch id [OCID] utilized in the action.
    ScheduledTaskId string
    Schedules List<GetNamespaceScheduledTaskSchedule>
    Schedules.
    State string
    The current state of the scheduled task.
    TaskStatus string
    Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
    TaskType string
    Task type.
    TimeCreated string
    The date and time the scheduled task was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the scheduled task was last updated, in the format defined by RFC3339.
    WorkRequestId string
    most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
    Actions []GetNamespaceScheduledTaskAction
    Action for scheduled task.
    CompartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    Description for this resource.
    DisplayName 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.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the data plane resource.
    Kind string
    Discriminator.
    Namespace string
    The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
    NumOccurrences string
    Number of execution occurrences.
    SavedSearchId string
    The ManagementSavedSearch id [OCID] utilized in the action.
    ScheduledTaskId string
    Schedules []GetNamespaceScheduledTaskSchedule
    Schedules.
    State string
    The current state of the scheduled task.
    TaskStatus string
    Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
    TaskType string
    Task type.
    TimeCreated string
    The date and time the scheduled task was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the scheduled task was last updated, in the format defined by RFC3339.
    WorkRequestId string
    most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
    actions List<GetNamespaceScheduledTaskAction>
    Action for scheduled task.
    compartmentId String
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    Description for this resource.
    displayName 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.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the data plane resource.
    kind String
    Discriminator.
    namespace String
    The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
    numOccurrences String
    Number of execution occurrences.
    savedSearchId String
    The ManagementSavedSearch id [OCID] utilized in the action.
    scheduledTaskId String
    schedules List<GetNamespaceScheduledTaskSchedule>
    Schedules.
    state String
    The current state of the scheduled task.
    taskStatus String
    Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
    taskType String
    Task type.
    timeCreated String
    The date and time the scheduled task was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the scheduled task was last updated, in the format defined by RFC3339.
    workRequestId String
    most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
    actions GetNamespaceScheduledTaskAction[]
    Action for scheduled task.
    compartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    Description for this resource.
    displayName 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.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The OCID of the data plane resource.
    kind string
    Discriminator.
    namespace string
    The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
    numOccurrences string
    Number of execution occurrences.
    savedSearchId string
    The ManagementSavedSearch id [OCID] utilized in the action.
    scheduledTaskId string
    schedules GetNamespaceScheduledTaskSchedule[]
    Schedules.
    state string
    The current state of the scheduled task.
    taskStatus string
    Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
    taskType string
    Task type.
    timeCreated string
    The date and time the scheduled task was created, in the format defined by RFC3339.
    timeUpdated string
    The date and time the scheduled task was last updated, in the format defined by RFC3339.
    workRequestId string
    most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
    actions Sequence[GetNamespaceScheduledTaskAction]
    Action for scheduled task.
    compartment_id str
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    Description for this resource.
    display_name str
    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.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The OCID of the data plane resource.
    kind str
    Discriminator.
    namespace str
    The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
    num_occurrences str
    Number of execution occurrences.
    saved_search_id str
    The ManagementSavedSearch id [OCID] utilized in the action.
    scheduled_task_id str
    schedules Sequence[GetNamespaceScheduledTaskSchedule]
    Schedules.
    state str
    The current state of the scheduled task.
    task_status str
    Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
    task_type str
    Task type.
    time_created str
    The date and time the scheduled task was created, in the format defined by RFC3339.
    time_updated str
    The date and time the scheduled task was last updated, in the format defined by RFC3339.
    work_request_id str
    most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
    actions List<Property Map>
    Action for scheduled task.
    compartmentId String
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    Description for this resource.
    displayName 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.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the data plane resource.
    kind String
    Discriminator.
    namespace String
    The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
    numOccurrences String
    Number of execution occurrences.
    savedSearchId String
    The ManagementSavedSearch id [OCID] utilized in the action.
    scheduledTaskId String
    schedules List<Property Map>
    Schedules.
    state String
    The current state of the scheduled task.
    taskStatus String
    Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
    taskType String
    Task type.
    timeCreated String
    The date and time the scheduled task was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the scheduled task was last updated, in the format defined by RFC3339.
    workRequestId String
    most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.

    Supporting Types

    GetNamespaceScheduledTaskAction

    CompartmentIdInSubtree bool
    if true, purge child compartments data
    DataType string
    the type of the log data to be purged
    MetricExtractions List<GetNamespaceScheduledTaskActionMetricExtraction>
    Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
    PurgeCompartmentId string
    the compartment OCID under which the data will be purged
    PurgeDuration string
    The duration of data to be retained, which is used to calculate the timeDataEnded when the task fires. The value should be negative. Purge duration in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. -P365D (not -P1Y) or -P14D (not -P2W).
    QueryString string
    Purge query string.
    SavedSearchId string
    The ManagementSavedSearch id [OCID] utilized in the action.
    TemplateDetails List<GetNamespaceScheduledTaskActionTemplateDetail>
    details for scheduled task using template
    Type string
    Schedule type discriminator.
    CompartmentIdInSubtree bool
    if true, purge child compartments data
    DataType string
    the type of the log data to be purged
    MetricExtractions []GetNamespaceScheduledTaskActionMetricExtraction
    Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
    PurgeCompartmentId string
    the compartment OCID under which the data will be purged
    PurgeDuration string
    The duration of data to be retained, which is used to calculate the timeDataEnded when the task fires. The value should be negative. Purge duration in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. -P365D (not -P1Y) or -P14D (not -P2W).
    QueryString string
    Purge query string.
    SavedSearchId string
    The ManagementSavedSearch id [OCID] utilized in the action.
    TemplateDetails []GetNamespaceScheduledTaskActionTemplateDetail
    details for scheduled task using template
    Type string
    Schedule type discriminator.
    compartmentIdInSubtree Boolean
    if true, purge child compartments data
    dataType String
    the type of the log data to be purged
    metricExtractions List<GetNamespaceScheduledTaskActionMetricExtraction>
    Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
    purgeCompartmentId String
    the compartment OCID under which the data will be purged
    purgeDuration String
    The duration of data to be retained, which is used to calculate the timeDataEnded when the task fires. The value should be negative. Purge duration in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. -P365D (not -P1Y) or -P14D (not -P2W).
    queryString String
    Purge query string.
    savedSearchId String
    The ManagementSavedSearch id [OCID] utilized in the action.
    templateDetails List<GetNamespaceScheduledTaskActionTemplateDetail>
    details for scheduled task using template
    type String
    Schedule type discriminator.
    compartmentIdInSubtree boolean
    if true, purge child compartments data
    dataType string
    the type of the log data to be purged
    metricExtractions GetNamespaceScheduledTaskActionMetricExtraction[]
    Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
    purgeCompartmentId string
    the compartment OCID under which the data will be purged
    purgeDuration string
    The duration of data to be retained, which is used to calculate the timeDataEnded when the task fires. The value should be negative. Purge duration in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. -P365D (not -P1Y) or -P14D (not -P2W).
    queryString string
    Purge query string.
    savedSearchId string
    The ManagementSavedSearch id [OCID] utilized in the action.
    templateDetails GetNamespaceScheduledTaskActionTemplateDetail[]
    details for scheduled task using template
    type string
    Schedule type discriminator.
    compartment_id_in_subtree bool
    if true, purge child compartments data
    data_type str
    the type of the log data to be purged
    metric_extractions Sequence[GetNamespaceScheduledTaskActionMetricExtraction]
    Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
    purge_compartment_id str
    the compartment OCID under which the data will be purged
    purge_duration str
    The duration of data to be retained, which is used to calculate the timeDataEnded when the task fires. The value should be negative. Purge duration in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. -P365D (not -P1Y) or -P14D (not -P2W).
    query_string str
    Purge query string.
    saved_search_id str
    The ManagementSavedSearch id [OCID] utilized in the action.
    template_details Sequence[GetNamespaceScheduledTaskActionTemplateDetail]
    details for scheduled task using template
    type str
    Schedule type discriminator.
    compartmentIdInSubtree Boolean
    if true, purge child compartments data
    dataType String
    the type of the log data to be purged
    metricExtractions List<Property Map>
    Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
    purgeCompartmentId String
    the compartment OCID under which the data will be purged
    purgeDuration String
    The duration of data to be retained, which is used to calculate the timeDataEnded when the task fires. The value should be negative. Purge duration in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. -P365D (not -P1Y) or -P14D (not -P2W).
    queryString String
    Purge query string.
    savedSearchId String
    The ManagementSavedSearch id [OCID] utilized in the action.
    templateDetails List<Property Map>
    details for scheduled task using template
    type String
    Schedule type discriminator.

    GetNamespaceScheduledTaskActionMetricExtraction

    CompartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    MetricCollections List<GetNamespaceScheduledTaskActionMetricExtractionMetricCollection>
    Details for the metrics to be collected.
    MetricName string
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    Namespace string
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    ResourceGroup string
    The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    CompartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    MetricCollections []GetNamespaceScheduledTaskActionMetricExtractionMetricCollection
    Details for the metrics to be collected.
    MetricName string
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    Namespace string
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    ResourceGroup string
    The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    compartmentId String
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    metricCollections List<GetNamespaceScheduledTaskActionMetricExtractionMetricCollection>
    Details for the metrics to be collected.
    metricName String
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    namespace String
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    resourceGroup String
    The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    compartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    metricCollections GetNamespaceScheduledTaskActionMetricExtractionMetricCollection[]
    Details for the metrics to be collected.
    metricName string
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    namespace string
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    resourceGroup string
    The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    compartment_id str
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    metric_collections Sequence[GetNamespaceScheduledTaskActionMetricExtractionMetricCollection]
    Details for the metrics to be collected.
    metric_name str
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    namespace str
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    resource_group str
    The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    compartmentId String
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    metricCollections List<Property Map>
    Details for the metrics to be collected.
    metricName String
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    namespace String
    The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
    resourceGroup String
    The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).

    GetNamespaceScheduledTaskActionMetricExtractionMetricCollection

    Dimensions List<GetNamespaceScheduledTaskActionMetricExtractionMetricCollectionDimension>
    Selected dimension fields for the metric collection.
    MetricName string
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    MetricQueryFieldName string
    Output field in the query to be used as the metric value.
    QueryTableName string
    Output table in the query.
    Dimensions []GetNamespaceScheduledTaskActionMetricExtractionMetricCollectionDimension
    Selected dimension fields for the metric collection.
    MetricName string
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    MetricQueryFieldName string
    Output field in the query to be used as the metric value.
    QueryTableName string
    Output table in the query.
    dimensions List<GetNamespaceScheduledTaskActionMetricExtractionMetricCollectionDimension>
    Selected dimension fields for the metric collection.
    metricName String
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    metricQueryFieldName String
    Output field in the query to be used as the metric value.
    queryTableName String
    Output table in the query.
    dimensions GetNamespaceScheduledTaskActionMetricExtractionMetricCollectionDimension[]
    Selected dimension fields for the metric collection.
    metricName string
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    metricQueryFieldName string
    Output field in the query to be used as the metric value.
    queryTableName string
    Output table in the query.
    dimensions Sequence[GetNamespaceScheduledTaskActionMetricExtractionMetricCollectionDimension]
    Selected dimension fields for the metric collection.
    metric_name str
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    metric_query_field_name str
    Output field in the query to be used as the metric value.
    query_table_name str
    Output table in the query.
    dimensions List<Property Map>
    Selected dimension fields for the metric collection.
    metricName String
    The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
    metricQueryFieldName String
    Output field in the query to be used as the metric value.
    queryTableName String
    Output table in the query.

    GetNamespaceScheduledTaskActionMetricExtractionMetricCollectionDimension

    DimensionName string
    Dimension name to be stored with the metric.
    QueryFieldName string
    Output field in the query to be used as the source for the metric dimension.
    DimensionName string
    Dimension name to be stored with the metric.
    QueryFieldName string
    Output field in the query to be used as the source for the metric dimension.
    dimensionName String
    Dimension name to be stored with the metric.
    queryFieldName String
    Output field in the query to be used as the source for the metric dimension.
    dimensionName string
    Dimension name to be stored with the metric.
    queryFieldName string
    Output field in the query to be used as the source for the metric dimension.
    dimension_name str
    Dimension name to be stored with the metric.
    query_field_name str
    Output field in the query to be used as the source for the metric dimension.
    dimensionName String
    Dimension name to be stored with the metric.
    queryFieldName String
    Output field in the query to be used as the source for the metric dimension.

    GetNamespaceScheduledTaskActionTemplateDetail

    TemplateId string
    The Config template Id of a particular template.
    TemplateParams List<GetNamespaceScheduledTaskActionTemplateDetailTemplateParam>
    To store macro params.
    TemplateId string
    The Config template Id of a particular template.
    TemplateParams []GetNamespaceScheduledTaskActionTemplateDetailTemplateParam
    To store macro params.
    templateId String
    The Config template Id of a particular template.
    templateParams List<GetNamespaceScheduledTaskActionTemplateDetailTemplateParam>
    To store macro params.
    templateId string
    The Config template Id of a particular template.
    templateParams GetNamespaceScheduledTaskActionTemplateDetailTemplateParam[]
    To store macro params.
    template_id str
    The Config template Id of a particular template.
    template_params Sequence[GetNamespaceScheduledTaskActionTemplateDetailTemplateParam]
    To store macro params.
    templateId String
    The Config template Id of a particular template.
    templateParams List<Property Map>
    To store macro params.

    GetNamespaceScheduledTaskActionTemplateDetailTemplateParam

    KeyField string
    Contains macro parameter's names.
    ValueField string
    Contains macro parameter's value.
    KeyField string
    Contains macro parameter's names.
    ValueField string
    Contains macro parameter's value.
    keyField String
    Contains macro parameter's names.
    valueField String
    Contains macro parameter's value.
    keyField string
    Contains macro parameter's names.
    valueField string
    Contains macro parameter's value.
    key_field str
    Contains macro parameter's names.
    value_field str
    Contains macro parameter's value.
    keyField String
    Contains macro parameter's names.
    valueField String
    Contains macro parameter's value.

    GetNamespaceScheduledTaskSchedule

    GetNamespaceScheduledTaskScheduleSchedule

    Expression string
    Value in cron format.
    MisfirePolicy string
    Schedule misfire retry policy.
    QueryOffsetSecs int
    Number of seconds to offset the query time window by to accommodate capture late arriving data. For example, a schedule run at 12:00 with a 10 minute interval and queryOffsetSecs=120 will use the query time window of 11:48-11:58 rather than 11:50-12:00 without queryOffsetSecs.
    RecurringInterval string
    Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M).
    RepeatCount int
    Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
    TimeEnd string
    End time for the schedule, even if the schedule would otherwise have remaining executions.
    TimeZone string
    Time zone, by default UTC.
    Type string
    Schedule type discriminator.
    Expression string
    Value in cron format.
    MisfirePolicy string
    Schedule misfire retry policy.
    QueryOffsetSecs int
    Number of seconds to offset the query time window by to accommodate capture late arriving data. For example, a schedule run at 12:00 with a 10 minute interval and queryOffsetSecs=120 will use the query time window of 11:48-11:58 rather than 11:50-12:00 without queryOffsetSecs.
    RecurringInterval string
    Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M).
    RepeatCount int
    Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
    TimeEnd string
    End time for the schedule, even if the schedule would otherwise have remaining executions.
    TimeZone string
    Time zone, by default UTC.
    Type string
    Schedule type discriminator.
    expression String
    Value in cron format.
    misfirePolicy String
    Schedule misfire retry policy.
    queryOffsetSecs Integer
    Number of seconds to offset the query time window by to accommodate capture late arriving data. For example, a schedule run at 12:00 with a 10 minute interval and queryOffsetSecs=120 will use the query time window of 11:48-11:58 rather than 11:50-12:00 without queryOffsetSecs.
    recurringInterval String
    Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M).
    repeatCount Integer
    Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
    timeEnd String
    End time for the schedule, even if the schedule would otherwise have remaining executions.
    timeZone String
    Time zone, by default UTC.
    type String
    Schedule type discriminator.
    expression string
    Value in cron format.
    misfirePolicy string
    Schedule misfire retry policy.
    queryOffsetSecs number
    Number of seconds to offset the query time window by to accommodate capture late arriving data. For example, a schedule run at 12:00 with a 10 minute interval and queryOffsetSecs=120 will use the query time window of 11:48-11:58 rather than 11:50-12:00 without queryOffsetSecs.
    recurringInterval string
    Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M).
    repeatCount number
    Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
    timeEnd string
    End time for the schedule, even if the schedule would otherwise have remaining executions.
    timeZone string
    Time zone, by default UTC.
    type string
    Schedule type discriminator.
    expression str
    Value in cron format.
    misfire_policy str
    Schedule misfire retry policy.
    query_offset_secs int
    Number of seconds to offset the query time window by to accommodate capture late arriving data. For example, a schedule run at 12:00 with a 10 minute interval and queryOffsetSecs=120 will use the query time window of 11:48-11:58 rather than 11:50-12:00 without queryOffsetSecs.
    recurring_interval str
    Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M).
    repeat_count int
    Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
    time_end str
    End time for the schedule, even if the schedule would otherwise have remaining executions.
    time_zone str
    Time zone, by default UTC.
    type str
    Schedule type discriminator.
    expression String
    Value in cron format.
    misfirePolicy String
    Schedule misfire retry policy.
    queryOffsetSecs Number
    Number of seconds to offset the query time window by to accommodate capture late arriving data. For example, a schedule run at 12:00 with a 10 minute interval and queryOffsetSecs=120 will use the query time window of 11:48-11:58 rather than 11:50-12:00 without queryOffsetSecs.
    recurringInterval String
    Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M).
    repeatCount Number
    Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
    timeEnd String
    End time for the schedule, even if the schedule would otherwise have remaining executions.
    timeZone String
    Time zone, by default UTC.
    type String
    Schedule type discriminator.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.2.0
    published on Friday, Mar 6, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.