@pulumi/pulumiservice 0.35.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/buildEnvironmentScopedPermissions.d.ts +41 -0
- package/buildEnvironmentScopedPermissions.js +30 -0
- package/buildEnvironmentScopedPermissions.js.map +1 -0
- package/buildInsightsAccountScopedPermissions.d.ts +41 -0
- package/buildInsightsAccountScopedPermissions.js +30 -0
- package/buildInsightsAccountScopedPermissions.js.map +1 -0
- package/buildStackScopedPermissions.d.ts +41 -0
- package/buildStackScopedPermissions.js +30 -0
- package/buildStackScopedPermissions.js.map +1 -0
- package/environment.d.ts +4 -0
- package/environment.js +2 -0
- package/environment.js.map +1 -1
- package/getCurrentUser.d.ts +29 -0
- package/getCurrentUser.js +25 -0
- package/getCurrentUser.js.map +1 -0
- package/getEnvironment.d.ts +55 -0
- package/getEnvironment.js +32 -0
- package/getEnvironment.js.map +1 -0
- package/getInsightsAccount.d.ts +1 -1
- package/getOrganizationMember.d.ts +51 -0
- package/getOrganizationMember.js +30 -0
- package/getOrganizationMember.js.map +1 -0
- package/getOrganizationMembers.d.ts +25 -0
- package/getOrganizationMembers.js +28 -0
- package/getOrganizationMembers.js.map +1 -0
- package/getOrganizationRoleScopes.d.ts +25 -0
- package/getOrganizationRoleScopes.js +28 -0
- package/getOrganizationRoleScopes.js.map +1 -0
- package/index.d.ts +36 -0
- package/index.js +42 -1
- package/index.js.map +1 -1
- package/insightsAccount.d.ts +2 -2
- package/organizationMember.d.ts +81 -0
- package/organizationMember.js +78 -0
- package/organizationMember.js.map +1 -0
- package/organizationRole.d.ts +87 -0
- package/organizationRole.js +81 -0
- package/organizationRole.js.map +1 -0
- package/package.json +2 -2
- package/policyGroup.d.ts +1 -1
- package/stackTag.js +2 -0
- package/stackTag.js.map +1 -1
- package/stackTags.d.ts +73 -0
- package/stackTags.js +78 -0
- package/stackTags.js.map +1 -0
- package/teamRoleAssignment.d.ts +61 -0
- package/teamRoleAssignment.js +73 -0
- package/teamRoleAssignment.js.map +1 -0
- package/types/enums/index.d.ts +4 -0
- package/types/enums/index.js +4 -0
- package/types/enums/index.js.map +1 -1
- package/types/input.d.ts +3 -7
- package/types/output.d.ts +43 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/pulumiservice",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"kind/native",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "pulumiservice",
|
|
25
|
-
"version": "0.
|
|
25
|
+
"version": "0.38.0"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/policyGroup.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export interface PolicyGroupArgs {
|
|
|
83
83
|
/**
|
|
84
84
|
* List of policy packs applied to this policy group.
|
|
85
85
|
*/
|
|
86
|
-
policyPacks?: pulumi.Input<pulumi.Input<inputs.
|
|
86
|
+
policyPacks?: pulumi.Input<pulumi.Input<inputs.PolicyGroupPolicyPackReferenceInputArgs>[]>;
|
|
87
87
|
/**
|
|
88
88
|
* List of stack references that belong to this policy group.
|
|
89
89
|
*/
|
package/stackTag.js
CHANGED
|
@@ -70,6 +70,8 @@ class StackTag extends pulumi.CustomResource {
|
|
|
70
70
|
resourceInputs["value"] = undefined /*out*/;
|
|
71
71
|
}
|
|
72
72
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
const replaceOnChanges = { replaceOnChanges: ["name", "organization", "project", "stack", "value"] };
|
|
74
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
73
75
|
super(StackTag.__pulumiType, name, resourceInputs, opts);
|
|
74
76
|
}
|
|
75
77
|
}
|
package/stackTag.js.map
CHANGED
|
@@ -1 +1 @@
|
|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import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a set of stack tags as a single resource via a `tags` map, instead of one `StackTag` per key — useful for YAML programs.
|
|
4
|
+
*
|
|
5
|
+
* Only tags declared in `tags` are managed; tags added out-of-band (CLI, pulumibot, a singular `StackTag` resource) are left alone. Tag values are immutable in Pulumi Cloud, so a value change is implemented as delete-and-recreate.
|
|
6
|
+
*
|
|
7
|
+
* Importing with ID `{organization}/{project}/{stack}/tags` adopts every tag currently on the stack; declare `tags` explicitly after import so subsequent updates match your intent. See the [registry docs](https://www.pulumi.com/registry/packages/pulumiservice/api-docs/stacktags/) for full usage and examples.
|
|
8
|
+
*/
|
|
9
|
+
export declare class StackTags extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing StackTags resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): StackTags;
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of StackTags. This is designed to work even
|
|
21
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
|
+
*/
|
|
23
|
+
static isInstance(obj: any): obj is StackTags;
|
|
24
|
+
/**
|
|
25
|
+
* Organization name.
|
|
26
|
+
*/
|
|
27
|
+
readonly organization: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Project name.
|
|
30
|
+
*/
|
|
31
|
+
readonly project: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Stack name.
|
|
34
|
+
*/
|
|
35
|
+
readonly stack: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Map of tag names to values. Each entry represents a stack tag.
|
|
38
|
+
*/
|
|
39
|
+
readonly tags: pulumi.Output<{
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
}>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a StackTags resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args: StackTagsArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a StackTags resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface StackTagsArgs {
|
|
55
|
+
/**
|
|
56
|
+
* Organization name.
|
|
57
|
+
*/
|
|
58
|
+
organization: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Project name.
|
|
61
|
+
*/
|
|
62
|
+
project: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Stack name.
|
|
65
|
+
*/
|
|
66
|
+
stack: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Map of tag names to values. Each entry represents a stack tag.
|
|
69
|
+
*/
|
|
70
|
+
tags: pulumi.Input<{
|
|
71
|
+
[key: string]: pulumi.Input<string>;
|
|
72
|
+
}>;
|
|
73
|
+
}
|
package/stackTags.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.StackTags = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a set of stack tags as a single resource via a `tags` map, instead of one `StackTag` per key — useful for YAML programs.
|
|
10
|
+
*
|
|
11
|
+
* Only tags declared in `tags` are managed; tags added out-of-band (CLI, pulumibot, a singular `StackTag` resource) are left alone. Tag values are immutable in Pulumi Cloud, so a value change is implemented as delete-and-recreate.
|
|
12
|
+
*
|
|
13
|
+
* Importing with ID `{organization}/{project}/{stack}/tags` adopts every tag currently on the stack; declare `tags` explicitly after import so subsequent updates match your intent. See the [registry docs](https://www.pulumi.com/registry/packages/pulumiservice/api-docs/stacktags/) for full usage and examples.
|
|
14
|
+
*/
|
|
15
|
+
class StackTags extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing StackTags resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
23
|
+
*/
|
|
24
|
+
static get(name, id, opts) {
|
|
25
|
+
return new StackTags(name, undefined, { ...opts, id: id });
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Returns true if the given object is an instance of StackTags. This is designed to work even
|
|
29
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
30
|
+
*/
|
|
31
|
+
static isInstance(obj) {
|
|
32
|
+
if (obj === undefined || obj === null) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
return obj['__pulumiType'] === StackTags.__pulumiType;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Create a StackTags resource with the given unique name, arguments, and options.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resource.
|
|
41
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
42
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
43
|
+
*/
|
|
44
|
+
constructor(name, args, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (!opts.id) {
|
|
48
|
+
if (args?.organization === undefined && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'organization'");
|
|
50
|
+
}
|
|
51
|
+
if (args?.project === undefined && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'project'");
|
|
53
|
+
}
|
|
54
|
+
if (args?.stack === undefined && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'stack'");
|
|
56
|
+
}
|
|
57
|
+
if (args?.tags === undefined && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'tags'");
|
|
59
|
+
}
|
|
60
|
+
resourceInputs["organization"] = args?.organization;
|
|
61
|
+
resourceInputs["project"] = args?.project;
|
|
62
|
+
resourceInputs["stack"] = args?.stack;
|
|
63
|
+
resourceInputs["tags"] = args?.tags;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
resourceInputs["organization"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["project"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["stack"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(StackTags.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.StackTags = StackTags;
|
|
76
|
+
/** @internal */
|
|
77
|
+
StackTags.__pulumiType = 'pulumiservice:index:StackTags';
|
|
78
|
+
//# sourceMappingURL=stackTags.js.map
|
package/stackTags.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stackTags.js","sourceRoot":"","sources":["../stackTags.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY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cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;aAAM;YACH,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA/EL,8BAgFC;AAnEG,gBAAgB;AACO,sBAAY,GAAG,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Assigns a custom (fine-grained) role to a Pulumi Cloud team. The Pulumi Cloud API currently supports one role per team; creating a second assignment replaces the first. The team's organization must already have the custom-roles feature enabled.
|
|
4
|
+
*/
|
|
5
|
+
export declare class TeamRoleAssignment extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing TeamRoleAssignment resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TeamRoleAssignment;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of TeamRoleAssignment. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is TeamRoleAssignment;
|
|
20
|
+
/**
|
|
21
|
+
* The Pulumi Cloud organization name.
|
|
22
|
+
*/
|
|
23
|
+
readonly organizationName: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the custom role to assign.
|
|
26
|
+
*/
|
|
27
|
+
readonly roleId: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the currently assigned role (custom role name, or built-in role).
|
|
30
|
+
*/
|
|
31
|
+
readonly roleName: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The team name.
|
|
34
|
+
*/
|
|
35
|
+
readonly teamName: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Create a TeamRoleAssignment resource with the given unique name, arguments, and options.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resource.
|
|
40
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
41
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
42
|
+
*/
|
|
43
|
+
constructor(name: string, args: TeamRoleAssignmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The set of arguments for constructing a TeamRoleAssignment resource.
|
|
47
|
+
*/
|
|
48
|
+
export interface TeamRoleAssignmentArgs {
|
|
49
|
+
/**
|
|
50
|
+
* The Pulumi Cloud organization name.
|
|
51
|
+
*/
|
|
52
|
+
organizationName: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the custom role to assign.
|
|
55
|
+
*/
|
|
56
|
+
roleId: pulumi.Input<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The team name.
|
|
59
|
+
*/
|
|
60
|
+
teamName: pulumi.Input<string>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.TeamRoleAssignment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Assigns a custom (fine-grained) role to a Pulumi Cloud team. The Pulumi Cloud API currently supports one role per team; creating a second assignment replaces the first. The team's organization must already have the custom-roles feature enabled.
|
|
10
|
+
*/
|
|
11
|
+
class TeamRoleAssignment extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing TeamRoleAssignment resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new TeamRoleAssignment(name, undefined, { ...opts, id: id });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of TeamRoleAssignment. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === TeamRoleAssignment.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a TeamRoleAssignment resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if (args?.organizationName === undefined && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'organizationName'");
|
|
46
|
+
}
|
|
47
|
+
if (args?.roleId === undefined && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'roleId'");
|
|
49
|
+
}
|
|
50
|
+
if (args?.teamName === undefined && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'teamName'");
|
|
52
|
+
}
|
|
53
|
+
resourceInputs["organizationName"] = args?.organizationName;
|
|
54
|
+
resourceInputs["roleId"] = args?.roleId;
|
|
55
|
+
resourceInputs["teamName"] = args?.teamName;
|
|
56
|
+
resourceInputs["roleName"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
resourceInputs["organizationName"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["roleId"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["roleName"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["teamName"] = undefined /*out*/;
|
|
63
|
+
}
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
const replaceOnChanges = { replaceOnChanges: ["organizationName", "roleId", "teamName"] };
|
|
66
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
67
|
+
super(TeamRoleAssignment.__pulumiType, name, resourceInputs, opts);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.TeamRoleAssignment = TeamRoleAssignment;
|
|
71
|
+
/** @internal */
|
|
72
|
+
TeamRoleAssignment.__pulumiType = 'pulumiservice:index:TeamRoleAssignment';
|
|
73
|
+
//# sourceMappingURL=teamRoleAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teamRoleAssignment.js","sourceRo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,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;aAAM;YACH,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,kBAAkB,EAAE,QAAQ,EAAE,UAAU,CAAC,EAAE,CAAC;QAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA9EL,gDA+EC;AAlEG,gBAAgB;AACO,+BAAY,GAAG,wCAAwC,CAAC"}
|
package/types/enums/index.d.ts
CHANGED
|
@@ -140,6 +140,10 @@ export declare const ScanSchedule: {
|
|
|
140
140
|
* Disable automated scanning.
|
|
141
141
|
*/
|
|
142
142
|
readonly None: "none";
|
|
143
|
+
/**
|
|
144
|
+
* Run automated scans every twelve hours.
|
|
145
|
+
*/
|
|
146
|
+
readonly ScanSchedule_12h: "12h";
|
|
143
147
|
/**
|
|
144
148
|
* Run automated scans once per day.
|
|
145
149
|
*/
|
package/types/enums/index.js
CHANGED
package/types/enums/index.js.map
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OAEG;IACH,oBAAoB,EAAE,wBAAwB;IAC9C;;OAEG;IACH,yBAAyB,EAAE,6BAA6B;IACxD;;OAEG;IACH,sBAAsB,EAAE,0BAA0B;IAClD;;OAEG;IACH,kBAAkB,EAAE,qBAAqB;IACzC;;OAEG;IACH,kBAAkB,EAAE,qBAAqB;IACzC;;OAEG;IACH,0BAA0B,EAAE,8BAA8B;IAC1D;;OAEG;IACH,4BAA4B,EAAE,gCAAgC;IAC9D;;OAEG;IACH,6BAA6B,EAAE,kCAAkC;IACjE;;OAEG;IACH,6BAA6B,EAAE,kCAAkC;IACjE;;OAEG;IACH,6BAA6B,EAAE,kCAAkC;IACjE;;OAEG;IACH,qBAAqB,EAAE,yBAAyB;IAChD;;OAEG;IACH,qBAAqB,EAAE,yBAAyB;IAChD;;OAEG;IACH,qBAAqB,EAAE,yBAAyB;IAChD;;OAEG;IACH,0BAA0B,EAAE,8BAA8B;CACpD,CAAC;AAIE,QAAA,aAAa,GAAG;IACzB;;OAEG;IACH,GAAG,EAAE,KAAK;IACV;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,iBAAiB,EAAE,oBAAoB;IACvC;;OAEG;IACH,cAAc,EAAE,UAAU;CACpB,CAAC;AAIE,QAAA,YAAY,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,WAAW,EAAE,aAAa;IAC1B;;OAEG;IACH,YAAY,EAAE,cAAc;CACtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/enums/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAGpE,QAAA,kBAAkB,GAAG;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM;IACZ;;OAEG;IACH,KAAK,EAAE,OAAO;CACR,CAAC;AAIE,QAAA,yBAAyB,GAAG;IACrC;;OAEG;IACH,QAAQ,EAAE,UAAU;IACpB;;OAEG;IACH,KAAK,EAAE,OAAO;C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B,EAAE,kCAAkC;IACjE;;OAEG;IACH,6BAA6B,EAAE,kCAAkC;IACjE;;OAEG;IACH,6BAA6B,EAAE,kCAAkC;IACjE;;OAEG;IACH,qBAAqB,EAAE,yBAAyB;IAChD;;OAEG;IACH,qBAAqB,EAAE,yBAAyB;IAChD;;OAEG;IACH,qBAAqB,EAAE,yBAAyB;IAChD;;OAEG;IACH,0BAA0B,EAAE,8BAA8B;CACpD,CAAC;AAIE,QAAA,aAAa,GAAG;IACzB;;OAEG;IACH,GAAG,EAAE,KAAK;IACV;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,iBAAiB,EAAE,oBAAoB;IACvC;;OAEG;IACH,cAAc,EAAE,UAAU;CACpB,CAAC;AAIE,QAAA,YAAY,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,WAAW,EAAE,aAAa;IAC1B;;OAEG;IACH,YAAY,EAAE,cAAc;CACtB,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -354,11 +354,11 @@ export interface OperationContextOptionsArgs {
|
|
|
354
354
|
skipIntermediateDeployments?: pulumi.Input<boolean>;
|
|
355
355
|
}
|
|
356
356
|
/**
|
|
357
|
-
* A reference to a policy pack within a policy group.
|
|
357
|
+
* A reference to a policy pack within a policy group (input).
|
|
358
358
|
*/
|
|
359
|
-
export interface
|
|
359
|
+
export interface PolicyGroupPolicyPackReferenceInputArgs {
|
|
360
360
|
/**
|
|
361
|
-
* Optional configuration for the policy pack.
|
|
361
|
+
* Optional configuration for the policy pack. The special key `all` sets the default enforcement level for every policy in the pack; per-policy entries override it.
|
|
362
362
|
*/
|
|
363
363
|
config?: pulumi.Input<{
|
|
364
364
|
[key: string]: any;
|
|
@@ -371,10 +371,6 @@ export interface PolicyGroupPolicyPackReferenceArgs {
|
|
|
371
371
|
* The name of the policy pack.
|
|
372
372
|
*/
|
|
373
373
|
name: pulumi.Input<string>;
|
|
374
|
-
/**
|
|
375
|
-
* The version of the policy pack.
|
|
376
|
-
*/
|
|
377
|
-
version?: pulumi.Input<number>;
|
|
378
374
|
/**
|
|
379
375
|
* The version tag of the policy pack.
|
|
380
376
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -348,7 +348,7 @@ export interface InsightsAccountState {
|
|
|
348
348
|
[key: string]: any;
|
|
349
349
|
};
|
|
350
350
|
/**
|
|
351
|
-
* Schedule for automated scanning. Use 'daily'
|
|
351
|
+
* Schedule for automated scanning. Use 'daily' for daily scans, '12h' for scans every twelve hours, or 'none' to disable scheduled scanning. Defaults to 'none'.
|
|
352
352
|
*/
|
|
353
353
|
scanSchedule: enums.ScanSchedule;
|
|
354
354
|
/**
|
|
@@ -398,12 +398,34 @@ export interface OperationContextOptions {
|
|
|
398
398
|
*/
|
|
399
399
|
skipIntermediateDeployments?: boolean;
|
|
400
400
|
}
|
|
401
|
+
export interface OrganizationMemberInfo {
|
|
402
|
+
/**
|
|
403
|
+
* The member's built-in role (member, admin, billing-manager). Absent when a custom role is assigned — check `roleId` in that case.
|
|
404
|
+
*/
|
|
405
|
+
role?: string;
|
|
406
|
+
/**
|
|
407
|
+
* The custom role ID assigned to this member, if any.
|
|
408
|
+
*/
|
|
409
|
+
roleId?: string;
|
|
410
|
+
/**
|
|
411
|
+
* The name of the currently assigned role (custom role name, or built-in role).
|
|
412
|
+
*/
|
|
413
|
+
roleName?: string;
|
|
414
|
+
/**
|
|
415
|
+
* The member's Pulumi Cloud username.
|
|
416
|
+
*/
|
|
417
|
+
username: string;
|
|
418
|
+
/**
|
|
419
|
+
* Whether this member is an admin in Pulumi Cloud without admin access on the backing identity provider.
|
|
420
|
+
*/
|
|
421
|
+
virtualAdmin: boolean;
|
|
422
|
+
}
|
|
401
423
|
/**
|
|
402
424
|
* A reference to a policy pack within a policy group.
|
|
403
425
|
*/
|
|
404
426
|
export interface PolicyGroupPolicyPackReference {
|
|
405
427
|
/**
|
|
406
|
-
* Optional configuration for the policy pack.
|
|
428
|
+
* Optional configuration for the policy pack. The special key `all` sets the default enforcement level for every policy in the pack; per-policy entries override it.
|
|
407
429
|
*/
|
|
408
430
|
config?: {
|
|
409
431
|
[key: string]: any;
|
|
@@ -417,7 +439,7 @@ export interface PolicyGroupPolicyPackReference {
|
|
|
417
439
|
*/
|
|
418
440
|
name: string;
|
|
419
441
|
/**
|
|
420
|
-
* The version of the policy pack.
|
|
442
|
+
* The server-derived numeric version of the policy pack. This is output-only; use `versionTag` to pin a specific version.
|
|
421
443
|
*/
|
|
422
444
|
version?: number;
|
|
423
445
|
/**
|
|
@@ -438,6 +460,24 @@ export interface PolicyGroupStackReference {
|
|
|
438
460
|
*/
|
|
439
461
|
routingProject: string;
|
|
440
462
|
}
|
|
463
|
+
export interface RoleScopeInfo {
|
|
464
|
+
/**
|
|
465
|
+
* Human-readable description of what the scope grants.
|
|
466
|
+
*/
|
|
467
|
+
description: string;
|
|
468
|
+
/**
|
|
469
|
+
* The scope group label as shown in the Pulumi Cloud console (e.g. `Stacks`).
|
|
470
|
+
*/
|
|
471
|
+
groupName: string;
|
|
472
|
+
/**
|
|
473
|
+
* The scope name (e.g. `stack:read`).
|
|
474
|
+
*/
|
|
475
|
+
name: string;
|
|
476
|
+
/**
|
|
477
|
+
* The resource-type bucket the scope belongs to (e.g. `stack`, `team`).
|
|
478
|
+
*/
|
|
479
|
+
resourceType: string;
|
|
480
|
+
}
|
|
441
481
|
export interface TemplateSourceDestination {
|
|
442
482
|
/**
|
|
443
483
|
* Destination URL that gets filled in on new project creation.
|