Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.ComputeCloud.getAtCustomerCccUpgradeSchedule
Explore with Pulumi AI
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: testCccUpgradeScheduleOciComputeCloudAtCustomerCccUpgradeSchedule.id,
});
import pulumi
import pulumi_oci as oci
test_ccc_upgrade_schedule = oci.ComputeCloud.get_at_customer_ccc_upgrade_schedule(ccc_upgrade_schedule_id=test_ccc_upgrade_schedule_oci_compute_cloud_at_customer_ccc_upgrade_schedule["id"])
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.GetAtCustomerCccUpgradeSchedule(ctx, &computecloud.GetAtCustomerCccUpgradeScheduleArgs{
			CccUpgradeScheduleId: testCccUpgradeScheduleOciComputeCloudAtCustomerCccUpgradeSchedule.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 = testCccUpgradeScheduleOciComputeCloudAtCustomerCccUpgradeSchedule.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(testCccUpgradeScheduleOciComputeCloudAtCustomerCccUpgradeSchedule.id())
            .build());
    }
}
variables:
  testCccUpgradeSchedule:
    fn::invoke:
      Function: oci:ComputeCloud:getAtCustomerCccUpgradeSchedule
      Arguments:
        cccUpgradeScheduleId: ${testCccUpgradeScheduleOciComputeCloudAtCustomerCccUpgradeSchedule.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 dictionaryThe following arguments are supported:
- CccUpgrade stringSchedule Id 
- Compute Cloud@Customer upgrade schedule OCID.
- CccUpgrade stringSchedule Id 
- Compute Cloud@Customer upgrade schedule OCID.
- cccUpgrade StringSchedule Id 
- Compute Cloud@Customer upgrade schedule OCID.
- cccUpgrade stringSchedule Id 
- Compute Cloud@Customer upgrade schedule OCID.
- ccc_upgrade_ strschedule_ id 
- Compute Cloud@Customer upgrade schedule OCID.
- cccUpgrade StringSchedule Id 
- Compute Cloud@Customer upgrade schedule OCID.
getAtCustomerCccUpgradeSchedule Result
The following output properties are available:
- CccUpgrade stringSchedule Id 
- CompartmentId string
- Compartment OCID for the Compute Cloud@Customer upgrade schedule.
- Dictionary<string, string>
- 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<GetAt Customer Ccc Upgrade Schedule Event> 
- List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
- Dictionary<string, string>
- 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.
- 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.
- CccUpgrade stringSchedule Id 
- CompartmentId string
- Compartment OCID for the Compute Cloud@Customer upgrade schedule.
- map[string]string
- 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
[]GetAt Customer Ccc Upgrade Schedule Event 
- List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
- map[string]string
- 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.
- 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.
- cccUpgrade StringSchedule Id 
- compartmentId String
- Compartment OCID for the Compute Cloud@Customer upgrade schedule.
- Map<String,String>
- 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<GetAt Customer Ccc Upgrade Schedule Event> 
- List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
- Map<String,String>
- 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.
- 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.
- cccUpgrade stringSchedule Id 
- compartmentId string
- Compartment OCID for the Compute Cloud@Customer upgrade schedule.
- {[key: string]: string}
- 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
GetAt Customer Ccc Upgrade Schedule Event[] 
- List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
- {[key: string]: string}
- 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.
- {[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.
- ccc_upgrade_ strschedule_ id 
- compartment_id str
- Compartment OCID for the Compute Cloud@Customer upgrade schedule.
- Mapping[str, str]
- 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.Get At Customer Ccc Upgrade Schedule Event] 
- List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
- Mapping[str, str]
- 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.
- 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.
- cccUpgrade StringSchedule Id 
- compartmentId String
- Compartment OCID for the Compute Cloud@Customer upgrade schedule.
- Map<String>
- 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.
- Map<String>
- 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.
- 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
GetAtCustomerCccUpgradeScheduleEvent      
- Description string
- A description of the Compute Cloud@Customer upgrade schedule time block.
- Name string
- Generated name associated with the event.
- ScheduleEvent stringDuration 
- The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- ScheduleEvent stringRecurrences 
- 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.
- ScheduleEvent stringDuration 
- The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- ScheduleEvent stringRecurrences 
- 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.
- scheduleEvent StringDuration 
- The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- scheduleEvent StringRecurrences 
- 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.
- scheduleEvent stringDuration 
- The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- scheduleEvent stringRecurrences 
- 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_ strduration 
- The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- schedule_event_ strrecurrences 
- 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.
- scheduleEvent StringDuration 
- The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- scheduleEvent StringRecurrences 
- 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 ociTerraform Provider.