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 string
- The unique name of the resource.
- args UserSettingsArgs
- 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 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 string
- The unique name of the resource.
- args UserSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
const userSettingsResource = new dynatrace.UserSettings("userSettingsResource", {
autoLanguage: false,
autoRegion: false,
autoTheme: false,
autoTimezone: false,
scope: "string",
language: "string",
region: "string",
theme: "string",
timezone: "string",
});
type: dynatrace:UserSettings
properties:
autoLanguage: false
autoRegion: false
autoTheme: false
autoTimezone: false
language: string
region: string
scope: string
theme: string
timezone: string
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:
- 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
- Scope 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 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
- Scope 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 Boolean - Language - use browser default
- auto
Region Boolean - Region - use browser default
- auto
Theme Boolean - Theme - use browser default
- auto
Timezone Boolean - Timezone - use browser default
- scope 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 boolean - Language - use browser default
- auto
Region boolean - Region - use browser default
- auto
Theme boolean - Theme - use browser default
- auto
Timezone boolean - Timezone - use browser default
- scope 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 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
- scope 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
- auto
Language Boolean - Language - use browser default
- auto
Region Boolean - Region - use browser default
- auto
Theme Boolean - Theme - use browser default
- auto
Timezone Boolean - Timezone - use browser default
- scope 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)
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.
- 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 string
- Possible Values:
En
,Ja
- Region string
- Region
- Scope 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 string
- Possible Values:
En
,Ja
- Region string
- Region
- Scope string
- The scope of this setting (user, userdefaults)
- Theme string
- Possible Values:
Dark
,Light
- Timezone string
- Timezone
- auto
Language Boolean - Language - use browser default
- auto
Region Boolean - Region - use browser default
- auto
Theme Boolean - Theme - use browser default
- auto
Timezone Boolean - Timezone - use browser default
- language String
- Possible Values:
En
,Ja
- region String
- Region
- scope String
- The scope of this setting (user, userdefaults)
- theme String
- Possible Values:
Dark
,Light
- timezone String
- Timezone
- auto
Language boolean - Language - use browser default
- auto
Region boolean - Region - use browser default
- auto
Theme boolean - Theme - use browser default
- auto
Timezone boolean - Timezone - use browser default
- language string
- Possible Values:
En
,Ja
- region string
- Region
- scope 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 str
- The scope of this setting (user, userdefaults)
- theme str
- Possible Values:
Dark
,Light
- timezone str
- Timezone
- auto
Language Boolean - Language - use browser default
- auto
Region Boolean - Region - use browser default
- auto
Theme Boolean - Theme - use browser default
- auto
Timezone Boolean - Timezone - use browser default
- language String
- Possible Values:
En
,Ja
- region String
- Region
- scope 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.