Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Core.getBootVolumeReplica
Explore with Pulumi AI
This data source provides details about a specific Boot Volume Replica resource in Oracle Cloud Infrastructure Core service.
Gets information for the specified boot volume replica.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBootVolumeReplica = oci.Core.getBootVolumeReplica({
    bootVolumeReplicaId: testBootVolumeReplicaOciCoreBootVolumeReplica.id,
});
import pulumi
import pulumi_oci as oci
test_boot_volume_replica = oci.Core.get_boot_volume_replica(boot_volume_replica_id=test_boot_volume_replica_oci_core_boot_volume_replica["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.GetBootVolumeReplica(ctx, &core.GetBootVolumeReplicaArgs{
			BootVolumeReplicaId: testBootVolumeReplicaOciCoreBootVolumeReplica.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 testBootVolumeReplica = Oci.Core.GetBootVolumeReplica.Invoke(new()
    {
        BootVolumeReplicaId = testBootVolumeReplicaOciCoreBootVolumeReplica.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.GetBootVolumeReplicaArgs;
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 testBootVolumeReplica = CoreFunctions.getBootVolumeReplica(GetBootVolumeReplicaArgs.builder()
            .bootVolumeReplicaId(testBootVolumeReplicaOciCoreBootVolumeReplica.id())
            .build());
    }
}
variables:
  testBootVolumeReplica:
    fn::invoke:
      function: oci:Core:getBootVolumeReplica
      arguments:
        bootVolumeReplicaId: ${testBootVolumeReplicaOciCoreBootVolumeReplica.id}
Using getBootVolumeReplica
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 getBootVolumeReplica(args: GetBootVolumeReplicaArgs, opts?: InvokeOptions): Promise<GetBootVolumeReplicaResult>
function getBootVolumeReplicaOutput(args: GetBootVolumeReplicaOutputArgs, opts?: InvokeOptions): Output<GetBootVolumeReplicaResult>def get_boot_volume_replica(boot_volume_replica_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetBootVolumeReplicaResult
def get_boot_volume_replica_output(boot_volume_replica_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetBootVolumeReplicaResult]func GetBootVolumeReplica(ctx *Context, args *GetBootVolumeReplicaArgs, opts ...InvokeOption) (*GetBootVolumeReplicaResult, error)
func GetBootVolumeReplicaOutput(ctx *Context, args *GetBootVolumeReplicaOutputArgs, opts ...InvokeOption) GetBootVolumeReplicaResultOutput> Note: This function is named GetBootVolumeReplica in the Go SDK.
public static class GetBootVolumeReplica 
{
    public static Task<GetBootVolumeReplicaResult> InvokeAsync(GetBootVolumeReplicaArgs args, InvokeOptions? opts = null)
    public static Output<GetBootVolumeReplicaResult> Invoke(GetBootVolumeReplicaInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBootVolumeReplicaResult> getBootVolumeReplica(GetBootVolumeReplicaArgs args, InvokeOptions options)
public static Output<GetBootVolumeReplicaResult> getBootVolumeReplica(GetBootVolumeReplicaArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getBootVolumeReplica:getBootVolumeReplica
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BootVolume stringReplica Id 
- The OCID of the boot volume replica.
- BootVolume stringReplica Id 
- The OCID of the boot volume replica.
- bootVolume StringReplica Id 
- The OCID of the boot volume replica.
- bootVolume stringReplica Id 
- The OCID of the boot volume replica.
- boot_volume_ strreplica_ id 
- The OCID of the boot volume replica.
- bootVolume StringReplica Id 
- The OCID of the boot volume replica.
getBootVolumeReplica Result
The following output properties are available:
- AvailabilityDomain string
- The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
- BootVolume stringId 
- The OCID of the source boot volume.
- BootVolume stringReplica Id 
- CompartmentId string
- The OCID of the compartment that contains the boot volume replica.
- 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"}
- DisplayName 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 provider-assigned unique ID for this managed resource.
- ImageId string
- The image OCID used to create the boot volume the replica is replicated from.
- KmsKey stringId 
- The OCID of the Vault service key to assign as the master encryption key for the boot volume replica, see Overview of Vault service and Using Keys.
- SizeIn stringGbs 
- The size of the source boot volume, in GBs.
- State string
- The current state of a boot volume replica.
- TimeCreated string
- The date and time the boot volume replica was created. Format defined by RFC3339.
- TimeLast stringSynced 
- The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.
- VolumeGroup stringReplica Id 
- AvailabilityDomain string
- The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
- BootVolume stringId 
- The OCID of the source boot volume.
- BootVolume stringReplica Id 
- CompartmentId string
- The OCID of the compartment that contains the boot volume replica.
- 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"}
- DisplayName 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 provider-assigned unique ID for this managed resource.
- ImageId string
- The image OCID used to create the boot volume the replica is replicated from.
- KmsKey stringId 
- The OCID of the Vault service key to assign as the master encryption key for the boot volume replica, see Overview of Vault service and Using Keys.
- SizeIn stringGbs 
- The size of the source boot volume, in GBs.
- State string
- The current state of a boot volume replica.
- TimeCreated string
- The date and time the boot volume replica was created. Format defined by RFC3339.
- TimeLast stringSynced 
- The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.
- VolumeGroup stringReplica Id 
- availabilityDomain String
- The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
- bootVolume StringId 
- The OCID of the source boot volume.
- bootVolume StringReplica Id 
- compartmentId String
- The OCID of the compartment that contains the boot volume replica.
- 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"}
- displayName 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 provider-assigned unique ID for this managed resource.
- imageId String
- The image OCID used to create the boot volume the replica is replicated from.
- kmsKey StringId 
- The OCID of the Vault service key to assign as the master encryption key for the boot volume replica, see Overview of Vault service and Using Keys.
- sizeIn StringGbs 
- The size of the source boot volume, in GBs.
- state String
- The current state of a boot volume replica.
- timeCreated String
- The date and time the boot volume replica was created. Format defined by RFC3339.
- timeLast StringSynced 
- The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.
- volumeGroup StringReplica Id 
- availabilityDomain string
- The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
- bootVolume stringId 
- The OCID of the source boot volume.
- bootVolume stringReplica Id 
- compartmentId string
- The OCID of the compartment that contains the boot volume replica.
- {[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"}
- displayName 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 provider-assigned unique ID for this managed resource.
- imageId string
- The image OCID used to create the boot volume the replica is replicated from.
- kmsKey stringId 
- The OCID of the Vault service key to assign as the master encryption key for the boot volume replica, see Overview of Vault service and Using Keys.
- sizeIn stringGbs 
- The size of the source boot volume, in GBs.
- state string
- The current state of a boot volume replica.
- timeCreated string
- The date and time the boot volume replica was created. Format defined by RFC3339.
- timeLast stringSynced 
- The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.
- volumeGroup stringReplica Id 
- availability_domain str
- The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
- boot_volume_ strid 
- The OCID of the source boot volume.
- boot_volume_ strreplica_ id 
- compartment_id str
- The OCID of the compartment that contains the boot volume replica.
- 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 provider-assigned unique ID for this managed resource.
- image_id str
- The image OCID used to create the boot volume the replica is replicated from.
- kms_key_ strid 
- The OCID of the Vault service key to assign as the master encryption key for the boot volume replica, see Overview of Vault service and Using Keys.
- size_in_ strgbs 
- The size of the source boot volume, in GBs.
- state str
- The current state of a boot volume replica.
- time_created str
- The date and time the boot volume replica was created. Format defined by RFC3339.
- time_last_ strsynced 
- The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.
- volume_group_ strreplica_ id 
- availabilityDomain String
- The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1
- bootVolume StringId 
- The OCID of the source boot volume.
- bootVolume StringReplica Id 
- compartmentId String
- The OCID of the compartment that contains the boot volume replica.
- 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"}
- displayName 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 provider-assigned unique ID for this managed resource.
- imageId String
- The image OCID used to create the boot volume the replica is replicated from.
- kmsKey StringId 
- The OCID of the Vault service key to assign as the master encryption key for the boot volume replica, see Overview of Vault service and Using Keys.
- sizeIn StringGbs 
- The size of the source boot volume, in GBs.
- state String
- The current state of a boot volume replica.
- timeCreated String
- The date and time the boot volume replica was created. Format defined by RFC3339.
- timeLast StringSynced 
- The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.
- volumeGroup StringReplica Id 
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.