import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Bds Instance Node Backup resource in Oracle Cloud Infrastructure Big Data Service service. * * Add a node volume backup to the cluster for an indicated node type or node. * * Api doc link for the resource: https://docs.oracle.com/en-us/iaas/api/#/en/bigdata/20190531/NodeBackup/ * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/blob/master/examples/big_data_service/NodeBackup/main.tf * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstanceNodeBackup = new oci.bigdataservice.BdsInstanceNodeBackup("test_bds_instance_node_backup", { * bdsInstanceId: testBdsInstance.id, * levelTypeDetails: { * levelType: bdsInstanceNodeBackupLevelTypeDetailsLevelType, * nodeHostName: bdsInstanceNodeBackupLevelTypeDetailsNodeHostName, * nodeType: bdsInstanceNodeBackupLevelTypeDetailsNodeType, * }, * backupType: bdsInstanceNodeBackupBackupType, * }); * ``` * * ## Import * * BdsInstanceNodeBackupConfigurations can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:BigDataService/bdsInstanceNodeBackup:BdsInstanceNodeBackup test_bds_instance_node_backup "bdsInstances/{bdsInstanceId}/nodeBackup/{nodeBackupId}" * ``` */ export declare class BdsInstanceNodeBackup extends pulumi.CustomResource { /** * Get an existing BdsInstanceNodeBackup 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?: BdsInstanceNodeBackupState, opts?: pulumi.CustomResourceOptions): BdsInstanceNodeBackup; /** * Returns true if the given object is an instance of BdsInstanceNodeBackup. 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 BdsInstanceNodeBackup; readonly backupConfigId: pulumi.Output; /** * Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created. */ readonly backupType: pulumi.Output; /** * The OCID of the cluster. */ readonly bdsInstanceId: pulumi.Output; readonly displayName: pulumi.Output; /** * Details of the type of level used to trigger the creation of a new node backup. */ readonly levelTypeDetails: pulumi.Output; readonly nodeInstanceId: pulumi.Output; /** * The state of the NodeBackup. */ readonly state: pulumi.Output; /** * The time the NodeBackup was created, shown as an RFC 3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; readonly timeUpdated: pulumi.Output; /** * Create a BdsInstanceNodeBackup 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: BdsInstanceNodeBackupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BdsInstanceNodeBackup resources. */ export interface BdsInstanceNodeBackupState { backupConfigId?: pulumi.Input; /** * Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created. */ backupType?: pulumi.Input; /** * The OCID of the cluster. */ bdsInstanceId?: pulumi.Input; displayName?: pulumi.Input; /** * Details of the type of level used to trigger the creation of a new node backup. */ levelTypeDetails?: pulumi.Input; nodeInstanceId?: pulumi.Input; /** * The state of the NodeBackup. */ state?: pulumi.Input; /** * The time the NodeBackup was created, shown as an RFC 3339 formatted datetime string. */ timeCreated?: pulumi.Input; timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a BdsInstanceNodeBackup resource. */ export interface BdsInstanceNodeBackupArgs { backupConfigId?: pulumi.Input; /** * Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created. */ backupType: pulumi.Input; /** * The OCID of the cluster. */ bdsInstanceId: pulumi.Input; displayName?: pulumi.Input; /** * Details of the type of level used to trigger the creation of a new node backup. */ levelTypeDetails: pulumi.Input; nodeInstanceId?: pulumi.Input; } //# sourceMappingURL=bdsInstanceNodeBackup.d.ts.map