1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. SchedulingPlan
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.Database.SchedulingPlan

Explore with Pulumi AI

This resource provides the Scheduling Plan resource in Oracle Cloud Infrastructure Database service.

Creates a Scheduling Plan resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testSchedulingPlan = new oci.database.SchedulingPlan("test_scheduling_plan", {
    compartmentId: compartmentId,
    resourceId: testResource.id,
    schedulingPolicyId: testSchedulingPolicy.id,
    serviceType: schedulingPlanServiceType,
    definedTags: schedulingPlanDefinedTags,
    freeformTags: {
        Department: "Finance",
    },
    isUsingRecommendedScheduledActions: schedulingPlanIsUsingRecommendedScheduledActions,
});
Copy
import pulumi
import pulumi_oci as oci

test_scheduling_plan = oci.database.SchedulingPlan("test_scheduling_plan",
    compartment_id=compartment_id,
    resource_id=test_resource["id"],
    scheduling_policy_id=test_scheduling_policy["id"],
    service_type=scheduling_plan_service_type,
    defined_tags=scheduling_plan_defined_tags,
    freeform_tags={
        "Department": "Finance",
    },
    is_using_recommended_scheduled_actions=scheduling_plan_is_using_recommended_scheduled_actions)
Copy
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.NewSchedulingPlan(ctx, "test_scheduling_plan", &database.SchedulingPlanArgs{
			CompartmentId:      pulumi.Any(compartmentId),
			ResourceId:         pulumi.Any(testResource.Id),
			SchedulingPolicyId: pulumi.Any(testSchedulingPolicy.Id),
			ServiceType:        pulumi.Any(schedulingPlanServiceType),
			DefinedTags:        pulumi.Any(schedulingPlanDefinedTags),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
			IsUsingRecommendedScheduledActions: pulumi.Any(schedulingPlanIsUsingRecommendedScheduledActions),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testSchedulingPlan = new Oci.Database.SchedulingPlan("test_scheduling_plan", new()
    {
        CompartmentId = compartmentId,
        ResourceId = testResource.Id,
        SchedulingPolicyId = testSchedulingPolicy.Id,
        ServiceType = schedulingPlanServiceType,
        DefinedTags = schedulingPlanDefinedTags,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        IsUsingRecommendedScheduledActions = schedulingPlanIsUsingRecommendedScheduledActions,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.SchedulingPlan;
import com.pulumi.oci.Database.SchedulingPlanArgs;
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 testSchedulingPlan = new SchedulingPlan("testSchedulingPlan", SchedulingPlanArgs.builder()
            .compartmentId(compartmentId)
            .resourceId(testResource.id())
            .schedulingPolicyId(testSchedulingPolicy.id())
            .serviceType(schedulingPlanServiceType)
            .definedTags(schedulingPlanDefinedTags)
            .freeformTags(Map.of("Department", "Finance"))
            .isUsingRecommendedScheduledActions(schedulingPlanIsUsingRecommendedScheduledActions)
            .build());

    }
}
Copy
resources:
  testSchedulingPlan:
    type: oci:Database:SchedulingPlan
    name: test_scheduling_plan
    properties:
      compartmentId: ${compartmentId}
      resourceId: ${testResource.id}
      schedulingPolicyId: ${testSchedulingPolicy.id}
      serviceType: ${schedulingPlanServiceType}
      definedTags: ${schedulingPlanDefinedTags}
      freeformTags:
        Department: Finance
      isUsingRecommendedScheduledActions: ${schedulingPlanIsUsingRecommendedScheduledActions}
Copy

Create SchedulingPlan Resource

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

Constructor syntax

new SchedulingPlan(name: string, args: SchedulingPlanArgs, opts?: CustomResourceOptions);
@overload
def SchedulingPlan(resource_name: str,
                   args: SchedulingPlanArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def SchedulingPlan(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   compartment_id: Optional[str] = None,
                   resource_id: Optional[str] = None,
                   scheduling_policy_id: Optional[str] = None,
                   service_type: Optional[str] = None,
                   defined_tags: Optional[Mapping[str, str]] = None,
                   freeform_tags: Optional[Mapping[str, str]] = None,
                   is_using_recommended_scheduled_actions: Optional[bool] = None)
func NewSchedulingPlan(ctx *Context, name string, args SchedulingPlanArgs, opts ...ResourceOption) (*SchedulingPlan, error)
public SchedulingPlan(string name, SchedulingPlanArgs args, CustomResourceOptions? opts = null)
public SchedulingPlan(String name, SchedulingPlanArgs args)
public SchedulingPlan(String name, SchedulingPlanArgs args, CustomResourceOptions options)
type: oci:Database:SchedulingPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SchedulingPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SchedulingPlanArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SchedulingPlanArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SchedulingPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SchedulingPlanArgs
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 schedulingPlanResource = new Oci.Database.SchedulingPlan("schedulingPlanResource", new()
{
    CompartmentId = "string",
    ResourceId = "string",
    SchedulingPolicyId = "string",
    ServiceType = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
    IsUsingRecommendedScheduledActions = false,
});
Copy
example, err := database.NewSchedulingPlan(ctx, "schedulingPlanResource", &database.SchedulingPlanArgs{
	CompartmentId:      pulumi.String("string"),
	ResourceId:         pulumi.String("string"),
	SchedulingPolicyId: pulumi.String("string"),
	ServiceType:        pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	IsUsingRecommendedScheduledActions: pulumi.Bool(false),
})
Copy
var schedulingPlanResource = new SchedulingPlan("schedulingPlanResource", SchedulingPlanArgs.builder()
    .compartmentId("string")
    .resourceId("string")
    .schedulingPolicyId("string")
    .serviceType("string")
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .isUsingRecommendedScheduledActions(false)
    .build());
Copy
scheduling_plan_resource = oci.database.SchedulingPlan("schedulingPlanResource",
    compartment_id="string",
    resource_id="string",
    scheduling_policy_id="string",
    service_type="string",
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    },
    is_using_recommended_scheduled_actions=False)
Copy
const schedulingPlanResource = new oci.database.SchedulingPlan("schedulingPlanResource", {
    compartmentId: "string",
    resourceId: "string",
    schedulingPolicyId: "string",
    serviceType: "string",
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
    isUsingRecommendedScheduledActions: false,
});
Copy
type: oci:Database:SchedulingPlan
properties:
    compartmentId: string
    definedTags:
        string: string
    freeformTags:
        string: string
    isUsingRecommendedScheduledActions: false
    resourceId: string
    schedulingPolicyId: string
    serviceType: string
Copy

SchedulingPlan 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 SchedulingPlan resource accepts the following input properties:

CompartmentId This property is required. string
(Updatable) The OCID of the compartment.
ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the resource.
SchedulingPolicyId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the Scheduling Policy.
ServiceType
This property is required.
Changes to this property will trigger replacement.
string

The service type of the Scheduling Plan.

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

DefinedTags Changes to this property will trigger replacement. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags Changes to this property will trigger replacement. 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"}
IsUsingRecommendedScheduledActions Changes to this property will trigger replacement. bool
If true, recommended scheduled actions will be generated for the scheduling plan.
CompartmentId This property is required. string
(Updatable) The OCID of the compartment.
ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the resource.
SchedulingPolicyId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the Scheduling Policy.
ServiceType
This property is required.
Changes to this property will trigger replacement.
string

The service type of the Scheduling Plan.

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

DefinedTags Changes to this property will trigger replacement. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags Changes to this property will trigger replacement. 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"}
IsUsingRecommendedScheduledActions Changes to this property will trigger replacement. bool
If true, recommended scheduled actions will be generated for the scheduling plan.
compartmentId This property is required. String
(Updatable) The OCID of the compartment.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the resource.
schedulingPolicyId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the Scheduling Policy.
serviceType
This property is required.
Changes to this property will trigger replacement.
String

The service type of the Scheduling Plan.

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

definedTags Changes to this property will trigger replacement. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags Changes to this property will trigger replacement. 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"}
isUsingRecommendedScheduledActions Changes to this property will trigger replacement. Boolean
If true, recommended scheduled actions will be generated for the scheduling plan.
compartmentId This property is required. string
(Updatable) The OCID of the compartment.
resourceId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the resource.
schedulingPolicyId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the Scheduling Policy.
serviceType
This property is required.
Changes to this property will trigger replacement.
string

The service type of the Scheduling Plan.

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

definedTags Changes to this property will trigger replacement. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags Changes to this property will trigger replacement. {[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"}
isUsingRecommendedScheduledActions Changes to this property will trigger replacement. boolean
If true, recommended scheduled actions will be generated for the scheduling plan.
compartment_id This property is required. str
(Updatable) The OCID of the compartment.
resource_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of the resource.
scheduling_policy_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of the Scheduling Policy.
service_type
This property is required.
Changes to this property will trigger replacement.
str

The service type of the Scheduling Plan.

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

defined_tags Changes to this property will trigger replacement. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeform_tags Changes to this property will trigger replacement. 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"}
is_using_recommended_scheduled_actions Changes to this property will trigger replacement. bool
If true, recommended scheduled actions will be generated for the scheduling plan.
compartmentId This property is required. String
(Updatable) The OCID of the compartment.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the resource.
schedulingPolicyId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the Scheduling Policy.
serviceType
This property is required.
Changes to this property will trigger replacement.
String

The service type of the Scheduling Plan.

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

definedTags Changes to this property will trigger replacement. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags Changes to this property will trigger replacement. 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"}
isUsingRecommendedScheduledActions Changes to this property will trigger replacement. Boolean
If true, recommended scheduled actions will be generated for the scheduling plan.

Outputs

All input properties are implicitly available as output properties. Additionally, the SchedulingPlan resource produces the following output properties:

DisplayName string
The display name of the Scheduling Plan.
EstimatedTimeInMins int
The estimated time for the Scheduling Plan.
Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
Additional information about the current lifecycle state.
PlanIntent string
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
State string
The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
SystemTags 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 Scheduling Plan Resource was created.
TimeUpdated string
The date and time the Scheduling Plan Resource was updated.
DisplayName string
The display name of the Scheduling Plan.
EstimatedTimeInMins int
The estimated time for the Scheduling Plan.
Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
Additional information about the current lifecycle state.
PlanIntent string
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
State string
The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
SystemTags 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 Scheduling Plan Resource was created.
TimeUpdated string
The date and time the Scheduling Plan Resource was updated.
displayName String
The display name of the Scheduling Plan.
estimatedTimeInMins Integer
The estimated time for the Scheduling Plan.
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
Additional information about the current lifecycle state.
planIntent String
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
state String
The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
systemTags 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 Scheduling Plan Resource was created.
timeUpdated String
The date and time the Scheduling Plan Resource was updated.
displayName string
The display name of the Scheduling Plan.
estimatedTimeInMins number
The estimated time for the Scheduling Plan.
id string
The provider-assigned unique ID for this managed resource.
lifecycleDetails string
Additional information about the current lifecycle state.
planIntent string
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
state string
The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
systemTags {[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 Scheduling Plan Resource was created.
timeUpdated string
The date and time the Scheduling Plan Resource was updated.
display_name str
The display name of the Scheduling Plan.
estimated_time_in_mins int
The estimated time for the Scheduling Plan.
id str
The provider-assigned unique ID for this managed resource.
lifecycle_details str
Additional information about the current lifecycle state.
plan_intent str
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
state str
The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
system_tags 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 Scheduling Plan Resource was created.
time_updated str
The date and time the Scheduling Plan Resource was updated.
displayName String
The display name of the Scheduling Plan.
estimatedTimeInMins Number
The estimated time for the Scheduling Plan.
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
Additional information about the current lifecycle state.
planIntent String
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
state String
The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
systemTags 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 Scheduling Plan Resource was created.
timeUpdated String
The date and time the Scheduling Plan Resource was updated.

Look up Existing SchedulingPlan Resource

Get an existing SchedulingPlan 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?: SchedulingPlanState, opts?: CustomResourceOptions): SchedulingPlan
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = 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,
        is_using_recommended_scheduled_actions: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        plan_intent: Optional[str] = None,
        resource_id: Optional[str] = None,
        scheduling_policy_id: Optional[str] = None,
        service_type: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> SchedulingPlan
func GetSchedulingPlan(ctx *Context, name string, id IDInput, state *SchedulingPlanState, opts ...ResourceOption) (*SchedulingPlan, error)
public static SchedulingPlan Get(string name, Input<string> id, SchedulingPlanState? state, CustomResourceOptions? opts = null)
public static SchedulingPlan get(String name, Output<String> id, SchedulingPlanState state, CustomResourceOptions options)
resources:  _:    type: oci:Database:SchedulingPlan    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CompartmentId string
(Updatable) The OCID of the compartment.
DefinedTags Changes to this property will trigger replacement. 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 Scheduling Plan.
EstimatedTimeInMins int
The estimated time for the Scheduling Plan.
FreeformTags Changes to this property will trigger replacement. 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"}
IsUsingRecommendedScheduledActions Changes to this property will trigger replacement. bool
If true, recommended scheduled actions will be generated for the scheduling plan.
LifecycleDetails string
Additional information about the current lifecycle state.
PlanIntent string
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
ResourceId Changes to this property will trigger replacement. string
The OCID of the resource.
SchedulingPolicyId Changes to this property will trigger replacement. string
The OCID of the Scheduling Policy.
ServiceType Changes to this property will trigger replacement. string

The service type of the Scheduling Plan.

** 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 Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
SystemTags 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 Scheduling Plan Resource was created.
TimeUpdated string
The date and time the Scheduling Plan Resource was updated.
CompartmentId string
(Updatable) The OCID of the compartment.
DefinedTags Changes to this property will trigger replacement. 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 Scheduling Plan.
EstimatedTimeInMins int
The estimated time for the Scheduling Plan.
FreeformTags Changes to this property will trigger replacement. 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"}
IsUsingRecommendedScheduledActions Changes to this property will trigger replacement. bool
If true, recommended scheduled actions will be generated for the scheduling plan.
LifecycleDetails string
Additional information about the current lifecycle state.
PlanIntent string
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
ResourceId Changes to this property will trigger replacement. string
The OCID of the resource.
SchedulingPolicyId Changes to this property will trigger replacement. string
The OCID of the Scheduling Policy.
ServiceType Changes to this property will trigger replacement. string

The service type of the Scheduling Plan.

** 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 Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
SystemTags 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 Scheduling Plan Resource was created.
TimeUpdated string
The date and time the Scheduling Plan Resource was updated.
compartmentId String
(Updatable) The OCID of the compartment.
definedTags Changes to this property will trigger replacement. 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 Scheduling Plan.
estimatedTimeInMins Integer
The estimated time for the Scheduling Plan.
freeformTags Changes to this property will trigger replacement. 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"}
isUsingRecommendedScheduledActions Changes to this property will trigger replacement. Boolean
If true, recommended scheduled actions will be generated for the scheduling plan.
lifecycleDetails String
Additional information about the current lifecycle state.
planIntent String
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
resourceId Changes to this property will trigger replacement. String
The OCID of the resource.
schedulingPolicyId Changes to this property will trigger replacement. String
The OCID of the Scheduling Policy.
serviceType Changes to this property will trigger replacement. String

The service type of the Scheduling Plan.

** 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 Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
systemTags 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 Scheduling Plan Resource was created.
timeUpdated String
The date and time the Scheduling Plan Resource was updated.
compartmentId string
(Updatable) The OCID of the compartment.
definedTags Changes to this property will trigger replacement. {[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 Scheduling Plan.
estimatedTimeInMins number
The estimated time for the Scheduling Plan.
freeformTags Changes to this property will trigger replacement. {[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"}
isUsingRecommendedScheduledActions Changes to this property will trigger replacement. boolean
If true, recommended scheduled actions will be generated for the scheduling plan.
lifecycleDetails string
Additional information about the current lifecycle state.
planIntent string
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
resourceId Changes to this property will trigger replacement. string
The OCID of the resource.
schedulingPolicyId Changes to this property will trigger replacement. string
The OCID of the Scheduling Policy.
serviceType Changes to this property will trigger replacement. string

The service type of the Scheduling Plan.

** 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 Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
systemTags {[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 Scheduling Plan Resource was created.
timeUpdated string
The date and time the Scheduling Plan Resource was updated.
compartment_id str
(Updatable) The OCID of the compartment.
defined_tags Changes to this property will trigger replacement. 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 Scheduling Plan.
estimated_time_in_mins int
The estimated time for the Scheduling Plan.
freeform_tags Changes to this property will trigger replacement. 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"}
is_using_recommended_scheduled_actions Changes to this property will trigger replacement. bool
If true, recommended scheduled actions will be generated for the scheduling plan.
lifecycle_details str
Additional information about the current lifecycle state.
plan_intent str
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
resource_id Changes to this property will trigger replacement. str
The OCID of the resource.
scheduling_policy_id Changes to this property will trigger replacement. str
The OCID of the Scheduling Policy.
service_type Changes to this property will trigger replacement. str

The service type of the Scheduling Plan.

** 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 Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
system_tags 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 Scheduling Plan Resource was created.
time_updated str
The date and time the Scheduling Plan Resource was updated.
compartmentId String
(Updatable) The OCID of the compartment.
definedTags Changes to this property will trigger replacement. 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 Scheduling Plan.
estimatedTimeInMins Number
The estimated time for the Scheduling Plan.
freeformTags Changes to this property will trigger replacement. 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"}
isUsingRecommendedScheduledActions Changes to this property will trigger replacement. Boolean
If true, recommended scheduled actions will be generated for the scheduling plan.
lifecycleDetails String
Additional information about the current lifecycle state.
planIntent String
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
resourceId Changes to this property will trigger replacement. String
The OCID of the resource.
schedulingPolicyId Changes to this property will trigger replacement. String
The OCID of the Scheduling Policy.
serviceType Changes to this property will trigger replacement. String

The service type of the Scheduling Plan.

** 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 Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
systemTags 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 Scheduling Plan Resource was created.
timeUpdated String
The date and time the Scheduling Plan Resource was updated.

Import

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

$ pulumi import oci:Database/schedulingPlan:SchedulingPlan test_scheduling_plan "id"
Copy

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.