import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Config resource in Oracle Cloud Infrastructure Stack Monitoring service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/stack-monitoring/latest/Config * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/stack_monitoring * * Creates a configuration item, for example to define * whether resources of a specific type should be discovered automatically. * * For example, when a new Management Agent gets registered in a certain compartment, * this Management Agent can potentially get promoted to a HOST resource. * The configuration item will determine if HOST resources in the selected compartment will be * discovered automatically. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConfig = new oci.stackmonitoring.Config("test_config", { * compartmentId: compartmentId, * configType: configConfigType, * isEnabled: configIsEnabled === "true", * resourceType: configResourceType, * license: configLicense, * definedTags: { * "foo-namespace.bar-key": "value", * }, * displayName: configDisplayName, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * Configs can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:StackMonitoring/config:Config test_config "id" * ``` */ export declare class Config extends pulumi.CustomResource { /** * Get an existing Config resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ConfigState, opts?: pulumi.CustomResourceOptions): Config; /** * Returns true if the given object is an instance of Config. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Config; /** * (Updatable) Property Details */ readonly additionalConfigurations: pulumi.Output; /** * (Updatable) Compartment in which the configuration is created. */ readonly compartmentId: pulumi.Output; /** * The type of configuration. The only valid value is `"AUTO_PROMOTE"`. */ readonly configType: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The display name of the configuration. */ readonly displayName: pulumi.Output; /** * (Updatable) List of dynamic groups dedicated for Stack Monitoring. */ readonly dynamicGroups: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) True if enterprise extensibility is enabled, false if it is not enabled. */ readonly isEnabled: pulumi.Output; /** * (Updatable) True if customer decides marks configuration as manually configured. */ readonly isManuallyOnboarded: pulumi.Output; /** * (Updatable) License edition. */ readonly license: pulumi.Output; /** * (Updatable) List of policy names assigned for onboarding */ readonly policyNames: pulumi.Output; /** * The type of resource to configure for automatic promotion. */ readonly resourceType: pulumi.Output; /** * The current state of the configuration. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the configuration was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the Config was updated. */ readonly timeUpdated: pulumi.Output; /** * (Updatable) List of user groups dedicated for Stack Monitoring. */ readonly userGroups: pulumi.Output; /** * (Updatable) Assigned version to given onboard configuration. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly version: pulumi.Output; /** * Create a Config resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Config resources. */ export interface ConfigState { /** * (Updatable) Property Details */ additionalConfigurations?: pulumi.Input; /** * (Updatable) Compartment in which the configuration is created. */ compartmentId?: pulumi.Input; /** * The type of configuration. The only valid value is `"AUTO_PROMOTE"`. */ configType?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The display name of the configuration. */ displayName?: pulumi.Input; /** * (Updatable) List of dynamic groups dedicated for Stack Monitoring. */ dynamicGroups?: pulumi.Input[] | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) True if enterprise extensibility is enabled, false if it is not enabled. */ isEnabled?: pulumi.Input; /** * (Updatable) True if customer decides marks configuration as manually configured. */ isManuallyOnboarded?: pulumi.Input; /** * (Updatable) License edition. */ license?: pulumi.Input; /** * (Updatable) List of policy names assigned for onboarding */ policyNames?: pulumi.Input[] | undefined>; /** * The type of resource to configure for automatic promotion. */ resourceType?: pulumi.Input; /** * The current state of the configuration. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the configuration was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the Config was updated. */ timeUpdated?: pulumi.Input; /** * (Updatable) List of user groups dedicated for Stack Monitoring. */ userGroups?: pulumi.Input[] | undefined>; /** * (Updatable) Assigned version to given onboard configuration. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ version?: pulumi.Input; } /** * The set of arguments for constructing a Config resource. */ export interface ConfigArgs { /** * (Updatable) Property Details */ additionalConfigurations?: pulumi.Input; /** * (Updatable) Compartment in which the configuration is created. */ compartmentId: pulumi.Input; /** * The type of configuration. The only valid value is `"AUTO_PROMOTE"`. */ configType: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The display name of the configuration. */ displayName?: pulumi.Input; /** * (Updatable) List of dynamic groups dedicated for Stack Monitoring. */ dynamicGroups?: pulumi.Input[] | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) True if enterprise extensibility is enabled, false if it is not enabled. */ isEnabled?: pulumi.Input; /** * (Updatable) True if customer decides marks configuration as manually configured. */ isManuallyOnboarded?: pulumi.Input; /** * (Updatable) License edition. */ license?: pulumi.Input; /** * (Updatable) List of policy names assigned for onboarding */ policyNames?: pulumi.Input[] | undefined>; /** * The type of resource to configure for automatic promotion. */ resourceType?: pulumi.Input; /** * (Updatable) List of user groups dedicated for Stack Monitoring. */ userGroups?: pulumi.Input[] | undefined>; /** * (Updatable) Assigned version to given onboard configuration. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ version?: pulumi.Input; } //# sourceMappingURL=config.d.ts.map