1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. getBdsInstancePatches
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.BigDataService.getBdsInstancePatches

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides the list of Bds Instance Patches in Oracle Cloud Infrastructure Big Data Service service.

    List all the available patches for this cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBdsInstancePatches = oci.BigDataService.getBdsInstancePatches({
        bdsInstanceId: testBdsInstance.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_bds_instance_patches = oci.BigDataService.get_bds_instance_patches(bds_instance_id=test_bds_instance["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/BigDataService"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := BigDataService.GetBdsInstancePatches(ctx, &bigdataservice.GetBdsInstancePatchesArgs{
    			BdsInstanceId: testBdsInstance.Id,
    		}, nil)
    		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 testBdsInstancePatches = Oci.BigDataService.GetBdsInstancePatches.Invoke(new()
        {
            BdsInstanceId = testBdsInstance.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.BigDataService.BigDataServiceFunctions;
    import com.pulumi.oci.BigDataService.inputs.GetBdsInstancePatchesArgs;
    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) {
            final var testBdsInstancePatches = BigDataServiceFunctions.getBdsInstancePatches(GetBdsInstancePatchesArgs.builder()
                .bdsInstanceId(testBdsInstance.id())
                .build());
    
        }
    }
    
    variables:
      testBdsInstancePatches:
        fn::invoke:
          Function: oci:BigDataService:getBdsInstancePatches
          Arguments:
            bdsInstanceId: ${testBdsInstance.id}
    

    Using getBdsInstancePatches

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getBdsInstancePatches(args: GetBdsInstancePatchesArgs, opts?: InvokeOptions): Promise<GetBdsInstancePatchesResult>
    function getBdsInstancePatchesOutput(args: GetBdsInstancePatchesOutputArgs, opts?: InvokeOptions): Output<GetBdsInstancePatchesResult>
    def get_bds_instance_patches(bds_instance_id: Optional[str] = None,
                                 filters: Optional[Sequence[_bigdataservice.GetBdsInstancePatchesFilter]] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetBdsInstancePatchesResult
    def get_bds_instance_patches_output(bds_instance_id: Optional[pulumi.Input[str]] = None,
                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[_bigdataservice.GetBdsInstancePatchesFilterArgs]]]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstancePatchesResult]
    func GetBdsInstancePatches(ctx *Context, args *GetBdsInstancePatchesArgs, opts ...InvokeOption) (*GetBdsInstancePatchesResult, error)
    func GetBdsInstancePatchesOutput(ctx *Context, args *GetBdsInstancePatchesOutputArgs, opts ...InvokeOption) GetBdsInstancePatchesResultOutput

    > Note: This function is named GetBdsInstancePatches in the Go SDK.

    public static class GetBdsInstancePatches 
    {
        public static Task<GetBdsInstancePatchesResult> InvokeAsync(GetBdsInstancePatchesArgs args, InvokeOptions? opts = null)
        public static Output<GetBdsInstancePatchesResult> Invoke(GetBdsInstancePatchesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBdsInstancePatchesResult> getBdsInstancePatches(GetBdsInstancePatchesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:BigDataService/getBdsInstancePatches:getBdsInstancePatches
      arguments:
        # arguments dictionary

    The following arguments are supported:

    bdsInstanceId String
    The OCID of the cluster.
    filters List<Property Map>

    getBdsInstancePatches Result

    The following output properties are available:

    BdsInstanceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Patches List<GetBdsInstancePatchesPatch>
    The list of patches.
    Filters List<GetBdsInstancePatchesFilter>
    BdsInstanceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Patches []GetBdsInstancePatchesPatch
    The list of patches.
    Filters []GetBdsInstancePatchesFilter
    bdsInstanceId String
    id String
    The provider-assigned unique ID for this managed resource.
    patches List<GetBdsInstancePatchesPatch>
    The list of patches.
    filters List<GetBdsInstancePatchesFilter>
    bdsInstanceId string
    id string
    The provider-assigned unique ID for this managed resource.
    patches GetBdsInstancePatchesPatch[]
    The list of patches.
    filters GetBdsInstancePatchesFilter[]
    bdsInstanceId String
    id String
    The provider-assigned unique ID for this managed resource.
    patches List<Property Map>
    The list of patches.
    filters List<Property Map>

    Supporting Types

    GetBdsInstancePatchesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetBdsInstancePatchesPatch

    TimeReleased string
    The time when the patch was released.
    Version string
    The version of the patch.
    TimeReleased string
    The time when the patch was released.
    Version string
    The version of the patch.
    timeReleased String
    The time when the patch was released.
    version String
    The version of the patch.
    timeReleased string
    The time when the patch was released.
    version string
    The version of the patch.
    time_released str
    The time when the patch was released.
    version str
    The version of the patch.
    timeReleased String
    The time when the patch was released.
    version String
    The version of the patch.

    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi