1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Optimizer
  5. ResourceAction
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Optimizer.ResourceAction

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Resource Action resource in Oracle Cloud Infrastructure Optimizer service.

    Updates the resource action that corresponds to the specified OCID. Use this operation to implement the following actions:

    • Postpone resource action
    • Ignore resource action
    • Reactivate resource action

    Create ResourceAction Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResourceAction(name: string, args: ResourceActionArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceAction(resource_name: str,
                       args: ResourceActionArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourceAction(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       resource_action_id: Optional[str] = None,
                       status: Optional[str] = None,
                       time_status_end: Optional[str] = None)
    func NewResourceAction(ctx *Context, name string, args ResourceActionArgs, opts ...ResourceOption) (*ResourceAction, error)
    public ResourceAction(string name, ResourceActionArgs args, CustomResourceOptions? opts = null)
    public ResourceAction(String name, ResourceActionArgs args)
    public ResourceAction(String name, ResourceActionArgs args, CustomResourceOptions options)
    
    type: oci:Optimizer:ResourceAction
    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 ResourceActionArgs
    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 ResourceActionArgs
    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 ResourceActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceActionArgs
    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 resourceActionResource = new Oci.Optimizer.ResourceAction("resourceActionResource", new()
    {
        ResourceActionId = "string",
        Status = "string",
        TimeStatusEnd = "string",
    });
    
    example, err := Optimizer.NewResourceAction(ctx, "resourceActionResource", &Optimizer.ResourceActionArgs{
    	ResourceActionId: pulumi.String("string"),
    	Status:           pulumi.String("string"),
    	TimeStatusEnd:    pulumi.String("string"),
    })
    
    var resourceActionResource = new ResourceAction("resourceActionResource", ResourceActionArgs.builder()
        .resourceActionId("string")
        .status("string")
        .timeStatusEnd("string")
        .build());
    
    resource_action_resource = oci.optimizer.ResourceAction("resourceActionResource",
        resource_action_id="string",
        status="string",
        time_status_end="string")
    
    const resourceActionResource = new oci.optimizer.ResourceAction("resourceActionResource", {
        resourceActionId: "string",
        status: "string",
        timeStatusEnd: "string",
    });
    
    type: oci:Optimizer:ResourceAction
    properties:
        resourceActionId: string
        status: string
        timeStatusEnd: string
    

    ResourceAction Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ResourceAction resource accepts the following input properties:

    ResourceActionId string
    The unique OCID associated with the resource action.
    Status string
    (Updatable) The status of the resource action.
    TimeStatusEnd string

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    ResourceActionId string
    The unique OCID associated with the resource action.
    Status string
    (Updatable) The status of the resource action.
    TimeStatusEnd string

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    resourceActionId String
    The unique OCID associated with the resource action.
    status String
    (Updatable) The status of the resource action.
    timeStatusEnd String

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    resourceActionId string
    The unique OCID associated with the resource action.
    status string
    (Updatable) The status of the resource action.
    timeStatusEnd string

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    resource_action_id str
    The unique OCID associated with the resource action.
    status str
    (Updatable) The status of the resource action.
    time_status_end str

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    resourceActionId String
    The unique OCID associated with the resource action.
    status String
    (Updatable) The status of the resource action.
    timeStatusEnd String

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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 ResourceAction resource produces the following output properties:

    Actions List<ResourceActionAction>
    Details about the recommended action.
    CategoryId string
    The unique OCID associated with the category.
    CompartmentId string
    The OCID of the compartment.
    CompartmentName string
    The name associated with the compartment.
    EstimatedCostSaving double
    The estimated cost savings, in dollars, for the resource action.
    ExtendedMetadata Dictionary<string, object>
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    Id string
    The provider-assigned unique ID for this managed resource.
    Metadata Dictionary<string, object>
    Custom metadata key/value pairs for the resource action.
    Name string
    The name assigned to the resource.
    RecommendationId string
    The unique OCID associated with the recommendation.
    ResourceId string
    The unique OCID associated with the resource.
    ResourceType string
    The kind of resource.
    State string
    The resource action's current state.
    TimeCreated string
    The date and time the resource action details were created, in the format defined by RFC3339.
    TimeStatusBegin string
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    TimeUpdated string
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    Actions []ResourceActionAction
    Details about the recommended action.
    CategoryId string
    The unique OCID associated with the category.
    CompartmentId string
    The OCID of the compartment.
    CompartmentName string
    The name associated with the compartment.
    EstimatedCostSaving float64
    The estimated cost savings, in dollars, for the resource action.
    ExtendedMetadata map[string]interface{}
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    Id string
    The provider-assigned unique ID for this managed resource.
    Metadata map[string]interface{}
    Custom metadata key/value pairs for the resource action.
    Name string
    The name assigned to the resource.
    RecommendationId string
    The unique OCID associated with the recommendation.
    ResourceId string
    The unique OCID associated with the resource.
    ResourceType string
    The kind of resource.
    State string
    The resource action's current state.
    TimeCreated string
    The date and time the resource action details were created, in the format defined by RFC3339.
    TimeStatusBegin string
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    TimeUpdated string
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    actions List<ResourceActionAction>
    Details about the recommended action.
    categoryId String
    The unique OCID associated with the category.
    compartmentId String
    The OCID of the compartment.
    compartmentName String
    The name associated with the compartment.
    estimatedCostSaving Double
    The estimated cost savings, in dollars, for the resource action.
    extendedMetadata Map<String,Object>
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    id String
    The provider-assigned unique ID for this managed resource.
    metadata Map<String,Object>
    Custom metadata key/value pairs for the resource action.
    name String
    The name assigned to the resource.
    recommendationId String
    The unique OCID associated with the recommendation.
    resourceId String
    The unique OCID associated with the resource.
    resourceType String
    The kind of resource.
    state String
    The resource action's current state.
    timeCreated String
    The date and time the resource action details were created, in the format defined by RFC3339.
    timeStatusBegin String
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    timeUpdated String
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    actions ResourceActionAction[]
    Details about the recommended action.
    categoryId string
    The unique OCID associated with the category.
    compartmentId string
    The OCID of the compartment.
    compartmentName string
    The name associated with the compartment.
    estimatedCostSaving number
    The estimated cost savings, in dollars, for the resource action.
    extendedMetadata {[key: string]: any}
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    id string
    The provider-assigned unique ID for this managed resource.
    metadata {[key: string]: any}
    Custom metadata key/value pairs for the resource action.
    name string
    The name assigned to the resource.
    recommendationId string
    The unique OCID associated with the recommendation.
    resourceId string
    The unique OCID associated with the resource.
    resourceType string
    The kind of resource.
    state string
    The resource action's current state.
    timeCreated string
    The date and time the resource action details were created, in the format defined by RFC3339.
    timeStatusBegin string
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    timeUpdated string
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    actions Sequence[optimizer.ResourceActionAction]
    Details about the recommended action.
    category_id str
    The unique OCID associated with the category.
    compartment_id str
    The OCID of the compartment.
    compartment_name str
    The name associated with the compartment.
    estimated_cost_saving float
    The estimated cost savings, in dollars, for the resource action.
    extended_metadata Mapping[str, Any]
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    id str
    The provider-assigned unique ID for this managed resource.
    metadata Mapping[str, Any]
    Custom metadata key/value pairs for the resource action.
    name str
    The name assigned to the resource.
    recommendation_id str
    The unique OCID associated with the recommendation.
    resource_id str
    The unique OCID associated with the resource.
    resource_type str
    The kind of resource.
    state str
    The resource action's current state.
    time_created str
    The date and time the resource action details were created, in the format defined by RFC3339.
    time_status_begin str
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    time_updated str
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    actions List<Property Map>
    Details about the recommended action.
    categoryId String
    The unique OCID associated with the category.
    compartmentId String
    The OCID of the compartment.
    compartmentName String
    The name associated with the compartment.
    estimatedCostSaving Number
    The estimated cost savings, in dollars, for the resource action.
    extendedMetadata Map<Any>
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    id String
    The provider-assigned unique ID for this managed resource.
    metadata Map<Any>
    Custom metadata key/value pairs for the resource action.
    name String
    The name assigned to the resource.
    recommendationId String
    The unique OCID associated with the recommendation.
    resourceId String
    The unique OCID associated with the resource.
    resourceType String
    The kind of resource.
    state String
    The resource action's current state.
    timeCreated String
    The date and time the resource action details were created, in the format defined by RFC3339.
    timeStatusBegin String
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    timeUpdated String
    The date and time the resource action details were last updated, in the format defined by RFC3339.

    Look up Existing ResourceAction Resource

    Get an existing ResourceAction 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?: ResourceActionState, opts?: CustomResourceOptions): ResourceAction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            actions: Optional[Sequence[_optimizer.ResourceActionActionArgs]] = None,
            category_id: Optional[str] = None,
            compartment_id: Optional[str] = None,
            compartment_name: Optional[str] = None,
            estimated_cost_saving: Optional[float] = None,
            extended_metadata: Optional[Mapping[str, Any]] = None,
            metadata: Optional[Mapping[str, Any]] = None,
            name: Optional[str] = None,
            recommendation_id: Optional[str] = None,
            resource_action_id: Optional[str] = None,
            resource_id: Optional[str] = None,
            resource_type: Optional[str] = None,
            state: Optional[str] = None,
            status: Optional[str] = None,
            time_created: Optional[str] = None,
            time_status_begin: Optional[str] = None,
            time_status_end: Optional[str] = None,
            time_updated: Optional[str] = None) -> ResourceAction
    func GetResourceAction(ctx *Context, name string, id IDInput, state *ResourceActionState, opts ...ResourceOption) (*ResourceAction, error)
    public static ResourceAction Get(string name, Input<string> id, ResourceActionState? state, CustomResourceOptions? opts = null)
    public static ResourceAction get(String name, Output<String> id, ResourceActionState 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.
    The following state arguments are supported:
    Actions List<ResourceActionAction>
    Details about the recommended action.
    CategoryId string
    The unique OCID associated with the category.
    CompartmentId string
    The OCID of the compartment.
    CompartmentName string
    The name associated with the compartment.
    EstimatedCostSaving double
    The estimated cost savings, in dollars, for the resource action.
    ExtendedMetadata Dictionary<string, object>
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    Metadata Dictionary<string, object>
    Custom metadata key/value pairs for the resource action.
    Name string
    The name assigned to the resource.
    RecommendationId string
    The unique OCID associated with the recommendation.
    ResourceActionId string
    The unique OCID associated with the resource action.
    ResourceId string
    The unique OCID associated with the resource.
    ResourceType string
    The kind of resource.
    State string
    The resource action's current state.
    Status string
    (Updatable) The status of the resource action.
    TimeCreated string
    The date and time the resource action details were created, in the format defined by RFC3339.
    TimeStatusBegin string
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    TimeStatusEnd string

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    TimeUpdated string
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    Actions []ResourceActionActionArgs
    Details about the recommended action.
    CategoryId string
    The unique OCID associated with the category.
    CompartmentId string
    The OCID of the compartment.
    CompartmentName string
    The name associated with the compartment.
    EstimatedCostSaving float64
    The estimated cost savings, in dollars, for the resource action.
    ExtendedMetadata map[string]interface{}
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    Metadata map[string]interface{}
    Custom metadata key/value pairs for the resource action.
    Name string
    The name assigned to the resource.
    RecommendationId string
    The unique OCID associated with the recommendation.
    ResourceActionId string
    The unique OCID associated with the resource action.
    ResourceId string
    The unique OCID associated with the resource.
    ResourceType string
    The kind of resource.
    State string
    The resource action's current state.
    Status string
    (Updatable) The status of the resource action.
    TimeCreated string
    The date and time the resource action details were created, in the format defined by RFC3339.
    TimeStatusBegin string
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    TimeStatusEnd string

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    TimeUpdated string
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    actions List<ResourceActionAction>
    Details about the recommended action.
    categoryId String
    The unique OCID associated with the category.
    compartmentId String
    The OCID of the compartment.
    compartmentName String
    The name associated with the compartment.
    estimatedCostSaving Double
    The estimated cost savings, in dollars, for the resource action.
    extendedMetadata Map<String,Object>
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    metadata Map<String,Object>
    Custom metadata key/value pairs for the resource action.
    name String
    The name assigned to the resource.
    recommendationId String
    The unique OCID associated with the recommendation.
    resourceActionId String
    The unique OCID associated with the resource action.
    resourceId String
    The unique OCID associated with the resource.
    resourceType String
    The kind of resource.
    state String
    The resource action's current state.
    status String
    (Updatable) The status of the resource action.
    timeCreated String
    The date and time the resource action details were created, in the format defined by RFC3339.
    timeStatusBegin String
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    timeStatusEnd String

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    timeUpdated String
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    actions ResourceActionAction[]
    Details about the recommended action.
    categoryId string
    The unique OCID associated with the category.
    compartmentId string
    The OCID of the compartment.
    compartmentName string
    The name associated with the compartment.
    estimatedCostSaving number
    The estimated cost savings, in dollars, for the resource action.
    extendedMetadata {[key: string]: any}
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    metadata {[key: string]: any}
    Custom metadata key/value pairs for the resource action.
    name string
    The name assigned to the resource.
    recommendationId string
    The unique OCID associated with the recommendation.
    resourceActionId string
    The unique OCID associated with the resource action.
    resourceId string
    The unique OCID associated with the resource.
    resourceType string
    The kind of resource.
    state string
    The resource action's current state.
    status string
    (Updatable) The status of the resource action.
    timeCreated string
    The date and time the resource action details were created, in the format defined by RFC3339.
    timeStatusBegin string
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    timeStatusEnd string

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    timeUpdated string
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    actions Sequence[optimizer.ResourceActionActionArgs]
    Details about the recommended action.
    category_id str
    The unique OCID associated with the category.
    compartment_id str
    The OCID of the compartment.
    compartment_name str
    The name associated with the compartment.
    estimated_cost_saving float
    The estimated cost savings, in dollars, for the resource action.
    extended_metadata Mapping[str, Any]
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    metadata Mapping[str, Any]
    Custom metadata key/value pairs for the resource action.
    name str
    The name assigned to the resource.
    recommendation_id str
    The unique OCID associated with the recommendation.
    resource_action_id str
    The unique OCID associated with the resource action.
    resource_id str
    The unique OCID associated with the resource.
    resource_type str
    The kind of resource.
    state str
    The resource action's current state.
    status str
    (Updatable) The status of the resource action.
    time_created str
    The date and time the resource action details were created, in the format defined by RFC3339.
    time_status_begin str
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    time_status_end str

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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_updated str
    The date and time the resource action details were last updated, in the format defined by RFC3339.
    actions List<Property Map>
    Details about the recommended action.
    categoryId String
    The unique OCID associated with the category.
    compartmentId String
    The OCID of the compartment.
    compartmentName String
    The name associated with the compartment.
    estimatedCostSaving Number
    The estimated cost savings, in dollars, for the resource action.
    extendedMetadata Map<Any>
    Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the metadata object.
    metadata Map<Any>
    Custom metadata key/value pairs for the resource action.
    name String
    The name assigned to the resource.
    recommendationId String
    The unique OCID associated with the recommendation.
    resourceActionId String
    The unique OCID associated with the resource action.
    resourceId String
    The unique OCID associated with the resource.
    resourceType String
    The kind of resource.
    state String
    The resource action's current state.
    status String
    (Updatable) The status of the resource action.
    timeCreated String
    The date and time the resource action details were created, in the format defined by RFC3339.
    timeStatusBegin String
    The date and time that the resource action entered its current status. The format is defined by RFC3339.
    timeStatusEnd String

    (Updatable) The date and time the current status will change. The format is defined by RFC3339.

    For example, "The current postponed status of the resource action will end and change to pending on this date and time."

    ** 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

    timeUpdated String
    The date and time the resource action details were last updated, in the format defined by RFC3339.

    Supporting Types

    ResourceActionAction, ResourceActionActionArgs

    Description string
    Text describing the recommended action.
    Type string
    The status of the resource action.
    Url string
    The URL path to documentation that explains how to perform the action.
    Description string
    Text describing the recommended action.
    Type string
    The status of the resource action.
    Url string
    The URL path to documentation that explains how to perform the action.
    description String
    Text describing the recommended action.
    type String
    The status of the resource action.
    url String
    The URL path to documentation that explains how to perform the action.
    description string
    Text describing the recommended action.
    type string
    The status of the resource action.
    url string
    The URL path to documentation that explains how to perform the action.
    description str
    Text describing the recommended action.
    type str
    The status of the resource action.
    url str
    The URL path to documentation that explains how to perform the action.
    description String
    Text describing the recommended action.
    type String
    The status of the resource action.
    url String
    The URL path to documentation that explains how to perform the action.

    Import

    ResourceActions can be imported using the id, e.g.

    $ pulumi import oci:Optimizer/resourceAction:ResourceAction test_resource_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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi