1. Packages
  2. Dynatrace
  3. API Docs
  4. UserSettings
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.UserSettings

Explore with Pulumi AI

Create UserSettings Resource

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

Constructor syntax

new UserSettings(name: string, args: UserSettingsArgs, opts?: CustomResourceOptions);
@overload
def UserSettings(resource_name: str,
                 args: UserSettingsArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def UserSettings(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 auto_language: Optional[bool] = None,
                 auto_region: Optional[bool] = None,
                 auto_theme: Optional[bool] = None,
                 auto_timezone: Optional[bool] = None,
                 scope: Optional[str] = None,
                 language: Optional[str] = None,
                 region: Optional[str] = None,
                 theme: Optional[str] = None,
                 timezone: Optional[str] = None)
func NewUserSettings(ctx *Context, name string, args UserSettingsArgs, opts ...ResourceOption) (*UserSettings, error)
public UserSettings(string name, UserSettingsArgs args, CustomResourceOptions? opts = null)
public UserSettings(String name, UserSettingsArgs args)
public UserSettings(String name, UserSettingsArgs args, CustomResourceOptions options)
type: dynatrace:UserSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. UserSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. UserSettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. UserSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. UserSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. UserSettingsArgs
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 userSettingsResource = new Dynatrace.UserSettings("userSettingsResource", new()
{
    AutoLanguage = false,
    AutoRegion = false,
    AutoTheme = false,
    AutoTimezone = false,
    Scope = "string",
    Language = "string",
    Region = "string",
    Theme = "string",
    Timezone = "string",
});
Copy
example, err := dynatrace.NewUserSettings(ctx, "userSettingsResource", &dynatrace.UserSettingsArgs{
	AutoLanguage: pulumi.Bool(false),
	AutoRegion:   pulumi.Bool(false),
	AutoTheme:    pulumi.Bool(false),
	AutoTimezone: pulumi.Bool(false),
	Scope:        pulumi.String("string"),
	Language:     pulumi.String("string"),
	Region:       pulumi.String("string"),
	Theme:        pulumi.String("string"),
	Timezone:     pulumi.String("string"),
})
Copy
var userSettingsResource = new UserSettings("userSettingsResource", UserSettingsArgs.builder()
    .autoLanguage(false)
    .autoRegion(false)
    .autoTheme(false)
    .autoTimezone(false)
    .scope("string")
    .language("string")
    .region("string")
    .theme("string")
    .timezone("string")
    .build());
Copy
user_settings_resource = dynatrace.UserSettings("userSettingsResource",
    auto_language=False,
    auto_region=False,
    auto_theme=False,
    auto_timezone=False,
    scope="string",
    language="string",
    region="string",
    theme="string",
    timezone="string")
Copy
const userSettingsResource = new dynatrace.UserSettings("userSettingsResource", {
    autoLanguage: false,
    autoRegion: false,
    autoTheme: false,
    autoTimezone: false,
    scope: "string",
    language: "string",
    region: "string",
    theme: "string",
    timezone: "string",
});
Copy
type: dynatrace:UserSettings
properties:
    autoLanguage: false
    autoRegion: false
    autoTheme: false
    autoTimezone: false
    language: string
    region: string
    scope: string
    theme: string
    timezone: string
Copy

UserSettings 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 UserSettings resource accepts the following input properties:

AutoLanguage This property is required. bool
Language - use browser default
AutoRegion This property is required. bool
Region - use browser default
AutoTheme This property is required. bool
Theme - use browser default
AutoTimezone This property is required. bool
Timezone - use browser default
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (user, userdefaults)
Language string
Possible Values: En, Ja
Region string
Region
Theme string
Possible Values: Dark, Light
Timezone string
Timezone
AutoLanguage This property is required. bool
Language - use browser default
AutoRegion This property is required. bool
Region - use browser default
AutoTheme This property is required. bool
Theme - use browser default
AutoTimezone This property is required. bool
Timezone - use browser default
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (user, userdefaults)
Language string
Possible Values: En, Ja
Region string
Region
Theme string
Possible Values: Dark, Light
Timezone string
Timezone
autoLanguage This property is required. Boolean
Language - use browser default
autoRegion This property is required. Boolean
Region - use browser default
autoTheme This property is required. Boolean
Theme - use browser default
autoTimezone This property is required. Boolean
Timezone - use browser default
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of this setting (user, userdefaults)
language String
Possible Values: En, Ja
region String
Region
theme String
Possible Values: Dark, Light
timezone String
Timezone
autoLanguage This property is required. boolean
Language - use browser default
autoRegion This property is required. boolean
Region - use browser default
autoTheme This property is required. boolean
Theme - use browser default
autoTimezone This property is required. boolean
Timezone - use browser default
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (user, userdefaults)
language string
Possible Values: En, Ja
region string
Region
theme string
Possible Values: Dark, Light
timezone string
Timezone
auto_language This property is required. bool
Language - use browser default
auto_region This property is required. bool
Region - use browser default
auto_theme This property is required. bool
Theme - use browser default
auto_timezone This property is required. bool
Timezone - use browser default
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope of this setting (user, userdefaults)
language str
Possible Values: En, Ja
region str
Region
theme str
Possible Values: Dark, Light
timezone str
Timezone
autoLanguage This property is required. Boolean
Language - use browser default
autoRegion This property is required. Boolean
Region - use browser default
autoTheme This property is required. Boolean
Theme - use browser default
autoTimezone This property is required. Boolean
Timezone - use browser default
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of this setting (user, userdefaults)
language String
Possible Values: En, Ja
region String
Region
theme String
Possible Values: Dark, Light
timezone String
Timezone

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing UserSettings Resource

Get an existing UserSettings 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?: UserSettingsState, opts?: CustomResourceOptions): UserSettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_language: Optional[bool] = None,
        auto_region: Optional[bool] = None,
        auto_theme: Optional[bool] = None,
        auto_timezone: Optional[bool] = None,
        language: Optional[str] = None,
        region: Optional[str] = None,
        scope: Optional[str] = None,
        theme: Optional[str] = None,
        timezone: Optional[str] = None) -> UserSettings
func GetUserSettings(ctx *Context, name string, id IDInput, state *UserSettingsState, opts ...ResourceOption) (*UserSettings, error)
public static UserSettings Get(string name, Input<string> id, UserSettingsState? state, CustomResourceOptions? opts = null)
public static UserSettings get(String name, Output<String> id, UserSettingsState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:UserSettings    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AutoLanguage bool
Language - use browser default
AutoRegion bool
Region - use browser default
AutoTheme bool
Theme - use browser default
AutoTimezone bool
Timezone - use browser default
Language string
Possible Values: En, Ja
Region string
Region
Scope Changes to this property will trigger replacement. string
The scope of this setting (user, userdefaults)
Theme string
Possible Values: Dark, Light
Timezone string
Timezone
AutoLanguage bool
Language - use browser default
AutoRegion bool
Region - use browser default
AutoTheme bool
Theme - use browser default
AutoTimezone bool
Timezone - use browser default
Language string
Possible Values: En, Ja
Region string
Region
Scope Changes to this property will trigger replacement. string
The scope of this setting (user, userdefaults)
Theme string
Possible Values: Dark, Light
Timezone string
Timezone
autoLanguage Boolean
Language - use browser default
autoRegion Boolean
Region - use browser default
autoTheme Boolean
Theme - use browser default
autoTimezone Boolean
Timezone - use browser default
language String
Possible Values: En, Ja
region String
Region
scope Changes to this property will trigger replacement. String
The scope of this setting (user, userdefaults)
theme String
Possible Values: Dark, Light
timezone String
Timezone
autoLanguage boolean
Language - use browser default
autoRegion boolean
Region - use browser default
autoTheme boolean
Theme - use browser default
autoTimezone boolean
Timezone - use browser default
language string
Possible Values: En, Ja
region string
Region
scope Changes to this property will trigger replacement. string
The scope of this setting (user, userdefaults)
theme string
Possible Values: Dark, Light
timezone string
Timezone
auto_language bool
Language - use browser default
auto_region bool
Region - use browser default
auto_theme bool
Theme - use browser default
auto_timezone bool
Timezone - use browser default
language str
Possible Values: En, Ja
region str
Region
scope Changes to this property will trigger replacement. str
The scope of this setting (user, userdefaults)
theme str
Possible Values: Dark, Light
timezone str
Timezone
autoLanguage Boolean
Language - use browser default
autoRegion Boolean
Region - use browser default
autoTheme Boolean
Theme - use browser default
autoTimezone Boolean
Timezone - use browser default
language String
Possible Values: En, Ja
region String
Region
scope Changes to this property will trigger replacement. String
The scope of this setting (user, userdefaults)
theme String
Possible Values: Dark, Light
timezone String
Timezone

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.