Oracle Cloud Infrastructure v2.19.0 published on Thursday, Dec 12, 2024 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[_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]
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:BigDataService/getBdsInstanceGetOsPatch:getBdsInstanceGetOsPatch
arguments:
# arguments dictionary
The following arguments are supported:
- Bds
Instance stringId - The OCID of the cluster.
- Os
Patch stringVersion - The version of the OS patch.
- Filters
List<Get
Bds Instance Get Os Patch Filter>
- Bds
Instance stringId - The OCID of the cluster.
- Os
Patch stringVersion - The version of the OS patch.
- Filters
[]Get
Bds Instance Get Os Patch Filter
- bds
Instance StringId - The OCID of the cluster.
- os
Patch StringVersion - The version of the OS patch.
- filters
List<Get
Bds Instance Get Os Patch Filter>
- bds
Instance stringId - The OCID of the cluster.
- os
Patch stringVersion - The version of the OS patch.
- filters
Get
Bds Instance Get Os Patch Filter[]
- bds_
instance_ strid - The OCID of the cluster.
- os_
patch_ strversion - The version of the OS patch.
- filters
Sequence[bigdataservice.
Get Bds Instance Get Os Patch Filter]
- bds
Instance StringId - The OCID of the cluster.
- os
Patch StringVersion - The version of the OS patch.
- filters List<Property Map>
getBdsInstanceGetOsPatch Result
The following output properties are available:
- Bds
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Min
Bds stringVersion - Minimum BDS version required to install current OS patch.
- Min
Compatible 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}
- Os
Patch stringVersion - Version of the os patch.
- Patch
Type 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.
- Release
Date string - Released date of the OS patch.
- Target
Packages List<GetBds Instance Get Os Patch Target Package> - List of summaries of individual target packages.
- Filters
List<Get
Bds Instance Get Os Patch Filter>
- Bds
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Min
Bds stringVersion - Minimum BDS version required to install current OS patch.
- Min
Compatible 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}
- Os
Patch stringVersion - Version of the os patch.
- Patch
Type 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.
- Release
Date string - Released date of the OS patch.
- Target
Packages []GetBds Instance Get Os Patch Target Package - List of summaries of individual target packages.
- Filters
[]Get
Bds Instance Get Os Patch Filter
- bds
Instance StringId - id String
- The provider-assigned unique ID for this managed resource.
- min
Bds StringVersion - Minimum BDS version required to install current OS patch.
- min
Compatible 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}
- os
Patch StringVersion - Version of the os patch.
- patch
Type 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.
- release
Date String - Released date of the OS patch.
- target
Packages List<GetBds Instance Get Os Patch Target Package> - List of summaries of individual target packages.
- filters
List<Get
Bds Instance Get Os Patch Filter>
- bds
Instance stringId - id string
- The provider-assigned unique ID for this managed resource.
- min
Bds stringVersion - Minimum BDS version required to install current OS patch.
- min
Compatible {[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}
- os
Patch stringVersion - Version of the os patch.
- patch
Type 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.
- release
Date string - Released date of the OS patch.
- target
Packages GetBds Instance Get Os Patch Target Package[] - List of summaries of individual target packages.
- filters
Get
Bds 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[bigdataservice.Get Bds Instance Get Os Patch Target Package] - List of summaries of individual target packages.
- filters
Sequence[bigdataservice.
Get Bds Instance Get Os Patch Filter]
- bds
Instance StringId - id String
- The provider-assigned unique ID for this managed resource.
- min
Bds StringVersion - Minimum BDS version required to install current OS patch.
- min
Compatible 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}
- os
Patch StringVersion - Version of the os patch.
- patch
Type 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.
- release
Date String - Released date of the OS patch.
- target
Packages List<Property Map> - List of summaries of individual target packages.
- filters List<Property Map>
Supporting Types
GetBdsInstanceGetOsPatchFilter
GetBdsInstanceGetOsPatchTargetPackage
- Package
Name string - The package's name.
- List<string>
- Related CVEs of the package update.
- Target
Version string - The target version of the package.
- Update
Type string - The action that current package will be executed on the cluster.
- Package
Name string - The package's name.
- []string
- Related CVEs of the package update.
- Target
Version string - The target version of the package.
- Update
Type string - The action that current package will be executed on the cluster.
- package
Name String - The package's name.
- List<String>
- Related CVEs of the package update.
- target
Version String - The target version of the package.
- update
Type String - The action that current package will be executed on the cluster.
- package
Name string - The package's name.
- string[]
- Related CVEs of the package update.
- target
Version string - The target version of the package.
- update
Type 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.
- package
Name String - The package's name.
- List<String>
- Related CVEs of the package update.
- target
Version String - The target version of the package.
- update
Type 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.