Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.BigDataService.getBdsInstanceListOsPatches
Explore with Pulumi AI
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:
- Bds
Instance stringId - The OCID of the cluster.
- Filters
List<Get
Bds Instance List Os Patches Filter>
- Bds
Instance stringId - The OCID of the cluster.
- Filters
[]Get
Bds Instance List Os Patches Filter
- bds
Instance StringId - The OCID of the cluster.
- filters
List<Get
Bds Instance List Os Patches Filter>
- bds
Instance stringId - The OCID of the cluster.
- filters
Get
Bds Instance List Os Patches Filter[]
- bds_
instance_ strid - The OCID of the cluster.
- filters
Sequence[bigdataservice.
Get Bds Instance List Os Patches Filter]
- bds
Instance StringId - The OCID of the cluster.
- filters List<Property Map>
getBdsInstanceListOsPatches Result
The following output properties are available:
- Bds
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Os
Patches List<GetBds Instance List Os Patches Os Patch> - The list of os_patches.
- Filters
List<Get
Bds Instance List Os Patches Filter>
- Bds
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Os
Patches []GetBds Instance List Os Patches Os Patch - The list of os_patches.
- Filters
[]Get
Bds Instance List Os Patches Filter
- bds
Instance StringId - id String
- The provider-assigned unique ID for this managed resource.
- os
Patches List<GetBds Instance List Os Patches Os Patch> - The list of os_patches.
- filters
List<Get
Bds Instance List Os Patches Filter>
- bds
Instance stringId - id string
- The provider-assigned unique ID for this managed resource.
- os
Patches GetBds Instance List Os Patches Os Patch[] - The list of os_patches.
- filters
Get
Bds Instance List Os Patches Filter[]
- bds_
instance_ strid - id str
- The provider-assigned unique ID for this managed resource.
- os_
patches Sequence[bigdataservice.Get Bds Instance List Os Patches Os Patch] - The list of os_patches.
- filters
Sequence[bigdataservice.
Get Bds Instance List Os Patches Filter]
- bds
Instance StringId - id String
- The provider-assigned unique ID for this managed resource.
- os
Patches List<Property Map> - The list of os_patches.
- filters List<Property Map>
Supporting Types
GetBdsInstanceListOsPatchesFilter
GetBdsInstanceListOsPatchesOsPatch
- Bds
Instance stringId - The OCID of the cluster.
- Os
Patch stringVersion - Patch version of the os patch.
- Release
Date string - The time when the OS patch was released.
- Bds
Instance stringId - The OCID of the cluster.
- Os
Patch stringVersion - Patch version of the os patch.
- Release
Date string - The time when the OS patch was released.
- bds
Instance StringId - The OCID of the cluster.
- os
Patch StringVersion - Patch version of the os patch.
- release
Date String - The time when the OS patch was released.
- bds
Instance stringId - The OCID of the cluster.
- os
Patch stringVersion - Patch version of the os patch.
- release
Date string - The time when the OS patch was released.
- bds_
instance_ strid - The OCID of the cluster.
- os_
patch_ strversion - Patch version of the os patch.
- release_
date str - The time when the OS patch was released.
- bds
Instance StringId - The OCID of the cluster.
- os
Patch StringVersion - Patch version of the os patch.
- release
Date 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.