Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.StackMonitoring.getConfigs
This data source provides the list of Configs in Oracle Cloud Infrastructure Stack Monitoring service.
Get a list of configurations in a compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testConfigs = oci.StackMonitoring.getConfigs({
compartmentId: compartmentId,
displayName: configDisplayName,
state: configState,
type: configType,
});
import pulumi
import pulumi_oci as oci
test_configs = oci.StackMonitoring.get_configs(compartment_id=compartment_id,
display_name=config_display_name,
state=config_state,
type=config_type)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/stackmonitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := stackmonitoring.GetConfigs(ctx, &stackmonitoring.GetConfigsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(configDisplayName),
State: pulumi.StringRef(configState),
Type: pulumi.StringRef(configType),
}, 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 testConfigs = Oci.StackMonitoring.GetConfigs.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = configDisplayName,
State = configState,
Type = configType,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.StackMonitoring.StackMonitoringFunctions;
import com.pulumi.oci.StackMonitoring.inputs.GetConfigsArgs;
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 testConfigs = StackMonitoringFunctions.getConfigs(GetConfigsArgs.builder()
.compartmentId(compartmentId)
.displayName(configDisplayName)
.state(configState)
.type(configType)
.build());
}
}
variables:
testConfigs:
fn::invoke:
function: oci:StackMonitoring:getConfigs
arguments:
compartmentId: ${compartmentId}
displayName: ${configDisplayName}
state: ${configState}
type: ${configType}
Using getConfigs
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 getConfigs(args: GetConfigsArgs, opts?: InvokeOptions): Promise<GetConfigsResult>
function getConfigsOutput(args: GetConfigsOutputArgs, opts?: InvokeOptions): Output<GetConfigsResult>def get_configs(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetConfigsFilter]] = None,
state: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigsResult
def get_configs_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetConfigsFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConfigsResult]func GetConfigs(ctx *Context, args *GetConfigsArgs, opts ...InvokeOption) (*GetConfigsResult, error)
func GetConfigsOutput(ctx *Context, args *GetConfigsOutputArgs, opts ...InvokeOption) GetConfigsResultOutput> Note: This function is named GetConfigs in the Go SDK.
public static class GetConfigs
{
public static Task<GetConfigsResult> InvokeAsync(GetConfigsArgs args, InvokeOptions? opts = null)
public static Output<GetConfigsResult> Invoke(GetConfigsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConfigsResult> getConfigs(GetConfigsArgs args, InvokeOptions options)
public static Output<GetConfigsResult> getConfigs(GetConfigsArgs args, InvokeOptions options)
fn::invoke:
function: oci:StackMonitoring/getConfigs:getConfigs
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The ID of the compartment in which data is listed.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Configs Filter> - State string
- The current state of the Config.
- Type string
- A filter to return only configuration items for a given config type. The only valid config type is
"AUTO_PROMOTE"
- Compartment
Id string - The ID of the compartment in which data is listed.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Configs Filter - State string
- The current state of the Config.
- Type string
- A filter to return only configuration items for a given config type. The only valid config type is
"AUTO_PROMOTE"
- compartment
Id String - The ID of the compartment in which data is listed.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Configs Filter> - state String
- The current state of the Config.
- type String
- A filter to return only configuration items for a given config type. The only valid config type is
"AUTO_PROMOTE"
- compartment
Id string - The ID of the compartment in which data is listed.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Configs Filter[] - state string
- The current state of the Config.
- type string
- A filter to return only configuration items for a given config type. The only valid config type is
"AUTO_PROMOTE"
- compartment_
id str - The ID of the compartment in which data is listed.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[Get
Configs Filter] - state str
- The current state of the Config.
- type str
- A filter to return only configuration items for a given config type. The only valid config type is
"AUTO_PROMOTE"
- compartment
Id String - The ID of the compartment in which data is listed.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- state String
- The current state of the Config.
- type String
- A filter to return only configuration items for a given config type. The only valid config type is
"AUTO_PROMOTE"
getConfigs Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the configuration.
- Config
Collections List<GetConfigs Config Collection> - The list of config_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<Get
Configs Filter> - State string
- The current state of the configuration.
- Type string
- Compartment
Id string - The OCID of the compartment containing the configuration.
- Config
Collections []GetConfigs Config Collection - The list of config_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]Get
Configs Filter - State string
- The current state of the configuration.
- Type string
- compartment
Id String - The OCID of the compartment containing the configuration.
- config
Collections List<GetConfigs Config Collection> - The list of config_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<Get
Configs Filter> - state String
- The current state of the configuration.
- type String
- compartment
Id string - The OCID of the compartment containing the configuration.
- config
Collections GetConfigs Config Collection[] - The list of config_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Get
Configs Filter[] - state string
- The current state of the configuration.
- type string
- compartment_
id str - The OCID of the compartment containing the configuration.
- config_
collections Sequence[GetConfigs Config Collection] - The list of config_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Sequence[Get
Configs Filter] - state str
- The current state of the configuration.
- type str
- compartment
Id String - The OCID of the compartment containing the configuration.
- config
Collections List<Property Map> - The list of config_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters List<Property Map>
- state String
- The current state of the configuration.
- type String
Supporting Types
GetConfigsConfigCollection
GetConfigsConfigCollectionItem
- Additional
Configurations List<GetConfigs Config Collection Item Additional Configuration> - Property Details
- Compartment
Id string - The ID of the compartment in which data is listed.
- Config
Type string - The type of configuration.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire display name given.
- Dynamic
Groups List<GetConfigs Config Collection Item Dynamic Group> - List of dynamic groups dedicated for Stack Monitoring.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The Unique Oracle ID (OCID) that is immutable on creation.
- Is
Enabled bool - True if automatic activation of the Management Agent plugin, automatic promotion or enterprise extensibility is enabled, false if it is not enabled.
- Is
Manually boolOnboarded - True if customer decides marks configuration as manually configured.
- License string
- License edition.
- Policy
Names List<string> - List of policy names assigned for onboarding
- Resource
Type string - The type of resource to configure for automatic promotion.
- State string
- The current state of the Config.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the configuration was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the Config was updated.
- User
Groups List<GetConfigs Config Collection Item User Group> - List of user groups dedicated for Stack Monitoring.
- Version string
- Assigned version to given onboard configuration.
- Additional
Configurations []GetConfigs Config Collection Item Additional Configuration - Property Details
- Compartment
Id string - The ID of the compartment in which data is listed.
- Config
Type string - The type of configuration.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire display name given.
- Dynamic
Groups []GetConfigs Config Collection Item Dynamic Group - List of dynamic groups dedicated for Stack Monitoring.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The Unique Oracle ID (OCID) that is immutable on creation.
- Is
Enabled bool - True if automatic activation of the Management Agent plugin, automatic promotion or enterprise extensibility is enabled, false if it is not enabled.
- Is
Manually boolOnboarded - True if customer decides marks configuration as manually configured.
- License string
- License edition.
- Policy
Names []string - List of policy names assigned for onboarding
- Resource
Type string - The type of resource to configure for automatic promotion.
- State string
- The current state of the Config.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the configuration was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the Config was updated.
- User
Groups []GetConfigs Config Collection Item User Group - List of user groups dedicated for Stack Monitoring.
- Version string
- Assigned version to given onboard configuration.
- additional
Configurations List<GetConfigs Config Collection Item Additional Configuration> - Property Details
- compartment
Id String - The ID of the compartment in which data is listed.
- config
Type String - The type of configuration.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire display name given.
- dynamic
Groups List<GetConfigs Config Collection Item Dynamic Group> - List of dynamic groups dedicated for Stack Monitoring.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The Unique Oracle ID (OCID) that is immutable on creation.
- is
Enabled Boolean - True if automatic activation of the Management Agent plugin, automatic promotion or enterprise extensibility is enabled, false if it is not enabled.
- is
Manually BooleanOnboarded - True if customer decides marks configuration as manually configured.
- license String
- License edition.
- policy
Names List<String> - List of policy names assigned for onboarding
- resource
Type String - The type of resource to configure for automatic promotion.
- state String
- The current state of the Config.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the configuration was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the Config was updated.
- user
Groups List<GetConfigs Config Collection Item User Group> - List of user groups dedicated for Stack Monitoring.
- version String
- Assigned version to given onboard configuration.
- additional
Configurations GetConfigs Config Collection Item Additional Configuration[] - Property Details
- compartment
Id string - The ID of the compartment in which data is listed.
- config
Type string - The type of configuration.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name string - A filter to return only resources that match the entire display name given.
- dynamic
Groups GetConfigs Config Collection Item Dynamic Group[] - List of dynamic groups dedicated for Stack Monitoring.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- The Unique Oracle ID (OCID) that is immutable on creation.
- is
Enabled boolean - True if automatic activation of the Management Agent plugin, automatic promotion or enterprise extensibility is enabled, false if it is not enabled.
- is
Manually booleanOnboarded - True if customer decides marks configuration as manually configured.
- license string
- License edition.
- policy
Names string[] - List of policy names assigned for onboarding
- resource
Type string - The type of resource to configure for automatic promotion.
- state string
- The current state of the Config.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time the configuration was created. An RFC3339 formatted datetime string.
- time
Updated string - The time the Config was updated.
- user
Groups GetConfigs Config Collection Item User Group[] - List of user groups dedicated for Stack Monitoring.
- version string
- Assigned version to given onboard configuration.
- additional_
configurations Sequence[GetConfigs Config Collection Item Additional Configuration] - Property Details
- compartment_
id str - The ID of the compartment in which data is listed.
- config_
type str - The type of configuration.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display_
name str - A filter to return only resources that match the entire display name given.
- dynamic_
groups Sequence[GetConfigs Config Collection Item Dynamic Group] - List of dynamic groups dedicated for Stack Monitoring.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id str
- The Unique Oracle ID (OCID) that is immutable on creation.
- is_
enabled bool - True if automatic activation of the Management Agent plugin, automatic promotion or enterprise extensibility is enabled, false if it is not enabled.
- is_
manually_ boolonboarded - True if customer decides marks configuration as manually configured.
- license str
- License edition.
- policy_
names Sequence[str] - List of policy names assigned for onboarding
- resource_
type str - The type of resource to configure for automatic promotion.
- state str
- The current state of the Config.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The time the configuration was created. An RFC3339 formatted datetime string.
- time_
updated str - The time the Config was updated.
- user_
groups Sequence[GetConfigs Config Collection Item User Group] - List of user groups dedicated for Stack Monitoring.
- version str
- Assigned version to given onboard configuration.
- additional
Configurations List<Property Map> - Property Details
- compartment
Id String - The ID of the compartment in which data is listed.
- config
Type String - The type of configuration.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire display name given.
- dynamic
Groups List<Property Map> - List of dynamic groups dedicated for Stack Monitoring.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The Unique Oracle ID (OCID) that is immutable on creation.
- is
Enabled Boolean - True if automatic activation of the Management Agent plugin, automatic promotion or enterprise extensibility is enabled, false if it is not enabled.
- is
Manually BooleanOnboarded - True if customer decides marks configuration as manually configured.
- license String
- License edition.
- policy
Names List<String> - List of policy names assigned for onboarding
- resource
Type String - The type of resource to configure for automatic promotion.
- state String
- The current state of the Config.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the configuration was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the Config was updated.
- user
Groups List<Property Map> - List of user groups dedicated for Stack Monitoring.
- version String
- Assigned version to given onboard configuration.
GetConfigsConfigCollectionItemAdditionalConfiguration
- Properties
Map Dictionary<string, string> - Key/Value pair of Property
- Properties
Map map[string]string - Key/Value pair of Property
- properties
Map Map<String,String> - Key/Value pair of Property
- properties
Map {[key: string]: string} - Key/Value pair of Property
- properties_
map Mapping[str, str] - Key/Value pair of Property
- properties
Map Map<String> - Key/Value pair of Property
GetConfigsConfigCollectionItemDynamicGroup
- Domain string
- Identity domain name
- Name string
- Name of user Group
- Stack
Monitoring stringAssignment - Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- Domain string
- Identity domain name
- Name string
- Name of user Group
- Stack
Monitoring stringAssignment - Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- domain String
- Identity domain name
- name String
- Name of user Group
- stack
Monitoring StringAssignment - Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- domain string
- Identity domain name
- name string
- Name of user Group
- stack
Monitoring stringAssignment - Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- domain str
- Identity domain name
- name str
- Name of user Group
- stack_
monitoring_ strassignment - Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- domain String
- Identity domain name
- name String
- Name of user Group
- stack
Monitoring StringAssignment - Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
GetConfigsConfigCollectionItemUserGroup
- Domain string
- Identity domain name
- Name string
- Name of user Group
- Stack
Monitoring stringRole - Role assigned to user group in context of Stack Monitoring service. Access role can be for example: ADMINISTRATOR, OPERATOR, VIEWER, any other access role
- Domain string
- Identity domain name
- Name string
- Name of user Group
- Stack
Monitoring stringRole - Role assigned to user group in context of Stack Monitoring service. Access role can be for example: ADMINISTRATOR, OPERATOR, VIEWER, any other access role
- domain String
- Identity domain name
- name String
- Name of user Group
- stack
Monitoring StringRole - Role assigned to user group in context of Stack Monitoring service. Access role can be for example: ADMINISTRATOR, OPERATOR, VIEWER, any other access role
- domain string
- Identity domain name
- name string
- Name of user Group
- stack
Monitoring stringRole - Role assigned to user group in context of Stack Monitoring service. Access role can be for example: ADMINISTRATOR, OPERATOR, VIEWER, any other access role
- domain str
- Identity domain name
- name str
- Name of user Group
- stack_
monitoring_ strrole - Role assigned to user group in context of Stack Monitoring service. Access role can be for example: ADMINISTRATOR, OPERATOR, VIEWER, any other access role
- domain String
- Identity domain name
- name String
- Name of user Group
- stack
Monitoring StringRole - Role assigned to user group in context of Stack Monitoring service. Access role can be for example: ADMINISTRATOR, OPERATOR, VIEWER, any other access role
GetConfigsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
