dynatrace.SettingsPermissions
Explore with Pulumi AI
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:
- Settings
Object stringId - 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 string - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- Groups
Pulumiverse.
Dynatrace. Inputs. Settings Permissions Groups - Users
Pulumiverse.
Dynatrace. Inputs. Settings Permissions Users
- Settings
Object stringId - 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 string - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- Groups
Settings
Permissions Groups Args - Users
Settings
Permissions Users Args
- settings
Object StringId - 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 String - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- groups
Settings
Permissions Groups - users
Settings
Permissions Users
- settings
Object stringId - 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 string - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- groups
Settings
Permissions Groups - users
Settings
Permissions Users
- settings_
object_ strid - 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
, ornone
- groups
Settings
Permissions Groups Args - users
Settings
Permissions Users Args
- settings
Object StringId - 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 String - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- 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.
- All
Users string - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- Groups
Pulumiverse.
Dynatrace. Inputs. Settings Permissions Groups - Settings
Object stringId - 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. Settings Permissions Users
- All
Users string - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- Groups
Settings
Permissions Groups Args - Settings
Object stringId - 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
Settings
Permissions Users Args
- all
Users String - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- groups
Settings
Permissions Groups - settings
Object StringId - 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
Settings
Permissions Users
- all
Users string - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- groups
Settings
Permissions Groups - settings
Object stringId - 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
Settings
Permissions Users
- all_
users str - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- groups
Settings
Permissions Groups Args - settings_
object_ strid - 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
Settings
Permissions Users Args
- all
Users String - Defines the default access level granted to all users in this environment. Allowed values are
read
,write
, ornone
- groups Property Map
- settings
Object StringId - 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. Settings Permissions Groups Group> - Group that is to be granted read or write permissions
- Groups
[]Settings
Permissions Groups Group - Group that is to be granted read or write permissions
- groups
List<Settings
Permissions Groups Group> - Group that is to be granted read or write permissions
- groups
Settings
Permissions Groups Group[] - Group that is to be granted read or write permissions
- groups
Sequence[Settings
Permissions Groups Group] - 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
SettingsPermissionsUsers, SettingsPermissionsUsersArgs
- Users
List<Pulumiverse.
Dynatrace. Inputs. Settings Permissions Users User> - User that is to be granted read or write permissions
- Users
[]Settings
Permissions Users User - User that is to be granted read or write permissions
- users
List<Settings
Permissions Users User> - User that is to be granted read or write permissions
- users
Settings
Permissions Users User[] - User that is to be granted read or write permissions
- users
Sequence[Settings
Permissions Users User] - 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
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.