import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Backup Destination resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/BackupDestination * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Creates a backup destination in an Exadata Cloud@Customer system. * * ## Example Usage * * ```typescript * 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 * * BackupDestinations can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/backupDestination:BackupDestination test_backup_destination "id" * ``` */ export declare class BackupDestination extends pulumi.CustomResource { /** * Get an existing BackupDestination resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: BackupDestinationState, opts?: pulumi.CustomResourceOptions): BackupDestination; /** * Returns true if the given object is an instance of BackupDestination. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is BackupDestination; /** * List of databases associated with the backup destination. */ readonly associatedDatabases: pulumi.Output; /** * Indicates the number of long term backups of Autonomous Databases associated with this backup destination. */ readonly associatedLongTermBackupCount: pulumi.Output; /** * List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024. */ readonly associatedLongTermBackups: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) The connection string for connecting to the Recovery Appliance. */ readonly connectionString: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * The user-provided name of the backup destination. */ readonly displayName: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A descriptive text associated with the lifecycleState. Typically contains additional displayable text */ readonly lifecycleDetails: pulumi.Output; /** * (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. * * @deprecated The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead. */ readonly localMountPointPath: pulumi.Output; /** * Mount type details for backup destination. */ readonly mountTypeDetails: pulumi.Output; /** * NFS Mount type for backup destination. */ readonly nfsMountType: pulumi.Output; /** * Specifies the directory on which to mount the file system */ readonly nfsServerExport: pulumi.Output; /** * Host names or IP addresses for NFS Auto mount. */ readonly nfsServers: pulumi.Output; /** * The current lifecycle state of the backup destination. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time when the total storage size and the utilized storage size of the backup destination are updated. */ readonly timeAtWhichStorageDetailsAreUpdated: pulumi.Output; /** * The date and time the backup destination was created. */ readonly timeCreated: pulumi.Output; /** * The total storage size of the backup destination in GBs, rounded to the nearest integer. */ readonly totalStorageSizeInGbs: pulumi.Output; /** * Type of the backup destination. */ readonly type: pulumi.Output; /** * The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. */ readonly utilizedStorageSizeInGbs: pulumi.Output; /** * (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 */ readonly vpcUsers: pulumi.Output; /** * Create a BackupDestination resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BackupDestinationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BackupDestination resources. */ export interface BackupDestinationState { /** * List of databases associated with the backup destination. */ associatedDatabases?: pulumi.Input[] | undefined>; /** * Indicates the number of long term backups of Autonomous Databases associated with this backup destination. */ associatedLongTermBackupCount?: pulumi.Input; /** * List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024. */ associatedLongTermBackups?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) The connection string for connecting to the Recovery Appliance. */ connectionString?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The user-provided name of the backup destination. */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A descriptive text associated with the lifecycleState. Typically contains additional displayable text */ lifecycleDetails?: pulumi.Input; /** * (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. * * @deprecated The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead. */ localMountPointPath?: pulumi.Input; /** * Mount type details for backup destination. */ mountTypeDetails?: pulumi.Input; /** * NFS Mount type for backup destination. */ nfsMountType?: pulumi.Input; /** * Specifies the directory on which to mount the file system */ nfsServerExport?: pulumi.Input; /** * Host names or IP addresses for NFS Auto mount. */ nfsServers?: pulumi.Input[] | undefined>; /** * The current lifecycle state of the backup destination. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time when the total storage size and the utilized storage size of the backup destination are updated. */ timeAtWhichStorageDetailsAreUpdated?: pulumi.Input; /** * The date and time the backup destination was created. */ timeCreated?: pulumi.Input; /** * The total storage size of the backup destination in GBs, rounded to the nearest integer. */ totalStorageSizeInGbs?: pulumi.Input; /** * Type of the backup destination. */ type?: pulumi.Input; /** * The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. */ utilizedStorageSizeInGbs?: pulumi.Input; /** * (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 */ vpcUsers?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a BackupDestination resource. */ export interface BackupDestinationArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * (Updatable) The connection string for connecting to the Recovery Appliance. */ connectionString?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The user-provided name of the backup destination. */ displayName: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (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. * * @deprecated The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead. */ localMountPointPath?: pulumi.Input; /** * Mount type details for backup destination. */ mountTypeDetails?: pulumi.Input; /** * Type of the backup destination. */ type: pulumi.Input; /** * (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 */ vpcUsers?: pulumi.Input[] | undefined>; } //# sourceMappingURL=backupDestination.d.ts.map