@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
79 lines (78 loc) • 3.59 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* > **Dynatrace SaaS only**
*
* > To utilize this resource, please define the environment variables `DT_CLIENT_ID`, `DT_CLIENT_SECRET`, `DT_ACCOUNT_ID` with an OAuth client including the following permissions: **Allow read access for identity resources (users and groups)** (`account-idm-read`) and **Allow write access for identity resources (users and groups)** (`account-idm-write`).
*
* > This resource is excluded by default in the export utility, please explicitly specify the resource to retrieve existing configuration.
*
* ## Dynatrace Documentation
*
* - Dynatrace IAM - https://www.dynatrace.com/support/help/how-to-use-dynatrace/user-management-and-sso/manage-groups-and-permissions
*
* - Settings API - https://www.dynatrace.com/support/help/how-to-use-dynatrace/user-management-and-sso/manage-groups-and-permissions/iam/iam-getting-started
*
* ## Resource Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumiverse/dynatrace";
*
* const restricted = new dynatrace.IamGroup("restricted", {permissions: {
* permissions: [{
* name: "tenant-viewer",
* scope: "<environment-id>:<managementzone-id>",
* type: "management-zone",
* }],
* }});
* ```
*/
export declare class IamGroup extends pulumi.CustomResource {
/**
* Get an existing IamGroup 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?: IamGroupState, opts?: pulumi.CustomResourceOptions): IamGroup;
/**
* Returns true if the given object is an instance of IamGroup. 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 IamGroup;
readonly description: pulumi.Output<string | undefined>;
readonly federatedAttributeValues: pulumi.Output<string[] | undefined>;
readonly name: pulumi.Output<string>;
readonly permissions: pulumi.Output<outputs.IamGroupPermissions | undefined>;
/**
* Create a IamGroup 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?: IamGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering IamGroup resources.
*/
export interface IamGroupState {
description?: pulumi.Input<string>;
federatedAttributeValues?: pulumi.Input<pulumi.Input<string>[]>;
name?: pulumi.Input<string>;
permissions?: pulumi.Input<inputs.IamGroupPermissions>;
}
/**
* The set of arguments for constructing a IamGroup resource.
*/
export interface IamGroupArgs {
description?: pulumi.Input<string>;
federatedAttributeValues?: pulumi.Input<pulumi.Input<string>[]>;
name?: pulumi.Input<string>;
permissions?: pulumi.Input<inputs.IamGroupPermissions>;
}