import * as pulumi from "@pulumi/pulumi"; /** * Invokes the Big Data Service replace node action for a cluster node. * * Use this action resource to replace a node identified by `nodeHostName`. You can optionally provide a specific node backup to restore from, a target shape for the replacement node, and either `clusterAdminPassword` or `secretId` for authentication. * * When `nodeBackupId` is omitted, the service uses the latest available node backup. If no suitable backup is available, or the original node is already in a failed or terminated state, the service attempts to recover from the last saved boot volume state. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstanceReplaceNodeAction = new oci.bigdataservice.BdsInstanceReplaceNodeAction("test_bds_instance_replace_node_action", { * bdsInstanceId: bdsInstanceId, * nodeHostName: nodeHostName, * clusterAdminPassword: "", * nodeBackupId: nodeBackupId, * shape: shape, * }); * ``` */ export declare class BdsInstanceReplaceNodeAction extends pulumi.CustomResource { /** * Get an existing BdsInstanceReplaceNodeAction 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?: BdsInstanceReplaceNodeActionState, opts?: pulumi.CustomResourceOptions): BdsInstanceReplaceNodeAction; /** * Returns true if the given object is an instance of BdsInstanceReplaceNodeAction. 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 BdsInstanceReplaceNodeAction; /** * The OCID of the Big Data Service cluster. */ readonly bdsInstanceId: pulumi.Output; /** * Base64-encoded cluster admin password. Use this or `secretId`. */ readonly clusterAdminPassword: pulumi.Output; /** * The OCID of the node backup to use for replacement. */ readonly nodeBackupId: pulumi.Output; /** * Host name of the node to replace. */ readonly nodeHostName: pulumi.Output; /** * The OCID of the secret that stores the cluster admin password. Use this or `clusterAdminPassword`. */ readonly secretId: pulumi.Output; /** * The shape to use for the replacement node. If not specified, the existing node shape is used. * * **IMPORTANT** * This is an action resource. Any change forces Terraform to create the action resource again and invoke the replace node workflow. */ readonly shape: pulumi.Output; /** * Create a BdsInstanceReplaceNodeAction 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: BdsInstanceReplaceNodeActionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BdsInstanceReplaceNodeAction resources. */ export interface BdsInstanceReplaceNodeActionState { /** * The OCID of the Big Data Service cluster. */ bdsInstanceId?: pulumi.Input; /** * Base64-encoded cluster admin password. Use this or `secretId`. */ clusterAdminPassword?: pulumi.Input; /** * The OCID of the node backup to use for replacement. */ nodeBackupId?: pulumi.Input; /** * Host name of the node to replace. */ nodeHostName?: pulumi.Input; /** * The OCID of the secret that stores the cluster admin password. Use this or `clusterAdminPassword`. */ secretId?: pulumi.Input; /** * The shape to use for the replacement node. If not specified, the existing node shape is used. * * **IMPORTANT** * This is an action resource. Any change forces Terraform to create the action resource again and invoke the replace node workflow. */ shape?: pulumi.Input; } /** * The set of arguments for constructing a BdsInstanceReplaceNodeAction resource. */ export interface BdsInstanceReplaceNodeActionArgs { /** * The OCID of the Big Data Service cluster. */ bdsInstanceId: pulumi.Input; /** * Base64-encoded cluster admin password. Use this or `secretId`. */ clusterAdminPassword?: pulumi.Input; /** * The OCID of the node backup to use for replacement. */ nodeBackupId?: pulumi.Input; /** * Host name of the node to replace. */ nodeHostName: pulumi.Input; /** * The OCID of the secret that stores the cluster admin password. Use this or `clusterAdminPassword`. */ secretId?: pulumi.Input; /** * The shape to use for the replacement node. If not specified, the existing node shape is used. * * **IMPORTANT** * This is an action resource. Any change forces Terraform to create the action resource again and invoke the replace node workflow. */ shape?: pulumi.Input; } //# sourceMappingURL=bdsInstanceReplaceNodeAction.d.ts.map