@pulumi/pulumiservice
Version:
256 lines (255 loc) • 8.13 kB
TypeScript
export declare const AuthPolicyDecision: {
/**
* A deny rule for Oidc Issuer Policy.
*/
readonly Deny: "deny";
/**
* An allow rule for Oidc Issuer Policy.
*/
readonly Allow: "allow";
};
export type AuthPolicyDecision = (typeof AuthPolicyDecision)[keyof typeof AuthPolicyDecision];
export declare const AuthPolicyPermissionLevel: {
/**
* Standard level of permissions.
*/
readonly Standard: "standard";
/**
* Admin level of permissions.
*/
readonly Admin: "admin";
};
export type AuthPolicyPermissionLevel = (typeof AuthPolicyPermissionLevel)[keyof typeof AuthPolicyPermissionLevel];
export declare const AuthPolicyTokenType: {
/**
* Personal Pulumi token. Requires userLogin field to be filled.
*/
readonly Personal: "personal";
/**
* Team Pulumi token. Requires teamName field to be filled.
*/
readonly Team: "team";
/**
* Organization Pulumi token. Requires authorizedPermissions field to be filled.
*/
readonly Organization: "organization";
/**
* Deployment Runner Pulumi token. Requires runnerID field to be filled.
*/
readonly Runner: "runner";
};
export type AuthPolicyTokenType = (typeof AuthPolicyTokenType)[keyof typeof AuthPolicyTokenType];
export declare const EnvironmentPermission: {
/**
* No permissions.
*/
readonly None: "none";
/**
* Permission to read environment definition only.
*/
readonly Read: "read";
/**
* Permission to open and read the environment.
*/
readonly Open: "open";
/**
* Permission to open, read and update the environment.
*/
readonly Write: "write";
/**
* Permission for all operations on the environment.
*/
readonly Admin: "admin";
};
export type EnvironmentPermission = (typeof EnvironmentPermission)[keyof typeof EnvironmentPermission];
export declare const PulumiOperation: {
/**
* Analogous to `pulumi up` command.
*/
readonly Update: "update";
/**
* Analogous to `pulumi preview` command.
*/
readonly Preview: "preview";
/**
* Analogous to `pulumi refresh` command.
*/
readonly Refresh: "refresh";
/**
* Analogous to `pulumi destroy` command.
*/
readonly Destroy: "destroy";
};
export type PulumiOperation = (typeof PulumiOperation)[keyof typeof PulumiOperation];
export declare const TeamStackPermissionScope: {
/**
* Grants read permissions to stack.
*/
readonly Read: 101;
/**
* Grants edit permissions to stack.
*/
readonly Edit: 102;
/**
* Grants admin permissions to stack.
*/
readonly Admin: 103;
};
export type TeamStackPermissionScope = (typeof TeamStackPermissionScope)[keyof typeof TeamStackPermissionScope];
export declare const WebhookFilters: {
/**
* Trigger a webhook when a stack is created. Only valid for org webhooks.
*/
readonly StackCreated: "stack_created";
/**
* Trigger a webhook when a stack is deleted. Only valid for org webhooks.
*/
readonly StackDeleted: "stack_deleted";
/**
* Trigger a webhook when a stack update succeeds.
*/
readonly UpdateSucceeded: "update_succeeded";
/**
* Trigger a webhook when a stack update fails.
*/
readonly UpdateFailed: "update_failed";
/**
* Trigger a webhook when a stack preview succeeds.
*/
readonly PreviewSucceeded: "preview_succeeded";
/**
* Trigger a webhook when a stack preview fails.
*/
readonly PreviewFailed: "preview_failed";
/**
* Trigger a webhook when a stack destroy succeeds.
*/
readonly DestroySucceeded: "destroy_succeeded";
/**
* Trigger a webhook when a stack destroy fails.
*/
readonly DestroyFailed: "destroy_failed";
/**
* Trigger a webhook when a stack refresh succeeds.
*/
readonly RefreshSucceeded: "refresh_succeeded";
/**
* Trigger a webhook when a stack refresh fails.
*/
readonly RefreshFailed: "refresh_failed";
/**
* Trigger a webhook when a deployment is queued.
*/
readonly DeploymentQueued: "deployment_queued";
/**
* Trigger a webhook when a deployment starts running.
*/
readonly DeploymentStarted: "deployment_started";
/**
* Trigger a webhook when a deployment succeeds.
*/
readonly DeploymentSucceeded: "deployment_succeeded";
/**
* Trigger a webhook when a deployment fails.
*/
readonly DeploymentFailed: "deployment_failed";
/**
* Trigger a webhook when drift is detected.
*/
readonly DriftDetected: "drift_detected";
/**
* Trigger a webhook when a drift detection run succeeds, regardless of whether drift is detected.
*/
readonly DriftDetectionSucceeded: "drift_detection_succeeded";
/**
* Trigger a webhook when a drift detection run fails.
*/
readonly DriftDetectionFailed: "drift_detection_failed";
/**
* Trigger a webhook when a drift remediation run succeeds.
*/
readonly DriftRemediationSucceeded: "drift_remediation_succeeded";
/**
* Trigger a webhook when a drift remediation run fails.
*/
readonly DriftRemediationFailed: "drift_remediation_failed";
/**
* Trigger a webhook when a new environment is created.
*/
readonly EnvironmentCreated: "environment_created";
/**
* Trigger a webhook when an environment is deleted.
*/
readonly EnvironmentDeleted: "environment_deleted";
/**
* Trigger a webhook when a new revision is created on an environment.
*/
readonly EnvironmentRevisionCreated: "environment_revision_created";
/**
* Trigger a webhook when a revision is retracted on an environment.
*/
readonly EnvironmentRevisionRetracted: "environment_revision_retracted";
/**
* Trigger a webhook when a revision tag is created on an environment.
*/
readonly EnvironmentRevisionTagCreated: "environment_revision_tag_created";
/**
* Trigger a webhook when a revision tag is deleted on an environment.
*/
readonly EnvironmentRevisionTagDeleted: "environment_revision_tag_deleted";
/**
* Trigger a webhook when a revision tag is updated on an environment.
*/
readonly EnvironmentRevisionTagUpdated: "environment_revision_tag_updated";
/**
* Trigger a webhook when an environment tag is created.
*/
readonly EnvironmentTagCreated: "environment_tag_created";
/**
* Trigger a webhook when an environment tag is deleted.
*/
readonly EnvironmentTagDeleted: "environment_tag_deleted";
/**
* Trigger a webhook when an environment tag is updated.
*/
readonly EnvironmentTagUpdated: "environment_tag_updated";
/**
* Trigger a webhook when an imported environment has changed.
*/
readonly ImportedEnvironmentChanged: "imported_environment_changed";
};
export type WebhookFilters = (typeof WebhookFilters)[keyof typeof WebhookFilters];
export declare const WebhookFormat: {
/**
* The default webhook format.
*/
readonly Raw: "raw";
/**
* Messages formatted for consumption by Slack incoming webhooks.
*/
readonly Slack: "slack";
/**
* Initiate deployments on a stack from a Pulumi Cloud webhook.
*/
readonly PulumiDeployments: "pulumi_deployments";
/**
* Messages formatted for consumption by Microsoft Teams incoming webhooks.
*/
readonly MicrosoftTeams: "ms_teams";
};
export type WebhookFormat = (typeof WebhookFormat)[keyof typeof WebhookFormat];
export declare const WebhookGroup: {
/**
* A group of webhooks containing all stack events.
*/
readonly Stacks: "stacks";
/**
* A group of webhooks containing all deployment events.
*/
readonly Deployments: "deployments";
/**
* A group of webhooks containing all environment events.
*/
readonly Environments: "environments";
};
export type WebhookGroup = (typeof WebhookGroup)[keyof typeof WebhookGroup];