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 Replace Configuration resource in Oracle Cloud Infrastructure Big Data Service service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/bigdata/latest/BdsInstanceNodeReplaceConfiguration * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/big_data_service * * Add a nodeReplaceConfigurations to the cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstanceNodeReplaceConfiguration = new oci.bigdataservice.BdsInstanceNodeReplaceConfiguration("test_bds_instance_node_replace_configuration", { * bdsInstanceId: testBdsInstance.id, * durationInMinutes: Number(bdsInstanceNodeReplaceConfigurationDurationInMinutes), * levelTypeDetails: { * levelType: bdsInstanceNodeReplaceConfigurationLevelTypeDetailsLevelType, * nodeHostName: bdsInstanceNodeReplaceConfigurationLevelTypeDetailsNodeHostName, * nodeType: bdsInstanceNodeReplaceConfigurationLevelTypeDetailsNodeType, * }, * metricType: bdsInstanceNodeReplaceConfigurationMetricType, * clusterAdminPassword: bdsInstanceNodeReplaceConfigurationClusterAdminPassword, * displayName: bdsInstanceNodeReplaceConfigurationDisplayName, * secretId: testSecret.id, * }); * ``` * * ## Import * * BdsInstanceNodeReplaceConfigurations can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:BigDataService/bdsInstanceNodeReplaceConfiguration:BdsInstanceNodeReplaceConfiguration test_bds_instance_node_replace_configuration "bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}" * ``` */ export declare class BdsInstanceNodeReplaceConfiguration extends pulumi.CustomResource { /** * Get an existing BdsInstanceNodeReplaceConfiguration 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?: BdsInstanceNodeReplaceConfigurationState, opts?: pulumi.CustomResourceOptions): BdsInstanceNodeReplaceConfiguration; /** * Returns true if the given object is an instance of BdsInstanceNodeReplaceConfiguration. 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 BdsInstanceNodeReplaceConfiguration; /** * The OCID of the cluster. */ readonly bdsInstanceId: pulumi.Output; /** * Base-64 encoded password for the cluster admin user. */ readonly clusterAdminPassword: pulumi.Output; /** * (Updatable) A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) This value is the minimum period of time to wait before triggering node replacement. The value is in minutes. */ readonly durationInMinutes: pulumi.Output; /** * (Updatable) Details of the type of level used to trigger the creation of a new node backup configuration or node replacement configuration. */ readonly levelTypeDetails: pulumi.Output; /** * (Updatable) Type of compute instance health metric to use for node replacement */ readonly metricType: pulumi.Output; /** * The secretId for the clusterAdminPassword. */ readonly secretId: pulumi.Output; /** * The state of the NodeReplaceConfiguration. */ readonly state: pulumi.Output; /** * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a BdsInstanceNodeReplaceConfiguration 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: BdsInstanceNodeReplaceConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BdsInstanceNodeReplaceConfiguration resources. */ export interface BdsInstanceNodeReplaceConfigurationState { /** * The OCID of the cluster. */ bdsInstanceId?: pulumi.Input; /** * Base-64 encoded password for the cluster admin user. */ clusterAdminPassword?: pulumi.Input; /** * (Updatable) A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) This value is the minimum period of time to wait before triggering node replacement. The value is in minutes. */ durationInMinutes?: pulumi.Input; /** * (Updatable) Details of the type of level used to trigger the creation of a new node backup configuration or node replacement configuration. */ levelTypeDetails?: pulumi.Input; /** * (Updatable) Type of compute instance health metric to use for node replacement */ metricType?: pulumi.Input; /** * The secretId for the clusterAdminPassword. */ secretId?: pulumi.Input; /** * The state of the NodeReplaceConfiguration. */ state?: pulumi.Input; /** * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a BdsInstanceNodeReplaceConfiguration resource. */ export interface BdsInstanceNodeReplaceConfigurationArgs { /** * The OCID of the cluster. */ bdsInstanceId: pulumi.Input; /** * Base-64 encoded password for the cluster admin user. */ clusterAdminPassword?: pulumi.Input; /** * (Updatable) A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) This value is the minimum period of time to wait before triggering node replacement. The value is in minutes. */ durationInMinutes: pulumi.Input; /** * (Updatable) Details of the type of level used to trigger the creation of a new node backup configuration or node replacement configuration. */ levelTypeDetails: pulumi.Input; /** * (Updatable) Type of compute instance health metric to use for node replacement */ metricType: pulumi.Input; /** * The secretId for the clusterAdminPassword. */ secretId?: pulumi.Input; } //# sourceMappingURL=bdsInstanceNodeReplaceConfiguration.d.ts.map