1. Packages
  2. Dynatrace
  3. API Docs
  4. MgmzPermission
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.MgmzPermission

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    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 string
    The unique name of the resource.
    args MgmzPermissionArgs
    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 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 string
    The unique name of the resource.
    args MgmzPermissionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MgmzPermissionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
        },
    });
    
    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"),
    	},
    })
    
    var mgmzPermissionResource = new MgmzPermission("mgmzPermissionResource", MgmzPermissionArgs.builder()
        .environment("string")
        .group("string")
        .managementZone("string")
        .permissions("string")
        .build());
    
    mgmz_permission_resource = dynatrace.MgmzPermission("mgmzPermissionResource",
        environment="string",
        group="string",
        management_zone="string",
        permissions=["string"])
    
    const mgmzPermissionResource = new dynatrace.MgmzPermission("mgmzPermissionResource", {
        environment: "string",
        group: "string",
        managementZone: "string",
        permissions: ["string"],
    });
    
    type: dynatrace:MgmzPermission
    properties:
        environment: string
        group: string
        managementZone: string
        permissions:
            - string
    

    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

    The MgmzPermission resource accepts the following input properties:

    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
    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
    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
    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
    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
    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

    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)
    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:
    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
    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
    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
    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
    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
    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

    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.10.0 published on Friday, Jun 7, 2024 by Pulumiverse