Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.BigDataService.getBdsInstanceGetOsPatch
Explore with Pulumi AI
This data source provides the list of Bds Instance Get Os Patch in Oracle Cloud Infrastructure Big Data Service service.
Get the details of an os patch
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBdsInstanceGetOsPatch = oci.BigDataService.getBdsInstanceGetOsPatch({
    bdsInstanceId: testBdsInstance.id,
    osPatchVersion: bdsInstanceGetOsPatchOsPatchVersion,
});
import pulumi
import pulumi_oci as oci
test_bds_instance_get_os_patch = oci.BigDataService.get_bds_instance_get_os_patch(bds_instance_id=test_bds_instance["id"],
    os_patch_version=bds_instance_get_os_patch_os_patch_version)
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.GetBdsInstanceGetOsPatch(ctx, &bigdataservice.GetBdsInstanceGetOsPatchArgs{
			BdsInstanceId:  testBdsInstance.Id,
			OsPatchVersion: bdsInstanceGetOsPatchOsPatchVersion,
		}, 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 testBdsInstanceGetOsPatch = Oci.BigDataService.GetBdsInstanceGetOsPatch.Invoke(new()
    {
        BdsInstanceId = testBdsInstance.Id,
        OsPatchVersion = bdsInstanceGetOsPatchOsPatchVersion,
    });
});
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.GetBdsInstanceGetOsPatchArgs;
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 testBdsInstanceGetOsPatch = BigDataServiceFunctions.getBdsInstanceGetOsPatch(GetBdsInstanceGetOsPatchArgs.builder()
            .bdsInstanceId(testBdsInstance.id())
            .osPatchVersion(bdsInstanceGetOsPatchOsPatchVersion)
            .build());
    }
}
variables:
  testBdsInstanceGetOsPatch:
    fn::invoke:
      function: oci:BigDataService:getBdsInstanceGetOsPatch
      arguments:
        bdsInstanceId: ${testBdsInstance.id}
        osPatchVersion: ${bdsInstanceGetOsPatchOsPatchVersion}
Using getBdsInstanceGetOsPatch
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 getBdsInstanceGetOsPatch(args: GetBdsInstanceGetOsPatchArgs, opts?: InvokeOptions): Promise<GetBdsInstanceGetOsPatchResult>
function getBdsInstanceGetOsPatchOutput(args: GetBdsInstanceGetOsPatchOutputArgs, opts?: InvokeOptions): Output<GetBdsInstanceGetOsPatchResult>def get_bds_instance_get_os_patch(bds_instance_id: Optional[str] = None,
                                  filters: Optional[Sequence[GetBdsInstanceGetOsPatchFilter]] = None,
                                  os_patch_version: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetBdsInstanceGetOsPatchResult
def get_bds_instance_get_os_patch_output(bds_instance_id: Optional[pulumi.Input[str]] = None,
                                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetBdsInstanceGetOsPatchFilterArgs]]]] = None,
                                  os_patch_version: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstanceGetOsPatchResult]func GetBdsInstanceGetOsPatch(ctx *Context, args *GetBdsInstanceGetOsPatchArgs, opts ...InvokeOption) (*GetBdsInstanceGetOsPatchResult, error)
func GetBdsInstanceGetOsPatchOutput(ctx *Context, args *GetBdsInstanceGetOsPatchOutputArgs, opts ...InvokeOption) GetBdsInstanceGetOsPatchResultOutput> Note: This function is named GetBdsInstanceGetOsPatch in the Go SDK.
public static class GetBdsInstanceGetOsPatch 
{
    public static Task<GetBdsInstanceGetOsPatchResult> InvokeAsync(GetBdsInstanceGetOsPatchArgs args, InvokeOptions? opts = null)
    public static Output<GetBdsInstanceGetOsPatchResult> Invoke(GetBdsInstanceGetOsPatchInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBdsInstanceGetOsPatchResult> getBdsInstanceGetOsPatch(GetBdsInstanceGetOsPatchArgs args, InvokeOptions options)
public static Output<GetBdsInstanceGetOsPatchResult> getBdsInstanceGetOsPatch(GetBdsInstanceGetOsPatchArgs args, InvokeOptions options)
fn::invoke:
  function: oci:BigDataService/getBdsInstanceGetOsPatch:getBdsInstanceGetOsPatch
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BdsInstance stringId 
- The OCID of the cluster.
- OsPatch stringVersion 
- The version of the OS patch.
- Filters
List<GetBds Instance Get Os Patch Filter> 
- BdsInstance stringId 
- The OCID of the cluster.
- OsPatch stringVersion 
- The version of the OS patch.
- Filters
[]GetBds Instance Get Os Patch Filter 
- bdsInstance StringId 
- The OCID of the cluster.
- osPatch StringVersion 
- The version of the OS patch.
- filters
List<GetBds Instance Get Os Patch Filter> 
- bdsInstance stringId 
- The OCID of the cluster.
- osPatch stringVersion 
- The version of the OS patch.
- filters
GetBds Instance Get Os Patch Filter[] 
- bds_instance_ strid 
- The OCID of the cluster.
- os_patch_ strversion 
- The version of the OS patch.
- filters
Sequence[GetBds Instance Get Os Patch Filter] 
- bdsInstance StringId 
- The OCID of the cluster.
- osPatch StringVersion 
- The version of the OS patch.
- filters List<Property Map>
getBdsInstanceGetOsPatch Result
The following output properties are available:
- BdsInstance stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- MinBds stringVersion 
- Minimum BDS version required to install current OS patch.
- MinCompatible Dictionary<string, string>Odh Version Map 
- Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
- OsPatch stringVersion 
- Version of the os patch.
- PatchType string
- Type of a specific os patch. REGULAR means standard released os patches. CUSTOM means os patches with some customizations. EMERGENT means os patches with some emergency fixes that should be prioritized.
- ReleaseDate string
- Released date of the OS patch.
- TargetPackages List<GetBds Instance Get Os Patch Target Package> 
- List of summaries of individual target packages.
- Filters
List<GetBds Instance Get Os Patch Filter> 
- BdsInstance stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- MinBds stringVersion 
- Minimum BDS version required to install current OS patch.
- MinCompatible map[string]stringOdh Version Map 
- Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
- OsPatch stringVersion 
- Version of the os patch.
- PatchType string
- Type of a specific os patch. REGULAR means standard released os patches. CUSTOM means os patches with some customizations. EMERGENT means os patches with some emergency fixes that should be prioritized.
- ReleaseDate string
- Released date of the OS patch.
- TargetPackages []GetBds Instance Get Os Patch Target Package 
- List of summaries of individual target packages.
- Filters
[]GetBds Instance Get Os Patch Filter 
- bdsInstance StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- minBds StringVersion 
- Minimum BDS version required to install current OS patch.
- minCompatible Map<String,String>Odh Version Map 
- Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
- osPatch StringVersion 
- Version of the os patch.
- patchType String
- Type of a specific os patch. REGULAR means standard released os patches. CUSTOM means os patches with some customizations. EMERGENT means os patches with some emergency fixes that should be prioritized.
- releaseDate String
- Released date of the OS patch.
- targetPackages List<GetBds Instance Get Os Patch Target Package> 
- List of summaries of individual target packages.
- filters
List<GetBds Instance Get Os Patch Filter> 
- bdsInstance stringId 
- id string
- The provider-assigned unique ID for this managed resource.
- minBds stringVersion 
- Minimum BDS version required to install current OS patch.
- minCompatible {[key: string]: string}Odh Version Map 
- Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
- osPatch stringVersion 
- Version of the os patch.
- patchType string
- Type of a specific os patch. REGULAR means standard released os patches. CUSTOM means os patches with some customizations. EMERGENT means os patches with some emergency fixes that should be prioritized.
- releaseDate string
- Released date of the OS patch.
- targetPackages GetBds Instance Get Os Patch Target Package[] 
- List of summaries of individual target packages.
- filters
GetBds Instance Get Os Patch Filter[] 
- bds_instance_ strid 
- id str
- The provider-assigned unique ID for this managed resource.
- min_bds_ strversion 
- Minimum BDS version required to install current OS patch.
- min_compatible_ Mapping[str, str]odh_ version_ map 
- Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
- os_patch_ strversion 
- Version of the os patch.
- patch_type str
- Type of a specific os patch. REGULAR means standard released os patches. CUSTOM means os patches with some customizations. EMERGENT means os patches with some emergency fixes that should be prioritized.
- release_date str
- Released date of the OS patch.
- target_packages Sequence[GetBds Instance Get Os Patch Target Package] 
- List of summaries of individual target packages.
- filters
Sequence[GetBds Instance Get Os Patch Filter] 
- bdsInstance StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- minBds StringVersion 
- Minimum BDS version required to install current OS patch.
- minCompatible Map<String>Odh Version Map 
- Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
- osPatch StringVersion 
- Version of the os patch.
- patchType String
- Type of a specific os patch. REGULAR means standard released os patches. CUSTOM means os patches with some customizations. EMERGENT means os patches with some emergency fixes that should be prioritized.
- releaseDate String
- Released date of the OS patch.
- targetPackages List<Property Map>
- List of summaries of individual target packages.
- filters List<Property Map>
Supporting Types
GetBdsInstanceGetOsPatchFilter      
GetBdsInstanceGetOsPatchTargetPackage       
- PackageName string
- The package's name.
- List<string>
- Related CVEs of the package update.
- TargetVersion string
- The target version of the package.
- UpdateType string
- The action that current package will be executed on the cluster.
- PackageName string
- The package's name.
- []string
- Related CVEs of the package update.
- TargetVersion string
- The target version of the package.
- UpdateType string
- The action that current package will be executed on the cluster.
- packageName String
- The package's name.
- List<String>
- Related CVEs of the package update.
- targetVersion String
- The target version of the package.
- updateType String
- The action that current package will be executed on the cluster.
- packageName string
- The package's name.
- string[]
- Related CVEs of the package update.
- targetVersion string
- The target version of the package.
- updateType string
- The action that current package will be executed on the cluster.
- package_name str
- The package's name.
- Sequence[str]
- Related CVEs of the package update.
- target_version str
- The target version of the package.
- update_type str
- The action that current package will be executed on the cluster.
- packageName String
- The package's name.
- List<String>
- Related CVEs of the package update.
- targetVersion String
- The target version of the package.
- updateType String
- The action that current package will be executed on the cluster.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.