1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ComputeCloud
  5. AtCustomerCccUpgradeSchedule
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.ComputeCloud.AtCustomerCccUpgradeSchedule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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=[oci.compute_cloud.AtCustomerCccUpgradeScheduleEventArgs(
            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/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.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			Description: pulumi.Any(cccUpgradeScheduleDescription),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("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[_computecloud.AtCustomerCccUpgradeScheduleEventArgs]] = None,
                                     defined_tags: Optional[Mapping[str, Any]] = None,
                                     description: Optional[str] = None,
                                     freeform_tags: Optional[Mapping[str, Any]] = 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", "any" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    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.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    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", "any"))
        .description("string")
        .freeformTags(Map.of("string", "any"))
        .build());
    
    at_customer_ccc_upgrade_schedule_resource = oci.compute_cloud.AtCustomerCccUpgradeSchedule("atCustomerCccUpgradeScheduleResource",
        compartment_id="string",
        display_name="string",
        events=[oci.compute_cloud.AtCustomerCccUpgradeScheduleEventArgs(
            description="string",
            schedule_event_duration="string",
            time_start="string",
            name="string",
            schedule_event_recurrences="string",
        )],
        defined_tags={
            "string": "any",
        },
        description="string",
        freeform_tags={
            "string": "any",
        })
    
    const atCustomerCccUpgradeScheduleResource = new oci.computecloud.AtCustomerCccUpgradeSchedule("atCustomerCccUpgradeScheduleResource", {
        compartmentId: "string",
        displayName: "string",
        events: [{
            description: "string",
            scheduleEventDuration: "string",
            timeStart: "string",
            name: "string",
            scheduleEventRecurrences: "string",
        }],
        definedTags: {
            string: "any",
        },
        description: "string",
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:ComputeCloud:AtCustomerCccUpgradeSchedule
    properties:
        compartmentId: string
        definedTags:
            string: any
        description: string
        displayName: string
        events:
            - description: string
              name: string
              scheduleEventDuration: string
              scheduleEventRecurrences: string
              timeStart: string
        freeformTags:
            string: any
    

    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

    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<AtCustomerCccUpgradeScheduleEvent>
    (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
    DefinedTags Dictionary<string, object>
    (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, object>

    (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 []AtCustomerCccUpgradeScheduleEventArgs
    (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
    DefinedTags map[string]interface{}
    (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]interface{}

    (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<AtCustomerCccUpgradeScheduleEvent>
    (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
    definedTags Map<String,Object>
    (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,Object>

    (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 AtCustomerCccUpgradeScheduleEvent[]
    (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
    definedTags {[key: string]: any}
    (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]: any}

    (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[computecloud.AtCustomerCccUpgradeScheduleEventArgs]
    (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
    defined_tags Mapping[str, Any]
    (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, Any]

    (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.
    definedTags Map<Any>
    (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<Any>

    (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, object>
    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]interface{}
    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,Object>
    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]: any}
    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, Any]
    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<Any>
    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, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            events: Optional[Sequence[_computecloud.AtCustomerCccUpgradeScheduleEventArgs]] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            infrastructure_ids: Optional[Sequence[str]] = None,
            lifecycle_details: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) Compartment OCID for the Compute Cloud@Customer Upgrade Schedule.
    DefinedTags Dictionary<string, object>
    (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, object>

    (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, object>
    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]interface{}
    (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]interface{}

    (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]interface{}
    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,Object>
    (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,Object>

    (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,Object>
    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]: any}
    (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]: any}

    (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]: any}
    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, Any]
    (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, Any]

    (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, Any]
    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<Any>
    (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<Any>

    (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<Any>
    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.
    ScheduleEventDuration string
    (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.
    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 string
    (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
    ScheduleEventDuration string
    (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.
    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 String
    (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
    scheduleEventDuration String
    (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.
    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 string
    (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
    scheduleEventDuration string
    (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.
    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 str
    (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
    schedule_event_duration 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 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 String
    (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.
    scheduleEventDuration String
    (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.
    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"
    

    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.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi