1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ComputeCloud
  5. AtCustomerCccUpgradeSchedule
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.ComputeCloud.AtCustomerCccUpgradeSchedule

Explore with Pulumi AI

This resource provides the Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service.

Creates a new Compute Cloud@Customer upgrade schedule.

Example Usage

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

const testCccUpgradeSchedule = new oci.computecloud.AtCustomerCccUpgradeSchedule("test_ccc_upgrade_schedule", {
    compartmentId: compartmentId,
    displayName: cccUpgradeScheduleDisplayName,
    events: [{
        description: cccUpgradeScheduleEventsDescription,
        scheduleEventDuration: cccUpgradeScheduleEventsScheduleEventDuration,
        timeStart: cccUpgradeScheduleEventsTimeStart,
        scheduleEventRecurrences: cccUpgradeScheduleEventsScheduleEventRecurrences,
    }],
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: cccUpgradeScheduleDescription,
    freeformTags: {
        "bar-key": "value",
    },
});
Copy
import pulumi
import pulumi_oci as oci

test_ccc_upgrade_schedule = oci.compute_cloud.AtCustomerCccUpgradeSchedule("test_ccc_upgrade_schedule",
    compartment_id=compartment_id,
    display_name=ccc_upgrade_schedule_display_name,
    events=[{
        "description": ccc_upgrade_schedule_events_description,
        "schedule_event_duration": ccc_upgrade_schedule_events_schedule_event_duration,
        "time_start": ccc_upgrade_schedule_events_time_start,
        "schedule_event_recurrences": ccc_upgrade_schedule_events_schedule_event_recurrences,
    }],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=ccc_upgrade_schedule_description,
    freeform_tags={
        "bar-key": "value",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/computecloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := computecloud.NewAtCustomerCccUpgradeSchedule(ctx, "test_ccc_upgrade_schedule", &computecloud.AtCustomerCccUpgradeScheduleArgs{
			CompartmentId: pulumi.Any(compartmentId),
			DisplayName:   pulumi.Any(cccUpgradeScheduleDisplayName),
			Events: computecloud.AtCustomerCccUpgradeScheduleEventArray{
				&computecloud.AtCustomerCccUpgradeScheduleEventArgs{
					Description:              pulumi.Any(cccUpgradeScheduleEventsDescription),
					ScheduleEventDuration:    pulumi.Any(cccUpgradeScheduleEventsScheduleEventDuration),
					TimeStart:                pulumi.Any(cccUpgradeScheduleEventsTimeStart),
					ScheduleEventRecurrences: pulumi.Any(cccUpgradeScheduleEventsScheduleEventRecurrences),
				},
			},
			DefinedTags: pulumi.StringMap{
				"foo-namespace.bar-key": pulumi.String("value"),
			},
			Description: pulumi.Any(cccUpgradeScheduleDescription),
			FreeformTags: pulumi.StringMap{
				"bar-key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testCccUpgradeSchedule = new Oci.ComputeCloud.AtCustomerCccUpgradeSchedule("test_ccc_upgrade_schedule", new()
    {
        CompartmentId = compartmentId,
        DisplayName = cccUpgradeScheduleDisplayName,
        Events = new[]
        {
            new Oci.ComputeCloud.Inputs.AtCustomerCccUpgradeScheduleEventArgs
            {
                Description = cccUpgradeScheduleEventsDescription,
                ScheduleEventDuration = cccUpgradeScheduleEventsScheduleEventDuration,
                TimeStart = cccUpgradeScheduleEventsTimeStart,
                ScheduleEventRecurrences = cccUpgradeScheduleEventsScheduleEventRecurrences,
            },
        },
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = cccUpgradeScheduleDescription,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ComputeCloud.AtCustomerCccUpgradeSchedule;
import com.pulumi.oci.ComputeCloud.AtCustomerCccUpgradeScheduleArgs;
import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccUpgradeScheduleEventArgs;
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 testCccUpgradeSchedule = new AtCustomerCccUpgradeSchedule("testCccUpgradeSchedule", AtCustomerCccUpgradeScheduleArgs.builder()
            .compartmentId(compartmentId)
            .displayName(cccUpgradeScheduleDisplayName)
            .events(AtCustomerCccUpgradeScheduleEventArgs.builder()
                .description(cccUpgradeScheduleEventsDescription)
                .scheduleEventDuration(cccUpgradeScheduleEventsScheduleEventDuration)
                .timeStart(cccUpgradeScheduleEventsTimeStart)
                .scheduleEventRecurrences(cccUpgradeScheduleEventsScheduleEventRecurrences)
                .build())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(cccUpgradeScheduleDescription)
            .freeformTags(Map.of("bar-key", "value"))
            .build());

    }
}
Copy
resources:
  testCccUpgradeSchedule:
    type: oci:ComputeCloud:AtCustomerCccUpgradeSchedule
    name: test_ccc_upgrade_schedule
    properties:
      compartmentId: ${compartmentId}
      displayName: ${cccUpgradeScheduleDisplayName}
      events:
        - description: ${cccUpgradeScheduleEventsDescription}
          scheduleEventDuration: ${cccUpgradeScheduleEventsScheduleEventDuration}
          timeStart: ${cccUpgradeScheduleEventsTimeStart}
          scheduleEventRecurrences: ${cccUpgradeScheduleEventsScheduleEventRecurrences}
      definedTags:
        foo-namespace.bar-key: value
      description: ${cccUpgradeScheduleDescription}
      freeformTags:
        bar-key: value
Copy

Create AtCustomerCccUpgradeSchedule Resource

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

Constructor syntax

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

@overload
def AtCustomerCccUpgradeSchedule(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 compartment_id: Optional[str] = None,
                                 display_name: Optional[str] = None,
                                 events: Optional[Sequence[_computecloud.AtCustomerCccUpgradeScheduleEventArgs]] = None,
                                 defined_tags: Optional[Mapping[str, str]] = None,
                                 description: Optional[str] = None,
                                 freeform_tags: Optional[Mapping[str, str]] = None)
func NewAtCustomerCccUpgradeSchedule(ctx *Context, name string, args AtCustomerCccUpgradeScheduleArgs, opts ...ResourceOption) (*AtCustomerCccUpgradeSchedule, error)
public AtCustomerCccUpgradeSchedule(string name, AtCustomerCccUpgradeScheduleArgs args, CustomResourceOptions? opts = null)
public AtCustomerCccUpgradeSchedule(String name, AtCustomerCccUpgradeScheduleArgs args)
public AtCustomerCccUpgradeSchedule(String name, AtCustomerCccUpgradeScheduleArgs args, CustomResourceOptions options)
type: oci:ComputeCloud:AtCustomerCccUpgradeSchedule
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. AtCustomerCccUpgradeScheduleArgs
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. AtCustomerCccUpgradeScheduleArgs
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. AtCustomerCccUpgradeScheduleArgs
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. AtCustomerCccUpgradeScheduleArgs
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. AtCustomerCccUpgradeScheduleArgs
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 atCustomerCccUpgradeScheduleResource = new Oci.ComputeCloud.AtCustomerCccUpgradeSchedule("atCustomerCccUpgradeScheduleResource", new()
{
    CompartmentId = "string",
    DisplayName = "string",
    Events = new[]
    {
        new Oci.ComputeCloud.Inputs.AtCustomerCccUpgradeScheduleEventArgs
        {
            Description = "string",
            ScheduleEventDuration = "string",
            TimeStart = "string",
            Name = "string",
            ScheduleEventRecurrences = "string",
        },
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    Description = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := ComputeCloud.NewAtCustomerCccUpgradeSchedule(ctx, "atCustomerCccUpgradeScheduleResource", &ComputeCloud.AtCustomerCccUpgradeScheduleArgs{
	CompartmentId: pulumi.String("string"),
	DisplayName:   pulumi.String("string"),
	Events: computecloud.AtCustomerCccUpgradeScheduleEventArray{
		&computecloud.AtCustomerCccUpgradeScheduleEventArgs{
			Description:              pulumi.String("string"),
			ScheduleEventDuration:    pulumi.String("string"),
			TimeStart:                pulumi.String("string"),
			Name:                     pulumi.String("string"),
			ScheduleEventRecurrences: pulumi.String("string"),
		},
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var atCustomerCccUpgradeScheduleResource = new AtCustomerCccUpgradeSchedule("atCustomerCccUpgradeScheduleResource", AtCustomerCccUpgradeScheduleArgs.builder()
    .compartmentId("string")
    .displayName("string")
    .events(AtCustomerCccUpgradeScheduleEventArgs.builder()
        .description("string")
        .scheduleEventDuration("string")
        .timeStart("string")
        .name("string")
        .scheduleEventRecurrences("string")
        .build())
    .definedTags(Map.of("string", "string"))
    .description("string")
    .freeformTags(Map.of("string", "string"))
    .build());
Copy
at_customer_ccc_upgrade_schedule_resource = oci.compute_cloud.AtCustomerCccUpgradeSchedule("atCustomerCccUpgradeScheduleResource",
    compartment_id="string",
    display_name="string",
    events=[{
        "description": "string",
        "schedule_event_duration": "string",
        "time_start": "string",
        "name": "string",
        "schedule_event_recurrences": "string",
    }],
    defined_tags={
        "string": "string",
    },
    description="string",
    freeform_tags={
        "string": "string",
    })
Copy
const atCustomerCccUpgradeScheduleResource = new oci.computecloud.AtCustomerCccUpgradeSchedule("atCustomerCccUpgradeScheduleResource", {
    compartmentId: "string",
    displayName: "string",
    events: [{
        description: "string",
        scheduleEventDuration: "string",
        timeStart: "string",
        name: "string",
        scheduleEventRecurrences: "string",
    }],
    definedTags: {
        string: "string",
    },
    description: "string",
    freeformTags: {
        string: "string",
    },
});
Copy
type: oci:ComputeCloud:AtCustomerCccUpgradeSchedule
properties:
    compartmentId: string
    definedTags:
        string: string
    description: string
    displayName: string
    events:
        - description: string
          name: string
          scheduleEventDuration: string
          scheduleEventRecurrences: string
          timeStart: string
    freeformTags:
        string: string
Copy

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

CompartmentId This property is required. string
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
DisplayName This property is required. string
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
Events This property is required. List<AtCustomerCccUpgradeScheduleEvent>
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
DefinedTags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
FreeformTags 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"}

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

CompartmentId This property is required. string
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
DisplayName This property is required. string
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
Events This property is required. []AtCustomerCccUpgradeScheduleEventArgs
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
DefinedTags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
FreeformTags 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"}

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

compartmentId This property is required. String
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
displayName This property is required. String
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
events This property is required. List<AtCustomerCccUpgradeScheduleEvent>
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
definedTags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
freeformTags 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"}

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

compartmentId This property is required. string
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
displayName This property is required. string
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
events This property is required. AtCustomerCccUpgradeScheduleEvent[]
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
definedTags {[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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
freeformTags {[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"}

** 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 This property is required. str
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
display_name This property is required. str
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
events This property is required. Sequence[computecloud.AtCustomerCccUpgradeScheduleEventArgs]
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
defined_tags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
freeform_tags 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"}

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

compartmentId This property is required. String
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
displayName This property is required. String
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
events This property is required. List<Property Map>
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
definedTags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
freeformTags 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"}

** 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 AtCustomerCccUpgradeSchedule resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
InfrastructureIds List<string>
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
LifecycleDetails string
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
State string
Lifecycle state of the resource.
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
TimeUpdated string
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
Id string
The provider-assigned unique ID for this managed resource.
InfrastructureIds []string
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
LifecycleDetails string
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
State string
Lifecycle state of the resource.
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
TimeUpdated string
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
id String
The provider-assigned unique ID for this managed resource.
infrastructureIds List<String>
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
lifecycleDetails String
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
state String
Lifecycle state of the resource.
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
timeUpdated String
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
id string
The provider-assigned unique ID for this managed resource.
infrastructureIds string[]
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
lifecycleDetails string
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
state string
Lifecycle state of the resource.
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
timeUpdated string
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
id str
The provider-assigned unique ID for this managed resource.
infrastructure_ids Sequence[str]
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
lifecycle_details str
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
state str
Lifecycle state of the resource.
system_tags 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 the upgrade schedule was created, using an RFC3339 formatted datetime string.
time_updated str
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
id String
The provider-assigned unique ID for this managed resource.
infrastructureIds List<String>
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
lifecycleDetails String
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
state String
Lifecycle state of the resource.
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
timeUpdated String
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.

Look up Existing AtCustomerCccUpgradeSchedule Resource

Get an existing AtCustomerCccUpgradeSchedule 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?: AtCustomerCccUpgradeScheduleState, opts?: CustomResourceOptions): AtCustomerCccUpgradeSchedule
@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,
        events: Optional[Sequence[_computecloud.AtCustomerCccUpgradeScheduleEventArgs]] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        infrastructure_ids: Optional[Sequence[str]] = None,
        lifecycle_details: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> AtCustomerCccUpgradeSchedule
func GetAtCustomerCccUpgradeSchedule(ctx *Context, name string, id IDInput, state *AtCustomerCccUpgradeScheduleState, opts ...ResourceOption) (*AtCustomerCccUpgradeSchedule, error)
public static AtCustomerCccUpgradeSchedule Get(string name, Input<string> id, AtCustomerCccUpgradeScheduleState? state, CustomResourceOptions? opts = null)
public static AtCustomerCccUpgradeSchedule get(String name, Output<String> id, AtCustomerCccUpgradeScheduleState state, CustomResourceOptions options)
resources:  _:    type: oci:ComputeCloud:AtCustomerCccUpgradeSchedule    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
DefinedTags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
DisplayName string
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
Events List<AtCustomerCccUpgradeScheduleEvent>
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
FreeformTags 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"}

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

InfrastructureIds List<string>
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
LifecycleDetails string
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
State string
Lifecycle state of the resource.
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
TimeUpdated string
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
CompartmentId string
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
DefinedTags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
DisplayName string
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
Events []AtCustomerCccUpgradeScheduleEventArgs
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
FreeformTags 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"}

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

InfrastructureIds []string
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
LifecycleDetails string
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
State string
Lifecycle state of the resource.
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
TimeUpdated string
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
compartmentId String
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
definedTags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
displayName String
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
events List<AtCustomerCccUpgradeScheduleEvent>
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
freeformTags 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"}

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

infrastructureIds List<String>
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
lifecycleDetails String
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
state String
Lifecycle state of the resource.
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
timeUpdated String
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
compartmentId string
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
definedTags {[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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
displayName string
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
events AtCustomerCccUpgradeScheduleEvent[]
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
freeformTags {[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"}

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

infrastructureIds string[]
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
lifecycleDetails string
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
state string
Lifecycle state of the resource.
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
timeUpdated string
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
compartment_id str
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
defined_tags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
display_name str
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
events Sequence[computecloud.AtCustomerCccUpgradeScheduleEventArgs]
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
freeform_tags 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"}

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

infrastructure_ids Sequence[str]
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
lifecycle_details str
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
state str
Lifecycle state of the resource.
system_tags 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 the upgrade schedule was created, using an RFC3339 formatted datetime string.
time_updated str
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
compartmentId String
(Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
definedTags 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) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
displayName String
(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
events List<Property Map>
(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
freeformTags 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"}

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

infrastructureIds List<String>
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
lifecycleDetails String
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
state String
Lifecycle state of the resource.
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
timeUpdated String
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.

Supporting Types

AtCustomerCccUpgradeScheduleEvent
, AtCustomerCccUpgradeScheduleEventArgs

Description This property is required. string
(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
ScheduleEventDuration This property is required. string
(Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
TimeStart This property is required. string
(Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.
Name string
Generated name associated with the event.
ScheduleEventRecurrences string
(Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.
Description This property is required. string
(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
ScheduleEventDuration This property is required. string
(Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
TimeStart This property is required. string
(Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.
Name string
Generated name associated with the event.
ScheduleEventRecurrences string
(Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.
description This property is required. String
(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
scheduleEventDuration This property is required. String
(Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
timeStart This property is required. String
(Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.
name String
Generated name associated with the event.
scheduleEventRecurrences String
(Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.
description This property is required. string
(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
scheduleEventDuration This property is required. string
(Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
timeStart This property is required. string
(Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.
name string
Generated name associated with the event.
scheduleEventRecurrences string
(Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.
description This property is required. str
(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
schedule_event_duration This property is required. str
(Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
time_start This property is required. str
(Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.
name str
Generated name associated with the event.
schedule_event_recurrences str
(Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.
description This property is required. String
(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
scheduleEventDuration This property is required. String
(Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
timeStart This property is required. String
(Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.
name String
Generated name associated with the event.
scheduleEventRecurrences String
(Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.

Import

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

$ pulumi import oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule test_ccc_upgrade_schedule "id"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.