Data Source: oci_database_management_cloud_asm_disk_groups
This data source provides the list of Cloud Asm Disk Groups in Oracle Cloud Infrastructure Database Management service.
Lists ASM disk groups for the cloud ASM specified by cloudAsmId.
Example Usage
data "oci_database_management_cloud_asm_disk_groups" "test_cloud_asm_disk_groups" {
#Required
cloud_asm_id = oci_database_management_cloud_asm.test_cloud_asm.id
#Optional
opc_named_credential_id = var.cloud_asm_disk_group_opc_named_credential_id
}
Argument Reference
The following arguments are supported:
cloud_asm_id- (Required) The OCID of the cloud ASM.opc_named_credential_id- (Optional) The OCID of the Named Credential.
Attributes Reference
The following attributes are exported:
cloud_asm_disk_group_collection- The list of cloud_asm_disk_group_collection.
CloudAsmDiskGroup Reference
The following attributes are exported:
items- An array of cloud ASM disk groups.databases- The unique names of the databases using the disk group.dismounting_instance_count- The number of ASM instances that have the disk group in dismounted state.is_sparse- Indicates whether the disk group is a sparse disk group or not.mounting_instance_count- The number of ASM instances that have the disk group in mounted state.name- The name of the ASM disk group.redundancy_type- The redundancy type of the disk group.total_size_in_mbs- The total capacity of the disk group (in megabytes).used_percent- The percentage of used space in the disk group.used_size_in_mbs- The used capacity of the disk group (in megabytes).