oci.Database.ExecutionAction
Explore with Pulumi AI
This resource provides the Execution Action resource in Oracle Cloud Infrastructure Database service.
Creates an execution action resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExecutionAction = new oci.database.ExecutionAction("test_execution_action", {
    actionType: executionActionActionType,
    executionWindowId: testExecutionWindow.id,
    actionMembers: [{
        memberId: testMember.id,
        memberOrder: executionActionActionMembersMemberOrder,
        estimatedTimeInMins: executionActionActionMembersEstimatedTimeInMins,
        status: executionActionActionMembersStatus,
        totalTimeTakenInMins: executionActionActionMembersTotalTimeTakenInMins,
    }],
    actionParams: executionActionActionParams,
    compartmentId: compartmentId,
    definedTags: executionActionDefinedTags,
    freeformTags: {
        Department: "Finance",
    },
});
import pulumi
import pulumi_oci as oci
test_execution_action = oci.database.ExecutionAction("test_execution_action",
    action_type=execution_action_action_type,
    execution_window_id=test_execution_window["id"],
    action_members=[{
        "member_id": test_member["id"],
        "member_order": execution_action_action_members_member_order,
        "estimated_time_in_mins": execution_action_action_members_estimated_time_in_mins,
        "status": execution_action_action_members_status,
        "total_time_taken_in_mins": execution_action_action_members_total_time_taken_in_mins,
    }],
    action_params=execution_action_action_params,
    compartment_id=compartment_id,
    defined_tags=execution_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.NewExecutionAction(ctx, "test_execution_action", &database.ExecutionActionArgs{
			ActionType:        pulumi.Any(executionActionActionType),
			ExecutionWindowId: pulumi.Any(testExecutionWindow.Id),
			ActionMembers: database.ExecutionActionActionMemberArray{
				&database.ExecutionActionActionMemberArgs{
					MemberId:             pulumi.Any(testMember.Id),
					MemberOrder:          pulumi.Any(executionActionActionMembersMemberOrder),
					EstimatedTimeInMins:  pulumi.Any(executionActionActionMembersEstimatedTimeInMins),
					Status:               pulumi.Any(executionActionActionMembersStatus),
					TotalTimeTakenInMins: pulumi.Any(executionActionActionMembersTotalTimeTakenInMins),
				},
			},
			ActionParams:  pulumi.Any(executionActionActionParams),
			CompartmentId: pulumi.Any(compartmentId),
			DefinedTags:   pulumi.Any(executionActionDefinedTags),
			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 testExecutionAction = new Oci.Database.ExecutionAction("test_execution_action", new()
    {
        ActionType = executionActionActionType,
        ExecutionWindowId = testExecutionWindow.Id,
        ActionMembers = new[]
        {
            new Oci.Database.Inputs.ExecutionActionActionMemberArgs
            {
                MemberId = testMember.Id,
                MemberOrder = executionActionActionMembersMemberOrder,
                EstimatedTimeInMins = executionActionActionMembersEstimatedTimeInMins,
                Status = executionActionActionMembersStatus,
                TotalTimeTakenInMins = executionActionActionMembersTotalTimeTakenInMins,
            },
        },
        ActionParams = executionActionActionParams,
        CompartmentId = compartmentId,
        DefinedTags = executionActionDefinedTags,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.ExecutionAction;
import com.pulumi.oci.Database.ExecutionActionArgs;
import com.pulumi.oci.Database.inputs.ExecutionActionActionMemberArgs;
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 testExecutionAction = new ExecutionAction("testExecutionAction", ExecutionActionArgs.builder()
            .actionType(executionActionActionType)
            .executionWindowId(testExecutionWindow.id())
            .actionMembers(ExecutionActionActionMemberArgs.builder()
                .memberId(testMember.id())
                .memberOrder(executionActionActionMembersMemberOrder)
                .estimatedTimeInMins(executionActionActionMembersEstimatedTimeInMins)
                .status(executionActionActionMembersStatus)
                .totalTimeTakenInMins(executionActionActionMembersTotalTimeTakenInMins)
                .build())
            .actionParams(executionActionActionParams)
            .compartmentId(compartmentId)
            .definedTags(executionActionDefinedTags)
            .freeformTags(Map.of("Department", "Finance"))
            .build());
    }
}
resources:
  testExecutionAction:
    type: oci:Database:ExecutionAction
    name: test_execution_action
    properties:
      actionType: ${executionActionActionType}
      executionWindowId: ${testExecutionWindow.id}
      actionMembers:
        - memberId: ${testMember.id}
          memberOrder: ${executionActionActionMembersMemberOrder}
          estimatedTimeInMins: ${executionActionActionMembersEstimatedTimeInMins}
          status: ${executionActionActionMembersStatus}
          totalTimeTakenInMins: ${executionActionActionMembersTotalTimeTakenInMins}
      actionParams: ${executionActionActionParams}
      compartmentId: ${compartmentId}
      definedTags: ${executionActionDefinedTags}
      freeformTags:
        Department: Finance
Create ExecutionAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExecutionAction(name: string, args: ExecutionActionArgs, opts?: CustomResourceOptions);@overload
def ExecutionAction(resource_name: str,
                    args: ExecutionActionArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def ExecutionAction(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    action_type: Optional[str] = None,
                    execution_window_id: Optional[str] = None,
                    action_members: Optional[Sequence[ExecutionActionActionMemberArgs]] = None,
                    action_params: Optional[Mapping[str, str]] = None,
                    compartment_id: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    freeform_tags: Optional[Mapping[str, str]] = None)func NewExecutionAction(ctx *Context, name string, args ExecutionActionArgs, opts ...ResourceOption) (*ExecutionAction, error)public ExecutionAction(string name, ExecutionActionArgs args, CustomResourceOptions? opts = null)
public ExecutionAction(String name, ExecutionActionArgs args)
public ExecutionAction(String name, ExecutionActionArgs args, CustomResourceOptions options)
type: oci:Database:ExecutionAction
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 ExecutionActionArgs
- 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 ExecutionActionArgs
- 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 ExecutionActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExecutionActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExecutionActionArgs
- 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 executionActionResource = new Oci.Database.ExecutionAction("executionActionResource", new()
{
    ActionType = "string",
    ExecutionWindowId = "string",
    ActionMembers = new[]
    {
        new Oci.Database.Inputs.ExecutionActionActionMemberArgs
        {
            MemberId = "string",
            MemberOrder = 0,
            EstimatedTimeInMins = 0,
            Status = "string",
            TotalTimeTakenInMins = 0,
        },
    },
    ActionParams = 
    {
        { "string", "string" },
    },
    CompartmentId = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
});
example, err := database.NewExecutionAction(ctx, "executionActionResource", &database.ExecutionActionArgs{
	ActionType:        pulumi.String("string"),
	ExecutionWindowId: pulumi.String("string"),
	ActionMembers: database.ExecutionActionActionMemberArray{
		&database.ExecutionActionActionMemberArgs{
			MemberId:             pulumi.String("string"),
			MemberOrder:          pulumi.Int(0),
			EstimatedTimeInMins:  pulumi.Int(0),
			Status:               pulumi.String("string"),
			TotalTimeTakenInMins: pulumi.Int(0),
		},
	},
	ActionParams: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	CompartmentId: pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var executionActionResource = new ExecutionAction("executionActionResource", ExecutionActionArgs.builder()
    .actionType("string")
    .executionWindowId("string")
    .actionMembers(ExecutionActionActionMemberArgs.builder()
        .memberId("string")
        .memberOrder(0)
        .estimatedTimeInMins(0)
        .status("string")
        .totalTimeTakenInMins(0)
        .build())
    .actionParams(Map.of("string", "string"))
    .compartmentId("string")
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .build());
execution_action_resource = oci.database.ExecutionAction("executionActionResource",
    action_type="string",
    execution_window_id="string",
    action_members=[{
        "member_id": "string",
        "member_order": 0,
        "estimated_time_in_mins": 0,
        "status": "string",
        "total_time_taken_in_mins": 0,
    }],
    action_params={
        "string": "string",
    },
    compartment_id="string",
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    })
const executionActionResource = new oci.database.ExecutionAction("executionActionResource", {
    actionType: "string",
    executionWindowId: "string",
    actionMembers: [{
        memberId: "string",
        memberOrder: 0,
        estimatedTimeInMins: 0,
        status: "string",
        totalTimeTakenInMins: 0,
    }],
    actionParams: {
        string: "string",
    },
    compartmentId: "string",
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
});
type: oci:Database:ExecutionAction
properties:
    actionMembers:
        - estimatedTimeInMins: 0
          memberId: string
          memberOrder: 0
          status: string
          totalTimeTakenInMins: 0
    actionParams:
        string: string
    actionType: string
    compartmentId: string
    definedTags:
        string: string
    executionWindowId: string
    freeformTags:
        string: string
ExecutionAction 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 ExecutionAction resource accepts the following input properties:
- ActionType string
- The action type of the execution action being performed
- ExecutionWindow stringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- ActionMembers List<ExecutionAction Action Member> 
- (Updatable) List of action members of this execution action.
- ActionParams Dictionary<string, string>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- CompartmentId string
- The OCID of the compartment.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- (Updatable) 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"}- ** 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 
- ActionType string
- The action type of the execution action being performed
- ExecutionWindow stringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- ActionMembers []ExecutionAction Action Member Args 
- (Updatable) List of action members of this execution action.
- ActionParams map[string]string
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- CompartmentId string
- The OCID of the compartment.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- (Updatable) 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"}- ** 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 
- actionType String
- The action type of the execution action being performed
- executionWindow StringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- actionMembers List<ExecutionAction Action Member> 
- (Updatable) List of action members of this execution action.
- actionParams Map<String,String>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- compartmentId String
- The OCID of the compartment.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- (Updatable) 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"}- ** 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 
- actionType string
- The action type of the execution action being performed
- executionWindow stringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- actionMembers ExecutionAction Action Member[] 
- (Updatable) List of action members of this execution action.
- actionParams {[key: string]: string}
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- compartmentId string
- The OCID of the compartment.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- (Updatable) 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"}- ** 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_type str
- The action type of the execution action being performed
- execution_window_ strid 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- action_members Sequence[ExecutionAction Action Member Args] 
- (Updatable) List of action members of this execution action.
- action_params Mapping[str, str]
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- compartment_id str
- The OCID of the compartment.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- (Updatable) 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"}- ** 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 
- actionType String
- The action type of the execution action being performed
- executionWindow StringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- actionMembers List<Property Map>
- (Updatable) List of action members of this execution action.
- actionParams Map<String>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- compartmentId String
- The OCID of the compartment.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- (Updatable) 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"}- ** 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 
Outputs
All input properties are implicitly available as output properties. Additionally, the ExecutionAction resource produces the following output properties:
- Description string
- Description of the execution action.
- DisplayName string
- The user-friendly name for the execution action. The name does not need to be unique.
- EstimatedTime intIn Mins 
- The estimated time of the execution action in minutes.
- ExecutionAction intOrder 
- The priority order of the execution action.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- LifecycleSubstate string
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- State string
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- TimeCreated string
- The date and time the execution action was created.
- TimeUpdated string
- The last date and time that the execution action was updated.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- Description string
- Description of the execution action.
- DisplayName string
- The user-friendly name for the execution action. The name does not need to be unique.
- EstimatedTime intIn Mins 
- The estimated time of the execution action in minutes.
- ExecutionAction intOrder 
- The priority order of the execution action.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- LifecycleSubstate string
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- State string
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- TimeCreated string
- The date and time the execution action was created.
- TimeUpdated string
- The last date and time that the execution action was updated.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- description String
- Description of the execution action.
- displayName String
- The user-friendly name for the execution action. The name does not need to be unique.
- estimatedTime IntegerIn Mins 
- The estimated time of the execution action in minutes.
- executionAction IntegerOrder 
- The priority order of the execution action.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- lifecycleSubstate String
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state String
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- timeCreated String
- The date and time the execution action was created.
- timeUpdated String
- The last date and time that the execution action was updated.
- totalTime IntegerTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- description string
- Description of the execution action.
- displayName string
- The user-friendly name for the execution action. The name does not need to be unique.
- estimatedTime numberIn Mins 
- The estimated time of the execution action in minutes.
- executionAction numberOrder 
- The priority order of the execution action.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails string
- Additional information about the current lifecycle state.
- lifecycleSubstate string
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state string
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- timeCreated string
- The date and time the execution action was created.
- timeUpdated string
- The last date and time that the execution action was updated.
- totalTime numberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- description str
- Description of the execution action.
- display_name str
- The user-friendly name for the execution action. The name does not need to be unique.
- estimated_time_ intin_ mins 
- The estimated time of the execution action in minutes.
- execution_action_ intorder 
- The priority order of the execution action.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_details str
- Additional information about the current lifecycle state.
- lifecycle_substate str
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state str
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- time_created str
- The date and time the execution action was created.
- time_updated str
- The last date and time that the execution action was updated.
- total_time_ inttaken_ in_ mins 
- The total time taken by corresponding resource activity in minutes.
- description String
- Description of the execution action.
- displayName String
- The user-friendly name for the execution action. The name does not need to be unique.
- estimatedTime NumberIn Mins 
- The estimated time of the execution action in minutes.
- executionAction NumberOrder 
- The priority order of the execution action.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- lifecycleSubstate String
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state String
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- timeCreated String
- The date and time the execution action was created.
- timeUpdated String
- The last date and time that the execution action was updated.
- totalTime NumberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
Look up Existing ExecutionAction Resource
Get an existing ExecutionAction 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?: ExecutionActionState, opts?: CustomResourceOptions): ExecutionAction@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action_members: Optional[Sequence[ExecutionActionActionMemberArgs]] = 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,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        estimated_time_in_mins: Optional[int] = None,
        execution_action_order: Optional[int] = None,
        execution_window_id: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        lifecycle_details: Optional[str] = None,
        lifecycle_substate: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None,
        total_time_taken_in_mins: Optional[int] = None) -> ExecutionActionfunc GetExecutionAction(ctx *Context, name string, id IDInput, state *ExecutionActionState, opts ...ResourceOption) (*ExecutionAction, error)public static ExecutionAction Get(string name, Input<string> id, ExecutionActionState? state, CustomResourceOptions? opts = null)public static ExecutionAction get(String name, Output<String> id, ExecutionActionState state, CustomResourceOptions options)resources:  _:    type: oci:Database:ExecutionAction    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<ExecutionAction Action Member> 
- (Updatable) List of action members of this execution 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 action type of the execution action being performed
- CompartmentId string
- The OCID of the compartment.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Description string
- Description of the execution action.
- DisplayName string
- The user-friendly name for the execution action. The name does not need to be unique.
- EstimatedTime intIn Mins 
- The estimated time of the execution action in minutes.
- ExecutionAction intOrder 
- The priority order of the execution action.
- ExecutionWindow stringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- Dictionary<string, string>
- (Updatable) 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"}- ** 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 
- LifecycleDetails string
- Additional information about the current lifecycle state.
- LifecycleSubstate string
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- State string
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- TimeCreated string
- The date and time the execution action was created.
- TimeUpdated string
- The last date and time that the execution action was updated.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- ActionMembers []ExecutionAction Action Member Args 
- (Updatable) List of action members of this execution 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 action type of the execution action being performed
- CompartmentId string
- The OCID of the compartment.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Description string
- Description of the execution action.
- DisplayName string
- The user-friendly name for the execution action. The name does not need to be unique.
- EstimatedTime intIn Mins 
- The estimated time of the execution action in minutes.
- ExecutionAction intOrder 
- The priority order of the execution action.
- ExecutionWindow stringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- map[string]string
- (Updatable) 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"}- ** 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 
- LifecycleDetails string
- Additional information about the current lifecycle state.
- LifecycleSubstate string
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- State string
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- TimeCreated string
- The date and time the execution action was created.
- TimeUpdated string
- The last date and time that the execution action was updated.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- actionMembers List<ExecutionAction Action Member> 
- (Updatable) List of action members of this execution 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 action type of the execution action being performed
- compartmentId String
- The OCID of the compartment.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- description String
- Description of the execution action.
- displayName String
- The user-friendly name for the execution action. The name does not need to be unique.
- estimatedTime IntegerIn Mins 
- The estimated time of the execution action in minutes.
- executionAction IntegerOrder 
- The priority order of the execution action.
- executionWindow StringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- Map<String,String>
- (Updatable) 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"}- ** 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 
- lifecycleDetails String
- Additional information about the current lifecycle state.
- lifecycleSubstate String
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state String
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- timeCreated String
- The date and time the execution action was created.
- timeUpdated String
- The last date and time that the execution action was updated.
- totalTime IntegerTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- actionMembers ExecutionAction Action Member[] 
- (Updatable) List of action members of this execution 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 action type of the execution action being performed
- compartmentId string
- The OCID of the compartment.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- description string
- Description of the execution action.
- displayName string
- The user-friendly name for the execution action. The name does not need to be unique.
- estimatedTime numberIn Mins 
- The estimated time of the execution action in minutes.
- executionAction numberOrder 
- The priority order of the execution action.
- executionWindow stringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- {[key: string]: string}
- (Updatable) 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"}- ** 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 
- lifecycleDetails string
- Additional information about the current lifecycle state.
- lifecycleSubstate string
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state string
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- timeCreated string
- The date and time the execution action was created.
- timeUpdated string
- The last date and time that the execution action was updated.
- totalTime numberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- action_members Sequence[ExecutionAction Action Member Args] 
- (Updatable) List of action members of this execution 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 action type of the execution action being performed
- compartment_id str
- The OCID of the compartment.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- description str
- Description of the execution action.
- display_name str
- The user-friendly name for the execution action. The name does not need to be unique.
- estimated_time_ intin_ mins 
- The estimated time of the execution action in minutes.
- execution_action_ intorder 
- The priority order of the execution action.
- execution_window_ strid 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- Mapping[str, str]
- (Updatable) 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"}- ** 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 
- lifecycle_details str
- Additional information about the current lifecycle state.
- lifecycle_substate str
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state str
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- time_created str
- The date and time the execution action was created.
- time_updated str
- The last date and time that the execution action was updated.
- total_time_ inttaken_ in_ mins 
- The total time taken by corresponding resource activity in minutes.
- actionMembers List<Property Map>
- (Updatable) List of action members of this execution action.
- actionParams Map<String>
- (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {"count": "3"}
- actionType String
- The action type of the execution action being performed
- compartmentId String
- The OCID of the compartment.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- description String
- Description of the execution action.
- displayName String
- The user-friendly name for the execution action. The name does not need to be unique.
- estimatedTime NumberIn Mins 
- The estimated time of the execution action in minutes.
- executionAction NumberOrder 
- The priority order of the execution action.
- executionWindow StringId 
- (Updatable) The OCID of the execution window resource the execution action belongs to.
- Map<String>
- (Updatable) 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"}- ** 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 
- lifecycleDetails String
- Additional information about the current lifecycle state.
- lifecycleSubstate String
- The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state String
- The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- timeCreated String
- The date and time the execution action was created.
- timeUpdated String
- The last date and time that the execution action was updated.
- totalTime NumberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
Supporting Types
ExecutionActionActionMember, ExecutionActionActionMemberArgs        
- MemberId string
- (Updatable) The OCID of the parent resource the execution action belongs to.
- MemberOrder int
- (Updatable) The priority order of the execution action member.
- EstimatedTime intIn Mins 
- (Updatable) The estimated time of the execution action member in minutes.
- Status string
- (Updatable) The current status of the execution action member. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, DURATION_EXCEEDED, RESCHEDULED and COMPLETED. enum:- SCHEDULED
- IN_PROGRESS
- FAILED
- CANCELED
- DURATION_EXCEEDED
- RESCHEDULED
- SUCCEEDED
 
- TotalTime intTaken In Mins 
- (Updatable) The total time taken by corresponding resource activity in minutes.
- MemberId string
- (Updatable) The OCID of the parent resource the execution action belongs to.
- MemberOrder int
- (Updatable) The priority order of the execution action member.
- EstimatedTime intIn Mins 
- (Updatable) The estimated time of the execution action member in minutes.
- Status string
- (Updatable) The current status of the execution action member. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, DURATION_EXCEEDED, RESCHEDULED and COMPLETED. enum:- SCHEDULED
- IN_PROGRESS
- FAILED
- CANCELED
- DURATION_EXCEEDED
- RESCHEDULED
- SUCCEEDED
 
- TotalTime intTaken In Mins 
- (Updatable) The total time taken by corresponding resource activity in minutes.
- memberId String
- (Updatable) The OCID of the parent resource the execution action belongs to.
- memberOrder Integer
- (Updatable) The priority order of the execution action member.
- estimatedTime IntegerIn Mins 
- (Updatable) The estimated time of the execution action member in minutes.
- status String
- (Updatable) The current status of the execution action member. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, DURATION_EXCEEDED, RESCHEDULED and COMPLETED. enum:- SCHEDULED
- IN_PROGRESS
- FAILED
- CANCELED
- DURATION_EXCEEDED
- RESCHEDULED
- SUCCEEDED
 
- totalTime IntegerTaken In Mins 
- (Updatable) The total time taken by corresponding resource activity in minutes.
- memberId string
- (Updatable) The OCID of the parent resource the execution action belongs to.
- memberOrder number
- (Updatable) The priority order of the execution action member.
- estimatedTime numberIn Mins 
- (Updatable) The estimated time of the execution action member in minutes.
- status string
- (Updatable) The current status of the execution action member. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, DURATION_EXCEEDED, RESCHEDULED and COMPLETED. enum:- SCHEDULED
- IN_PROGRESS
- FAILED
- CANCELED
- DURATION_EXCEEDED
- RESCHEDULED
- SUCCEEDED
 
- totalTime numberTaken In Mins 
- (Updatable) The total time taken by corresponding resource activity in minutes.
- member_id str
- (Updatable) The OCID of the parent resource the execution action belongs to.
- member_order int
- (Updatable) The priority order of the execution action member.
- estimated_time_ intin_ mins 
- (Updatable) The estimated time of the execution action member in minutes.
- status str
- (Updatable) The current status of the execution action member. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, DURATION_EXCEEDED, RESCHEDULED and COMPLETED. enum:- SCHEDULED
- IN_PROGRESS
- FAILED
- CANCELED
- DURATION_EXCEEDED
- RESCHEDULED
- SUCCEEDED
 
- total_time_ inttaken_ in_ mins 
- (Updatable) The total time taken by corresponding resource activity in minutes.
- memberId String
- (Updatable) The OCID of the parent resource the execution action belongs to.
- memberOrder Number
- (Updatable) The priority order of the execution action member.
- estimatedTime NumberIn Mins 
- (Updatable) The estimated time of the execution action member in minutes.
- status String
- (Updatable) The current status of the execution action member. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, DURATION_EXCEEDED, RESCHEDULED and COMPLETED. enum:- SCHEDULED
- IN_PROGRESS
- FAILED
- CANCELED
- DURATION_EXCEEDED
- RESCHEDULED
- SUCCEEDED
 
- totalTime NumberTaken In Mins 
- (Updatable) The total time taken by corresponding resource activity in minutes.
Import
ExecutionActions can be imported using the id, e.g.
$ pulumi import oci:Database/executionAction:ExecutionAction test_execution_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.