oci logo
Oracle Cloud Infrastructure v0.20.0, May 31 23

oci.BigDataService.BdsInstancePatchAction

Explore with Pulumi AI

This resource provides the Bds Instance Patch Action resource in Oracle Cloud Infrastructure Big Data Service service.

Install the specified patch to this cluster.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testBdsInstancePatchAction = new Oci.BigDataService.BdsInstancePatchAction("testBdsInstancePatchAction", new()
    {
        BdsInstanceId = oci_bds_bds_instance.Test_bds_instance.Id,
        ClusterAdminPassword = @var.Bds_instance_patch_action_cluster_admin_password,
        Version = @var.Bds_instance_patch_action_version,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/BigDataService"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := BigDataService.NewBdsInstancePatchAction(ctx, "testBdsInstancePatchAction", &BigDataService.BdsInstancePatchActionArgs{
			BdsInstanceId:        pulumi.Any(oci_bds_bds_instance.Test_bds_instance.Id),
			ClusterAdminPassword: pulumi.Any(_var.Bds_instance_patch_action_cluster_admin_password),
			Version:              pulumi.Any(_var.Bds_instance_patch_action_version),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.BigDataService.BdsInstancePatchAction;
import com.pulumi.oci.BigDataService.BdsInstancePatchActionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var testBdsInstancePatchAction = new BdsInstancePatchAction("testBdsInstancePatchAction", BdsInstancePatchActionArgs.builder()        
            .bdsInstanceId(oci_bds_bds_instance.test_bds_instance().id())
            .clusterAdminPassword(var_.bds_instance_patch_action_cluster_admin_password())
            .version(var_.bds_instance_patch_action_version())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_bds_instance_patch_action = oci.big_data_service.BdsInstancePatchAction("testBdsInstancePatchAction",
    bds_instance_id=oci_bds_bds_instance["test_bds_instance"]["id"],
    cluster_admin_password=var["bds_instance_patch_action_cluster_admin_password"],
    version=var["bds_instance_patch_action_version"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testBdsInstancePatchAction = new oci.bigdataservice.BdsInstancePatchAction("testBdsInstancePatchAction", {
    bdsInstanceId: oci_bds_bds_instance.test_bds_instance.id,
    clusterAdminPassword: _var.bds_instance_patch_action_cluster_admin_password,
    version: _var.bds_instance_patch_action_version,
});
resources:
  testBdsInstancePatchAction:
    type: oci:BigDataService:BdsInstancePatchAction
    properties:
      #Required
      bdsInstanceId: ${oci_bds_bds_instance.test_bds_instance.id}
      clusterAdminPassword: ${var.bds_instance_patch_action_cluster_admin_password}
      version: ${var.bds_instance_patch_action_version}

Create BdsInstancePatchAction Resource

new BdsInstancePatchAction(name: string, args: BdsInstancePatchActionArgs, opts?: CustomResourceOptions);
@overload
def BdsInstancePatchAction(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           bds_instance_id: Optional[str] = None,
                           cluster_admin_password: Optional[str] = None,
                           version: Optional[str] = None)
@overload
def BdsInstancePatchAction(resource_name: str,
                           args: BdsInstancePatchActionArgs,
                           opts: Optional[ResourceOptions] = None)
func NewBdsInstancePatchAction(ctx *Context, name string, args BdsInstancePatchActionArgs, opts ...ResourceOption) (*BdsInstancePatchAction, error)
public BdsInstancePatchAction(string name, BdsInstancePatchActionArgs args, CustomResourceOptions? opts = null)
public BdsInstancePatchAction(String name, BdsInstancePatchActionArgs args)
public BdsInstancePatchAction(String name, BdsInstancePatchActionArgs args, CustomResourceOptions options)
type: oci:BigDataService:BdsInstancePatchAction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BdsInstancePatchActionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args BdsInstancePatchActionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args BdsInstancePatchActionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BdsInstancePatchActionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BdsInstancePatchActionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

BdsInstancePatchAction Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The BdsInstancePatchAction resource accepts the following input properties:

BdsInstanceId string

The OCID of the cluster.

ClusterAdminPassword string

Base-64 encoded password for the cluster admin user.

Version string

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

BdsInstanceId string

The OCID of the cluster.

ClusterAdminPassword string

Base-64 encoded password for the cluster admin user.

Version string

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

bdsInstanceId String

The OCID of the cluster.

clusterAdminPassword String

Base-64 encoded password for the cluster admin user.

version String

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

bdsInstanceId string

The OCID of the cluster.

clusterAdminPassword string

Base-64 encoded password for the cluster admin user.

version string

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

bds_instance_id str

The OCID of the cluster.

cluster_admin_password str

Base-64 encoded password for the cluster admin user.

version str

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

bdsInstanceId String

The OCID of the cluster.

clusterAdminPassword String

Base-64 encoded password for the cluster admin user.

version String

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

Outputs

All input properties are implicitly available as output properties. Additionally, the BdsInstancePatchAction resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing BdsInstancePatchAction Resource

Get an existing BdsInstancePatchAction resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: BdsInstancePatchActionState, opts?: CustomResourceOptions): BdsInstancePatchAction
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bds_instance_id: Optional[str] = None,
        cluster_admin_password: Optional[str] = None,
        version: Optional[str] = None) -> BdsInstancePatchAction
func GetBdsInstancePatchAction(ctx *Context, name string, id IDInput, state *BdsInstancePatchActionState, opts ...ResourceOption) (*BdsInstancePatchAction, error)
public static BdsInstancePatchAction Get(string name, Input<string> id, BdsInstancePatchActionState? state, CustomResourceOptions? opts = null)
public static BdsInstancePatchAction get(String name, Output<String> id, BdsInstancePatchActionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
BdsInstanceId string

The OCID of the cluster.

ClusterAdminPassword string

Base-64 encoded password for the cluster admin user.

Version string

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

BdsInstanceId string

The OCID of the cluster.

ClusterAdminPassword string

Base-64 encoded password for the cluster admin user.

Version string

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

bdsInstanceId String

The OCID of the cluster.

clusterAdminPassword String

Base-64 encoded password for the cluster admin user.

version String

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

bdsInstanceId string

The OCID of the cluster.

clusterAdminPassword string

Base-64 encoded password for the cluster admin user.

version string

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

bds_instance_id str

The OCID of the cluster.

cluster_admin_password str

Base-64 encoded password for the cluster admin user.

version str

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

bdsInstanceId String

The OCID of the cluster.

clusterAdminPassword String

Base-64 encoded password for the cluster admin user.

version String

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

Import

Import is not supported for this resource.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.