Viewing docs for Oracle Cloud Infrastructure v4.3.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.3.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
This data source provides the list of Namespace Scheduled Tasks in Oracle Cloud Infrastructure Log Analytics service.
Lists scheduled tasks.
Example Usage
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,
});
import pulumi
import pulumi_oci as oci
test_namespace_scheduled_tasks = oci.LogAnalytics.get_namespace_scheduled_tasks(compartment_id=compartment_id,
namespace=namespace_scheduled_task_namespace,
display_name=namespace_scheduled_task_display_name,
target_service=namespace_scheduled_task_target_service,
task_type=namespace_scheduled_task_task_type,
template_id=test_template["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.GetNamespaceScheduledTasks(ctx, &loganalytics.GetNamespaceScheduledTasksArgs{
CompartmentId: compartmentId,
Namespace: namespaceScheduledTaskNamespace,
DisplayName: pulumi.StringRef(namespaceScheduledTaskDisplayName),
TargetService: pulumi.StringRef(namespaceScheduledTaskTargetService),
TaskType: namespaceScheduledTaskTaskType,
TemplateId: pulumi.StringRef(testTemplate.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 testNamespaceScheduledTasks = Oci.LogAnalytics.GetNamespaceScheduledTasks.Invoke(new()
{
CompartmentId = compartmentId,
Namespace = namespaceScheduledTaskNamespace,
DisplayName = namespaceScheduledTaskDisplayName,
TargetService = namespaceScheduledTaskTargetService,
TaskType = namespaceScheduledTaskTaskType,
TemplateId = testTemplate.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.GetNamespaceScheduledTasksArgs;
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 testNamespaceScheduledTasks = LogAnalyticsFunctions.getNamespaceScheduledTasks(GetNamespaceScheduledTasksArgs.builder()
.compartmentId(compartmentId)
.namespace(namespaceScheduledTaskNamespace)
.displayName(namespaceScheduledTaskDisplayName)
.targetService(namespaceScheduledTaskTargetService)
.taskType(namespaceScheduledTaskTaskType)
.templateId(testTemplate.id())
.build());
}
}
variables:
testNamespaceScheduledTasks:
fn::invoke:
function: oci:LogAnalytics:getNamespaceScheduledTasks
arguments:
compartmentId: ${compartmentId}
namespace: ${namespaceScheduledTaskNamespace}
displayName: ${namespaceScheduledTaskDisplayName}
targetService: ${namespaceScheduledTaskTargetService}
taskType: ${namespaceScheduledTaskTaskType}
templateId: ${testTemplate.id}
Using getNamespaceScheduledTasks
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 getNamespaceScheduledTasks(args: GetNamespaceScheduledTasksArgs, opts?: InvokeOptions): Promise<GetNamespaceScheduledTasksResult>
function getNamespaceScheduledTasksOutput(args: GetNamespaceScheduledTasksOutputArgs, opts?: InvokeOptions): Output<GetNamespaceScheduledTasksResult>def get_namespace_scheduled_tasks(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetNamespaceScheduledTasksFilter]] = None,
namespace: Optional[str] = None,
target_service: Optional[str] = None,
task_type: Optional[str] = None,
template_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNamespaceScheduledTasksResult
def get_namespace_scheduled_tasks_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNamespaceScheduledTasksFilterArgs]]]] = None,
namespace: Optional[pulumi.Input[str]] = None,
target_service: Optional[pulumi.Input[str]] = None,
task_type: Optional[pulumi.Input[str]] = None,
template_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceScheduledTasksResult]func GetNamespaceScheduledTasks(ctx *Context, args *GetNamespaceScheduledTasksArgs, opts ...InvokeOption) (*GetNamespaceScheduledTasksResult, error)
func GetNamespaceScheduledTasksOutput(ctx *Context, args *GetNamespaceScheduledTasksOutputArgs, opts ...InvokeOption) GetNamespaceScheduledTasksResultOutput> Note: This function is named GetNamespaceScheduledTasks in the Go SDK.
public static class GetNamespaceScheduledTasks
{
public static Task<GetNamespaceScheduledTasksResult> InvokeAsync(GetNamespaceScheduledTasksArgs args, InvokeOptions? opts = null)
public static Output<GetNamespaceScheduledTasksResult> Invoke(GetNamespaceScheduledTasksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespaceScheduledTasksResult> getNamespaceScheduledTasks(GetNamespaceScheduledTasksArgs args, InvokeOptions options)
public static Output<GetNamespaceScheduledTasksResult> getNamespaceScheduledTasks(GetNamespaceScheduledTasksArgs args, InvokeOptions options)
fn::invoke:
function: oci:LogAnalytics/getNamespaceScheduledTasks:getNamespaceScheduledTasks
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources.
- Namespace string
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- Task
Type string - Required parameter to specify schedule task type.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Namespace Scheduled Tasks Filter> - Target
Service string - The target service to use for filtering.
- Template
Id string - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- Compartment
Id string - The ID of the compartment in which to list resources.
- Namespace string
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- Task
Type string - Required parameter to specify schedule task type.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Namespace Scheduled Tasks Filter - Target
Service string - The target service to use for filtering.
- Template
Id string - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- compartment
Id String - The ID of the compartment in which to list resources.
- namespace String
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- task
Type String - Required parameter to specify schedule task type.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Namespace Scheduled Tasks Filter> - target
Service String - The target service to use for filtering.
- template
Id String - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- compartment
Id string - The ID of the compartment in which to list resources.
- namespace string
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- task
Type string - Required parameter to specify schedule task type.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Namespace Scheduled Tasks Filter[] - target
Service string - The target service to use for filtering.
- template
Id string - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- compartment_
id str - The ID of the compartment in which to list resources.
- namespace str
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- task_
type str - Required parameter to specify schedule task type.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Namespace Scheduled Tasks Filter] - target_
service str - The target service to use for filtering.
- template_
id str - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- compartment
Id String - The ID of the compartment in which to list resources.
- namespace String
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- task
Type String - Required parameter to specify schedule task type.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- target
Service String - The target service to use for filtering.
- template
Id String - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
getNamespaceScheduledTasks Result
The following output properties are available:
- Compartment
Id string - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- Scheduled
Task List<GetCollections Namespace Scheduled Tasks Scheduled Task Collection> - The list of scheduled_task_collection.
- Task
Type string - Task type.
- Display
Name 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.
- Filters
List<Get
Namespace Scheduled Tasks Filter> - Target
Service string - Template
Id string - The Config template Id of a particular template.
- Compartment
Id string - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- Scheduled
Task []GetCollections Namespace Scheduled Tasks Scheduled Task Collection - The list of scheduled_task_collection.
- Task
Type string - Task type.
- Display
Name 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.
- Filters
[]Get
Namespace Scheduled Tasks Filter - Target
Service string - Template
Id string - The Config template Id of a particular template.
- compartment
Id String - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- scheduled
Task List<GetCollections Namespace Scheduled Tasks Scheduled Task Collection> - The list of scheduled_task_collection.
- task
Type String - Task type.
- display
Name 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.
- filters
List<Get
Namespace Scheduled Tasks Filter> - target
Service String - template
Id String - The Config template Id of a particular template.
- compartment
Id string - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- scheduled
Task GetCollections Namespace Scheduled Tasks Scheduled Task Collection[] - The list of scheduled_task_collection.
- task
Type string - Task type.
- display
Name 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.
- filters
Get
Namespace Scheduled Tasks Filter[] - target
Service string - template
Id string - The Config template Id of a particular template.
- compartment_
id str - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- scheduled_
task_ Sequence[Getcollections Namespace Scheduled Tasks Scheduled Task Collection] - The list of scheduled_task_collection.
- task_
type str - Task type.
- 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.
- filters
Sequence[Get
Namespace Scheduled Tasks Filter] - target_
service str - template_
id str - The Config template Id of a particular template.
- compartment
Id String - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- scheduled
Task List<Property Map>Collections - The list of scheduled_task_collection.
- task
Type String - Task type.
- display
Name 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.
- filters List<Property Map>
- target
Service String - template
Id String - The Config template Id of a particular template.
Supporting Types
GetNamespaceScheduledTasksFilter
GetNamespaceScheduledTasksScheduledTaskCollection
GetNamespaceScheduledTasksScheduledTaskCollectionItem
- Actions
List<Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action> - Action for scheduled task.
- Compartment
Id string - The ID of the compartment in which to list resources.
- 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.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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
- Namespace string
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- Num
Occurrences string - Number of execution occurrences.
- Saved
Search stringId - The ManagementSavedSearch id [OCID] utilized in the action.
- Scheduled
Task stringId - Schedules
List<Get
Namespace Scheduled Tasks Scheduled Task Collection Item Schedule> - Schedules.
- State string
- The current state of the scheduled task.
- Task
Status string - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
- Task
Type string - Required parameter to specify schedule task type.
- Time
Created string - The date and time the scheduled task was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the scheduled task was last updated, in the format defined by RFC3339.
- Work
Request stringId - most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
- Actions
[]Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action - Action for scheduled task.
- Compartment
Id string - The ID of the compartment in which to list resources.
- 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.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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
- Namespace string
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- Num
Occurrences string - Number of execution occurrences.
- Saved
Search stringId - The ManagementSavedSearch id [OCID] utilized in the action.
- Scheduled
Task stringId - Schedules
[]Get
Namespace Scheduled Tasks Scheduled Task Collection Item Schedule - Schedules.
- State string
- The current state of the scheduled task.
- Task
Status string - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
- Task
Type string - Required parameter to specify schedule task type.
- Time
Created string - The date and time the scheduled task was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the scheduled task was last updated, in the format defined by RFC3339.
- Work
Request stringId - most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
- actions
List<Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action> - Action for scheduled task.
- compartment
Id String - The ID of the compartment in which to list resources.
- 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.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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
- namespace String
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- num
Occurrences String - Number of execution occurrences.
- saved
Search StringId - The ManagementSavedSearch id [OCID] utilized in the action.
- scheduled
Task StringId - schedules
List<Get
Namespace Scheduled Tasks Scheduled Task Collection Item Schedule> - Schedules.
- state String
- The current state of the scheduled task.
- task
Status String - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
- task
Type String - Required parameter to specify schedule task type.
- time
Created String - The date and time the scheduled task was created, in the format defined by RFC3339.
- time
Updated String - The date and time the scheduled task was last updated, in the format defined by RFC3339.
- work
Request StringId - most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
- actions
Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action[] - Action for scheduled task.
- compartment
Id string - The ID of the compartment in which to list resources.
- {[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.
- display
Name string - A filter to return only resources that match the given display name exactly.
- {[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
- namespace string
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- num
Occurrences string - Number of execution occurrences.
- saved
Search stringId - The ManagementSavedSearch id [OCID] utilized in the action.
- scheduled
Task stringId - schedules
Get
Namespace Scheduled Tasks Scheduled Task Collection Item Schedule[] - Schedules.
- state string
- The current state of the scheduled task.
- task
Status string - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
- task
Type string - Required parameter to specify schedule task type.
- time
Created string - The date and time the scheduled task was created, in the format defined by RFC3339.
- time
Updated string - The date and time the scheduled task was last updated, in the format defined by RFC3339.
- work
Request stringId - most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
- actions
Sequence[Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action] - Action for scheduled task.
- compartment_
id str - The ID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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
- namespace str
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- num_
occurrences str - Number of execution occurrences.
- saved_
search_ strid - The ManagementSavedSearch id [OCID] utilized in the action.
- scheduled_
task_ strid - schedules
Sequence[Get
Namespace Scheduled Tasks Scheduled Task Collection Item Schedule] - 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 - Required parameter to specify schedule 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_ strid - 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.
- compartment
Id String - The ID of the compartment in which to list resources.
- 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.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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
- namespace String
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- num
Occurrences String - Number of execution occurrences.
- saved
Search StringId - The ManagementSavedSearch id [OCID] utilized in the action.
- scheduled
Task StringId - schedules List<Property Map>
- Schedules.
- state String
- The current state of the scheduled task.
- task
Status String - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND - LIMIT_EXCEEDED
- task
Type String - Required parameter to specify schedule task type.
- time
Created String - The date and time the scheduled task was created, in the format defined by RFC3339.
- time
Updated String - The date and time the scheduled task was last updated, in the format defined by RFC3339.
- work
Request StringId - most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
GetNamespaceScheduledTasksScheduledTaskCollectionItemAction
- Compartment
Id boolIn Subtree - if true, purge child compartments data
- Data
Type string - the type of the log data to be purged
- Metric
Extractions List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction> - Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
- Purge
Compartment stringId - the compartment OCID under which the data will be purged
- Purge
Duration 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).
- Query
String string - Purge query string.
- Saved
Search stringId - The ManagementSavedSearch id [OCID] utilized in the action.
- Template
Details List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail> - details for scheduled task using template
- Type string
- Schedule type discriminator.
- Compartment
Id boolIn Subtree - if true, purge child compartments data
- Data
Type string - the type of the log data to be purged
- Metric
Extractions []GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction - Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
- Purge
Compartment stringId - the compartment OCID under which the data will be purged
- Purge
Duration 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).
- Query
String string - Purge query string.
- Saved
Search stringId - The ManagementSavedSearch id [OCID] utilized in the action.
- Template
Details []GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail - details for scheduled task using template
- Type string
- Schedule type discriminator.
- compartment
Id BooleanIn Subtree - if true, purge child compartments data
- data
Type String - the type of the log data to be purged
- metric
Extractions List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction> - Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
- purge
Compartment StringId - the compartment OCID under which the data will be purged
- purge
Duration 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).
- query
String String - Purge query string.
- saved
Search StringId - The ManagementSavedSearch id [OCID] utilized in the action.
- template
Details List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail> - details for scheduled task using template
- type String
- Schedule type discriminator.
- compartment
Id booleanIn Subtree - if true, purge child compartments data
- data
Type string - the type of the log data to be purged
- metric
Extractions GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction[] - Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
- purge
Compartment stringId - the compartment OCID under which the data will be purged
- purge
Duration 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).
- query
String string - Purge query string.
- saved
Search stringId - The ManagementSavedSearch id [OCID] utilized in the action.
- template
Details GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail[] - details for scheduled task using template
- type string
- Schedule type discriminator.
- compartment_
id_ boolin_ subtree - if true, purge child compartments data
- data_
type str - the type of the log data to be purged
- metric_
extractions Sequence[GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction] - Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
- purge_
compartment_ strid - 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_ strid - The ManagementSavedSearch id [OCID] utilized in the action.
- template_
details Sequence[GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail] - details for scheduled task using template
- type str
- Schedule type discriminator.
- compartment
Id BooleanIn Subtree - if true, purge child compartments data
- data
Type String - the type of the log data to be purged
- metric
Extractions List<Property Map> - Specify metric extraction for SAVED_SEARCH scheduled task execution to post to Oracle Cloud Infrastructure Monitoring.
- purge
Compartment StringId - the compartment OCID under which the data will be purged
- purge
Duration 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).
- query
String String - Purge query string.
- saved
Search StringId - The ManagementSavedSearch id [OCID] utilized in the action.
- template
Details List<Property Map> - details for scheduled task using template
- type String
- Schedule type discriminator.
GetNamespaceScheduledTasksScheduledTaskCollectionItemActionMetricExtraction
- Compartment
Id string - The ID of the compartment in which to list resources.
- Metric
Collections List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection> - Details for the metrics to be collected.
- Metric
Name 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'
- Resource
Group string - The resourceGroup 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 string - The ID of the compartment in which to list resources.
- Metric
Collections []GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection - Details for the metrics to be collected.
- Metric
Name 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'
- Resource
Group string - The resourceGroup 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 String - The ID of the compartment in which to list resources.
- metric
Collections List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection> - Details for the metrics to be collected.
- metric
Name 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'
- resource
Group String - The resourceGroup 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 string - The ID of the compartment in which to list resources.
- metric
Collections GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection[] - Details for the metrics to be collected.
- metric
Name 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'
- resource
Group string - The resourceGroup 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 - The ID of the compartment in which to list resources.
- metric_
collections Sequence[GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection] - 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 resourceGroup 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 String - The ID of the compartment in which to list resources.
- metric
Collections List<Property Map> - Details for the metrics to be collected.
- metric
Name 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'
- resource
Group String - The resourceGroup of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
GetNamespaceScheduledTasksScheduledTaskCollectionItemActionMetricExtractionMetricCollection
- Dimensions
List<Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection Dimension> - Selected dimension fields for the metric collection.
- Metric
Name 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 ($).
- Metric
Query stringField Name - Output field in the query to be used as the metric value.
- Query
Table stringName - Output table in the query.
- Dimensions
[]Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection Dimension - Selected dimension fields for the metric collection.
- Metric
Name 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 ($).
- Metric
Query stringField Name - Output field in the query to be used as the metric value.
- Query
Table stringName - Output table in the query.
- dimensions
List<Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection Dimension> - Selected dimension fields for the metric collection.
- metric
Name 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 ($).
- metric
Query StringField Name - Output field in the query to be used as the metric value.
- query
Table StringName - Output table in the query.
- dimensions
Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection Dimension[] - Selected dimension fields for the metric collection.
- metric
Name 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 ($).
- metric
Query stringField Name - Output field in the query to be used as the metric value.
- query
Table stringName - Output table in the query.
- dimensions
Sequence[Get
Namespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction Metric Collection Dimension] - 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_ strfield_ name - Output field in the query to be used as the metric value.
- query_
table_ strname - Output table in the query.
- dimensions List<Property Map>
- Selected dimension fields for the metric collection.
- metric
Name 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 ($).
- metric
Query StringField Name - Output field in the query to be used as the metric value.
- query
Table StringName - Output table in the query.
GetNamespaceScheduledTasksScheduledTaskCollectionItemActionMetricExtractionMetricCollectionDimension
- Dimension
Name string - Dimension name to be stored with the metric.
- Query
Field stringName - Output field in the query to be used as the source for the metric dimension.
- Dimension
Name string - Dimension name to be stored with the metric.
- Query
Field stringName - Output field in the query to be used as the source for the metric dimension.
- dimension
Name String - Dimension name to be stored with the metric.
- query
Field StringName - Output field in the query to be used as the source for the metric dimension.
- dimension
Name string - Dimension name to be stored with the metric.
- query
Field stringName - 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_ strname - Output field in the query to be used as the source for the metric dimension.
- dimension
Name String - Dimension name to be stored with the metric.
- query
Field StringName - Output field in the query to be used as the source for the metric dimension.
GetNamespaceScheduledTasksScheduledTaskCollectionItemActionTemplateDetail
- Template
Id string - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- Template
Params List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail Template Param> - To store macro params.
- Template
Id string - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- Template
Params []GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail Template Param - To store macro params.
- template
Id String - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- template
Params List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail Template Param> - To store macro params.
- template
Id string - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- template
Params GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail Template Param[] - To store macro params.
- template_
id str - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- template_
params Sequence[GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Template Detail Template Param] - To store macro params.
- template
Id String - A filter to return only scheduled tasks whose stream action templateId matches the given id exactly.
- template
Params List<Property Map> - To store macro params.
GetNamespaceScheduledTasksScheduledTaskCollectionItemActionTemplateDetailTemplateParam
- Key
Field string - Contains macro parameter's names.
- Value
Field string - Contains macro parameter's value.
- Key
Field string - Contains macro parameter's names.
- Value
Field string - Contains macro parameter's value.
- key
Field String - Contains macro parameter's names.
- value
Field String - Contains macro parameter's value.
- key
Field string - Contains macro parameter's names.
- value
Field string - Contains macro parameter's value.
- key_
field str - Contains macro parameter's names.
- value_
field str - Contains macro parameter's value.
- key
Field String - Contains macro parameter's names.
- value
Field String - Contains macro parameter's value.
GetNamespaceScheduledTasksScheduledTaskCollectionItemSchedule
GetNamespaceScheduledTasksScheduledTaskCollectionItemScheduleSchedule
- Expression string
- Value in cron format.
- Misfire
Policy string - Schedule misfire retry policy.
- Query
Offset intSecs - 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 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).
- 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 string - End time for the schedule, even if the schedule would otherwise have remaining executions.
- Time
Zone string - Time zone, by default UTC.
- Type string
- Schedule type discriminator.
- Expression string
- Value in cron format.
- Misfire
Policy string - Schedule misfire retry policy.
- Query
Offset intSecs - 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 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).
- 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 string - End time for the schedule, even if the schedule would otherwise have remaining executions.
- Time
Zone string - Time zone, by default UTC.
- Type string
- Schedule type discriminator.
- expression String
- Value in cron format.
- misfire
Policy String - Schedule misfire retry policy.
- query
Offset IntegerSecs - 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 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).
- repeat
Count Integer - Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
- time
End String - End time for the schedule, even if the schedule would otherwise have remaining executions.
- time
Zone String - Time zone, by default UTC.
- type String
- Schedule type discriminator.
- expression string
- Value in cron format.
- misfire
Policy string - Schedule misfire retry policy.
- query
Offset numberSecs - 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 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).
- repeat
Count number - Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
- time
End string - End time for the schedule, even if the schedule would otherwise have remaining executions.
- time
Zone 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_ intsecs - 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.
- misfire
Policy String - Schedule misfire retry policy.
- query
Offset NumberSecs - 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 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).
- repeat
Count Number - Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
- time
End String - End time for the schedule, even if the schedule would otherwise have remaining executions.
- time
Zone 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
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.3.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
