1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. StackMonitoring
  5. Config
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.StackMonitoring.Config

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This resource provides the Config resource in Oracle Cloud Infrastructure Stack Monitoring service.

    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

    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,
        resourceType: configResourceType,
        license: configLicense,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        displayName: configDisplayName,
        freeformTags: {
            "bar-key": "value",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_config = oci.stack_monitoring.Config("test_config",
        compartment_id=compartment_id,
        config_type=config_config_type,
        is_enabled=config_is_enabled,
        resource_type=config_resource_type,
        license=config_license,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        display_name=config_display_name,
        freeform_tags={
            "bar-key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/StackMonitoring"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := StackMonitoring.NewConfig(ctx, "test_config", &StackMonitoring.ConfigArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			ConfigType:    pulumi.Any(configConfigType),
    			IsEnabled:     pulumi.Any(configIsEnabled),
    			ResourceType:  pulumi.Any(configResourceType),
    			License:       pulumi.Any(configLicense),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			DisplayName: pulumi.Any(configDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    		})
    		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 testConfig = new Oci.StackMonitoring.Config("test_config", new()
        {
            CompartmentId = compartmentId,
            ConfigType = configConfigType,
            IsEnabled = configIsEnabled,
            ResourceType = configResourceType,
            License = configLicense,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            DisplayName = configDisplayName,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.StackMonitoring.Config;
    import com.pulumi.oci.StackMonitoring.ConfigArgs;
    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) {
            var testConfig = new Config("testConfig", ConfigArgs.builder()
                .compartmentId(compartmentId)
                .configType(configConfigType)
                .isEnabled(configIsEnabled)
                .resourceType(configResourceType)
                .license(configLicense)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .displayName(configDisplayName)
                .freeformTags(Map.of("bar-key", "value"))
                .build());
    
        }
    }
    
    resources:
      testConfig:
        type: oci:StackMonitoring:Config
        name: test_config
        properties:
          compartmentId: ${compartmentId}
          configType: ${configConfigType}
          isEnabled: ${configIsEnabled}
          resourceType: ${configResourceType}
          license: ${configLicense}
          definedTags:
            foo-namespace.bar-key: value
          displayName: ${configDisplayName}
          freeformTags:
            bar-key: value
    

    Create Config Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Config(name: string, args: ConfigArgs, opts?: CustomResourceOptions);
    @overload
    def Config(resource_name: str,
               args: ConfigArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Config(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               compartment_id: Optional[str] = None,
               config_type: Optional[str] = None,
               defined_tags: Optional[Mapping[str, str]] = None,
               display_name: Optional[str] = None,
               freeform_tags: Optional[Mapping[str, str]] = None,
               is_enabled: Optional[bool] = None,
               license: Optional[str] = None,
               resource_type: Optional[str] = None)
    func NewConfig(ctx *Context, name string, args ConfigArgs, opts ...ResourceOption) (*Config, error)
    public Config(string name, ConfigArgs args, CustomResourceOptions? opts = null)
    public Config(String name, ConfigArgs args)
    public Config(String name, ConfigArgs args, CustomResourceOptions options)
    
    type: oci:StackMonitoring:Config
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleconfigResourceResourceFromStackMonitoringconfig = new Oci.StackMonitoring.Config("exampleconfigResourceResourceFromStackMonitoringconfig", new()
    {
        CompartmentId = "string",
        ConfigType = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsEnabled = false,
        License = "string",
        ResourceType = "string",
    });
    
    example, err := StackMonitoring.NewConfig(ctx, "exampleconfigResourceResourceFromStackMonitoringconfig", &StackMonitoring.ConfigArgs{
    	CompartmentId: pulumi.String("string"),
    	ConfigType:    pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsEnabled:    pulumi.Bool(false),
    	License:      pulumi.String("string"),
    	ResourceType: pulumi.String("string"),
    })
    
    var exampleconfigResourceResourceFromStackMonitoringconfig = new Config("exampleconfigResourceResourceFromStackMonitoringconfig", ConfigArgs.builder()
        .compartmentId("string")
        .configType("string")
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .isEnabled(false)
        .license("string")
        .resourceType("string")
        .build());
    
    exampleconfig_resource_resource_from_stack_monitoringconfig = oci.stack_monitoring.Config("exampleconfigResourceResourceFromStackMonitoringconfig",
        compartment_id="string",
        config_type="string",
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        is_enabled=False,
        license="string",
        resource_type="string")
    
    const exampleconfigResourceResourceFromStackMonitoringconfig = new oci.stackmonitoring.Config("exampleconfigResourceResourceFromStackMonitoringconfig", {
        compartmentId: "string",
        configType: "string",
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        isEnabled: false,
        license: "string",
        resourceType: "string",
    });
    
    type: oci:StackMonitoring:Config
    properties:
        compartmentId: string
        configType: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        isEnabled: false
        license: string
        resourceType: string
    

    Config Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Config resource accepts the following input properties:

    CompartmentId string
    (Updatable) Compartment in which the configuration is created.
    ConfigType string
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The display name of the configuration.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEnabled bool
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    License string
    (Updatable) License edition.
    ResourceType string

    The type of resource to configure for automatic promotion.

    ** 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

    CompartmentId string
    (Updatable) Compartment in which the configuration is created.
    ConfigType string
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The display name of the configuration.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEnabled bool
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    License string
    (Updatable) License edition.
    ResourceType string

    The type of resource to configure for automatic promotion.

    ** 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

    compartmentId String
    (Updatable) Compartment in which the configuration is created.
    configType String
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The display name of the configuration.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled Boolean
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    license String
    (Updatable) License edition.
    resourceType String

    The type of resource to configure for automatic promotion.

    ** 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

    compartmentId string
    (Updatable) Compartment in which the configuration is created.
    configType string
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) The display name of the configuration.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled boolean
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    license string
    (Updatable) License edition.
    resourceType string

    The type of resource to configure for automatic promotion.

    ** 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

    compartment_id str
    (Updatable) Compartment in which the configuration is created.
    config_type str
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) The display name of the configuration.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_enabled bool
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    license str
    (Updatable) License edition.
    resource_type str

    The type of resource to configure for automatic promotion.

    ** 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

    compartmentId String
    (Updatable) Compartment in which the configuration is created.
    configType String
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The display name of the configuration.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled Boolean
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    license String
    (Updatable) License edition.
    resourceType String

    The type of resource to configure for automatic promotion.

    ** 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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Config resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the configuration.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the configuration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Config was updated.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the configuration.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the configuration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Config was updated.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the configuration.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the configuration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Config was updated.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the configuration.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the configuration was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the Config was updated.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the configuration.
    system_tags 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.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the configuration.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the configuration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Config was updated.

    Look up Existing Config Resource

    Get an existing Config resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ConfigState, opts?: CustomResourceOptions): Config
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            config_type: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_enabled: Optional[bool] = None,
            license: Optional[str] = None,
            resource_type: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> Config
    func GetConfig(ctx *Context, name string, id IDInput, state *ConfigState, opts ...ResourceOption) (*Config, error)
    public static Config Get(string name, Input<string> id, ConfigState? state, CustomResourceOptions? opts = null)
    public static Config get(String name, Output<String> id, ConfigState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) Compartment in which the configuration is created.
    ConfigType string
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The display name of the configuration.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEnabled bool
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    License string
    (Updatable) License edition.
    ResourceType string

    The type of resource to configure for automatic promotion.

    ** 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

    State string
    The current state of the configuration.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the configuration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Config was updated.
    CompartmentId string
    (Updatable) Compartment in which the configuration is created.
    ConfigType string
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The display name of the configuration.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEnabled bool
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    License string
    (Updatable) License edition.
    ResourceType string

    The type of resource to configure for automatic promotion.

    ** 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

    State string
    The current state of the configuration.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the configuration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Config was updated.
    compartmentId String
    (Updatable) Compartment in which the configuration is created.
    configType String
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The display name of the configuration.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled Boolean
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    license String
    (Updatable) License edition.
    resourceType String

    The type of resource to configure for automatic promotion.

    ** 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

    state String
    The current state of the configuration.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the configuration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Config was updated.
    compartmentId string
    (Updatable) Compartment in which the configuration is created.
    configType string
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) The display name of the configuration.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled boolean
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    license string
    (Updatable) License edition.
    resourceType string

    The type of resource to configure for automatic promotion.

    ** 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

    state string
    The current state of the configuration.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the configuration was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the Config was updated.
    compartment_id str
    (Updatable) Compartment in which the configuration is created.
    config_type str
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) The display name of the configuration.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_enabled bool
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    license str
    (Updatable) License edition.
    resource_type str

    The type of resource to configure for automatic promotion.

    ** 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

    state str
    The current state of the configuration.
    system_tags 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.
    compartmentId String
    (Updatable) Compartment in which the configuration is created.
    configType String
    The type of configuration. The only valid value is "AUTO_PROMOTE".
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The display name of the configuration.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled Boolean
    (Updatable) True if enterprise extensibility is enabled, false if it is not enabled.
    license String
    (Updatable) License edition.
    resourceType String

    The type of resource to configure for automatic promotion.

    ** 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

    state String
    The current state of the configuration.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the configuration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Config was updated.

    Import

    Configs can be imported using the id, e.g.

    $ pulumi import oci:StackMonitoring/config:Config test_config "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi