import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Bds Instance Patch Action resource in Oracle Cloud Infrastructure Big Data Service service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/bigdata/latest/BdsInstancePatchAction * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/big_data_service * * Install the specified patch to this cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstancePatchAction = new oci.bigdataservice.BdsInstancePatchAction("test_bds_instance_patch_action", { * bdsInstanceId: testBdsInstance.id, * version: bdsInstancePatchActionVersion, * clusterAdminPassword: bdsInstancePatchActionClusterAdminPassword, * patchingConfig: { * patchingConfigStrategy: bdsInstancePatchActionPatchingConfigPatchingConfigStrategy, * batchSize: Number(bdsInstancePatchActionPatchingConfigBatchSize), * toleranceThresholdPerBatch: Number(bdsInstancePatchActionPatchingConfigToleranceThresholdPerBatch), * toleranceThresholdPerDomain: Number(bdsInstancePatchActionPatchingConfigToleranceThresholdPerDomain), * waitTimeBetweenBatchInSeconds: Number(bdsInstancePatchActionPatchingConfigWaitTimeBetweenBatchInSeconds), * waitTimeBetweenDomainInSeconds: Number(bdsInstancePatchActionPatchingConfigWaitTimeBetweenDomainInSeconds), * }, * secretId: testSecret.id, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class BdsInstancePatchAction extends pulumi.CustomResource { /** * Get an existing BdsInstancePatchAction 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?: BdsInstancePatchActionState, opts?: pulumi.CustomResourceOptions): BdsInstancePatchAction; /** * Returns true if the given object is an instance of BdsInstancePatchAction. 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 BdsInstancePatchAction; /** * The OCID of the cluster. */ readonly bdsInstanceId: pulumi.Output; /** * Base-64 encoded password for the cluster admin user. */ readonly clusterAdminPassword: pulumi.Output; /** * Detailed configurations for defining the behavior when installing ODH patches. If not provided, nodes will be patched with down time. */ readonly patchingConfig: pulumi.Output; /** * The version of the patch to be installed. * * ** 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 version: pulumi.Output; /** * Create a BdsInstancePatchAction 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: BdsInstancePatchActionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BdsInstancePatchAction resources. */ export interface BdsInstancePatchActionState { /** * The OCID of the cluster. */ bdsInstanceId?: pulumi.Input; /** * Base-64 encoded password for the cluster admin user. */ clusterAdminPassword?: pulumi.Input; /** * Detailed configurations for defining the behavior when installing ODH patches. If not provided, nodes will be patched with down time. */ patchingConfig?: pulumi.Input; /** * The version of the patch to be installed. * * ** 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 */ version?: pulumi.Input; } /** * The set of arguments for constructing a BdsInstancePatchAction resource. */ export interface BdsInstancePatchActionArgs { /** * The OCID of the cluster. */ bdsInstanceId: pulumi.Input; /** * Base-64 encoded password for the cluster admin user. */ clusterAdminPassword: pulumi.Input; /** * Detailed configurations for defining the behavior when installing ODH patches. If not provided, nodes will be patched with down time. */ patchingConfig?: pulumi.Input; /** * The version of the patch to be installed. * * ** 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 */ version: pulumi.Input; } //# sourceMappingURL=bdsInstancePatchAction.d.ts.map