Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.BigDataService.getBdsInstancePatches
Explore with Pulumi AI
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:
- Bds
Instance stringId - The OCID of the cluster.
- Filters
List<Get
Bds Instance Patches Filter>
- Bds
Instance stringId - The OCID of the cluster.
- Filters
[]Get
Bds Instance Patches Filter
- bds
Instance StringId - The OCID of the cluster.
- filters
List<Get
Bds Instance Patches Filter>
- bds
Instance stringId - The OCID of the cluster.
- filters
Get
Bds Instance Patches Filter[]
- bds_
instance_ strid - The OCID of the cluster.
- filters
Sequence[bigdataservice.
Get Bds Instance Patches Filter]
- bds
Instance StringId - The OCID of the cluster.
- filters List<Property Map>
getBdsInstancePatches Result
The following output properties are available:
- Bds
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Patches
List<Get
Bds Instance Patches Patch> - The list of patches.
- Filters
List<Get
Bds Instance Patches Filter>
- Bds
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Patches
[]Get
Bds Instance Patches Patch - The list of patches.
- Filters
[]Get
Bds Instance Patches Filter
- bds
Instance StringId - id String
- The provider-assigned unique ID for this managed resource.
- patches
List<Get
Bds Instance Patches Patch> - The list of patches.
- filters
List<Get
Bds Instance Patches Filter>
- bds
Instance stringId - id string
- The provider-assigned unique ID for this managed resource.
- patches
Get
Bds Instance Patches Patch[] - The list of patches.
- filters
Get
Bds Instance Patches Filter[]
- bds_
instance_ strid - id str
- The provider-assigned unique ID for this managed resource.
- patches
Sequence[bigdataservice.
Get Bds Instance Patches Patch] - The list of patches.
- filters
Sequence[bigdataservice.
Get Bds Instance Patches Filter]
- bds
Instance StringId - 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
GetBdsInstancePatchesPatch
- Time
Released string - The time when the patch was released.
- Version string
- The version of the patch.
- Time
Released string - The time when the patch was released.
- Version string
- The version of the patch.
- time
Released String - The time when the patch was released.
- version String
- The version of the patch.
- time
Released 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.
- time
Released 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.