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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
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}
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 string
- The unique name of the resource.
- args SchedulingPlanArgs
- 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 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 string
- The unique name of the resource.
- args SchedulingPlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchedulingPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
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());
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)
const schedulingPlanResource = new oci.database.SchedulingPlan("schedulingPlanResource", {
    compartmentId: "string",
    resourceId: "string",
    schedulingPolicyId: "string",
    serviceType: "string",
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
    isUsingRecommendedScheduledActions: false,
});
type: oci:Database:SchedulingPlan
properties:
    compartmentId: string
    definedTags:
        string: string
    freeformTags:
        string: string
    isUsingRecommendedScheduledActions: false
    resourceId: string
    schedulingPolicyId: string
    serviceType: string
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 string
- (Updatable) The OCID of the compartment.
- ResourceId string
- The OCID of the resource.
- SchedulingPolicy stringId 
- The OCID of the Scheduling Policy.
- ServiceType 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 
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- IsUsing boolRecommended Scheduled Actions 
- If true, recommended scheduled actions will be generated for the scheduling plan.
- CompartmentId string
- (Updatable) The OCID of the compartment.
- ResourceId string
- The OCID of the resource.
- SchedulingPolicy stringId 
- The OCID of the Scheduling Policy.
- ServiceType 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 
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- IsUsing boolRecommended Scheduled Actions 
- If true, recommended scheduled actions will be generated for the scheduling plan.
- compartmentId String
- (Updatable) The OCID of the compartment.
- resourceId String
- The OCID of the resource.
- schedulingPolicy StringId 
- The OCID of the Scheduling Policy.
- serviceType 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 
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- isUsing BooleanRecommended Scheduled Actions 
- If true, recommended scheduled actions will be generated for the scheduling plan.
- compartmentId string
- (Updatable) The OCID of the compartment.
- resourceId string
- The OCID of the resource.
- schedulingPolicy stringId 
- The OCID of the Scheduling Policy.
- serviceType 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 
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- isUsing booleanRecommended Scheduled Actions 
- If true, recommended scheduled actions will be generated for the scheduling plan.
- compartment_id str
- (Updatable) The OCID of the compartment.
- resource_id str
- The OCID of the resource.
- scheduling_policy_ strid 
- The OCID of the Scheduling Policy.
- service_type 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 
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- is_using_ boolrecommended_ scheduled_ actions 
- If true, recommended scheduled actions will be generated for the scheduling plan.
- compartmentId String
- (Updatable) The OCID of the compartment.
- resourceId String
- The OCID of the resource.
- schedulingPolicy StringId 
- The OCID of the Scheduling Policy.
- serviceType 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 
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- isUsing BooleanRecommended Scheduled Actions 
- 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.
- EstimatedTime intIn Mins 
- 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.
- 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.
- EstimatedTime intIn Mins 
- 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.
- 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.
- estimatedTime IntegerIn Mins 
- 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.
- 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.
- estimatedTime numberIn Mins 
- 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.
- {[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_ intin_ mins 
- 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.
- 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.
- estimatedTime NumberIn Mins 
- 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.
- 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) -> SchedulingPlanfunc 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
- 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.
- CompartmentId string
- (Updatable) The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- The display name of the Scheduling Plan.
- EstimatedTime intIn Mins 
- The estimated time for the Scheduling Plan.
- 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"}
- IsUsing boolRecommended Scheduled Actions 
- 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 string
- The OCID of the resource.
- SchedulingPolicy stringId 
- The OCID of the Scheduling Policy.
- ServiceType 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.
- 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.
- 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.
- EstimatedTime intIn Mins 
- The estimated time for the Scheduling Plan.
- 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"}
- IsUsing boolRecommended Scheduled Actions 
- 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 string
- The OCID of the resource.
- SchedulingPolicy stringId 
- The OCID of the Scheduling Policy.
- ServiceType 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.
- 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.
- 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.
- estimatedTime IntegerIn Mins 
- The estimated time for the Scheduling Plan.
- 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"}
- isUsing BooleanRecommended Scheduled Actions 
- 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 String
- The OCID of the resource.
- schedulingPolicy StringId 
- The OCID of the Scheduling Policy.
- serviceType 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.
- 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.
- {[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.
- estimatedTime numberIn Mins 
- The estimated time for the Scheduling Plan.
- {[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"}
- isUsing booleanRecommended Scheduled Actions 
- 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 string
- The OCID of the resource.
- schedulingPolicy stringId 
- The OCID of the Scheduling Policy.
- serviceType 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.
- {[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.
- 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_ intin_ mins 
- The estimated time for the Scheduling Plan.
- 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_ boolrecommended_ scheduled_ actions 
- 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 str
- The OCID of the resource.
- scheduling_policy_ strid 
- The OCID of the Scheduling Policy.
- service_type 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.
- 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.
- 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.
- estimatedTime NumberIn Mins 
- The estimated time for the Scheduling Plan.
- 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"}
- isUsing BooleanRecommended Scheduled Actions 
- 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 String
- The OCID of the resource.
- schedulingPolicy StringId 
- The OCID of the Scheduling Policy.
- serviceType 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.
- 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"
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.