oci.LogAnalytics.NamespaceScheduledTask
Explore with Pulumi AI
This resource provides the Namespace Scheduled Task resource in Oracle Cloud Infrastructure Log Analytics service.
Schedule a task as specified and return task info.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.LogAnalytics.NamespaceScheduledTask;
import com.pulumi.oci.LogAnalytics.NamespaceScheduledTaskArgs;
import com.pulumi.oci.LogAnalytics.inputs.NamespaceScheduledTaskActionArgs;
import com.pulumi.oci.LogAnalytics.inputs.NamespaceScheduledTaskActionMetricExtractionArgs;
import com.pulumi.oci.LogAnalytics.inputs.NamespaceScheduledTaskSchedulesArgs;
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) {
var testNamespaceScheduledTask = new NamespaceScheduledTask("testNamespaceScheduledTask", NamespaceScheduledTaskArgs.builder()
.compartmentId(compartmentId)
.kind(namespaceScheduledTaskKind)
.namespace(namespaceScheduledTaskNamespace)
.action(NamespaceScheduledTaskActionArgs.builder()
.type(namespaceScheduledTaskActionType)
.compartmentIdInSubtree(namespaceScheduledTaskActionCompartmentIdInSubtree)
.dataType(namespaceScheduledTaskActionDataType)
.metricExtraction(NamespaceScheduledTaskActionMetricExtractionArgs.builder()
.compartmentId(compartmentId)
.metricName(testMetric.name())
.namespace(namespaceScheduledTaskActionMetricExtractionNamespace)
.resourceGroup(namespaceScheduledTaskActionMetricExtractionResourceGroup)
.build())
.purgeCompartmentId(testCompartment.id())
.purgeDuration(namespaceScheduledTaskActionPurgeDuration)
.queryString(namespaceScheduledTaskActionQueryString)
.savedSearchId(testSavedSearch.id())
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.displayName(namespaceScheduledTaskDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.savedSearchId(testSavedSearch.id())
.schedules(NamespaceScheduledTaskSchedulesArgs.builder()
.type(namespaceScheduledTaskSchedulesType)
.expression(namespaceScheduledTaskSchedulesExpression)
.misfirePolicy(namespaceScheduledTaskSchedulesMisfirePolicy)
.recurringInterval(namespaceScheduledTaskSchedulesRecurringInterval)
.repeatCount(namespaceScheduledTaskSchedulesRepeatCount)
.timeZone(namespaceScheduledTaskSchedulesTimeZone)
.build())
.taskType(namespaceScheduledTaskTaskType)
.build());
}
}
resources:
testNamespaceScheduledTask:
type: oci:LogAnalytics:NamespaceScheduledTask
name: test_namespace_scheduled_task
properties:
compartmentId: ${compartmentId}
kind: ${namespaceScheduledTaskKind}
namespace: ${namespaceScheduledTaskNamespace}
action:
type: ${namespaceScheduledTaskActionType}
compartmentIdInSubtree: ${namespaceScheduledTaskActionCompartmentIdInSubtree}
dataType: ${namespaceScheduledTaskActionDataType}
metricExtraction:
compartmentId: ${compartmentId}
metricName: ${testMetric.name}
namespace: ${namespaceScheduledTaskActionMetricExtractionNamespace}
resourceGroup: ${namespaceScheduledTaskActionMetricExtractionResourceGroup}
purgeCompartmentId: ${testCompartment.id}
purgeDuration: ${namespaceScheduledTaskActionPurgeDuration}
queryString: ${namespaceScheduledTaskActionQueryString}
savedSearchId: ${testSavedSearch.id}
definedTags:
foo-namespace.bar-key: value
displayName: ${namespaceScheduledTaskDisplayName}
freeformTags:
bar-key: value
savedSearchId: ${testSavedSearch.id}
schedules:
type: ${namespaceScheduledTaskSchedulesType}
expression: ${namespaceScheduledTaskSchedulesExpression}
misfirePolicy: ${namespaceScheduledTaskSchedulesMisfirePolicy}
recurringInterval: ${namespaceScheduledTaskSchedulesRecurringInterval}
repeatCount: ${namespaceScheduledTaskSchedulesRepeatCount}
timeZone: ${namespaceScheduledTaskSchedulesTimeZone}
taskType: ${namespaceScheduledTaskTaskType}
Create NamespaceScheduledTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NamespaceScheduledTask(name: string, args: NamespaceScheduledTaskArgs, opts?: CustomResourceOptions);
@overload
def NamespaceScheduledTask(resource_name: str,
args: NamespaceScheduledTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NamespaceScheduledTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[_loganalytics.NamespaceScheduledTaskActionArgs] = None,
compartment_id: Optional[str] = None,
kind: Optional[str] = None,
namespace: Optional[str] = None,
schedules: Optional[_loganalytics.NamespaceScheduledTaskSchedulesArgs] = None,
task_type: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
saved_search_id: Optional[str] = None)
func NewNamespaceScheduledTask(ctx *Context, name string, args NamespaceScheduledTaskArgs, opts ...ResourceOption) (*NamespaceScheduledTask, error)
public NamespaceScheduledTask(string name, NamespaceScheduledTaskArgs args, CustomResourceOptions? opts = null)
public NamespaceScheduledTask(String name, NamespaceScheduledTaskArgs args)
public NamespaceScheduledTask(String name, NamespaceScheduledTaskArgs args, CustomResourceOptions options)
type: oci:LogAnalytics:NamespaceScheduledTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NamespaceScheduledTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NamespaceScheduledTaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NamespaceScheduledTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NamespaceScheduledTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NamespaceScheduledTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var namespaceScheduledTaskResource = new Oci.LogAnalytics.NamespaceScheduledTask("namespaceScheduledTaskResource", new()
{
Action = new Oci.LogAnalytics.Inputs.NamespaceScheduledTaskActionArgs
{
Type = "string",
CompartmentIdInSubtree = false,
DataType = "string",
MetricExtraction = new Oci.LogAnalytics.Inputs.NamespaceScheduledTaskActionMetricExtractionArgs
{
CompartmentId = "string",
MetricName = "string",
Namespace = "string",
ResourceGroup = "string",
},
PurgeCompartmentId = "string",
PurgeDuration = "string",
QueryString = "string",
SavedSearchId = "string",
},
CompartmentId = "string",
Kind = "string",
Namespace = "string",
Schedules = new Oci.LogAnalytics.Inputs.NamespaceScheduledTaskSchedulesArgs
{
Schedules = new[]
{
new Oci.LogAnalytics.Inputs.NamespaceScheduledTaskSchedulesScheduleArgs
{
Type = "string",
Expression = "string",
MisfirePolicy = "string",
RecurringInterval = "string",
RepeatCount = 0,
TimeZone = "string",
},
},
},
TaskType = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
SavedSearchId = "string",
});
example, err := LogAnalytics.NewNamespaceScheduledTask(ctx, "namespaceScheduledTaskResource", &LogAnalytics.NamespaceScheduledTaskArgs{
Action: &loganalytics.NamespaceScheduledTaskActionArgs{
Type: pulumi.String("string"),
CompartmentIdInSubtree: pulumi.Bool(false),
DataType: pulumi.String("string"),
MetricExtraction: &loganalytics.NamespaceScheduledTaskActionMetricExtractionArgs{
CompartmentId: pulumi.String("string"),
MetricName: pulumi.String("string"),
Namespace: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
},
PurgeCompartmentId: pulumi.String("string"),
PurgeDuration: pulumi.String("string"),
QueryString: pulumi.String("string"),
SavedSearchId: pulumi.String("string"),
},
CompartmentId: pulumi.String("string"),
Kind: pulumi.String("string"),
Namespace: pulumi.String("string"),
Schedules: &loganalytics.NamespaceScheduledTaskSchedulesArgs{
Schedules: loganalytics.NamespaceScheduledTaskSchedulesScheduleArray{
&loganalytics.NamespaceScheduledTaskSchedulesScheduleArgs{
Type: pulumi.String("string"),
Expression: pulumi.String("string"),
MisfirePolicy: pulumi.String("string"),
RecurringInterval: pulumi.String("string"),
RepeatCount: pulumi.Int(0),
TimeZone: pulumi.String("string"),
},
},
},
TaskType: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
SavedSearchId: pulumi.String("string"),
})
var namespaceScheduledTaskResource = new NamespaceScheduledTask("namespaceScheduledTaskResource", NamespaceScheduledTaskArgs.builder()
.action(NamespaceScheduledTaskActionArgs.builder()
.type("string")
.compartmentIdInSubtree(false)
.dataType("string")
.metricExtraction(NamespaceScheduledTaskActionMetricExtractionArgs.builder()
.compartmentId("string")
.metricName("string")
.namespace("string")
.resourceGroup("string")
.build())
.purgeCompartmentId("string")
.purgeDuration("string")
.queryString("string")
.savedSearchId("string")
.build())
.compartmentId("string")
.kind("string")
.namespace("string")
.schedules(NamespaceScheduledTaskSchedulesArgs.builder()
.schedules(NamespaceScheduledTaskSchedulesScheduleArgs.builder()
.type("string")
.expression("string")
.misfirePolicy("string")
.recurringInterval("string")
.repeatCount(0)
.timeZone("string")
.build())
.build())
.taskType("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.savedSearchId("string")
.build());
namespace_scheduled_task_resource = oci.log_analytics.NamespaceScheduledTask("namespaceScheduledTaskResource",
action={
"type": "string",
"compartment_id_in_subtree": False,
"data_type": "string",
"metric_extraction": {
"compartment_id": "string",
"metric_name": "string",
"namespace": "string",
"resource_group": "string",
},
"purge_compartment_id": "string",
"purge_duration": "string",
"query_string": "string",
"saved_search_id": "string",
},
compartment_id="string",
kind="string",
namespace="string",
schedules={
"schedules": [{
"type": "string",
"expression": "string",
"misfire_policy": "string",
"recurring_interval": "string",
"repeat_count": 0,
"time_zone": "string",
}],
},
task_type="string",
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
saved_search_id="string")
const namespaceScheduledTaskResource = new oci.loganalytics.NamespaceScheduledTask("namespaceScheduledTaskResource", {
action: {
type: "string",
compartmentIdInSubtree: false,
dataType: "string",
metricExtraction: {
compartmentId: "string",
metricName: "string",
namespace: "string",
resourceGroup: "string",
},
purgeCompartmentId: "string",
purgeDuration: "string",
queryString: "string",
savedSearchId: "string",
},
compartmentId: "string",
kind: "string",
namespace: "string",
schedules: {
schedules: [{
type: "string",
expression: "string",
misfirePolicy: "string",
recurringInterval: "string",
repeatCount: 0,
timeZone: "string",
}],
},
taskType: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
savedSearchId: "string",
});
type: oci:LogAnalytics:NamespaceScheduledTask
properties:
action:
compartmentIdInSubtree: false
dataType: string
metricExtraction:
compartmentId: string
metricName: string
namespace: string
resourceGroup: string
purgeCompartmentId: string
purgeDuration: string
queryString: string
savedSearchId: string
type: string
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
kind: string
namespace: string
savedSearchId: string
schedules:
schedules:
- expression: string
misfirePolicy: string
recurringInterval: string
repeatCount: 0
timeZone: string
type: string
taskType: string
NamespaceScheduledTask Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NamespaceScheduledTask resource accepts the following input properties:
- Action
Namespace
Scheduled Task Action - Action for scheduled task.
- Compartment
Id string - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Kind string
- (Updatable) Discriminator.
- Namespace string
- The Logging Analytics namespace used for the request.
- Schedules
Namespace
Scheduled Task Schedules - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- Task
Type string Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) 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.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Saved
Search stringId - The ManagementSavedSearch id [OCID] to be accelerated.
- Action
Namespace
Scheduled Task Action Args - Action for scheduled task.
- Compartment
Id string - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Kind string
- (Updatable) Discriminator.
- Namespace string
- The Logging Analytics namespace used for the request.
- Schedules
Namespace
Scheduled Task Schedules Args - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- Task
Type string Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) 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.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Saved
Search stringId - The ManagementSavedSearch id [OCID] to be accelerated.
- action
Namespace
Scheduled Task Action - Action for scheduled task.
- compartment
Id String - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- kind String
- (Updatable) Discriminator.
- namespace String
- The Logging Analytics namespace used for the request.
- schedules
Namespace
Scheduled Task Schedules - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- task
Type String Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) 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.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- saved
Search StringId - The ManagementSavedSearch id [OCID] to be accelerated.
- action
Namespace
Scheduled Task Action - Action for scheduled task.
- compartment
Id string - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- kind string
- (Updatable) Discriminator.
- namespace string
- The Logging Analytics namespace used for the request.
- schedules
Namespace
Scheduled Task Schedules - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- task
Type string Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) 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.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- saved
Search stringId - The ManagementSavedSearch id [OCID] to be accelerated.
- action
loganalytics.
Namespace Scheduled Task Action Args - Action for scheduled task.
- compartment_
id str - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- kind str
- (Updatable) Discriminator.
- namespace str
- The Logging Analytics namespace used for the request.
- schedules
loganalytics.
Namespace Scheduled Task Schedules Args - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- task_
type str Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) 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.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- saved_
search_ strid - The ManagementSavedSearch id [OCID] to be accelerated.
- action Property Map
- Action for scheduled task.
- compartment
Id String - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- kind String
- (Updatable) Discriminator.
- namespace String
- The Logging Analytics namespace used for the request.
- schedules Property Map
- (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- task
Type String Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) 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.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- saved
Search StringId - The ManagementSavedSearch id [OCID] to be accelerated.
Outputs
All input properties are implicitly available as output properties. Additionally, the NamespaceScheduledTask resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Num
Occurrences string - Number of execution occurrences.
- Scheduled
Task stringId - State string
- The current state of the scheduled task.
- Task
Status string - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Num
Occurrences string - Number of execution occurrences.
- Scheduled
Task stringId - State string
- The current state of the scheduled task.
- Task
Status string - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- num
Occurrences String - Number of execution occurrences.
- scheduled
Task StringId - state String
- The current state of the scheduled task.
- task
Status String - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- num
Occurrences string - Number of execution occurrences.
- scheduled
Task stringId - state string
- The current state of the scheduled task.
- task
Status string - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- num_
occurrences str - Number of execution occurrences.
- scheduled_
task_ strid - state str
- The current state of the scheduled task.
- task_
status str - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- num
Occurrences String - Number of execution occurrences.
- scheduled
Task StringId - state String
- The current state of the scheduled task.
- task
Status String - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- 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.
Look up Existing NamespaceScheduledTask Resource
Get an existing NamespaceScheduledTask resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NamespaceScheduledTaskState, opts?: CustomResourceOptions): NamespaceScheduledTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[_loganalytics.NamespaceScheduledTaskActionArgs] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
kind: Optional[str] = None,
namespace: Optional[str] = None,
num_occurrences: Optional[str] = None,
saved_search_id: Optional[str] = None,
scheduled_task_id: Optional[str] = None,
schedules: Optional[_loganalytics.NamespaceScheduledTaskSchedulesArgs] = None,
state: Optional[str] = None,
task_status: Optional[str] = None,
task_type: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
work_request_id: Optional[str] = None) -> NamespaceScheduledTask
func GetNamespaceScheduledTask(ctx *Context, name string, id IDInput, state *NamespaceScheduledTaskState, opts ...ResourceOption) (*NamespaceScheduledTask, error)
public static NamespaceScheduledTask Get(string name, Input<string> id, NamespaceScheduledTaskState? state, CustomResourceOptions? opts = null)
public static NamespaceScheduledTask get(String name, Output<String> id, NamespaceScheduledTaskState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Action
Namespace
Scheduled Task Action - Action for scheduled task.
- Compartment
Id string - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) 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.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Kind string
- (Updatable) Discriminator.
- Namespace string
- The Logging Analytics namespace used for the request.
- Num
Occurrences string - Number of execution occurrences.
- Saved
Search stringId - The ManagementSavedSearch id [OCID] to be accelerated.
- Scheduled
Task stringId - Schedules
Namespace
Scheduled Task Schedules - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- State string
- The current state of the scheduled task.
- Task
Status string - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- Task
Type string Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- Action
Namespace
Scheduled Task Action Args - Action for scheduled task.
- Compartment
Id string - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) 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.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Kind string
- (Updatable) Discriminator.
- Namespace string
- The Logging Analytics namespace used for the request.
- Num
Occurrences string - Number of execution occurrences.
- Saved
Search stringId - The ManagementSavedSearch id [OCID] to be accelerated.
- Scheduled
Task stringId - Schedules
Namespace
Scheduled Task Schedules Args - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- State string
- The current state of the scheduled task.
- Task
Status string - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- Task
Type string Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- action
Namespace
Scheduled Task Action - Action for scheduled task.
- compartment
Id String - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) 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.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- kind String
- (Updatable) Discriminator.
- namespace String
- The Logging Analytics namespace used for the request.
- num
Occurrences String - Number of execution occurrences.
- saved
Search StringId - The ManagementSavedSearch id [OCID] to be accelerated.
- scheduled
Task StringId - schedules
Namespace
Scheduled Task Schedules - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- state String
- The current state of the scheduled task.
- task
Status String - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- task
Type String Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- action
Namespace
Scheduled Task Action - Action for scheduled task.
- compartment
Id string - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) 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.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- kind string
- (Updatable) Discriminator.
- namespace string
- The Logging Analytics namespace used for the request.
- num
Occurrences string - Number of execution occurrences.
- saved
Search stringId - The ManagementSavedSearch id [OCID] to be accelerated.
- scheduled
Task stringId - schedules
Namespace
Scheduled Task Schedules - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- state string
- The current state of the scheduled task.
- task
Status string - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- task
Type string Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- action
loganalytics.
Namespace Scheduled Task Action Args - Action for scheduled task.
- compartment_
id str - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) 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.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- kind str
- (Updatable) Discriminator.
- namespace str
- The Logging Analytics namespace used for the request.
- num_
occurrences str - Number of execution occurrences.
- saved_
search_ strid - The ManagementSavedSearch id [OCID] to be accelerated.
- scheduled_
task_ strid - schedules
loganalytics.
Namespace Scheduled Task Schedules Args - (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- action Property Map
- Action for scheduled task.
- compartment
Id String - (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) 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.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- kind String
- (Updatable) Discriminator.
- namespace String
- The Logging Analytics namespace used for the request.
- num
Occurrences String - Number of execution occurrences.
- saved
Search StringId - The ManagementSavedSearch id [OCID] to be accelerated.
- scheduled
Task StringId - schedules Property Map
- (Updatable) Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
- state String
- The current state of the scheduled task.
- task
Status String - Status of the scheduled task. - PURGE_RESOURCE_NOT_FOUND
- task
Type String Task type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
Supporting Types
NamespaceScheduledTaskAction, NamespaceScheduledTaskActionArgs
- Type string
- Action 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
Extraction NamespaceScheduled Task 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.
- Type string
- Action 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
Extraction NamespaceScheduled Task 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.
- type String
- Action 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
Extraction NamespaceScheduled Task 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.
- type string
- Action 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
Extraction NamespaceScheduled Task 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.
- type str
- Action 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_
extraction loganalytics.Namespace Scheduled Task 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.
- type String
- Action 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
Extraction 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.
NamespaceScheduledTaskActionMetricExtraction, NamespaceScheduledTaskActionMetricExtractionArgs
- Compartment
Id string - (Updatable) The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric.
- 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 namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- Resource
Group 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 string - (Updatable) The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric.
- 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 namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- Resource
Group 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 String - (Updatable) The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric.
- 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 namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- resource
Group 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 string - (Updatable) The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric.
- 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 namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- resource
Group string - The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
- compartment_
id str - (Updatable) The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric.
- 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 namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- resource_
group str - The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
- compartment
Id String - (Updatable) The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric.
- 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 namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
- resource
Group 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 ($).
NamespaceScheduledTaskSchedules, NamespaceScheduledTaskSchedulesArgs
NamespaceScheduledTaskSchedulesSchedule, NamespaceScheduledTaskSchedulesScheduleArgs
- Type string
- Schedule type discriminator.
- Expression string
- Value in cron format.
- Misfire
Policy string - Schedule misfire retry policy.
- 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
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.
- 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
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.
- 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
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.
- 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
Zone string - Time zone, by default UTC.
- type str
- 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 String
- Schedule type discriminator.
- expression String
- Value in cron format.
- misfire
Policy String - Schedule misfire retry policy.
- 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
Zone String - Time zone, by default UTC.
Import
NamespaceScheduledTasks can be imported using the id
, e.g.
$ pulumi import oci:LogAnalytics/namespaceScheduledTask:NamespaceScheduledTask test_namespace_scheduled_task "namespaces/{namespaceName}/scheduledTasks/{scheduledTaskId}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.