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

oci.oci.getWlmsManagedInstances

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

    Lists managed instances that match the specified compartment or managed instance OCID. Filter the list against a variety of criteria including but not limited to its name, status and compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testManagedInstances = oci.oci.getWlmsManagedInstances({
        compartmentId: compartmentId,
        displayName: managedInstanceDisplayName,
        id: managedInstanceId,
        pluginStatus: managedInstancePluginStatus,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_managed_instances = oci.oci.get_wlms_managed_instances(compartment_id=compartment_id,
        display_name=managed_instance_display_name,
        id=managed_instance_id,
        plugin_status=managed_instance_plugin_status)
    
    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.GetWlmsManagedInstances(ctx, &oci.GetWlmsManagedInstancesArgs{
    			CompartmentId: pulumi.StringRef(compartmentId),
    			DisplayName:   pulumi.StringRef(managedInstanceDisplayName),
    			Id:            pulumi.StringRef(managedInstanceId),
    			PluginStatus:  pulumi.StringRef(managedInstancePluginStatus),
    		}, 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 testManagedInstances = Oci.Oci.GetWlmsManagedInstances.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = managedInstanceDisplayName,
            Id = managedInstanceId,
            PluginStatus = managedInstancePluginStatus,
        });
    
    });
    
    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.GetWlmsManagedInstancesArgs;
    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 testManagedInstances = OciFunctions.getWlmsManagedInstances(GetWlmsManagedInstancesArgs.builder()
                .compartmentId(compartmentId)
                .displayName(managedInstanceDisplayName)
                .id(managedInstanceId)
                .pluginStatus(managedInstancePluginStatus)
                .build());
    
        }
    }
    
    variables:
      testManagedInstances:
        fn::invoke:
          function: oci:oci:getWlmsManagedInstances
          arguments:
            compartmentId: ${compartmentId}
            displayName: ${managedInstanceDisplayName}
            id: ${managedInstanceId}
            pluginStatus: ${managedInstancePluginStatus}
    

    Using getWlmsManagedInstances

    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 getWlmsManagedInstances(args: GetWlmsManagedInstancesArgs, opts?: InvokeOptions): Promise<GetWlmsManagedInstancesResult>
    function getWlmsManagedInstancesOutput(args: GetWlmsManagedInstancesOutputArgs, opts?: InvokeOptions): Output<GetWlmsManagedInstancesResult>
    def get_wlms_managed_instances(compartment_id: Optional[str] = None,
                                   display_name: Optional[str] = None,
                                   filters: Optional[Sequence[GetWlmsManagedInstancesFilter]] = None,
                                   id: Optional[str] = None,
                                   plugin_status: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetWlmsManagedInstancesResult
    def get_wlms_managed_instances_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                   display_name: Optional[pulumi.Input[str]] = None,
                                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsManagedInstancesFilterArgs]]]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   plugin_status: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetWlmsManagedInstancesResult]
    func GetWlmsManagedInstances(ctx *Context, args *GetWlmsManagedInstancesArgs, opts ...InvokeOption) (*GetWlmsManagedInstancesResult, error)
    func GetWlmsManagedInstancesOutput(ctx *Context, args *GetWlmsManagedInstancesOutputArgs, opts ...InvokeOption) GetWlmsManagedInstancesResultOutput

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

    public static class GetWlmsManagedInstances 
    {
        public static Task<GetWlmsManagedInstancesResult> InvokeAsync(GetWlmsManagedInstancesArgs args, InvokeOptions? opts = null)
        public static Output<GetWlmsManagedInstancesResult> Invoke(GetWlmsManagedInstancesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlmsManagedInstancesResult> getWlmsManagedInstances(GetWlmsManagedInstancesArgs args, InvokeOptions options)
    public static Output<GetWlmsManagedInstancesResult> getWlmsManagedInstances(GetWlmsManagedInstancesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getWlmsManagedInstances:getWlmsManagedInstances
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    DisplayName string
    The display name.
    Filters List<GetWlmsManagedInstancesFilter>
    Id string
    The OCID of the instance.
    PluginStatus string
    The plugin status of the managed instance.
    CompartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    DisplayName string
    The display name.
    Filters []GetWlmsManagedInstancesFilter
    Id string
    The OCID of the instance.
    PluginStatus string
    The plugin status of the managed instance.
    compartmentId String
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    displayName String
    The display name.
    filters List<GetWlmsManagedInstancesFilter>
    id String
    The OCID of the instance.
    pluginStatus String
    The plugin status of the managed instance.
    compartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    displayName string
    The display name.
    filters GetWlmsManagedInstancesFilter[]
    id string
    The OCID of the instance.
    pluginStatus string
    The plugin status of the managed instance.
    compartment_id str
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    display_name str
    The display name.
    filters Sequence[GetWlmsManagedInstancesFilter]
    id str
    The OCID of the instance.
    plugin_status str
    The plugin status of the managed instance.
    compartmentId String
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    displayName String
    The display name.
    filters List<Property Map>
    id String
    The OCID of the instance.
    pluginStatus String
    The plugin status of the managed instance.

    getWlmsManagedInstances Result

    The following output properties are available:

    ManagedInstanceCollections List<GetWlmsManagedInstancesManagedInstanceCollection>
    The list of managed_instance_collection.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A user-friendly name that does not have to be unique and is changeable.
    Filters List<GetWlmsManagedInstancesFilter>
    Id string
    The OCID of the managed instance.
    PluginStatus string
    The plugin status of the managed instance.
    ManagedInstanceCollections []GetWlmsManagedInstancesManagedInstanceCollection
    The list of managed_instance_collection.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A user-friendly name that does not have to be unique and is changeable.
    Filters []GetWlmsManagedInstancesFilter
    Id string
    The OCID of the managed instance.
    PluginStatus string
    The plugin status of the managed instance.
    managedInstanceCollections List<GetWlmsManagedInstancesManagedInstanceCollection>
    The list of managed_instance_collection.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A user-friendly name that does not have to be unique and is changeable.
    filters List<GetWlmsManagedInstancesFilter>
    id String
    The OCID of the managed instance.
    pluginStatus String
    The plugin status of the managed instance.
    managedInstanceCollections GetWlmsManagedInstancesManagedInstanceCollection[]
    The list of managed_instance_collection.
    compartmentId string
    The OCID of the compartment.
    displayName string
    A user-friendly name that does not have to be unique and is changeable.
    filters GetWlmsManagedInstancesFilter[]
    id string
    The OCID of the managed instance.
    pluginStatus string
    The plugin status of the managed instance.
    managed_instance_collections Sequence[GetWlmsManagedInstancesManagedInstanceCollection]
    The list of managed_instance_collection.
    compartment_id str
    The OCID of the compartment.
    display_name str
    A user-friendly name that does not have to be unique and is changeable.
    filters Sequence[GetWlmsManagedInstancesFilter]
    id str
    The OCID of the managed instance.
    plugin_status str
    The plugin status of the managed instance.
    managedInstanceCollections List<Property Map>
    The list of managed_instance_collection.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A user-friendly name that does not have to be unique and is changeable.
    filters List<Property Map>
    id String
    The OCID of the managed instance.
    pluginStatus String
    The plugin status of the managed instance.

    Supporting Types

    GetWlmsManagedInstancesFilter

    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

    GetWlmsManagedInstancesManagedInstanceCollection

    GetWlmsManagedInstancesManagedInstanceCollectionItem

    CompartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    Configurations List<GetWlmsManagedInstancesManagedInstanceCollectionItemConfiguration>
    The configuration for a managed instance.
    DisplayName string
    The display name.
    HostName string
    The FQDN of the managed instance.
    Id string
    The OCID of the instance.
    OsArch string
    The operating system architecture on the managed instance.
    OsName string
    The operating system name on the managed instance.
    PluginStatus string
    The plugin status of the managed instance.
    ServerCount int
    The number of servers running in the managed instance.
    TimeCreated string
    The date and time the managed instance was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the managed instance was last report (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    Configurations []GetWlmsManagedInstancesManagedInstanceCollectionItemConfiguration
    The configuration for a managed instance.
    DisplayName string
    The display name.
    HostName string
    The FQDN of the managed instance.
    Id string
    The OCID of the instance.
    OsArch string
    The operating system architecture on the managed instance.
    OsName string
    The operating system name on the managed instance.
    PluginStatus string
    The plugin status of the managed instance.
    ServerCount int
    The number of servers running in the managed instance.
    TimeCreated string
    The date and time the managed instance was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the managed instance was last report (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    configurations List<GetWlmsManagedInstancesManagedInstanceCollectionItemConfiguration>
    The configuration for a managed instance.
    displayName String
    The display name.
    hostName String
    The FQDN of the managed instance.
    id String
    The OCID of the instance.
    osArch String
    The operating system architecture on the managed instance.
    osName String
    The operating system name on the managed instance.
    pluginStatus String
    The plugin status of the managed instance.
    serverCount Integer
    The number of servers running in the managed instance.
    timeCreated String
    The date and time the managed instance was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the managed instance was last report (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    configurations GetWlmsManagedInstancesManagedInstanceCollectionItemConfiguration[]
    The configuration for a managed instance.
    displayName string
    The display name.
    hostName string
    The FQDN of the managed instance.
    id string
    The OCID of the instance.
    osArch string
    The operating system architecture on the managed instance.
    osName string
    The operating system name on the managed instance.
    pluginStatus string
    The plugin status of the managed instance.
    serverCount number
    The number of servers running in the managed instance.
    timeCreated string
    The date and time the managed instance was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the managed instance was last report (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    compartment_id str
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    configurations Sequence[GetWlmsManagedInstancesManagedInstanceCollectionItemConfiguration]
    The configuration for a managed instance.
    display_name str
    The display name.
    host_name str
    The FQDN of the managed instance.
    id str
    The OCID of the instance.
    os_arch str
    The operating system architecture on the managed instance.
    os_name str
    The operating system name on the managed instance.
    plugin_status str
    The plugin status of the managed instance.
    server_count int
    The number of servers running in the managed instance.
    time_created str
    The date and time the managed instance was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the managed instance was last report (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    configurations List<Property Map>
    The configuration for a managed instance.
    displayName String
    The display name.
    hostName String
    The FQDN of the managed instance.
    id String
    The OCID of the instance.
    osArch String
    The operating system architecture on the managed instance.
    osName String
    The operating system name on the managed instance.
    pluginStatus String
    The plugin status of the managed instance.
    serverCount Number
    The number of servers running in the managed instance.
    timeCreated String
    The date and time the managed instance was first reported (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the managed instance was last report (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z

    GetWlmsManagedInstancesManagedInstanceCollectionItemConfiguration

    DiscoveryInterval int
    Frequency of domain discovery to be run on the managed instance. The unit is in hours.
    DomainSearchPaths List<string>
    The whitelisted paths which domain discovery are run against.
    DiscoveryInterval int
    Frequency of domain discovery to be run on the managed instance. The unit is in hours.
    DomainSearchPaths []string
    The whitelisted paths which domain discovery are run against.
    discoveryInterval Integer
    Frequency of domain discovery to be run on the managed instance. The unit is in hours.
    domainSearchPaths List<String>
    The whitelisted paths which domain discovery are run against.
    discoveryInterval number
    Frequency of domain discovery to be run on the managed instance. The unit is in hours.
    domainSearchPaths string[]
    The whitelisted paths which domain discovery are run against.
    discovery_interval int
    Frequency of domain discovery to be run on the managed instance. The unit is in hours.
    domain_search_paths Sequence[str]
    The whitelisted paths which domain discovery are run against.
    discoveryInterval Number
    Frequency of domain discovery to be run on the managed instance. The unit is in hours.
    domainSearchPaths List<String>
    The whitelisted paths which domain discovery are run against.

    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