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",
    },
});
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",
    })
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
	})
}
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" },
        },
    });
});
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());
    }
}
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
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[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 string
- The unique name of the resource.
- args AtCustomerCccUpgradeScheduleArgs
- 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 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 string
- The unique name of the resource.
- args AtCustomerCccUpgradeScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AtCustomerCccUpgradeScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
    },
});
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"),
	},
})
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());
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",
    })
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",
    },
});
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
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 string
- (Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
- DisplayName string
- (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
- Events
List<AtCustomer Ccc Upgrade Schedule Event> 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- 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.
- 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 string
- (Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
- DisplayName string
- (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
- Events
[]AtCustomer Ccc Upgrade Schedule Event Args 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- 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.
- 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 String
- (Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
- displayName String
- (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
- events
List<AtCustomer Ccc Upgrade Schedule Event> 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- 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.
- 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 string
- (Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
- displayName string
- (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
- events
AtCustomer Ccc Upgrade Schedule Event[] 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- {[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.
- {[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 str
- (Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
- display_name str
- (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
- events
Sequence[AtCustomer Ccc Upgrade Schedule Event Args] 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- 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.
- 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 String
- (Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- {[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.
- 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.
- 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[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) -> AtCustomerCccUpgradeSchedulefunc 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- (Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
- 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<AtCustomer Ccc Upgrade Schedule Event> 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- 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.
- 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.
- 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
[]AtCustomer Ccc Upgrade Schedule Event Args 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- 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.
- 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.
- 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<AtCustomer Ccc Upgrade Schedule Event> 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- 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.
- 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.
- {[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
AtCustomer Ccc Upgrade Schedule Event[] 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- {[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.
- {[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.
- 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[AtCustomer Ccc Upgrade Schedule Event Args] 
- (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
- 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.
- 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.
- 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.
- 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.
- 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 string
- (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
- ScheduleEvent stringDuration 
- (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- TimeStart 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.
- ScheduleEvent stringRecurrences 
- (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 string
- (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
- ScheduleEvent stringDuration 
- (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- TimeStart 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.
- ScheduleEvent stringRecurrences 
- (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 String
- (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
- scheduleEvent StringDuration 
- (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- timeStart 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.
- scheduleEvent StringRecurrences 
- (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 string
- (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
- scheduleEvent stringDuration 
- (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- timeStart 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.
- scheduleEvent stringRecurrences 
- (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 str
- (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
- schedule_event_ strduration 
- (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- time_start 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_ strrecurrences 
- (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 String
- (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
- scheduleEvent StringDuration 
- (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- timeStart 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.
- scheduleEvent StringRecurrences 
- (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"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.