dynatrace logo
Dynatrace v0.0.2, Nov 1 22

dynatrace.User

Dynatrace Documentation

  • User management and SSO - https://www.dynatrace.com/support/help/how-to-use-dynatrace/user-management-and-sso

  • User management API - https://www.dynatrace.com/support/help/dynatrace-api/account-management-api/user-management-api

Create User Resource

new User(name: string, args: UserArgs, opts?: CustomResourceOptions);
@overload
def User(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         email: Optional[str] = None,
         first_name: Optional[str] = None,
         groups: Optional[Sequence[str]] = None,
         last_name: Optional[str] = None,
         user_name: Optional[str] = None)
@overload
def User(resource_name: str,
         args: UserArgs,
         opts: Optional[ResourceOptions] = None)
func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
public User(string name, UserArgs args, CustomResourceOptions? opts = null)
public User(String name, UserArgs args)
public User(String name, UserArgs args, CustomResourceOptions options)
type: dynatrace:User
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args UserArgs
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 UserArgs
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 UserArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args UserArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args UserArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

Email string

User's email address

FirstName string

User's first name

LastName string

User's last name

UserName string

The User Name

Groups List<string>

List of user's user group IDs

Email string

User's email address

FirstName string

User's first name

LastName string

User's last name

UserName string

The User Name

Groups []string

List of user's user group IDs

email String

User's email address

firstName String

User's first name

lastName String

User's last name

userName String

The User Name

groups List<String>

List of user's user group IDs

email string

User's email address

firstName string

User's first name

lastName string

User's last name

userName string

The User Name

groups string[]

List of user's user group IDs

email str

User's email address

first_name str

User's first name

last_name str

User's last name

user_name str

The User Name

groups Sequence[str]

List of user's user group IDs

email String

User's email address

firstName String

User's first name

lastName String

User's last name

userName String

The User Name

groups List<String>

List of user's user group IDs

Outputs

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

Get an existing User 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?: UserState, opts?: CustomResourceOptions): User
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        email: Optional[str] = None,
        first_name: Optional[str] = None,
        groups: Optional[Sequence[str]] = None,
        last_name: Optional[str] = None,
        user_name: Optional[str] = None) -> User
func GetUser(ctx *Context, name string, id IDInput, state *UserState, opts ...ResourceOption) (*User, error)
public static User Get(string name, Input<string> id, UserState? state, CustomResourceOptions? opts = null)
public static User get(String name, Output<String> id, UserState 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:
Email string

User's email address

FirstName string

User's first name

Groups List<string>

List of user's user group IDs

LastName string

User's last name

UserName string

The User Name

Email string

User's email address

FirstName string

User's first name

Groups []string

List of user's user group IDs

LastName string

User's last name

UserName string

The User Name

email String

User's email address

firstName String

User's first name

groups List<String>

List of user's user group IDs

lastName String

User's last name

userName String

The User Name

email string

User's email address

firstName string

User's first name

groups string[]

List of user's user group IDs

lastName string

User's last name

userName string

The User Name

email str

User's email address

first_name str

User's first name

groups Sequence[str]

List of user's user group IDs

last_name str

User's last name

user_name str

The User Name

email String

User's email address

firstName String

User's first name

groups List<String>

List of user's user group IDs

lastName String

User's last name

userName String

The User Name

Package Details

Repository
dynatrace lbrlabs/pulumi-dynatrace
License
Apache-2.0
Notes

This Pulumi package is based on the dynatrace Terraform Provider.