oci.Database.ScheduledAction
Explore with Pulumi AI
This resource provides the Scheduled Action resource in Oracle Cloud Infrastructure Database service.
Creates a Scheduled Action resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testScheduledAction = new oci.database.ScheduledAction("test_scheduled_action", {
    actionType: scheduledActionActionType,
    compartmentId: compartmentId,
    schedulingPlanId: testSchedulingPlan.id,
    schedulingWindowId: testSchedulingWindow.id,
    actionMembers: [{
        memberId: testMember.id,
        memberOrder: scheduledActionActionMembersMemberOrder,
        estimatedTimeInMins: scheduledActionActionMembersEstimatedTimeInMins,
    }],
    actionParams: scheduledActionActionParams,
    definedTags: scheduledActionDefinedTags,
    freeformTags: {
        Department: "Finance",
    },
});
import pulumi
import pulumi_oci as oci
test_scheduled_action = oci.database.ScheduledAction("test_scheduled_action",
    action_type=scheduled_action_action_type,
    compartment_id=compartment_id,
    scheduling_plan_id=test_scheduling_plan["id"],
    scheduling_window_id=test_scheduling_window["id"],
    action_members=[{
        "member_id": test_member["id"],
        "member_order": scheduled_action_action_members_member_order,
        "estimated_time_in_mins": scheduled_action_action_members_estimated_time_in_mins,
    }],
    action_params=scheduled_action_action_params,
    defined_tags=scheduled_action_defined_tags,
    freeform_tags={
        "Department": "Finance",
    })
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.NewScheduledAction(ctx, "test_scheduled_action", &database.ScheduledActionArgs{
			ActionType:         pulumi.Any(scheduledActionActionType),
			CompartmentId:      pulumi.Any(compartmentId),
			SchedulingPlanId:   pulumi.Any(testSchedulingPlan.Id),
			SchedulingWindowId: pulumi.Any(testSchedulingWindow.Id),
			ActionMembers: database.ScheduledActionActionMemberArray{
				&database.ScheduledActionActionMemberArgs{
					MemberId:            pulumi.Any(testMember.Id),
					MemberOrder:         pulumi.Any(scheduledActionActionMembersMemberOrder),
					EstimatedTimeInMins: pulumi.Any(scheduledActionActionMembersEstimatedTimeInMins),
				},
			},
			ActionParams: pulumi.Any(scheduledActionActionParams),
			DefinedTags:  pulumi.Any(scheduledActionDefinedTags),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
		})
		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 testScheduledAction = new Oci.Database.ScheduledAction("test_scheduled_action", new()
    {
        ActionType = scheduledActionActionType,
        CompartmentId = compartmentId,
        SchedulingPlanId = testSchedulingPlan.Id,
        SchedulingWindowId = testSchedulingWindow.Id,
        ActionMembers = new[]
        {
            new Oci.Database.Inputs.ScheduledActionActionMemberArgs
            {
                MemberId = testMember.Id,
                MemberOrder = scheduledActionActionMembersMemberOrder,
                EstimatedTimeInMins = scheduledActionActionMembersEstimatedTimeInMins,
            },
        },
        ActionParams = scheduledActionActionParams,
        DefinedTags = scheduledActionDefinedTags,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.ScheduledAction;
import com.pulumi.oci.Database.ScheduledActionArgs;
import com.pulumi.oci.Database.inputs.ScheduledActionActionMemberArgs;
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 testScheduledAction = new ScheduledAction("testScheduledAction", ScheduledActionArgs.builder()
            .actionType(scheduledActionActionType)
            .compartmentId(compartmentId)
            .schedulingPlanId(testSchedulingPlan.id())
            .schedulingWindowId(testSchedulingWindow.id())
            .actionMembers(ScheduledActionActionMemberArgs.builder()
                .memberId(testMember.id())
                .memberOrder(scheduledActionActionMembersMemberOrder)
                .estimatedTimeInMins(scheduledActionActionMembersEstimatedTimeInMins)
                .build())
            .actionParams(scheduledActionActionParams)
            .definedTags(scheduledActionDefinedTags)
            .freeformTags(Map.of("Department", "Finance"))
            .build());
    }
}
resources:
  testScheduledAction:
    type: oci:Database:ScheduledAction
    name: test_scheduled_action
    properties:
      actionType: ${scheduledActionActionType}
      compartmentId: ${compartmentId}
      schedulingPlanId: ${testSchedulingPlan.id}
      schedulingWindowId: ${testSchedulingWindow.id}
      actionMembers:
        - memberId: ${testMember.id}
          memberOrder: ${scheduledActionActionMembersMemberOrder}
          estimatedTimeInMins: ${scheduledActionActionMembersEstimatedTimeInMins}
      actionParams: ${scheduledActionActionParams}
      definedTags: ${scheduledActionDefinedTags}
      freeformTags:
        Department: Finance
Create ScheduledAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduledAction(name: string, args: ScheduledActionArgs, opts?: CustomResourceOptions);@overload
def ScheduledAction(resource_name: str,
                    args: ScheduledActionArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def ScheduledAction(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    action_type: Optional[str] = None,
                    compartment_id: Optional[str] = None,
                    scheduling_plan_id: Optional[str] = None,
                    scheduling_window_id: Optional[str] = None,
                    action_members: Optional[Sequence[ScheduledActionActionMemberArgs]] = None,
                    action_params: Optional[Mapping[str, str]] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    freeform_tags: Optional[Mapping[str, str]] = None)func NewScheduledAction(ctx *Context, name string, args ScheduledActionArgs, opts ...ResourceOption) (*ScheduledAction, error)public ScheduledAction(string name, ScheduledActionArgs args, CustomResourceOptions? opts = null)
public ScheduledAction(String name, ScheduledActionArgs args)
public ScheduledAction(String name, ScheduledActionArgs args, CustomResourceOptions options)
type: oci:Database:ScheduledAction
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 ScheduledActionArgs
- 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 ScheduledActionArgs
- 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 ScheduledActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduledActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduledActionArgs
- 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 scheduledActionResource = new Oci.Database.ScheduledAction("scheduledActionResource", new()
{
    ActionType = "string",
    CompartmentId = "string",
    SchedulingPlanId = "string",
    SchedulingWindowId = "string",
    ActionMembers = new[]
    {
        new Oci.Database.Inputs.ScheduledActionActionMemberArgs
        {
            MemberId = "string",
            MemberOrder = 0,
            EstimatedTimeInMins = 0,
        },
    },
    ActionParams = 
    {
        { "string", "string" },
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
});
example, err := database.NewScheduledAction(ctx, "scheduledActionResource", &database.ScheduledActionArgs{
	ActionType:         pulumi.String("string"),
	CompartmentId:      pulumi.String("string"),
	SchedulingPlanId:   pulumi.String("string"),
	SchedulingWindowId: pulumi.String("string"),
	ActionMembers: database.ScheduledActionActionMemberArray{
		&database.ScheduledActionActionMemberArgs{
			MemberId:            pulumi.String("string"),
			MemberOrder:         pulumi.Int(0),
			EstimatedTimeInMins: pulumi.Int(0),
		},
	},
	ActionParams: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var scheduledActionResource = new ScheduledAction("scheduledActionResource", ScheduledActionArgs.builder()
    .actionType("string")
    .compartmentId("string")
    .schedulingPlanId("string")
    .schedulingWindowId("string")
    .actionMembers(ScheduledActionActionMemberArgs.builder()
        .memberId("string")
        .memberOrder(0)
        .estimatedTimeInMins(0)
        .build())
    .actionParams(Map.of("string", "string"))
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .build());
scheduled_action_resource = oci.database.ScheduledAction("scheduledActionResource",
    action_type="string",
    compartment_id="string",
    scheduling_plan_id="string",
    scheduling_window_id="string",
    action_members=[{
        "member_id": "string",
        "member_order": 0,
        "estimated_time_in_mins": 0,
    }],
    action_params={
        "string": "string",
    },
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    })
const scheduledActionResource = new oci.database.ScheduledAction("scheduledActionResource", {
    actionType: "string",
    compartmentId: "string",
    schedulingPlanId: "string",
    schedulingWindowId: "string",
    actionMembers: [{
        memberId: "string",
        memberOrder: 0,
        estimatedTimeInMins: 0,
    }],
    actionParams: {
        string: "string",
    },
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
});
type: oci:Database:ScheduledAction
properties:
    actionMembers:
        - estimatedTimeInMins: 0
          memberId: string
          memberOrder: 0
    actionParams:
        string: string
    actionType: string
    compartmentId: string
    definedTags:
        string: string
    freeformTags:
        string: string
    schedulingPlanId: string
    schedulingWindowId: string
ScheduledAction 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 ScheduledAction resource accepts the following input properties:
- ActionType string
- The type of the scheduled action being performed
- CompartmentId string
- The OCID of the compartment.
- SchedulingPlan stringId 
- The OCID of the Scheduling Plan.
- SchedulingWindow stringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- ActionMembers List<ScheduledAction Action Member> 
- (Updatable) The list of action members in a scheduled action.
- ActionParams Dictionary<string, string>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- ActionType string
- The type of the scheduled action being performed
- CompartmentId string
- The OCID of the compartment.
- SchedulingPlan stringId 
- The OCID of the Scheduling Plan.
- SchedulingWindow stringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- ActionMembers []ScheduledAction Action Member Args 
- (Updatable) The list of action members in a scheduled action.
- ActionParams map[string]string
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- actionType String
- The type of the scheduled action being performed
- compartmentId String
- The OCID of the compartment.
- schedulingPlan StringId 
- The OCID of the Scheduling Plan.
- schedulingWindow StringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- actionMembers List<ScheduledAction Action Member> 
- (Updatable) The list of action members in a scheduled action.
- actionParams Map<String,String>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- actionType string
- The type of the scheduled action being performed
- compartmentId string
- The OCID of the compartment.
- schedulingPlan stringId 
- The OCID of the Scheduling Plan.
- schedulingWindow stringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- actionMembers ScheduledAction Action Member[] 
- (Updatable) The list of action members in a scheduled action.
- actionParams {[key: string]: string}
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- action_type str
- The type of the scheduled action being performed
- compartment_id str
- The OCID of the compartment.
- scheduling_plan_ strid 
- The OCID of the Scheduling Plan.
- scheduling_window_ strid 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- action_members Sequence[ScheduledAction Action Member Args] 
- (Updatable) The list of action members in a scheduled action.
- action_params Mapping[str, str]
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- actionType String
- The type of the scheduled action being performed
- compartmentId String
- The OCID of the compartment.
- schedulingPlan StringId 
- The OCID of the Scheduling Plan.
- schedulingWindow StringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- actionMembers List<Property Map>
- (Updatable) The list of action members in a scheduled action.
- actionParams Map<String>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduledAction resource produces the following output properties:
- ActionOrder int
- The order of the scheduled action.
- DisplayName string
- The display name of the Scheduled Action.
- EstimatedTime intIn Mins 
- The estimated patching time for the scheduled action.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- TimeCreated string
- The date and time the Scheduled Action Resource was created.
- TimeUpdated string
- The date and time the Scheduled Action Resource was updated.
- ActionOrder int
- The order of the scheduled action.
- DisplayName string
- The display name of the Scheduled Action.
- EstimatedTime intIn Mins 
- The estimated patching time for the scheduled action.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- TimeCreated string
- The date and time the Scheduled Action Resource was created.
- TimeUpdated string
- The date and time the Scheduled Action Resource was updated.
- actionOrder Integer
- The order of the scheduled action.
- displayName String
- The display name of the Scheduled Action.
- estimatedTime IntegerIn Mins 
- The estimated patching time for the scheduled action.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- timeCreated String
- The date and time the Scheduled Action Resource was created.
- timeUpdated String
- The date and time the Scheduled Action Resource was updated.
- actionOrder number
- The order of the scheduled action.
- displayName string
- The display name of the Scheduled Action.
- estimatedTime numberIn Mins 
- The estimated patching time for the scheduled action.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- timeCreated string
- The date and time the Scheduled Action Resource was created.
- timeUpdated string
- The date and time the Scheduled Action Resource was updated.
- action_order int
- The order of the scheduled action.
- display_name str
- The display name of the Scheduled Action.
- estimated_time_ intin_ mins 
- The estimated patching time for the scheduled action.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time_created str
- The date and time the Scheduled Action Resource was created.
- time_updated str
- The date and time the Scheduled Action Resource was updated.
- actionOrder Number
- The order of the scheduled action.
- displayName String
- The display name of the Scheduled Action.
- estimatedTime NumberIn Mins 
- The estimated patching time for the scheduled action.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- timeCreated String
- The date and time the Scheduled Action Resource was created.
- timeUpdated String
- The date and time the Scheduled Action Resource was updated.
Look up Existing ScheduledAction Resource
Get an existing ScheduledAction 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?: ScheduledActionState, opts?: CustomResourceOptions): ScheduledAction@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action_members: Optional[Sequence[ScheduledActionActionMemberArgs]] = None,
        action_order: Optional[int] = None,
        action_params: Optional[Mapping[str, str]] = None,
        action_type: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        estimated_time_in_mins: Optional[int] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        scheduling_plan_id: Optional[str] = None,
        scheduling_window_id: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> ScheduledActionfunc GetScheduledAction(ctx *Context, name string, id IDInput, state *ScheduledActionState, opts ...ResourceOption) (*ScheduledAction, error)public static ScheduledAction Get(string name, Input<string> id, ScheduledActionState? state, CustomResourceOptions? opts = null)public static ScheduledAction get(String name, Output<String> id, ScheduledActionState state, CustomResourceOptions options)resources:  _:    type: oci:Database:ScheduledAction    get:      id: ${id}- 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.
- ActionMembers List<ScheduledAction Action Member> 
- (Updatable) The list of action members in a scheduled action.
- ActionOrder int
- The order of the scheduled action.
- ActionParams Dictionary<string, string>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- ActionType string
- The type of the scheduled action being performed
- CompartmentId string
- The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- The display name of the Scheduled Action.
- EstimatedTime intIn Mins 
- The estimated patching time for the scheduled action.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- SchedulingPlan stringId 
- The OCID of the Scheduling Plan.
- SchedulingWindow stringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- State string
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- TimeCreated string
- The date and time the Scheduled Action Resource was created.
- TimeUpdated string
- The date and time the Scheduled Action Resource was updated.
- ActionMembers []ScheduledAction Action Member Args 
- (Updatable) The list of action members in a scheduled action.
- ActionOrder int
- The order of the scheduled action.
- ActionParams map[string]string
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- ActionType string
- The type of the scheduled action being performed
- CompartmentId string
- The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- The display name of the Scheduled Action.
- EstimatedTime intIn Mins 
- The estimated patching time for the scheduled action.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- SchedulingPlan stringId 
- The OCID of the Scheduling Plan.
- SchedulingWindow stringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- State string
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- TimeCreated string
- The date and time the Scheduled Action Resource was created.
- TimeUpdated string
- The date and time the Scheduled Action Resource was updated.
- actionMembers List<ScheduledAction Action Member> 
- (Updatable) The list of action members in a scheduled action.
- actionOrder Integer
- The order of the scheduled action.
- actionParams Map<String,String>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- actionType String
- The type of the scheduled action being performed
- compartmentId String
- The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- The display name of the Scheduled Action.
- estimatedTime IntegerIn Mins 
- The estimated patching time for the scheduled action.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- schedulingPlan StringId 
- The OCID of the Scheduling Plan.
- schedulingWindow StringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- state String
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- timeCreated String
- The date and time the Scheduled Action Resource was created.
- timeUpdated String
- The date and time the Scheduled Action Resource was updated.
- actionMembers ScheduledAction Action Member[] 
- (Updatable) The list of action members in a scheduled action.
- actionOrder number
- The order of the scheduled action.
- actionParams {[key: string]: string}
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- actionType string
- The type of the scheduled action being performed
- compartmentId string
- The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName string
- The display name of the Scheduled Action.
- estimatedTime numberIn Mins 
- The estimated patching time for the scheduled action.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- schedulingPlan stringId 
- The OCID of the Scheduling Plan.
- schedulingWindow stringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- state string
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- timeCreated string
- The date and time the Scheduled Action Resource was created.
- timeUpdated string
- The date and time the Scheduled Action Resource was updated.
- action_members Sequence[ScheduledAction Action Member Args] 
- (Updatable) The list of action members in a scheduled action.
- action_order int
- The order of the scheduled action.
- action_params Mapping[str, str]
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- action_type str
- The type of the scheduled action being performed
- compartment_id str
- The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display_name str
- The display name of the Scheduled Action.
- estimated_time_ intin_ mins 
- The estimated patching time for the scheduled action.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- scheduling_plan_ strid 
- The OCID of the Scheduling Plan.
- scheduling_window_ strid 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- state str
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time_created str
- The date and time the Scheduled Action Resource was created.
- time_updated str
- The date and time the Scheduled Action Resource was updated.
- actionMembers List<Property Map>
- (Updatable) The list of action members in a scheduled action.
- actionOrder Number
- The order of the scheduled action.
- actionParams Map<String>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- actionType String
- The type of the scheduled action being performed
- compartmentId String
- The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- The display name of the Scheduled Action.
- estimatedTime NumberIn Mins 
- The estimated patching time for the scheduled action.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- schedulingPlan StringId 
- The OCID of the Scheduling Plan.
- schedulingWindow StringId 
- (Updatable) The OCID of the Scheduling Window. - ** 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 
- state String
- The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- timeCreated String
- The date and time the Scheduled Action Resource was created.
- timeUpdated String
- The date and time the Scheduled Action Resource was updated.
Supporting Types
ScheduledActionActionMember, ScheduledActionActionMemberArgs        
- MemberId string
- (Updatable) The ocid of the action member.
- MemberOrder int
- (Updatable) The order of the action member in a scheduled action.
- EstimatedTime intIn Mins 
- (Updatable) The estimated time for the intended action member.
- MemberId string
- (Updatable) The ocid of the action member.
- MemberOrder int
- (Updatable) The order of the action member in a scheduled action.
- EstimatedTime intIn Mins 
- (Updatable) The estimated time for the intended action member.
- memberId String
- (Updatable) The ocid of the action member.
- memberOrder Integer
- (Updatable) The order of the action member in a scheduled action.
- estimatedTime IntegerIn Mins 
- (Updatable) The estimated time for the intended action member.
- memberId string
- (Updatable) The ocid of the action member.
- memberOrder number
- (Updatable) The order of the action member in a scheduled action.
- estimatedTime numberIn Mins 
- (Updatable) The estimated time for the intended action member.
- member_id str
- (Updatable) The ocid of the action member.
- member_order int
- (Updatable) The order of the action member in a scheduled action.
- estimated_time_ intin_ mins 
- (Updatable) The estimated time for the intended action member.
- memberId String
- (Updatable) The ocid of the action member.
- memberOrder Number
- (Updatable) The order of the action member in a scheduled action.
- estimatedTime NumberIn Mins 
- (Updatable) The estimated time for the intended action member.
Import
ScheduledActions can be imported using the id, e.g.
$ pulumi import oci:Database/scheduledAction:ScheduledAction test_scheduled_action "id"
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 ociTerraform Provider.