@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
88 lines (87 loc) • 4.88 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class MgmzPermission extends pulumi.CustomResource {
/**
* Get an existing MgmzPermission resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MgmzPermissionState, opts?: pulumi.CustomResourceOptions): MgmzPermission;
/**
* Returns true if the given object is an instance of MgmzPermission. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is MgmzPermission;
/**
* The UUID of the environment
*/
readonly environment: pulumi.Output<string>;
/**
* The ID of the group the permissions are valid for. You may refer to the id of a resource `dynatrace.UserGroup` here
*/
readonly group: pulumi.Output<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 `legacyId`.
*/
readonly managementZone: pulumi.Output<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.
*/
readonly permissions: pulumi.Output<string[]>;
/**
* Create a MgmzPermission resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: MgmzPermissionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering MgmzPermission resources.
*/
export interface MgmzPermissionState {
/**
* The UUID of the environment
*/
environment?: pulumi.Input<string>;
/**
* The ID of the group the permissions are valid for. You may refer to the id of a resource `dynatrace.UserGroup` here
*/
group?: pulumi.Input<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 `legacyId`.
*/
managementZone?: pulumi.Input<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.
*/
permissions?: pulumi.Input<pulumi.Input<string>[]>;
}
/**
* The set of arguments for constructing a MgmzPermission resource.
*/
export interface MgmzPermissionArgs {
/**
* The UUID of the environment
*/
environment: pulumi.Input<string>;
/**
* The ID of the group the permissions are valid for. You may refer to the id of a resource `dynatrace.UserGroup` here
*/
group: pulumi.Input<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 `legacyId`.
*/
managementZone: pulumi.Input<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.
*/
permissions: pulumi.Input<pulumi.Input<string>[]>;
}