import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Infrastructure resource in Oracle Cloud Infrastructure Datacc service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datacc * * Create a Database Infrastructure using the specified details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInfrastructure = new oci.oci.DataccInfrastructure("test_infrastructure", { * cloudControlPlaneServer1: infrastructureCloudControlPlaneServer1, * cloudControlPlaneServer2: infrastructureCloudControlPlaneServer2, * compartmentId: compartmentId, * displayName: infrastructureDisplayName, * dnsServers: infrastructureDnsServers, * gateway: infrastructureGateway, * netmask: infrastructureNetmask, * ntpServers: infrastructureNtpServers, * shape: infrastructureShape, * systemModel: infrastructureSystemModel, * acfsFileSystemStorageInGbs: infrastructureAcfsFileSystemStorageInGbs, * adminNetworkcidr: infrastructureAdminNetworkcidr, * backupNetworkBondingInterface: infrastructureBackupNetworkBondingInterface, * backupNetworkBondingMode: infrastructureBackupNetworkBondingMode, * clientNetworkBondingInterface: infrastructureClientNetworkBondingInterface, * clientNetworkBondingMode: infrastructureClientNetworkBondingMode, * contacts: [{ * email: infrastructureContactsEmail, * isPrimary: infrastructureContactsIsPrimary === "true", * name: infrastructureContactsName, * isContactMosValidated: infrastructureContactsIsContactMosValidated === "true", * phoneNumber: infrastructureContactsPhoneNumber, * }], * corporateProxy: infrastructureCorporateProxy, * cpsNetworkBondingInterface: infrastructureCpsNetworkBondingInterface, * cpsNetworkBondingMode: infrastructureCpsNetworkBondingMode, * dataDiskPercentage: Number(infrastructureDataDiskPercentage), * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: infrastructureDescription, * freeformTags: { * "bar-key": "value", * }, * maintenanceWindow: { * customActionTimeoutInMins: Number(infrastructureMaintenanceWindowCustomActionTimeoutInMins), * daysOfWeeks: infrastructureMaintenanceWindowDaysOfWeek, * hoursOfDays: infrastructureMaintenanceWindowHoursOfDay, * isCustomActionTimeoutEnabled: infrastructureMaintenanceWindowIsCustomActionTimeoutEnabled === "true", * isMonthlyPatchingEnabled: infrastructureMaintenanceWindowIsMonthlyPatchingEnabled === "true", * leadTimeInWeeks: Number(infrastructureMaintenanceWindowLeadTimeInWeeks), * months: infrastructureMaintenanceWindowMonths, * patchingMode: infrastructureMaintenanceWindowPatchingMode, * preference: infrastructureMaintenanceWindowPreference, * weeksOfMonths: infrastructureMaintenanceWindowWeeksOfMonth, * }, * vlanId: testVlan.id, * }); * ``` * * ## Import * * Infrastructures can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:oci/dataccInfrastructure:DataccInfrastructure test_infrastructure "id" * ``` */ export declare class DataccInfrastructure extends pulumi.CustomResource { /** * Get an existing DataccInfrastructure 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?: DataccInfrastructureState, opts?: pulumi.CustomResourceOptions): DataccInfrastructure; /** * Returns true if the given object is an instance of DataccInfrastructure. 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 DataccInfrastructure; /** * (Updatable) The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs. */ readonly acfsFileSystemStorageInGbs: pulumi.Output; /** * The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs. This attribute is deprecated and will be removed in a subsequent release. Please read from systemStorageCapacity instead. */ readonly acfsFileSystemUsedStorageInGbs: pulumi.Output; /** * (Updatable) The CIDR block for the system network. The system network is a private network in Database Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components. */ readonly adminNetworkcidr: pulumi.Output; /** * (Updatable) The network bonding interface for backup network for the Database Infrastructure. */ readonly backupNetworkBondingInterface: pulumi.Output; /** * (Updatable) The network bonding mode for Backup networks for the Database Infrastructure. */ readonly backupNetworkBondingMode: pulumi.Output; /** * (Updatable) The network bonding interface for client network for the Database Infrastructure. */ readonly clientNetworkBondingInterface: pulumi.Output; /** * (Updatable) The network bonding mode for Client networks for the Database Infrastructure. */ readonly clientNetworkBondingMode: pulumi.Output; /** * (Updatable) The IP address for the first control plane server. */ readonly cloudControlPlaneServer1: pulumi.Output; /** * (Updatable) The IP address for the second control plane server. */ readonly cloudControlPlaneServer2: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * Capacity details of the Database Infrastructure. */ readonly computeCapacities: pulumi.Output; /** * (Updatable) The list of contacts for the Database Infrastructure. */ readonly contacts: pulumi.Output; /** * (Updatable) The corporate network proxy for access to the control plane network. Oracle recommends using an HTTPS proxy when possible for enhanced security. */ readonly corporateProxy: pulumi.Output; /** * (Updatable) The network bonding interface for CPS network for the Database Infrastructure. */ readonly cpsNetworkBondingInterface: pulumi.Output; /** * (Updatable) The network bonding mode for CPS networks for the Database Infrastructure. */ readonly cpsNetworkBondingMode: pulumi.Output; /** * (Updatable) Percentage of disk space assigned for DATA disk group. Remaining disk space will get assiged to RECO disk group */ readonly dataDiskPercentage: 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) Database Infrastructure description. */ readonly description: pulumi.Output; /** * (Updatable) The user-friendly name for the Database Infrastructure. The name does not need to be unique. */ readonly displayName: pulumi.Output; /** * (Updatable) The list of DNS server IP addresses. Maximum of 3 allowed. */ readonly dnsServers: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The gateway for the control plane network. */ readonly gateway: pulumi.Output; /** * Lifecycle state details of the Database Infrastructure. */ readonly lifecycleStateDetails: pulumi.Output; /** * (Updatable) The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ readonly maintenanceWindow: pulumi.Output; /** * (Updatable) The netmask for the control plane network. */ readonly netmask: pulumi.Output; /** * The network adapter, transceiver and cable configuration for the client and backup networks. */ readonly networkAdapterConfiguration: pulumi.Output; /** * (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. */ readonly ntpServers: pulumi.Output; /** * The serial number for the Database Infrastructure. */ readonly rackSerialNumber: pulumi.Output; /** * Percentage of disk space assigned for RECO disk group. */ readonly recoDiskPercentage: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Scale Storage. Could be set to any integer 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 */ readonly scaleStorageTrigger: pulumi.Output; /** * A list of Database Infrastructure nodes. */ readonly servers: pulumi.Output; /** * (Updatable) The shape of the Database Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. */ readonly shape: pulumi.Output; /** * SSD configuration requested for the infrastructure. */ readonly ssdConfigurationRequested: pulumi.Output; /** * The current state of the Database Infrastructure. */ readonly state: pulumi.Output; /** * Capacity details of the Storage disk group. This attribute is deprecated and will be removed in a subsequent release. Please use systemStorageCapacity instead. */ readonly storageCapacities: pulumi.Output; /** * The unique identifier for the subscription plan number. */ readonly subscriptionPlanNumber: pulumi.Output; /** * (Updatable) Database Infrastructure System Model specification. The system model determines the model of the Database Infrastructure hardware to be used. */ readonly systemModel: pulumi.Output; /** * Capacity details of different storage types. */ readonly systemStorageCapacities: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time, in RFC3339 format, when the Database Infrastructure was activated. */ readonly timeActivated: pulumi.Output; /** * The time that the Database Infrastructure cluster was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time, in RFC3339 format, when the lifecycle state was last updated. */ readonly timeLastStateUpdated: pulumi.Output; /** * The time that the Database Infrastructure was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * The time, in RFC3339 format, when the Database Infrastructure network was validated. */ readonly timeValidated: pulumi.Output; /** * The version of the system software on the Database Infrastructure. */ readonly version: pulumi.Output; /** * (Updatable) The CPS network VLAN ID. */ readonly vlanId: pulumi.Output; /** * Create a DataccInfrastructure 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: DataccInfrastructureArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DataccInfrastructure resources. */ export interface DataccInfrastructureState { /** * (Updatable) The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs. */ acfsFileSystemStorageInGbs?: pulumi.Input; /** * The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs. This attribute is deprecated and will be removed in a subsequent release. Please read from systemStorageCapacity instead. */ acfsFileSystemUsedStorageInGbs?: pulumi.Input; /** * (Updatable) The CIDR block for the system network. The system network is a private network in Database Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components. */ adminNetworkcidr?: pulumi.Input; /** * (Updatable) The network bonding interface for backup network for the Database Infrastructure. */ backupNetworkBondingInterface?: pulumi.Input; /** * (Updatable) The network bonding mode for Backup networks for the Database Infrastructure. */ backupNetworkBondingMode?: pulumi.Input; /** * (Updatable) The network bonding interface for client network for the Database Infrastructure. */ clientNetworkBondingInterface?: pulumi.Input; /** * (Updatable) The network bonding mode for Client networks for the Database Infrastructure. */ clientNetworkBondingMode?: pulumi.Input; /** * (Updatable) The IP address for the first control plane server. */ cloudControlPlaneServer1?: pulumi.Input; /** * (Updatable) The IP address for the second control plane server. */ cloudControlPlaneServer2?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * Capacity details of the Database Infrastructure. */ computeCapacities?: pulumi.Input[] | undefined>; /** * (Updatable) The list of contacts for the Database Infrastructure. */ contacts?: pulumi.Input[] | undefined>; /** * (Updatable) The corporate network proxy for access to the control plane network. Oracle recommends using an HTTPS proxy when possible for enhanced security. */ corporateProxy?: pulumi.Input; /** * (Updatable) The network bonding interface for CPS network for the Database Infrastructure. */ cpsNetworkBondingInterface?: pulumi.Input; /** * (Updatable) The network bonding mode for CPS networks for the Database Infrastructure. */ cpsNetworkBondingMode?: pulumi.Input; /** * (Updatable) Percentage of disk space assigned for DATA disk group. Remaining disk space will get assiged to RECO disk group */ dataDiskPercentage?: 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) Database Infrastructure description. */ description?: pulumi.Input; /** * (Updatable) The user-friendly name for the Database Infrastructure. The name does not need to be unique. */ displayName?: pulumi.Input; /** * (Updatable) The list of DNS server IP addresses. Maximum of 3 allowed. */ dnsServers?: pulumi.Input[] | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The gateway for the control plane network. */ gateway?: pulumi.Input; /** * Lifecycle state details of the Database Infrastructure. */ lifecycleStateDetails?: pulumi.Input; /** * (Updatable) The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ maintenanceWindow?: pulumi.Input; /** * (Updatable) The netmask for the control plane network. */ netmask?: pulumi.Input; /** * The network adapter, transceiver and cable configuration for the client and backup networks. */ networkAdapterConfiguration?: pulumi.Input; /** * (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. */ ntpServers?: pulumi.Input[] | undefined>; /** * The serial number for the Database Infrastructure. */ rackSerialNumber?: pulumi.Input; /** * Percentage of disk space assigned for RECO disk group. */ recoDiskPercentage?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Scale Storage. Could be set to any integer 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 */ scaleStorageTrigger?: pulumi.Input; /** * A list of Database Infrastructure nodes. */ servers?: pulumi.Input[] | undefined>; /** * (Updatable) The shape of the Database Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. */ shape?: pulumi.Input; /** * SSD configuration requested for the infrastructure. */ ssdConfigurationRequested?: pulumi.Input; /** * The current state of the Database Infrastructure. */ state?: pulumi.Input; /** * Capacity details of the Storage disk group. This attribute is deprecated and will be removed in a subsequent release. Please use systemStorageCapacity instead. */ storageCapacities?: pulumi.Input[] | undefined>; /** * The unique identifier for the subscription plan number. */ subscriptionPlanNumber?: pulumi.Input; /** * (Updatable) Database Infrastructure System Model specification. The system model determines the model of the Database Infrastructure hardware to be used. */ systemModel?: pulumi.Input; /** * Capacity details of different storage types. */ systemStorageCapacities?: pulumi.Input[] | undefined>; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time, in RFC3339 format, when the Database Infrastructure was activated. */ timeActivated?: pulumi.Input; /** * The time that the Database Infrastructure cluster was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time, in RFC3339 format, when the lifecycle state was last updated. */ timeLastStateUpdated?: pulumi.Input; /** * The time that the Database Infrastructure was last updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * The time, in RFC3339 format, when the Database Infrastructure network was validated. */ timeValidated?: pulumi.Input; /** * The version of the system software on the Database Infrastructure. */ version?: pulumi.Input; /** * (Updatable) The CPS network VLAN ID. */ vlanId?: pulumi.Input; } /** * The set of arguments for constructing a DataccInfrastructure resource. */ export interface DataccInfrastructureArgs { /** * (Updatable) The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs. */ acfsFileSystemStorageInGbs?: pulumi.Input; /** * (Updatable) The CIDR block for the system network. The system network is a private network in Database Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components. */ adminNetworkcidr?: pulumi.Input; /** * (Updatable) The network bonding interface for backup network for the Database Infrastructure. */ backupNetworkBondingInterface?: pulumi.Input; /** * (Updatable) The network bonding mode for Backup networks for the Database Infrastructure. */ backupNetworkBondingMode?: pulumi.Input; /** * (Updatable) The network bonding interface for client network for the Database Infrastructure. */ clientNetworkBondingInterface?: pulumi.Input; /** * (Updatable) The network bonding mode for Client networks for the Database Infrastructure. */ clientNetworkBondingMode?: pulumi.Input; /** * (Updatable) The IP address for the first control plane server. */ cloudControlPlaneServer1: pulumi.Input; /** * (Updatable) The IP address for the second control plane server. */ cloudControlPlaneServer2: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * (Updatable) The list of contacts for the Database Infrastructure. */ contacts?: pulumi.Input[] | undefined>; /** * (Updatable) The corporate network proxy for access to the control plane network. Oracle recommends using an HTTPS proxy when possible for enhanced security. */ corporateProxy?: pulumi.Input; /** * (Updatable) The network bonding interface for CPS network for the Database Infrastructure. */ cpsNetworkBondingInterface?: pulumi.Input; /** * (Updatable) The network bonding mode for CPS networks for the Database Infrastructure. */ cpsNetworkBondingMode?: pulumi.Input; /** * (Updatable) Percentage of disk space assigned for DATA disk group. Remaining disk space will get assiged to RECO disk group */ dataDiskPercentage?: 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) Database Infrastructure description. */ description?: pulumi.Input; /** * (Updatable) The user-friendly name for the Database Infrastructure. The name does not need to be unique. */ displayName: pulumi.Input; /** * (Updatable) The list of DNS server IP addresses. Maximum of 3 allowed. */ dnsServers: pulumi.Input[]>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The gateway for the control plane network. */ gateway: pulumi.Input; /** * (Updatable) The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ maintenanceWindow?: pulumi.Input; /** * (Updatable) The netmask for the control plane network. */ netmask: pulumi.Input; /** * (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. */ ntpServers: pulumi.Input[]>; /** * (Updatable) An optional property when incremented triggers Scale Storage. Could be set to any integer 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 */ scaleStorageTrigger?: pulumi.Input; /** * (Updatable) The shape of the Database Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. */ shape: pulumi.Input; /** * (Updatable) Database Infrastructure System Model specification. The system model determines the model of the Database Infrastructure hardware to be used. */ systemModel: pulumi.Input; /** * (Updatable) The CPS network VLAN ID. */ vlanId?: pulumi.Input; } //# sourceMappingURL=dataccInfrastructure.d.ts.map