Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 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 dictionary
The following arguments are supported:
- Ccc
Upgrade stringSchedule Id - Compute Cloud@Customer upgrade schedule OCID.
- Ccc
Upgrade stringSchedule Id - Compute Cloud@Customer upgrade schedule OCID.
- ccc
Upgrade StringSchedule Id - Compute Cloud@Customer upgrade schedule OCID.
- ccc
Upgrade stringSchedule Id - Compute Cloud@Customer upgrade schedule OCID.
- ccc_
upgrade_ strschedule_ id - Compute Cloud@Customer upgrade schedule OCID.
- ccc
Upgrade StringSchedule Id - Compute Cloud@Customer upgrade schedule OCID.
getAtCustomerCccUpgradeSchedule Result
The following output properties are available:
- Ccc
Upgrade stringSchedule Id - Compartment
Id 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.
- Display
Name string - Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
- Events
List<Get
At 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.
- Infrastructure
Ids List<string> - List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
- Lifecycle
Details 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"}
- Time
Created string - The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
- Time
Updated string - The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
- Ccc
Upgrade stringSchedule Id - Compartment
Id 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.
- Display
Name string - Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
- Events
[]Get
At 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.
- Infrastructure
Ids []string - List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
- Lifecycle
Details 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"}
- Time
Created string - The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
- Time
Updated string - The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
- ccc
Upgrade StringSchedule Id - compartment
Id 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.
- display
Name String - Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
- events
List<Get
At 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.
- infrastructure
Ids List<String> - List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
- lifecycle
Details 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"}
- time
Created String - The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
- time
Updated String - The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
- ccc
Upgrade stringSchedule Id - compartment
Id 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.
- display
Name string - Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
- events
Get
At 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.
- infrastructure
Ids string[] - List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
- lifecycle
Details 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"}
- time
Created string - The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
- time
Updated 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.
- ccc
Upgrade StringSchedule Id - compartment
Id 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.
- display
Name 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.
- infrastructure
Ids List<String> - List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
- lifecycle
Details 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"}
- time
Created String - The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
- time
Updated 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.
- Schedule
Event stringDuration - The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- Schedule
Event 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.
- Time
Start 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.
- Schedule
Event stringDuration - The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- Schedule
Event 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.
- Time
Start 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.
- schedule
Event StringDuration - The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- schedule
Event 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.
- time
Start 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.
- schedule
Event stringDuration - The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- schedule
Event 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.
- time
Start 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.
- schedule
Event StringDuration - The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.
- schedule
Event 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.
- time
Start 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.