import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/compute-cloud-at-customer/latest/CccInfrastructure * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/computecloudatcustomer * * Creates a Compute Cloud@Customer infrastructure. Once created, Oracle Services * must connect the rack in the data center to this Oracle Cloud Infrastructure resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCccInfrastructure = new oci.computecloud.AtCustomerCccInfrastructure("test_ccc_infrastructure", { * compartmentId: compartmentId, * displayName: cccInfrastructureDisplayName, * subnetId: testSubnet.id, * cccUpgradeScheduleId: testCccUpgradeSchedule.id, * connectionDetails: cccInfrastructureConnectionDetails, * connectionState: cccInfrastructureConnectionState, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: cccInfrastructureDescription, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * CccInfrastructures can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure test_ccc_infrastructure "id" * ``` */ export declare class AtCustomerCccInfrastructure extends pulumi.CustomResource { /** * Get an existing AtCustomerCccInfrastructure resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AtCustomerCccInfrastructureState, opts?: pulumi.CustomResourceOptions): AtCustomerCccInfrastructure; /** * Returns true if the given object is an instance of AtCustomerCccInfrastructure. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AtCustomerCccInfrastructure; /** * (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. */ readonly cccUpgradeScheduleId: pulumi.Output; /** * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. */ readonly compartmentId: pulumi.Output; /** * (Updatable) A message describing the current connection state in more detail. */ readonly connectionDetails: pulumi.Output; /** * (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. */ readonly connectionState: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. */ readonly description: pulumi.Output; /** * (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. */ readonly infrastructureInventories: pulumi.Output; /** * Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. */ readonly infrastructureNetworkConfigurations: pulumi.Output; /** * A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. */ readonly provisioningFingerprint: pulumi.Output; /** * Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). */ readonly provisioningPin: pulumi.Output; /** * The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. */ readonly shortName: pulumi.Output; /** * The current state of the Compute Cloud@Customer infrastructure. */ readonly state: pulumi.Output; /** * (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. * * ** 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 */ readonly subnetId: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. */ readonly upgradeInformations: pulumi.Output; /** * Create a AtCustomerCccInfrastructure resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AtCustomerCccInfrastructureArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AtCustomerCccInfrastructure resources. */ export interface AtCustomerCccInfrastructureState { /** * (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. */ cccUpgradeScheduleId?: pulumi.Input; /** * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. */ compartmentId?: pulumi.Input; /** * (Updatable) A message describing the current connection state in more detail. */ connectionDetails?: pulumi.Input; /** * (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. */ connectionState?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. */ infrastructureInventories?: pulumi.Input[] | undefined>; /** * Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. */ infrastructureNetworkConfigurations?: pulumi.Input[] | undefined>; /** * A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. */ lifecycleDetails?: pulumi.Input; /** * Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. */ provisioningFingerprint?: pulumi.Input; /** * Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). */ provisioningPin?: pulumi.Input; /** * The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. */ shortName?: pulumi.Input; /** * The current state of the Compute Cloud@Customer infrastructure. */ state?: pulumi.Input; /** * (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. * * ** 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 */ subnetId?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. */ upgradeInformations?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a AtCustomerCccInfrastructure resource. */ export interface AtCustomerCccInfrastructureArgs { /** * (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. */ cccUpgradeScheduleId?: pulumi.Input; /** * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. */ compartmentId: pulumi.Input; /** * (Updatable) A message describing the current connection state in more detail. */ connectionDetails?: pulumi.Input; /** * (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. */ connectionState?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. * * ** 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 */ subnetId: pulumi.Input; } //# sourceMappingURL=atCustomerCccInfrastructure.d.ts.map