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

oci.oci.getWlmsManagedInstanceServers

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 Managed Instance Servers in Oracle Cloud Infrastructure Wlms service.

    Gets list of servers in a specific managed instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testManagedInstanceServers = oci.oci.getWlmsManagedInstanceServers({
        managedInstanceId: testManagedInstance.id,
        name: managedInstanceServerName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_managed_instance_servers = oci.oci.get_wlms_managed_instance_servers(managed_instance_id=test_managed_instance["id"],
        name=managed_instance_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.GetWlmsManagedInstanceServers(ctx, &oci.GetWlmsManagedInstanceServersArgs{
    			ManagedInstanceId: testManagedInstance.Id,
    			Name:              pulumi.StringRef(managedInstanceServerName),
    		}, 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 testManagedInstanceServers = Oci.Oci.GetWlmsManagedInstanceServers.Invoke(new()
        {
            ManagedInstanceId = testManagedInstance.Id,
            Name = managedInstanceServerName,
        });
    
    });
    
    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.GetWlmsManagedInstanceServersArgs;
    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 testManagedInstanceServers = OciFunctions.getWlmsManagedInstanceServers(GetWlmsManagedInstanceServersArgs.builder()
                .managedInstanceId(testManagedInstance.id())
                .name(managedInstanceServerName)
                .build());
    
        }
    }
    
    variables:
      testManagedInstanceServers:
        fn::invoke:
          function: oci:oci:getWlmsManagedInstanceServers
          arguments:
            managedInstanceId: ${testManagedInstance.id}
            name: ${managedInstanceServerName}
    

    Using getWlmsManagedInstanceServers

    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 getWlmsManagedInstanceServers(args: GetWlmsManagedInstanceServersArgs, opts?: InvokeOptions): Promise<GetWlmsManagedInstanceServersResult>
    function getWlmsManagedInstanceServersOutput(args: GetWlmsManagedInstanceServersOutputArgs, opts?: InvokeOptions): Output<GetWlmsManagedInstanceServersResult>
    def get_wlms_managed_instance_servers(filters: Optional[Sequence[GetWlmsManagedInstanceServersFilter]] = None,
                                          managed_instance_id: Optional[str] = None,
                                          name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetWlmsManagedInstanceServersResult
    def get_wlms_managed_instance_servers_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsManagedInstanceServersFilterArgs]]]] = None,
                                          managed_instance_id: Optional[pulumi.Input[str]] = None,
                                          name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetWlmsManagedInstanceServersResult]
    func GetWlmsManagedInstanceServers(ctx *Context, args *GetWlmsManagedInstanceServersArgs, opts ...InvokeOption) (*GetWlmsManagedInstanceServersResult, error)
    func GetWlmsManagedInstanceServersOutput(ctx *Context, args *GetWlmsManagedInstanceServersOutputArgs, opts ...InvokeOption) GetWlmsManagedInstanceServersResultOutput

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

    public static class GetWlmsManagedInstanceServers 
    {
        public static Task<GetWlmsManagedInstanceServersResult> InvokeAsync(GetWlmsManagedInstanceServersArgs args, InvokeOptions? opts = null)
        public static Output<GetWlmsManagedInstanceServersResult> Invoke(GetWlmsManagedInstanceServersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlmsManagedInstanceServersResult> getWlmsManagedInstanceServers(GetWlmsManagedInstanceServersArgs args, InvokeOptions options)
    public static Output<GetWlmsManagedInstanceServersResult> getWlmsManagedInstanceServers(GetWlmsManagedInstanceServersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getWlmsManagedInstanceServers:getWlmsManagedInstanceServers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ManagedInstanceId string
    The OCID of the instance.
    Filters List<GetWlmsManagedInstanceServersFilter>
    Name string
    The name of the resource.
    ManagedInstanceId string
    The OCID of the instance.
    Filters []GetWlmsManagedInstanceServersFilter
    Name string
    The name of the resource.
    managedInstanceId String
    The OCID of the instance.
    filters List<GetWlmsManagedInstanceServersFilter>
    name String
    The name of the resource.
    managedInstanceId string
    The OCID of the instance.
    filters GetWlmsManagedInstanceServersFilter[]
    name string
    The name of the resource.
    managed_instance_id str
    The OCID of the instance.
    filters Sequence[GetWlmsManagedInstanceServersFilter]
    name str
    The name of the resource.
    managedInstanceId String
    The OCID of the instance.
    filters List<Property Map>
    name String
    The name of the resource.

    getWlmsManagedInstanceServers Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedInstanceId string
    The managed instance ID of the server.
    ServerCollections List<GetWlmsManagedInstanceServersServerCollection>
    The list of server_collection.
    Filters List<GetWlmsManagedInstanceServersFilter>
    Name string
    The name of the server.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedInstanceId string
    The managed instance ID of the server.
    ServerCollections []GetWlmsManagedInstanceServersServerCollection
    The list of server_collection.
    Filters []GetWlmsManagedInstanceServersFilter
    Name string
    The name of the server.
    id String
    The provider-assigned unique ID for this managed resource.
    managedInstanceId String
    The managed instance ID of the server.
    serverCollections List<GetWlmsManagedInstanceServersServerCollection>
    The list of server_collection.
    filters List<GetWlmsManagedInstanceServersFilter>
    name String
    The name of the server.
    id string
    The provider-assigned unique ID for this managed resource.
    managedInstanceId string
    The managed instance ID of the server.
    serverCollections GetWlmsManagedInstanceServersServerCollection[]
    The list of server_collection.
    filters GetWlmsManagedInstanceServersFilter[]
    name string
    The name of the server.
    id str
    The provider-assigned unique ID for this managed resource.
    managed_instance_id str
    The managed instance ID of the server.
    server_collections Sequence[GetWlmsManagedInstanceServersServerCollection]
    The list of server_collection.
    filters Sequence[GetWlmsManagedInstanceServersFilter]
    name str
    The name of the server.
    id String
    The provider-assigned unique ID for this managed resource.
    managedInstanceId String
    The managed instance ID of the server.
    serverCollections List<Property Map>
    The list of server_collection.
    filters List<Property Map>
    name String
    The name of the server.

    Supporting Types

    GetWlmsManagedInstanceServersFilter

    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

    GetWlmsManagedInstanceServersServerCollection

    GetWlmsManagedInstanceServersServerCollectionItem

    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 OCID of the instance.
    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 ID of the WebLogic domain to which the server belongs.
    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 OCID of the instance.
    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 ID of the WebLogic domain to which the server belongs.
    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 OCID of the instance.
    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 ID of the WebLogic domain to which the server belongs.
    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 OCID of the instance.
    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 ID of the WebLogic domain to which the server belongs.
    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 OCID of the instance.
    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 ID of the WebLogic domain to which the server belongs.
    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 OCID of the instance.
    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 ID of the WebLogic domain to which the server belongs.
    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.3.0 published on Thursday, Jul 17, 2025 by Pulumi