1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getWlmsManagedInstanceServerInstalledPatches
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi

    This data source provides the list of Managed Instance Server Installed Patches in Oracle Cloud Infrastructure Wlms service.

    Gets a list of installed patches on a server in a managed instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testManagedInstanceServerInstalledPatches = oci.oci.getWlmsManagedInstanceServerInstalledPatches({
        managedInstanceId: testManagedInstance.id,
        serverId: testServer.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_managed_instance_server_installed_patches = oci.oci.get_wlms_managed_instance_server_installed_patches(managed_instance_id=test_managed_instance["id"],
        server_id=test_server["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.GetWlmsManagedInstanceServerInstalledPatches(ctx, &oci.GetWlmsManagedInstanceServerInstalledPatchesArgs{
    			ManagedInstanceId: testManagedInstance.Id,
    			ServerId:          testServer.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 testManagedInstanceServerInstalledPatches = Oci.Oci.GetWlmsManagedInstanceServerInstalledPatches.Invoke(new()
        {
            ManagedInstanceId = testManagedInstance.Id,
            ServerId = testServer.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.GetWlmsManagedInstanceServerInstalledPatchesArgs;
    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 testManagedInstanceServerInstalledPatches = OciFunctions.getWlmsManagedInstanceServerInstalledPatches(GetWlmsManagedInstanceServerInstalledPatchesArgs.builder()
                .managedInstanceId(testManagedInstance.id())
                .serverId(testServer.id())
                .build());
    
        }
    }
    
    variables:
      testManagedInstanceServerInstalledPatches:
        fn::invoke:
          function: oci:oci:getWlmsManagedInstanceServerInstalledPatches
          arguments:
            managedInstanceId: ${testManagedInstance.id}
            serverId: ${testServer.id}
    

    Using getWlmsManagedInstanceServerInstalledPatches

    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 getWlmsManagedInstanceServerInstalledPatches(args: GetWlmsManagedInstanceServerInstalledPatchesArgs, opts?: InvokeOptions): Promise<GetWlmsManagedInstanceServerInstalledPatchesResult>
    function getWlmsManagedInstanceServerInstalledPatchesOutput(args: GetWlmsManagedInstanceServerInstalledPatchesOutputArgs, opts?: InvokeOptions): Output<GetWlmsManagedInstanceServerInstalledPatchesResult>
    def get_wlms_managed_instance_server_installed_patches(filters: Optional[Sequence[GetWlmsManagedInstanceServerInstalledPatchesFilter]] = None,
                                                           managed_instance_id: Optional[str] = None,
                                                           server_id: Optional[str] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetWlmsManagedInstanceServerInstalledPatchesResult
    def get_wlms_managed_instance_server_installed_patches_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsManagedInstanceServerInstalledPatchesFilterArgs]]]] = None,
                                                           managed_instance_id: Optional[pulumi.Input[str]] = None,
                                                           server_id: Optional[pulumi.Input[str]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> Output[GetWlmsManagedInstanceServerInstalledPatchesResult]
    func GetWlmsManagedInstanceServerInstalledPatches(ctx *Context, args *GetWlmsManagedInstanceServerInstalledPatchesArgs, opts ...InvokeOption) (*GetWlmsManagedInstanceServerInstalledPatchesResult, error)
    func GetWlmsManagedInstanceServerInstalledPatchesOutput(ctx *Context, args *GetWlmsManagedInstanceServerInstalledPatchesOutputArgs, opts ...InvokeOption) GetWlmsManagedInstanceServerInstalledPatchesResultOutput

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

    public static class GetWlmsManagedInstanceServerInstalledPatches 
    {
        public static Task<GetWlmsManagedInstanceServerInstalledPatchesResult> InvokeAsync(GetWlmsManagedInstanceServerInstalledPatchesArgs args, InvokeOptions? opts = null)
        public static Output<GetWlmsManagedInstanceServerInstalledPatchesResult> Invoke(GetWlmsManagedInstanceServerInstalledPatchesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlmsManagedInstanceServerInstalledPatchesResult> getWlmsManagedInstanceServerInstalledPatches(GetWlmsManagedInstanceServerInstalledPatchesArgs args, InvokeOptions options)
    public static Output<GetWlmsManagedInstanceServerInstalledPatchesResult> getWlmsManagedInstanceServerInstalledPatches(GetWlmsManagedInstanceServerInstalledPatchesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getWlmsManagedInstanceServerInstalledPatches:getWlmsManagedInstanceServerInstalledPatches
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ManagedInstanceId string
    The OCID of the instance.
    ServerId string

    The unique identifier of a server.

    Note: Not an OCID.

    Filters List<GetWlmsManagedInstanceServerInstalledPatchesFilter>
    ManagedInstanceId string
    The OCID of the instance.
    ServerId string

    The unique identifier of a server.

    Note: Not an OCID.

    Filters []GetWlmsManagedInstanceServerInstalledPatchesFilter
    managedInstanceId String
    The OCID of the instance.
    serverId String

    The unique identifier of a server.

    Note: Not an OCID.

    filters List<GetWlmsManagedInstanceServerInstalledPatchesFilter>
    managedInstanceId string
    The OCID of the instance.
    serverId string

    The unique identifier of a server.

    Note: Not an OCID.

    filters GetWlmsManagedInstanceServerInstalledPatchesFilter[]
    managed_instance_id str
    The OCID of the instance.
    server_id str

    The unique identifier of a server.

    Note: Not an OCID.

    filters Sequence[GetWlmsManagedInstanceServerInstalledPatchesFilter]
    managedInstanceId String
    The OCID of the instance.
    serverId String

    The unique identifier of a server.

    Note: Not an OCID.

    filters List<Property Map>

    getWlmsManagedInstanceServerInstalledPatches Result

    The following output properties are available:

    id String
    The provider-assigned unique ID for this managed resource.
    installedPatchCollections List<Property Map>
    The list of installed_patch_collection.
    managedInstanceId String
    serverId String
    filters List<Property Map>

    Supporting Types

    GetWlmsManagedInstanceServerInstalledPatchesFilter

    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

    GetWlmsManagedInstanceServerInstalledPatchesInstalledPatchCollection

    items List<Property Map>
    List of installed patches per server

    GetWlmsManagedInstanceServerInstalledPatchesInstalledPatchCollectionItem

    Description string
    The description of the WebLogic patch.
    DisplayName string
    The name of the WebLogic patch.
    Id string
    The ID of the WebLogic patch.
    Description string
    The description of the WebLogic patch.
    DisplayName string
    The name of the WebLogic patch.
    Id string
    The ID of the WebLogic patch.
    description String
    The description of the WebLogic patch.
    displayName String
    The name of the WebLogic patch.
    id String
    The ID of the WebLogic patch.
    description string
    The description of the WebLogic patch.
    displayName string
    The name of the WebLogic patch.
    id string
    The ID of the WebLogic patch.
    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.
    description String
    The description of the WebLogic patch.
    displayName String
    The name of the WebLogic patch.
    id String
    The ID of the WebLogic patch.

    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.12.0 published on Friday, Nov 21, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate