1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. getBdsInstancePatches
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.BigDataService.getBdsInstancePatches

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 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,
});
Copy
import pulumi
import pulumi_oci as oci

test_bds_instance_patches = oci.BigDataService.get_bds_instance_patches(bds_instance_id=test_bds_instance["id"])
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testBdsInstancePatches:
    fn::invoke:
      function: oci:BigDataService:getBdsInstancePatches
      arguments:
        bdsInstanceId: ${testBdsInstance.id}
Copy

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>
Copy
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]
Copy
func GetBdsInstancePatches(ctx *Context, args *GetBdsInstancePatchesArgs, opts ...InvokeOption) (*GetBdsInstancePatchesResult, error)
func GetBdsInstancePatchesOutput(ctx *Context, args *GetBdsInstancePatchesOutputArgs, opts ...InvokeOption) GetBdsInstancePatchesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetBdsInstancePatchesResult> getBdsInstancePatches(GetBdsInstancePatchesArgs args, InvokeOptions options)
public static Output<GetBdsInstancePatchesResult> getBdsInstancePatches(GetBdsInstancePatchesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:BigDataService/getBdsInstancePatches:getBdsInstancePatches
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BdsInstanceId This property is required. string
The OCID of the cluster.
Filters Changes to this property will trigger replacement. List<GetBdsInstancePatchesFilter>
BdsInstanceId This property is required. string
The OCID of the cluster.
Filters Changes to this property will trigger replacement. []GetBdsInstancePatchesFilter
bdsInstanceId This property is required. String
The OCID of the cluster.
filters Changes to this property will trigger replacement. List<GetBdsInstancePatchesFilter>
bdsInstanceId This property is required. string
The OCID of the cluster.
filters Changes to this property will trigger replacement. GetBdsInstancePatchesFilter[]
bds_instance_id This property is required. str
The OCID of the cluster.
filters Changes to this property will trigger replacement. Sequence[bigdataservice.GetBdsInstancePatchesFilter]
bdsInstanceId This property is required. String
The OCID of the cluster.
filters Changes to this property will trigger replacement. 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 This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetBdsInstancePatchesPatch

TimeReleased This property is required. string
The time when the patch was released.
Version This property is required. string
The version of the patch.
TimeReleased This property is required. string
The time when the patch was released.
Version This property is required. string
The version of the patch.
timeReleased This property is required. String
The time when the patch was released.
version This property is required. String
The version of the patch.
timeReleased This property is required. string
The time when the patch was released.
version This property is required. string
The version of the patch.
time_released This property is required. str
The time when the patch was released.
version This property is required. str
The version of the patch.
timeReleased This property is required. String
The time when the patch was released.
version This property is required. 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.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi