1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. BootVolume
Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi

oci.Core.BootVolume

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi

    This resource provides the Boot Volume resource in Oracle Cloud Infrastructure Core service.

    Creates a new boot volume in the specified compartment from an existing boot volume or a boot volume backup. For general information about boot volumes, see Boot Volumes. You may optionally specify a display name for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBootVolume = new oci.core.BootVolume("test_boot_volume", {
        compartmentId: compartmentId,
        sourceDetails: {
            id: bootVolumeSourceDetailsId,
            type: bootVolumeSourceDetailsType,
        },
        autotunePolicies: [{
            autotuneType: bootVolumeAutotunePoliciesAutotuneType,
            maxVpusPerGb: bootVolumeAutotunePoliciesMaxVpusPerGb,
        }],
        availabilityDomain: bootVolumeAvailabilityDomain,
        backupPolicyId: testVolumeBackupPolicies.volumeBackupPolicies[0].id,
        bootVolumeReplicas: [{
            availabilityDomain: bootVolumeBootVolumeReplicasAvailabilityDomain,
            displayName: bootVolumeBootVolumeReplicasDisplayName,
        }],
        clusterPlacementGroupId: testGroup.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: bootVolumeDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        isAutoTuneEnabled: bootVolumeIsAutoTuneEnabled,
        kmsKeyId: testKey.id,
        sizeInGbs: bootVolumeSizeInGbs,
        vpusPerGb: bootVolumeVpusPerGb,
        bootVolumeReplicasDeletion: true,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_boot_volume = oci.core.BootVolume("test_boot_volume",
        compartment_id=compartment_id,
        source_details=oci.core.BootVolumeSourceDetailsArgs(
            id=boot_volume_source_details_id,
            type=boot_volume_source_details_type,
        ),
        autotune_policies=[oci.core.BootVolumeAutotunePolicyArgs(
            autotune_type=boot_volume_autotune_policies_autotune_type,
            max_vpus_per_gb=boot_volume_autotune_policies_max_vpus_per_gb,
        )],
        availability_domain=boot_volume_availability_domain,
        backup_policy_id=test_volume_backup_policies["volumeBackupPolicies"][0]["id"],
        boot_volume_replicas=[oci.core.BootVolumeBootVolumeReplicaArgs(
            availability_domain=boot_volume_boot_volume_replicas_availability_domain,
            display_name=boot_volume_boot_volume_replicas_display_name,
        )],
        cluster_placement_group_id=test_group["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=boot_volume_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        is_auto_tune_enabled=boot_volume_is_auto_tune_enabled,
        kms_key_id=test_key["id"],
        size_in_gbs=boot_volume_size_in_gbs,
        vpus_per_gb=boot_volume_vpus_per_gb,
        boot_volume_replicas_deletion=True)
    
    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.NewBootVolume(ctx, "test_boot_volume", &Core.BootVolumeArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			SourceDetails: &core.BootVolumeSourceDetailsArgs{
    				Id:   pulumi.Any(bootVolumeSourceDetailsId),
    				Type: pulumi.Any(bootVolumeSourceDetailsType),
    			},
    			AutotunePolicies: core.BootVolumeAutotunePolicyArray{
    				&core.BootVolumeAutotunePolicyArgs{
    					AutotuneType: pulumi.Any(bootVolumeAutotunePoliciesAutotuneType),
    					MaxVpusPerGb: pulumi.Any(bootVolumeAutotunePoliciesMaxVpusPerGb),
    				},
    			},
    			AvailabilityDomain: pulumi.Any(bootVolumeAvailabilityDomain),
    			BackupPolicyId:     pulumi.Any(testVolumeBackupPolicies.VolumeBackupPolicies[0].Id),
    			BootVolumeReplicas: core.BootVolumeBootVolumeReplicaArray{
    				&core.BootVolumeBootVolumeReplicaArgs{
    					AvailabilityDomain: pulumi.Any(bootVolumeBootVolumeReplicasAvailabilityDomain),
    					DisplayName:        pulumi.Any(bootVolumeBootVolumeReplicasDisplayName),
    				},
    			},
    			ClusterPlacementGroupId: pulumi.Any(testGroup.Id),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DisplayName: pulumi.Any(bootVolumeDisplayName),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			IsAutoTuneEnabled:          pulumi.Any(bootVolumeIsAutoTuneEnabled),
    			KmsKeyId:                   pulumi.Any(testKey.Id),
    			SizeInGbs:                  pulumi.Any(bootVolumeSizeInGbs),
    			VpusPerGb:                  pulumi.Any(bootVolumeVpusPerGb),
    			BootVolumeReplicasDeletion: pulumi.Bool(true),
    		})
    		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 = new Oci.Core.BootVolume("test_boot_volume", new()
        {
            CompartmentId = compartmentId,
            SourceDetails = new Oci.Core.Inputs.BootVolumeSourceDetailsArgs
            {
                Id = bootVolumeSourceDetailsId,
                Type = bootVolumeSourceDetailsType,
            },
            AutotunePolicies = new[]
            {
                new Oci.Core.Inputs.BootVolumeAutotunePolicyArgs
                {
                    AutotuneType = bootVolumeAutotunePoliciesAutotuneType,
                    MaxVpusPerGb = bootVolumeAutotunePoliciesMaxVpusPerGb,
                },
            },
            AvailabilityDomain = bootVolumeAvailabilityDomain,
            BackupPolicyId = testVolumeBackupPolicies.VolumeBackupPolicies[0].Id,
            BootVolumeReplicas = new[]
            {
                new Oci.Core.Inputs.BootVolumeBootVolumeReplicaArgs
                {
                    AvailabilityDomain = bootVolumeBootVolumeReplicasAvailabilityDomain,
                    DisplayName = bootVolumeBootVolumeReplicasDisplayName,
                },
            },
            ClusterPlacementGroupId = testGroup.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = bootVolumeDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IsAutoTuneEnabled = bootVolumeIsAutoTuneEnabled,
            KmsKeyId = testKey.Id,
            SizeInGbs = bootVolumeSizeInGbs,
            VpusPerGb = bootVolumeVpusPerGb,
            BootVolumeReplicasDeletion = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.BootVolume;
    import com.pulumi.oci.Core.BootVolumeArgs;
    import com.pulumi.oci.Core.inputs.BootVolumeSourceDetailsArgs;
    import com.pulumi.oci.Core.inputs.BootVolumeAutotunePolicyArgs;
    import com.pulumi.oci.Core.inputs.BootVolumeBootVolumeReplicaArgs;
    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) {
            var testBootVolume = new BootVolume("testBootVolume", BootVolumeArgs.builder()        
                .compartmentId(compartmentId)
                .sourceDetails(BootVolumeSourceDetailsArgs.builder()
                    .id(bootVolumeSourceDetailsId)
                    .type(bootVolumeSourceDetailsType)
                    .build())
                .autotunePolicies(BootVolumeAutotunePolicyArgs.builder()
                    .autotuneType(bootVolumeAutotunePoliciesAutotuneType)
                    .maxVpusPerGb(bootVolumeAutotunePoliciesMaxVpusPerGb)
                    .build())
                .availabilityDomain(bootVolumeAvailabilityDomain)
                .backupPolicyId(testVolumeBackupPolicies.volumeBackupPolicies()[0].id())
                .bootVolumeReplicas(BootVolumeBootVolumeReplicaArgs.builder()
                    .availabilityDomain(bootVolumeBootVolumeReplicasAvailabilityDomain)
                    .displayName(bootVolumeBootVolumeReplicasDisplayName)
                    .build())
                .clusterPlacementGroupId(testGroup.id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(bootVolumeDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .isAutoTuneEnabled(bootVolumeIsAutoTuneEnabled)
                .kmsKeyId(testKey.id())
                .sizeInGbs(bootVolumeSizeInGbs)
                .vpusPerGb(bootVolumeVpusPerGb)
                .bootVolumeReplicasDeletion(true)
                .build());
    
        }
    }
    
    resources:
      testBootVolume:
        type: oci:Core:BootVolume
        name: test_boot_volume
        properties:
          compartmentId: ${compartmentId}
          sourceDetails:
            id: ${bootVolumeSourceDetailsId}
            type: ${bootVolumeSourceDetailsType}
          autotunePolicies:
            - autotuneType: ${bootVolumeAutotunePoliciesAutotuneType}
              maxVpusPerGb: ${bootVolumeAutotunePoliciesMaxVpusPerGb}
          availabilityDomain: ${bootVolumeAvailabilityDomain}
          backupPolicyId: ${testVolumeBackupPolicies.volumeBackupPolicies[0].id}
          bootVolumeReplicas:
            - availabilityDomain: ${bootVolumeBootVolumeReplicasAvailabilityDomain}
              displayName: ${bootVolumeBootVolumeReplicasDisplayName}
          clusterPlacementGroupId: ${testGroup.id}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${bootVolumeDisplayName}
          freeformTags:
            Department: Finance
          isAutoTuneEnabled: ${bootVolumeIsAutoTuneEnabled}
          kmsKeyId: ${testKey.id}
          sizeInGbs: ${bootVolumeSizeInGbs}
          vpusPerGb: ${bootVolumeVpusPerGb}
          bootVolumeReplicasDeletion: true
    

    Create BootVolume Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BootVolume(name: string, args: BootVolumeArgs, opts?: CustomResourceOptions);
    @overload
    def BootVolume(resource_name: str,
                   args: BootVolumeArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def BootVolume(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   compartment_id: Optional[str] = None,
                   availability_domain: Optional[str] = None,
                   source_details: Optional[_core.BootVolumeSourceDetailsArgs] = None,
                   boot_volume_replicas: Optional[Sequence[_core.BootVolumeBootVolumeReplicaArgs]] = None,
                   boot_volume_replicas_deletion: Optional[bool] = None,
                   cluster_placement_group_id: Optional[str] = None,
                   autotune_policies: Optional[Sequence[_core.BootVolumeAutotunePolicyArgs]] = None,
                   defined_tags: Optional[Mapping[str, Any]] = None,
                   display_name: Optional[str] = None,
                   freeform_tags: Optional[Mapping[str, Any]] = None,
                   is_auto_tune_enabled: Optional[bool] = None,
                   kms_key_id: Optional[str] = None,
                   size_in_gbs: Optional[str] = None,
                   backup_policy_id: Optional[str] = None,
                   vpus_per_gb: Optional[str] = None)
    func NewBootVolume(ctx *Context, name string, args BootVolumeArgs, opts ...ResourceOption) (*BootVolume, error)
    public BootVolume(string name, BootVolumeArgs args, CustomResourceOptions? opts = null)
    public BootVolume(String name, BootVolumeArgs args)
    public BootVolume(String name, BootVolumeArgs args, CustomResourceOptions options)
    
    type: oci:Core:BootVolume
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BootVolumeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BootVolumeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BootVolumeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BootVolumeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BootVolumeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var bootVolumeResource = new Oci.Core.BootVolume("bootVolumeResource", new()
    {
        CompartmentId = "string",
        AvailabilityDomain = "string",
        SourceDetails = new Oci.Core.Inputs.BootVolumeSourceDetailsArgs
        {
            Id = "string",
            Type = "string",
        },
        BootVolumeReplicas = new[]
        {
            new Oci.Core.Inputs.BootVolumeBootVolumeReplicaArgs
            {
                AvailabilityDomain = "string",
                BootVolumeReplicaId = "string",
                DisplayName = "string",
            },
        },
        BootVolumeReplicasDeletion = false,
        ClusterPlacementGroupId = "string",
        AutotunePolicies = new[]
        {
            new Oci.Core.Inputs.BootVolumeAutotunePolicyArgs
            {
                AutotuneType = "string",
                MaxVpusPerGb = "string",
            },
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        IsAutoTuneEnabled = false,
        KmsKeyId = "string",
        SizeInGbs = "string",
        VpusPerGb = "string",
    });
    
    example, err := Core.NewBootVolume(ctx, "bootVolumeResource", &Core.BootVolumeArgs{
    	CompartmentId:      pulumi.String("string"),
    	AvailabilityDomain: pulumi.String("string"),
    	SourceDetails: &core.BootVolumeSourceDetailsArgs{
    		Id:   pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	BootVolumeReplicas: core.BootVolumeBootVolumeReplicaArray{
    		&core.BootVolumeBootVolumeReplicaArgs{
    			AvailabilityDomain:  pulumi.String("string"),
    			BootVolumeReplicaId: pulumi.String("string"),
    			DisplayName:         pulumi.String("string"),
    		},
    	},
    	BootVolumeReplicasDeletion: pulumi.Bool(false),
    	ClusterPlacementGroupId:    pulumi.String("string"),
    	AutotunePolicies: core.BootVolumeAutotunePolicyArray{
    		&core.BootVolumeAutotunePolicyArgs{
    			AutotuneType: pulumi.String("string"),
    			MaxVpusPerGb: pulumi.String("string"),
    		},
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	IsAutoTuneEnabled: pulumi.Bool(false),
    	KmsKeyId:          pulumi.String("string"),
    	SizeInGbs:         pulumi.String("string"),
    	VpusPerGb:         pulumi.String("string"),
    })
    
    var bootVolumeResource = new BootVolume("bootVolumeResource", BootVolumeArgs.builder()        
        .compartmentId("string")
        .availabilityDomain("string")
        .sourceDetails(BootVolumeSourceDetailsArgs.builder()
            .id("string")
            .type("string")
            .build())
        .bootVolumeReplicas(BootVolumeBootVolumeReplicaArgs.builder()
            .availabilityDomain("string")
            .bootVolumeReplicaId("string")
            .displayName("string")
            .build())
        .bootVolumeReplicasDeletion(false)
        .clusterPlacementGroupId("string")
        .autotunePolicies(BootVolumeAutotunePolicyArgs.builder()
            .autotuneType("string")
            .maxVpusPerGb("string")
            .build())
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .isAutoTuneEnabled(false)
        .kmsKeyId("string")
        .sizeInGbs("string")
        .vpusPerGb("string")
        .build());
    
    boot_volume_resource = oci.core.BootVolume("bootVolumeResource",
        compartment_id="string",
        availability_domain="string",
        source_details=oci.core.BootVolumeSourceDetailsArgs(
            id="string",
            type="string",
        ),
        boot_volume_replicas=[oci.core.BootVolumeBootVolumeReplicaArgs(
            availability_domain="string",
            boot_volume_replica_id="string",
            display_name="string",
        )],
        boot_volume_replicas_deletion=False,
        cluster_placement_group_id="string",
        autotune_policies=[oci.core.BootVolumeAutotunePolicyArgs(
            autotune_type="string",
            max_vpus_per_gb="string",
        )],
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        is_auto_tune_enabled=False,
        kms_key_id="string",
        size_in_gbs="string",
        vpus_per_gb="string")
    
    const bootVolumeResource = new oci.core.BootVolume("bootVolumeResource", {
        compartmentId: "string",
        availabilityDomain: "string",
        sourceDetails: {
            id: "string",
            type: "string",
        },
        bootVolumeReplicas: [{
            availabilityDomain: "string",
            bootVolumeReplicaId: "string",
            displayName: "string",
        }],
        bootVolumeReplicasDeletion: false,
        clusterPlacementGroupId: "string",
        autotunePolicies: [{
            autotuneType: "string",
            maxVpusPerGb: "string",
        }],
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        isAutoTuneEnabled: false,
        kmsKeyId: "string",
        sizeInGbs: "string",
        vpusPerGb: "string",
    });
    
    type: oci:Core:BootVolume
    properties:
        autotunePolicies:
            - autotuneType: string
              maxVpusPerGb: string
        availabilityDomain: string
        bootVolumeReplicas:
            - availabilityDomain: string
              bootVolumeReplicaId: string
              displayName: string
        bootVolumeReplicasDeletion: false
        clusterPlacementGroupId: string
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        isAutoTuneEnabled: false
        kmsKeyId: string
        sizeInGbs: string
        sourceDetails:
            id: string
            type: string
        vpusPerGb: string
    

    BootVolume Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The BootVolume resource accepts the following input properties:

    AvailabilityDomain string
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the boot volume.
    SourceDetails BootVolumeSourceDetails
    AutotunePolicies List<BootVolumeAutotunePolicy>
    (Updatable) The list of autotune policies to be enabled for this volume.
    BackupPolicyId string
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    BootVolumeReplicas List<BootVolumeBootVolumeReplica>
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    BootVolumeReplicasDeletion bool
    ClusterPlacementGroupId string
    The clusterPlacementGroup Id of the volume for volume placement.
    DefinedTags Dictionary<string, object>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    IsAutoTuneEnabled bool
    (Updatable) 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.
    KmsKeyId string
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    SizeInGbs string
    (Updatable) The size of the volume in GBs.
    VpusPerGb string

    (Updatable) 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.

    Allowed values:

    AvailabilityDomain string
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the boot volume.
    SourceDetails BootVolumeSourceDetailsArgs
    AutotunePolicies []BootVolumeAutotunePolicyArgs
    (Updatable) The list of autotune policies to be enabled for this volume.
    BackupPolicyId string
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    BootVolumeReplicas []BootVolumeBootVolumeReplicaArgs
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    BootVolumeReplicasDeletion bool
    ClusterPlacementGroupId string
    The clusterPlacementGroup Id of the volume for volume placement.
    DefinedTags map[string]interface{}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    IsAutoTuneEnabled bool
    (Updatable) 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.
    KmsKeyId string
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    SizeInGbs string
    (Updatable) The size of the volume in GBs.
    VpusPerGb string

    (Updatable) 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.

    Allowed values:

    availabilityDomain String
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    compartmentId String
    (Updatable) The OCID of the compartment that contains the boot volume.
    sourceDetails BootVolumeSourceDetails
    autotunePolicies List<BootVolumeAutotunePolicy>
    (Updatable) The list of autotune policies to be enabled for this volume.
    backupPolicyId String
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    bootVolumeReplicas List<BootVolumeBootVolumeReplica>
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    bootVolumeReplicasDeletion Boolean
    clusterPlacementGroupId String
    The clusterPlacementGroup Id of the volume for volume placement.
    definedTags Map<String,Object>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    isAutoTuneEnabled Boolean
    (Updatable) 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.
    kmsKeyId String
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    sizeInGbs String
    (Updatable) The size of the volume in GBs.
    vpusPerGb String

    (Updatable) 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.

    Allowed values:

    availabilityDomain string
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    compartmentId string
    (Updatable) The OCID of the compartment that contains the boot volume.
    sourceDetails BootVolumeSourceDetails
    autotunePolicies BootVolumeAutotunePolicy[]
    (Updatable) The list of autotune policies to be enabled for this volume.
    backupPolicyId string
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    bootVolumeReplicas BootVolumeBootVolumeReplica[]
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    bootVolumeReplicasDeletion boolean
    clusterPlacementGroupId string
    The clusterPlacementGroup Id of the volume for volume placement.
    definedTags {[key: string]: any}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    isAutoTuneEnabled boolean
    (Updatable) 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.
    kmsKeyId string
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    sizeInGbs string
    (Updatable) The size of the volume in GBs.
    vpusPerGb string

    (Updatable) 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.

    Allowed values:

    availability_domain str
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    compartment_id str
    (Updatable) The OCID of the compartment that contains the boot volume.
    source_details core.BootVolumeSourceDetailsArgs
    autotune_policies Sequence[core.BootVolumeAutotunePolicyArgs]
    (Updatable) The list of autotune policies to be enabled for this volume.
    backup_policy_id str
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    boot_volume_replicas Sequence[core.BootVolumeBootVolumeReplicaArgs]
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    boot_volume_replicas_deletion bool
    cluster_placement_group_id str
    The clusterPlacementGroup Id of the volume for volume placement.
    defined_tags Mapping[str, Any]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    is_auto_tune_enabled bool
    (Updatable) 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.
    kms_key_id str
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    size_in_gbs str
    (Updatable) The size of the volume in GBs.
    vpus_per_gb str

    (Updatable) 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.

    Allowed values:

    availabilityDomain String
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    compartmentId String
    (Updatable) The OCID of the compartment that contains the boot volume.
    sourceDetails Property Map
    autotunePolicies List<Property Map>
    (Updatable) The list of autotune policies to be enabled for this volume.
    backupPolicyId String
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    bootVolumeReplicas List<Property Map>
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    bootVolumeReplicasDeletion Boolean
    clusterPlacementGroupId String
    The clusterPlacementGroup Id of the volume for volume placement.
    definedTags Map<Any>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) 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"}
    isAutoTuneEnabled Boolean
    (Updatable) 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.
    kmsKeyId String
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    sizeInGbs String
    (Updatable) The size of the volume in GBs.
    vpusPerGb String

    (Updatable) 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.

    Allowed values:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BootVolume resource produces the following output properties:

    AutoTunedVpusPerGb string
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageId string
    The image OCID used to create the boot volume.
    IsHydrated bool
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    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.
    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.
    AutoTunedVpusPerGb string
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageId string
    The image OCID used to create the boot volume.
    IsHydrated bool
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    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.
    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.
    autoTunedVpusPerGb String
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    id String
    The provider-assigned unique ID for this managed resource.
    imageId String
    The image OCID used to create the boot volume.
    isHydrated Boolean
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    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.
    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.
    autoTunedVpusPerGb string
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    id string
    The provider-assigned unique ID for this managed resource.
    imageId string
    The image OCID used to create the boot volume.
    isHydrated boolean
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    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.
    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.
    auto_tuned_vpus_per_gb str
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    id str
    The provider-assigned unique ID for this managed resource.
    image_id str
    The image OCID used to create the boot volume.
    is_hydrated bool
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    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.
    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.
    autoTunedVpusPerGb String
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    id String
    The provider-assigned unique ID for this managed resource.
    imageId String
    The image OCID used to create the boot volume.
    isHydrated Boolean
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    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.
    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.

    Look up Existing BootVolume Resource

    Get an existing BootVolume resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BootVolumeState, opts?: CustomResourceOptions): BootVolume
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_tuned_vpus_per_gb: Optional[str] = None,
            autotune_policies: Optional[Sequence[_core.BootVolumeAutotunePolicyArgs]] = None,
            availability_domain: Optional[str] = None,
            backup_policy_id: Optional[str] = None,
            boot_volume_replicas: Optional[Sequence[_core.BootVolumeBootVolumeReplicaArgs]] = None,
            boot_volume_replicas_deletion: Optional[bool] = None,
            cluster_placement_group_id: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            image_id: Optional[str] = None,
            is_auto_tune_enabled: Optional[bool] = None,
            is_hydrated: Optional[bool] = None,
            kms_key_id: Optional[str] = None,
            size_in_gbs: Optional[str] = None,
            size_in_mbs: Optional[str] = None,
            source_details: Optional[_core.BootVolumeSourceDetailsArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            volume_group_id: Optional[str] = None,
            vpus_per_gb: Optional[str] = None) -> BootVolume
    func GetBootVolume(ctx *Context, name string, id IDInput, state *BootVolumeState, opts ...ResourceOption) (*BootVolume, error)
    public static BootVolume Get(string name, Input<string> id, BootVolumeState? state, CustomResourceOptions? opts = null)
    public static BootVolume get(String name, Output<String> id, BootVolumeState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoTunedVpusPerGb string
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    AutotunePolicies List<BootVolumeAutotunePolicy>
    (Updatable) The list of autotune policies to be enabled for this volume.
    AvailabilityDomain string
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    BackupPolicyId string
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    BootVolumeReplicas List<BootVolumeBootVolumeReplica>
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    BootVolumeReplicasDeletion bool
    ClusterPlacementGroupId string
    The clusterPlacementGroup Id of the volume for volume placement.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the boot volume.
    DefinedTags Dictionary<string, object>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    ImageId string
    The image OCID used to create the boot volume.
    IsAutoTuneEnabled bool
    (Updatable) 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.
    IsHydrated bool
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    KmsKeyId string
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    SizeInGbs string
    (Updatable) The size of the 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 BootVolumeSourceDetails
    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

    (Updatable) 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.

    Allowed values:

    AutoTunedVpusPerGb string
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    AutotunePolicies []BootVolumeAutotunePolicyArgs
    (Updatable) The list of autotune policies to be enabled for this volume.
    AvailabilityDomain string
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    BackupPolicyId string
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    BootVolumeReplicas []BootVolumeBootVolumeReplicaArgs
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    BootVolumeReplicasDeletion bool
    ClusterPlacementGroupId string
    The clusterPlacementGroup Id of the volume for volume placement.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the boot volume.
    DefinedTags map[string]interface{}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    ImageId string
    The image OCID used to create the boot volume.
    IsAutoTuneEnabled bool
    (Updatable) 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.
    IsHydrated bool
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    KmsKeyId string
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    SizeInGbs string
    (Updatable) The size of the 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 BootVolumeSourceDetailsArgs
    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

    (Updatable) 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.

    Allowed values:

    autoTunedVpusPerGb String
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    autotunePolicies List<BootVolumeAutotunePolicy>
    (Updatable) The list of autotune policies to be enabled for this volume.
    availabilityDomain String
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    backupPolicyId String
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    bootVolumeReplicas List<BootVolumeBootVolumeReplica>
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    bootVolumeReplicasDeletion Boolean
    clusterPlacementGroupId String
    The clusterPlacementGroup Id of the volume for volume placement.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the boot volume.
    definedTags Map<String,Object>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    imageId String
    The image OCID used to create the boot volume.
    isAutoTuneEnabled Boolean
    (Updatable) 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.
    isHydrated Boolean
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    kmsKeyId String
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    sizeInGbs String
    (Updatable) The size of the 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 BootVolumeSourceDetails
    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

    (Updatable) 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.

    Allowed values:

    autoTunedVpusPerGb string
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    autotunePolicies BootVolumeAutotunePolicy[]
    (Updatable) The list of autotune policies to be enabled for this volume.
    availabilityDomain string
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    backupPolicyId string
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    bootVolumeReplicas BootVolumeBootVolumeReplica[]
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    bootVolumeReplicasDeletion boolean
    clusterPlacementGroupId string
    The clusterPlacementGroup Id of the volume for volume placement.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the boot volume.
    definedTags {[key: string]: any}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    imageId string
    The image OCID used to create the boot volume.
    isAutoTuneEnabled boolean
    (Updatable) 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.
    isHydrated boolean
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    kmsKeyId string
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    sizeInGbs string
    (Updatable) The size of the 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 BootVolumeSourceDetails
    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

    (Updatable) 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.

    Allowed values:

    auto_tuned_vpus_per_gb str
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    autotune_policies Sequence[core.BootVolumeAutotunePolicyArgs]
    (Updatable) The list of autotune policies to be enabled for this volume.
    availability_domain str
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    backup_policy_id str
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    boot_volume_replicas Sequence[core.BootVolumeBootVolumeReplicaArgs]
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    boot_volume_replicas_deletion bool
    cluster_placement_group_id str
    The clusterPlacementGroup Id of the volume for volume placement.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the boot volume.
    defined_tags Mapping[str, Any]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    image_id str
    The image OCID used to create the boot volume.
    is_auto_tune_enabled bool
    (Updatable) 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_id str
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    size_in_gbs str
    (Updatable) The size of the 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 core.BootVolumeSourceDetailsArgs
    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

    (Updatable) 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.

    Allowed values:

    autoTunedVpusPerGb String
    The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
    autotunePolicies List<Property Map>
    (Updatable) The list of autotune policies to be enabled for this volume.
    availabilityDomain String
    (Updatable) The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
    backupPolicyId String
    If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignments instead to assign a backup policy to a boot volume.

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

    bootVolumeReplicas List<Property Map>
    (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
    bootVolumeReplicasDeletion Boolean
    clusterPlacementGroupId String
    The clusterPlacementGroup Id of the volume for volume placement.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the boot volume.
    definedTags Map<Any>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) 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"}
    imageId String
    The image OCID used to create the boot volume.
    isAutoTuneEnabled Boolean
    (Updatable) 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.
    isHydrated Boolean
    Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    kmsKeyId String
    (Updatable) The OCID of the Vault service key to assign as the master encryption key for the boot volume.
    sizeInGbs String
    (Updatable) The size of the 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 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

    (Updatable) 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.

    Allowed values:

    Supporting Types

    BootVolumeAutotunePolicy, BootVolumeAutotunePolicyArgs

    AutotuneType string
    (Updatable) This specifies the type of autotunes supported by OCI.
    MaxVpusPerGb string
    (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
    AutotuneType string
    (Updatable) This specifies the type of autotunes supported by OCI.
    MaxVpusPerGb string
    (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
    autotuneType String
    (Updatable) This specifies the type of autotunes supported by OCI.
    maxVpusPerGb String
    (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
    autotuneType string
    (Updatable) This specifies the type of autotunes supported by OCI.
    maxVpusPerGb string
    (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
    autotune_type str
    (Updatable) This specifies the type of autotunes supported by OCI.
    max_vpus_per_gb str
    (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
    autotuneType String
    (Updatable) This specifies the type of autotunes supported by OCI.
    maxVpusPerGb String
    (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.

    BootVolumeBootVolumeReplica, BootVolumeBootVolumeReplicaArgs

    AvailabilityDomain string
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    AvailabilityDomain string
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    availabilityDomain String
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    availabilityDomain string
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    availability_domain str
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    availabilityDomain String
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    BootVolumeSourceDetails, BootVolumeSourceDetailsArgs

    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

    Import

    BootVolumes can be imported using the id, e.g.

    $ pulumi import oci:Core/bootVolume:BootVolume test_boot_volume "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi