1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. getBdsInstanceGetOsPatch
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.BigDataService.getBdsInstanceGetOsPatch

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

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,
});
Copy
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)
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.GetBdsInstanceGetOsPatch(ctx, &bigdataservice.GetBdsInstanceGetOsPatchArgs{
			BdsInstanceId:  testBdsInstance.Id,
			OsPatchVersion: bdsInstanceGetOsPatchOsPatchVersion,
		}, 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 testBdsInstanceGetOsPatch = Oci.BigDataService.GetBdsInstanceGetOsPatch.Invoke(new()
    {
        BdsInstanceId = testBdsInstance.Id,
        OsPatchVersion = bdsInstanceGetOsPatchOsPatchVersion,
    });

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

    }
}
Copy
variables:
  testBdsInstanceGetOsPatch:
    fn::invoke:
      function: oci:BigDataService:getBdsInstanceGetOsPatch
      arguments:
        bdsInstanceId: ${testBdsInstance.id}
        osPatchVersion: ${bdsInstanceGetOsPatchOsPatchVersion}
Copy

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>
Copy
def get_bds_instance_get_os_patch(bds_instance_id: Optional[str] = None,
                                  filters: Optional[Sequence[_bigdataservice.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[_bigdataservice.GetBdsInstanceGetOsPatchFilterArgs]]]] = None,
                                  os_patch_version: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstanceGetOsPatchResult]
Copy
func GetBdsInstanceGetOsPatch(ctx *Context, args *GetBdsInstanceGetOsPatchArgs, opts ...InvokeOption) (*GetBdsInstanceGetOsPatchResult, error)
func GetBdsInstanceGetOsPatchOutput(ctx *Context, args *GetBdsInstanceGetOsPatchOutputArgs, opts ...InvokeOption) GetBdsInstanceGetOsPatchResultOutput
Copy

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

The following arguments are supported:

BdsInstanceId This property is required. string
The OCID of the cluster.
OsPatchVersion This property is required. string
The version of the OS patch.
Filters Changes to this property will trigger replacement. List<GetBdsInstanceGetOsPatchFilter>
BdsInstanceId This property is required. string
The OCID of the cluster.
OsPatchVersion This property is required. string
The version of the OS patch.
Filters Changes to this property will trigger replacement. []GetBdsInstanceGetOsPatchFilter
bdsInstanceId This property is required. String
The OCID of the cluster.
osPatchVersion This property is required. String
The version of the OS patch.
filters Changes to this property will trigger replacement. List<GetBdsInstanceGetOsPatchFilter>
bdsInstanceId This property is required. string
The OCID of the cluster.
osPatchVersion This property is required. string
The version of the OS patch.
filters Changes to this property will trigger replacement. GetBdsInstanceGetOsPatchFilter[]
bds_instance_id This property is required. str
The OCID of the cluster.
os_patch_version This property is required. str
The version of the OS patch.
filters Changes to this property will trigger replacement. Sequence[bigdataservice.GetBdsInstanceGetOsPatchFilter]
bdsInstanceId This property is required. String
The OCID of the cluster.
osPatchVersion This property is required. String
The version of the OS patch.
filters Changes to this property will trigger replacement. List<Property Map>

getBdsInstanceGetOsPatch Result

The following output properties are available:

BdsInstanceId string
Id string
The provider-assigned unique ID for this managed resource.
MinBdsVersion string
Minimum BDS version required to install current OS patch.
MinCompatibleOdhVersionMap Dictionary<string, string>
Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
OsPatchVersion string
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<GetBdsInstanceGetOsPatchTargetPackage>
List of summaries of individual target packages.
Filters List<GetBdsInstanceGetOsPatchFilter>
BdsInstanceId string
Id string
The provider-assigned unique ID for this managed resource.
MinBdsVersion string
Minimum BDS version required to install current OS patch.
MinCompatibleOdhVersionMap map[string]string
Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
OsPatchVersion string
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 []GetBdsInstanceGetOsPatchTargetPackage
List of summaries of individual target packages.
Filters []GetBdsInstanceGetOsPatchFilter
bdsInstanceId String
id String
The provider-assigned unique ID for this managed resource.
minBdsVersion String
Minimum BDS version required to install current OS patch.
minCompatibleOdhVersionMap Map<String,String>
Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
osPatchVersion String
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<GetBdsInstanceGetOsPatchTargetPackage>
List of summaries of individual target packages.
filters List<GetBdsInstanceGetOsPatchFilter>
bdsInstanceId string
id string
The provider-assigned unique ID for this managed resource.
minBdsVersion string
Minimum BDS version required to install current OS patch.
minCompatibleOdhVersionMap {[key: string]: string}
Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
osPatchVersion string
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 GetBdsInstanceGetOsPatchTargetPackage[]
List of summaries of individual target packages.
filters GetBdsInstanceGetOsPatchFilter[]
bds_instance_id str
id str
The provider-assigned unique ID for this managed resource.
min_bds_version str
Minimum BDS version required to install current OS patch.
min_compatible_odh_version_map Mapping[str, str]
Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
os_patch_version str
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[bigdataservice.GetBdsInstanceGetOsPatchTargetPackage]
List of summaries of individual target packages.
filters Sequence[bigdataservice.GetBdsInstanceGetOsPatchFilter]
bdsInstanceId String
id String
The provider-assigned unique ID for this managed resource.
minBdsVersion String
Minimum BDS version required to install current OS patch.
minCompatibleOdhVersionMap Map<String>
Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
osPatchVersion String
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

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

GetBdsInstanceGetOsPatchTargetPackage

PackageName This property is required. string
The package's name.
RelatedCvEs This property is required. List<string>
Related CVEs of the package update.
TargetVersion This property is required. string
The target version of the package.
UpdateType This property is required. string
The action that current package will be executed on the cluster.
PackageName This property is required. string
The package's name.
RelatedCvEs This property is required. []string
Related CVEs of the package update.
TargetVersion This property is required. string
The target version of the package.
UpdateType This property is required. string
The action that current package will be executed on the cluster.
packageName This property is required. String
The package's name.
relatedCvEs This property is required. List<String>
Related CVEs of the package update.
targetVersion This property is required. String
The target version of the package.
updateType This property is required. String
The action that current package will be executed on the cluster.
packageName This property is required. string
The package's name.
relatedCvEs This property is required. string[]
Related CVEs of the package update.
targetVersion This property is required. string
The target version of the package.
updateType This property is required. string
The action that current package will be executed on the cluster.
package_name This property is required. str
The package's name.
related_cv_es This property is required. Sequence[str]
Related CVEs of the package update.
target_version This property is required. str
The target version of the package.
update_type This property is required. str
The action that current package will be executed on the cluster.
packageName This property is required. String
The package's name.
relatedCvEs This property is required. List<String>
Related CVEs of the package update.
targetVersion This property is required. String
The target version of the package.
updateType This property is required. 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 oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi