1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. getBdsClusterVersions
Oracle Cloud Infrastructure v2.20.0 published on Saturday, Dec 21, 2024 by Pulumi

oci.BigDataService.getBdsClusterVersions

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.20.0 published on Saturday, Dec 21, 2024 by Pulumi

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

    Returns a list of cluster versions with associated odh and bds versions.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBdsClusterVersions = oci.BigDataService.getBdsClusterVersions({});
    
    import pulumi
    import pulumi_oci as oci
    
    test_bds_cluster_versions = oci.BigDataService.get_bds_cluster_versions()
    
    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.GetBdsClusterVersions(ctx, &bigdataservice.GetBdsClusterVersionsArgs{}, 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 testBdsClusterVersions = Oci.BigDataService.GetBdsClusterVersions.Invoke();
    
    });
    
    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.GetBdsClusterVersionsArgs;
    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 testBdsClusterVersions = BigDataServiceFunctions.getBdsClusterVersions();
    
        }
    }
    
    variables:
      testBdsClusterVersions:
        fn::invoke:
          function: oci:BigDataService:getBdsClusterVersions
          arguments: {}
    

    Using getBdsClusterVersions

    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 getBdsClusterVersions(args: GetBdsClusterVersionsArgs, opts?: InvokeOptions): Promise<GetBdsClusterVersionsResult>
    function getBdsClusterVersionsOutput(args: GetBdsClusterVersionsOutputArgs, opts?: InvokeOptions): Output<GetBdsClusterVersionsResult>
    def get_bds_cluster_versions(filters: Optional[Sequence[_bigdataservice.GetBdsClusterVersionsFilter]] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetBdsClusterVersionsResult
    def get_bds_cluster_versions_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_bigdataservice.GetBdsClusterVersionsFilterArgs]]]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetBdsClusterVersionsResult]
    func GetBdsClusterVersions(ctx *Context, args *GetBdsClusterVersionsArgs, opts ...InvokeOption) (*GetBdsClusterVersionsResult, error)
    func GetBdsClusterVersionsOutput(ctx *Context, args *GetBdsClusterVersionsOutputArgs, opts ...InvokeOption) GetBdsClusterVersionsResultOutput

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

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

    The following arguments are supported:

    getBdsClusterVersions Result

    The following output properties are available:

    BdsClusterVersions List<GetBdsClusterVersionsBdsClusterVersion>
    The list of bds_cluster_versions.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetBdsClusterVersionsFilter>
    BdsClusterVersions []GetBdsClusterVersionsBdsClusterVersion
    The list of bds_cluster_versions.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetBdsClusterVersionsFilter
    bdsClusterVersions List<GetBdsClusterVersionsBdsClusterVersion>
    The list of bds_cluster_versions.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetBdsClusterVersionsFilter>
    bdsClusterVersions GetBdsClusterVersionsBdsClusterVersion[]
    The list of bds_cluster_versions.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetBdsClusterVersionsFilter[]
    bds_cluster_versions Sequence[bigdataservice.GetBdsClusterVersionsBdsClusterVersion]
    The list of bds_cluster_versions.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[bigdataservice.GetBdsClusterVersionsFilter]
    bdsClusterVersions List<Property Map>
    The list of bds_cluster_versions.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>

    Supporting Types

    GetBdsClusterVersionsBdsClusterVersion

    BdsVersion string
    BDS version to be used for cluster creation
    OdhVersion string
    ODH version to be used for cluster creation
    BdsVersion string
    BDS version to be used for cluster creation
    OdhVersion string
    ODH version to be used for cluster creation
    bdsVersion String
    BDS version to be used for cluster creation
    odhVersion String
    ODH version to be used for cluster creation
    bdsVersion string
    BDS version to be used for cluster creation
    odhVersion string
    ODH version to be used for cluster creation
    bds_version str
    BDS version to be used for cluster creation
    odh_version str
    ODH version to be used for cluster creation
    bdsVersion String
    BDS version to be used for cluster creation
    odhVersion String
    ODH version to be used for cluster creation

    GetBdsClusterVersionsFilter

    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

    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.20.0 published on Saturday, Dec 21, 2024 by Pulumi