1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getWlmsManagedInstanceScanResults
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi

    This data source provides the list of Managed Instance Scan Results in Oracle Cloud Infrastructure Wlms service.

    Gets all the scan results for all WebLogic servers in the managed instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testManagedInstanceScanResults = oci.oci.getWlmsManagedInstanceScanResults({
        managedInstanceId: testManagedInstance.id,
        serverName: managedInstanceScanResultServerName,
        wlsDomainId: testWlsDomain.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_managed_instance_scan_results = oci.oci.get_wlms_managed_instance_scan_results(managed_instance_id=test_managed_instance["id"],
        server_name=managed_instance_scan_result_server_name,
        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.GetWlmsManagedInstanceScanResults(ctx, &oci.GetWlmsManagedInstanceScanResultsArgs{
    			ManagedInstanceId: testManagedInstance.Id,
    			ServerName:        pulumi.StringRef(managedInstanceScanResultServerName),
    			WlsDomainId:       pulumi.StringRef(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 testManagedInstanceScanResults = Oci.Oci.GetWlmsManagedInstanceScanResults.Invoke(new()
        {
            ManagedInstanceId = testManagedInstance.Id,
            ServerName = managedInstanceScanResultServerName,
            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.GetWlmsManagedInstanceScanResultsArgs;
    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 testManagedInstanceScanResults = OciFunctions.getWlmsManagedInstanceScanResults(GetWlmsManagedInstanceScanResultsArgs.builder()
                .managedInstanceId(testManagedInstance.id())
                .serverName(managedInstanceScanResultServerName)
                .wlsDomainId(testWlsDomain.id())
                .build());
    
        }
    }
    
    variables:
      testManagedInstanceScanResults:
        fn::invoke:
          function: oci:oci:getWlmsManagedInstanceScanResults
          arguments:
            managedInstanceId: ${testManagedInstance.id}
            serverName: ${managedInstanceScanResultServerName}
            wlsDomainId: ${testWlsDomain.id}
    

    Using getWlmsManagedInstanceScanResults

    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 getWlmsManagedInstanceScanResults(args: GetWlmsManagedInstanceScanResultsArgs, opts?: InvokeOptions): Promise<GetWlmsManagedInstanceScanResultsResult>
    function getWlmsManagedInstanceScanResultsOutput(args: GetWlmsManagedInstanceScanResultsOutputArgs, opts?: InvokeOptions): Output<GetWlmsManagedInstanceScanResultsResult>
    def get_wlms_managed_instance_scan_results(filters: Optional[Sequence[GetWlmsManagedInstanceScanResultsFilter]] = None,
                                               managed_instance_id: Optional[str] = None,
                                               server_name: Optional[str] = None,
                                               wls_domain_id: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetWlmsManagedInstanceScanResultsResult
    def get_wlms_managed_instance_scan_results_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsManagedInstanceScanResultsFilterArgs]]]] = None,
                                               managed_instance_id: Optional[pulumi.Input[str]] = None,
                                               server_name: Optional[pulumi.Input[str]] = None,
                                               wls_domain_id: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetWlmsManagedInstanceScanResultsResult]
    func GetWlmsManagedInstanceScanResults(ctx *Context, args *GetWlmsManagedInstanceScanResultsArgs, opts ...InvokeOption) (*GetWlmsManagedInstanceScanResultsResult, error)
    func GetWlmsManagedInstanceScanResultsOutput(ctx *Context, args *GetWlmsManagedInstanceScanResultsOutputArgs, opts ...InvokeOption) GetWlmsManagedInstanceScanResultsResultOutput

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

    public static class GetWlmsManagedInstanceScanResults 
    {
        public static Task<GetWlmsManagedInstanceScanResultsResult> InvokeAsync(GetWlmsManagedInstanceScanResultsArgs args, InvokeOptions? opts = null)
        public static Output<GetWlmsManagedInstanceScanResultsResult> Invoke(GetWlmsManagedInstanceScanResultsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlmsManagedInstanceScanResultsResult> getWlmsManagedInstanceScanResults(GetWlmsManagedInstanceScanResultsArgs args, InvokeOptions options)
    public static Output<GetWlmsManagedInstanceScanResultsResult> getWlmsManagedInstanceScanResults(GetWlmsManagedInstanceScanResultsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getWlmsManagedInstanceScanResults:getWlmsManagedInstanceScanResults
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ManagedInstanceId string
    The OCID of the instance.
    Filters List<GetWlmsManagedInstanceScanResultsFilter>
    ServerName string
    The name of the server.
    WlsDomainId string
    The OCID of the WebLogic domain.
    ManagedInstanceId string
    The OCID of the instance.
    Filters []GetWlmsManagedInstanceScanResultsFilter
    ServerName string
    The name of the server.
    WlsDomainId string
    The OCID of the WebLogic domain.
    managedInstanceId String
    The OCID of the instance.
    filters List<GetWlmsManagedInstanceScanResultsFilter>
    serverName String
    The name of the server.
    wlsDomainId String
    The OCID of the WebLogic domain.
    managedInstanceId string
    The OCID of the instance.
    filters GetWlmsManagedInstanceScanResultsFilter[]
    serverName string
    The name of the server.
    wlsDomainId string
    The OCID of the WebLogic domain.
    managed_instance_id str
    The OCID of the instance.
    filters Sequence[GetWlmsManagedInstanceScanResultsFilter]
    server_name str
    The name of the server.
    wls_domain_id str
    The OCID of the WebLogic domain.
    managedInstanceId String
    The OCID of the instance.
    filters List<Property Map>
    serverName String
    The name of the server.
    wlsDomainId String
    The OCID of the WebLogic domain.

    getWlmsManagedInstanceScanResults Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedInstanceId string
    ScanResultCollections List<GetWlmsManagedInstanceScanResultsScanResultCollection>
    The list of scan_result_collection.
    Filters List<GetWlmsManagedInstanceScanResultsFilter>
    ServerName string
    The name of the WebLogic server to which the server check belongs.
    WlsDomainId string
    The OCID of the WebLogic domain.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedInstanceId string
    ScanResultCollections []GetWlmsManagedInstanceScanResultsScanResultCollection
    The list of scan_result_collection.
    Filters []GetWlmsManagedInstanceScanResultsFilter
    ServerName string
    The name of the WebLogic server to which the server check belongs.
    WlsDomainId string
    The OCID of the WebLogic domain.
    id String
    The provider-assigned unique ID for this managed resource.
    managedInstanceId String
    scanResultCollections List<GetWlmsManagedInstanceScanResultsScanResultCollection>
    The list of scan_result_collection.
    filters List<GetWlmsManagedInstanceScanResultsFilter>
    serverName String
    The name of the WebLogic server to which the server check belongs.
    wlsDomainId String
    The OCID of the WebLogic domain.
    id string
    The provider-assigned unique ID for this managed resource.
    managedInstanceId string
    scanResultCollections GetWlmsManagedInstanceScanResultsScanResultCollection[]
    The list of scan_result_collection.
    filters GetWlmsManagedInstanceScanResultsFilter[]
    serverName string
    The name of the WebLogic server to which the server check belongs.
    wlsDomainId string
    The OCID of the WebLogic domain.
    id str
    The provider-assigned unique ID for this managed resource.
    managed_instance_id str
    scan_result_collections Sequence[GetWlmsManagedInstanceScanResultsScanResultCollection]
    The list of scan_result_collection.
    filters Sequence[GetWlmsManagedInstanceScanResultsFilter]
    server_name str
    The name of the WebLogic server to which the server check belongs.
    wls_domain_id str
    The OCID of the WebLogic domain.
    id String
    The provider-assigned unique ID for this managed resource.
    managedInstanceId String
    scanResultCollections List<Property Map>
    The list of scan_result_collection.
    filters List<Property Map>
    serverName String
    The name of the WebLogic server to which the server check belongs.
    wlsDomainId String
    The OCID of the WebLogic domain.

    Supporting Types

    GetWlmsManagedInstanceScanResultsFilter

    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

    GetWlmsManagedInstanceScanResultsScanResultCollection

    items List<Property Map>
    List of scan results.

    GetWlmsManagedInstanceScanResultsScanResultCollectionItem

    ServerCheckName string
    The name of the check performed.
    ServerCheckResult string
    The result of the server check.
    ServerCheckResultId string
    The identifier of the the server check result.
    ServerCheckStatus string
    The status of the server check which is OK, FAILURE, or WARNING.
    ServerName string
    The name of the server.
    TimeOfServerCheck string
    The date when the WebLogic server health check is performed (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    WlsDomainId string
    The OCID of the WebLogic domain.
    ServerCheckName string
    The name of the check performed.
    ServerCheckResult string
    The result of the server check.
    ServerCheckResultId string
    The identifier of the the server check result.
    ServerCheckStatus string
    The status of the server check which is OK, FAILURE, or WARNING.
    ServerName string
    The name of the server.
    TimeOfServerCheck string
    The date when the WebLogic server health check is performed (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    WlsDomainId string
    The OCID of the WebLogic domain.
    serverCheckName String
    The name of the check performed.
    serverCheckResult String
    The result of the server check.
    serverCheckResultId String
    The identifier of the the server check result.
    serverCheckStatus String
    The status of the server check which is OK, FAILURE, or WARNING.
    serverName String
    The name of the server.
    timeOfServerCheck String
    The date when the WebLogic server health check is performed (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    wlsDomainId String
    The OCID of the WebLogic domain.
    serverCheckName string
    The name of the check performed.
    serverCheckResult string
    The result of the server check.
    serverCheckResultId string
    The identifier of the the server check result.
    serverCheckStatus string
    The status of the server check which is OK, FAILURE, or WARNING.
    serverName string
    The name of the server.
    timeOfServerCheck string
    The date when the WebLogic server health check is performed (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    wlsDomainId string
    The OCID of the WebLogic domain.
    server_check_name str
    The name of the check performed.
    server_check_result str
    The result of the server check.
    server_check_result_id str
    The identifier of the the server check result.
    server_check_status str
    The status of the server check which is OK, FAILURE, or WARNING.
    server_name str
    The name of the server.
    time_of_server_check str
    The date when the WebLogic server health check is performed (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    wls_domain_id str
    The OCID of the WebLogic domain.
    serverCheckName String
    The name of the check performed.
    serverCheckResult String
    The result of the server check.
    serverCheckResultId String
    The identifier of the the server check result.
    serverCheckStatus String
    The status of the server check which is OK, FAILURE, or WARNING.
    serverName String
    The name of the server.
    timeOfServerCheck String
    The date when the WebLogic server health check is performed (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    wlsDomainId String
    The OCID of the WebLogic domain.

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