oci_dbmulticloud_oracle_db_azure_vault
This resource provides the Oracle Db Azure Vault resource in Oracle Cloud Infrastructure Dbmulticloud service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-multicloud-integrations/latest/OracleDbAzureVault
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dbmulticloud
Creates DB Azure Vault resource.
Example Usage
resource "oci_dbmulticloud_oracle_db_azure_vault" "test_oracle_db_azure_vault" {
#Required
compartment_id = var.compartment_id
display_name = var.oracle_db_azure_vault_display_name
oracle_db_connector_id = oci_dbmulticloud_oracle_db_connector.test_oracle_db_connector.id
#Optional
azure_vault_id = oci_kms_vault.test_vault.id
defined_tags = {"Operations.CostCenter"= "42"}
freeform_tags = {"Department"= "Finance"}
location = var.oracle_db_azure_vault_location
oracle_db_azure_resource_group = var.oracle_db_azure_vault_oracle_db_azure_resource_group
properties = var.oracle_db_azure_vault_properties
type = var.oracle_db_azure_vault_type
}
Argument Reference
The following arguments are supported:
azure_vault_id- (Optional) (Updatable) Azure Vault ID.compartment_id- (Required) (Updatable) The OCID of the compartment that contains DB Azure Vault resource.defined_tags- (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}display_name- (Required) (Updatable) Oracle DB Azure Vault resource name.freeform_tags- (Optional) (Updatable) 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. Example:{"Department": "Finance"}location- (Optional) (Updatable) Oracle DB Azure Vault resource location.oracle_db_azure_resource_group- (Optional) (Updatable) Oracle DB Azure resource group name.oracle_db_connector_id- (Required) (Updatable) The OCID of the Oracle DB Connector resource that contains Oracle DB Azure Vault resource.properties- (Optional) (Updatable) resource’s properties.type- (Optional) (Updatable) Oracle DB Azure Vault resource type.
** 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
Attributes Reference
The following attributes are exported:
azure_vault_id- Azure Vault ID.compartment_id- The OCID of the compartment that contains this Oracle DB Azure Vault resource.defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}display_name- Oracle DB Azure Vault resource name.freeform_tags- 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. Example:{"Department": "Finance"}id- The OCID of the oracle DB Azure Vault resource.last_modification- Description of the latest modification of the Oracle DB Azure Vault resource.lifecycle_state_details- Description of the current lifecycle state in more detail.location- Oracle DB Azure Vault resource location.oracle_db_azure_resource_group- Oracle DB Azure resource group name.oracle_db_connector_id- The OCID of the Oracle DB Connector resource that contains Oracle DB Azure Vault resource.properties- Oracle DB Azure Vault resource’s properties.state- The lifecycle state of the Oracle DB Azure Vault resource.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- Time when the DB Azure Vault resource was created in RFC 3339 timestamp format, e.g. ‘2020-05-23T21:10:29.600Z’time_updated- Time when the DB Azure Vault resource was last modified, expressed in RFC 3339 timestamp format, e.g. ‘2020-05-23T21:10:29.600Z’type- Oracle DB Azure Vault resource type.
Timeouts
The timeouts block allows you to specify timeouts for certain operations:
* create - (Defaults to 20 minutes), when creating the Oracle Db Azure Vault
* update - (Defaults to 20 minutes), when updating the Oracle Db Azure Vault
* delete - (Defaults to 20 minutes), when destroying the Oracle Db Azure Vault
Import
OracleDbAzureVaults can be imported using the id, e.g.
$ terraform import oci_dbmulticloud_oracle_db_azure_vault.test_oracle_db_azure_vault "id"