1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. BdsInstancePatchAction
Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi

oci.BigDataService.BdsInstancePatchAction

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi

    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

    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,
        clusterAdminPassword: bdsInstancePatchActionClusterAdminPassword,
        version: bdsInstancePatchActionVersion,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_bds_instance_patch_action = oci.big_data_service.BdsInstancePatchAction("test_bds_instance_patch_action",
        bds_instance_id=test_bds_instance["id"],
        cluster_admin_password=bds_instance_patch_action_cluster_admin_password,
        version=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, "test_bds_instance_patch_action", &BigDataService.BdsInstancePatchActionArgs{
    			BdsInstanceId:        pulumi.Any(testBdsInstance.Id),
    			ClusterAdminPassword: pulumi.Any(bdsInstancePatchActionClusterAdminPassword),
    			Version:              pulumi.Any(bdsInstancePatchActionVersion),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testBdsInstancePatchAction = new Oci.BigDataService.BdsInstancePatchAction("test_bds_instance_patch_action", new()
        {
            BdsInstanceId = testBdsInstance.Id,
            ClusterAdminPassword = bdsInstancePatchActionClusterAdminPassword,
            Version = bdsInstancePatchActionVersion,
        });
    
    });
    
    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(testBdsInstance.id())
                .clusterAdminPassword(bdsInstancePatchActionClusterAdminPassword)
                .version(bdsInstancePatchActionVersion)
                .build());
    
        }
    }
    
    resources:
      testBdsInstancePatchAction:
        type: oci:BigDataService:BdsInstancePatchAction
        name: test_bds_instance_patch_action
        properties:
          bdsInstanceId: ${testBdsInstance.id}
          clusterAdminPassword: ${bdsInstancePatchActionClusterAdminPassword}
          version: ${bdsInstancePatchActionVersion}
    

    Create BdsInstancePatchAction Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BdsInstancePatchAction(name: string, args: BdsInstancePatchActionArgs, opts?: CustomResourceOptions);
    @overload
    def BdsInstancePatchAction(resource_name: str,
                               args: BdsInstancePatchActionArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @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)
    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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var bdsInstancePatchActionResource = new Oci.BigDataService.BdsInstancePatchAction("bdsInstancePatchActionResource", new()
    {
        BdsInstanceId = "string",
        ClusterAdminPassword = "string",
        Version = "string",
    });
    
    example, err := BigDataService.NewBdsInstancePatchAction(ctx, "bdsInstancePatchActionResource", &BigDataService.BdsInstancePatchActionArgs{
    	BdsInstanceId:        pulumi.String("string"),
    	ClusterAdminPassword: pulumi.String("string"),
    	Version:              pulumi.String("string"),
    })
    
    var bdsInstancePatchActionResource = new BdsInstancePatchAction("bdsInstancePatchActionResource", BdsInstancePatchActionArgs.builder()
        .bdsInstanceId("string")
        .clusterAdminPassword("string")
        .version("string")
        .build());
    
    bds_instance_patch_action_resource = oci.big_data_service.BdsInstancePatchAction("bdsInstancePatchActionResource",
        bds_instance_id="string",
        cluster_admin_password="string",
        version="string")
    
    const bdsInstancePatchActionResource = new oci.bigdataservice.BdsInstancePatchAction("bdsInstancePatchActionResource", {
        bdsInstanceId: "string",
        clusterAdminPassword: "string",
        version: "string",
    });
    
    type: oci:BigDataService:BdsInstancePatchAction
    properties:
        bdsInstanceId: string
        clusterAdminPassword: string
        version: string
    

    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.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi