1. Packages
  2. Dynatrace
  3. API Docs
  4. MgmzPermission
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.MgmzPermission

Explore with Pulumi AI

Create MgmzPermission Resource

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

Constructor syntax

new MgmzPermission(name: string, args: MgmzPermissionArgs, opts?: CustomResourceOptions);
@overload
def MgmzPermission(resource_name: str,
                   args: MgmzPermissionArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def MgmzPermission(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   environment: Optional[str] = None,
                   group: Optional[str] = None,
                   management_zone: Optional[str] = None,
                   permissions: Optional[Sequence[str]] = None)
func NewMgmzPermission(ctx *Context, name string, args MgmzPermissionArgs, opts ...ResourceOption) (*MgmzPermission, error)
public MgmzPermission(string name, MgmzPermissionArgs args, CustomResourceOptions? opts = null)
public MgmzPermission(String name, MgmzPermissionArgs args)
public MgmzPermission(String name, MgmzPermissionArgs args, CustomResourceOptions options)
type: dynatrace:MgmzPermission
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MgmzPermissionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MgmzPermissionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MgmzPermissionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MgmzPermissionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MgmzPermissionArgs
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 mgmzPermissionResource = new Dynatrace.MgmzPermission("mgmzPermissionResource", new()
{
    Environment = "string",
    Group = "string",
    ManagementZone = "string",
    Permissions = new[]
    {
        "string",
    },
});
Copy
example, err := dynatrace.NewMgmzPermission(ctx, "mgmzPermissionResource", &dynatrace.MgmzPermissionArgs{
	Environment:    pulumi.String("string"),
	Group:          pulumi.String("string"),
	ManagementZone: pulumi.String("string"),
	Permissions: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var mgmzPermissionResource = new MgmzPermission("mgmzPermissionResource", MgmzPermissionArgs.builder()
    .environment("string")
    .group("string")
    .managementZone("string")
    .permissions("string")
    .build());
Copy
mgmz_permission_resource = dynatrace.MgmzPermission("mgmzPermissionResource",
    environment="string",
    group="string",
    management_zone="string",
    permissions=["string"])
Copy
const mgmzPermissionResource = new dynatrace.MgmzPermission("mgmzPermissionResource", {
    environment: "string",
    group: "string",
    managementZone: "string",
    permissions: ["string"],
});
Copy
type: dynatrace:MgmzPermission
properties:
    environment: string
    group: string
    managementZone: string
    permissions:
        - string
Copy

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

Environment This property is required. string
The UUID of the environment
Group This property is required. string
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
ManagementZone This property is required. string
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
Permissions This property is required. List<string>
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
Environment This property is required. string
The UUID of the environment
Group This property is required. string
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
ManagementZone This property is required. string
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
Permissions This property is required. []string
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
environment This property is required. String
The UUID of the environment
group This property is required. String
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
managementZone This property is required. String
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
permissions This property is required. List<String>
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
environment This property is required. string
The UUID of the environment
group This property is required. string
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
managementZone This property is required. string
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
permissions This property is required. string[]
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
environment This property is required. str
The UUID of the environment
group This property is required. str
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
management_zone This property is required. str
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
permissions This property is required. Sequence[str]
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
environment This property is required. String
The UUID of the environment
group This property is required. String
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
managementZone This property is required. String
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
permissions This property is required. List<String>
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.

Outputs

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

Get an existing MgmzPermission 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?: MgmzPermissionState, opts?: CustomResourceOptions): MgmzPermission
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        environment: Optional[str] = None,
        group: Optional[str] = None,
        management_zone: Optional[str] = None,
        permissions: Optional[Sequence[str]] = None) -> MgmzPermission
func GetMgmzPermission(ctx *Context, name string, id IDInput, state *MgmzPermissionState, opts ...ResourceOption) (*MgmzPermission, error)
public static MgmzPermission Get(string name, Input<string> id, MgmzPermissionState? state, CustomResourceOptions? opts = null)
public static MgmzPermission get(String name, Output<String> id, MgmzPermissionState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:MgmzPermission    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Environment string
The UUID of the environment
Group string
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
ManagementZone string
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
Permissions List<string>
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
Environment string
The UUID of the environment
Group string
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
ManagementZone string
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
Permissions []string
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
environment String
The UUID of the environment
group String
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
managementZone String
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
permissions List<String>
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
environment string
The UUID of the environment
group string
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
managementZone string
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
permissions string[]
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
environment str
The UUID of the environment
group str
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
management_zone str
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
permissions Sequence[str]
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.
environment String
The UUID of the environment
group String
The ID of the group the permissions are valid for. You may refer to the id of a resource dynatrace.UserGroup here
managementZone String
The ID of the management zone the permissions are valid for. When referring to resource dynatrace.ManagementZoneV2 or data source dynatrace.ManagementZone you need to refer to the attribute legacy_id.
permissions List<String>
The permissions to assign for that management zone. Allowed values are DEMO_USER, LOG_VIEWER, MANAGE_SECURITY_PROBLEMS, MANAGE_SETTINGS, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, VIEWER, VIEW_SENSITIVE_REQUEST_DATA. Note: In order to produce non-empty plans specifying at least the permission VIEWER is recommended. Your Dynatrace Cluster will enforce that permission, regardless of whether it has been specified or not.

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.