Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

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:

BootVolumeId string

The OCID of the boot volume.

BootVolumeId string

The OCID of the boot volume.

bootVolumeId String

The OCID of the boot volume.

bootVolumeId string

The OCID of the boot volume.

boot_volume_id str

The OCID of the boot volume.

bootVolumeId String

The OCID of the boot volume.

getBootVolume Result

The following output properties are available:

AutoTunedVpusPerGb string

The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.

AvailabilityDomain string

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

BackupPolicyId string

Deprecated:

The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.

BootVolumeId string
BootVolumeReplicas List<GetBootVolumeBootVolumeReplica>

The list of boot volume replicas of this boot volume

BootVolumeReplicasDeletion bool
CompartmentId string

The OCID of the compartment that contains the boot volume.

DefinedTags 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"}

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags 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.

ImageId string

The image OCID used to create the boot volume.

IsAutoTuneEnabled bool

Specifies whether the auto-tune performance is enabled for this boot volume.

IsHydrated bool

Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.

KmsKeyId string

The OCID of the Key Management master encryption key assigned to the boot volume.

SizeInGbs string

The size of the boot volume in GBs.

SizeInMbs string

The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

SourceDetails List<GetBootVolumeSourceDetail>
State string

The current state of a boot volume.

SystemTags Dictionary<string, object>

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

TimeCreated string

The date and time the boot volume was created. Format defined by RFC3339.

VolumeGroupId string

The OCID of the source volume group.

VpusPerGb string

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.

AutoTunedVpusPerGb string

The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.

AvailabilityDomain string

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

BackupPolicyId string

Deprecated:

The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.

BootVolumeId string
BootVolumeReplicas []GetBootVolumeBootVolumeReplica

The list of boot volume replicas of this boot volume

BootVolumeReplicasDeletion bool
CompartmentId string

The OCID of the compartment that contains the boot volume.

DefinedTags 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"}

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags 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.

ImageId string

The image OCID used to create the boot volume.

IsAutoTuneEnabled bool

Specifies whether the auto-tune performance is enabled for this boot volume.

IsHydrated bool

Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.

KmsKeyId string

The OCID of the Key Management master encryption key assigned to the boot volume.

SizeInGbs string

The size of the boot volume in GBs.

SizeInMbs string

The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

SourceDetails []GetBootVolumeSourceDetail
State string

The current state of a boot volume.

SystemTags map[string]interface{}

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

TimeCreated string

The date and time the boot volume was created. Format defined by RFC3339.

VolumeGroupId string

The OCID of the source volume group.

VpusPerGb string

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.

autoTunedVpusPerGb String

The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.

availabilityDomain String

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

backupPolicyId String

Deprecated:

The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.

bootVolumeId String
bootVolumeReplicas List<GetBootVolumeBootVolumeReplica>

The list of boot volume replicas of this boot volume

bootVolumeReplicasDeletion Boolean
compartmentId String

The OCID of the compartment that contains the boot volume.

definedTags 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"}

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeformTags 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.

imageId String

The image OCID used to create the boot volume.

isAutoTuneEnabled Boolean

Specifies whether the auto-tune performance is enabled for this boot volume.

isHydrated Boolean

Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.

kmsKeyId String

The OCID of the Key Management master encryption key assigned to the boot volume.

sizeInGbs String

The size of the boot volume in GBs.

sizeInMbs String

The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

sourceDetails List<GetBootVolumeSourceDetail>
state String

The current state of a boot volume.

systemTags Map<String,Object>

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

timeCreated String

The date and time the boot volume was created. Format defined by RFC3339.

volumeGroupId String

The OCID of the source volume group.

vpusPerGb String

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.

autoTunedVpusPerGb string

The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.

availabilityDomain string

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

backupPolicyId string

Deprecated:

The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.

bootVolumeId string
bootVolumeReplicas GetBootVolumeBootVolumeReplica[]

The list of boot volume replicas of this boot volume

bootVolumeReplicasDeletion boolean
compartmentId string

The OCID of the compartment that contains the boot volume.

definedTags {[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"}

displayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeformTags {[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.

imageId string

The image OCID used to create the boot volume.

isAutoTuneEnabled boolean

Specifies whether the auto-tune performance is enabled for this boot volume.

isHydrated boolean

Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.

kmsKeyId string

The OCID of the Key Management master encryption key assigned to the boot volume.

sizeInGbs string

The size of the boot volume in GBs.

sizeInMbs string

The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

sourceDetails GetBootVolumeSourceDetail[]
state string

The current state of a boot volume.

systemTags {[key: string]: any}

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

timeCreated string

The date and time the boot volume was created. Format defined by RFC3339.

volumeGroupId string

The OCID of the source volume group.

vpusPerGb string

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_vpus_per_gb str

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_id str

Deprecated:

The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.

boot_volume_id str
boot_volume_replicas GetBootVolumeBootVolumeReplica]

The list of boot volume replicas of this boot volume

boot_volume_replicas_deletion bool
compartment_id str

The OCID of the compartment that contains the boot volume.

defined_tags 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.

freeform_tags 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_tune_enabled bool

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_id str

The OCID of the Key Management master encryption key assigned to the boot volume.

size_in_gbs str

The size of the boot volume in GBs.

size_in_mbs str

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 GetBootVolumeSourceDetail]
state str

The current state of a boot volume.

system_tags 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_id str

The OCID of the source volume group.

vpus_per_gb str

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.

autoTunedVpusPerGb String

The number of Volume Performance Units per GB that this volume is effectively tuned to when it's idle.

availabilityDomain String

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

backupPolicyId String

Deprecated:

The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.

bootVolumeId String
bootVolumeReplicas List<Property Map>

The list of boot volume replicas of this boot volume

bootVolumeReplicasDeletion Boolean
compartmentId String

The OCID of the compartment that contains the boot volume.

definedTags 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"}

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeformTags 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.

imageId String

The image OCID used to create the boot volume.

isAutoTuneEnabled Boolean

Specifies whether the auto-tune performance is enabled for this boot volume.

isHydrated Boolean

Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.

kmsKeyId String

The OCID of the Key Management master encryption key assigned to the boot volume.

sizeInGbs String

The size of the boot volume in GBs.

sizeInMbs String

The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

sourceDetails List<Property Map>
state String

The current state of a boot volume.

systemTags Map<Any>

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

timeCreated String

The date and time the boot volume was created. Format defined by RFC3339.

volumeGroupId String

The OCID of the source volume group.

vpusPerGb String

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

AvailabilityDomain string

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

BootVolumeReplicaId string

The boot volume replica's Oracle ID (OCID).

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

AvailabilityDomain string

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

BootVolumeReplicaId string

The boot volume replica's Oracle ID (OCID).

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

availabilityDomain String

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

bootVolumeReplicaId String

The boot volume replica's Oracle ID (OCID).

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

availabilityDomain string

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

bootVolumeReplicaId string

The boot volume replica's Oracle ID (OCID).

displayName 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_replica_id str

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.

availabilityDomain String

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

bootVolumeReplicaId String

The boot volume replica's Oracle ID (OCID).

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

GetBootVolumeSourceDetail

Id string

The OCID of the boot volume replica.

Type string

The type can be one of these values: bootVolume, bootVolumeBackup, bootVolumeReplica

Id string

The OCID of the boot volume replica.

Type string

The type can be one of these values: bootVolume, bootVolumeBackup, bootVolumeReplica

id String

The OCID of the boot volume replica.

type String

The type can be one of these values: bootVolume, bootVolumeBackup, bootVolumeReplica

id string

The OCID of the boot volume replica.

type string

The type can be one of these values: bootVolume, bootVolumeBackup, bootVolumeReplica

id str

The OCID of the boot volume replica.

type str

The type can be one of these values: bootVolume, bootVolumeBackup, bootVolumeReplica

id String

The OCID of the boot volume replica.

type String

The type can be one of these values: bootVolume, bootVolumeBackup, bootVolumeReplica

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.