Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Core.getBootVolumeBackup
Explore with Pulumi AI
This data source provides details about a specific Boot Volume Backup resource in Oracle Cloud Infrastructure Core service.
Gets information for the specified boot volume backup.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBootVolumeBackup = oci.Core.getBootVolumeBackup({
bootVolumeBackupId: testBootVolumeBackupOciCoreBootVolumeBackup.id,
});
import pulumi
import pulumi_oci as oci
test_boot_volume_backup = oci.Core.get_boot_volume_backup(boot_volume_backup_id=test_boot_volume_backup_oci_core_boot_volume_backup["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.GetBootVolumeBackup(ctx, &core.GetBootVolumeBackupArgs{
BootVolumeBackupId: testBootVolumeBackupOciCoreBootVolumeBackup.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 testBootVolumeBackup = Oci.Core.GetBootVolumeBackup.Invoke(new()
{
BootVolumeBackupId = testBootVolumeBackupOciCoreBootVolumeBackup.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.GetBootVolumeBackupArgs;
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 testBootVolumeBackup = CoreFunctions.getBootVolumeBackup(GetBootVolumeBackupArgs.builder()
.bootVolumeBackupId(testBootVolumeBackupOciCoreBootVolumeBackup.id())
.build());
}
}
variables:
testBootVolumeBackup:
fn::invoke:
Function: oci:Core:getBootVolumeBackup
Arguments:
bootVolumeBackupId: ${testBootVolumeBackupOciCoreBootVolumeBackup.id}
Using getBootVolumeBackup
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 getBootVolumeBackup(args: GetBootVolumeBackupArgs, opts?: InvokeOptions): Promise<GetBootVolumeBackupResult>
function getBootVolumeBackupOutput(args: GetBootVolumeBackupOutputArgs, opts?: InvokeOptions): Output<GetBootVolumeBackupResult>
def get_boot_volume_backup(boot_volume_backup_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBootVolumeBackupResult
def get_boot_volume_backup_output(boot_volume_backup_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBootVolumeBackupResult]
func GetBootVolumeBackup(ctx *Context, args *GetBootVolumeBackupArgs, opts ...InvokeOption) (*GetBootVolumeBackupResult, error)
func GetBootVolumeBackupOutput(ctx *Context, args *GetBootVolumeBackupOutputArgs, opts ...InvokeOption) GetBootVolumeBackupResultOutput
> Note: This function is named GetBootVolumeBackup
in the Go SDK.
public static class GetBootVolumeBackup
{
public static Task<GetBootVolumeBackupResult> InvokeAsync(GetBootVolumeBackupArgs args, InvokeOptions? opts = null)
public static Output<GetBootVolumeBackupResult> Invoke(GetBootVolumeBackupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBootVolumeBackupResult> getBootVolumeBackup(GetBootVolumeBackupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getBootVolumeBackup:getBootVolumeBackup
arguments:
# arguments dictionary
The following arguments are supported:
- Boot
Volume stringBackup Id - The OCID of the boot volume backup.
- Boot
Volume stringBackup Id - The OCID of the boot volume backup.
- boot
Volume StringBackup Id - The OCID of the boot volume backup.
- boot
Volume stringBackup Id - The OCID of the boot volume backup.
- boot_
volume_ strbackup_ id - The OCID of the boot volume backup.
- boot
Volume StringBackup Id - The OCID of the boot volume backup.
getBootVolumeBackup Result
The following output properties are available:
- Boot
Volume stringBackup Id - Boot
Volume stringId - The OCID of the boot volume.
- Compartment
Id string - The OCID of the compartment that contains the boot volume backup.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Expiration
Time string - The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created 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 boot volume backup.
- Image
Id string - The image OCID used to create the boot volume the backup is taken from.
- Kms
Key stringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- Size
In stringGbs - The size of the boot volume, in GBs.
- Source
Boot stringVolume Backup Id - The OCID of the source boot volume backup.
- Source
Details List<GetBoot Volume Backup Source Detail> - Source
Type string - Specifies whether the backup was created manually, or via scheduled backup policy.
- State string
- The current state of a boot volume backup.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Time
Created string - The date and time the boot volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
- Time
Request stringReceived - The date and time the request to create the boot volume backup was received. Format defined by RFC3339.
- Type string
- The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
- Unique
Size stringIn Gbs - The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental.
- Boot
Volume stringBackup Id - Boot
Volume stringId - The OCID of the boot volume.
- Compartment
Id string - The OCID of the compartment that contains the boot volume backup.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Expiration
Time string - The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created 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 boot volume backup.
- Image
Id string - The image OCID used to create the boot volume the backup is taken from.
- Kms
Key stringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- Size
In stringGbs - The size of the boot volume, in GBs.
- Source
Boot stringVolume Backup Id - The OCID of the source boot volume backup.
- Source
Details []GetBoot Volume Backup Source Detail - Source
Type string - Specifies whether the backup was created manually, or via scheduled backup policy.
- State string
- The current state of a boot volume backup.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Time
Created string - The date and time the boot volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
- Time
Request stringReceived - The date and time the request to create the boot volume backup was received. Format defined by RFC3339.
- Type string
- The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
- Unique
Size stringIn Gbs - The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental.
- boot
Volume StringBackup Id - boot
Volume StringId - The OCID of the boot volume.
- compartment
Id String - The OCID of the compartment that contains the boot volume backup.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- expiration
Time String - The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created 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 boot volume backup.
- image
Id String - The image OCID used to create the boot volume the backup is taken from.
- kms
Key StringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- size
In StringGbs - The size of the boot volume, in GBs.
- source
Boot StringVolume Backup Id - The OCID of the source boot volume backup.
- source
Details List<GetBoot Volume Backup Source Detail> - source
Type String - Specifies whether the backup was created manually, or via scheduled backup policy.
- state String
- The current state of a boot volume backup.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- time
Created String - The date and time the boot volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
- time
Request StringReceived - The date and time the request to create the boot volume backup was received. Format defined by RFC3339.
- type String
- The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
- unique
Size StringIn Gbs - The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental.
- boot
Volume stringBackup Id - boot
Volume stringId - The OCID of the boot volume.
- compartment
Id string - The OCID of the compartment that contains the boot volume backup.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- expiration
Time string - The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created 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 boot volume backup.
- image
Id string - The image OCID used to create the boot volume the backup is taken from.
- kms
Key stringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- size
In stringGbs - The size of the boot volume, in GBs.
- source
Boot stringVolume Backup Id - The OCID of the source boot volume backup.
- source
Details GetBoot Volume Backup Source Detail[] - source
Type string - Specifies whether the backup was created manually, or via scheduled backup policy.
- state string
- The current state of a boot volume backup.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- time
Created string - The date and time the boot volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
- time
Request stringReceived - The date and time the request to create the boot volume backup was received. Format defined by RFC3339.
- type string
- The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
- unique
Size stringIn Gbs - The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental.
- boot_
volume_ strbackup_ id - boot_
volume_ strid - The OCID of the boot volume.
- compartment_
id str - The OCID of the compartment that contains the boot volume backup.
- 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.
- expiration_
time str - The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created 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 boot volume backup.
- image_
id str - The image OCID used to create the boot volume the backup is taken from.
- kms_
key_ strid - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- size_
in_ strgbs - The size of the boot volume, in GBs.
- source_
boot_ strvolume_ backup_ id - The OCID of the source boot volume backup.
- source_
details Sequence[core.Get Boot Volume Backup Source Detail] - source_
type str - Specifies whether the backup was created manually, or via scheduled backup policy.
- state str
- The current state of a boot volume backup.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- time_
created str - The date and time the boot volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
- time_
request_ strreceived - The date and time the request to create the boot volume backup was received. Format defined by RFC3339.
- type str
- The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
- unique_
size_ strin_ gbs - The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental.
- boot
Volume StringBackup Id - boot
Volume StringId - The OCID of the boot volume.
- compartment
Id String - The OCID of the compartment that contains the boot volume backup.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- expiration
Time String - The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created 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 boot volume backup.
- image
Id String - The image OCID used to create the boot volume the backup is taken from.
- kms
Key StringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- size
In StringGbs - The size of the boot volume, in GBs.
- source
Boot StringVolume Backup Id - The OCID of the source boot volume backup.
- source
Details List<Property Map> - source
Type String - Specifies whether the backup was created manually, or via scheduled backup policy.
- state String
- The current state of a boot volume backup.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- time
Created String - The date and time the boot volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
- time
Request StringReceived - The date and time the request to create the boot volume backup was received. Format defined by RFC3339.
- type String
- The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
- unique
Size StringIn Gbs - The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental.
Supporting Types
GetBootVolumeBackupSourceDetail
- Boot
Volume stringBackup Id - The OCID of the boot volume backup.
- Kms
Key stringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- Region string
- Boot
Volume stringBackup Id - The OCID of the boot volume backup.
- Kms
Key stringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- Region string
- boot
Volume StringBackup Id - The OCID of the boot volume backup.
- kms
Key StringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- region String
- boot
Volume stringBackup Id - The OCID of the boot volume backup.
- kms
Key stringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- region string
- boot_
volume_ strbackup_ id - The OCID of the boot volume backup.
- kms_
key_ strid - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- region str
- boot
Volume StringBackup Id - The OCID of the boot volume backup.
- kms
Key StringId - The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- region String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.