Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Core.getVolume
Explore with Pulumi AI
This data source provides details about a specific Volume resource in Oracle Cloud Infrastructure Core service.
Gets information for the specified volume.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVolume = oci.Core.getVolume({
    volumeId: testVolumeOciCoreVolume.id,
});
import pulumi
import pulumi_oci as oci
test_volume = oci.Core.get_volume(volume_id=test_volume_oci_core_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.GetVolume(ctx, &core.GetVolumeArgs{
			VolumeId: testVolumeOciCoreVolume.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 testVolume = Oci.Core.GetVolume.Invoke(new()
    {
        VolumeId = testVolumeOciCoreVolume.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.GetVolumeArgs;
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 testVolume = CoreFunctions.getVolume(GetVolumeArgs.builder()
            .volumeId(testVolumeOciCoreVolume.id())
            .build());
    }
}
variables:
  testVolume:
    fn::invoke:
      function: oci:Core:getVolume
      arguments:
        volumeId: ${testVolumeOciCoreVolume.id}
Using getVolume
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 getVolume(args: GetVolumeArgs, opts?: InvokeOptions): Promise<GetVolumeResult>
function getVolumeOutput(args: GetVolumeOutputArgs, opts?: InvokeOptions): Output<GetVolumeResult>def get_volume(volume_id: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetVolumeResult
def get_volume_output(volume_id: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetVolumeResult]func LookupVolume(ctx *Context, args *LookupVolumeArgs, opts ...InvokeOption) (*LookupVolumeResult, error)
func LookupVolumeOutput(ctx *Context, args *LookupVolumeOutputArgs, opts ...InvokeOption) LookupVolumeResultOutput> Note: This function is named LookupVolume in the Go SDK.
public static class GetVolume 
{
    public static Task<GetVolumeResult> InvokeAsync(GetVolumeArgs args, InvokeOptions? opts = null)
    public static Output<GetVolumeResult> Invoke(GetVolumeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOptions options)
public static Output<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getVolume:getVolume
  arguments:
    # arguments dictionaryThe following arguments are supported:
- VolumeId string
- The OCID of the volume.
- VolumeId string
- The OCID of the volume.
- volumeId String
- The OCID of the volume.
- volumeId string
- The OCID of the volume.
- volume_id str
- The OCID of the volume.
- volumeId String
- The OCID of the volume.
getVolume Result
The following output properties are available:
- AutoTuned stringVpus Per Gb 
- The number of Volume Performance Units per GB that this volume is effectively tuned to.
- AutotunePolicies List<GetVolume Autotune Policy> 
- The list of autotune policies enabled for this volume.
- AvailabilityDomain string
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- BackupPolicy stringId 
- BlockVolume List<GetReplicas Volume Block Volume Replica> 
- The list of block volume replicas of this volume.
- BlockVolume boolReplicas Deletion 
- ClusterPlacement stringGroup Id 
- The clusterPlacementGroup Id of the volume for volume placement.
- CompartmentId string
- The OCID of the compartment that contains the 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"}
- 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
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- IsAuto boolTune Enabled 
- Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated. Use the DetachedVolumeAutotunePolicyinstead to enable the volume for detached autotune.
- IsHydrated bool
- Specifies whether the cloned volume's data has finished copying from the source volume or backup.
- IsReservations boolEnabled 
- Reservations-enabled is a boolean field that allows to enable PR (Persistent Reservation) on a volume.
- KmsKey stringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- SizeIn stringGbs 
- The size of the volume in GBs.
- SizeIn stringMbs 
- The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
- SourceDetails List<GetVolume Source Detail> 
- Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup. This is an optional field. If not specified or set to null, the new Block volume will be empty. When specified, the new Block volume will contain data from the source volume or backup.
- State string
- The current state of a volume.
- Dictionary<string, string>
- 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 volume was created. Format defined by RFC3339.
- VolumeBackup stringId 
- VolumeGroup stringId 
- The OCID of the source volume group.
- VolumeId string
- VpusPer stringGb 
- The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- XrcKms stringKey Id 
- AutoTuned stringVpus Per Gb 
- The number of Volume Performance Units per GB that this volume is effectively tuned to.
- AutotunePolicies []GetVolume Autotune Policy 
- The list of autotune policies enabled for this volume.
- AvailabilityDomain string
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- BackupPolicy stringId 
- BlockVolume []GetReplicas Volume Block Volume Replica 
- The list of block volume replicas of this volume.
- BlockVolume boolReplicas Deletion 
- ClusterPlacement stringGroup Id 
- The clusterPlacementGroup Id of the volume for volume placement.
- CompartmentId string
- The OCID of the compartment that contains the 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"}
- 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
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- IsAuto boolTune Enabled 
- Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated. Use the DetachedVolumeAutotunePolicyinstead to enable the volume for detached autotune.
- IsHydrated bool
- Specifies whether the cloned volume's data has finished copying from the source volume or backup.
- IsReservations boolEnabled 
- Reservations-enabled is a boolean field that allows to enable PR (Persistent Reservation) on a volume.
- KmsKey stringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- SizeIn stringGbs 
- The size of the volume in GBs.
- SizeIn stringMbs 
- The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
- SourceDetails []GetVolume Source Detail 
- Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup. This is an optional field. If not specified or set to null, the new Block volume will be empty. When specified, the new Block volume will contain data from the source volume or backup.
- State string
- The current state of a volume.
- map[string]string
- 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 volume was created. Format defined by RFC3339.
- VolumeBackup stringId 
- VolumeGroup stringId 
- The OCID of the source volume group.
- VolumeId string
- VpusPer stringGb 
- The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- XrcKms stringKey Id 
- autoTuned StringVpus Per Gb 
- The number of Volume Performance Units per GB that this volume is effectively tuned to.
- autotunePolicies List<GetVolume Autotune Policy> 
- The list of autotune policies enabled for this volume.
- availabilityDomain String
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- backupPolicy StringId 
- blockVolume List<GetReplicas Volume Block Volume Replica> 
- The list of block volume replicas of this volume.
- blockVolume BooleanReplicas Deletion 
- clusterPlacement StringGroup Id 
- The clusterPlacementGroup Id of the volume for volume placement.
- compartmentId String
- The OCID of the compartment that contains the 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"}
- 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
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- isAuto BooleanTune Enabled 
- Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated. Use the DetachedVolumeAutotunePolicyinstead to enable the volume for detached autotune.
- isHydrated Boolean
- Specifies whether the cloned volume's data has finished copying from the source volume or backup.
- isReservations BooleanEnabled 
- Reservations-enabled is a boolean field that allows to enable PR (Persistent Reservation) on a volume.
- kmsKey StringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- sizeIn StringGbs 
- The size of the volume in GBs.
- sizeIn StringMbs 
- The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
- sourceDetails List<GetVolume Source Detail> 
- Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup. This is an optional field. If not specified or set to null, the new Block volume will be empty. When specified, the new Block volume will contain data from the source volume or backup.
- state String
- The current state of a volume.
- Map<String,String>
- 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 volume was created. Format defined by RFC3339.
- volumeBackup StringId 
- volumeGroup StringId 
- The OCID of the source volume group.
- volumeId String
- vpusPer StringGb 
- The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- xrcKms StringKey Id 
- autoTuned stringVpus Per Gb 
- The number of Volume Performance Units per GB that this volume is effectively tuned to.
- autotunePolicies GetVolume Autotune Policy[] 
- The list of autotune policies enabled for this volume.
- availabilityDomain string
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- backupPolicy stringId 
- blockVolume GetReplicas Volume Block Volume Replica[] 
- The list of block volume replicas of this volume.
- blockVolume booleanReplicas Deletion 
- clusterPlacement stringGroup Id 
- The clusterPlacementGroup Id of the volume for volume placement.
- compartmentId string
- The OCID of the compartment that contains the 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"}
- 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
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- isAuto booleanTune Enabled 
- Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated. Use the DetachedVolumeAutotunePolicyinstead to enable the volume for detached autotune.
- isHydrated boolean
- Specifies whether the cloned volume's data has finished copying from the source volume or backup.
- isReservations booleanEnabled 
- Reservations-enabled is a boolean field that allows to enable PR (Persistent Reservation) on a volume.
- kmsKey stringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- sizeIn stringGbs 
- The size of the volume in GBs.
- sizeIn stringMbs 
- The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
- sourceDetails GetVolume Source Detail[] 
- Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup. This is an optional field. If not specified or set to null, the new Block volume will be empty. When specified, the new Block volume will contain data from the source volume or backup.
- state string
- The current state of a volume.
- {[key: string]: string}
- 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 volume was created. Format defined by RFC3339.
- volumeBackup stringId 
- volumeGroup stringId 
- The OCID of the source volume group.
- volumeId string
- vpusPer stringGb 
- The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- xrcKms stringKey Id 
- auto_tuned_ strvpus_ per_ gb 
- The number of Volume Performance Units per GB that this volume is effectively tuned to.
- autotune_policies Sequence[GetVolume Autotune Policy] 
- The list of autotune policies enabled for this volume.
- availability_domain str
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- backup_policy_ strid 
- block_volume_ Sequence[Getreplicas Volume Block Volume Replica] 
- The list of block volume replicas of this volume.
- block_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 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
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- is_auto_ booltune_ enabled 
- Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated. Use the DetachedVolumeAutotunePolicyinstead to enable the volume for detached autotune.
- is_hydrated bool
- Specifies whether the cloned volume's data has finished copying from the source volume or backup.
- is_reservations_ boolenabled 
- Reservations-enabled is a boolean field that allows to enable PR (Persistent Reservation) on a volume.
- kms_key_ strid 
- The OCID of the Vault service key which is the master encryption key for the volume.
- size_in_ strgbs 
- The size of the volume in GBs.
- size_in_ strmbs 
- The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
- source_details Sequence[GetVolume Source Detail] 
- Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup. This is an optional field. If not specified or set to null, the new Block volume will be empty. When specified, the new Block volume will contain data from the source volume or backup.
- state str
- The current state of a 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 volume was created. Format defined by RFC3339.
- volume_backup_ strid 
- volume_group_ strid 
- The OCID of the source volume group.
- volume_id str
- vpus_per_ strgb 
- The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- xrc_kms_ strkey_ id 
- autoTuned StringVpus Per Gb 
- The number of Volume Performance Units per GB that this volume is effectively tuned to.
- autotunePolicies List<Property Map>
- The list of autotune policies enabled for this volume.
- availabilityDomain String
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- backupPolicy StringId 
- blockVolume List<Property Map>Replicas 
- The list of block volume replicas of this volume.
- blockVolume BooleanReplicas Deletion 
- clusterPlacement StringGroup Id 
- The clusterPlacementGroup Id of the volume for volume placement.
- compartmentId String
- The OCID of the compartment that contains the 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"}
- 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
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- isAuto BooleanTune Enabled 
- Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated. Use the DetachedVolumeAutotunePolicyinstead to enable the volume for detached autotune.
- isHydrated Boolean
- Specifies whether the cloned volume's data has finished copying from the source volume or backup.
- isReservations BooleanEnabled 
- Reservations-enabled is a boolean field that allows to enable PR (Persistent Reservation) on a volume.
- kmsKey StringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- sizeIn StringGbs 
- The size of the volume in GBs.
- sizeIn StringMbs 
- The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
- sourceDetails List<Property Map>
- Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup. This is an optional field. If not specified or set to null, the new Block volume will be empty. When specified, the new Block volume will contain data from the source volume or backup.
- state String
- The current state of a volume.
- Map<String>
- 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 volume was created. Format defined by RFC3339.
- volumeBackup StringId 
- volumeGroup StringId 
- The OCID of the source volume group.
- volumeId String
- vpusPer StringGb 
- The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- xrcKms StringKey Id 
Supporting Types
GetVolumeAutotunePolicy   
- AutotuneType string
- This specifies the type of autotunes supported by OCI.
- MaxVpus stringPer Gb 
- This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- AutotuneType string
- This specifies the type of autotunes supported by OCI.
- MaxVpus stringPer Gb 
- This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotuneType String
- This specifies the type of autotunes supported by OCI.
- maxVpus StringPer Gb 
- This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotuneType string
- This specifies the type of autotunes supported by OCI.
- maxVpus 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.
- autotuneType String
- This specifies the type of autotunes supported by OCI.
- maxVpus StringPer Gb 
- This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
GetVolumeBlockVolumeReplica    
- AvailabilityDomain string
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- BlockVolume stringReplica Id 
- The block volume replica's Oracle ID (OCID).
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- KmsKey stringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- XrrKms stringKey Id 
- AvailabilityDomain string
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- BlockVolume stringReplica Id 
- The block volume replica's Oracle ID (OCID).
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- KmsKey stringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- XrrKms stringKey Id 
- availabilityDomain String
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- blockVolume StringReplica Id 
- The block volume replica's Oracle ID (OCID).
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- kmsKey StringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- xrrKms StringKey Id 
- availabilityDomain string
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- blockVolume stringReplica Id 
- The block volume replica's Oracle ID (OCID).
- displayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- kmsKey stringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- xrrKms stringKey Id 
- availability_domain str
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- block_volume_ strreplica_ id 
- The block 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.
- kms_key_ strid 
- The OCID of the Vault service key which is the master encryption key for the volume.
- xrr_kms_ strkey_ id 
- availabilityDomain String
- The availability domain of the block volume replica. Example: Uocm:PHX-AD-1
- blockVolume StringReplica Id 
- The block volume replica's Oracle ID (OCID).
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- kmsKey StringId 
- The OCID of the Vault service key which is the master encryption key for the volume.
- xrrKms StringKey Id 
GetVolumeSourceDetail   
- ChangeBlock stringSize In Bytes 
- (Applicable when type=volumeBackupDelta) Block size in bytes to be considered while performing volume restore. The value must be a power of 2; ranging from 4KB (4096 bytes) to 1MB (1048576 bytes). If omitted, defaults to 4,096 bytes (4 KiB).
- FirstBackup stringId 
- (Required when type=volumeBackupDelta) The OCID of the first volume backup.
- Id string
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- SecondBackup stringId 
- (Required when type=volumeBackupDelta) The OCID of the second volume backup.
- Type string
- (Required) The type can be one of these values: blockVolumeReplica,volume,volumeBackup,volumeBackupDelta
- ChangeBlock stringSize In Bytes 
- (Applicable when type=volumeBackupDelta) Block size in bytes to be considered while performing volume restore. The value must be a power of 2; ranging from 4KB (4096 bytes) to 1MB (1048576 bytes). If omitted, defaults to 4,096 bytes (4 KiB).
- FirstBackup stringId 
- (Required when type=volumeBackupDelta) The OCID of the first volume backup.
- Id string
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- SecondBackup stringId 
- (Required when type=volumeBackupDelta) The OCID of the second volume backup.
- Type string
- (Required) The type can be one of these values: blockVolumeReplica,volume,volumeBackup,volumeBackupDelta
- changeBlock StringSize In Bytes 
- (Applicable when type=volumeBackupDelta) Block size in bytes to be considered while performing volume restore. The value must be a power of 2; ranging from 4KB (4096 bytes) to 1MB (1048576 bytes). If omitted, defaults to 4,096 bytes (4 KiB).
- firstBackup StringId 
- (Required when type=volumeBackupDelta) The OCID of the first volume backup.
- id String
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- secondBackup StringId 
- (Required when type=volumeBackupDelta) The OCID of the second volume backup.
- type String
- (Required) The type can be one of these values: blockVolumeReplica,volume,volumeBackup,volumeBackupDelta
- changeBlock stringSize In Bytes 
- (Applicable when type=volumeBackupDelta) Block size in bytes to be considered while performing volume restore. The value must be a power of 2; ranging from 4KB (4096 bytes) to 1MB (1048576 bytes). If omitted, defaults to 4,096 bytes (4 KiB).
- firstBackup stringId 
- (Required when type=volumeBackupDelta) The OCID of the first volume backup.
- id string
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- secondBackup stringId 
- (Required when type=volumeBackupDelta) The OCID of the second volume backup.
- type string
- (Required) The type can be one of these values: blockVolumeReplica,volume,volumeBackup,volumeBackupDelta
- change_block_ strsize_ in_ bytes 
- (Applicable when type=volumeBackupDelta) Block size in bytes to be considered while performing volume restore. The value must be a power of 2; ranging from 4KB (4096 bytes) to 1MB (1048576 bytes). If omitted, defaults to 4,096 bytes (4 KiB).
- first_backup_ strid 
- (Required when type=volumeBackupDelta) The OCID of the first volume backup.
- id str
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- second_backup_ strid 
- (Required when type=volumeBackupDelta) The OCID of the second volume backup.
- type str
- (Required) The type can be one of these values: blockVolumeReplica,volume,volumeBackup,volumeBackupDelta
- changeBlock StringSize In Bytes 
- (Applicable when type=volumeBackupDelta) Block size in bytes to be considered while performing volume restore. The value must be a power of 2; ranging from 4KB (4096 bytes) to 1MB (1048576 bytes). If omitted, defaults to 4,096 bytes (4 KiB).
- firstBackup StringId 
- (Required when type=volumeBackupDelta) The OCID of the first volume backup.
- id String
- (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
- secondBackup StringId 
- (Required when type=volumeBackupDelta) The OCID of the second volume backup.
- type String
- (Required) The type can be one of these values: blockVolumeReplica,volume,volumeBackup,volumeBackupDelta
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.