1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. getBdsInstanceListOsPatches
Oracle Cloud Infrastructure v2.19.0 published on Thursday, Dec 12, 2024 by Pulumi

oci.BigDataService.getBdsInstanceListOsPatches

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.19.0 published on Thursday, Dec 12, 2024 by Pulumi

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

    List all available os patches for a given cluster

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBdsInstanceListOsPatches = oci.BigDataService.getBdsInstanceListOsPatches({
        bdsInstanceId: testBdsInstance.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_bds_instance_list_os_patches = oci.BigDataService.get_bds_instance_list_os_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.GetBdsInstanceListOsPatches(ctx, &bigdataservice.GetBdsInstanceListOsPatchesArgs{
    			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 testBdsInstanceListOsPatches = Oci.BigDataService.GetBdsInstanceListOsPatches.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.GetBdsInstanceListOsPatchesArgs;
    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 testBdsInstanceListOsPatches = BigDataServiceFunctions.getBdsInstanceListOsPatches(GetBdsInstanceListOsPatchesArgs.builder()
                .bdsInstanceId(testBdsInstance.id())
                .build());
    
        }
    }
    
    variables:
      testBdsInstanceListOsPatches:
        fn::invoke:
          function: oci:BigDataService:getBdsInstanceListOsPatches
          arguments:
            bdsInstanceId: ${testBdsInstance.id}
    

    Using getBdsInstanceListOsPatches

    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 getBdsInstanceListOsPatches(args: GetBdsInstanceListOsPatchesArgs, opts?: InvokeOptions): Promise<GetBdsInstanceListOsPatchesResult>
    function getBdsInstanceListOsPatchesOutput(args: GetBdsInstanceListOsPatchesOutputArgs, opts?: InvokeOptions): Output<GetBdsInstanceListOsPatchesResult>
    def get_bds_instance_list_os_patches(bds_instance_id: Optional[str] = None,
                                         filters: Optional[Sequence[_bigdataservice.GetBdsInstanceListOsPatchesFilter]] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetBdsInstanceListOsPatchesResult
    def get_bds_instance_list_os_patches_output(bds_instance_id: Optional[pulumi.Input[str]] = None,
                                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[_bigdataservice.GetBdsInstanceListOsPatchesFilterArgs]]]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstanceListOsPatchesResult]
    func GetBdsInstanceListOsPatches(ctx *Context, args *GetBdsInstanceListOsPatchesArgs, opts ...InvokeOption) (*GetBdsInstanceListOsPatchesResult, error)
    func GetBdsInstanceListOsPatchesOutput(ctx *Context, args *GetBdsInstanceListOsPatchesOutputArgs, opts ...InvokeOption) GetBdsInstanceListOsPatchesResultOutput

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

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

    The following arguments are supported:

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

    getBdsInstanceListOsPatches Result

    The following output properties are available:

    BdsInstanceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    OsPatches List<GetBdsInstanceListOsPatchesOsPatch>
    The list of os_patches.
    Filters List<GetBdsInstanceListOsPatchesFilter>
    BdsInstanceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    OsPatches []GetBdsInstanceListOsPatchesOsPatch
    The list of os_patches.
    Filters []GetBdsInstanceListOsPatchesFilter
    bdsInstanceId String
    id String
    The provider-assigned unique ID for this managed resource.
    osPatches List<GetBdsInstanceListOsPatchesOsPatch>
    The list of os_patches.
    filters List<GetBdsInstanceListOsPatchesFilter>
    bdsInstanceId string
    id string
    The provider-assigned unique ID for this managed resource.
    osPatches GetBdsInstanceListOsPatchesOsPatch[]
    The list of os_patches.
    filters GetBdsInstanceListOsPatchesFilter[]
    bdsInstanceId String
    id String
    The provider-assigned unique ID for this managed resource.
    osPatches List<Property Map>
    The list of os_patches.
    filters List<Property Map>

    Supporting Types

    GetBdsInstanceListOsPatchesFilter

    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

    GetBdsInstanceListOsPatchesOsPatch

    BdsInstanceId string
    The OCID of the cluster.
    OsPatchVersion string
    Patch version of the os patch.
    ReleaseDate string
    The time when the OS patch was released.
    BdsInstanceId string
    The OCID of the cluster.
    OsPatchVersion string
    Patch version of the os patch.
    ReleaseDate string
    The time when the OS patch was released.
    bdsInstanceId String
    The OCID of the cluster.
    osPatchVersion String
    Patch version of the os patch.
    releaseDate String
    The time when the OS patch was released.
    bdsInstanceId string
    The OCID of the cluster.
    osPatchVersion string
    Patch version of the os patch.
    releaseDate string
    The time when the OS patch was released.
    bds_instance_id str
    The OCID of the cluster.
    os_patch_version str
    Patch version of the os patch.
    release_date str
    The time when the OS patch was released.
    bdsInstanceId String
    The OCID of the cluster.
    osPatchVersion String
    Patch version of the os patch.
    releaseDate String
    The time when the OS patch was released.

    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.19.0 published on Thursday, Dec 12, 2024 by Pulumi