1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. BackupDestination
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.Database.BackupDestination

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    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("testBackupDestination", {
        compartmentId: _var.compartment_id,
        displayName: _var.backup_destination_display_name,
        type: _var.backup_destination_type,
        connectionString: _var.backup_destination_connection_string,
        definedTags: _var.backup_destination_defined_tags,
        freeformTags: {
            Department: "Finance",
        },
        localMountPointPath: _var.backup_destination_local_mount_point_path,
        mountTypeDetails: {
            mountType: _var.backup_destination_mount_type_details_mount_type,
            localMountPointPath: _var.backup_destination_mount_type_details_local_mount_point_path,
            nfsServers: _var.backup_destination_mount_type_details_nfs_server,
            nfsServerExport: _var.backup_destination_mount_type_details_nfs_server_export,
        },
        vpcUsers: _var.backup_destination_vpc_users,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_backup_destination = oci.database.BackupDestination("testBackupDestination",
        compartment_id=var["compartment_id"],
        display_name=var["backup_destination_display_name"],
        type=var["backup_destination_type"],
        connection_string=var["backup_destination_connection_string"],
        defined_tags=var["backup_destination_defined_tags"],
        freeform_tags={
            "Department": "Finance",
        },
        local_mount_point_path=var["backup_destination_local_mount_point_path"],
        mount_type_details=oci.database.BackupDestinationMountTypeDetailsArgs(
            mount_type=var["backup_destination_mount_type_details_mount_type"],
            local_mount_point_path=var["backup_destination_mount_type_details_local_mount_point_path"],
            nfs_servers=var["backup_destination_mount_type_details_nfs_server"],
            nfs_server_export=var["backup_destination_mount_type_details_nfs_server_export"],
        ),
        vpc_users=var["backup_destination_vpc_users"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Database.NewBackupDestination(ctx, "testBackupDestination", &Database.BackupDestinationArgs{
    			CompartmentId:    pulumi.Any(_var.Compartment_id),
    			DisplayName:      pulumi.Any(_var.Backup_destination_display_name),
    			Type:             pulumi.Any(_var.Backup_destination_type),
    			ConnectionString: pulumi.Any(_var.Backup_destination_connection_string),
    			DefinedTags:      pulumi.Any(_var.Backup_destination_defined_tags),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			LocalMountPointPath: pulumi.Any(_var.Backup_destination_local_mount_point_path),
    			MountTypeDetails: &database.BackupDestinationMountTypeDetailsArgs{
    				MountType:           pulumi.Any(_var.Backup_destination_mount_type_details_mount_type),
    				LocalMountPointPath: pulumi.Any(_var.Backup_destination_mount_type_details_local_mount_point_path),
    				NfsServers:          pulumi.Any(_var.Backup_destination_mount_type_details_nfs_server),
    				NfsServerExport:     pulumi.Any(_var.Backup_destination_mount_type_details_nfs_server_export),
    			},
    			VpcUsers: pulumi.Any(_var.Backup_destination_vpc_users),
    		})
    		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("testBackupDestination", new()
        {
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Backup_destination_display_name,
            Type = @var.Backup_destination_type,
            ConnectionString = @var.Backup_destination_connection_string,
            DefinedTags = @var.Backup_destination_defined_tags,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            LocalMountPointPath = @var.Backup_destination_local_mount_point_path,
            MountTypeDetails = new Oci.Database.Inputs.BackupDestinationMountTypeDetailsArgs
            {
                MountType = @var.Backup_destination_mount_type_details_mount_type,
                LocalMountPointPath = @var.Backup_destination_mount_type_details_local_mount_point_path,
                NfsServers = @var.Backup_destination_mount_type_details_nfs_server,
                NfsServerExport = @var.Backup_destination_mount_type_details_nfs_server_export,
            },
            VpcUsers = @var.Backup_destination_vpc_users,
        });
    
    });
    
    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(var_.compartment_id())
                .displayName(var_.backup_destination_display_name())
                .type(var_.backup_destination_type())
                .connectionString(var_.backup_destination_connection_string())
                .definedTags(var_.backup_destination_defined_tags())
                .freeformTags(Map.of("Department", "Finance"))
                .localMountPointPath(var_.backup_destination_local_mount_point_path())
                .mountTypeDetails(BackupDestinationMountTypeDetailsArgs.builder()
                    .mountType(var_.backup_destination_mount_type_details_mount_type())
                    .localMountPointPath(var_.backup_destination_mount_type_details_local_mount_point_path())
                    .nfsServers(var_.backup_destination_mount_type_details_nfs_server())
                    .nfsServerExport(var_.backup_destination_mount_type_details_nfs_server_export())
                    .build())
                .vpcUsers(var_.backup_destination_vpc_users())
                .build());
    
        }
    }
    
    resources:
      testBackupDestination:
        type: oci:Database:BackupDestination
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          displayName: ${var.backup_destination_display_name}
          type: ${var.backup_destination_type}
          #Optional
          connectionString: ${var.backup_destination_connection_string}
          definedTags: ${var.backup_destination_defined_tags}
          freeformTags:
            Department: Finance
          localMountPointPath: ${var.backup_destination_local_mount_point_path}
          mountTypeDetails:
            mountType: ${var.backup_destination_mount_type_details_mount_type}
            localMountPointPath: ${var.backup_destination_mount_type_details_local_mount_point_path}
            nfsServers: ${var.backup_destination_mount_type_details_nfs_server}
            nfsServerExport: ${var.backup_destination_mount_type_details_nfs_server_export}
          vpcUsers: ${var.backup_destination_vpc_users}
    

    Create BackupDestination Resource

    new BackupDestination(name: string, args: BackupDestinationArgs, opts?: CustomResourceOptions);
    @overload
    def BackupDestination(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          compartment_id: Optional[str] = None,
                          connection_string: Optional[str] = None,
                          defined_tags: Optional[Mapping[str, Any]] = None,
                          display_name: Optional[str] = None,
                          freeform_tags: Optional[Mapping[str, Any]] = None,
                          local_mount_point_path: Optional[str] = None,
                          mount_type_details: Optional[_database.BackupDestinationMountTypeDetailsArgs] = None,
                          type: Optional[str] = None,
                          vpc_users: Optional[Sequence[str]] = None)
    @overload
    def BackupDestination(resource_name: str,
                          args: BackupDestinationArgs,
                          opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    The BackupDestination resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment.
    DisplayName string
    The user-provided name of the backup destination.
    Type string
    Type of the backup destination.
    ConnectionString string
    (Updatable) The connection string for connecting to the Recovery Appliance.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    FreeformTags Dictionary<string, object>
    (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"}
    LocalMountPointPath string
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    MountTypeDetails BackupDestinationMountTypeDetails
    Mount type details for backup destination.
    VpcUsers 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

    CompartmentId string
    (Updatable) The OCID of the compartment.
    DisplayName string
    The user-provided name of the backup destination.
    Type string
    Type of the backup destination.
    ConnectionString string
    (Updatable) The connection string for connecting to the Recovery Appliance.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    FreeformTags map[string]interface{}
    (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"}
    LocalMountPointPath string
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    MountTypeDetails BackupDestinationMountTypeDetailsArgs
    Mount type details for backup destination.
    VpcUsers []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

    compartmentId String
    (Updatable) The OCID of the compartment.
    displayName String
    The user-provided name of the backup destination.
    type String
    Type of the backup destination.
    connectionString String
    (Updatable) The connection string for connecting to the Recovery Appliance.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeformTags Map<String,Object>
    (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"}
    localMountPointPath String
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    mountTypeDetails BackupDestinationMountTypeDetails
    Mount type details for backup destination.
    vpcUsers 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

    compartmentId string
    (Updatable) The OCID of the compartment.
    displayName string
    The user-provided name of the backup destination.
    type string
    Type of the backup destination.
    connectionString string
    (Updatable) The connection string for connecting to the Recovery Appliance.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeformTags {[key: string]: any}
    (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"}
    localMountPointPath string
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    mountTypeDetails BackupDestinationMountTypeDetails
    Mount type details for backup destination.
    vpcUsers 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.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeform_tags Mapping[str, Any]
    (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_point_path str
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    mount_type_details BackupDestinationMountTypeDetailsArgs
    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

    compartmentId String
    (Updatable) The OCID of the compartment.
    displayName String
    The user-provided name of the backup destination.
    type String
    Type of the backup destination.
    connectionString String
    (Updatable) The connection string for connecting to the Recovery Appliance.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeformTags Map<Any>
    (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"}
    localMountPointPath String
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    mountTypeDetails Property Map
    Mount type details for backup destination.
    vpcUsers 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:

    AssociatedDatabases List<BackupDestinationAssociatedDatabase>
    List of databases associated with the backup destination.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    NfsMountType string
    NFS Mount type for backup destination.
    NfsServerExport string
    Specifies the directory on which to mount the file system
    NfsServers List<string>
    IP addresses for NFS Auto mount.
    State string
    The current lifecycle state of the backup destination.
    TimeCreated string
    The date and time the backup destination was created.
    AssociatedDatabases []BackupDestinationAssociatedDatabase
    List of databases associated with the backup destination.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    NfsMountType string
    NFS Mount type for backup destination.
    NfsServerExport string
    Specifies the directory on which to mount the file system
    NfsServers []string
    IP addresses for NFS Auto mount.
    State string
    The current lifecycle state of the backup destination.
    TimeCreated string
    The date and time the backup destination was created.
    associatedDatabases List<BackupDestinationAssociated>
    List of databases associated with the backup destination.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    nfsMountType String
    NFS Mount type for backup destination.
    nfsServerExport String
    Specifies the directory on which to mount the file system
    nfsServers List<String>
    IP addresses for NFS Auto mount.
    state String
    The current lifecycle state of the backup destination.
    timeCreated String
    The date and time the backup destination was created.
    associatedDatabases BackupDestinationAssociatedDatabase[]
    List of databases associated with the backup destination.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    nfsMountType string
    NFS Mount type for backup destination.
    nfsServerExport string
    Specifies the directory on which to mount the file system
    nfsServers string[]
    IP addresses for NFS Auto mount.
    state string
    The current lifecycle state of the backup destination.
    timeCreated string
    The date and time the backup destination was created.
    associated_databases BackupDestinationAssociatedDatabase]
    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_type str
    NFS Mount type for backup destination.
    nfs_server_export str
    Specifies the directory on which to mount the file system
    nfs_servers Sequence[str]
    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.
    associatedDatabases List<Property Map>
    List of databases associated with the backup destination.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    nfsMountType String
    NFS Mount type for backup destination.
    nfsServerExport String
    Specifies the directory on which to mount the file system
    nfsServers List<String>
    IP addresses for NFS Auto mount.
    state String
    The current lifecycle state of the backup destination.
    timeCreated 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, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = 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.
    The following state arguments are supported:
    AssociatedDatabases List<BackupDestinationAssociatedDatabase>
    List of databases associated with the backup destination.
    CompartmentId string
    (Updatable) The OCID of the compartment.
    ConnectionString string
    (Updatable) The connection string for connecting to the Recovery Appliance.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisplayName string
    The user-provided name of the backup destination.
    FreeformTags Dictionary<string, object>
    (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"}
    LifecycleDetails string
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    LocalMountPointPath string
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    MountTypeDetails BackupDestinationMountTypeDetails
    Mount type details for backup destination.
    NfsMountType string
    NFS Mount type for backup destination.
    NfsServerExport string
    Specifies the directory on which to mount the file system
    NfsServers List<string>
    IP addresses for NFS Auto mount.
    State string
    The current lifecycle state of the backup destination.
    TimeCreated string
    The date and time the backup destination was created.
    Type string
    Type of the backup destination.
    VpcUsers 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

    AssociatedDatabases []BackupDestinationAssociatedDatabaseArgs
    List of databases associated with the backup destination.
    CompartmentId string
    (Updatable) The OCID of the compartment.
    ConnectionString string
    (Updatable) The connection string for connecting to the Recovery Appliance.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisplayName string
    The user-provided name of the backup destination.
    FreeformTags map[string]interface{}
    (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"}
    LifecycleDetails string
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    LocalMountPointPath string
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    MountTypeDetails BackupDestinationMountTypeDetailsArgs
    Mount type details for backup destination.
    NfsMountType string
    NFS Mount type for backup destination.
    NfsServerExport string
    Specifies the directory on which to mount the file system
    NfsServers []string
    IP addresses for NFS Auto mount.
    State string
    The current lifecycle state of the backup destination.
    TimeCreated string
    The date and time the backup destination was created.
    Type string
    Type of the backup destination.
    VpcUsers []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

    associatedDatabases List<BackupDestinationAssociated>
    List of databases associated with the backup destination.
    compartmentId String
    (Updatable) The OCID of the compartment.
    connectionString String
    (Updatable) The connection string for connecting to the Recovery Appliance.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName String
    The user-provided name of the backup destination.
    freeformTags Map<String,Object>
    (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"}
    lifecycleDetails String
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    localMountPointPath String
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    mountTypeDetails BackupDestinationMountTypeDetails
    Mount type details for backup destination.
    nfsMountType String
    NFS Mount type for backup destination.
    nfsServerExport String
    Specifies the directory on which to mount the file system
    nfsServers List<String>
    IP addresses for NFS Auto mount.
    state String
    The current lifecycle state of the backup destination.
    timeCreated String
    The date and time the backup destination was created.
    type String
    Type of the backup destination.
    vpcUsers 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

    associatedDatabases BackupDestinationAssociatedDatabase[]
    List of databases associated with the backup destination.
    compartmentId string
    (Updatable) The OCID of the compartment.
    connectionString string
    (Updatable) The connection string for connecting to the Recovery Appliance.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName string
    The user-provided name of the backup destination.
    freeformTags {[key: string]: any}
    (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"}
    lifecycleDetails string
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    localMountPointPath string
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    mountTypeDetails BackupDestinationMountTypeDetails
    Mount type details for backup destination.
    nfsMountType string
    NFS Mount type for backup destination.
    nfsServerExport string
    Specifies the directory on which to mount the file system
    nfsServers string[]
    IP addresses for NFS Auto mount.
    state string
    The current lifecycle state of the backup destination.
    timeCreated string
    The date and time the backup destination was created.
    type string
    Type of the backup destination.
    vpcUsers 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 BackupDestinationAssociatedDatabaseArgs]
    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.
    defined_tags Mapping[str, Any]
    (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.
    freeform_tags Mapping[str, Any]
    (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_point_path str
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    mount_type_details BackupDestinationMountTypeDetailsArgs
    Mount type details for backup destination.
    nfs_mount_type str
    NFS Mount type for backup destination.
    nfs_server_export str
    Specifies the directory on which to mount the file system
    nfs_servers Sequence[str]
    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

    associatedDatabases List<Property Map>
    List of databases associated with the backup destination.
    compartmentId String
    (Updatable) The OCID of the compartment.
    connectionString String
    (Updatable) The connection string for connecting to the Recovery Appliance.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName String
    The user-provided name of the backup destination.
    freeformTags Map<Any>
    (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"}
    lifecycleDetails String
    A descriptive text associated with the lifecycleState. Typically contains additional displayable text
    localMountPointPath String
    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.

    Deprecated:The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.

    mountTypeDetails Property Map
    Mount type details for backup destination.
    nfsMountType String
    NFS Mount type for backup destination.
    nfsServerExport String
    Specifies the directory on which to mount the file system
    nfsServers List<String>
    IP addresses for NFS Auto mount.
    state String
    The current lifecycle state of the backup destination.
    timeCreated String
    The date and time the backup destination was created.
    type String
    Type of the backup destination.
    vpcUsers 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

    DbName string
    The display name of the database that is associated with the backup destination.
    Id string
    The OCID of the backup destination.
    DbName string
    The display name of the database that is associated with the backup destination.
    Id string
    The OCID of the backup destination.
    dbName String
    The display name of the database that is associated with the backup destination.
    id String
    The OCID of the backup destination.
    dbName string
    The display name of the database that is associated with the backup destination.
    id string
    The OCID of the backup destination.
    db_name str
    The display name of the database that is associated with the backup destination.
    id str
    The OCID of the backup destination.
    dbName String
    The display name of the database that is associated with the backup destination.
    id String
    The OCID of the backup destination.

    BackupDestinationMountTypeDetails, BackupDestinationMountTypeDetailsArgs

    MountType string
    Mount type for backup destination.
    LocalMountPointPath string
    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.
    NfsServerExport string
    Specifies the directory on which to mount the file system
    NfsServers List<string>
    IP addresses for NFS Auto mount.
    MountType string
    Mount type for backup destination.
    LocalMountPointPath string
    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.
    NfsServerExport string
    Specifies the directory on which to mount the file system
    NfsServers []string
    IP addresses for NFS Auto mount.
    mountType String
    Mount type for backup destination.
    localMountPointPath String
    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.
    nfsServerExport String
    Specifies the directory on which to mount the file system
    nfsServers List<String>
    IP addresses for NFS Auto mount.
    mountType string
    Mount type for backup destination.
    localMountPointPath string
    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.
    nfsServerExport string
    Specifies the directory on which to mount the file system
    nfsServers string[]
    IP addresses for NFS Auto mount.
    mount_type str
    Mount type for backup destination.
    local_mount_point_path str
    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_export str
    Specifies the directory on which to mount the file system
    nfs_servers Sequence[str]
    IP addresses for NFS Auto mount.
    mountType String
    Mount type for backup destination.
    localMountPointPath String
    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.
    nfsServerExport String
    Specifies the directory on which to mount the file system
    nfsServers 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"
    

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi