Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
This data source provides the list of Volume Group Backups in Oracle Cloud Infrastructure Core service.
Lists the volume group backups in the specified compartment. You can filter the results by volume group. For more information, see Volume Groups.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVolumeGroupBackups = oci.core.getVolumeGroupBackups({
compartmentId: compartmentId,
displayName: volumeGroupBackupDisplayName,
volumeGroupId: testVolumeGroup.id,
});
import pulumi
import pulumi_oci as oci
test_volume_group_backups = oci.core.get_volume_group_backups(compartment_id=compartment_id,
display_name=volume_group_backup_display_name,
volume_group_id=test_volume_group["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.GetVolumeGroupBackups(ctx, &core.GetVolumeGroupBackupsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(volumeGroupBackupDisplayName),
VolumeGroupId: pulumi.StringRef(testVolumeGroup.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 testVolumeGroupBackups = Oci.Core.GetVolumeGroupBackups.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = volumeGroupBackupDisplayName,
VolumeGroupId = testVolumeGroup.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.GetVolumeGroupBackupsArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testVolumeGroupBackups = CoreFunctions.getVolumeGroupBackups(GetVolumeGroupBackupsArgs.builder()
.compartmentId(compartmentId)
.displayName(volumeGroupBackupDisplayName)
.volumeGroupId(testVolumeGroup.id())
.build());
}
}
variables:
testVolumeGroupBackups:
fn::invoke:
function: oci:Core:getVolumeGroupBackups
arguments:
compartmentId: ${compartmentId}
displayName: ${volumeGroupBackupDisplayName}
volumeGroupId: ${testVolumeGroup.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_core_getvolumegroupbackups" "testVolumeGroupBackups" {
compartment_id = compartmentId
display_name = volumeGroupBackupDisplayName
volume_group_id = testVolumeGroup.id
}
Using getVolumeGroupBackups
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 getVolumeGroupBackups(args: GetVolumeGroupBackupsArgs, opts?: InvokeOptions): Promise<GetVolumeGroupBackupsResult>
function getVolumeGroupBackupsOutput(args: GetVolumeGroupBackupsOutputArgs, opts?: InvokeOutputOptions): Output<GetVolumeGroupBackupsResult>def get_volume_group_backups(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetVolumeGroupBackupsFilter]] = None,
volume_group_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVolumeGroupBackupsResult
def get_volume_group_backups_output(compartment_id: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetVolumeGroupBackupsFilterArgs]]]] = None,
volume_group_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVolumeGroupBackupsResult]func GetVolumeGroupBackups(ctx *Context, args *GetVolumeGroupBackupsArgs, opts ...InvokeOption) (*GetVolumeGroupBackupsResult, error)
func GetVolumeGroupBackupsOutput(ctx *Context, args *GetVolumeGroupBackupsOutputArgs, opts ...InvokeOption) GetVolumeGroupBackupsResultOutput> Note: This function is named GetVolumeGroupBackups in the Go SDK.
public static class GetVolumeGroupBackups
{
public static Task<GetVolumeGroupBackupsResult> InvokeAsync(GetVolumeGroupBackupsArgs args, InvokeOptions? opts = null)
public static Output<GetVolumeGroupBackupsResult> Invoke(GetVolumeGroupBackupsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVolumeGroupBackupsResult> Invoke(GetVolumeGroupBackupsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVolumeGroupBackupsResult> getVolumeGroupBackups(GetVolumeGroupBackupsArgs args, InvokeOptions options)
public static Output<GetVolumeGroupBackupsResult> getVolumeGroupBackups(GetVolumeGroupBackupsArgs args, InvokeOptions options)
public static Output<GetVolumeGroupBackupsResult> getVolumeGroupBackups(GetVolumeGroupBackupsArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:Core/getVolumeGroupBackups:getVolumeGroupBackups
arguments:
# arguments dictionarydata "oci_core_get_volume_group_backups" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Volume Group Backups Filter> - Volume
Group stringId - The OCID of the volume group.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Volume Group Backups Filter - Volume
Group stringId - The OCID of the volume group.
- compartment_
id string - The OCID of the compartment.
- display_
name string - A filter to return only resources that match the given display name exactly.
- filters list(object)
- volume_
group_ stringid - The OCID of the volume group.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Volume Group Backups Filter> - volume
Group StringId - The OCID of the volume group.
- compartment
Id string - The OCID of the compartment.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Volume Group Backups Filter[] - volume
Group stringId - The OCID of the volume group.
- compartment_
id str - The OCID of the compartment.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Volume Group Backups Filter] - volume_
group_ strid - The OCID of the volume group.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- volume
Group StringId - The OCID of the volume group.
getVolumeGroupBackups Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the volume group backup.
- Id string
- The provider-assigned unique ID for this managed resource.
- Volume
Group List<GetBackups Volume Group Backups Volume Group Backup> - The list of volume_group_backups.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<Get
Volume Group Backups Filter> - Volume
Group stringId - The OCID of the source volume group.
- Compartment
Id string - The OCID of the compartment that contains the volume group backup.
- Id string
- The provider-assigned unique ID for this managed resource.
- Volume
Group []GetBackups Volume Group Backups Volume Group Backup - The list of volume_group_backups.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]Get
Volume Group Backups Filter - Volume
Group stringId - The OCID of the source volume group.
- compartment_
id string - The OCID of the compartment that contains the volume group backup.
- id string
- The provider-assigned unique ID for this managed resource.
- volume_
group_ list(object)backups - The list of volume_group_backups.
- display_
name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters list(object)
- volume_
group_ stringid - The OCID of the source volume group.
- compartment
Id String - The OCID of the compartment that contains the volume group backup.
- id String
- The provider-assigned unique ID for this managed resource.
- volume
Group List<GetBackups Volume Group Backups Volume Group Backup> - The list of volume_group_backups.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<Get
Volume Group Backups Filter> - volume
Group StringId - The OCID of the source volume group.
- compartment
Id string - The OCID of the compartment that contains the volume group backup.
- id string
- The provider-assigned unique ID for this managed resource.
- volume
Group GetBackups Volume Group Backups Volume Group Backup[] - The list of volume_group_backups.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Get
Volume Group Backups Filter[] - volume
Group stringId - The OCID of the source volume group.
- compartment_
id str - The OCID of the compartment that contains the volume group backup.
- id str
- The provider-assigned unique ID for this managed resource.
- volume_
group_ Sequence[Getbackups Volume Group Backups Volume Group Backup] - The list of volume_group_backups.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Sequence[Get
Volume Group Backups Filter] - volume_
group_ strid - The OCID of the source volume group.
- compartment
Id String - The OCID of the compartment that contains the volume group backup.
- id String
- The provider-assigned unique ID for this managed resource.
- volume
Group List<Property Map>Backups - The list of volume_group_backups.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters List<Property Map>
- volume
Group StringId - The OCID of the source volume group.
Supporting Types
GetVolumeGroupBackupsFilter
GetVolumeGroupBackupsVolumeGroupBackup
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A filter to return only resources that match the given display name exactly.
- Expiration
Time string - The date and time the volume group backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for volume group backups that were created automatically by a scheduled-backup policy. For manually created volume group backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the volume group backup.
- Is
Indefinite boolRetention Enabled - feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
- Is
Prevent boolDeletion Enabled - Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
- Is
Retention boolLock Enabled - feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
- Retention
Periods List<GetVolume Group Backups Volume Group Backup Retention Period> - This field is used to define the retention period for backups. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- Size
In stringGbs - The aggregate size of the volume group backup, in GBs.
- Size
In stringMbs - The aggregate size of the volume group backup, in MBs.
- Source
Details List<GetVolume Group Backups Volume Group Backup Source Detail> - Source
Type string - Specifies whether the volume group backup was created manually, or via scheduled backup policy.
- Source
Volume stringGroup Backup Id - The OCID of the source volume group backup.
- State string
- The current state of a volume group backup.
- Time
Created string - The date and time the volume group backup was created. This is the time the actual point-in-time image of the volume group data was taken. Format defined by RFC3339.
- Time
Request stringReceived - The date and time the request to create the volume group backup was received. Format defined by RFC3339.
- Time
Retention stringExpires At - The date and time when a backup’s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- Type string
- The type of backup.
- Unique
Size stringIn Gbs - The aggregate size used by the volume group backup, in GBs. It is typically smaller than
sizeInGbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - Unique
Size stringIn Mbs - The aggregate size used by the volume group backup, in MBs. It is typically smaller than
sizeInMbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - Volume
Backup List<string>Ids - OCIDs for the volume backups in this volume group backup.
- Volume
Group stringId - The OCID of the volume group.
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A filter to return only resources that match the given display name exactly.
- Expiration
Time string - The date and time the volume group backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for volume group backups that were created automatically by a scheduled-backup policy. For manually created volume group backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the volume group backup.
- Is
Indefinite boolRetention Enabled - feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
- Is
Prevent boolDeletion Enabled - Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
- Is
Retention boolLock Enabled - feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
- Retention
Periods []GetVolume Group Backups Volume Group Backup Retention Period - This field is used to define the retention period for backups. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- Size
In stringGbs - The aggregate size of the volume group backup, in GBs.
- Size
In stringMbs - The aggregate size of the volume group backup, in MBs.
- Source
Details []GetVolume Group Backups Volume Group Backup Source Detail - Source
Type string - Specifies whether the volume group backup was created manually, or via scheduled backup policy.
- Source
Volume stringGroup Backup Id - The OCID of the source volume group backup.
- State string
- The current state of a volume group backup.
- Time
Created string - The date and time the volume group backup was created. This is the time the actual point-in-time image of the volume group data was taken. Format defined by RFC3339.
- Time
Request stringReceived - The date and time the request to create the volume group backup was received. Format defined by RFC3339.
- Time
Retention stringExpires At - The date and time when a backup’s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- Type string
- The type of backup.
- Unique
Size stringIn Gbs - The aggregate size used by the volume group backup, in GBs. It is typically smaller than
sizeInGbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - Unique
Size stringIn Mbs - The aggregate size used by the volume group backup, in MBs. It is typically smaller than
sizeInMbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - Volume
Backup []stringIds - OCIDs for the volume backups in this volume group backup.
- Volume
Group stringId - The OCID of the volume group.
- compartment_
id string - The OCID of the compartment.
- map(string)
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name string - A filter to return only resources that match the given display name exactly.
- expiration_
time string - The date and time the volume group backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for volume group backups that were created automatically by a scheduled-backup policy. For manually created volume group backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
- map(string)
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the volume group backup.
- is_
indefinite_ boolretention_ enabled - feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
- is_
prevent_ booldeletion_ enabled - Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
- is_
retention_ boollock_ enabled - feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
- retention_
periods list(object) - This field is used to define the retention period for backups. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- size_
in_ stringgbs - The aggregate size of the volume group backup, in GBs.
- size_
in_ stringmbs - The aggregate size of the volume group backup, in MBs.
- source_
details list(object) - source_
type string - Specifies whether the volume group backup was created manually, or via scheduled backup policy.
- source_
volume_ stringgroup_ backup_ id - The OCID of the source volume group backup.
- state string
- The current state of a volume group backup.
- time_
created string - The date and time the volume group backup was created. This is the time the actual point-in-time image of the volume group data was taken. Format defined by RFC3339.
- time_
request_ stringreceived - The date and time the request to create the volume group backup was received. Format defined by RFC3339.
- time_
retention_ stringexpires_ at - The date and time when a backup’s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- type string
- The type of backup.
- unique_
size_ stringin_ gbs - The aggregate size used by the volume group backup, in GBs. It is typically smaller than
sizeInGbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - unique_
size_ stringin_ mbs - The aggregate size used by the volume group backup, in MBs. It is typically smaller than
sizeInMbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - volume_
backup_ list(string)ids - OCIDs for the volume backups in this volume group backup.
- volume_
group_ stringid - The OCID of the volume group.
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A filter to return only resources that match the given display name exactly.
- expiration
Time String - The date and time the volume group backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for volume group backups that were created automatically by a scheduled-backup policy. For manually created volume group backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the volume group backup.
- is
Indefinite BooleanRetention Enabled - feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
- is
Prevent BooleanDeletion Enabled - Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
- is
Retention BooleanLock Enabled - feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
- retention
Periods List<GetVolume Group Backups Volume Group Backup Retention Period> - This field is used to define the retention period for backups. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- size
In StringGbs - The aggregate size of the volume group backup, in GBs.
- size
In StringMbs - The aggregate size of the volume group backup, in MBs.
- source
Details List<GetVolume Group Backups Volume Group Backup Source Detail> - source
Type String - Specifies whether the volume group backup was created manually, or via scheduled backup policy.
- source
Volume StringGroup Backup Id - The OCID of the source volume group backup.
- state String
- The current state of a volume group backup.
- time
Created String - The date and time the volume group backup was created. This is the time the actual point-in-time image of the volume group data was taken. Format defined by RFC3339.
- time
Request StringReceived - The date and time the request to create the volume group backup was received. Format defined by RFC3339.
- time
Retention StringExpires At - The date and time when a backup’s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- type String
- The type of backup.
- unique
Size StringIn Gbs - The aggregate size used by the volume group backup, in GBs. It is typically smaller than
sizeInGbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - unique
Size StringIn Mbs - The aggregate size used by the volume group backup, in MBs. It is typically smaller than
sizeInMbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - volume
Backup List<String>Ids - OCIDs for the volume backups in this volume group backup.
- volume
Group StringId - The OCID of the volume group.
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name string - A filter to return only resources that match the given display name exactly.
- expiration
Time string - The date and time the volume group backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for volume group backups that were created automatically by a scheduled-backup policy. For manually created volume group backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the volume group backup.
- is
Indefinite booleanRetention Enabled - feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
- is
Prevent booleanDeletion Enabled - Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
- is
Retention booleanLock Enabled - feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
- retention
Periods GetVolume Group Backups Volume Group Backup Retention Period[] - This field is used to define the retention period for backups. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- size
In stringGbs - The aggregate size of the volume group backup, in GBs.
- size
In stringMbs - The aggregate size of the volume group backup, in MBs.
- source
Details GetVolume Group Backups Volume Group Backup Source Detail[] - source
Type string - Specifies whether the volume group backup was created manually, or via scheduled backup policy.
- source
Volume stringGroup Backup Id - The OCID of the source volume group backup.
- state string
- The current state of a volume group backup.
- time
Created string - The date and time the volume group backup was created. This is the time the actual point-in-time image of the volume group data was taken. Format defined by RFC3339.
- time
Request stringReceived - The date and time the request to create the volume group backup was received. Format defined by RFC3339.
- time
Retention stringExpires At - The date and time when a backup’s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- type string
- The type of backup.
- unique
Size stringIn Gbs - The aggregate size used by the volume group backup, in GBs. It is typically smaller than
sizeInGbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - unique
Size stringIn Mbs - The aggregate size used by the volume group backup, in MBs. It is typically smaller than
sizeInMbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - volume
Backup string[]Ids - OCIDs for the volume backups in this volume group backup.
- volume
Group stringId - The OCID of the volume group.
- compartment_
id str - The OCID of the compartment.
- 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 filter to return only resources that match the given display name exactly.
- expiration_
time str - The date and time the volume group backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for volume group backups that were created automatically by a scheduled-backup policy. For manually created volume group backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The OCID of the volume group backup.
- is_
indefinite_ boolretention_ enabled - feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
- is_
prevent_ booldeletion_ enabled - Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
- is_
retention_ boollock_ enabled - feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
- retention_
periods Sequence[GetVolume Group Backups Volume Group Backup Retention Period] - This field is used to define the retention period for backups. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- size_
in_ strgbs - The aggregate size of the volume group backup, in GBs.
- size_
in_ strmbs - The aggregate size of the volume group backup, in MBs.
- source_
details Sequence[GetVolume Group Backups Volume Group Backup Source Detail] - source_
type str - Specifies whether the volume group backup was created manually, or via scheduled backup policy.
- source_
volume_ strgroup_ backup_ id - The OCID of the source volume group backup.
- state str
- The current state of a volume group backup.
- time_
created str - The date and time the volume group backup was created. This is the time the actual point-in-time image of the volume group data was taken. Format defined by RFC3339.
- time_
request_ strreceived - The date and time the request to create the volume group backup was received. Format defined by RFC3339.
- time_
retention_ strexpires_ at - The date and time when a backup’s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- type str
- The type of backup.
- unique_
size_ strin_ gbs - The aggregate size used by the volume group backup, in GBs. It is typically smaller than
sizeInGbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - unique_
size_ strin_ mbs - The aggregate size used by the volume group backup, in MBs. It is typically smaller than
sizeInMbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - volume_
backup_ Sequence[str]ids - OCIDs for the volume backups in this volume group backup.
- volume_
group_ strid - The OCID of the volume group.
- compartment
Id String - The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A filter to return only resources that match the given display name exactly.
- expiration
Time String - The date and time the volume group backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for volume group backups that were created automatically by a scheduled-backup policy. For manually created volume group backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the volume group backup.
- is
Indefinite BooleanRetention Enabled - feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
- is
Prevent BooleanDeletion Enabled - Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
- is
Retention BooleanLock Enabled - feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
- retention
Periods List<Property Map> - This field is used to define the retention period for backups. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- size
In StringGbs - The aggregate size of the volume group backup, in GBs.
- size
In StringMbs - The aggregate size of the volume group backup, in MBs.
- source
Details List<Property Map> - source
Type String - Specifies whether the volume group backup was created manually, or via scheduled backup policy.
- source
Volume StringGroup Backup Id - The OCID of the source volume group backup.
- state String
- The current state of a volume group backup.
- time
Created String - The date and time the volume group backup was created. This is the time the actual point-in-time image of the volume group data was taken. Format defined by RFC3339.
- time
Request StringReceived - The date and time the request to create the volume group backup was received. Format defined by RFC3339.
- time
Retention StringExpires At - The date and time when a backup’s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
- type String
- The type of backup.
- unique
Size StringIn Gbs - The aggregate size used by the volume group backup, in GBs. It is typically smaller than
sizeInGbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - unique
Size StringIn Mbs - The aggregate size used by the volume group backup, in MBs. It is typically smaller than
sizeInMbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental. - volume
Backup List<String>Ids - OCIDs for the volume backups in this volume group backup.
- volume
Group StringId - The OCID of the volume group.
GetVolumeGroupBackupsVolumeGroupBackupRetentionPeriod
- Retention
Time intAmount - The value to enter for the amount of retention time should be a numerical figure (such as 1, 7, 30, etc.) that corresponds to the period specified in the retention time unit property (such as YEARS, DAYS). The combination of these two properties determines the total length of the retention period.
- Retention
Time stringUnit - The value you can assign to the Time Unit property for this Duration may be either "YEARS" or "DAYS".
- Retention
Time intAmount - The value to enter for the amount of retention time should be a numerical figure (such as 1, 7, 30, etc.) that corresponds to the period specified in the retention time unit property (such as YEARS, DAYS). The combination of these two properties determines the total length of the retention period.
- Retention
Time stringUnit - The value you can assign to the Time Unit property for this Duration may be either "YEARS" or "DAYS".
- retention_
time_ numberamount - The value to enter for the amount of retention time should be a numerical figure (such as 1, 7, 30, etc.) that corresponds to the period specified in the retention time unit property (such as YEARS, DAYS). The combination of these two properties determines the total length of the retention period.
- retention_
time_ stringunit - The value you can assign to the Time Unit property for this Duration may be either "YEARS" or "DAYS".
- retention
Time IntegerAmount - The value to enter for the amount of retention time should be a numerical figure (such as 1, 7, 30, etc.) that corresponds to the period specified in the retention time unit property (such as YEARS, DAYS). The combination of these two properties determines the total length of the retention period.
- retention
Time StringUnit - The value you can assign to the Time Unit property for this Duration may be either "YEARS" or "DAYS".
- retention
Time numberAmount - The value to enter for the amount of retention time should be a numerical figure (such as 1, 7, 30, etc.) that corresponds to the period specified in the retention time unit property (such as YEARS, DAYS). The combination of these two properties determines the total length of the retention period.
- retention
Time stringUnit - The value you can assign to the Time Unit property for this Duration may be either "YEARS" or "DAYS".
- retention_
time_ intamount - The value to enter for the amount of retention time should be a numerical figure (such as 1, 7, 30, etc.) that corresponds to the period specified in the retention time unit property (such as YEARS, DAYS). The combination of these two properties determines the total length of the retention period.
- retention_
time_ strunit - The value you can assign to the Time Unit property for this Duration may be either "YEARS" or "DAYS".
- retention
Time NumberAmount - The value to enter for the amount of retention time should be a numerical figure (such as 1, 7, 30, etc.) that corresponds to the period specified in the retention time unit property (such as YEARS, DAYS). The combination of these two properties determines the total length of the retention period.
- retention
Time StringUnit - The value you can assign to the Time Unit property for this Duration may be either "YEARS" or "DAYS".
GetVolumeGroupBackupsVolumeGroupBackupSourceDetail
- Kms
Key stringId - Region string
- Volume
Group stringBackup Id
- Kms
Key stringId - Region string
- Volume
Group stringBackup Id
- kms_
key_ stringid - region string
- volume_
group_ stringbackup_ id
- kms
Key StringId - region String
- volume
Group StringBackup Id
- kms
Key stringId - region string
- volume
Group stringBackup Id
- kms_
key_ strid - region str
- volume_
group_ strbackup_ id
- kms
Key StringId - region String
- volume
Group StringBackup Id
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi