import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Vm Cluster Add Virtual Machine resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/VmClusterAddVirtualMachine * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Add Virtual Machines to the VM cluster. Applies to Exadata Cloud@Customer instances only. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmClusterAddVirtualMachine = new oci.database.VmClusterAddVirtualNetwork("test_vm_cluster_add_virtual_machine", { * dbServers: [{ * dbServerId: testDbServer.id, * }], * vmClusterId: testVmCluster.id, * }); * ``` * * ##### Note: You may also need to add `dbServers` and `cpuCoreCount` to the ignoreChanges for the resource `oci.Database.VmCluster` list if you see a diff on a subsequent apply * * ## Import * * VmClusterAddVirtualMachine can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/vmClusterAddVirtualNetwork:VmClusterAddVirtualNetwork test_vm_cluster_add_virtual_machine "id" * ``` */ export declare class VmClusterAddVirtualNetwork extends pulumi.CustomResource { /** * Get an existing VmClusterAddVirtualNetwork 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?: VmClusterAddVirtualNetworkState, opts?: pulumi.CustomResourceOptions): VmClusterAddVirtualNetwork; /** * Returns true if the given object is an instance of VmClusterAddVirtualNetwork. 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 VmClusterAddVirtualNetwork; /** * The name of the availability domain that the VM cluster is located in. */ readonly availabilityDomain: pulumi.Output; /** * Specifies the properties necessary for cloud automation updates. This includes modifying the apply update time preference, enabling or disabling early adoption, and enabling, modifying, or disabling the update freeze period. */ readonly cloudAutomationUpdateDetails: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * The compute model of the Autonomous AI Database. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. */ readonly computeModel: pulumi.Output; /** * The number of enabled CPU cores. */ readonly cpusEnabled: pulumi.Output; /** * Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. */ readonly dataCollectionOptions: pulumi.Output; /** * The percentage assigned to DATA storage (user data and database files). See [Storage Configuration](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. */ readonly dataStoragePercentage: pulumi.Output; /** * Size of the DATA disk group in GBs. */ readonly dataStorageSizeInGb: pulumi.Output; /** * Size, in terabytes, of the DATA disk group. */ readonly dataStorageSizeInTbs: pulumi.Output; /** * The local node storage allocated in GBs. */ readonly dbNodeStorageSizeInGbs: pulumi.Output; /** * The list of Exacc DB servers for the cluster to be added. */ readonly dbServers: pulumi.Output; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * The user-friendly name for the Exadata Cloud@Customer VM cluster. The name does not need to be unique. */ readonly displayName: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. */ readonly exadataInfrastructureId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. */ readonly exascaleDbStorageVaultId: pulumi.Output; /** * Details of the file system configuration of the VM cluster. */ readonly fileSystemConfigurationDetails: pulumi.Output; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The Oracle Grid Infrastructure software version for the VM cluster. */ readonly giVersion: pulumi.Output; /** * If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. */ readonly isLocalBackupEnabled: pulumi.Output; /** * If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. */ readonly isSparseDiskgroupEnabled: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. */ readonly lastPatchHistoryEntryId: pulumi.Output; /** * The Oracle license model that applies to the VM cluster. The default is LICENSE_INCLUDED. */ readonly licenseModel: pulumi.Output; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * The memory allocated in GBs. */ readonly memorySizeInGbs: pulumi.Output; readonly ocpusEnabled: pulumi.Output; /** * The percentage assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). See [Storage Configuration](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. */ readonly recoStoragePercentage: pulumi.Output; /** * The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. */ readonly shape: pulumi.Output; /** * The percentage assigned to SPARSE storage (Exadata snapshots). See [Storage Configuration](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. */ readonly sparseStoragePercentage: pulumi.Output; /** * The public key portion of one or more key pairs used for SSH access to the VM cluster. */ readonly sshPublicKeys: pulumi.Output; /** * The current state of the VM cluster. */ readonly state: pulumi.Output; /** * Specifies whether the type of storage management for the VM cluster is ASM or Exascale. */ readonly storageManagementType: pulumi.Output; /** * Operating system version of the image. */ readonly systemVersion: pulumi.Output; /** * The date and time that the VM cluster was created. */ readonly timeCreated: pulumi.Output; /** * The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). */ readonly timeZone: pulumi.Output; /** * The VM cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * ** 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 vmClusterId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. */ readonly vmClusterNetworkId: pulumi.Output; /** * The vmcluster type for the VM cluster/Cloud VM cluster. */ readonly vmClusterType: pulumi.Output; /** * Create a VmClusterAddVirtualNetwork 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: VmClusterAddVirtualNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VmClusterAddVirtualNetwork resources. */ export interface VmClusterAddVirtualNetworkState { /** * The name of the availability domain that the VM cluster is located in. */ availabilityDomain?: pulumi.Input; /** * Specifies the properties necessary for cloud automation updates. This includes modifying the apply update time preference, enabling or disabling early adoption, and enabling, modifying, or disabling the update freeze period. */ cloudAutomationUpdateDetails?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * The compute model of the Autonomous AI Database. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. */ computeModel?: pulumi.Input; /** * The number of enabled CPU cores. */ cpusEnabled?: pulumi.Input; /** * Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. */ dataCollectionOptions?: pulumi.Input[] | undefined>; /** * The percentage assigned to DATA storage (user data and database files). See [Storage Configuration](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. */ dataStoragePercentage?: pulumi.Input; /** * Size of the DATA disk group in GBs. */ dataStorageSizeInGb?: pulumi.Input; /** * Size, in terabytes, of the DATA disk group. */ dataStorageSizeInTbs?: pulumi.Input; /** * The local node storage allocated in GBs. */ dbNodeStorageSizeInGbs?: pulumi.Input; /** * The list of Exacc DB servers for the cluster to be added. */ dbServers?: pulumi.Input[] | undefined>; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The user-friendly name for the Exadata Cloud@Customer VM cluster. The name does not need to be unique. */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. */ exadataInfrastructureId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. */ exascaleDbStorageVaultId?: pulumi.Input; /** * Details of the file system configuration of the VM cluster. */ fileSystemConfigurationDetails?: pulumi.Input[] | undefined>; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The Oracle Grid Infrastructure software version for the VM cluster. */ giVersion?: pulumi.Input; /** * If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. */ isLocalBackupEnabled?: pulumi.Input; /** * If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. */ isSparseDiskgroupEnabled?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. */ lastPatchHistoryEntryId?: pulumi.Input; /** * The Oracle license model that applies to the VM cluster. The default is LICENSE_INCLUDED. */ licenseModel?: pulumi.Input; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * The memory allocated in GBs. */ memorySizeInGbs?: pulumi.Input; ocpusEnabled?: pulumi.Input; /** * The percentage assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). See [Storage Configuration](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. */ recoStoragePercentage?: pulumi.Input; /** * The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. */ shape?: pulumi.Input; /** * The percentage assigned to SPARSE storage (Exadata snapshots). See [Storage Configuration](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. */ sparseStoragePercentage?: pulumi.Input; /** * The public key portion of one or more key pairs used for SSH access to the VM cluster. */ sshPublicKeys?: pulumi.Input[] | undefined>; /** * The current state of the VM cluster. */ state?: pulumi.Input; /** * Specifies whether the type of storage management for the VM cluster is ASM or Exascale. */ storageManagementType?: pulumi.Input; /** * Operating system version of the image. */ systemVersion?: pulumi.Input; /** * The date and time that the VM cluster was created. */ timeCreated?: pulumi.Input; /** * The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). */ timeZone?: pulumi.Input; /** * The VM cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * ** 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 */ vmClusterId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. */ vmClusterNetworkId?: pulumi.Input; /** * The vmcluster type for the VM cluster/Cloud VM cluster. */ vmClusterType?: pulumi.Input; } /** * The set of arguments for constructing a VmClusterAddVirtualNetwork resource. */ export interface VmClusterAddVirtualNetworkArgs { /** * The list of Exacc DB servers for the cluster to be added. */ dbServers: pulumi.Input[]>; /** * The VM cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * ** 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 */ vmClusterId: pulumi.Input; } //# sourceMappingURL=vmClusterAddVirtualNetwork.d.ts.map