We recommend using Azure Native.
azure.oracle.AutonomousDatabaseBackup
Manages an Oracle Autonomous Database Backup in Azure.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: East US
exampleAutonomousDatabase:
type: azure:oracle:AutonomousDatabase
name: example
properties:
name: example-adb
resourceGroupName: ${example.name}
location: ${example.location}
exampleAutonomousDatabaseBackup:
type: azure:oracle:AutonomousDatabaseBackup
name: example
properties:
name: example-backup
autonomousDatabaseId: ${exampleAutonomousDatabase.id}
retentionPeriodInDays: 120
backupType: Full
API Providers
This resource uses the following Azure API Providers:
Oracle.Database- 2025-03-01
Create AutonomousDatabaseBackup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AutonomousDatabaseBackup(name: string, args: AutonomousDatabaseBackupArgs, opts?: CustomResourceOptions);@overload
def AutonomousDatabaseBackup(resource_name: str,
args: AutonomousDatabaseBackupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AutonomousDatabaseBackup(resource_name: str,
opts: Optional[ResourceOptions] = None,
autonomous_database_id: Optional[str] = None,
retention_period_in_days: Optional[int] = None,
name: Optional[str] = None,
type: Optional[str] = None)func NewAutonomousDatabaseBackup(ctx *Context, name string, args AutonomousDatabaseBackupArgs, opts ...ResourceOption) (*AutonomousDatabaseBackup, error)public AutonomousDatabaseBackup(string name, AutonomousDatabaseBackupArgs args, CustomResourceOptions? opts = null)
public AutonomousDatabaseBackup(String name, AutonomousDatabaseBackupArgs args)
public AutonomousDatabaseBackup(String name, AutonomousDatabaseBackupArgs args, CustomResourceOptions options)
type: azure:oracle:AutonomousDatabaseBackup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AutonomousDatabaseBackupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AutonomousDatabaseBackupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AutonomousDatabaseBackupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutonomousDatabaseBackupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutonomousDatabaseBackupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var autonomousDatabaseBackupResource = new Azure.Oracle.AutonomousDatabaseBackup("autonomousDatabaseBackupResource", new()
{
AutonomousDatabaseId = "string",
RetentionPeriodInDays = 0,
Name = "string",
Type = "string",
});
example, err := oracle.NewAutonomousDatabaseBackup(ctx, "autonomousDatabaseBackupResource", &oracle.AutonomousDatabaseBackupArgs{
AutonomousDatabaseId: pulumi.String("string"),
RetentionPeriodInDays: pulumi.Int(0),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
})
var autonomousDatabaseBackupResource = new AutonomousDatabaseBackup("autonomousDatabaseBackupResource", AutonomousDatabaseBackupArgs.builder()
.autonomousDatabaseId("string")
.retentionPeriodInDays(0)
.name("string")
.type("string")
.build());
autonomous_database_backup_resource = azure.oracle.AutonomousDatabaseBackup("autonomousDatabaseBackupResource",
autonomous_database_id="string",
retention_period_in_days=0,
name="string",
type="string")
const autonomousDatabaseBackupResource = new azure.oracle.AutonomousDatabaseBackup("autonomousDatabaseBackupResource", {
autonomousDatabaseId: "string",
retentionPeriodInDays: 0,
name: "string",
type: "string",
});
type: azure:oracle:AutonomousDatabaseBackup
properties:
autonomousDatabaseId: string
name: string
retentionPeriodInDays: 0
type: string
AutonomousDatabaseBackup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AutonomousDatabaseBackup resource accepts the following input properties:
- Autonomous
Database stringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- Retention
Period intIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- Name string
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- Type string
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- Autonomous
Database stringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- Retention
Period intIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- Name string
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- Type string
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- autonomous
Database StringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- retention
Period IntegerIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- name String
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- type String
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- autonomous
Database stringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- retention
Period numberIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- name string
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- type string
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- autonomous_
database_ strid - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- retention_
period_ intin_ days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- name str
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- type str
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- autonomous
Database StringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- retention
Period NumberIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- name String
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- type String
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
Outputs
All input properties are implicitly available as output properties. Additionally, the AutonomousDatabaseBackup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AutonomousDatabaseBackup Resource
Get an existing AutonomousDatabaseBackup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AutonomousDatabaseBackupState, opts?: CustomResourceOptions): AutonomousDatabaseBackup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
autonomous_database_id: Optional[str] = None,
name: Optional[str] = None,
retention_period_in_days: Optional[int] = None,
type: Optional[str] = None) -> AutonomousDatabaseBackupfunc GetAutonomousDatabaseBackup(ctx *Context, name string, id IDInput, state *AutonomousDatabaseBackupState, opts ...ResourceOption) (*AutonomousDatabaseBackup, error)public static AutonomousDatabaseBackup Get(string name, Input<string> id, AutonomousDatabaseBackupState? state, CustomResourceOptions? opts = null)public static AutonomousDatabaseBackup get(String name, Output<String> id, AutonomousDatabaseBackupState state, CustomResourceOptions options)resources: _: type: azure:oracle:AutonomousDatabaseBackup get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Autonomous
Database stringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- Name string
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- Retention
Period intIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- Type string
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- Autonomous
Database stringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- Name string
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- Retention
Period intIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- Type string
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- autonomous
Database StringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- name String
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- retention
Period IntegerIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- type String
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- autonomous
Database stringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- name string
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- retention
Period numberIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- type string
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- autonomous_
database_ strid - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- name str
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- retention_
period_ intin_ days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- type str
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
- autonomous
Database StringId - The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
- name String
- The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
- retention
Period NumberIn Days - (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
- type String
- The type of backup to create.Currently, only
LongTermbackup operations are supported through the Oracle database At azure service.
Import
Autonomous Database Backups can be imported using the id, e.g.
$ pulumi import azure:oracle/autonomousDatabaseBackup:AutonomousDatabaseBackup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup/providers/Oracle.Database/autonomousDatabases/autonomousDatabase1/autonomousDatabaseBackups/autonomousDatabaseBackup1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
