1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getWlmsWlsDomainApplicablePatches
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

oci.oci.getWlmsWlsDomainApplicablePatches

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

    This data source provides the list of Wls Domain Applicable Patches in Oracle Cloud Infrastructure Wlms service.

    Gets the latest patches that can be installed to the WebLogic domains.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testWlsDomainApplicablePatches = oci.oci.getWlmsWlsDomainApplicablePatches({
        wlsDomainId: testWlsDomain.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_wls_domain_applicable_patches = oci.oci.get_wlms_wls_domain_applicable_patches(wls_domain_id=test_wls_domain["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetWlmsWlsDomainApplicablePatches(ctx, &oci.GetWlmsWlsDomainApplicablePatchesArgs{
    			WlsDomainId: testWlsDomain.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 testWlsDomainApplicablePatches = Oci.Oci.GetWlmsWlsDomainApplicablePatches.Invoke(new()
        {
            WlsDomainId = testWlsDomain.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetWlmsWlsDomainApplicablePatchesArgs;
    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 testWlsDomainApplicablePatches = OciFunctions.getWlmsWlsDomainApplicablePatches(GetWlmsWlsDomainApplicablePatchesArgs.builder()
                .wlsDomainId(testWlsDomain.id())
                .build());
    
        }
    }
    
    variables:
      testWlsDomainApplicablePatches:
        fn::invoke:
          function: oci:oci:getWlmsWlsDomainApplicablePatches
          arguments:
            wlsDomainId: ${testWlsDomain.id}
    

    Using getWlmsWlsDomainApplicablePatches

    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 getWlmsWlsDomainApplicablePatches(args: GetWlmsWlsDomainApplicablePatchesArgs, opts?: InvokeOptions): Promise<GetWlmsWlsDomainApplicablePatchesResult>
    function getWlmsWlsDomainApplicablePatchesOutput(args: GetWlmsWlsDomainApplicablePatchesOutputArgs, opts?: InvokeOptions): Output<GetWlmsWlsDomainApplicablePatchesResult>
    def get_wlms_wls_domain_applicable_patches(filters: Optional[Sequence[GetWlmsWlsDomainApplicablePatchesFilter]] = None,
                                               wls_domain_id: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetWlmsWlsDomainApplicablePatchesResult
    def get_wlms_wls_domain_applicable_patches_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsWlsDomainApplicablePatchesFilterArgs]]]] = None,
                                               wls_domain_id: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetWlmsWlsDomainApplicablePatchesResult]
    func GetWlmsWlsDomainApplicablePatches(ctx *Context, args *GetWlmsWlsDomainApplicablePatchesArgs, opts ...InvokeOption) (*GetWlmsWlsDomainApplicablePatchesResult, error)
    func GetWlmsWlsDomainApplicablePatchesOutput(ctx *Context, args *GetWlmsWlsDomainApplicablePatchesOutputArgs, opts ...InvokeOption) GetWlmsWlsDomainApplicablePatchesResultOutput

    > Note: This function is named GetWlmsWlsDomainApplicablePatches in the Go SDK.

    public static class GetWlmsWlsDomainApplicablePatches 
    {
        public static Task<GetWlmsWlsDomainApplicablePatchesResult> InvokeAsync(GetWlmsWlsDomainApplicablePatchesArgs args, InvokeOptions? opts = null)
        public static Output<GetWlmsWlsDomainApplicablePatchesResult> Invoke(GetWlmsWlsDomainApplicablePatchesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlmsWlsDomainApplicablePatchesResult> getWlmsWlsDomainApplicablePatches(GetWlmsWlsDomainApplicablePatchesArgs args, InvokeOptions options)
    public static Output<GetWlmsWlsDomainApplicablePatchesResult> getWlmsWlsDomainApplicablePatches(GetWlmsWlsDomainApplicablePatchesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getWlmsWlsDomainApplicablePatches:getWlmsWlsDomainApplicablePatches
      arguments:
        # arguments dictionary

    The following arguments are supported:

    wlsDomainId String
    The OCID of the WebLogic domain.
    filters List<Property Map>

    getWlmsWlsDomainApplicablePatches Result

    The following output properties are available:

    ApplicablePatchCollections List<GetWlmsWlsDomainApplicablePatchesApplicablePatchCollection>
    The list of applicable_patch_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    WlsDomainId string
    Filters List<GetWlmsWlsDomainApplicablePatchesFilter>
    ApplicablePatchCollections []GetWlmsWlsDomainApplicablePatchesApplicablePatchCollection
    The list of applicable_patch_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    WlsDomainId string
    Filters []GetWlmsWlsDomainApplicablePatchesFilter
    applicablePatchCollections List<GetWlmsWlsDomainApplicablePatchesApplicablePatchCollection>
    The list of applicable_patch_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    wlsDomainId String
    filters List<GetWlmsWlsDomainApplicablePatchesFilter>
    applicablePatchCollections GetWlmsWlsDomainApplicablePatchesApplicablePatchCollection[]
    The list of applicable_patch_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    wlsDomainId string
    filters GetWlmsWlsDomainApplicablePatchesFilter[]
    applicablePatchCollections List<Property Map>
    The list of applicable_patch_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    wlsDomainId String
    filters List<Property Map>

    Supporting Types

    GetWlmsWlsDomainApplicablePatchesApplicablePatchCollection

    Items List<GetWlmsWlsDomainApplicablePatchesApplicablePatchCollectionItem>
    List of patches per WebLogic version and middleware type.
    Items []GetWlmsWlsDomainApplicablePatchesApplicablePatchCollectionItem
    List of patches per WebLogic version and middleware type.
    items List<GetWlmsWlsDomainApplicablePatchesApplicablePatchCollectionItem>
    List of patches per WebLogic version and middleware type.
    items GetWlmsWlsDomainApplicablePatchesApplicablePatchCollectionItem[]
    List of patches per WebLogic version and middleware type.
    items Sequence[GetWlmsWlsDomainApplicablePatchesApplicablePatchCollectionItem]
    List of patches per WebLogic version and middleware type.
    items List<Property Map>
    List of patches per WebLogic version and middleware type.

    GetWlmsWlsDomainApplicablePatchesApplicablePatchCollectionItem

    Description string
    The description of the WebLogic patch.
    DisplayName string
    The name of the WebLogic patch.
    Id string
    The ID of the WebLogic patch.
    MiddlewareTypes List<string>
    The type of middleware for which this patch is applicable. A patch can be applicable to more than one type of middleware.
    OsArch string
    The operating system architecture for which the patch can be applied.
    WeblogicVersion string
    The WebLogic version for this patch. The patch can be installed to domains with this version.
    Description string
    The description of the WebLogic patch.
    DisplayName string
    The name of the WebLogic patch.
    Id string
    The ID of the WebLogic patch.
    MiddlewareTypes []string
    The type of middleware for which this patch is applicable. A patch can be applicable to more than one type of middleware.
    OsArch string
    The operating system architecture for which the patch can be applied.
    WeblogicVersion string
    The WebLogic version for this patch. The patch can be installed to domains with this version.
    description String
    The description of the WebLogic patch.
    displayName String
    The name of the WebLogic patch.
    id String
    The ID of the WebLogic patch.
    middlewareTypes List<String>
    The type of middleware for which this patch is applicable. A patch can be applicable to more than one type of middleware.
    osArch String
    The operating system architecture for which the patch can be applied.
    weblogicVersion String
    The WebLogic version for this patch. The patch can be installed to domains with this version.
    description string
    The description of the WebLogic patch.
    displayName string
    The name of the WebLogic patch.
    id string
    The ID of the WebLogic patch.
    middlewareTypes string[]
    The type of middleware for which this patch is applicable. A patch can be applicable to more than one type of middleware.
    osArch string
    The operating system architecture for which the patch can be applied.
    weblogicVersion string
    The WebLogic version for this patch. The patch can be installed to domains with this version.
    description str
    The description of the WebLogic patch.
    display_name str
    The name of the WebLogic patch.
    id str
    The ID of the WebLogic patch.
    middleware_types Sequence[str]
    The type of middleware for which this patch is applicable. A patch can be applicable to more than one type of middleware.
    os_arch str
    The operating system architecture for which the patch can be applied.
    weblogic_version str
    The WebLogic version for this patch. The patch can be installed to domains with this version.
    description String
    The description of the WebLogic patch.
    displayName String
    The name of the WebLogic patch.
    id String
    The ID of the WebLogic patch.
    middlewareTypes List<String>
    The type of middleware for which this patch is applicable. A patch can be applicable to more than one type of middleware.
    osArch String
    The operating system architecture for which the patch can be applied.
    weblogicVersion String
    The WebLogic version for this patch. The patch can be installed to domains with this version.

    GetWlmsWlsDomainApplicablePatchesFilter

    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

    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 v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi