Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.LogAnalytics.getNamespaceScheduledTasks
Explore with Pulumi AI
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,
});
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)
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.GetNamespaceScheduledTasks(ctx, &loganalytics.GetNamespaceScheduledTasksArgs{
			CompartmentId: compartmentId,
			Namespace:     namespaceScheduledTaskNamespace,
			DisplayName:   pulumi.StringRef(namespaceScheduledTaskDisplayName),
			TargetService: pulumi.StringRef(namespaceScheduledTaskTargetService),
			TaskType:      namespaceScheduledTaskTaskType,
		}, 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,
    });
});
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)
            .build());
    }
}
variables:
  testNamespaceScheduledTasks:
    fn::invoke:
      function: oci:LogAnalytics:getNamespaceScheduledTasks
      arguments:
        compartmentId: ${compartmentId}
        namespace: ${namespaceScheduledTaskNamespace}
        displayName: ${namespaceScheduledTaskDisplayName}
        targetService: ${namespaceScheduledTaskTargetService}
        taskType: ${namespaceScheduledTaskTaskType}
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,
                                  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,
                                  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:
- CompartmentId string
- The ID of the compartment in which to list resources.
- Namespace string
- The Logging Analytics namespace used for the request.
- TaskType string
- Required parameter to specify schedule task type.
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- Filters
List<GetNamespace Scheduled Tasks Filter> 
- TargetService string
- The target service to use for filtering.
- CompartmentId string
- The ID of the compartment in which to list resources.
- Namespace string
- The Logging Analytics namespace used for the request.
- TaskType string
- Required parameter to specify schedule task type.
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- Filters
[]GetNamespace Scheduled Tasks Filter 
- TargetService string
- The target service to use for filtering.
- compartmentId String
- The ID of the compartment in which to list resources.
- namespace String
- The Logging Analytics namespace used for the request.
- taskType String
- Required parameter to specify schedule task type.
- displayName String
- A filter to return only resources that match the given display name exactly.
- filters
List<GetNamespace Scheduled Tasks Filter> 
- targetService String
- The target service to use for filtering.
- compartmentId string
- The ID of the compartment in which to list resources.
- namespace string
- The Logging Analytics namespace used for the request.
- taskType string
- Required parameter to specify schedule task type.
- displayName string
- A filter to return only resources that match the given display name exactly.
- filters
GetNamespace Scheduled Tasks Filter[] 
- targetService string
- The target service to use for filtering.
- compartment_id str
- The ID of the compartment in which to list resources.
- namespace str
- The Logging Analytics namespace used for the request.
- 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[GetNamespace Scheduled Tasks Filter] 
- target_service str
- The target service to use for filtering.
- compartmentId String
- The ID of the compartment in which to list resources.
- namespace String
- The Logging Analytics namespace used for the request.
- taskType String
- Required parameter to specify schedule task type.
- displayName String
- A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- targetService String
- The target service to use for filtering.
getNamespaceScheduledTasks Result
The following output properties are available:
- CompartmentId 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
- ScheduledTask List<GetCollections Namespace Scheduled Tasks Scheduled Task Collection> 
- The list of scheduled_task_collection.
- TaskType string
- Task type.
- 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.
- Filters
List<GetNamespace Scheduled Tasks Filter> 
- TargetService string
- CompartmentId 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
- ScheduledTask []GetCollections Namespace Scheduled Tasks Scheduled Task Collection 
- The list of scheduled_task_collection.
- TaskType string
- Task type.
- 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.
- Filters
[]GetNamespace Scheduled Tasks Filter 
- TargetService string
- compartmentId 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
- scheduledTask List<GetCollections Namespace Scheduled Tasks Scheduled Task Collection> 
- The list of scheduled_task_collection.
- taskType String
- Task type.
- 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.
- filters
List<GetNamespace Scheduled Tasks Filter> 
- targetService String
- compartmentId 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
- scheduledTask GetCollections Namespace Scheduled Tasks Scheduled Task Collection[] 
- The list of scheduled_task_collection.
- taskType string
- Task type.
- 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.
- filters
GetNamespace Scheduled Tasks Filter[] 
- targetService string
- 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
- 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[GetNamespace Scheduled Tasks Filter] 
- target_service str
- compartmentId 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
- scheduledTask List<Property Map>Collections 
- The list of scheduled_task_collection.
- taskType String
- Task type.
- 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.
- filters List<Property Map>
- targetService String
Supporting Types
GetNamespaceScheduledTasksFilter    
GetNamespaceScheduledTasksScheduledTaskCollection      
GetNamespaceScheduledTasksScheduledTaskCollectionItem       
- Actions
List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action> 
- Action for scheduled task.
- CompartmentId 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"}
- DisplayName 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 Logging Analytics namespace used for the request.
- NumOccurrences string
- Number of execution occurrences.
- SavedSearch stringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- ScheduledTask stringId 
- Schedules
List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Schedule> 
- Schedules.
- State string
- The current state of the scheduled task.
- TaskStatus string
- Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- TaskType string
- Required parameter to specify schedule 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.
- WorkRequest stringId 
- most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
- Actions
[]GetNamespace Scheduled Tasks Scheduled Task Collection Item Action 
- Action for scheduled task.
- CompartmentId 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"}
- DisplayName 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 Logging Analytics namespace used for the request.
- NumOccurrences string
- Number of execution occurrences.
- SavedSearch stringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- ScheduledTask stringId 
- Schedules
[]GetNamespace Scheduled Tasks Scheduled Task Collection Item Schedule 
- Schedules.
- State string
- The current state of the scheduled task.
- TaskStatus string
- Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- TaskType string
- Required parameter to specify schedule 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.
- WorkRequest stringId 
- most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
- actions
List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action> 
- Action for scheduled task.
- compartmentId 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"}
- displayName 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 Logging Analytics namespace used for the request.
- numOccurrences String
- Number of execution occurrences.
- savedSearch StringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- scheduledTask StringId 
- schedules
List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Schedule> 
- Schedules.
- state String
- The current state of the scheduled task.
- taskStatus String
- Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- taskType String
- Required parameter to specify schedule 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.
- workRequest StringId 
- most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
- actions
GetNamespace Scheduled Tasks Scheduled Task Collection Item Action[] 
- Action for scheduled task.
- compartmentId 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"}
- displayName 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 Logging Analytics namespace used for the request.
- numOccurrences string
- Number of execution occurrences.
- savedSearch stringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- scheduledTask stringId 
- schedules
GetNamespace Scheduled Tasks Scheduled Task Collection Item Schedule[] 
- Schedules.
- state string
- The current state of the scheduled task.
- taskStatus string
- Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- taskType string
- Required parameter to specify schedule 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.
- workRequest stringId 
- most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
- actions
Sequence[GetNamespace 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"}
- 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 Logging Analytics namespace used for the request.
- num_occurrences str
- Number of execution occurrences.
- saved_search_ strid 
- The ManagementSavedSearch id [OCID] utilized in the action.
- scheduled_task_ strid 
- schedules
Sequence[GetNamespace 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
- 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.
- compartmentId 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"}
- displayName 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 Logging Analytics namespace used for the request.
- numOccurrences String
- Number of execution occurrences.
- savedSearch StringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- scheduledTask StringId 
- 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
- Required parameter to specify schedule 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.
- workRequest StringId 
- most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
GetNamespaceScheduledTasksScheduledTaskCollectionItemAction        
- CompartmentId boolIn Subtree 
- if true, purge child compartments data
- DataType string
- the type of the log data to be purged
- MetricExtractions List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction> 
- PurgeCompartment stringId 
- 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.
- SavedSearch stringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- Type string
- Schedule type discriminator.
- CompartmentId boolIn Subtree 
- if true, purge child compartments data
- DataType string
- the type of the log data to be purged
- MetricExtractions []GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction 
- PurgeCompartment stringId 
- 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.
- SavedSearch stringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- Type string
- Schedule type discriminator.
- compartmentId BooleanIn Subtree 
- if true, purge child compartments data
- dataType String
- the type of the log data to be purged
- metricExtractions List<GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction> 
- purgeCompartment StringId 
- 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.
- savedSearch StringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- type String
- Schedule type discriminator.
- compartmentId booleanIn Subtree 
- if true, purge child compartments data
- dataType string
- the type of the log data to be purged
- metricExtractions GetNamespace Scheduled Tasks Scheduled Task Collection Item Action Metric Extraction[] 
- purgeCompartment stringId 
- 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.
- savedSearch stringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- 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] 
- 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.
- type str
- Schedule type discriminator.
- compartmentId BooleanIn Subtree 
- if true, purge child compartments data
- dataType String
- the type of the log data to be purged
- metricExtractions List<Property Map>
- purgeCompartment StringId 
- 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.
- savedSearch StringId 
- The ManagementSavedSearch id [OCID] utilized in the action.
- type String
- Schedule type discriminator.
GetNamespaceScheduledTasksScheduledTaskCollectionItemActionMetricExtraction          
- CompartmentId string
- The ID of the compartment in which to list resources.
- MetricName string
- Namespace string
- The Logging Analytics namespace used for the request.
- ResourceGroup string
- CompartmentId string
- The ID of the compartment in which to list resources.
- MetricName string
- Namespace string
- The Logging Analytics namespace used for the request.
- ResourceGroup string
- compartmentId String
- The ID of the compartment in which to list resources.
- metricName String
- namespace String
- The Logging Analytics namespace used for the request.
- resourceGroup String
- compartmentId string
- The ID of the compartment in which to list resources.
- metricName string
- namespace string
- The Logging Analytics namespace used for the request.
- resourceGroup string
- compartment_id str
- The ID of the compartment in which to list resources.
- metric_name str
- namespace str
- The Logging Analytics namespace used for the request.
- resource_group str
- compartmentId String
- The ID of the compartment in which to list resources.
- metricName String
- namespace String
- The Logging Analytics namespace used for the request.
- resourceGroup String
GetNamespaceScheduledTasksScheduledTaskCollectionItemSchedule        
GetNamespaceScheduledTasksScheduledTaskCollectionItemScheduleSchedule         
- Expression string
- Value in cron format.
- MisfirePolicy string
- Schedule misfire retry policy.
- 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.
- TimeZone string
- Time zone, by default UTC.
- Type string
- Schedule type discriminator.
- Expression string
- Value in cron format.
- MisfirePolicy string
- Schedule misfire retry policy.
- 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.
- TimeZone string
- Time zone, by default UTC.
- Type string
- Schedule type discriminator.
- expression String
- Value in cron format.
- misfirePolicy String
- Schedule misfire retry policy.
- 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.
- timeZone String
- Time zone, by default UTC.
- type String
- Schedule type discriminator.
- expression string
- Value in cron format.
- misfirePolicy string
- Schedule misfire retry policy.
- 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.
- 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.
- 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_zone str
- Time zone, by default UTC.
- type str
- Schedule type discriminator.
- expression String
- Value in cron format.
- misfirePolicy String
- Schedule misfire retry policy.
- 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.
- 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 ociTerraform Provider.