oci.StackMonitoring.Config
Explore with Pulumi AI
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,
           config_type: Optional[str] = None,
           compartment_id: Optional[str] = None,
           freeform_tags: Optional[Mapping[str, str]] = None,
           defined_tags: Optional[Mapping[str, str]] = None,
           display_name: Optional[str] = None,
           dynamic_groups: Optional[Sequence[ConfigDynamicGroupArgs]] = None,
           additional_configurations: Optional[ConfigAdditionalConfigurationsArgs] = None,
           is_enabled: Optional[bool] = None,
           is_manually_onboarded: Optional[bool] = None,
           license: Optional[str] = None,
           policy_names: Optional[Sequence[str]] = None,
           resource_type: Optional[str] = None,
           user_groups: Optional[Sequence[ConfigUserGroupArgs]] = None,
           version: 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()
{
    ConfigType = "string",
    CompartmentId = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    DisplayName = "string",
    DynamicGroups = new[]
    {
        new Oci.StackMonitoring.Inputs.ConfigDynamicGroupArgs
        {
            Domain = "string",
            Name = "string",
            StackMonitoringAssignment = "string",
        },
    },
    AdditionalConfigurations = new Oci.StackMonitoring.Inputs.ConfigAdditionalConfigurationsArgs
    {
        PropertiesMap = 
        {
            { "string", "string" },
        },
    },
    IsEnabled = false,
    IsManuallyOnboarded = false,
    License = "string",
    PolicyNames = new[]
    {
        "string",
    },
    ResourceType = "string",
    UserGroups = new[]
    {
        new Oci.StackMonitoring.Inputs.ConfigUserGroupArgs
        {
            Domain = "string",
            Name = "string",
            StackMonitoringRole = "string",
        },
    },
    Version = "string",
});
example, err := stackmonitoring.NewConfig(ctx, "exampleconfigResourceResourceFromStackMonitoringconfig", &stackmonitoring.ConfigArgs{
	ConfigType:    pulumi.String("string"),
	CompartmentId: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DisplayName: pulumi.String("string"),
	DynamicGroups: stackmonitoring.ConfigDynamicGroupArray{
		&stackmonitoring.ConfigDynamicGroupArgs{
			Domain:                    pulumi.String("string"),
			Name:                      pulumi.String("string"),
			StackMonitoringAssignment: pulumi.String("string"),
		},
	},
	AdditionalConfigurations: &stackmonitoring.ConfigAdditionalConfigurationsArgs{
		PropertiesMap: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
	},
	IsEnabled:           pulumi.Bool(false),
	IsManuallyOnboarded: pulumi.Bool(false),
	License:             pulumi.String("string"),
	PolicyNames: pulumi.StringArray{
		pulumi.String("string"),
	},
	ResourceType: pulumi.String("string"),
	UserGroups: stackmonitoring.ConfigUserGroupArray{
		&stackmonitoring.ConfigUserGroupArgs{
			Domain:              pulumi.String("string"),
			Name:                pulumi.String("string"),
			StackMonitoringRole: pulumi.String("string"),
		},
	},
	Version: pulumi.String("string"),
})
var exampleconfigResourceResourceFromStackMonitoringconfig = new com.pulumi.oci.StackMonitoring.Config("exampleconfigResourceResourceFromStackMonitoringconfig", com.pulumi.oci.StackMonitoring.ConfigArgs.builder()
    .configType("string")
    .compartmentId("string")
    .freeformTags(Map.of("string", "string"))
    .definedTags(Map.of("string", "string"))
    .displayName("string")
    .dynamicGroups(ConfigDynamicGroupArgs.builder()
        .domain("string")
        .name("string")
        .stackMonitoringAssignment("string")
        .build())
    .additionalConfigurations(ConfigAdditionalConfigurationsArgs.builder()
        .propertiesMap(Map.of("string", "string"))
        .build())
    .isEnabled(false)
    .isManuallyOnboarded(false)
    .license("string")
    .policyNames("string")
    .resourceType("string")
    .userGroups(ConfigUserGroupArgs.builder()
        .domain("string")
        .name("string")
        .stackMonitoringRole("string")
        .build())
    .version("string")
    .build());
exampleconfig_resource_resource_from_stack_monitoringconfig = oci.stack_monitoring.Config("exampleconfigResourceResourceFromStackMonitoringconfig",
    config_type="string",
    compartment_id="string",
    freeform_tags={
        "string": "string",
    },
    defined_tags={
        "string": "string",
    },
    display_name="string",
    dynamic_groups=[{
        "domain": "string",
        "name": "string",
        "stack_monitoring_assignment": "string",
    }],
    additional_configurations={
        "properties_map": {
            "string": "string",
        },
    },
    is_enabled=False,
    is_manually_onboarded=False,
    license="string",
    policy_names=["string"],
    resource_type="string",
    user_groups=[{
        "domain": "string",
        "name": "string",
        "stack_monitoring_role": "string",
    }],
    version="string")
const exampleconfigResourceResourceFromStackMonitoringconfig = new oci.stackmonitoring.Config("exampleconfigResourceResourceFromStackMonitoringconfig", {
    configType: "string",
    compartmentId: "string",
    freeformTags: {
        string: "string",
    },
    definedTags: {
        string: "string",
    },
    displayName: "string",
    dynamicGroups: [{
        domain: "string",
        name: "string",
        stackMonitoringAssignment: "string",
    }],
    additionalConfigurations: {
        propertiesMap: {
            string: "string",
        },
    },
    isEnabled: false,
    isManuallyOnboarded: false,
    license: "string",
    policyNames: ["string"],
    resourceType: "string",
    userGroups: [{
        domain: "string",
        name: "string",
        stackMonitoringRole: "string",
    }],
    version: "string",
});
type: oci:StackMonitoring:Config
properties:
    additionalConfigurations:
        propertiesMap:
            string: string
    compartmentId: string
    configType: string
    definedTags:
        string: string
    displayName: string
    dynamicGroups:
        - domain: string
          name: string
          stackMonitoringAssignment: string
    freeformTags:
        string: string
    isEnabled: false
    isManuallyOnboarded: false
    license: string
    policyNames:
        - string
    resourceType: string
    userGroups:
        - domain: string
          name: string
          stackMonitoringRole: string
    version: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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".
- AdditionalConfigurations ConfigAdditional Configurations 
- (Updatable) Property Details
- 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.
- DynamicGroups List<ConfigDynamic Group> 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- IsManually boolOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- License string
- (Updatable) License edition.
- PolicyNames List<string>
- (Updatable) List of policy names assigned for onboarding
- ResourceType string
- The type of resource to configure for automatic promotion.
- UserGroups List<ConfigUser Group> 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- Version string
- (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 
- CompartmentId string
- (Updatable) Compartment in which the configuration is created.
- ConfigType string
- The type of configuration. The only valid value is "AUTO_PROMOTE".
- AdditionalConfigurations ConfigAdditional Configurations Args 
- (Updatable) Property Details
- 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.
- DynamicGroups []ConfigDynamic Group Args 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- IsManually boolOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- License string
- (Updatable) License edition.
- PolicyNames []string
- (Updatable) List of policy names assigned for onboarding
- ResourceType string
- The type of resource to configure for automatic promotion.
- UserGroups []ConfigUser Group Args 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- Version string
- (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 
- compartmentId String
- (Updatable) Compartment in which the configuration is created.
- configType String
- The type of configuration. The only valid value is "AUTO_PROMOTE".
- additionalConfigurations ConfigAdditional Configurations 
- (Updatable) Property Details
- 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.
- dynamicGroups List<ConfigDynamic Group> 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- isManually BooleanOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- license String
- (Updatable) License edition.
- policyNames List<String>
- (Updatable) List of policy names assigned for onboarding
- resourceType String
- The type of resource to configure for automatic promotion.
- userGroups List<ConfigUser Group> 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- version String
- (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 
- compartmentId string
- (Updatable) Compartment in which the configuration is created.
- configType string
- The type of configuration. The only valid value is "AUTO_PROMOTE".
- additionalConfigurations ConfigAdditional Configurations 
- (Updatable) Property Details
- {[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.
- dynamicGroups ConfigDynamic Group[] 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- {[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.
- isManually booleanOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- license string
- (Updatable) License edition.
- policyNames string[]
- (Updatable) List of policy names assigned for onboarding
- resourceType string
- The type of resource to configure for automatic promotion.
- userGroups ConfigUser Group[] 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- version string
- (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 
- 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".
- additional_configurations ConfigAdditional Configurations Args 
- (Updatable) Property Details
- 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.
- dynamic_groups Sequence[ConfigDynamic Group Args] 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- is_manually_ boolonboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- license str
- (Updatable) License edition.
- policy_names Sequence[str]
- (Updatable) List of policy names assigned for onboarding
- resource_type str
- The type of resource to configure for automatic promotion.
- user_groups Sequence[ConfigUser Group Args] 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- version str
- (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 
- compartmentId String
- (Updatable) Compartment in which the configuration is created.
- configType String
- The type of configuration. The only valid value is "AUTO_PROMOTE".
- additionalConfigurations Property Map
- (Updatable) Property Details
- 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.
- dynamicGroups List<Property Map>
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- isManually BooleanOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- license String
- (Updatable) License edition.
- policyNames List<String>
- (Updatable) List of policy names assigned for onboarding
- resourceType String
- The type of resource to configure for automatic promotion.
- userGroups List<Property Map>
- (Updatable) List of user groups dedicated for Stack Monitoring.
- version String
- (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 
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.
- 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.
- 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.
- 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.
- {[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.
- 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.
- 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,
        additional_configurations: Optional[ConfigAdditionalConfigurationsArgs] = None,
        compartment_id: Optional[str] = None,
        config_type: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        dynamic_groups: Optional[Sequence[ConfigDynamicGroupArgs]] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        is_enabled: Optional[bool] = None,
        is_manually_onboarded: Optional[bool] = None,
        license: Optional[str] = None,
        policy_names: Optional[Sequence[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,
        user_groups: Optional[Sequence[ConfigUserGroupArgs]] = None,
        version: Optional[str] = None) -> Configfunc 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)resources:  _:    type: oci:StackMonitoring:Config    get:      id: ${id}- 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.
- AdditionalConfigurations ConfigAdditional Configurations 
- (Updatable) Property Details
- CompartmentId string
- (Updatable) Compartment in which the configuration is created.
- ConfigType string
- The type of configuration. The only valid value is "AUTO_PROMOTE".
- 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.
- DynamicGroups List<ConfigDynamic Group> 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- IsManually boolOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- License string
- (Updatable) License edition.
- PolicyNames List<string>
- (Updatable) List of policy names assigned for onboarding
- ResourceType string
- The type of resource to configure for automatic promotion.
- State string
- The current state of the configuration.
- 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.
- UserGroups List<ConfigUser Group> 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- Version string
- (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 
- AdditionalConfigurations ConfigAdditional Configurations Args 
- (Updatable) Property Details
- CompartmentId string
- (Updatable) Compartment in which the configuration is created.
- ConfigType string
- The type of configuration. The only valid value is "AUTO_PROMOTE".
- 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.
- DynamicGroups []ConfigDynamic Group Args 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- IsManually boolOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- License string
- (Updatable) License edition.
- PolicyNames []string
- (Updatable) List of policy names assigned for onboarding
- ResourceType string
- The type of resource to configure for automatic promotion.
- State string
- The current state of the configuration.
- 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.
- UserGroups []ConfigUser Group Args 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- Version string
- (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 
- additionalConfigurations ConfigAdditional Configurations 
- (Updatable) Property Details
- compartmentId String
- (Updatable) Compartment in which the configuration is created.
- configType String
- The type of configuration. The only valid value is "AUTO_PROMOTE".
- 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.
- dynamicGroups List<ConfigDynamic Group> 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- isManually BooleanOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- license String
- (Updatable) License edition.
- policyNames List<String>
- (Updatable) List of policy names assigned for onboarding
- resourceType String
- The type of resource to configure for automatic promotion.
- state String
- The current state of the configuration.
- 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.
- userGroups List<ConfigUser Group> 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- version String
- (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 
- additionalConfigurations ConfigAdditional Configurations 
- (Updatable) Property Details
- compartmentId string
- (Updatable) Compartment in which the configuration is created.
- configType string
- The type of configuration. The only valid value is "AUTO_PROMOTE".
- {[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.
- dynamicGroups ConfigDynamic Group[] 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- {[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.
- isManually booleanOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- license string
- (Updatable) License edition.
- policyNames string[]
- (Updatable) List of policy names assigned for onboarding
- resourceType string
- The type of resource to configure for automatic promotion.
- state string
- The current state of the configuration.
- {[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.
- userGroups ConfigUser Group[] 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- version string
- (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 
- additional_configurations ConfigAdditional Configurations Args 
- (Updatable) Property Details
- 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".
- 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.
- dynamic_groups Sequence[ConfigDynamic Group Args] 
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- is_manually_ boolonboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- license str
- (Updatable) License edition.
- policy_names Sequence[str]
- (Updatable) 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 configuration.
- 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[ConfigUser Group Args] 
- (Updatable) List of user groups dedicated for Stack Monitoring.
- version str
- (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 
- additionalConfigurations Property Map
- (Updatable) Property Details
- compartmentId String
- (Updatable) Compartment in which the configuration is created.
- configType String
- The type of configuration. The only valid value is "AUTO_PROMOTE".
- 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.
- dynamicGroups List<Property Map>
- (Updatable) List of dynamic groups dedicated for Stack Monitoring.
- 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.
- isManually BooleanOnboarded 
- (Updatable) True if customer decides marks configuration as manually configured.
- license String
- (Updatable) License edition.
- policyNames List<String>
- (Updatable) List of policy names assigned for onboarding
- resourceType String
- The type of resource to configure for automatic promotion.
- state String
- The current state of the configuration.
- 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.
- userGroups List<Property Map>
- (Updatable) List of user groups dedicated for Stack Monitoring.
- version String
- (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 
Supporting Types
ConfigAdditionalConfigurations, ConfigAdditionalConfigurationsArgs      
- PropertiesMap Dictionary<string, string>
- (Updatable) Key/Value pair of Property
- PropertiesMap map[string]string
- (Updatable) Key/Value pair of Property
- propertiesMap Map<String,String>
- (Updatable) Key/Value pair of Property
- propertiesMap {[key: string]: string}
- (Updatable) Key/Value pair of Property
- properties_map Mapping[str, str]
- (Updatable) Key/Value pair of Property
- propertiesMap Map<String>
- (Updatable) Key/Value pair of Property
ConfigDynamicGroup, ConfigDynamicGroupArgs      
- Domain string
- (Updatable) Identity domain name
- Name string
- (Updatable) Name of dynamic Group
- StackMonitoring stringAssignment 
- (Updatable) Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- Domain string
- (Updatable) Identity domain name
- Name string
- (Updatable) Name of dynamic Group
- StackMonitoring stringAssignment 
- (Updatable) Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- domain String
- (Updatable) Identity domain name
- name String
- (Updatable) Name of dynamic Group
- stackMonitoring StringAssignment 
- (Updatable) Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- domain string
- (Updatable) Identity domain name
- name string
- (Updatable) Name of dynamic Group
- stackMonitoring stringAssignment 
- (Updatable) Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- domain str
- (Updatable) Identity domain name
- name str
- (Updatable) Name of dynamic Group
- stack_monitoring_ strassignment 
- (Updatable) Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
- domain String
- (Updatable) Identity domain name
- name String
- (Updatable) Name of dynamic Group
- stackMonitoring StringAssignment 
- (Updatable) Assignment of dynamic group in context of Stack Monitoring service. It describes the purpose of dynamic groups in Stack Monitoring.
ConfigUserGroup, ConfigUserGroupArgs      
- Domain string
- (Updatable) Identity domain name
- Name string
- (Updatable) Name of user Group
- StackMonitoring stringRole 
- (Updatable) 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
- (Updatable) Identity domain name
- Name string
- (Updatable) Name of user Group
- StackMonitoring stringRole 
- (Updatable) 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
- (Updatable) Identity domain name
- name String
- (Updatable) Name of user Group
- stackMonitoring StringRole 
- (Updatable) 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
- (Updatable) Identity domain name
- name string
- (Updatable) Name of user Group
- stackMonitoring stringRole 
- (Updatable) 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
- (Updatable) Identity domain name
- name str
- (Updatable) Name of user Group
- stack_monitoring_ strrole 
- (Updatable) 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
- (Updatable) Identity domain name
- name String
- (Updatable) Name of user Group
- stackMonitoring StringRole 
- (Updatable) Role assigned to user group in context of Stack Monitoring service. Access role can be for example: ADMINISTRATOR, OPERATOR, VIEWER, any other access role
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 ociTerraform Provider.