1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getWlmsWlsDomainServers
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 Wls Domain Servers in Oracle Cloud Infrastructure Wlms service.

    Gets list of servers in a specific WebLogic domain.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testWlsDomainServers = oci.oci.getWlmsWlsDomainServers({
        wlsDomainId: testWlsDomain.id,
        name: wlsDomainServerName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_wls_domain_servers = oci.oci.get_wlms_wls_domain_servers(wls_domain_id=test_wls_domain["id"],
        name=wls_domain_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.GetWlmsWlsDomainServers(ctx, &oci.GetWlmsWlsDomainServersArgs{
    			WlsDomainId: testWlsDomain.Id,
    			Name:        pulumi.StringRef(wlsDomainServerName),
    		}, 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 testWlsDomainServers = Oci.Oci.GetWlmsWlsDomainServers.Invoke(new()
        {
            WlsDomainId = testWlsDomain.Id,
            Name = wlsDomainServerName,
        });
    
    });
    
    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.GetWlmsWlsDomainServersArgs;
    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 testWlsDomainServers = OciFunctions.getWlmsWlsDomainServers(GetWlmsWlsDomainServersArgs.builder()
                .wlsDomainId(testWlsDomain.id())
                .name(wlsDomainServerName)
                .build());
    
        }
    }
    
    variables:
      testWlsDomainServers:
        fn::invoke:
          function: oci:oci:getWlmsWlsDomainServers
          arguments:
            wlsDomainId: ${testWlsDomain.id}
            name: ${wlsDomainServerName}
    

    Using getWlmsWlsDomainServers

    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 getWlmsWlsDomainServers(args: GetWlmsWlsDomainServersArgs, opts?: InvokeOptions): Promise<GetWlmsWlsDomainServersResult>
    function getWlmsWlsDomainServersOutput(args: GetWlmsWlsDomainServersOutputArgs, opts?: InvokeOptions): Output<GetWlmsWlsDomainServersResult>
    def get_wlms_wls_domain_servers(filters: Optional[Sequence[GetWlmsWlsDomainServersFilter]] = None,
                                    name: Optional[str] = None,
                                    wls_domain_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetWlmsWlsDomainServersResult
    def get_wlms_wls_domain_servers_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsWlsDomainServersFilterArgs]]]] = None,
                                    name: Optional[pulumi.Input[str]] = None,
                                    wls_domain_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetWlmsWlsDomainServersResult]
    func GetWlmsWlsDomainServers(ctx *Context, args *GetWlmsWlsDomainServersArgs, opts ...InvokeOption) (*GetWlmsWlsDomainServersResult, error)
    func GetWlmsWlsDomainServersOutput(ctx *Context, args *GetWlmsWlsDomainServersOutputArgs, opts ...InvokeOption) GetWlmsWlsDomainServersResultOutput

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

    public static class GetWlmsWlsDomainServers 
    {
        public static Task<GetWlmsWlsDomainServersResult> InvokeAsync(GetWlmsWlsDomainServersArgs args, InvokeOptions? opts = null)
        public static Output<GetWlmsWlsDomainServersResult> Invoke(GetWlmsWlsDomainServersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlmsWlsDomainServersResult> getWlmsWlsDomainServers(GetWlmsWlsDomainServersArgs args, InvokeOptions options)
    public static Output<GetWlmsWlsDomainServersResult> getWlmsWlsDomainServers(GetWlmsWlsDomainServersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getWlmsWlsDomainServers:getWlmsWlsDomainServers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    WlsDomainId string
    The OCID of the WebLogic domain.
    Filters List<GetWlmsWlsDomainServersFilter>
    Name string
    The name of the resource.
    WlsDomainId string
    The OCID of the WebLogic domain.
    Filters []GetWlmsWlsDomainServersFilter
    Name string
    The name of the resource.
    wlsDomainId String
    The OCID of the WebLogic domain.
    filters List<GetWlmsWlsDomainServersFilter>
    name String
    The name of the resource.
    wlsDomainId string
    The OCID of the WebLogic domain.
    filters GetWlmsWlsDomainServersFilter[]
    name string
    The name of the resource.
    wls_domain_id str
    The OCID of the WebLogic domain.
    filters Sequence[GetWlmsWlsDomainServersFilter]
    name str
    The name of the resource.
    wlsDomainId String
    The OCID of the WebLogic domain.
    filters List<Property Map>
    name String
    The name of the resource.

    getWlmsWlsDomainServers Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ServerCollections List<GetWlmsWlsDomainServersServerCollection>
    The list of server_collection.
    WlsDomainId string
    The ID of the WebLogic domain to which the server belongs.
    Filters List<GetWlmsWlsDomainServersFilter>
    Name string
    The name of the server.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServerCollections []GetWlmsWlsDomainServersServerCollection
    The list of server_collection.
    WlsDomainId string
    The ID of the WebLogic domain to which the server belongs.
    Filters []GetWlmsWlsDomainServersFilter
    Name string
    The name of the server.
    id String
    The provider-assigned unique ID for this managed resource.
    serverCollections List<GetWlmsWlsDomainServersServerCollection>
    The list of server_collection.
    wlsDomainId String
    The ID of the WebLogic domain to which the server belongs.
    filters List<GetWlmsWlsDomainServersFilter>
    name String
    The name of the server.
    id string
    The provider-assigned unique ID for this managed resource.
    serverCollections GetWlmsWlsDomainServersServerCollection[]
    The list of server_collection.
    wlsDomainId string
    The ID of the WebLogic domain to which the server belongs.
    filters GetWlmsWlsDomainServersFilter[]
    name string
    The name of the server.
    id str
    The provider-assigned unique ID for this managed resource.
    server_collections Sequence[GetWlmsWlsDomainServersServerCollection]
    The list of server_collection.
    wls_domain_id str
    The ID of the WebLogic domain to which the server belongs.
    filters Sequence[GetWlmsWlsDomainServersFilter]
    name str
    The name of the server.
    id String
    The provider-assigned unique ID for this managed resource.
    serverCollections List<Property Map>
    The list of server_collection.
    wlsDomainId String
    The ID of the WebLogic domain to which the server belongs.
    filters List<Property Map>
    name String
    The name of the server.

    Supporting Types

    GetWlmsWlsDomainServersFilter

    Name string
    The name of the resource.
    Values List<string>
    Regex bool
    Name string
    The name of the resource.
    Values []string
    Regex bool
    name String
    The name of the resource.
    values List<String>
    regex Boolean
    name string
    The name of the resource.
    values string[]
    regex boolean
    name str
    The name of the resource.
    values Sequence[str]
    regex bool
    name String
    The name of the resource.
    values List<String>
    regex Boolean

    GetWlmsWlsDomainServersServerCollection

    GetWlmsWlsDomainServersServerCollectionItem

    HostName string
    The name of the server.
    Id string
    The unique identifier of the server.
    IsAdmin bool
    Whether or not the server is an admin node.
    JdkPath string
    The JDK path on the server.
    JdkVersion string
    The JDK version on the server.
    LatestPatchesStatus string
    Whether or not the server has installed the latest patches.
    ManagedInstanceId string
    The managed instance ID of the server.
    MiddlewarePath string
    The middleware path on the server.
    MiddlewareType string
    The middleware type on the server.
    Name string
    The name of the resource.
    PatchReadinessStatus string
    The patch readiness status of the server.
    RestartOrder int
    The restart order assigned to the server.
    Status string
    The status of the server.
    TimeCreated string
    The date and time the server was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the server was last reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    WeblogicVersion string
    The version of the WebLogic domain of the server
    WlsDomainId string
    The OCID of the WebLogic domain.
    WlsDomainName string
    The name of the WebLogic domain to which the server belongs.
    WlsDomainPath string
    The path of the WebLogic domain to which the server belongs.
    HostName string
    The name of the server.
    Id string
    The unique identifier of the server.
    IsAdmin bool
    Whether or not the server is an admin node.
    JdkPath string
    The JDK path on the server.
    JdkVersion string
    The JDK version on the server.
    LatestPatchesStatus string
    Whether or not the server has installed the latest patches.
    ManagedInstanceId string
    The managed instance ID of the server.
    MiddlewarePath string
    The middleware path on the server.
    MiddlewareType string
    The middleware type on the server.
    Name string
    The name of the resource.
    PatchReadinessStatus string
    The patch readiness status of the server.
    RestartOrder int
    The restart order assigned to the server.
    Status string
    The status of the server.
    TimeCreated string
    The date and time the server was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the server was last reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    WeblogicVersion string
    The version of the WebLogic domain of the server
    WlsDomainId string
    The OCID of the WebLogic domain.
    WlsDomainName string
    The name of the WebLogic domain to which the server belongs.
    WlsDomainPath string
    The path of the WebLogic domain to which the server belongs.
    hostName String
    The name of the server.
    id String
    The unique identifier of the server.
    isAdmin Boolean
    Whether or not the server is an admin node.
    jdkPath String
    The JDK path on the server.
    jdkVersion String
    The JDK version on the server.
    latestPatchesStatus String
    Whether or not the server has installed the latest patches.
    managedInstanceId String
    The managed instance ID of the server.
    middlewarePath String
    The middleware path on the server.
    middlewareType String
    The middleware type on the server.
    name String
    The name of the resource.
    patchReadinessStatus String
    The patch readiness status of the server.
    restartOrder Integer
    The restart order assigned to the server.
    status String
    The status of the server.
    timeCreated String
    The date and time the server was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the server was last reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    weblogicVersion String
    The version of the WebLogic domain of the server
    wlsDomainId String
    The OCID of the WebLogic domain.
    wlsDomainName String
    The name of the WebLogic domain to which the server belongs.
    wlsDomainPath String
    The path of the WebLogic domain to which the server belongs.
    hostName string
    The name of the server.
    id string
    The unique identifier of the server.
    isAdmin boolean
    Whether or not the server is an admin node.
    jdkPath string
    The JDK path on the server.
    jdkVersion string
    The JDK version on the server.
    latestPatchesStatus string
    Whether or not the server has installed the latest patches.
    managedInstanceId string
    The managed instance ID of the server.
    middlewarePath string
    The middleware path on the server.
    middlewareType string
    The middleware type on the server.
    name string
    The name of the resource.
    patchReadinessStatus string
    The patch readiness status of the server.
    restartOrder number
    The restart order assigned to the server.
    status string
    The status of the server.
    timeCreated string
    The date and time the server was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the server was last reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    weblogicVersion string
    The version of the WebLogic domain of the server
    wlsDomainId string
    The OCID of the WebLogic domain.
    wlsDomainName string
    The name of the WebLogic domain to which the server belongs.
    wlsDomainPath string
    The path of the WebLogic domain to which the server belongs.
    host_name str
    The name of the server.
    id str
    The unique identifier of the server.
    is_admin bool
    Whether or not the server is an admin node.
    jdk_path str
    The JDK path on the server.
    jdk_version str
    The JDK version on the server.
    latest_patches_status str
    Whether or not the server has installed the latest patches.
    managed_instance_id str
    The managed instance ID of the server.
    middleware_path str
    The middleware path on the server.
    middleware_type str
    The middleware type on the server.
    name str
    The name of the resource.
    patch_readiness_status str
    The patch readiness status of the server.
    restart_order int
    The restart order assigned to the server.
    status str
    The status of the server.
    time_created str
    The date and time the server was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the server was last reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    weblogic_version str
    The version of the WebLogic domain of the server
    wls_domain_id str
    The OCID of the WebLogic domain.
    wls_domain_name str
    The name of the WebLogic domain to which the server belongs.
    wls_domain_path str
    The path of the WebLogic domain to which the server belongs.
    hostName String
    The name of the server.
    id String
    The unique identifier of the server.
    isAdmin Boolean
    Whether or not the server is an admin node.
    jdkPath String
    The JDK path on the server.
    jdkVersion String
    The JDK version on the server.
    latestPatchesStatus String
    Whether or not the server has installed the latest patches.
    managedInstanceId String
    The managed instance ID of the server.
    middlewarePath String
    The middleware path on the server.
    middlewareType String
    The middleware type on the server.
    name String
    The name of the resource.
    patchReadinessStatus String
    The patch readiness status of the server.
    restartOrder Number
    The restart order assigned to the server.
    status String
    The status of the server.
    timeCreated String
    The date and time the server was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the server was last reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    weblogicVersion String
    The version of the WebLogic domain of the server
    wlsDomainId String
    The OCID of the WebLogic domain.
    wlsDomainName String
    The name of the WebLogic domain to which the server belongs.
    wlsDomainPath String
    The path of the WebLogic domain to which the server belongs.

    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