Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Core.getBootVolume
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBootVolume = oci.Core.getBootVolume({
bootVolumeId: testBootVolumeOciCoreBootVolume.id,
});
import pulumi
import pulumi_oci as oci
test_boot_volume = oci.Core.get_boot_volume(boot_volume_id=test_boot_volume_oci_core_boot_volume["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/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: testBootVolumeOciCoreBootVolume.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testBootVolume = Oci.Core.GetBootVolume.Invoke(new()
{
BootVolumeId = testBootVolumeOciCoreBootVolume.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetBootVolumeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testBootVolume = CoreFunctions.getBootVolume(GetBootVolumeArgs.builder()
.bootVolumeId(testBootVolumeOciCoreBootVolume.id())
.build());
}
}
variables:
testBootVolume:
fn::invoke:
Function: oci:Core:getBootVolume
Arguments:
bootVolumeId: ${testBootVolumeOciCoreBootVolume.id}
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 boot volume is effectively tuned to.
- Autotune
Policies List<GetBoot Volume Autotune Policy> - The list of autotune policies enabled for this volume.
- Availability
Domain string - The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- Backup
Policy stringId - 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 - Cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- Compartment
Id string - The OCID of the compartment that contains the boot volume.
- Dictionary<string, string>
- 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, string>
- 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. This field is deprecated. Use the
DetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - 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 Vault service 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, string>
- 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 boot 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 boot volume is effectively tuned to.
- Autotune
Policies []GetBoot Volume Autotune Policy - The list of autotune policies enabled for this volume.
- Availability
Domain string - The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- Backup
Policy stringId - 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 - Cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- Compartment
Id string - The OCID of the compartment that contains the boot volume.
- map[string]string
- 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]string
- 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. This field is deprecated. Use the
DetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - 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 Vault service 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]string
- 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 boot 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 boot volume is effectively tuned to.
- autotune
Policies List<GetBoot Volume Autotune Policy> - The list of autotune policies enabled for this volume.
- availability
Domain String - The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- backup
Policy StringId - 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 - cluster
Placement StringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id String - The OCID of the compartment that contains the boot volume.
- Map<String,String>
- 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,String>
- 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. This field is deprecated. Use the
DetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - 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 Vault service 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,String>
- 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 boot 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 boot volume is effectively tuned to.
- autotune
Policies GetBoot Volume Autotune Policy[] - The list of autotune policies enabled for this volume.
- availability
Domain string - The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- backup
Policy stringId - 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 - cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id string - The OCID of the compartment that contains the boot volume.
- {[key: string]: string}
- 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]: string}
- 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. This field is deprecated. Use the
DetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - 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 Vault service 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]: string}
- 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 boot 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 boot volume is effectively tuned to.
- autotune_
policies Sequence[core.Get Boot Volume Autotune Policy] - The list of autotune policies enabled for this volume.
- availability_
domain str - The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- backup_
policy_ strid - boot_
volume_ strid - boot_
volume_ Sequence[core.replicas Get Boot Volume Boot Volume Replica] - The list of boot volume replicas of this boot volume
- boot_
volume_ boolreplicas_ deletion - cluster_
placement_ strgroup_ id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment_
id str - The OCID of the compartment that contains the boot volume.
- Mapping[str, str]
- 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, str]
- 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. This field is deprecated. Use the
DetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - 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 Vault service 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 Sequence[core.Get Boot Volume Source Detail] - state str
- The current state of a boot volume.
- Mapping[str, str]
- 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 boot 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 boot volume is effectively tuned to.
- autotune
Policies List<Property Map> - The list of autotune policies enabled for this volume.
- availability
Domain String - The availability domain of the boot volume replica. Example:
Uocm:PHX-AD-1
- backup
Policy StringId - boot
Volume StringId - boot
Volume List<Property Map>Replicas - The list of boot volume replicas of this boot volume
- boot
Volume BooleanReplicas Deletion - cluster
Placement StringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id String - The OCID of the compartment that contains the boot volume.
- Map<String>
- 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>
- 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. This field is deprecated. Use the
DetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - 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 Vault service 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<String>
- 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 boot volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Supporting Types
GetBootVolumeAutotunePolicy
- Autotune
Type string - This specifies the type of autotunes supported by OCI.
- Max
Vpus stringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- Autotune
Type string - This specifies the type of autotunes supported by OCI.
- Max
Vpus stringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune
Type String - This specifies the type of autotunes supported by OCI.
- max
Vpus StringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune
Type string - This specifies the type of autotunes supported by OCI.
- max
Vpus stringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune_
type str - This specifies the type of autotunes supported by OCI.
- max_
vpus_ strper_ gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune
Type String - This specifies the type of autotunes supported by OCI.
- max
Vpus StringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
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
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.