1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LogAnalytics
  5. getNamespaceScheduledTask
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.LogAnalytics.getNamespaceScheduledTask

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 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,
});
Copy
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"])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testNamespaceScheduledTask:
    fn::invoke:
      function: oci:LogAnalytics:getNamespaceScheduledTask
      arguments:
        namespace: ${namespaceScheduledTaskNamespace}
        scheduledTaskId: ${testScheduledTask.id}
Copy

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>
Copy
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]
Copy
func GetNamespaceScheduledTask(ctx *Context, args *GetNamespaceScheduledTaskArgs, opts ...InvokeOption) (*GetNamespaceScheduledTaskResult, error)
func GetNamespaceScheduledTaskOutput(ctx *Context, args *GetNamespaceScheduledTaskOutputArgs, opts ...InvokeOption) GetNamespaceScheduledTaskResultOutput
Copy

> Note: This function is named GetNamespaceScheduledTask 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)
}
Copy
public static CompletableFuture<GetNamespaceScheduledTaskResult> getNamespaceScheduledTask(GetNamespaceScheduledTaskArgs args, InvokeOptions options)
public static Output<GetNamespaceScheduledTaskResult> getNamespaceScheduledTask(GetNamespaceScheduledTaskArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:LogAnalytics/getNamespaceScheduledTask:getNamespaceScheduledTask
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Namespace This property is required. string
The Logging Analytics namespace used for the request.
ScheduledTaskId This property is required. string
Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
Namespace This property is required. string
The Logging Analytics namespace used for the request.
ScheduledTaskId This property is required. string
Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
namespace This property is required. String
The Logging Analytics namespace used for the request.
scheduledTaskId This property is required. String
Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
namespace This property is required. string
The Logging Analytics namespace used for the request.
scheduledTaskId This property is required. string
Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
namespace This property is required. str
The Logging Analytics namespace used for the request.
scheduled_task_id This property is required. str
Unique scheduledTask id returned from task create. If invalid will lead to a 404 not found.
namespace This property is required. String
The Logging Analytics namespace used for the request.
scheduledTaskId This property is required. 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"}
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
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"}
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
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"}
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
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"}
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
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[loganalytics.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"}
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[loganalytics.GetNamespaceScheduledTaskSchedule]
Schedules.
state str
The current state of the scheduled task.
task_status str
Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
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"}
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
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 This property is required. bool
if true, purge child compartments data
DataType This property is required. string
the type of the log data to be purged
MetricExtractions This property is required. List<GetNamespaceScheduledTaskActionMetricExtraction>
Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
PurgeCompartmentId This property is required. string
the compartment OCID under which the data will be purged
PurgeDuration This property is required. 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 This property is required. string
Purge query string.
SavedSearchId This property is required. string
The ManagementSavedSearch id [OCID] utilized in the action.
Type This property is required. string
Schedule type discriminator.
CompartmentIdInSubtree This property is required. bool
if true, purge child compartments data
DataType This property is required. string
the type of the log data to be purged
MetricExtractions This property is required. []GetNamespaceScheduledTaskActionMetricExtraction
Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
PurgeCompartmentId This property is required. string
the compartment OCID under which the data will be purged
PurgeDuration This property is required. 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 This property is required. string
Purge query string.
SavedSearchId This property is required. string
The ManagementSavedSearch id [OCID] utilized in the action.
Type This property is required. string
Schedule type discriminator.
compartmentIdInSubtree This property is required. Boolean
if true, purge child compartments data
dataType This property is required. String
the type of the log data to be purged
metricExtractions This property is required. List<GetNamespaceScheduledTaskActionMetricExtraction>
Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
purgeCompartmentId This property is required. String
the compartment OCID under which the data will be purged
purgeDuration This property is required. 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 This property is required. String
Purge query string.
savedSearchId This property is required. String
The ManagementSavedSearch id [OCID] utilized in the action.
type This property is required. String
Schedule type discriminator.
compartmentIdInSubtree This property is required. boolean
if true, purge child compartments data
dataType This property is required. string
the type of the log data to be purged
metricExtractions This property is required. GetNamespaceScheduledTaskActionMetricExtraction[]
Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
purgeCompartmentId This property is required. string
the compartment OCID under which the data will be purged
purgeDuration This property is required. 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 This property is required. string
Purge query string.
savedSearchId This property is required. string
The ManagementSavedSearch id [OCID] utilized in the action.
type This property is required. string
Schedule type discriminator.
compartment_id_in_subtree This property is required. bool
if true, purge child compartments data
data_type This property is required. str
the type of the log data to be purged
metric_extractions This property is required. Sequence[loganalytics.GetNamespaceScheduledTaskActionMetricExtraction]
Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
purge_compartment_id This property is required. str
the compartment OCID under which the data will be purged
purge_duration This property is required. 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 This property is required. str
Purge query string.
saved_search_id This property is required. str
The ManagementSavedSearch id [OCID] utilized in the action.
type This property is required. str
Schedule type discriminator.
compartmentIdInSubtree This property is required. Boolean
if true, purge child compartments data
dataType This property is required. String
the type of the log data to be purged
metricExtractions This property is required. List<Property Map>
Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
purgeCompartmentId This property is required. String
the compartment OCID under which the data will be purged
purgeDuration This property is required. 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 This property is required. String
Purge query string.
savedSearchId This property is required. String
The ManagementSavedSearch id [OCID] utilized in the action.
type This property is required. String
Schedule type discriminator.

GetNamespaceScheduledTaskActionMetricExtraction

CompartmentId This property is required. string
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
MetricName This property is required. 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 This property is required. string
The Logging Analytics namespace used for the request.
ResourceGroup This property is required. 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 This property is required. string
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
MetricName This property is required. 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 This property is required. string
The Logging Analytics namespace used for the request.
ResourceGroup This property is required. 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 This property is required. String
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
metricName This property is required. 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 This property is required. String
The Logging Analytics namespace used for the request.
resourceGroup This property is required. 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 This property is required. string
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
metricName This property is required. 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 This property is required. string
The Logging Analytics namespace used for the request.
resourceGroup This property is required. 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 This property is required. str
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
metric_name This property is required. 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 This property is required. str
The Logging Analytics namespace used for the request.
resource_group This property is required. 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 This property is required. String
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
metricName This property is required. 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 This property is required. String
The Logging Analytics namespace used for the request.
resourceGroup This property is required. 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 ($).

GetNamespaceScheduledTaskSchedule

schedules This property is required. List<Property Map>

GetNamespaceScheduledTaskScheduleSchedule

Expression This property is required. string
Value in cron format.
MisfirePolicy This property is required. string
Schedule misfire retry policy.
RecurringInterval This property is required. 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 This property is required. int
Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
TimeZone This property is required. string
Time zone, by default UTC.
Type This property is required. string
Schedule type discriminator.
Expression This property is required. string
Value in cron format.
MisfirePolicy This property is required. string
Schedule misfire retry policy.
RecurringInterval This property is required. 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 This property is required. int
Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
TimeZone This property is required. string
Time zone, by default UTC.
Type This property is required. string
Schedule type discriminator.
expression This property is required. String
Value in cron format.
misfirePolicy This property is required. String
Schedule misfire retry policy.
recurringInterval This property is required. 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 This property is required. Integer
Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
timeZone This property is required. String
Time zone, by default UTC.
type This property is required. String
Schedule type discriminator.
expression This property is required. string
Value in cron format.
misfirePolicy This property is required. string
Schedule misfire retry policy.
recurringInterval This property is required. 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 This property is required. number
Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
timeZone This property is required. string
Time zone, by default UTC.
type This property is required. string
Schedule type discriminator.
expression This property is required. str
Value in cron format.
misfire_policy This property is required. str
Schedule misfire retry policy.
recurring_interval This property is required. 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 This property is required. int
Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
time_zone This property is required. str
Time zone, by default UTC.
type This property is required. str
Schedule type discriminator.
expression This property is required. String
Value in cron format.
misfirePolicy This property is required. String
Schedule misfire retry policy.
recurringInterval This property is required. 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 This property is required. Number
Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
timeZone This property is required. String
Time zone, by default UTC.
type This property is required. 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.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi