Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.oci.getWlmsManagedInstances
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 dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
- Display
Name string - The display name.
- Filters
List<Get
Wlms Managed Instances Filter> - Id string
- The OCID of the instance.
- Plugin
Status string - The plugin status of the managed instance.
- Compartment
Id string - The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
- Display
Name string - The display name.
- Filters
[]Get
Wlms Managed Instances Filter - Id string
- The OCID of the instance.
- Plugin
Status string - The plugin status of the managed instance.
- compartment
Id String - The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
- display
Name String - The display name.
- filters
List<Get
Wlms Managed Instances Filter> - id String
- The OCID of the instance.
- plugin
Status String - The plugin status of the managed instance.
- compartment
Id string - The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
- display
Name string - The display name.
- filters
Get
Wlms Managed Instances Filter[] - id string
- The OCID of the instance.
- plugin
Status 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[Get
Wlms Managed Instances Filter] - id str
- The OCID of the instance.
- plugin_
status str - The plugin status of the managed instance.
- compartment
Id String - The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
- display
Name String - The display name.
- filters List<Property Map>
- id String
- The OCID of the instance.
- plugin
Status String - The plugin status of the managed instance.
getWlmsManagedInstances Result
The following output properties are available:
- Managed
Instance List<GetCollections Wlms Managed Instances Managed Instance Collection> - The list of managed_instance_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name that does not have to be unique and is changeable.
- Filters
List<Get
Wlms Managed Instances Filter> - Id string
- The OCID of the managed instance.
- Plugin
Status string - The plugin status of the managed instance.
- Managed
Instance []GetCollections Wlms Managed Instances Managed Instance Collection - The list of managed_instance_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name that does not have to be unique and is changeable.
- Filters
[]Get
Wlms Managed Instances Filter - Id string
- The OCID of the managed instance.
- Plugin
Status string - The plugin status of the managed instance.
- managed
Instance List<GetCollections Wlms Managed Instances Managed Instance Collection> - The list of managed_instance_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name that does not have to be unique and is changeable.
- filters
List<Get
Wlms Managed Instances Filter> - id String
- The OCID of the managed instance.
- plugin
Status String - The plugin status of the managed instance.
- managed
Instance GetCollections Wlms Managed Instances Managed Instance Collection[] - The list of managed_instance_collection.
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name that does not have to be unique and is changeable.
- filters
Get
Wlms Managed Instances Filter[] - id string
- The OCID of the managed instance.
- plugin
Status string - The plugin status of the managed instance.
- managed_
instance_ Sequence[Getcollections Wlms Managed Instances Managed Instance Collection] - 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[Get
Wlms Managed Instances Filter] - id str
- The OCID of the managed instance.
- plugin_
status str - The plugin status of the managed instance.
- managed
Instance List<Property Map>Collections - The list of managed_instance_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name 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.
- plugin
Status String - The plugin status of the managed instance.
Supporting Types
GetWlmsManagedInstancesFilter
GetWlmsManagedInstancesManagedInstanceCollection
GetWlmsManagedInstancesManagedInstanceCollectionItem
- Compartment
Id string - The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
- Configurations
List<Get
Wlms Managed Instances Managed Instance Collection Item Configuration> - The configuration for a managed instance.
- Display
Name string - The display name.
- Host
Name string - The FQDN of the managed instance.
- Id string
- The OCID of the instance.
- Os
Arch string - The operating system architecture on the managed instance.
- Os
Name string - The operating system name on the managed instance.
- Plugin
Status string - The plugin status of the managed instance.
- Server
Count int - The number of servers running in the managed instance.
- Time
Created string - The date and time the managed instance was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the managed instance was last report (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
- Configurations
[]Get
Wlms Managed Instances Managed Instance Collection Item Configuration - The configuration for a managed instance.
- Display
Name string - The display name.
- Host
Name string - The FQDN of the managed instance.
- Id string
- The OCID of the instance.
- Os
Arch string - The operating system architecture on the managed instance.
- Os
Name string - The operating system name on the managed instance.
- Plugin
Status string - The plugin status of the managed instance.
- Server
Count int - The number of servers running in the managed instance.
- Time
Created string - The date and time the managed instance was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the managed instance was last report (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
- configurations
List<Get
Wlms Managed Instances Managed Instance Collection Item Configuration> - The configuration for a managed instance.
- display
Name String - The display name.
- host
Name String - The FQDN of the managed instance.
- id String
- The OCID of the instance.
- os
Arch String - The operating system architecture on the managed instance.
- os
Name String - The operating system name on the managed instance.
- plugin
Status String - The plugin status of the managed instance.
- server
Count Integer - The number of servers running in the managed instance.
- time
Created String - The date and time the managed instance was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the managed instance was last report (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
- configurations
Get
Wlms Managed Instances Managed Instance Collection Item Configuration[] - The configuration for a managed instance.
- display
Name string - The display name.
- host
Name string - The FQDN of the managed instance.
- id string
- The OCID of the instance.
- os
Arch string - The operating system architecture on the managed instance.
- os
Name string - The operating system name on the managed instance.
- plugin
Status string - The plugin status of the managed instance.
- server
Count number - The number of servers running in the managed instance.
- time
Created string - The date and time the managed instance was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - time
Updated 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[Get
Wlms Managed Instances Managed Instance Collection Item Configuration] - 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
- compartment
Id 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.
- display
Name String - The display name.
- host
Name String - The FQDN of the managed instance.
- id String
- The OCID of the instance.
- os
Arch String - The operating system architecture on the managed instance.
- os
Name String - The operating system name on the managed instance.
- plugin
Status String - The plugin status of the managed instance.
- server
Count Number - The number of servers running in the managed instance.
- time
Created String - The date and time the managed instance was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the managed instance was last report (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z
GetWlmsManagedInstancesManagedInstanceCollectionItemConfiguration
- Discovery
Interval int - Frequency of domain discovery to be run on the managed instance. The unit is in hours.
- Domain
Search List<string>Paths - 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 []stringPaths - The whitelisted paths which domain discovery are run against.
- discovery
Interval Integer - Frequency of domain discovery to be run on the managed instance. The unit is in hours.
- domain
Search List<String>Paths - The whitelisted paths which domain discovery are run against.
- discovery
Interval number - Frequency of domain discovery to be run on the managed instance. The unit is in hours.
- domain
Search string[]Paths - 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_ Sequence[str]paths - The whitelisted paths which domain discovery are run against.
- discovery
Interval Number - Frequency of domain discovery to be run on the managed instance. The unit is in hours.
- domain
Search List<String>Paths - 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
ociTerraform Provider.
