oci.Database.BackupDestination
Explore with Pulumi AI
This resource provides the Backup Destination resource in Oracle Cloud Infrastructure Database service.
Creates a backup destination in an Exadata Cloud@Customer system.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBackupDestination = new oci.database.BackupDestination("test_backup_destination", {
compartmentId: compartmentId,
displayName: backupDestinationDisplayName,
type: backupDestinationType,
connectionString: backupDestinationConnectionString,
definedTags: backupDestinationDefinedTags,
freeformTags: {
Department: "Finance",
},
localMountPointPath: backupDestinationLocalMountPointPath,
mountTypeDetails: {
mountType: backupDestinationMountTypeDetailsMountType,
localMountPointPath: backupDestinationMountTypeDetailsLocalMountPointPath,
nfsServers: backupDestinationMountTypeDetailsNfsServer,
nfsServerExport: backupDestinationMountTypeDetailsNfsServerExport,
},
vpcUsers: backupDestinationVpcUsers,
});
import pulumi
import pulumi_oci as oci
test_backup_destination = oci.database.BackupDestination("test_backup_destination",
compartment_id=compartment_id,
display_name=backup_destination_display_name,
type=backup_destination_type,
connection_string=backup_destination_connection_string,
defined_tags=backup_destination_defined_tags,
freeform_tags={
"Department": "Finance",
},
local_mount_point_path=backup_destination_local_mount_point_path,
mount_type_details={
"mount_type": backup_destination_mount_type_details_mount_type,
"local_mount_point_path": backup_destination_mount_type_details_local_mount_point_path,
"nfs_servers": backup_destination_mount_type_details_nfs_server,
"nfs_server_export": backup_destination_mount_type_details_nfs_server_export,
},
vpc_users=backup_destination_vpc_users)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Database.NewBackupDestination(ctx, "test_backup_destination", &Database.BackupDestinationArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(backupDestinationDisplayName),
Type: pulumi.Any(backupDestinationType),
ConnectionString: pulumi.Any(backupDestinationConnectionString),
DefinedTags: pulumi.Any(backupDestinationDefinedTags),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
LocalMountPointPath: pulumi.Any(backupDestinationLocalMountPointPath),
MountTypeDetails: &database.BackupDestinationMountTypeDetailsArgs{
MountType: pulumi.Any(backupDestinationMountTypeDetailsMountType),
LocalMountPointPath: pulumi.Any(backupDestinationMountTypeDetailsLocalMountPointPath),
NfsServers: pulumi.Any(backupDestinationMountTypeDetailsNfsServer),
NfsServerExport: pulumi.Any(backupDestinationMountTypeDetailsNfsServerExport),
},
VpcUsers: pulumi.Any(backupDestinationVpcUsers),
})
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 testBackupDestination = new Oci.Database.BackupDestination("test_backup_destination", new()
{
CompartmentId = compartmentId,
DisplayName = backupDestinationDisplayName,
Type = backupDestinationType,
ConnectionString = backupDestinationConnectionString,
DefinedTags = backupDestinationDefinedTags,
FreeformTags =
{
{ "Department", "Finance" },
},
LocalMountPointPath = backupDestinationLocalMountPointPath,
MountTypeDetails = new Oci.Database.Inputs.BackupDestinationMountTypeDetailsArgs
{
MountType = backupDestinationMountTypeDetailsMountType,
LocalMountPointPath = backupDestinationMountTypeDetailsLocalMountPointPath,
NfsServers = backupDestinationMountTypeDetailsNfsServer,
NfsServerExport = backupDestinationMountTypeDetailsNfsServerExport,
},
VpcUsers = backupDestinationVpcUsers,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.BackupDestination;
import com.pulumi.oci.Database.BackupDestinationArgs;
import com.pulumi.oci.Database.inputs.BackupDestinationMountTypeDetailsArgs;
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) {
var testBackupDestination = new BackupDestination("testBackupDestination", BackupDestinationArgs.builder()
.compartmentId(compartmentId)
.displayName(backupDestinationDisplayName)
.type(backupDestinationType)
.connectionString(backupDestinationConnectionString)
.definedTags(backupDestinationDefinedTags)
.freeformTags(Map.of("Department", "Finance"))
.localMountPointPath(backupDestinationLocalMountPointPath)
.mountTypeDetails(BackupDestinationMountTypeDetailsArgs.builder()
.mountType(backupDestinationMountTypeDetailsMountType)
.localMountPointPath(backupDestinationMountTypeDetailsLocalMountPointPath)
.nfsServers(backupDestinationMountTypeDetailsNfsServer)
.nfsServerExport(backupDestinationMountTypeDetailsNfsServerExport)
.build())
.vpcUsers(backupDestinationVpcUsers)
.build());
}
}
resources:
testBackupDestination:
type: oci:Database:BackupDestination
name: test_backup_destination
properties:
compartmentId: ${compartmentId}
displayName: ${backupDestinationDisplayName}
type: ${backupDestinationType}
connectionString: ${backupDestinationConnectionString}
definedTags: ${backupDestinationDefinedTags}
freeformTags:
Department: Finance
localMountPointPath: ${backupDestinationLocalMountPointPath}
mountTypeDetails:
mountType: ${backupDestinationMountTypeDetailsMountType}
localMountPointPath: ${backupDestinationMountTypeDetailsLocalMountPointPath}
nfsServers: ${backupDestinationMountTypeDetailsNfsServer}
nfsServerExport: ${backupDestinationMountTypeDetailsNfsServerExport}
vpcUsers: ${backupDestinationVpcUsers}
Create BackupDestination Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BackupDestination(name: string, args: BackupDestinationArgs, opts?: CustomResourceOptions);
@overload
def BackupDestination(resource_name: str,
args: BackupDestinationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BackupDestination(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
type: Optional[str] = None,
connection_string: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
local_mount_point_path: Optional[str] = None,
mount_type_details: Optional[_database.BackupDestinationMountTypeDetailsArgs] = None,
vpc_users: Optional[Sequence[str]] = None)
func NewBackupDestination(ctx *Context, name string, args BackupDestinationArgs, opts ...ResourceOption) (*BackupDestination, error)
public BackupDestination(string name, BackupDestinationArgs args, CustomResourceOptions? opts = null)
public BackupDestination(String name, BackupDestinationArgs args)
public BackupDestination(String name, BackupDestinationArgs args, CustomResourceOptions options)
type: oci:Database:BackupDestination
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 BackupDestinationArgs
- 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 BackupDestinationArgs
- 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 BackupDestinationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupDestinationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupDestinationArgs
- 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 backupDestinationResource = new Oci.Database.BackupDestination("backupDestinationResource", new()
{
CompartmentId = "string",
DisplayName = "string",
Type = "string",
ConnectionString = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
MountTypeDetails = new Oci.Database.Inputs.BackupDestinationMountTypeDetailsArgs
{
MountType = "string",
LocalMountPointPath = "string",
NfsServerExport = "string",
NfsServers = new[]
{
"string",
},
},
VpcUsers = new[]
{
"string",
},
});
example, err := Database.NewBackupDestination(ctx, "backupDestinationResource", &Database.BackupDestinationArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Type: pulumi.String("string"),
ConnectionString: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
MountTypeDetails: &database.BackupDestinationMountTypeDetailsArgs{
MountType: pulumi.String("string"),
LocalMountPointPath: pulumi.String("string"),
NfsServerExport: pulumi.String("string"),
NfsServers: pulumi.StringArray{
pulumi.String("string"),
},
},
VpcUsers: pulumi.StringArray{
pulumi.String("string"),
},
})
var backupDestinationResource = new BackupDestination("backupDestinationResource", BackupDestinationArgs.builder()
.compartmentId("string")
.displayName("string")
.type("string")
.connectionString("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.mountTypeDetails(BackupDestinationMountTypeDetailsArgs.builder()
.mountType("string")
.localMountPointPath("string")
.nfsServerExport("string")
.nfsServers("string")
.build())
.vpcUsers("string")
.build());
backup_destination_resource = oci.database.BackupDestination("backupDestinationResource",
compartment_id="string",
display_name="string",
type="string",
connection_string="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
mount_type_details={
"mount_type": "string",
"local_mount_point_path": "string",
"nfs_server_export": "string",
"nfs_servers": ["string"],
},
vpc_users=["string"])
const backupDestinationResource = new oci.database.BackupDestination("backupDestinationResource", {
compartmentId: "string",
displayName: "string",
type: "string",
connectionString: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
mountTypeDetails: {
mountType: "string",
localMountPointPath: "string",
nfsServerExport: "string",
nfsServers: ["string"],
},
vpcUsers: ["string"],
});
type: oci:Database:BackupDestination
properties:
compartmentId: string
connectionString: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
mountTypeDetails:
localMountPointPath: string
mountType: string
nfsServerExport: string
nfsServers:
- string
type: string
vpcUsers:
- string
BackupDestination 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 BackupDestination resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Display
Name string - The user-provided name of the backup destination.
- Type string
- Type of the backup destination.
- Connection
String string - (Updatable) The connection string for connecting to the Recovery Appliance.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- (Updatable) 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"}
- Local
Mount stringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- Mount
Type BackupDetails Destination Mount Type Details - Mount type details for backup destination.
- Vpc
Users List<string> (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Display
Name string - The user-provided name of the backup destination.
- Type string
- Type of the backup destination.
- Connection
String string - (Updatable) The connection string for connecting to the Recovery Appliance.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- (Updatable) 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"}
- Local
Mount stringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- Mount
Type BackupDetails Destination Mount Type Details Args - Mount type details for backup destination.
- Vpc
Users []string (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment.
- display
Name String - The user-provided name of the backup destination.
- type String
- Type of the backup destination.
- connection
String String - (Updatable) The connection string for connecting to the Recovery Appliance.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- (Updatable) 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"}
- local
Mount StringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- mount
Type BackupDetails Destination Mount Type Details - Mount type details for backup destination.
- vpc
Users List<String> (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) The OCID of the compartment.
- display
Name string - The user-provided name of the backup destination.
- type string
- Type of the backup destination.
- connection
String string - (Updatable) The connection string for connecting to the Recovery Appliance.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- (Updatable) 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"}
- local
Mount stringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- mount
Type BackupDetails Destination Mount Type Details - Mount type details for backup destination.
- vpc
Users string[] (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) The OCID of the compartment.
- display_
name str - The user-provided name of the backup destination.
- type str
- Type of the backup destination.
- connection_
string str - (Updatable) The connection string for connecting to the Recovery Appliance.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- (Updatable) 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"}
- local_
mount_ strpoint_ path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- mount_
type_ database.details Backup Destination Mount Type Details Args - Mount type details for backup destination.
- vpc_
users Sequence[str] (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment.
- display
Name String - The user-provided name of the backup destination.
- type String
- Type of the backup destination.
- connection
String String - (Updatable) The connection string for connecting to the Recovery Appliance.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- (Updatable) 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"}
- local
Mount StringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- mount
Type Property MapDetails - Mount type details for backup destination.
- vpc
Users List<String> (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the BackupDestination resource produces the following output properties:
- Associated
Databases List<BackupDestination Associated Database> - List of databases associated with the backup destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- Nfs
Mount stringType - NFS Mount type for backup destination.
- Nfs
Server stringExport - Specifies the directory on which to mount the file system
- Nfs
Servers List<string> - Host names or IP addresses for NFS Auto mount.
- State string
- The current lifecycle state of the backup destination.
- Time
Created string - The date and time the backup destination was created.
- Associated
Databases []BackupDestination Associated Database - List of databases associated with the backup destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- Nfs
Mount stringType - NFS Mount type for backup destination.
- Nfs
Server stringExport - Specifies the directory on which to mount the file system
- Nfs
Servers []string - Host names or IP addresses for NFS Auto mount.
- State string
- The current lifecycle state of the backup destination.
- Time
Created string - The date and time the backup destination was created.
- associated
Databases List<BackupDestination Associated> - List of databases associated with the backup destination.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- nfs
Mount StringType - NFS Mount type for backup destination.
- nfs
Server StringExport - Specifies the directory on which to mount the file system
- nfs
Servers List<String> - Host names or IP addresses for NFS Auto mount.
- state String
- The current lifecycle state of the backup destination.
- time
Created String - The date and time the backup destination was created.
- associated
Databases BackupDestination Associated Database[] - List of databases associated with the backup destination.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- nfs
Mount stringType - NFS Mount type for backup destination.
- nfs
Server stringExport - Specifies the directory on which to mount the file system
- nfs
Servers string[] - Host names or IP addresses for NFS Auto mount.
- state string
- The current lifecycle state of the backup destination.
- time
Created string - The date and time the backup destination was created.
- associated_
databases Sequence[database.Backup Destination Associated Database] - List of databases associated with the backup destination.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- nfs_
mount_ strtype - NFS Mount type for backup destination.
- nfs_
server_ strexport - Specifies the directory on which to mount the file system
- nfs_
servers Sequence[str] - Host names or IP addresses for NFS Auto mount.
- state str
- The current lifecycle state of the backup destination.
- time_
created str - The date and time the backup destination was created.
- associated
Databases List<Property Map> - List of databases associated with the backup destination.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- nfs
Mount StringType - NFS Mount type for backup destination.
- nfs
Server StringExport - Specifies the directory on which to mount the file system
- nfs
Servers List<String> - Host names or IP addresses for NFS Auto mount.
- state String
- The current lifecycle state of the backup destination.
- time
Created String - The date and time the backup destination was created.
Look up Existing BackupDestination Resource
Get an existing BackupDestination 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?: BackupDestinationState, opts?: CustomResourceOptions): BackupDestination
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
associated_databases: Optional[Sequence[_database.BackupDestinationAssociatedDatabaseArgs]] = None,
compartment_id: Optional[str] = None,
connection_string: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
local_mount_point_path: Optional[str] = None,
mount_type_details: Optional[_database.BackupDestinationMountTypeDetailsArgs] = None,
nfs_mount_type: Optional[str] = None,
nfs_server_export: Optional[str] = None,
nfs_servers: Optional[Sequence[str]] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
type: Optional[str] = None,
vpc_users: Optional[Sequence[str]] = None) -> BackupDestination
func GetBackupDestination(ctx *Context, name string, id IDInput, state *BackupDestinationState, opts ...ResourceOption) (*BackupDestination, error)
public static BackupDestination Get(string name, Input<string> id, BackupDestinationState? state, CustomResourceOptions? opts = null)
public static BackupDestination get(String name, Output<String> id, BackupDestinationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Associated
Databases List<BackupDestination Associated Database> - List of databases associated with the backup destination.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Connection
String string - (Updatable) The connection string for connecting to the Recovery Appliance.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The user-provided name of the backup destination.
- Dictionary<string, string>
- (Updatable) 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"}
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- Local
Mount stringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- Mount
Type BackupDetails Destination Mount Type Details - Mount type details for backup destination.
- Nfs
Mount stringType - NFS Mount type for backup destination.
- Nfs
Server stringExport - Specifies the directory on which to mount the file system
- Nfs
Servers List<string> - Host names or IP addresses for NFS Auto mount.
- State string
- The current lifecycle state of the backup destination.
- Time
Created string - The date and time the backup destination was created.
- Type string
- Type of the backup destination.
- Vpc
Users List<string> (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Associated
Databases []BackupDestination Associated Database Args - List of databases associated with the backup destination.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Connection
String string - (Updatable) The connection string for connecting to the Recovery Appliance.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The user-provided name of the backup destination.
- map[string]string
- (Updatable) 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"}
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- Local
Mount stringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- Mount
Type BackupDetails Destination Mount Type Details Args - Mount type details for backup destination.
- Nfs
Mount stringType - NFS Mount type for backup destination.
- Nfs
Server stringExport - Specifies the directory on which to mount the file system
- Nfs
Servers []string - Host names or IP addresses for NFS Auto mount.
- State string
- The current lifecycle state of the backup destination.
- Time
Created string - The date and time the backup destination was created.
- Type string
- Type of the backup destination.
- Vpc
Users []string (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- associated
Databases List<BackupDestination Associated> - List of databases associated with the backup destination.
- compartment
Id String - (Updatable) The OCID of the compartment.
- connection
String String - (Updatable) The connection string for connecting to the Recovery Appliance.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The user-provided name of the backup destination.
- Map<String,String>
- (Updatable) 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"}
- lifecycle
Details String - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- local
Mount StringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- mount
Type BackupDetails Destination Mount Type Details - Mount type details for backup destination.
- nfs
Mount StringType - NFS Mount type for backup destination.
- nfs
Server StringExport - Specifies the directory on which to mount the file system
- nfs
Servers List<String> - Host names or IP addresses for NFS Auto mount.
- state String
- The current lifecycle state of the backup destination.
- time
Created String - The date and time the backup destination was created.
- type String
- Type of the backup destination.
- vpc
Users List<String> (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- associated
Databases BackupDestination Associated Database[] - List of databases associated with the backup destination.
- compartment
Id string - (Updatable) The OCID of the compartment.
- connection
String string - (Updatable) The connection string for connecting to the Recovery Appliance.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name string - The user-provided name of the backup destination.
- {[key: string]: string}
- (Updatable) 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"}
- lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- local
Mount stringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- mount
Type BackupDetails Destination Mount Type Details - Mount type details for backup destination.
- nfs
Mount stringType - NFS Mount type for backup destination.
- nfs
Server stringExport - Specifies the directory on which to mount the file system
- nfs
Servers string[] - Host names or IP addresses for NFS Auto mount.
- state string
- The current lifecycle state of the backup destination.
- time
Created string - The date and time the backup destination was created.
- type string
- Type of the backup destination.
- vpc
Users string[] (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- associated_
databases Sequence[database.Backup Destination Associated Database Args] - List of databases associated with the backup destination.
- compartment_
id str - (Updatable) The OCID of the compartment.
- connection_
string str - (Updatable) The connection string for connecting to the Recovery Appliance.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display_
name str - The user-provided name of the backup destination.
- Mapping[str, str]
- (Updatable) 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"}
- lifecycle_
details str - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- local_
mount_ strpoint_ path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- mount_
type_ database.details Backup Destination Mount Type Details Args - Mount type details for backup destination.
- nfs_
mount_ strtype - NFS Mount type for backup destination.
- nfs_
server_ strexport - Specifies the directory on which to mount the file system
- nfs_
servers Sequence[str] - Host names or IP addresses for NFS Auto mount.
- state str
- The current lifecycle state of the backup destination.
- time_
created str - The date and time the backup destination was created.
- type str
- Type of the backup destination.
- vpc_
users Sequence[str] (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- associated
Databases List<Property Map> - List of databases associated with the backup destination.
- compartment
Id String - (Updatable) The OCID of the compartment.
- connection
String String - (Updatable) The connection string for connecting to the Recovery Appliance.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The user-provided name of the backup destination.
- Map<String>
- (Updatable) 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"}
- lifecycle
Details String - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
- local
Mount StringPoint Path - (Updatable) Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.
- mount
Type Property MapDetails - Mount type details for backup destination.
- nfs
Mount StringType - NFS Mount type for backup destination.
- nfs
Server StringExport - Specifies the directory on which to mount the file system
- nfs
Servers List<String> - Host names or IP addresses for NFS Auto mount.
- state String
- The current lifecycle state of the backup destination.
- time
Created String - The date and time the backup destination was created.
- type String
- Type of the backup destination.
- vpc
Users List<String> (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Supporting Types
BackupDestinationAssociatedDatabase, BackupDestinationAssociatedDatabaseArgs
BackupDestinationMountTypeDetails, BackupDestinationMountTypeDetailsArgs
- Mount
Type string - Mount type for backup destination.
- Local
Mount stringPoint Path - The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.
- Nfs
Server stringExport - Specifies the directory on which to mount the file system
- Nfs
Servers List<string> - IP addresses for NFS Auto mount.
- Mount
Type string - Mount type for backup destination.
- Local
Mount stringPoint Path - The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.
- Nfs
Server stringExport - Specifies the directory on which to mount the file system
- Nfs
Servers []string - IP addresses for NFS Auto mount.
- mount
Type String - Mount type for backup destination.
- local
Mount StringPoint Path - The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.
- nfs
Server StringExport - Specifies the directory on which to mount the file system
- nfs
Servers List<String> - IP addresses for NFS Auto mount.
- mount
Type string - Mount type for backup destination.
- local
Mount stringPoint Path - The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.
- nfs
Server stringExport - Specifies the directory on which to mount the file system
- nfs
Servers string[] - IP addresses for NFS Auto mount.
- mount_
type str - Mount type for backup destination.
- local_
mount_ strpoint_ path - The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.
- nfs_
server_ strexport - Specifies the directory on which to mount the file system
- nfs_
servers Sequence[str] - IP addresses for NFS Auto mount.
- mount
Type String - Mount type for backup destination.
- local
Mount StringPoint Path - The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.
- nfs
Server StringExport - Specifies the directory on which to mount the file system
- nfs
Servers List<String> - IP addresses for NFS Auto mount.
Import
BackupDestinations can be imported using the id
, e.g.
$ pulumi import oci:Database/backupDestination:BackupDestination test_backup_destination "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.