oci.FleetAppsManagement.MaintenanceWindow
Explore with Pulumi AI
This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Creates a new MaintenanceWindow.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMaintenanceWindow = new oci.fleetappsmanagement.MaintenanceWindow("test_maintenance_window", {
compartmentId: compartmentId,
duration: maintenanceWindowDuration,
definedTags: {
"foo-namespace.bar-key": "value",
},
description: maintenanceWindowDescription,
displayName: maintenanceWindowDisplayName,
freeformTags: {
"bar-key": "value",
},
isOutage: maintenanceWindowIsOutage,
isRecurring: maintenanceWindowIsRecurring,
maintenanceWindowType: maintenanceWindowMaintenanceWindowType,
recurrences: maintenanceWindowRecurrences,
taskInitiationCutoff: maintenanceWindowTaskInitiationCutoff,
timeScheduleStart: maintenanceWindowTimeScheduleStart,
});
import pulumi
import pulumi_oci as oci
test_maintenance_window = oci.fleet_apps_management.MaintenanceWindow("test_maintenance_window",
compartment_id=compartment_id,
duration=maintenance_window_duration,
defined_tags={
"foo-namespace.bar-key": "value",
},
description=maintenance_window_description,
display_name=maintenance_window_display_name,
freeform_tags={
"bar-key": "value",
},
is_outage=maintenance_window_is_outage,
is_recurring=maintenance_window_is_recurring,
maintenance_window_type=maintenance_window_maintenance_window_type,
recurrences=maintenance_window_recurrences,
task_initiation_cutoff=maintenance_window_task_initiation_cutoff,
time_schedule_start=maintenance_window_time_schedule_start)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FleetAppsManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := FleetAppsManagement.NewMaintenanceWindow(ctx, "test_maintenance_window", &FleetAppsManagement.MaintenanceWindowArgs{
CompartmentId: pulumi.Any(compartmentId),
Duration: pulumi.Any(maintenanceWindowDuration),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(maintenanceWindowDescription),
DisplayName: pulumi.Any(maintenanceWindowDisplayName),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
IsOutage: pulumi.Any(maintenanceWindowIsOutage),
IsRecurring: pulumi.Any(maintenanceWindowIsRecurring),
MaintenanceWindowType: pulumi.Any(maintenanceWindowMaintenanceWindowType),
Recurrences: pulumi.Any(maintenanceWindowRecurrences),
TaskInitiationCutoff: pulumi.Any(maintenanceWindowTaskInitiationCutoff),
TimeScheduleStart: pulumi.Any(maintenanceWindowTimeScheduleStart),
})
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 testMaintenanceWindow = new Oci.FleetAppsManagement.MaintenanceWindow("test_maintenance_window", new()
{
CompartmentId = compartmentId,
Duration = maintenanceWindowDuration,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = maintenanceWindowDescription,
DisplayName = maintenanceWindowDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
IsOutage = maintenanceWindowIsOutage,
IsRecurring = maintenanceWindowIsRecurring,
MaintenanceWindowType = maintenanceWindowMaintenanceWindowType,
Recurrences = maintenanceWindowRecurrences,
TaskInitiationCutoff = maintenanceWindowTaskInitiationCutoff,
TimeScheduleStart = maintenanceWindowTimeScheduleStart,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.MaintenanceWindow;
import com.pulumi.oci.FleetAppsManagement.MaintenanceWindowArgs;
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 testMaintenanceWindow = new MaintenanceWindow("testMaintenanceWindow", MaintenanceWindowArgs.builder()
.compartmentId(compartmentId)
.duration(maintenanceWindowDuration)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(maintenanceWindowDescription)
.displayName(maintenanceWindowDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.isOutage(maintenanceWindowIsOutage)
.isRecurring(maintenanceWindowIsRecurring)
.maintenanceWindowType(maintenanceWindowMaintenanceWindowType)
.recurrences(maintenanceWindowRecurrences)
.taskInitiationCutoff(maintenanceWindowTaskInitiationCutoff)
.timeScheduleStart(maintenanceWindowTimeScheduleStart)
.build());
}
}
resources:
testMaintenanceWindow:
type: oci:FleetAppsManagement:MaintenanceWindow
name: test_maintenance_window
properties:
compartmentId: ${compartmentId}
duration: ${maintenanceWindowDuration}
definedTags:
foo-namespace.bar-key: value
description: ${maintenanceWindowDescription}
displayName: ${maintenanceWindowDisplayName}
freeformTags:
bar-key: value
isOutage: ${maintenanceWindowIsOutage}
isRecurring: ${maintenanceWindowIsRecurring}
maintenanceWindowType: ${maintenanceWindowMaintenanceWindowType}
recurrences: ${maintenanceWindowRecurrences}
taskInitiationCutoff: ${maintenanceWindowTaskInitiationCutoff}
timeScheduleStart: ${maintenanceWindowTimeScheduleStart}
Create MaintenanceWindow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MaintenanceWindow(name: string, args: MaintenanceWindowArgs, opts?: CustomResourceOptions);
@overload
def MaintenanceWindow(resource_name: str,
args: MaintenanceWindowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MaintenanceWindow(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
duration: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_outage: Optional[bool] = None,
is_recurring: Optional[bool] = None,
maintenance_window_type: Optional[str] = None,
recurrences: Optional[str] = None,
task_initiation_cutoff: Optional[int] = None,
time_schedule_start: Optional[str] = None)
func NewMaintenanceWindow(ctx *Context, name string, args MaintenanceWindowArgs, opts ...ResourceOption) (*MaintenanceWindow, error)
public MaintenanceWindow(string name, MaintenanceWindowArgs args, CustomResourceOptions? opts = null)
public MaintenanceWindow(String name, MaintenanceWindowArgs args)
public MaintenanceWindow(String name, MaintenanceWindowArgs args, CustomResourceOptions options)
type: oci:FleetAppsManagement:MaintenanceWindow
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 MaintenanceWindowArgs
- 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 MaintenanceWindowArgs
- 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 MaintenanceWindowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MaintenanceWindowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MaintenanceWindowArgs
- 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 maintenanceWindowResource = new Oci.FleetAppsManagement.MaintenanceWindow("maintenanceWindowResource", new()
{
CompartmentId = "string",
Duration = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
IsOutage = false,
IsRecurring = false,
MaintenanceWindowType = "string",
Recurrences = "string",
TaskInitiationCutoff = 0,
TimeScheduleStart = "string",
});
example, err := FleetAppsManagement.NewMaintenanceWindow(ctx, "maintenanceWindowResource", &FleetAppsManagement.MaintenanceWindowArgs{
CompartmentId: pulumi.String("string"),
Duration: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsOutage: pulumi.Bool(false),
IsRecurring: pulumi.Bool(false),
MaintenanceWindowType: pulumi.String("string"),
Recurrences: pulumi.String("string"),
TaskInitiationCutoff: pulumi.Int(0),
TimeScheduleStart: pulumi.String("string"),
})
var maintenanceWindowResource = new MaintenanceWindow("maintenanceWindowResource", MaintenanceWindowArgs.builder()
.compartmentId("string")
.duration("string")
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.isOutage(false)
.isRecurring(false)
.maintenanceWindowType("string")
.recurrences("string")
.taskInitiationCutoff(0)
.timeScheduleStart("string")
.build());
maintenance_window_resource = oci.fleet_apps_management.MaintenanceWindow("maintenanceWindowResource",
compartment_id="string",
duration="string",
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
is_outage=False,
is_recurring=False,
maintenance_window_type="string",
recurrences="string",
task_initiation_cutoff=0,
time_schedule_start="string")
const maintenanceWindowResource = new oci.fleetappsmanagement.MaintenanceWindow("maintenanceWindowResource", {
compartmentId: "string",
duration: "string",
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
isOutage: false,
isRecurring: false,
maintenanceWindowType: "string",
recurrences: "string",
taskInitiationCutoff: 0,
timeScheduleStart: "string",
});
type: oci:FleetAppsManagement:MaintenanceWindow
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
duration: string
freeformTags:
string: string
isOutage: false
isRecurring: false
maintenanceWindowType: string
recurrences: string
taskInitiationCutoff: 0
timeScheduleStart: string
MaintenanceWindow 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 MaintenanceWindow resource accepts the following input properties:
- Compartment
Id string - Tenancy OCID
- Duration string
- (Updatable) Duration if schedule type is Custom
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Outage bool - (Updatable) Does the maintenenace window cause outage?
- Is
Recurring bool - (Updatable) Is this is a recurring maintenance window
- Maintenance
Window stringType - (Updatable) Type of maintenenace window
- Recurrences string
- (Updatable) Recurrence rule specification if recurring
- Task
Initiation intCutoff - (Updatable) Task initiation cutoff
- Time
Schedule stringStart (Updatable) Start time of schedule
** 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
- Compartment
Id string - Tenancy OCID
- Duration string
- (Updatable) Duration if schedule type is Custom
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Outage bool - (Updatable) Does the maintenenace window cause outage?
- Is
Recurring bool - (Updatable) Is this is a recurring maintenance window
- Maintenance
Window stringType - (Updatable) Type of maintenenace window
- Recurrences string
- (Updatable) Recurrence rule specification if recurring
- Task
Initiation intCutoff - (Updatable) Task initiation cutoff
- Time
Schedule stringStart (Updatable) Start time of schedule
** 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
- compartment
Id String - Tenancy OCID
- duration String
- (Updatable) Duration if schedule type is Custom
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Outage Boolean - (Updatable) Does the maintenenace window cause outage?
- is
Recurring Boolean - (Updatable) Is this is a recurring maintenance window
- maintenance
Window StringType - (Updatable) Type of maintenenace window
- recurrences String
- (Updatable) Recurrence rule specification if recurring
- task
Initiation IntegerCutoff - (Updatable) Task initiation cutoff
- time
Schedule StringStart (Updatable) Start time of schedule
** 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
- compartment
Id string - Tenancy OCID
- duration string
- (Updatable) Duration if schedule type is Custom
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Outage boolean - (Updatable) Does the maintenenace window cause outage?
- is
Recurring boolean - (Updatable) Is this is a recurring maintenance window
- maintenance
Window stringType - (Updatable) Type of maintenenace window
- recurrences string
- (Updatable) Recurrence rule specification if recurring
- task
Initiation numberCutoff - (Updatable) Task initiation cutoff
- time
Schedule stringStart (Updatable) Start time of schedule
** 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
- compartment_
id str - Tenancy OCID
- duration str
- (Updatable) Duration if schedule type is Custom
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
outage bool - (Updatable) Does the maintenenace window cause outage?
- is_
recurring bool - (Updatable) Is this is a recurring maintenance window
- maintenance_
window_ strtype - (Updatable) Type of maintenenace window
- recurrences str
- (Updatable) Recurrence rule specification if recurring
- task_
initiation_ intcutoff - (Updatable) Task initiation cutoff
- time_
schedule_ strstart (Updatable) Start time of schedule
** 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
- compartment
Id String - Tenancy OCID
- duration String
- (Updatable) Duration if schedule type is Custom
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Outage Boolean - (Updatable) Does the maintenenace window cause outage?
- is
Recurring Boolean - (Updatable) Is this is a recurring maintenance window
- maintenance
Window StringType - (Updatable) Type of maintenenace window
- recurrences String
- (Updatable) Recurrence rule specification if recurring
- task
Initiation NumberCutoff - (Updatable) Task initiation cutoff
- time
Schedule StringStart (Updatable) Start time of schedule
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the MaintenanceWindow resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- State string
- The current state of the MaintenanceWindow.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- State string
- The current state of the MaintenanceWindow.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- state String
- The current state of the MaintenanceWindow.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region string - Associated region
- state string
- The current state of the MaintenanceWindow.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource_
region str - Associated region
- state str
- The current state of the MaintenanceWindow.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- state String
- The current state of the MaintenanceWindow.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Look up Existing MaintenanceWindow Resource
Get an existing MaintenanceWindow 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?: MaintenanceWindowState, opts?: CustomResourceOptions): MaintenanceWindow
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
duration: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_outage: Optional[bool] = None,
is_recurring: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
maintenance_window_type: Optional[str] = None,
recurrences: Optional[str] = None,
resource_region: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
task_initiation_cutoff: Optional[int] = None,
time_created: Optional[str] = None,
time_schedule_start: Optional[str] = None,
time_updated: Optional[str] = None) -> MaintenanceWindow
func GetMaintenanceWindow(ctx *Context, name string, id IDInput, state *MaintenanceWindowState, opts ...ResourceOption) (*MaintenanceWindow, error)
public static MaintenanceWindow Get(string name, Input<string> id, MaintenanceWindowState? state, CustomResourceOptions? opts = null)
public static MaintenanceWindow get(String name, Output<String> id, MaintenanceWindowState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - Tenancy OCID
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Duration string
- (Updatable) Duration if schedule type is Custom
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Outage bool - (Updatable) Does the maintenenace window cause outage?
- Is
Recurring bool - (Updatable) Is this is a recurring maintenance window
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Maintenance
Window stringType - (Updatable) Type of maintenenace window
- Recurrences string
- (Updatable) Recurrence rule specification if recurring
- Resource
Region string - Associated region
- State string
- The current state of the MaintenanceWindow.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Task
Initiation intCutoff - (Updatable) Task initiation cutoff
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Schedule stringStart (Updatable) Start time of schedule
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Compartment
Id string - Tenancy OCID
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Duration string
- (Updatable) Duration if schedule type is Custom
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Outage bool - (Updatable) Does the maintenenace window cause outage?
- Is
Recurring bool - (Updatable) Is this is a recurring maintenance window
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Maintenance
Window stringType - (Updatable) Type of maintenenace window
- Recurrences string
- (Updatable) Recurrence rule specification if recurring
- Resource
Region string - Associated region
- State string
- The current state of the MaintenanceWindow.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Task
Initiation intCutoff - (Updatable) Task initiation cutoff
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Schedule stringStart (Updatable) Start time of schedule
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment
Id String - Tenancy OCID
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- duration String
- (Updatable) Duration if schedule type is Custom
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Outage Boolean - (Updatable) Does the maintenenace window cause outage?
- is
Recurring Boolean - (Updatable) Is this is a recurring maintenance window
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- maintenance
Window StringType - (Updatable) Type of maintenenace window
- recurrences String
- (Updatable) Recurrence rule specification if recurring
- resource
Region String - Associated region
- state String
- The current state of the MaintenanceWindow.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task
Initiation IntegerCutoff - (Updatable) Task initiation cutoff
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Schedule StringStart (Updatable) Start time of schedule
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment
Id string - Tenancy OCID
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- duration string
- (Updatable) Duration if schedule type is Custom
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Outage boolean - (Updatable) Does the maintenenace window cause outage?
- is
Recurring boolean - (Updatable) Is this is a recurring maintenance window
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- maintenance
Window stringType - (Updatable) Type of maintenenace window
- recurrences string
- (Updatable) Recurrence rule specification if recurring
- resource
Region string - Associated region
- state string
- The current state of the MaintenanceWindow.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task
Initiation numberCutoff - (Updatable) Task initiation cutoff
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Schedule stringStart (Updatable) Start time of schedule
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment_
id str - Tenancy OCID
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- duration str
- (Updatable) Duration if schedule type is Custom
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
outage bool - (Updatable) Does the maintenenace window cause outage?
- is_
recurring bool - (Updatable) Is this is a recurring maintenance window
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- maintenance_
window_ strtype - (Updatable) Type of maintenenace window
- recurrences str
- (Updatable) Recurrence rule specification if recurring
- resource_
region str - Associated region
- state str
- The current state of the MaintenanceWindow.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task_
initiation_ intcutoff - (Updatable) Task initiation cutoff
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
schedule_ strstart (Updatable) Start time of schedule
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment
Id String - Tenancy OCID
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- duration String
- (Updatable) Duration if schedule type is Custom
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Outage Boolean - (Updatable) Does the maintenenace window cause outage?
- is
Recurring Boolean - (Updatable) Is this is a recurring maintenance window
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- maintenance
Window StringType - (Updatable) Type of maintenenace window
- recurrences String
- (Updatable) Recurrence rule specification if recurring
- resource
Region String - Associated region
- state String
- The current state of the MaintenanceWindow.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task
Initiation NumberCutoff - (Updatable) Task initiation cutoff
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Schedule StringStart (Updatable) Start time of schedule
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Import
MaintenanceWindows can be imported using the id
, e.g.
$ pulumi import oci:FleetAppsManagement/maintenanceWindow:MaintenanceWindow test_maintenance_window "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.