» Data Source: oci_core_boot_volumes
This data source provides the list of Boot Volumes in Oracle Cloud Infrastructure Core service.
Lists the boot volumes in the specified compartment and availability domain.
» Example Usage
data "oci_core_boot_volumes" "test_boot_volumes" {
#Required
availability_domain = "${var.boot_volume_availability_domain}"
compartment_id = "${var.compartment_id}"
#Optional
volume_group_id = "${oci_core_volume_group.test_volume_group.id}"
}
» Argument Reference
The following arguments are supported:
-
availability_domain
- (Required) The name of the availability domain. Example:Uocm:PHX-AD-1
-
compartment_id
- (Required) The OCID of the compartment. -
volume_group_id
- (Optional) The OCID of the volume group.
» Attributes Reference
The following attributes are exported:
-
boot_volumes
- The list of boot_volumes.
» BootVolume Reference
The following attributes are exported:
-
availability_domain
- The availability domain of the boot volume. Example:Uocm:PHX-AD-1
-
compartment_id
- The OCID of the compartment that contains the boot volume. -
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
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. -
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 boot volume's Oracle ID (OCID). -
image_id
- The image OCID used to create the boot volume. -
is_hydrated
- Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup. -
kms_key_id
- The OCID of the KMS key which is the master encryption key for the boot volume. -
size_in_gbs
- The size of the boot volume in GBs. -
size_in_mbs
- The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please usesize_in_gbs
. -
source_details
- The boot volume source, either an existing boot volume in the same availability domain or a boot volume backup. If null, this means that the boot volume was created from an image. -
state
- The current state of a boot volume. -
time_created
- The date and time the boot volume was created. Format defined by RFC3339. -
volume_group_id
- The OCID of the source volume group.