Oracle Cloud Infrastructure
getBootVolume
This data source provides details about a specific Boot Volume resource in Oracle Cloud Infrastructure Core service.
Gets information for the specified boot volume.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testBootVolume = Output.Create(Oci.Core.GetBootVolume.InvokeAsync(new Oci.Core.GetBootVolumeArgs
{
BootVolumeId = oci_core_boot_volume.Test_boot_volume.Id,
}));
}
}
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.GetBootVolume(ctx, &core.GetBootVolumeArgs{
BootVolumeId: oci_core_boot_volume.Test_boot_volume.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_boot_volume = oci.Core.get_boot_volume(boot_volume_id=oci_core_boot_volume["test_boot_volume"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBootVolume = oci.Core.getBootVolume({
bootVolumeId: oci_core_boot_volume.test_boot_volume.id,
});
Coming soon!
Using getBootVolume
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBootVolume(args: GetBootVolumeArgs, opts?: InvokeOptions): Promise<GetBootVolumeResult>
function getBootVolumeOutput(args: GetBootVolumeOutputArgs, opts?: InvokeOptions): Output<GetBootVolumeResult>
def get_boot_volume(boot_volume_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBootVolumeResult
def get_boot_volume_output(boot_volume_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBootVolumeResult]
func GetBootVolume(ctx *Context, args *GetBootVolumeArgs, opts ...InvokeOption) (*GetBootVolumeResult, error)
func GetBootVolumeOutput(ctx *Context, args *GetBootVolumeOutputArgs, opts ...InvokeOption) GetBootVolumeResultOutput
> Note: This function is named GetBootVolume
in the Go SDK.
public static class GetBootVolume
{
public static Task<GetBootVolumeResult> InvokeAsync(GetBootVolumeArgs args, InvokeOptions? opts = null)
public static Output<GetBootVolumeResult> Invoke(GetBootVolumeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBootVolumeResult> getBootVolume(GetBootVolumeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:Core/getBootVolume:getBootVolume
Arguments:
# Arguments dictionary
The following arguments are supported:
- Boot
Volume stringId The OCID of the boot volume.
- Boot
Volume stringId The OCID of the boot volume.
- boot
Volume StringId The OCID of the boot volume.
- boot
Volume stringId The OCID of the boot volume.
- boot_
volume_ strid The OCID of the boot volume.
- boot
Volume StringId The OCID of the boot volume.
getBootVolume Result
The following output properties are available:
- Auto
Tuned stringVpus Per Gb The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.
- Availability
Domain string The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- Backup
Policy stringId The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.
- Boot
Volume stringId - Boot
Volume List<GetReplicas Boot Volume Boot Volume Replica> The list of boot volume replicas of this boot volume
- Boot
Volume boolReplicas Deletion - Compartment
Id string The OCID of the compartment that contains the boot volume.
- Dictionary<string, object>
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 string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, object>
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 string
The OCID of the boot volume replica.
- Image
Id string The image OCID used to create the boot volume.
- Is
Auto boolTune Enabled Specifies whether the auto-tune performance is enabled for this boot volume.
- Is
Hydrated bool Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
- Kms
Key stringId The OCID of the Key Management master encryption key assigned to the boot volume.
- Size
In stringGbs The size of the boot volume in GBs.
- Size
In stringMbs The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use
size_in_gbs
.- Source
Details List<GetBoot Volume Source Detail> - State string
The current state of a boot volume.
- Dictionary<string, object>
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Time
Created string The date and time the boot volume was created. Format defined by RFC3339.
- Volume
Group stringId The OCID of the source volume group.
- Vpus
Per stringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- Auto
Tuned stringVpus Per Gb The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.
- Availability
Domain string The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- Backup
Policy stringId The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.
- Boot
Volume stringId - Boot
Volume []GetReplicas Boot Volume Boot Volume Replica The list of boot volume replicas of this boot volume
- Boot
Volume boolReplicas Deletion - Compartment
Id string The OCID of the compartment that contains the boot volume.
- map[string]interface{}
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 string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]interface{}
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 string
The OCID of the boot volume replica.
- Image
Id string The image OCID used to create the boot volume.
- Is
Auto boolTune Enabled Specifies whether the auto-tune performance is enabled for this boot volume.
- Is
Hydrated bool Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
- Kms
Key stringId The OCID of the Key Management master encryption key assigned to the boot volume.
- Size
In stringGbs The size of the boot volume in GBs.
- Size
In stringMbs The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use
size_in_gbs
.- Source
Details []GetBoot Volume Source Detail - State string
The current state of a boot volume.
- map[string]interface{}
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Time
Created string The date and time the boot volume was created. Format defined by RFC3339.
- Volume
Group stringId The OCID of the source volume group.
- Vpus
Per stringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- auto
Tuned StringVpus Per Gb The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.
- availability
Domain String The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- backup
Policy StringId The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.
- boot
Volume StringId - boot
Volume List<GetReplicas Boot Volume Boot Volume Replica> The list of boot volume replicas of this boot volume
- boot
Volume BooleanReplicas Deletion - compartment
Id String The OCID of the compartment that contains the boot volume.
- Map<String,Object>
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 String A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,Object>
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 String
The OCID of the boot volume replica.
- image
Id String The image OCID used to create the boot volume.
- is
Auto BooleanTune Enabled Specifies whether the auto-tune performance is enabled for this boot volume.
- is
Hydrated Boolean Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
- kms
Key StringId The OCID of the Key Management master encryption key assigned to the boot volume.
- size
In StringGbs The size of the boot volume in GBs.
- size
In StringMbs The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use
size_in_gbs
.- source
Details List<GetBoot Volume Source Detail> - state String
The current state of a boot volume.
- Map<String,Object>
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- time
Created String The date and time the boot volume was created. Format defined by RFC3339.
- volume
Group StringId The OCID of the source volume group.
- vpus
Per StringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- auto
Tuned stringVpus Per Gb The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.
- availability
Domain string The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- backup
Policy stringId The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.
- boot
Volume stringId - boot
Volume GetReplicas Boot Volume Boot Volume Replica[] The list of boot volume replicas of this boot volume
- boot
Volume booleanReplicas Deletion - compartment
Id string The OCID of the compartment that contains the boot volume.
- {[key: string]: any}
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 string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: any}
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 string
The OCID of the boot volume replica.
- image
Id string The image OCID used to create the boot volume.
- is
Auto booleanTune Enabled Specifies whether the auto-tune performance is enabled for this boot volume.
- is
Hydrated boolean Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
- kms
Key stringId The OCID of the Key Management master encryption key assigned to the boot volume.
- size
In stringGbs The size of the boot volume in GBs.
- size
In stringMbs The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use
size_in_gbs
.- source
Details GetBoot Volume Source Detail[] - state string
The current state of a boot volume.
- {[key: string]: any}
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- time
Created string The date and time the boot volume was created. Format defined by RFC3339.
- volume
Group stringId The OCID of the source volume group.
- vpus
Per stringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- auto_
tuned_ strvpus_ per_ gb The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.
- availability_
domain str The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- backup_
policy_ strid The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.
- boot_
volume_ strid - boot_
volume_ Getreplicas Boot Volume Boot Volume Replica] The list of boot volume replicas of this boot volume
- boot_
volume_ boolreplicas_ deletion - compartment_
id str The OCID of the compartment that contains the boot volume.
- Mapping[str, Any]
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 str A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, Any]
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 str
The OCID of the boot volume replica.
- image_
id str The image OCID used to create the boot volume.
- is_
auto_ booltune_ enabled Specifies whether the auto-tune performance is enabled for this boot volume.
- is_
hydrated bool Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
- kms_
key_ strid The OCID of the Key Management master encryption key assigned to the boot volume.
- size_
in_ strgbs The size of the boot volume in GBs.
- size_
in_ strmbs The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use
size_in_gbs
.- source_
details GetBoot Volume Source Detail] - state str
The current state of a boot volume.
- Mapping[str, Any]
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- time_
created str The date and time the boot volume was created. Format defined by RFC3339.
- volume_
group_ strid The OCID of the source volume group.
- vpus_
per_ strgb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- auto
Tuned StringVpus Per Gb The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.
- availability
Domain String The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- backup
Policy StringId The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.
- boot
Volume StringId - boot
Volume List<Property Map>Replicas The list of boot volume replicas of this boot volume
- boot
Volume BooleanReplicas Deletion - compartment
Id String The OCID of the compartment that contains the boot volume.
- Map<Any>
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 String A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<Any>
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 String
The OCID of the boot volume replica.
- image
Id String The image OCID used to create the boot volume.
- is
Auto BooleanTune Enabled Specifies whether the auto-tune performance is enabled for this boot volume.
- is
Hydrated Boolean Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
- kms
Key StringId The OCID of the Key Management master encryption key assigned to the boot volume.
- size
In StringGbs The size of the boot volume in GBs.
- size
In StringMbs The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use
size_in_gbs
.- source
Details List<Property Map> - state String
The current state of a boot volume.
- Map<Any>
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- time
Created String The date and time the boot volume was created. Format defined by RFC3339.
- volume
Group StringId The OCID of the source volume group.
- vpus
Per StringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Supporting Types
GetBootVolumeBootVolumeReplica
- Availability
Domain string The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- Boot
Volume stringReplica Id The boot volume replica's Oracle ID (OCID).
- Display
Name string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Availability
Domain string The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- Boot
Volume stringReplica Id The boot volume replica's Oracle ID (OCID).
- Display
Name string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- availability
Domain String The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- boot
Volume StringReplica Id The boot volume replica's Oracle ID (OCID).
- display
Name String A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- availability
Domain string The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- boot
Volume stringReplica Id The boot volume replica's Oracle ID (OCID).
- display
Name string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- availability_
domain str The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- boot_
volume_ strreplica_ id The boot volume replica's Oracle ID (OCID).
- display_
name str A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- availability
Domain String The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- boot
Volume StringReplica Id The boot volume replica's Oracle ID (OCID).
- display
Name String A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
GetBootVolumeSourceDetail
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.