1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ComputeCloud
  5. getAtCustomerCccUpgradeSchedule
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.ComputeCloud.getAtCustomerCccUpgradeSchedule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service.

    Gets a Compute Cloud@Customer upgrade schedule by the specified OCID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testCccUpgradeSchedule = oci.ComputeCloud.getAtCustomerCccUpgradeSchedule({
        cccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_ccc_upgrade_schedule = oci.ComputeCloud.get_at_customer_ccc_upgrade_schedule(ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule["test_ccc_upgrade_schedule"]["id"])
    
    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.GetAtCustomerCccUpgradeSchedule(ctx, &computecloud.GetAtCustomerCccUpgradeScheduleArgs{
    			CccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testCccUpgradeSchedule = Oci.ComputeCloud.GetAtCustomerCccUpgradeSchedule.Invoke(new()
        {
            CccUpgradeScheduleId = oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions;
    import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeScheduleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testCccUpgradeSchedule = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedule(GetAtCustomerCccUpgradeScheduleArgs.builder()
                .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id())
                .build());
    
        }
    }
    
    variables:
      testCccUpgradeSchedule:
        fn::invoke:
          Function: oci:ComputeCloud:getAtCustomerCccUpgradeSchedule
          Arguments:
            cccUpgradeScheduleId: ${oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id}
    

    Using getAtCustomerCccUpgradeSchedule

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAtCustomerCccUpgradeSchedule(args: GetAtCustomerCccUpgradeScheduleArgs, opts?: InvokeOptions): Promise<GetAtCustomerCccUpgradeScheduleResult>
    function getAtCustomerCccUpgradeScheduleOutput(args: GetAtCustomerCccUpgradeScheduleOutputArgs, opts?: InvokeOptions): Output<GetAtCustomerCccUpgradeScheduleResult>
    def get_at_customer_ccc_upgrade_schedule(ccc_upgrade_schedule_id: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetAtCustomerCccUpgradeScheduleResult
    def get_at_customer_ccc_upgrade_schedule_output(ccc_upgrade_schedule_id: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetAtCustomerCccUpgradeScheduleResult]
    func GetAtCustomerCccUpgradeSchedule(ctx *Context, args *GetAtCustomerCccUpgradeScheduleArgs, opts ...InvokeOption) (*GetAtCustomerCccUpgradeScheduleResult, error)
    func GetAtCustomerCccUpgradeScheduleOutput(ctx *Context, args *GetAtCustomerCccUpgradeScheduleOutputArgs, opts ...InvokeOption) GetAtCustomerCccUpgradeScheduleResultOutput

    > Note: This function is named GetAtCustomerCccUpgradeSchedule in the Go SDK.

    public static class GetAtCustomerCccUpgradeSchedule 
    {
        public static Task<GetAtCustomerCccUpgradeScheduleResult> InvokeAsync(GetAtCustomerCccUpgradeScheduleArgs args, InvokeOptions? opts = null)
        public static Output<GetAtCustomerCccUpgradeScheduleResult> Invoke(GetAtCustomerCccUpgradeScheduleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAtCustomerCccUpgradeScheduleResult> getAtCustomerCccUpgradeSchedule(GetAtCustomerCccUpgradeScheduleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CccUpgradeScheduleId string
    Compute Cloud@Customer upgrade schedule OCID.
    CccUpgradeScheduleId string
    Compute Cloud@Customer upgrade schedule OCID.
    cccUpgradeScheduleId String
    Compute Cloud@Customer upgrade schedule OCID.
    cccUpgradeScheduleId string
    Compute Cloud@Customer upgrade schedule OCID.
    ccc_upgrade_schedule_id str
    Compute Cloud@Customer upgrade schedule OCID.
    cccUpgradeScheduleId String
    Compute Cloud@Customer upgrade schedule OCID.

    getAtCustomerCccUpgradeSchedule Result

    The following output properties are available:

    CccUpgradeScheduleId string
    CompartmentId string
    Compartment OCID for the Compute Cloud@Customer upgrade schedule.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    A description of the Compute Cloud@Customer upgrade schedule time block.
    DisplayName string
    Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
    Events List<GetAtCustomerCccUpgradeScheduleEvent>
    List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Upgrade schedule OCID. This cannot be changed once created.
    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.
    CccUpgradeScheduleId string
    CompartmentId string
    Compartment OCID for the Compute Cloud@Customer upgrade schedule.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    A description of the Compute Cloud@Customer upgrade schedule time block.
    DisplayName string
    Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
    Events []GetAtCustomerCccUpgradeScheduleEvent
    List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Upgrade schedule OCID. This cannot be changed once created.
    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.
    cccUpgradeScheduleId String
    compartmentId String
    Compartment OCID for the Compute Cloud@Customer upgrade schedule.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    A description of the Compute Cloud@Customer upgrade schedule time block.
    displayName String
    Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
    events List<GetAtCustomerCccUpgradeScheduleEvent>
    List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Upgrade schedule OCID. This cannot be changed once created.
    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.
    cccUpgradeScheduleId string
    compartmentId string
    Compartment OCID for the Compute Cloud@Customer upgrade schedule.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    A description of the Compute Cloud@Customer upgrade schedule time block.
    displayName string
    Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
    events GetAtCustomerCccUpgradeScheduleEvent[]
    List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    Upgrade schedule OCID. This cannot be changed once created.
    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.
    ccc_upgrade_schedule_id str
    compartment_id str
    Compartment OCID for the Compute Cloud@Customer upgrade schedule.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    A description of the Compute Cloud@Customer upgrade schedule time block.
    display_name str
    Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
    events Sequence[computecloud.GetAtCustomerCccUpgradeScheduleEvent]
    List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    Upgrade schedule OCID. This cannot be changed once created.
    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.
    cccUpgradeScheduleId String
    compartmentId String
    Compartment OCID for the Compute Cloud@Customer upgrade schedule.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    A description of the Compute Cloud@Customer upgrade schedule time block.
    displayName String
    Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
    events List<Property Map>
    List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Upgrade schedule OCID. This cannot be changed once created.
    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

    GetAtCustomerCccUpgradeScheduleEvent

    Description string
    A description of the Compute Cloud@Customer upgrade schedule time block.
    Name string
    Generated name associated with the event.
    ScheduleEventDuration string
    The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
    ScheduleEventRecurrences string
    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.
    TimeStart string
    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.
    Description string
    A description of the Compute Cloud@Customer upgrade schedule time block.
    Name string
    Generated name associated with the event.
    ScheduleEventDuration string
    The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
    ScheduleEventRecurrences string
    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.
    TimeStart string
    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.
    description String
    A description of the Compute Cloud@Customer upgrade schedule time block.
    name String
    Generated name associated with the event.
    scheduleEventDuration String
    The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
    scheduleEventRecurrences String
    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.
    timeStart String
    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.
    description string
    A description of the Compute Cloud@Customer upgrade schedule time block.
    name string
    Generated name associated with the event.
    scheduleEventDuration string
    The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
    scheduleEventRecurrences string
    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.
    timeStart string
    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.
    description str
    A description of the Compute Cloud@Customer upgrade schedule time block.
    name str
    Generated name associated with the event.
    schedule_event_duration str
    The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
    schedule_event_recurrences str
    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.
    time_start str
    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.
    description String
    A description of the Compute Cloud@Customer upgrade schedule time block.
    name String
    Generated name associated with the event.
    scheduleEventDuration String
    The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
    scheduleEventRecurrences String
    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.
    timeStart String
    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.

    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.32.0 published on Thursday, Apr 18, 2024 by Pulumi