1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getWlmsWlsDomainScanResults
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

oci.oci.getWlmsWlsDomainScanResults

Get Started
oci logo
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

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

    Get all scan results for a server in a specific WebLogic domain.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testWlsDomainScanResults = oci.oci.getWlmsWlsDomainScanResults({
        wlsDomainId: testWlsDomain.id,
        serverName: wlsDomainScanResultServerName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_wls_domain_scan_results = oci.oci.get_wlms_wls_domain_scan_results(wls_domain_id=test_wls_domain["id"],
        server_name=wls_domain_scan_result_server_name)
    
    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.GetWlmsWlsDomainScanResults(ctx, &oci.GetWlmsWlsDomainScanResultsArgs{
    			WlsDomainId: testWlsDomain.Id,
    			ServerName:  pulumi.StringRef(wlsDomainScanResultServerName),
    		}, 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 testWlsDomainScanResults = Oci.Oci.GetWlmsWlsDomainScanResults.Invoke(new()
        {
            WlsDomainId = testWlsDomain.Id,
            ServerName = wlsDomainScanResultServerName,
        });
    
    });
    
    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.GetWlmsWlsDomainScanResultsArgs;
    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 testWlsDomainScanResults = OciFunctions.getWlmsWlsDomainScanResults(GetWlmsWlsDomainScanResultsArgs.builder()
                .wlsDomainId(testWlsDomain.id())
                .serverName(wlsDomainScanResultServerName)
                .build());
    
        }
    }
    
    variables:
      testWlsDomainScanResults:
        fn::invoke:
          function: oci:oci:getWlmsWlsDomainScanResults
          arguments:
            wlsDomainId: ${testWlsDomain.id}
            serverName: ${wlsDomainScanResultServerName}
    

    Using getWlmsWlsDomainScanResults

    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 getWlmsWlsDomainScanResults(args: GetWlmsWlsDomainScanResultsArgs, opts?: InvokeOptions): Promise<GetWlmsWlsDomainScanResultsResult>
    function getWlmsWlsDomainScanResultsOutput(args: GetWlmsWlsDomainScanResultsOutputArgs, opts?: InvokeOptions): Output<GetWlmsWlsDomainScanResultsResult>
    def get_wlms_wls_domain_scan_results(filters: Optional[Sequence[GetWlmsWlsDomainScanResultsFilter]] = None,
                                         server_name: Optional[str] = None,
                                         wls_domain_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetWlmsWlsDomainScanResultsResult
    def get_wlms_wls_domain_scan_results_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsWlsDomainScanResultsFilterArgs]]]] = None,
                                         server_name: Optional[pulumi.Input[str]] = None,
                                         wls_domain_id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetWlmsWlsDomainScanResultsResult]
    func GetWlmsWlsDomainScanResults(ctx *Context, args *GetWlmsWlsDomainScanResultsArgs, opts ...InvokeOption) (*GetWlmsWlsDomainScanResultsResult, error)
    func GetWlmsWlsDomainScanResultsOutput(ctx *Context, args *GetWlmsWlsDomainScanResultsOutputArgs, opts ...InvokeOption) GetWlmsWlsDomainScanResultsResultOutput

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

    public static class GetWlmsWlsDomainScanResults 
    {
        public static Task<GetWlmsWlsDomainScanResultsResult> InvokeAsync(GetWlmsWlsDomainScanResultsArgs args, InvokeOptions? opts = null)
        public static Output<GetWlmsWlsDomainScanResultsResult> Invoke(GetWlmsWlsDomainScanResultsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlmsWlsDomainScanResultsResult> getWlmsWlsDomainScanResults(GetWlmsWlsDomainScanResultsArgs args, InvokeOptions options)
    public static Output<GetWlmsWlsDomainScanResultsResult> getWlmsWlsDomainScanResults(GetWlmsWlsDomainScanResultsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getWlmsWlsDomainScanResults:getWlmsWlsDomainScanResults
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getWlmsWlsDomainScanResults Result

    The following output properties are available:

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

    Supporting Types

    GetWlmsWlsDomainScanResultsFilter

    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

    GetWlmsWlsDomainScanResultsScanResultCollection

    items List<Property Map>
    List of scan results.

    GetWlmsWlsDomainScanResultsScanResultCollectionItem

    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.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate