import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Db Node Snapshot resource in Oracle Cloud Infrastructure Database service. * * Manage the specified Db Node Snapshot in the Exadb VM cluster. * * ## Example Usage * * Unmount the specified Db Node Snapshot * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbNodeSnapshot = new oci.database.DbNodeSnapshot("test_db_node_snapshot", { * dbnodeSnapshotId: testDbNodeSnapshotManagement.snapshots[0].id, * mountDbnodeId: "null", * }); * ``` * * Mount the specified Db Node Snapshot to the specified Db Node * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbNodeSnapshot = new oci.database.DbNodeSnapshot("test_db_node_snapshot", { * dbnodeSnapshotId: testDbNodeSnapshotManagement.snapshots[0].id, * mountDbnodeId: testDbNodeSnapshotManagement.snapshots[0].sourceDbnodeId, * }); * ``` * * ## Import * * DbNodeSnapshots can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/dbNodeSnapshot:DbNodeSnapshot test_db_node_snapshot "id" * ``` */ export declare class DbNodeSnapshot extends pulumi.CustomResource { /** * Get an existing DbNodeSnapshot 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?: DbNodeSnapshotState, opts?: pulumi.CustomResourceOptions): DbNodeSnapshot; /** * Returns true if the given object is an instance of DbNodeSnapshot. 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 DbNodeSnapshot; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. */ readonly clusterId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * The Exadata Database Node Snapshot [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly dbnodeSnapshotId: pulumi.Output; /** * 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; }>; /** * 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; }>; /** * Additional information about the current lifecycle state of the Exadata Database Node Snapshot. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node to which the snapshot will be mounted. Set `mountDbnodeId` to `"null"` (string, not `null`) to unmount the Db Node Snapshot. * * ** 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 mountDbnodeId: pulumi.Output; /** * Details of the mount points */ readonly mountPoints: pulumi.Output; /** * Volume Name */ readonly name: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node. */ readonly sourceDbnodeId: pulumi.Output; /** * The current state of the Exadata Database Node Snapshot. */ 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 date and time that the Exadata Database Node Snapshot was created. */ readonly timeCreated: pulumi.Output; /** * Details of the volumes */ readonly volumes: pulumi.Output; /** * Create a DbNodeSnapshot 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: DbNodeSnapshotArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DbNodeSnapshot resources. */ export interface DbNodeSnapshotState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. */ clusterId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * The Exadata Database Node Snapshot [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbnodeSnapshotId?: pulumi.Input; /** * 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>; /** * 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>; /** * Additional information about the current lifecycle state of the Exadata Database Node Snapshot. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node to which the snapshot will be mounted. Set `mountDbnodeId` to `"null"` (string, not `null`) to unmount the Db Node Snapshot. * * ** 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 */ mountDbnodeId?: pulumi.Input; /** * Details of the mount points */ mountPoints?: pulumi.Input[] | undefined>; /** * Volume Name */ name?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node. */ sourceDbnodeId?: pulumi.Input; /** * The current state of the Exadata Database Node Snapshot. */ 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 date and time that the Exadata Database Node Snapshot was created. */ timeCreated?: pulumi.Input; /** * Details of the volumes */ volumes?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a DbNodeSnapshot resource. */ export interface DbNodeSnapshotArgs { /** * The Exadata Database Node Snapshot [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbnodeSnapshotId: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node to which the snapshot will be mounted. Set `mountDbnodeId` to `"null"` (string, not `null`) to unmount the Db Node Snapshot. * * ** 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 */ mountDbnodeId: pulumi.Input; } //# sourceMappingURL=dbNodeSnapshot.d.ts.map