import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Bds Instance OS Patch Action resource in Oracle Cloud Infrastructure Big Data Service service. * * Install the specified OS patch to this cluster nodes. * * Api doc link for the resource: https://docs.oracle.com/en-us/iaas/api/#/en/bigdata/20190531/BdsInstance/InstallOsPatch * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/big_data_service/GetOsPatch * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstanceOsPatchAction = new oci.bigdataservice.BdsInstanceOsPatchAction("test_bds_instance_os_patch_action", { * bdsInstanceId: testBdsInstance.id, * clusterAdminPassword: bdsInstanceOsPatchActionClusterAdminPassword, * osPatchVersion: bdsInstanceOsPatchActionOsPatchVersion, * isDryRun: isDryRun === "true", * patchingConfigs: { * patchingConfigStrategy: bdsInstanceOsPatchActionPatchingConfigStrategy, * batchSize: Number(bdsInstanceOsPatchActionBatchSize), * waitTimeBetweenBatchInSeconds: Number(bdsInstanceOsPatchActionWaitTimeBetweenBatchInSeconds), * toleranceThresholdPerBatch: Number(bdsInstanceOsPatchActionToleranceThresholdPerBatch), * waitTimeBetweenDomainInSeconds: Number(bdsInstanceOsPatchActionWaitTimeBetweenDomainInSeconds), * toleranceThresholdPerDomain: Number(bdsInstanceOsPatchActionToleranceThresholdPerDomain), * }, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class BdsInstanceOsPatchAction extends pulumi.CustomResource { /** * Get an existing BdsInstanceOsPatchAction 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?: BdsInstanceOsPatchActionState, opts?: pulumi.CustomResourceOptions): BdsInstanceOsPatchAction; /** * Returns true if the given object is an instance of BdsInstanceOsPatchAction. 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 BdsInstanceOsPatchAction; /** * The OCID of the cluster. */ readonly bdsInstanceId: pulumi.Output; /** * Base-64 encoded password for the cluster admin user. * * `isDryRun` - (Optional) Perform dry run for the patch and stop without actually patching the cluster. */ readonly clusterAdminPassword: pulumi.Output; readonly isDryRun: pulumi.Output; /** * The version of the OS 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 osPatchVersion: pulumi.Output; /** * Detailed configurations for defining the behavior when installing ODH patches. If not provided, nodes will be patched with down time. */ readonly patchingConfigs: pulumi.Output; /** * Create a BdsInstanceOsPatchAction 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: BdsInstanceOsPatchActionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BdsInstanceOsPatchAction resources. */ export interface BdsInstanceOsPatchActionState { /** * The OCID of the cluster. */ bdsInstanceId?: pulumi.Input; /** * Base-64 encoded password for the cluster admin user. * * `isDryRun` - (Optional) Perform dry run for the patch and stop without actually patching the cluster. */ clusterAdminPassword?: pulumi.Input; isDryRun?: pulumi.Input; /** * The version of the OS 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 */ osPatchVersion?: pulumi.Input; /** * Detailed configurations for defining the behavior when installing ODH patches. If not provided, nodes will be patched with down time. */ patchingConfigs?: pulumi.Input; } /** * The set of arguments for constructing a BdsInstanceOsPatchAction resource. */ export interface BdsInstanceOsPatchActionArgs { /** * The OCID of the cluster. */ bdsInstanceId: pulumi.Input; /** * Base-64 encoded password for the cluster admin user. * * `isDryRun` - (Optional) Perform dry run for the patch and stop without actually patching the cluster. */ clusterAdminPassword: pulumi.Input; isDryRun?: pulumi.Input; /** * The version of the OS 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 */ osPatchVersion: pulumi.Input; /** * Detailed configurations for defining the behavior when installing ODH patches. If not provided, nodes will be patched with down time. */ patchingConfigs?: pulumi.Input; } //# sourceMappingURL=bdsInstanceOsPatchAction.d.ts.map