1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. getBdsInstanceGetOsPatch
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.BigDataService.getBdsInstanceGetOsPatch

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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,
    });
    
    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:

    BdsInstanceId string
    The OCID of the cluster.
    OsPatchVersion string
    The version of the OS patch.
    Filters List<GetBdsInstanceGetOsPatchFilter>
    BdsInstanceId string
    The OCID of the cluster.
    OsPatchVersion string
    The version of the OS patch.
    Filters []GetBdsInstanceGetOsPatchFilter
    bdsInstanceId String
    The OCID of the cluster.
    osPatchVersion String
    The version of the OS patch.
    filters List<GetBdsInstanceGetOsPatchFilter>
    bdsInstanceId string
    The OCID of the cluster.
    osPatchVersion string
    The version of the OS patch.
    filters GetBdsInstanceGetOsPatchFilter[]
    bdsInstanceId String
    The OCID of the cluster.
    osPatchVersion String
    The version of the OS patch.
    filters 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 string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetBdsInstanceGetOsPatchTargetPackage

    PackageName string
    The package's name.
    RelatedCvEs 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.
    RelatedCvEs []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.
    relatedCvEs 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.
    relatedCvEs 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.
    related_cv_es 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.
    relatedCvEs 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi