import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Distributed Autonomous Database resource in Oracle Cloud Infrastructure Distributed Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/globally-distributed-database/latest/DistributedAutonomousDatabase * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/distributed_database * * Creates a Globally distributed autonomous database. * * Patch operation to add, remove or update shards to the Globally distributed autonomous database topology. In single patch * operation, multiple shards can be either added, or removed or updated. Combination of inserts, update * and remove in single operation is not allowed. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDistributedAutonomousDatabase = new oci.oci.DistributedDatabaseDistributedAutonomousDatabase("test_distributed_autonomous_database", { * catalogDetails: [{ * adminPassword: distributedAutonomousDatabaseCatalogDetailsAdminPassword, * cloudAutonomousVmClusterId: testCloudAutonomousVmCluster.id, * computeCount: distributedAutonomousDatabaseCatalogDetailsComputeCount, * dataStorageSizeInGbs: distributedAutonomousDatabaseCatalogDetailsDataStorageSizeInGbs, * isAutoScalingEnabled: distributedAutonomousDatabaseCatalogDetailsIsAutoScalingEnabled === "true", * source: distributedAutonomousDatabaseCatalogDetailsSource, * kmsKeyId: testKey.id, * kmsKeyVersionId: testKeyVersion.id, * okvEndPointGroup: distributedAutonomousDatabaseCatalogDetailsOkvEndPointGroup, * okvKeyStoreId: testKeyStore.id, * peerCloudAutonomousVmClusterIds: distributedAutonomousDatabaseCatalogDetailsPeerCloudAutonomousVmClusterIds, * peerDetails: [{ * cloudAutonomousVmClusterId: testCloudAutonomousVmCluster.id, * fastStartFailOverLagLimitInSeconds: Number(distributedAutonomousDatabaseCatalogDetailsPeerDetailsFastStartFailOverLagLimitInSeconds), * isAutomaticFailoverEnabled: distributedAutonomousDatabaseCatalogDetailsPeerDetailsIsAutomaticFailoverEnabled === "true", * protectionMode: distributedAutonomousDatabaseCatalogDetailsPeerDetailsProtectionMode, * standbyMaintenanceBufferInDays: Number(distributedAutonomousDatabaseCatalogDetailsPeerDetailsStandbyMaintenanceBufferInDays), * }], * vaultId: testVault.id, * }], * characterSet: distributedAutonomousDatabaseCharacterSet, * compartmentId: compartmentId, * databaseVersion: distributedAutonomousDatabaseDatabaseVersion, * dbDeploymentType: distributedAutonomousDatabaseDbDeploymentType, * dbWorkload: distributedAutonomousDatabaseDbWorkload, * displayName: distributedAutonomousDatabaseDisplayName, * distributedAutonomousDatabaseId: distributedAutonomousDatabaseDistributedAutonomousDatabaseId, * listenerPort: Number(distributedAutonomousDatabaseListenerPort), * ncharacterSet: distributedAutonomousDatabaseNcharacterSet, * onsPortLocal: Number(distributedAutonomousDatabaseOnsPortLocal), * onsPortRemote: Number(distributedAutonomousDatabaseOnsPortRemote), * prefix: distributedAutonomousDatabasePrefix, * privateEndpointIds: distributedAutonomousDatabasePrivateEndpointIds, * shardDetails: [{ * adminPassword: distributedAutonomousDatabaseShardDetailsAdminPassword, * cloudAutonomousVmClusterId: testCloudAutonomousVmCluster.id, * computeCount: distributedAutonomousDatabaseShardDetailsComputeCount, * dataStorageSizeInGbs: distributedAutonomousDatabaseShardDetailsDataStorageSizeInGbs, * isAutoScalingEnabled: distributedAutonomousDatabaseShardDetailsIsAutoScalingEnabled === "true", * source: distributedAutonomousDatabaseShardDetailsSource, * kmsKeyId: testKey.id, * kmsKeyVersionId: testKeyVersion.id, * okvEndPointGroup: distributedAutonomousDatabaseShardDetailsOkvEndPointGroup, * okvKeyStoreId: testKeyStore.id, * peerCloudAutonomousVmClusterIds: distributedAutonomousDatabaseShardDetailsPeerCloudAutonomousVmClusterIds, * peerDetails: [{ * cloudAutonomousVmClusterId: testCloudAutonomousVmCluster.id, * fastStartFailOverLagLimitInSeconds: Number(distributedAutonomousDatabaseShardDetailsPeerDetailsFastStartFailOverLagLimitInSeconds), * isAutomaticFailoverEnabled: distributedAutonomousDatabaseShardDetailsPeerDetailsIsAutomaticFailoverEnabled === "true", * protectionMode: distributedAutonomousDatabaseShardDetailsPeerDetailsProtectionMode, * standbyMaintenanceBufferInDays: Number(distributedAutonomousDatabaseShardDetailsPeerDetailsStandbyMaintenanceBufferInDays), * }], * shardSpace: distributedAutonomousDatabaseShardDetailsShardSpace, * vaultId: testVault.id, * }], * shardingMethod: distributedAutonomousDatabaseShardingMethod, * chunks: Number(distributedAutonomousDatabaseChunks), * dbBackupConfig: { * backupDestinationDetails: [{ * type: distributedAutonomousDatabaseDbBackupConfigBackupDestinationDetailsType, * dbrsPolicyId: testPolicy.id, * id: distributedAutonomousDatabaseDbBackupConfigBackupDestinationDetailsId, * internetProxy: distributedAutonomousDatabaseDbBackupConfigBackupDestinationDetailsInternetProxy, * isRemote: distributedAutonomousDatabaseDbBackupConfigBackupDestinationDetailsIsRemote === "true", * remoteRegion: distributedAutonomousDatabaseDbBackupConfigBackupDestinationDetailsRemoteRegion, * vpcPassword: distributedAutonomousDatabaseDbBackupConfigBackupDestinationDetailsVpcPassword, * vpcUser: distributedAutonomousDatabaseDbBackupConfigBackupDestinationDetailsVpcUser, * }], * recoveryWindowInDays: Number(distributedAutonomousDatabaseDbBackupConfigRecoveryWindowInDays), * }, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * listenerPortTls: Number(distributedAutonomousDatabaseListenerPortTls), * patchOperations: [{ * operation: distributedAutonomousDatabasePatchOperationsOperation, * selection: distributedAutonomousDatabasePatchOperationsSelection, * value: distributedAutonomousDatabasePatchOperationsValue, * }], * replicationFactor: Number(distributedAutonomousDatabaseReplicationFactor), * replicationMethod: distributedAutonomousDatabaseReplicationMethod, * replicationUnit: Number(distributedAutonomousDatabaseReplicationUnit), * }); * ``` * * ## Import * * DistributedAutonomousDatabases can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:oci/distributedDatabaseDistributedAutonomousDatabase:DistributedDatabaseDistributedAutonomousDatabase test_distributed_autonomous_database "id" * ``` */ export declare class DistributedDatabaseDistributedAutonomousDatabase extends pulumi.CustomResource { /** * Get an existing DistributedDatabaseDistributedAutonomousDatabase 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?: DistributedDatabaseDistributedAutonomousDatabaseState, opts?: pulumi.CustomResourceOptions): DistributedDatabaseDistributedAutonomousDatabase; /** * Returns true if the given object is an instance of DistributedDatabaseDistributedAutonomousDatabase. 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 DistributedDatabaseDistributedAutonomousDatabase; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CA bundle to pass to Configure Sharding. Required when `configureShardingTrigger` is incremented. */ readonly caBundleId: pulumi.Output; /** * Collection of catalog for the Globally distributed autonomous database. */ readonly catalogDetails: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster certificate to pass to Configure Sharding. Required when `configureShardingTrigger` is incremented. */ readonly certificateId: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Change Db Backup Config. Could be set to any integer value. */ readonly changeDbBackupConfigTrigger: pulumi.Output; /** * The character set for the database. */ readonly characterSet: pulumi.Output; /** * Number of chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. Chunks is required to be provided for distributed autonomous databases being created with SYSTEM shardingMethod. For USER shardingMethod, chunks should not be set in create payload. */ readonly chunks: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed autonomous database compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Configure Gsm Wallet. Could be set to any integer value. */ readonly configureGsmWalletTrigger: pulumi.Output; /** * (Updatable) Indicates whether shard chunks should be re-balanced as part of Configure Sharding. */ readonly configureShardingIsRebalanceRequired: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. */ readonly configureShardingTrigger: pulumi.Output; /** * Details of Globally distributed autonomous database connection String. */ readonly connectionStrings: pulumi.Output; /** * Oracle Database version for the shards and catalog used in Globally distributed autonomous database. */ readonly databaseVersion: pulumi.Output; /** * Backup options for the Distributed Autonomous Database. */ readonly dbBackupConfig: pulumi.Output; /** * The distributed autonomous database deployment type. */ readonly dbDeploymentType: pulumi.Output; /** * Possible workload types. Currently only OLTP workload type is supported. */ readonly dbWorkload: 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) The display name of the Globally distributed autonomous database. */ readonly displayName: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. */ readonly downloadGsmCertificateSigningRequestTrigger: pulumi.Output; readonly downloadedGsmCsrPem: pulumi.Output; readonly effectiveReplicationUnit: 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; }>; /** * (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. */ readonly generateGsmCertificateSigningRequestTrigger: pulumi.Output; readonly generateGsmCertificateSigningRequestTriggerCaBundleId: pulumi.Output; readonly generateWalletDownloadedWalletContentLength: pulumi.Output; readonly generateWalletDownloadedWalletEtag: pulumi.Output; readonly generateWalletDownloadedWalletLastModified: pulumi.Output; readonly generateWalletDownloadedWalletZipBase64: pulumi.Output; readonly generateWalletPassword: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. */ readonly generateWalletTrigger: pulumi.Output; /** * Collection of catalogs associated with the Globally distributed autonomous database. */ readonly gsmDetails: pulumi.Output; /** * The Global service manager image details. */ readonly latestGsmImages: pulumi.Output; /** * The lifecycleDetails for the Globally distributed autonomous database. */ readonly lifecycleDetails: pulumi.Output; /** * The listener port number for the Globally distributed autonomous database. The listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. */ readonly listenerPort: pulumi.Output; /** * The TLS listener port number for Globally distributed autonomous database. The TLS listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. The listenerPortTls is mandatory for dedicated infrastructure based distributed autonomous databases. */ readonly listenerPortTls: pulumi.Output; /** * Additional metadata related to Globally distributed autonomous database resources. */ readonly metadatas: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Move Replication Unit. Could be set to any integer value. */ readonly moveReplicationUnitTrigger: pulumi.Output; /** * The national character set for the database. */ readonly ncharacterSet: pulumi.Output; /** * Ons local port number for Globally distributed autonomous database. The onsPortLocal has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. */ readonly onsPortLocal: pulumi.Output; /** * Ons remote port number for Globally distributed autonomous database. The onsPortRemote has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. */ readonly onsPortRemote: pulumi.Output; /** * (Updatable) */ readonly patchOperations: pulumi.Output; /** * Unique name prefix for the Globally distributed autonomous databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. */ readonly prefix: pulumi.Output; /** * The collection of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint associated with Globally distributed autonomous database. */ readonly privateEndpointIds: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Recreate Failed Resource. Could be set to any integer value. */ readonly recreateFailedResourceTrigger: pulumi.Output; /** * The Replication factor for RAFT replication based Globally distributed autonomous database. Currently supported values are 3, 5 and 7. */ readonly replicationFactor: pulumi.Output; /** * The Replication method for Globally distributed autonomous database. Use RAFT for Raft based replication. With RAFT replication, shards cannot have peers details set on them. In case shards need to have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or without peers), please set replicationMethod as DG or do not set any value for replicationMethod. */ readonly replicationMethod: pulumi.Output; /** * The replication unit count for RAFT based distributed autonomous database. For RAFT replication based Globally distributed autonomous database, the value should be at least twice the number of shards. */ readonly replicationUnit: pulumi.Output; /** * Collection of shards for the Globally distributed autonomous database. */ readonly shardDetails: pulumi.Output; /** * Sharding Methods for the Globally distributed autonomous database. */ readonly shardingMethod: pulumi.Output; /** * Increment this value to trigger StartDistributedAutonomousDatabase action. */ readonly startDatabaseTrigger: pulumi.Output; /** * (Updatable) The target state for the Distributed Autonomous Database. Could be set to `ACTIVE` or `INACTIVE`. */ readonly state: pulumi.Output; /** * Increment this value to trigger StopDistributedAutonomousDatabase action. */ readonly stopDatabaseTrigger: 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 the Globally distributed autonomous database was created. An RFC3339 formatted datetime string */ readonly timeCreated: pulumi.Output; /** * The time the Globally distributed autonomous database was last updated. An RFC3339 formatted datetime string */ readonly timeUpdated: pulumi.Output; readonly uploadCaSignedCertificate: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. */ readonly uploadSignedCertificateAndGenerateWalletTrigger: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Validate Ca Bundle. Could be set to any integer value. */ readonly validateCaBundleTrigger: pulumi.Output; readonly validateNetworkDetails: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Validate Network. 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 validateNetworkTrigger: pulumi.Output; /** * Create a DistributedDatabaseDistributedAutonomousDatabase 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: DistributedDatabaseDistributedAutonomousDatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DistributedDatabaseDistributedAutonomousDatabase resources. */ export interface DistributedDatabaseDistributedAutonomousDatabaseState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CA bundle to pass to Configure Sharding. Required when `configureShardingTrigger` is incremented. */ caBundleId?: pulumi.Input; /** * Collection of catalog for the Globally distributed autonomous database. */ catalogDetails?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster certificate to pass to Configure Sharding. Required when `configureShardingTrigger` is incremented. */ certificateId?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Change Db Backup Config. Could be set to any integer value. */ changeDbBackupConfigTrigger?: pulumi.Input; /** * The character set for the database. */ characterSet?: pulumi.Input; /** * Number of chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. Chunks is required to be provided for distributed autonomous databases being created with SYSTEM shardingMethod. For USER shardingMethod, chunks should not be set in create payload. */ chunks?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed autonomous database compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Configure Gsm Wallet. Could be set to any integer value. */ configureGsmWalletTrigger?: pulumi.Input; /** * (Updatable) Indicates whether shard chunks should be re-balanced as part of Configure Sharding. */ configureShardingIsRebalanceRequired?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. */ configureShardingTrigger?: pulumi.Input; /** * Details of Globally distributed autonomous database connection String. */ connectionStrings?: pulumi.Input[] | undefined>; /** * Oracle Database version for the shards and catalog used in Globally distributed autonomous database. */ databaseVersion?: pulumi.Input; /** * Backup options for the Distributed Autonomous Database. */ dbBackupConfig?: pulumi.Input; /** * The distributed autonomous database deployment type. */ dbDeploymentType?: pulumi.Input; /** * Possible workload types. Currently only OLTP workload type is supported. */ dbWorkload?: 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) The display name of the Globally distributed autonomous database. */ displayName?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. */ downloadGsmCertificateSigningRequestTrigger?: pulumi.Input; downloadedGsmCsrPem?: pulumi.Input; effectiveReplicationUnit?: 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) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. */ generateGsmCertificateSigningRequestTrigger?: pulumi.Input; generateGsmCertificateSigningRequestTriggerCaBundleId?: pulumi.Input; generateWalletDownloadedWalletContentLength?: pulumi.Input; generateWalletDownloadedWalletEtag?: pulumi.Input; generateWalletDownloadedWalletLastModified?: pulumi.Input; generateWalletDownloadedWalletZipBase64?: pulumi.Input; generateWalletPassword?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. */ generateWalletTrigger?: pulumi.Input; /** * Collection of catalogs associated with the Globally distributed autonomous database. */ gsmDetails?: pulumi.Input[] | undefined>; /** * The Global service manager image details. */ latestGsmImages?: pulumi.Input[] | undefined>; /** * The lifecycleDetails for the Globally distributed autonomous database. */ lifecycleDetails?: pulumi.Input; /** * The listener port number for the Globally distributed autonomous database. The listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. */ listenerPort?: pulumi.Input; /** * The TLS listener port number for Globally distributed autonomous database. The TLS listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. The listenerPortTls is mandatory for dedicated infrastructure based distributed autonomous databases. */ listenerPortTls?: pulumi.Input; /** * Additional metadata related to Globally distributed autonomous database resources. */ metadatas?: pulumi.Input[] | undefined>; /** * (Updatable) An optional property when incremented triggers Move Replication Unit. Could be set to any integer value. */ moveReplicationUnitTrigger?: pulumi.Input; /** * The national character set for the database. */ ncharacterSet?: pulumi.Input; /** * Ons local port number for Globally distributed autonomous database. The onsPortLocal has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. */ onsPortLocal?: pulumi.Input; /** * Ons remote port number for Globally distributed autonomous database. The onsPortRemote has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. */ onsPortRemote?: pulumi.Input; /** * (Updatable) */ patchOperations?: pulumi.Input[] | undefined>; /** * Unique name prefix for the Globally distributed autonomous databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. */ prefix?: pulumi.Input; /** * The collection of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint associated with Globally distributed autonomous database. */ privateEndpointIds?: pulumi.Input[] | undefined>; /** * (Updatable) An optional property when incremented triggers Recreate Failed Resource. Could be set to any integer value. */ recreateFailedResourceTrigger?: pulumi.Input; /** * The Replication factor for RAFT replication based Globally distributed autonomous database. Currently supported values are 3, 5 and 7. */ replicationFactor?: pulumi.Input; /** * The Replication method for Globally distributed autonomous database. Use RAFT for Raft based replication. With RAFT replication, shards cannot have peers details set on them. In case shards need to have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or without peers), please set replicationMethod as DG or do not set any value for replicationMethod. */ replicationMethod?: pulumi.Input; /** * The replication unit count for RAFT based distributed autonomous database. For RAFT replication based Globally distributed autonomous database, the value should be at least twice the number of shards. */ replicationUnit?: pulumi.Input; /** * Collection of shards for the Globally distributed autonomous database. */ shardDetails?: pulumi.Input[] | undefined>; /** * Sharding Methods for the Globally distributed autonomous database. */ shardingMethod?: pulumi.Input; /** * Increment this value to trigger StartDistributedAutonomousDatabase action. */ startDatabaseTrigger?: pulumi.Input; /** * (Updatable) The target state for the Distributed Autonomous Database. Could be set to `ACTIVE` or `INACTIVE`. */ state?: pulumi.Input; /** * Increment this value to trigger StopDistributedAutonomousDatabase action. */ stopDatabaseTrigger?: pulumi.Input; /** * 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 the Globally distributed autonomous database was created. An RFC3339 formatted datetime string */ timeCreated?: pulumi.Input; /** * The time the Globally distributed autonomous database was last updated. An RFC3339 formatted datetime string */ timeUpdated?: pulumi.Input; uploadCaSignedCertificate?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. */ uploadSignedCertificateAndGenerateWalletTrigger?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Validate Ca Bundle. Could be set to any integer value. */ validateCaBundleTrigger?: pulumi.Input; validateNetworkDetails?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Validate Network. 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 */ validateNetworkTrigger?: pulumi.Input; } /** * The set of arguments for constructing a DistributedDatabaseDistributedAutonomousDatabase resource. */ export interface DistributedDatabaseDistributedAutonomousDatabaseArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CA bundle to pass to Configure Sharding. Required when `configureShardingTrigger` is incremented. */ caBundleId?: pulumi.Input; /** * Collection of catalog for the Globally distributed autonomous database. */ catalogDetails: pulumi.Input[]>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster certificate to pass to Configure Sharding. Required when `configureShardingTrigger` is incremented. */ certificateId?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Change Db Backup Config. Could be set to any integer value. */ changeDbBackupConfigTrigger?: pulumi.Input; /** * The character set for the database. */ characterSet: pulumi.Input; /** * Number of chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. Chunks is required to be provided for distributed autonomous databases being created with SYSTEM shardingMethod. For USER shardingMethod, chunks should not be set in create payload. */ chunks?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed autonomous database compartment. */ compartmentId: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Configure Gsm Wallet. Could be set to any integer value. */ configureGsmWalletTrigger?: pulumi.Input; /** * (Updatable) Indicates whether shard chunks should be re-balanced as part of Configure Sharding. */ configureShardingIsRebalanceRequired?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. */ configureShardingTrigger?: pulumi.Input; /** * Oracle Database version for the shards and catalog used in Globally distributed autonomous database. */ databaseVersion: pulumi.Input; /** * Backup options for the Distributed Autonomous Database. */ dbBackupConfig?: pulumi.Input; /** * The distributed autonomous database deployment type. */ dbDeploymentType: pulumi.Input; /** * Possible workload types. Currently only OLTP workload type is supported. */ dbWorkload: 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) The display name of the Globally distributed autonomous database. */ displayName: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. */ downloadGsmCertificateSigningRequestTrigger?: 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) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. */ generateGsmCertificateSigningRequestTrigger?: pulumi.Input; generateGsmCertificateSigningRequestTriggerCaBundleId?: pulumi.Input; generateWalletPassword?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. */ generateWalletTrigger?: pulumi.Input; /** * The listener port number for the Globally distributed autonomous database. The listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. */ listenerPort: pulumi.Input; /** * The TLS listener port number for Globally distributed autonomous database. The TLS listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. The listenerPortTls is mandatory for dedicated infrastructure based distributed autonomous databases. */ listenerPortTls?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Move Replication Unit. Could be set to any integer value. */ moveReplicationUnitTrigger?: pulumi.Input; /** * The national character set for the database. */ ncharacterSet: pulumi.Input; /** * Ons local port number for Globally distributed autonomous database. The onsPortLocal has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. */ onsPortLocal: pulumi.Input; /** * Ons remote port number for Globally distributed autonomous database. The onsPortRemote has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. */ onsPortRemote: pulumi.Input; /** * (Updatable) */ patchOperations?: pulumi.Input[] | undefined>; /** * Unique name prefix for the Globally distributed autonomous databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. */ prefix: pulumi.Input; /** * The collection of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint associated with Globally distributed autonomous database. */ privateEndpointIds: pulumi.Input[]>; /** * (Updatable) An optional property when incremented triggers Recreate Failed Resource. Could be set to any integer value. */ recreateFailedResourceTrigger?: pulumi.Input; /** * The Replication factor for RAFT replication based Globally distributed autonomous database. Currently supported values are 3, 5 and 7. */ replicationFactor?: pulumi.Input; /** * The Replication method for Globally distributed autonomous database. Use RAFT for Raft based replication. With RAFT replication, shards cannot have peers details set on them. In case shards need to have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or without peers), please set replicationMethod as DG or do not set any value for replicationMethod. */ replicationMethod?: pulumi.Input; /** * The replication unit count for RAFT based distributed autonomous database. For RAFT replication based Globally distributed autonomous database, the value should be at least twice the number of shards. */ replicationUnit?: pulumi.Input; /** * Collection of shards for the Globally distributed autonomous database. */ shardDetails: pulumi.Input[]>; /** * Sharding Methods for the Globally distributed autonomous database. */ shardingMethod: pulumi.Input; /** * Increment this value to trigger StartDistributedAutonomousDatabase action. */ startDatabaseTrigger?: pulumi.Input; /** * (Updatable) The target state for the Distributed Autonomous Database. Could be set to `ACTIVE` or `INACTIVE`. */ state?: pulumi.Input; /** * Increment this value to trigger StopDistributedAutonomousDatabase action. */ stopDatabaseTrigger?: pulumi.Input; uploadCaSignedCertificate?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. */ uploadSignedCertificateAndGenerateWalletTrigger?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Validate Ca Bundle. Could be set to any integer value. */ validateCaBundleTrigger?: pulumi.Input; validateNetworkDetails?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Validate Network. 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 */ validateNetworkTrigger?: pulumi.Input; } //# sourceMappingURL=distributedDatabaseDistributedAutonomousDatabase.d.ts.map