Oracle Cloud Infrastructure v2.20.0 published on Saturday, Dec 21, 2024 by Pulumi
oci.BigDataService.getBdsClusterVersions
Explore with Pulumi AI
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:
- Bds
Cluster List<GetVersions Bds Cluster Versions Bds Cluster Version> - The list of bds_cluster_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Bds Cluster Versions Filter>
- Bds
Cluster []GetVersions Bds Cluster Versions Bds Cluster Version - The list of bds_cluster_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Bds Cluster Versions Filter
- bds
Cluster List<GetVersions Bds Cluster Versions Bds Cluster Version> - The list of bds_cluster_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Bds Cluster Versions Filter>
- bds
Cluster GetVersions Bds Cluster Versions Bds Cluster Version[] - The list of bds_cluster_versions.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Bds Cluster Versions Filter[]
- bds_
cluster_ Sequence[bigdataservice.versions Get Bds Cluster Versions Bds Cluster Version] - The list of bds_cluster_versions.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[bigdataservice.
Get Bds Cluster Versions Filter]
- bds
Cluster List<Property Map>Versions - The list of bds_cluster_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetBdsClusterVersionsBdsClusterVersion
- Bds
Version string - BDS version to be used for cluster creation
- Odh
Version string - ODH version to be used for cluster creation
- Bds
Version string - BDS version to be used for cluster creation
- Odh
Version string - ODH version to be used for cluster creation
- bds
Version String - BDS version to be used for cluster creation
- odh
Version String - ODH version to be used for cluster creation
- bds
Version string - BDS version to be used for cluster creation
- odh
Version 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
- bds
Version String - BDS version to be used for cluster creation
- odh
Version String - ODH version to be used for cluster creation
GetBdsClusterVersionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.