Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse
dynatrace.UserGroup
Explore with Pulumi AI
Create UserGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserGroup(name: string, args?: UserGroupArgs, opts?: CustomResourceOptions);
@overload
def UserGroup(resource_name: str,
args: Optional[UserGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def UserGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_account: Optional[bool] = None,
cluster_admin: Optional[bool] = None,
ldap_groups: Optional[Sequence[str]] = None,
manage_account: Optional[bool] = None,
name: Optional[str] = None,
permissions: Optional[UserGroupPermissionsArgs] = None,
sso_groups: Optional[Sequence[str]] = None)
func NewUserGroup(ctx *Context, name string, args *UserGroupArgs, opts ...ResourceOption) (*UserGroup, error)
public UserGroup(string name, UserGroupArgs? args = null, CustomResourceOptions? opts = null)
public UserGroup(String name, UserGroupArgs args)
public UserGroup(String name, UserGroupArgs args, CustomResourceOptions options)
type: dynatrace:UserGroup
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 UserGroupArgs
- 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 UserGroupArgs
- 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 UserGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserGroupArgs
- 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 userGroupResource = new Dynatrace.UserGroup("userGroupResource", new()
{
AccessAccount = false,
ClusterAdmin = false,
LdapGroups = new[]
{
"string",
},
ManageAccount = false,
Name = "string",
Permissions = new Dynatrace.Inputs.UserGroupPermissionsArgs
{
Grants = new[]
{
new Dynatrace.Inputs.UserGroupPermissionsGrantArgs
{
Permission = "string",
Environments = new[]
{
"string",
},
},
},
},
SsoGroups = new[]
{
"string",
},
});
example, err := dynatrace.NewUserGroup(ctx, "userGroupResource", &dynatrace.UserGroupArgs{
AccessAccount: pulumi.Bool(false),
ClusterAdmin: pulumi.Bool(false),
LdapGroups: pulumi.StringArray{
pulumi.String("string"),
},
ManageAccount: pulumi.Bool(false),
Name: pulumi.String("string"),
Permissions: &dynatrace.UserGroupPermissionsArgs{
Grants: dynatrace.UserGroupPermissionsGrantArray{
&dynatrace.UserGroupPermissionsGrantArgs{
Permission: pulumi.String("string"),
Environments: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
SsoGroups: pulumi.StringArray{
pulumi.String("string"),
},
})
var userGroupResource = new UserGroup("userGroupResource", UserGroupArgs.builder()
.accessAccount(false)
.clusterAdmin(false)
.ldapGroups("string")
.manageAccount(false)
.name("string")
.permissions(UserGroupPermissionsArgs.builder()
.grants(UserGroupPermissionsGrantArgs.builder()
.permission("string")
.environments("string")
.build())
.build())
.ssoGroups("string")
.build());
user_group_resource = dynatrace.UserGroup("userGroupResource",
access_account=False,
cluster_admin=False,
ldap_groups=["string"],
manage_account=False,
name="string",
permissions=dynatrace.UserGroupPermissionsArgs(
grants=[dynatrace.UserGroupPermissionsGrantArgs(
permission="string",
environments=["string"],
)],
),
sso_groups=["string"])
const userGroupResource = new dynatrace.UserGroup("userGroupResource", {
accessAccount: false,
clusterAdmin: false,
ldapGroups: ["string"],
manageAccount: false,
name: "string",
permissions: {
grants: [{
permission: "string",
environments: ["string"],
}],
},
ssoGroups: ["string"],
});
type: dynatrace:UserGroup
properties:
accessAccount: false
clusterAdmin: false
ldapGroups:
- string
manageAccount: false
name: string
permissions:
grants:
- environments:
- string
permission: string
ssoGroups:
- string
UserGroup 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 UserGroup resource accepts the following input properties:
- Access
Account bool - If
true
, then the group has the access account rights - Cluster
Admin bool - If
true
, then the group has the cluster administrator rights - Ldap
Groups List<string> - LDAP group names
- Manage
Account bool - If
true
, then the group has the manage account rights - Name string
- The name of the user group
- Permissions
Pulumiverse.
Dynatrace. Inputs. User Group Permissions - Permissions for environments
- Sso
Groups List<string> - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- Access
Account bool - If
true
, then the group has the access account rights - Cluster
Admin bool - If
true
, then the group has the cluster administrator rights - Ldap
Groups []string - LDAP group names
- Manage
Account bool - If
true
, then the group has the manage account rights - Name string
- The name of the user group
- Permissions
User
Group Permissions Args - Permissions for environments
- Sso
Groups []string - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- access
Account Boolean - If
true
, then the group has the access account rights - cluster
Admin Boolean - If
true
, then the group has the cluster administrator rights - ldap
Groups List<String> - LDAP group names
- manage
Account Boolean - If
true
, then the group has the manage account rights - name String
- The name of the user group
- permissions
User
Group Permissions - Permissions for environments
- sso
Groups List<String> - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- access
Account boolean - If
true
, then the group has the access account rights - cluster
Admin boolean - If
true
, then the group has the cluster administrator rights - ldap
Groups string[] - LDAP group names
- manage
Account boolean - If
true
, then the group has the manage account rights - name string
- The name of the user group
- permissions
User
Group Permissions - Permissions for environments
- sso
Groups string[] - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- access_
account bool - If
true
, then the group has the access account rights - cluster_
admin bool - If
true
, then the group has the cluster administrator rights - ldap_
groups Sequence[str] - LDAP group names
- manage_
account bool - If
true
, then the group has the manage account rights - name str
- The name of the user group
- permissions
User
Group Permissions Args - Permissions for environments
- sso_
groups Sequence[str] - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- access
Account Boolean - If
true
, then the group has the access account rights - cluster
Admin Boolean - If
true
, then the group has the cluster administrator rights - ldap
Groups List<String> - LDAP group names
- manage
Account Boolean - If
true
, then the group has the manage account rights - name String
- The name of the user group
- permissions Property Map
- Permissions for environments
- sso
Groups List<String> - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
Outputs
All input properties are implicitly available as output properties. Additionally, the UserGroup 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 UserGroup Resource
Get an existing UserGroup 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?: UserGroupState, opts?: CustomResourceOptions): UserGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_account: Optional[bool] = None,
cluster_admin: Optional[bool] = None,
ldap_groups: Optional[Sequence[str]] = None,
manage_account: Optional[bool] = None,
name: Optional[str] = None,
permissions: Optional[UserGroupPermissionsArgs] = None,
sso_groups: Optional[Sequence[str]] = None) -> UserGroup
func GetUserGroup(ctx *Context, name string, id IDInput, state *UserGroupState, opts ...ResourceOption) (*UserGroup, error)
public static UserGroup Get(string name, Input<string> id, UserGroupState? state, CustomResourceOptions? opts = null)
public static UserGroup get(String name, Output<String> id, UserGroupState 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.
- Access
Account bool - If
true
, then the group has the access account rights - Cluster
Admin bool - If
true
, then the group has the cluster administrator rights - Ldap
Groups List<string> - LDAP group names
- Manage
Account bool - If
true
, then the group has the manage account rights - Name string
- The name of the user group
- Permissions
Pulumiverse.
Dynatrace. Inputs. User Group Permissions - Permissions for environments
- Sso
Groups List<string> - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- Access
Account bool - If
true
, then the group has the access account rights - Cluster
Admin bool - If
true
, then the group has the cluster administrator rights - Ldap
Groups []string - LDAP group names
- Manage
Account bool - If
true
, then the group has the manage account rights - Name string
- The name of the user group
- Permissions
User
Group Permissions Args - Permissions for environments
- Sso
Groups []string - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- access
Account Boolean - If
true
, then the group has the access account rights - cluster
Admin Boolean - If
true
, then the group has the cluster administrator rights - ldap
Groups List<String> - LDAP group names
- manage
Account Boolean - If
true
, then the group has the manage account rights - name String
- The name of the user group
- permissions
User
Group Permissions - Permissions for environments
- sso
Groups List<String> - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- access
Account boolean - If
true
, then the group has the access account rights - cluster
Admin boolean - If
true
, then the group has the cluster administrator rights - ldap
Groups string[] - LDAP group names
- manage
Account boolean - If
true
, then the group has the manage account rights - name string
- The name of the user group
- permissions
User
Group Permissions - Permissions for environments
- sso
Groups string[] - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- access_
account bool - If
true
, then the group has the access account rights - cluster_
admin bool - If
true
, then the group has the cluster administrator rights - ldap_
groups Sequence[str] - LDAP group names
- manage_
account bool - If
true
, then the group has the manage account rights - name str
- The name of the user group
- permissions
User
Group Permissions Args - Permissions for environments
- sso_
groups Sequence[str] - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
- access
Account Boolean - If
true
, then the group has the access account rights - cluster
Admin Boolean - If
true
, then the group has the cluster administrator rights - ldap
Groups List<String> - LDAP group names
- manage
Account Boolean - If
true
, then the group has the manage account rights - name String
- The name of the user group
- permissions Property Map
- Permissions for environments
- sso
Groups List<String> - SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
Supporting Types
UserGroupPermissions, UserGroupPermissionsArgs
- Grants
List<Pulumiverse.
Dynatrace. Inputs. User Group Permissions Grant> - A permission granted to one or multiple environments
- Grants
[]User
Group Permissions Grant - A permission granted to one or multiple environments
- grants
List<User
Group Permissions Grant> - A permission granted to one or multiple environments
- grants
User
Group Permissions Grant[] - A permission granted to one or multiple environments
- grants
Sequence[User
Group Permissions Grant] - A permission granted to one or multiple environments
- grants List<Property Map>
- A permission granted to one or multiple environments
UserGroupPermissionsGrant, UserGroupPermissionsGrantArgs
- Permission string
- The permission. Possible values are
VIEWER
,MANAGE_SETTINGS
,AGENT_INSTALL
,LOG_VIEWER
,VIEW_SENSITIVE_REQUEST_DATA
,CONFIGURE_REQUEST_CAPTURE_DATA
,REPLAY_SESSION_DATA
,REPLAY_SESSION_DATA_WITHOUT_MASKING
,MANAGE_SECURITY_PROBLEMS
andMANAGE_SUPPORT_TICKETS
. - Environments List<string>
- The ids of the environments this permission grants the user access to.
- Permission string
- The permission. Possible values are
VIEWER
,MANAGE_SETTINGS
,AGENT_INSTALL
,LOG_VIEWER
,VIEW_SENSITIVE_REQUEST_DATA
,CONFIGURE_REQUEST_CAPTURE_DATA
,REPLAY_SESSION_DATA
,REPLAY_SESSION_DATA_WITHOUT_MASKING
,MANAGE_SECURITY_PROBLEMS
andMANAGE_SUPPORT_TICKETS
. - Environments []string
- The ids of the environments this permission grants the user access to.
- permission String
- The permission. Possible values are
VIEWER
,MANAGE_SETTINGS
,AGENT_INSTALL
,LOG_VIEWER
,VIEW_SENSITIVE_REQUEST_DATA
,CONFIGURE_REQUEST_CAPTURE_DATA
,REPLAY_SESSION_DATA
,REPLAY_SESSION_DATA_WITHOUT_MASKING
,MANAGE_SECURITY_PROBLEMS
andMANAGE_SUPPORT_TICKETS
. - environments List<String>
- The ids of the environments this permission grants the user access to.
- permission string
- The permission. Possible values are
VIEWER
,MANAGE_SETTINGS
,AGENT_INSTALL
,LOG_VIEWER
,VIEW_SENSITIVE_REQUEST_DATA
,CONFIGURE_REQUEST_CAPTURE_DATA
,REPLAY_SESSION_DATA
,REPLAY_SESSION_DATA_WITHOUT_MASKING
,MANAGE_SECURITY_PROBLEMS
andMANAGE_SUPPORT_TICKETS
. - environments string[]
- The ids of the environments this permission grants the user access to.
- permission str
- The permission. Possible values are
VIEWER
,MANAGE_SETTINGS
,AGENT_INSTALL
,LOG_VIEWER
,VIEW_SENSITIVE_REQUEST_DATA
,CONFIGURE_REQUEST_CAPTURE_DATA
,REPLAY_SESSION_DATA
,REPLAY_SESSION_DATA_WITHOUT_MASKING
,MANAGE_SECURITY_PROBLEMS
andMANAGE_SUPPORT_TICKETS
. - environments Sequence[str]
- The ids of the environments this permission grants the user access to.
- permission String
- The permission. Possible values are
VIEWER
,MANAGE_SETTINGS
,AGENT_INSTALL
,LOG_VIEWER
,VIEW_SENSITIVE_REQUEST_DATA
,CONFIGURE_REQUEST_CAPTURE_DATA
,REPLAY_SESSION_DATA
,REPLAY_SESSION_DATA_WITHOUT_MASKING
,MANAGE_SECURITY_PROBLEMS
andMANAGE_SUPPORT_TICKETS
. - environments List<String>
- The ids of the environments this permission grants the user access to.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.