1. Packages
  2. Dynatrace
  3. API Docs
  4. UserSettings
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.UserSettings

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    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,
                     language: Optional[str] = None,
                     region: Optional[str] = None,
                     scope: 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.

    Example

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

    var userSettingsResource = new Dynatrace.UserSettings("userSettingsResource", new()
    {
        Language = "string",
        Region = "string",
        Scope = "string",
        Theme = "string",
        Timezone = "string",
    });
    
    example, err := dynatrace.NewUserSettings(ctx, "userSettingsResource", &dynatrace.UserSettingsArgs{
    	Language: pulumi.String("string"),
    	Region:   pulumi.String("string"),
    	Scope:    pulumi.String("string"),
    	Theme:    pulumi.String("string"),
    	Timezone: pulumi.String("string"),
    })
    
    var userSettingsResource = new UserSettings("userSettingsResource", UserSettingsArgs.builder()        
        .language("string")
        .region("string")
        .scope("string")
        .theme("string")
        .timezone("string")
        .build());
    
    user_settings_resource = dynatrace.UserSettings("userSettingsResource",
        language="string",
        region="string",
        scope="string",
        theme="string",
        timezone="string")
    
    const userSettingsResource = new dynatrace.UserSettings("userSettingsResource", {
        language: "string",
        region: "string",
        scope: "string",
        theme: "string",
        timezone: "string",
    });
    
    type: dynatrace:UserSettings
    properties:
        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

    The UserSettings resource accepts the following input properties:

    Language string
    Possible Values: Auto, En, Ja
    Region string
    Region
    Scope string
    The scope of this setting (user, userdefaults)
    Theme string
    Possible Values: Auto, Dark, Light
    Timezone string
    Timezone
    Language string
    Possible Values: Auto, En, Ja
    Region string
    Region
    Scope string
    The scope of this setting (user, userdefaults)
    Theme string
    Possible Values: Auto, Dark, Light
    Timezone string
    Timezone
    language String
    Possible Values: Auto, En, Ja
    region String
    Region
    scope String
    The scope of this setting (user, userdefaults)
    theme String
    Possible Values: Auto, Dark, Light
    timezone String
    Timezone
    language string
    Possible Values: Auto, En, Ja
    region string
    Region
    scope string
    The scope of this setting (user, userdefaults)
    theme string
    Possible Values: Auto, Dark, Light
    timezone string
    Timezone
    language str
    Possible Values: Auto, En, Ja
    region str
    Region
    scope str
    The scope of this setting (user, userdefaults)
    theme str
    Possible Values: Auto, Dark, Light
    timezone str
    Timezone
    language String
    Possible Values: Auto, En, Ja
    region String
    Region
    scope String
    The scope of this setting (user, userdefaults)
    theme String
    Possible Values: Auto, 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,
            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.
    The following state arguments are supported:
    Language string
    Possible Values: Auto, En, Ja
    Region string
    Region
    Scope string
    The scope of this setting (user, userdefaults)
    Theme string
    Possible Values: Auto, Dark, Light
    Timezone string
    Timezone
    Language string
    Possible Values: Auto, En, Ja
    Region string
    Region
    Scope string
    The scope of this setting (user, userdefaults)
    Theme string
    Possible Values: Auto, Dark, Light
    Timezone string
    Timezone
    language String
    Possible Values: Auto, En, Ja
    region String
    Region
    scope String
    The scope of this setting (user, userdefaults)
    theme String
    Possible Values: Auto, Dark, Light
    timezone String
    Timezone
    language string
    Possible Values: Auto, En, Ja
    region string
    Region
    scope string
    The scope of this setting (user, userdefaults)
    theme string
    Possible Values: Auto, Dark, Light
    timezone string
    Timezone
    language str
    Possible Values: Auto, En, Ja
    region str
    Region
    scope str
    The scope of this setting (user, userdefaults)
    theme str
    Possible Values: Auto, Dark, Light
    timezone str
    Timezone
    language String
    Possible Values: Auto, En, Ja
    region String
    Region
    scope String
    The scope of this setting (user, userdefaults)
    theme String
    Possible Values: Auto, Dark, Light
    timezone String
    Timezone

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs