1. Packages
  2. Dynatrace
  3. API Docs
  4. SettingsPermissions
Dynatrace v0.32.0 published on Monday, Sep 29, 2025 by Pulumiverse

dynatrace.SettingsPermissions

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.32.0 published on Monday, Sep 29, 2025 by Pulumiverse

    Create SettingsPermissions Resource

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

    Constructor syntax

    new SettingsPermissions(name: string, args: SettingsPermissionsArgs, opts?: CustomResourceOptions);
    @overload
    def SettingsPermissions(resource_name: str,
                            args: SettingsPermissionsArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def SettingsPermissions(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            settings_object_id: Optional[str] = None,
                            all_users: Optional[str] = None,
                            groups: Optional[SettingsPermissionsGroupsArgs] = None,
                            users: Optional[SettingsPermissionsUsersArgs] = None)
    func NewSettingsPermissions(ctx *Context, name string, args SettingsPermissionsArgs, opts ...ResourceOption) (*SettingsPermissions, error)
    public SettingsPermissions(string name, SettingsPermissionsArgs args, CustomResourceOptions? opts = null)
    public SettingsPermissions(String name, SettingsPermissionsArgs args)
    public SettingsPermissions(String name, SettingsPermissionsArgs args, CustomResourceOptions options)
    
    type: dynatrace:SettingsPermissions
    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 SettingsPermissionsArgs
    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 SettingsPermissionsArgs
    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 SettingsPermissionsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SettingsPermissionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SettingsPermissionsArgs
    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 settingsPermissionsResource = new Dynatrace.SettingsPermissions("settingsPermissionsResource", new()
    {
        SettingsObjectId = "string",
        AllUsers = "string",
        Groups = new Dynatrace.Inputs.SettingsPermissionsGroupsArgs
        {
            Groups = new[]
            {
                new Dynatrace.Inputs.SettingsPermissionsGroupsGroupArgs
                {
                    Access = "string",
                    Id = "string",
                },
            },
        },
        Users = new Dynatrace.Inputs.SettingsPermissionsUsersArgs
        {
            Users = new[]
            {
                new Dynatrace.Inputs.SettingsPermissionsUsersUserArgs
                {
                    Access = "string",
                    Uid = "string",
                },
            },
        },
    });
    
    example, err := dynatrace.NewSettingsPermissions(ctx, "settingsPermissionsResource", &dynatrace.SettingsPermissionsArgs{
    	SettingsObjectId: pulumi.String("string"),
    	AllUsers:         pulumi.String("string"),
    	Groups: &dynatrace.SettingsPermissionsGroupsArgs{
    		Groups: dynatrace.SettingsPermissionsGroupsGroupArray{
    			&dynatrace.SettingsPermissionsGroupsGroupArgs{
    				Access: pulumi.String("string"),
    				Id:     pulumi.String("string"),
    			},
    		},
    	},
    	Users: &dynatrace.SettingsPermissionsUsersArgs{
    		Users: dynatrace.SettingsPermissionsUsersUserArray{
    			&dynatrace.SettingsPermissionsUsersUserArgs{
    				Access: pulumi.String("string"),
    				Uid:    pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var settingsPermissionsResource = new SettingsPermissions("settingsPermissionsResource", SettingsPermissionsArgs.builder()
        .settingsObjectId("string")
        .allUsers("string")
        .groups(SettingsPermissionsGroupsArgs.builder()
            .groups(SettingsPermissionsGroupsGroupArgs.builder()
                .access("string")
                .id("string")
                .build())
            .build())
        .users(SettingsPermissionsUsersArgs.builder()
            .users(SettingsPermissionsUsersUserArgs.builder()
                .access("string")
                .uid("string")
                .build())
            .build())
        .build());
    
    settings_permissions_resource = dynatrace.SettingsPermissions("settingsPermissionsResource",
        settings_object_id="string",
        all_users="string",
        groups={
            "groups": [{
                "access": "string",
                "id": "string",
            }],
        },
        users={
            "users": [{
                "access": "string",
                "uid": "string",
            }],
        })
    
    const settingsPermissionsResource = new dynatrace.SettingsPermissions("settingsPermissionsResource", {
        settingsObjectId: "string",
        allUsers: "string",
        groups: {
            groups: [{
                access: "string",
                id: "string",
            }],
        },
        users: {
            users: [{
                access: "string",
                uid: "string",
            }],
        },
    });
    
    type: dynatrace:SettingsPermissions
    properties:
        allUsers: string
        groups:
            groups:
                - access: string
                  id: string
        settingsObjectId: string
        users:
            users:
                - access: string
                  uid: string
    

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

    SettingsObjectId string
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    AllUsers string
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    Groups Pulumiverse.Dynatrace.Inputs.SettingsPermissionsGroups
    Users Pulumiverse.Dynatrace.Inputs.SettingsPermissionsUsers
    SettingsObjectId string
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    AllUsers string
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    Groups SettingsPermissionsGroupsArgs
    Users SettingsPermissionsUsersArgs
    settingsObjectId String
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    allUsers String
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    groups SettingsPermissionsGroups
    users SettingsPermissionsUsers
    settingsObjectId string
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    allUsers string
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    groups SettingsPermissionsGroups
    users SettingsPermissionsUsers
    settings_object_id str
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    all_users str
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    groups SettingsPermissionsGroupsArgs
    users SettingsPermissionsUsersArgs
    settingsObjectId String
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    allUsers String
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    groups Property Map
    users Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SettingsPermissions 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 SettingsPermissions Resource

    Get an existing SettingsPermissions 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?: SettingsPermissionsState, opts?: CustomResourceOptions): SettingsPermissions
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            all_users: Optional[str] = None,
            groups: Optional[SettingsPermissionsGroupsArgs] = None,
            settings_object_id: Optional[str] = None,
            users: Optional[SettingsPermissionsUsersArgs] = None) -> SettingsPermissions
    func GetSettingsPermissions(ctx *Context, name string, id IDInput, state *SettingsPermissionsState, opts ...ResourceOption) (*SettingsPermissions, error)
    public static SettingsPermissions Get(string name, Input<string> id, SettingsPermissionsState? state, CustomResourceOptions? opts = null)
    public static SettingsPermissions get(String name, Output<String> id, SettingsPermissionsState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:SettingsPermissions    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.
    The following state arguments are supported:
    AllUsers string
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    Groups Pulumiverse.Dynatrace.Inputs.SettingsPermissionsGroups
    SettingsObjectId string
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    Users Pulumiverse.Dynatrace.Inputs.SettingsPermissionsUsers
    AllUsers string
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    Groups SettingsPermissionsGroupsArgs
    SettingsObjectId string
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    Users SettingsPermissionsUsersArgs
    allUsers String
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    groups SettingsPermissionsGroups
    settingsObjectId String
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    users SettingsPermissionsUsers
    allUsers string
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    groups SettingsPermissionsGroups
    settingsObjectId string
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    users SettingsPermissionsUsers
    all_users str
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    groups SettingsPermissionsGroupsArgs
    settings_object_id str
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    users SettingsPermissionsUsersArgs
    allUsers String
    Defines the default access level granted to all users in this environment. Allowed values are read, write, or none
    groups Property Map
    settingsObjectId String
    The ID of the settings object for which access is to be granted. Here, you can use the id attribute of the respective settings object resource
    users Property Map

    Supporting Types

    SettingsPermissionsGroups, SettingsPermissionsGroupsArgs

    Groups List<Pulumiverse.Dynatrace.Inputs.SettingsPermissionsGroupsGroup>
    Group that is to be granted read or write permissions
    Groups []SettingsPermissionsGroupsGroup
    Group that is to be granted read or write permissions
    groups List<SettingsPermissionsGroupsGroup>
    Group that is to be granted read or write permissions
    groups SettingsPermissionsGroupsGroup[]
    Group that is to be granted read or write permissions
    groups Sequence[SettingsPermissionsGroupsGroup]
    Group that is to be granted read or write permissions
    groups List<Property Map>
    Group that is to be granted read or write permissions

    SettingsPermissionsGroupsGroup, SettingsPermissionsGroupsGroupArgs

    Access string
    Valid values: read, write
    Id string
    The UUID of the group, conveniently retrieved via the id attribute provided by the data source `dynatraceiamgroup
    Access string
    Valid values: read, write
    Id string
    The UUID of the group, conveniently retrieved via the id attribute provided by the data source `dynatraceiamgroup
    access String
    Valid values: read, write
    id String
    The UUID of the group, conveniently retrieved via the id attribute provided by the data source `dynatraceiamgroup
    access string
    Valid values: read, write
    id string
    The UUID of the group, conveniently retrieved via the id attribute provided by the data source `dynatraceiamgroup
    access str
    Valid values: read, write
    id str
    The UUID of the group, conveniently retrieved via the id attribute provided by the data source `dynatraceiamgroup
    access String
    Valid values: read, write
    id String
    The UUID of the group, conveniently retrieved via the id attribute provided by the data source `dynatraceiamgroup

    SettingsPermissionsUsers, SettingsPermissionsUsersArgs

    Users List<Pulumiverse.Dynatrace.Inputs.SettingsPermissionsUsersUser>
    User that is to be granted read or write permissions
    Users []SettingsPermissionsUsersUser
    User that is to be granted read or write permissions
    users List<SettingsPermissionsUsersUser>
    User that is to be granted read or write permissions
    users SettingsPermissionsUsersUser[]
    User that is to be granted read or write permissions
    users Sequence[SettingsPermissionsUsersUser]
    User that is to be granted read or write permissions
    users List<Property Map>
    User that is to be granted read or write permissions

    SettingsPermissionsUsersUser, SettingsPermissionsUsersUserArgs

    Access string
    Valid values: read, write
    Uid string
    The UUID of the user, conveniently retrieved via the uid attribute provided by the data source dynatrace.IamUser
    Access string
    Valid values: read, write
    Uid string
    The UUID of the user, conveniently retrieved via the uid attribute provided by the data source dynatrace.IamUser
    access String
    Valid values: read, write
    uid String
    The UUID of the user, conveniently retrieved via the uid attribute provided by the data source dynatrace.IamUser
    access string
    Valid values: read, write
    uid string
    The UUID of the user, conveniently retrieved via the uid attribute provided by the data source dynatrace.IamUser
    access str
    Valid values: read, write
    uid str
    The UUID of the user, conveniently retrieved via the uid attribute provided by the data source dynatrace.IamUser
    access String
    Valid values: read, write
    uid String
    The UUID of the user, conveniently retrieved via the uid attribute provided by the data source dynatrace.IamUser

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.32.0 published on Monday, Sep 29, 2025 by Pulumiverse
      AI Agentic Workflows: Register now