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
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,
});
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:
- Compartment
Id This property is required. string - (Updatable) The OCID of the compartment.
- Resource
Id This property is required. Changes to this property will trigger replacement.
- The OCID of the resource.
- Scheduling
Policy Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- Service
Type This property is required. Changes to this property will trigger replacement.
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
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Changes to this property will trigger replacement.
- 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.
- If true, recommended scheduled actions will be generated for the scheduling plan.
- Compartment
Id This property is required. string - (Updatable) The OCID of the compartment.
- Resource
Id This property is required. Changes to this property will trigger replacement.
- The OCID of the resource.
- Scheduling
Policy Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- Service
Type This property is required. Changes to this property will trigger replacement.
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
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Changes to this property will trigger replacement.
- 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.
- If true, recommended scheduled actions will be generated for the scheduling plan.
- compartment
Id This property is required. String - (Updatable) The OCID of the compartment.
- resource
Id This property is required. Changes to this property will trigger replacement.
- The OCID of the resource.
- scheduling
Policy Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- service
Type This property is required. Changes to this property will trigger replacement.
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
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Changes to this property will trigger replacement.
- 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.
- If true, recommended scheduled actions will be generated for the scheduling plan.
- compartment
Id This property is required. string - (Updatable) The OCID of the compartment.
- resource
Id This property is required. Changes to this property will trigger replacement.
- The OCID of the resource.
- scheduling
Policy Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- service
Type This property is required. Changes to this property will trigger replacement.
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
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Changes to this property will trigger replacement.
- 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.
- 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.
- The OCID of the resource.
- scheduling_
policy_ id This property is required. Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- service_
type This property is required. Changes to this property will trigger replacement.
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
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Changes to this property will trigger replacement.
- 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.
- If true, recommended scheduled actions will be generated for the scheduling plan.
- compartment
Id This property is required. String - (Updatable) The OCID of the compartment.
- resource
Id This property is required. Changes to this property will trigger replacement.
- The OCID of the resource.
- scheduling
Policy Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- service
Type This property is required. Changes to this property will trigger replacement.
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
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Changes to this property will trigger replacement.
- 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.
- 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:
- Display
Name string - The display name of the Scheduling Plan.
- Estimated
Time intIn Mins - The estimated time for the Scheduling Plan.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Plan
Intent 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.
- Time
Created string - The date and time the Scheduling Plan Resource was created.
- Time
Updated string - The date and time the Scheduling Plan Resource was updated.
- Display
Name string - The display name of the Scheduling Plan.
- Estimated
Time intIn Mins - The estimated time for the Scheduling Plan.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Plan
Intent 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.
- Time
Created string - The date and time the Scheduling Plan Resource was created.
- Time
Updated string - The date and time the Scheduling Plan Resource was updated.
- display
Name String - The display name of the Scheduling Plan.
- estimated
Time IntegerIn Mins - The estimated time for the Scheduling Plan.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Additional information about the current lifecycle state.
- plan
Intent 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.
- time
Created String - The date and time the Scheduling Plan Resource was created.
- time
Updated String - The date and time the Scheduling Plan Resource was updated.
- display
Name string - The display name of the Scheduling Plan.
- estimated
Time numberIn Mins - The estimated time for the Scheduling Plan.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Additional information about the current lifecycle state.
- plan
Intent 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.
- time
Created string - The date and time the Scheduling Plan Resource was created.
- time
Updated 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.
- display
Name String - The display name of the Scheduling Plan.
- estimated
Time NumberIn Mins - The estimated time for the Scheduling Plan.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Additional information about the current lifecycle state.
- plan
Intent 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.
- time
Created String - The date and time the Scheduling Plan Resource was created.
- time
Updated 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.
- Compartment
Id string - (Updatable) The OCID of the compartment.
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The display name of the Scheduling Plan.
- Estimated
Time intIn Mins - The estimated time for the Scheduling Plan.
Changes to this property will trigger replacement.
- 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.
- If true, recommended scheduled actions will be generated for the scheduling plan.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Plan
Intent string - The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
- Resource
Id Changes to this property will trigger replacement.
- The OCID of the resource.
- Scheduling
Policy Id Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- Service
Type Changes to this property will trigger replacement.
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.
- Time
Created string - The date and time the Scheduling Plan Resource was created.
- Time
Updated string - The date and time the Scheduling Plan Resource was updated.
- Compartment
Id string - (Updatable) The OCID of the compartment.
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The display name of the Scheduling Plan.
- Estimated
Time intIn Mins - The estimated time for the Scheduling Plan.
Changes to this property will trigger replacement.
- 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.
- If true, recommended scheduled actions will be generated for the scheduling plan.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Plan
Intent string - The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
- Resource
Id Changes to this property will trigger replacement.
- The OCID of the resource.
- Scheduling
Policy Id Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- Service
Type Changes to this property will trigger replacement.
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.
- Time
Created string - The date and time the Scheduling Plan Resource was created.
- Time
Updated string - The date and time the Scheduling Plan Resource was updated.
- compartment
Id String - (Updatable) The OCID of the compartment.
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The display name of the Scheduling Plan.
- estimated
Time IntegerIn Mins - The estimated time for the Scheduling Plan.
Changes to this property will trigger replacement.
- 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.
- If true, recommended scheduled actions will be generated for the scheduling plan.
- lifecycle
Details String - Additional information about the current lifecycle state.
- plan
Intent String - The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
- resource
Id Changes to this property will trigger replacement.
- The OCID of the resource.
- scheduling
Policy Id Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- service
Type Changes to this property will trigger replacement.
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.
- time
Created String - The date and time the Scheduling Plan Resource was created.
- time
Updated String - The date and time the Scheduling Plan Resource was updated.
- compartment
Id string - (Updatable) The OCID of the compartment.
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name string - The display name of the Scheduling Plan.
- estimated
Time numberIn Mins - The estimated time for the Scheduling Plan.
Changes to this property will trigger replacement.
- 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.
- If true, recommended scheduled actions will be generated for the scheduling plan.
- lifecycle
Details string - Additional information about the current lifecycle state.
- plan
Intent string - The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
- resource
Id Changes to this property will trigger replacement.
- The OCID of the resource.
- scheduling
Policy Id Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- service
Type Changes to this property will trigger replacement.
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.
- time
Created string - The date and time the Scheduling Plan Resource was created.
- time
Updated string - The date and time the Scheduling Plan Resource was updated.
- compartment_
id str - (Updatable) The OCID of the compartment.
Changes to this property will trigger replacement.
- 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.
Changes to this property will trigger replacement.
- 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.
- 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.
- The OCID of the resource.
- scheduling_
policy_ id Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- service_
type Changes to this property will trigger replacement.
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.
- compartment
Id String - (Updatable) The OCID of the compartment.
Changes to this property will trigger replacement.
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The display name of the Scheduling Plan.
- estimated
Time NumberIn Mins - The estimated time for the Scheduling Plan.
Changes to this property will trigger replacement.
- 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.
- If true, recommended scheduled actions will be generated for the scheduling plan.
- lifecycle
Details String - Additional information about the current lifecycle state.
- plan
Intent String - The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
- resource
Id Changes to this property will trigger replacement.
- The OCID of the resource.
- scheduling
Policy Id Changes to this property will trigger replacement.
- The OCID of the Scheduling Policy.
- service
Type Changes to this property will trigger replacement.
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.
- time
Created String - The date and time the Scheduling Plan Resource was created.
- time
Updated 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
oci
Terraform Provider.