Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Core.getInstanceMaintenanceEvents
Explore with Pulumi AI
This data source provides the list of Instance Maintenance Events in Oracle Cloud Infrastructure Core service.
Gets a list of all the maintenance events for the given instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInstanceMaintenanceEvents = oci.Core.getInstanceMaintenanceEvents({
compartmentId: compartmentId,
correlationToken: instanceMaintenanceEventCorrelationToken,
instanceAction: instanceMaintenanceEventInstanceAction,
instanceId: testInstance.id,
state: instanceMaintenanceEventState,
timeWindowStartGreaterThanOrEqualTo: instanceMaintenanceEventTimeWindowStartGreaterThanOrEqualTo,
timeWindowStartLessThanOrEqualTo: instanceMaintenanceEventTimeWindowStartLessThanOrEqualTo,
});
import pulumi
import pulumi_oci as oci
test_instance_maintenance_events = oci.Core.get_instance_maintenance_events(compartment_id=compartment_id,
correlation_token=instance_maintenance_event_correlation_token,
instance_action=instance_maintenance_event_instance_action,
instance_id=test_instance["id"],
state=instance_maintenance_event_state,
time_window_start_greater_than_or_equal_to=instance_maintenance_event_time_window_start_greater_than_or_equal_to,
time_window_start_less_than_or_equal_to=instance_maintenance_event_time_window_start_less_than_or_equal_to)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.GetInstanceMaintenanceEvents(ctx, &core.GetInstanceMaintenanceEventsArgs{
CompartmentId: compartmentId,
CorrelationToken: pulumi.StringRef(instanceMaintenanceEventCorrelationToken),
InstanceAction: pulumi.StringRef(instanceMaintenanceEventInstanceAction),
InstanceId: pulumi.StringRef(testInstance.Id),
State: pulumi.StringRef(instanceMaintenanceEventState),
TimeWindowStartGreaterThanOrEqualTo: pulumi.StringRef(instanceMaintenanceEventTimeWindowStartGreaterThanOrEqualTo),
TimeWindowStartLessThanOrEqualTo: pulumi.StringRef(instanceMaintenanceEventTimeWindowStartLessThanOrEqualTo),
}, nil)
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 testInstanceMaintenanceEvents = Oci.Core.GetInstanceMaintenanceEvents.Invoke(new()
{
CompartmentId = compartmentId,
CorrelationToken = instanceMaintenanceEventCorrelationToken,
InstanceAction = instanceMaintenanceEventInstanceAction,
InstanceId = testInstance.Id,
State = instanceMaintenanceEventState,
TimeWindowStartGreaterThanOrEqualTo = instanceMaintenanceEventTimeWindowStartGreaterThanOrEqualTo,
TimeWindowStartLessThanOrEqualTo = instanceMaintenanceEventTimeWindowStartLessThanOrEqualTo,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetInstanceMaintenanceEventsArgs;
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) {
final var testInstanceMaintenanceEvents = CoreFunctions.getInstanceMaintenanceEvents(GetInstanceMaintenanceEventsArgs.builder()
.compartmentId(compartmentId)
.correlationToken(instanceMaintenanceEventCorrelationToken)
.instanceAction(instanceMaintenanceEventInstanceAction)
.instanceId(testInstance.id())
.state(instanceMaintenanceEventState)
.timeWindowStartGreaterThanOrEqualTo(instanceMaintenanceEventTimeWindowStartGreaterThanOrEqualTo)
.timeWindowStartLessThanOrEqualTo(instanceMaintenanceEventTimeWindowStartLessThanOrEqualTo)
.build());
}
}
variables:
testInstanceMaintenanceEvents:
fn::invoke:
Function: oci:Core:getInstanceMaintenanceEvents
Arguments:
compartmentId: ${compartmentId}
correlationToken: ${instanceMaintenanceEventCorrelationToken}
instanceAction: ${instanceMaintenanceEventInstanceAction}
instanceId: ${testInstance.id}
state: ${instanceMaintenanceEventState}
timeWindowStartGreaterThanOrEqualTo: ${instanceMaintenanceEventTimeWindowStartGreaterThanOrEqualTo}
timeWindowStartLessThanOrEqualTo: ${instanceMaintenanceEventTimeWindowStartLessThanOrEqualTo}
Using getInstanceMaintenanceEvents
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstanceMaintenanceEvents(args: GetInstanceMaintenanceEventsArgs, opts?: InvokeOptions): Promise<GetInstanceMaintenanceEventsResult>
function getInstanceMaintenanceEventsOutput(args: GetInstanceMaintenanceEventsOutputArgs, opts?: InvokeOptions): Output<GetInstanceMaintenanceEventsResult>
def get_instance_maintenance_events(compartment_id: Optional[str] = None,
correlation_token: Optional[str] = None,
filters: Optional[Sequence[_core.GetInstanceMaintenanceEventsFilter]] = None,
instance_action: Optional[str] = None,
instance_id: Optional[str] = None,
state: Optional[str] = None,
time_window_start_greater_than_or_equal_to: Optional[str] = None,
time_window_start_less_than_or_equal_to: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceMaintenanceEventsResult
def get_instance_maintenance_events_output(compartment_id: Optional[pulumi.Input[str]] = None,
correlation_token: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetInstanceMaintenanceEventsFilterArgs]]]] = None,
instance_action: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
time_window_start_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_window_start_less_than_or_equal_to: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceMaintenanceEventsResult]
func GetInstanceMaintenanceEvents(ctx *Context, args *GetInstanceMaintenanceEventsArgs, opts ...InvokeOption) (*GetInstanceMaintenanceEventsResult, error)
func GetInstanceMaintenanceEventsOutput(ctx *Context, args *GetInstanceMaintenanceEventsOutputArgs, opts ...InvokeOption) GetInstanceMaintenanceEventsResultOutput
> Note: This function is named GetInstanceMaintenanceEvents
in the Go SDK.
public static class GetInstanceMaintenanceEvents
{
public static Task<GetInstanceMaintenanceEventsResult> InvokeAsync(GetInstanceMaintenanceEventsArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceMaintenanceEventsResult> Invoke(GetInstanceMaintenanceEventsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceMaintenanceEventsResult> getInstanceMaintenanceEvents(GetInstanceMaintenanceEventsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getInstanceMaintenanceEvents:getInstanceMaintenanceEvents
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Correlation
Token string - A filter to only return resources that have a matching correlationToken.
- Filters
List<Get
Instance Maintenance Events Filter> - Instance
Action string - A filter to only return resources that match the given instance action.
- Instance
Id string - The OCID of the instance.
- State string
- A filter to only return resources that match the given lifecycle state.
- Time
Window stringStart Greater Than Or Equal To - Starting range to return the maintenances which are not completed (date-time is in RFC3339 format).
- Time
Window stringStart Less Than Or Equal To - Ending range to return the maintenances which are not completed (date-time is in RFC3339 format).
- Compartment
Id string - The OCID of the compartment.
- Correlation
Token string - A filter to only return resources that have a matching correlationToken.
- Filters
[]Get
Instance Maintenance Events Filter - Instance
Action string - A filter to only return resources that match the given instance action.
- Instance
Id string - The OCID of the instance.
- State string
- A filter to only return resources that match the given lifecycle state.
- Time
Window stringStart Greater Than Or Equal To - Starting range to return the maintenances which are not completed (date-time is in RFC3339 format).
- Time
Window stringStart Less Than Or Equal To - Ending range to return the maintenances which are not completed (date-time is in RFC3339 format).
- compartment
Id String - The OCID of the compartment.
- correlation
Token String - A filter to only return resources that have a matching correlationToken.
- filters
List<Get
Instance Maintenance Events Filter> - instance
Action String - A filter to only return resources that match the given instance action.
- instance
Id String - The OCID of the instance.
- state String
- A filter to only return resources that match the given lifecycle state.
- time
Window StringStart Greater Than Or Equal To - Starting range to return the maintenances which are not completed (date-time is in RFC3339 format).
- time
Window StringStart Less Than Or Equal To - Ending range to return the maintenances which are not completed (date-time is in RFC3339 format).
- compartment
Id string - The OCID of the compartment.
- correlation
Token string - A filter to only return resources that have a matching correlationToken.
- filters
Get
Instance Maintenance Events Filter[] - instance
Action string - A filter to only return resources that match the given instance action.
- instance
Id string - The OCID of the instance.
- state string
- A filter to only return resources that match the given lifecycle state.
- time
Window stringStart Greater Than Or Equal To - Starting range to return the maintenances which are not completed (date-time is in RFC3339 format).
- time
Window stringStart Less Than Or Equal To - Ending range to return the maintenances which are not completed (date-time is in RFC3339 format).
- compartment_
id str - The OCID of the compartment.
- correlation_
token str - A filter to only return resources that have a matching correlationToken.
- filters
Sequence[core.
Get Instance Maintenance Events Filter] - instance_
action str - A filter to only return resources that match the given instance action.
- instance_
id str - The OCID of the instance.
- state str
- A filter to only return resources that match the given lifecycle state.
- time_
window_ strstart_ greater_ than_ or_ equal_ to - Starting range to return the maintenances which are not completed (date-time is in RFC3339 format).
- time_
window_ strstart_ less_ than_ or_ equal_ to - Ending range to return the maintenances which are not completed (date-time is in RFC3339 format).
- compartment
Id String - The OCID of the compartment.
- correlation
Token String - A filter to only return resources that have a matching correlationToken.
- filters List<Property Map>
- instance
Action String - A filter to only return resources that match the given instance action.
- instance
Id String - The OCID of the instance.
- state String
- A filter to only return resources that match the given lifecycle state.
- time
Window StringStart Greater Than Or Equal To - Starting range to return the maintenances which are not completed (date-time is in RFC3339 format).
- time
Window StringStart Less Than Or Equal To - Ending range to return the maintenances which are not completed (date-time is in RFC3339 format).
getInstanceMaintenanceEvents Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Maintenance List<GetEvents Instance Maintenance Events Instance Maintenance Event> - The list of instance_maintenance_events.
- Correlation
Token string - A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
- Filters
List<Get
Instance Maintenance Events Filter> - Instance
Action string - This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
- Instance
Id string - The OCID of the instance.
- State string
- The current state of the maintenance event.
- Time
Window stringStart Greater Than Or Equal To - Time
Window stringStart Less Than Or Equal To
- Compartment
Id string - The OCID of the compartment that contains the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Maintenance []GetEvents Instance Maintenance Events Instance Maintenance Event - The list of instance_maintenance_events.
- Correlation
Token string - A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
- Filters
[]Get
Instance Maintenance Events Filter - Instance
Action string - This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
- Instance
Id string - The OCID of the instance.
- State string
- The current state of the maintenance event.
- Time
Window stringStart Greater Than Or Equal To - Time
Window stringStart Less Than Or Equal To
- compartment
Id String - The OCID of the compartment that contains the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Maintenance List<GetEvents Instance Maintenance Events Instance Maintenance Event> - The list of instance_maintenance_events.
- correlation
Token String - A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
- filters
List<Get
Instance Maintenance Events Filter> - instance
Action String - This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
- instance
Id String - The OCID of the instance.
- state String
- The current state of the maintenance event.
- time
Window StringStart Greater Than Or Equal To - time
Window StringStart Less Than Or Equal To
- compartment
Id string - The OCID of the compartment that contains the instance.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Maintenance GetEvents Instance Maintenance Events Instance Maintenance Event[] - The list of instance_maintenance_events.
- correlation
Token string - A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
- filters
Get
Instance Maintenance Events Filter[] - instance
Action string - This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
- instance
Id string - The OCID of the instance.
- state string
- The current state of the maintenance event.
- time
Window stringStart Greater Than Or Equal To - time
Window stringStart Less Than Or Equal To
- compartment_
id str - The OCID of the compartment that contains the instance.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
maintenance_ Sequence[core.events Get Instance Maintenance Events Instance Maintenance Event] - The list of instance_maintenance_events.
- correlation_
token str - A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
- filters
Sequence[core.
Get Instance Maintenance Events Filter] - instance_
action str - This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
- instance_
id str - The OCID of the instance.
- state str
- The current state of the maintenance event.
- time_
window_ strstart_ greater_ than_ or_ equal_ to - time_
window_ strstart_ less_ than_ or_ equal_ to
- compartment
Id String - The OCID of the compartment that contains the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Maintenance List<Property Map>Events - The list of instance_maintenance_events.
- correlation
Token String - A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
- filters List<Property Map>
- instance
Action String - This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
- instance
Id String - The OCID of the instance.
- state String
- The current state of the maintenance event.
- time
Window StringStart Greater Than Or Equal To - time
Window StringStart Less Than Or Equal To
Supporting Types
GetInstanceMaintenanceEventsFilter
GetInstanceMaintenanceEventsInstanceMaintenanceEvent
- Additional
Details Dictionary<string, string> - Additional details of the maintenance in the form of json.
- Alternative
Resolution stringAction - Alternative
Resolution List<string>Actions - These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
- Can
Delete boolLocal Storage - For Instances that have local storage, this field is set to true when local storage will be deleted as a result of the Maintenance.
- Can
Reschedule bool - Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
- Compartment
Id string - The OCID of the compartment.
- Correlation
Token string - A filter to only return resources that have a matching correlationToken.
- Created
By string - The creator of the maintenance event.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- It is the descriptive information about the maintenance taking place on the customer instance.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Estimated
Duration string - This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
- 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"}
- Id string
- The OCID of the maintenance event.
- Instance
Action string - A filter to only return resources that match the given instance action.
- Instance
Id string - The OCID of the instance.
- Instance
Maintenance stringEvent Id - Maintenance
Category string - This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the Instance Maintenance documentation for details.
- Maintenance
Reason string - This is the reason that Maintenance is being performed. See Instance Maintenance documentation for details.
- Start
Window stringDuration - The duration of the time window Maintenance is scheduled to begin within.
- State string
- A filter to only return resources that match the given lifecycle state.
- Time
Created string - The date and time the maintenance event was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Finished string - The time at which the Maintenance actually finished.
- Time
Hard stringDue Date - It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
- Time
Started string - The time at which the Maintenance actually started.
- Time
Window stringStart - The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
- Additional
Details map[string]string - Additional details of the maintenance in the form of json.
- Alternative
Resolution stringAction - Alternative
Resolution []stringActions - These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
- Can
Delete boolLocal Storage - For Instances that have local storage, this field is set to true when local storage will be deleted as a result of the Maintenance.
- Can
Reschedule bool - Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
- Compartment
Id string - The OCID of the compartment.
- Correlation
Token string - A filter to only return resources that have a matching correlationToken.
- Created
By string - The creator of the maintenance event.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- It is the descriptive information about the maintenance taking place on the customer instance.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Estimated
Duration string - This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
- 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"}
- Id string
- The OCID of the maintenance event.
- Instance
Action string - A filter to only return resources that match the given instance action.
- Instance
Id string - The OCID of the instance.
- Instance
Maintenance stringEvent Id - Maintenance
Category string - This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the Instance Maintenance documentation for details.
- Maintenance
Reason string - This is the reason that Maintenance is being performed. See Instance Maintenance documentation for details.
- Start
Window stringDuration - The duration of the time window Maintenance is scheduled to begin within.
- State string
- A filter to only return resources that match the given lifecycle state.
- Time
Created string - The date and time the maintenance event was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Finished string - The time at which the Maintenance actually finished.
- Time
Hard stringDue Date - It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
- Time
Started string - The time at which the Maintenance actually started.
- Time
Window stringStart - The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
- additional
Details Map<String,String> - Additional details of the maintenance in the form of json.
- alternative
Resolution StringAction - alternative
Resolution List<String>Actions - These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
- can
Delete BooleanLocal Storage - For Instances that have local storage, this field is set to true when local storage will be deleted as a result of the Maintenance.
- can
Reschedule Boolean - Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
- compartment
Id String - The OCID of the compartment.
- correlation
Token String - A filter to only return resources that have a matching correlationToken.
- created
By String - The creator of the maintenance event.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- It is the descriptive information about the maintenance taking place on the customer instance.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- estimated
Duration String - This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
- 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"}
- id String
- The OCID of the maintenance event.
- instance
Action String - A filter to only return resources that match the given instance action.
- instance
Id String - The OCID of the instance.
- instance
Maintenance StringEvent Id - maintenance
Category String - This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the Instance Maintenance documentation for details.
- maintenance
Reason String - This is the reason that Maintenance is being performed. See Instance Maintenance documentation for details.
- start
Window StringDuration - The duration of the time window Maintenance is scheduled to begin within.
- state String
- A filter to only return resources that match the given lifecycle state.
- time
Created String - The date and time the maintenance event was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Finished String - The time at which the Maintenance actually finished.
- time
Hard StringDue Date - It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
- time
Started String - The time at which the Maintenance actually started.
- time
Window StringStart - The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
- additional
Details {[key: string]: string} - Additional details of the maintenance in the form of json.
- alternative
Resolution stringAction - alternative
Resolution string[]Actions - These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
- can
Delete booleanLocal Storage - For Instances that have local storage, this field is set to true when local storage will be deleted as a result of the Maintenance.
- can
Reschedule boolean - Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
- compartment
Id string - The OCID of the compartment.
- correlation
Token string - A filter to only return resources that have a matching correlationToken.
- created
By string - The creator of the maintenance event.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description string
- It is the descriptive information about the maintenance taking place on the customer instance.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- estimated
Duration string - This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
- {[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"}
- id string
- The OCID of the maintenance event.
- instance
Action string - A filter to only return resources that match the given instance action.
- instance
Id string - The OCID of the instance.
- instance
Maintenance stringEvent Id - maintenance
Category string - This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the Instance Maintenance documentation for details.
- maintenance
Reason string - This is the reason that Maintenance is being performed. See Instance Maintenance documentation for details.
- start
Window stringDuration - The duration of the time window Maintenance is scheduled to begin within.
- state string
- A filter to only return resources that match the given lifecycle state.
- time
Created string - The date and time the maintenance event was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Finished string - The time at which the Maintenance actually finished.
- time
Hard stringDue Date - It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
- time
Started string - The time at which the Maintenance actually started.
- time
Window stringStart - The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
- additional_
details Mapping[str, str] - Additional details of the maintenance in the form of json.
- alternative_
resolution_ straction - alternative_
resolution_ Sequence[str]actions - These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
- can_
delete_ boollocal_ storage - For Instances that have local storage, this field is set to true when local storage will be deleted as a result of the Maintenance.
- can_
reschedule bool - Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
- compartment_
id str - The OCID of the compartment.
- correlation_
token str - A filter to only return resources that have a matching correlationToken.
- created_
by str - The creator of the maintenance event.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description str
- It is the descriptive information about the maintenance taking place on the customer instance.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- estimated_
duration str - This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
- 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"}
- id str
- The OCID of the maintenance event.
- instance_
action str - A filter to only return resources that match the given instance action.
- instance_
id str - The OCID of the instance.
- instance_
maintenance_ strevent_ id - maintenance_
category str - This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the Instance Maintenance documentation for details.
- maintenance_
reason str - This is the reason that Maintenance is being performed. See Instance Maintenance documentation for details.
- start_
window_ strduration - The duration of the time window Maintenance is scheduled to begin within.
- state str
- A filter to only return resources that match the given lifecycle state.
- time_
created str - The date and time the maintenance event was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time_
finished str - The time at which the Maintenance actually finished.
- time_
hard_ strdue_ date - It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
- time_
started str - The time at which the Maintenance actually started.
- time_
window_ strstart - The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
- additional
Details Map<String> - Additional details of the maintenance in the form of json.
- alternative
Resolution StringAction - alternative
Resolution List<String>Actions - These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
- can
Delete BooleanLocal Storage - For Instances that have local storage, this field is set to true when local storage will be deleted as a result of the Maintenance.
- can
Reschedule Boolean - Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
- compartment
Id String - The OCID of the compartment.
- correlation
Token String - A filter to only return resources that have a matching correlationToken.
- created
By String - The creator of the maintenance event.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- It is the descriptive information about the maintenance taking place on the customer instance.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- estimated
Duration String - This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
- 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"}
- id String
- The OCID of the maintenance event.
- instance
Action String - A filter to only return resources that match the given instance action.
- instance
Id String - The OCID of the instance.
- instance
Maintenance StringEvent Id - maintenance
Category String - This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the Instance Maintenance documentation for details.
- maintenance
Reason String - This is the reason that Maintenance is being performed. See Instance Maintenance documentation for details.
- start
Window StringDuration - The duration of the time window Maintenance is scheduled to begin within.
- state String
- A filter to only return resources that match the given lifecycle state.
- time
Created String - The date and time the maintenance event was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Finished String - The time at which the Maintenance actually finished.
- time
Hard StringDue Date - It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
- time
Started String - The time at which the Maintenance actually started.
- time
Window StringStart - The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.