import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Configs in Oracle Cloud Infrastructure Apm Config service. * * Returns all configuration items, which can optionally be filtered by configuration type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConfigs = oci.apmconfig.getConfigs({ * apmDomainId: testApmDomain.id, * configType: configConfigType, * definedTagEquals: configDefinedTagEquals, * definedTagExists: configDefinedTagExists, * displayName: configDisplayName, * freeformTagEquals: configFreeformTagEquals, * freeformTagExists: configFreeformTagExists, * optionsGroup: configOptionsGroup, * }); * ``` */ export declare function getConfigs(args: GetConfigsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConfigs. */ export interface GetConfigsArgs { /** * The APM Domain ID the request is intended for. */ apmDomainId: string; /** * A filter to match configuration items of a given type. Supported values are SPAN_FILTER, METRIC_GROUP, APDEX, AGENT and MACS_APM_EXTENSION. */ configType?: string; /** * A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". */ definedTagEquals?: string[]; /** * A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) or "{namespace}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". */ definedTagExists?: string[]; /** * A filter to return resources that match the given display name. */ displayName?: string; filters?: inputs.ApmConfig.GetConfigsFilter[]; /** * A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". */ freeformTagEquals?: string[]; /** * A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. The key for each tag is "{tagName}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for different tag names are interpreted as "AND". */ freeformTagExists?: string[]; /** * A filter to return OPTIONS resources that match the given group. */ optionsGroup?: string; } /** * A collection of values returned by getConfigs. */ export interface GetConfigsResult { readonly apmDomainId: string; /** * The list of config_collection. */ readonly configCollections: outputs.ApmConfig.GetConfigsConfigCollection[]; /** * The type of configuration item. */ readonly configType?: string; readonly definedTagEquals?: string[]; readonly definedTagExists?: string[]; /** * The name by which a configuration entity is displayed to the end user. */ readonly displayName?: string; readonly filters?: outputs.ApmConfig.GetConfigsFilter[]; readonly freeformTagEquals?: string[]; readonly freeformTagExists?: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A string that specifies the group that an OPTIONS item belongs to. */ readonly optionsGroup?: string; } /** * This data source provides the list of Configs in Oracle Cloud Infrastructure Apm Config service. * * Returns all configuration items, which can optionally be filtered by configuration type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConfigs = oci.apmconfig.getConfigs({ * apmDomainId: testApmDomain.id, * configType: configConfigType, * definedTagEquals: configDefinedTagEquals, * definedTagExists: configDefinedTagExists, * displayName: configDisplayName, * freeformTagEquals: configFreeformTagEquals, * freeformTagExists: configFreeformTagExists, * optionsGroup: configOptionsGroup, * }); * ``` */ export declare function getConfigsOutput(args: GetConfigsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConfigs. */ export interface GetConfigsOutputArgs { /** * The APM Domain ID the request is intended for. */ apmDomainId: pulumi.Input; /** * A filter to match configuration items of a given type. Supported values are SPAN_FILTER, METRIC_GROUP, APDEX, AGENT and MACS_APM_EXTENSION. */ configType?: pulumi.Input; /** * A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". */ definedTagEquals?: pulumi.Input[] | undefined>; /** * A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) or "{namespace}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". */ definedTagExists?: pulumi.Input[] | undefined>; /** * A filter to return resources that match the given display name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". */ freeformTagEquals?: pulumi.Input[] | undefined>; /** * A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. The key for each tag is "{tagName}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for different tag names are interpreted as "AND". */ freeformTagExists?: pulumi.Input[] | undefined>; /** * A filter to return OPTIONS resources that match the given group. */ optionsGroup?: pulumi.Input; } //# sourceMappingURL=getConfigs.d.ts.map