@pulumi/github 6.8.0-alpha.1761113005 → 6.8.0-alpha.1761189922
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/actionsOrganizationSecret.d.ts +3 -0
- package/actionsOrganizationSecret.js +2 -0
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +89 -0
- package/actionsOrganizationSecretRepository.js +86 -0
- package/actionsOrganizationSecretRepository.js.map +1 -0
- package/config/vars.d.ts +1 -1
- package/getOrganizationCustomProperties.d.ts +122 -0
- package/getOrganizationCustomProperties.js +60 -0
- package/getOrganizationCustomProperties.js.map +1 -0
- package/getOrganizationCustomRole.d.ts +4 -0
- package/getOrganizationCustomRole.js +4 -0
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationRepositoryRole.d.ts +82 -0
- package/getOrganizationRepositoryRole.js +54 -0
- package/getOrganizationRepositoryRole.js.map +1 -0
- package/getOrganizationRepositoryRoles.d.ts +65 -0
- package/getOrganizationRepositoryRoles.js +66 -0
- package/getOrganizationRepositoryRoles.js.map +1 -0
- package/getOrganizationRole.d.ts +82 -0
- package/getOrganizationRole.js +50 -0
- package/getOrganizationRole.js.map +1 -0
- package/getOrganizationRoleTeams.d.ts +85 -0
- package/getOrganizationRoleTeams.js +68 -0
- package/getOrganizationRoleTeams.js.map +1 -0
- package/getOrganizationRoleUsers.d.ts +81 -0
- package/getOrganizationRoleUsers.js +64 -0
- package/getOrganizationRoleUsers.js.map +1 -0
- package/getOrganizationRoles.d.ts +63 -0
- package/getOrganizationRoles.js +64 -0
- package/getOrganizationRoles.js.map +1 -0
- package/getOrganizationSecurityManagers.d.ts +41 -0
- package/getOrganizationSecurityManagers.js +42 -0
- package/getOrganizationSecurityManagers.js.map +1 -0
- package/getTeam.d.ts +4 -2
- package/getTeam.js.map +1 -1
- package/index.d.ts +45 -0
- package/index.js +64 -4
- package/index.js.map +1 -1
- package/organizationCustomProperties.d.ts +170 -0
- package/organizationCustomProperties.js +124 -0
- package/organizationCustomProperties.js.map +1 -0
- package/organizationCustomRole.d.ts +2 -0
- package/organizationCustomRole.js +2 -0
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +2 -0
- package/organizationProject.js +2 -0
- package/organizationProject.js.map +1 -1
- package/organizationRepositoryRole.d.ts +121 -0
- package/organizationRepositoryRole.js +92 -0
- package/organizationRepositoryRole.js.map +1 -0
- package/organizationRole.d.ts +121 -0
- package/organizationRole.js +89 -0
- package/organizationRole.js.map +1 -0
- package/organizationRoleTeam.d.ts +83 -0
- package/organizationRoleTeam.js +80 -0
- package/organizationRoleTeam.js.map +1 -0
- package/organizationRoleTeamAssignment.d.ts +90 -0
- package/organizationRoleTeamAssignment.js +87 -0
- package/organizationRoleTeamAssignment.js.map +1 -0
- package/organizationRoleUser.d.ts +83 -0
- package/organizationRoleUser.js +80 -0
- package/organizationRoleUser.js.map +1 -0
- package/organizationRuleset.d.ts +8 -0
- package/organizationRuleset.js +8 -0
- package/organizationRuleset.js.map +1 -1
- package/package.json +2 -2
- package/projectCard.d.ts +2 -0
- package/projectCard.js +2 -0
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +2 -0
- package/projectColumn.js +2 -0
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +1 -1
- package/repository.d.ts +1 -1
- package/repositoryProject.d.ts +2 -0
- package/repositoryProject.js +2 -0
- package/repositoryProject.js.map +1 -1
- package/repositoryRuleset.d.ts +28 -3
- package/repositoryRuleset.js +25 -0
- package/repositoryRuleset.js.map +1 -1
- package/types/input.d.ts +44 -6
- package/types/output.d.ts +158 -15
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manage a custom organization role.
|
|
4
|
+
*
|
|
5
|
+
* > **Note**: Custom organization roles are currently only available in GitHub Enterprise Cloud.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as github from "@pulumi/github";
|
|
12
|
+
*
|
|
13
|
+
* const example = new github.OrganizationRole("example", {
|
|
14
|
+
* name: "example",
|
|
15
|
+
* baseRole: "read",
|
|
16
|
+
* permissions: [
|
|
17
|
+
* "read_organization_custom_org_role",
|
|
18
|
+
* "read_organization_custom_repo_role",
|
|
19
|
+
* ],
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* A custom organization role can be imported using its ID.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import github:index/organizationRole:OrganizationRole example 1234
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class OrganizationRole extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing OrganizationRole resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationRoleState, opts?: pulumi.CustomResourceOptions): OrganizationRole;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of OrganizationRole. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is OrganizationRole;
|
|
47
|
+
/**
|
|
48
|
+
* The system role from which this role inherits permissions.
|
|
49
|
+
*/
|
|
50
|
+
readonly baseRole: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The description of the organization role.
|
|
53
|
+
*/
|
|
54
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* The name of the organization role.
|
|
57
|
+
*/
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The permissions included in this role.
|
|
61
|
+
*/
|
|
62
|
+
readonly permissions: pulumi.Output<string[]>;
|
|
63
|
+
/**
|
|
64
|
+
* The ID of the organization role.
|
|
65
|
+
*/
|
|
66
|
+
readonly roleId: pulumi.Output<number>;
|
|
67
|
+
/**
|
|
68
|
+
* Create a OrganizationRole resource with the given unique name, arguments, and options.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resource.
|
|
71
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
72
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
73
|
+
*/
|
|
74
|
+
constructor(name: string, args: OrganizationRoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Input properties used for looking up and filtering OrganizationRole resources.
|
|
78
|
+
*/
|
|
79
|
+
export interface OrganizationRoleState {
|
|
80
|
+
/**
|
|
81
|
+
* The system role from which this role inherits permissions.
|
|
82
|
+
*/
|
|
83
|
+
baseRole?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The description of the organization role.
|
|
86
|
+
*/
|
|
87
|
+
description?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The name of the organization role.
|
|
90
|
+
*/
|
|
91
|
+
name?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The permissions included in this role.
|
|
94
|
+
*/
|
|
95
|
+
permissions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the organization role.
|
|
98
|
+
*/
|
|
99
|
+
roleId?: pulumi.Input<number>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The set of arguments for constructing a OrganizationRole resource.
|
|
103
|
+
*/
|
|
104
|
+
export interface OrganizationRoleArgs {
|
|
105
|
+
/**
|
|
106
|
+
* The system role from which this role inherits permissions.
|
|
107
|
+
*/
|
|
108
|
+
baseRole?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The description of the organization role.
|
|
111
|
+
*/
|
|
112
|
+
description?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The name of the organization role.
|
|
115
|
+
*/
|
|
116
|
+
name?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The permissions included in this role.
|
|
119
|
+
*/
|
|
120
|
+
permissions: pulumi.Input<pulumi.Input<string>[]>;
|
|
121
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.OrganizationRole = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manage a custom organization role.
|
|
10
|
+
*
|
|
11
|
+
* > **Note**: Custom organization roles are currently only available in GitHub Enterprise Cloud.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const example = new github.OrganizationRole("example", {
|
|
20
|
+
* name: "example",
|
|
21
|
+
* baseRole: "read",
|
|
22
|
+
* permissions: [
|
|
23
|
+
* "read_organization_custom_org_role",
|
|
24
|
+
* "read_organization_custom_repo_role",
|
|
25
|
+
* ],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* A custom organization role can be imported using its ID.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import github:index/organizationRole:OrganizationRole example 1234
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class OrganizationRole extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing OrganizationRole resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, state, opts) {
|
|
48
|
+
return new OrganizationRole(name, state, { ...opts, id: id });
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of OrganizationRole. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj) {
|
|
55
|
+
if (obj === undefined || obj === null) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
return obj['__pulumiType'] === OrganizationRole.__pulumiType;
|
|
59
|
+
}
|
|
60
|
+
constructor(name, argsOrState, opts) {
|
|
61
|
+
let resourceInputs = {};
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
if (opts.id) {
|
|
64
|
+
const state = argsOrState;
|
|
65
|
+
resourceInputs["baseRole"] = state?.baseRole;
|
|
66
|
+
resourceInputs["description"] = state?.description;
|
|
67
|
+
resourceInputs["name"] = state?.name;
|
|
68
|
+
resourceInputs["permissions"] = state?.permissions;
|
|
69
|
+
resourceInputs["roleId"] = state?.roleId;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
const args = argsOrState;
|
|
73
|
+
if (args?.permissions === undefined && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'permissions'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["baseRole"] = args?.baseRole;
|
|
77
|
+
resourceInputs["description"] = args?.description;
|
|
78
|
+
resourceInputs["name"] = args?.name;
|
|
79
|
+
resourceInputs["permissions"] = args?.permissions;
|
|
80
|
+
resourceInputs["roleId"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(OrganizationRole.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.OrganizationRole = OrganizationRole;
|
|
87
|
+
/** @internal */
|
|
88
|
+
OrganizationRole.__pulumiType = 'github:index/organizationRole:OrganizationRole';
|
|
89
|
+
//# sourceMappingURL=organizationRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationRole.js","sourceRoot":"","sources":["../organizationRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA+BD,YAAY,I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gD,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manage an association between an organization role and a team.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const example = new github.OrganizationRoleTeam("example", {
|
|
12
|
+
* roleId: 1234,
|
|
13
|
+
* teamSlug: "example-team",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* An organization role team association can be imported using the role ID and the team slug separated by a `:`.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import github:index/organizationRoleTeam:OrganizationRoleTeam example "1234:example-team"
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class OrganizationRoleTeam extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing OrganizationRoleTeam resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationRoleTeamState, opts?: pulumi.CustomResourceOptions): OrganizationRoleTeam;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of OrganizationRoleTeam. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is OrganizationRoleTeam;
|
|
41
|
+
/**
|
|
42
|
+
* The ID of the organization role.
|
|
43
|
+
*/
|
|
44
|
+
readonly roleId: pulumi.Output<number>;
|
|
45
|
+
/**
|
|
46
|
+
* The slug of the team name.
|
|
47
|
+
*/
|
|
48
|
+
readonly teamSlug: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a OrganizationRoleTeam resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args: OrganizationRoleTeamArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Input properties used for looking up and filtering OrganizationRoleTeam resources.
|
|
60
|
+
*/
|
|
61
|
+
export interface OrganizationRoleTeamState {
|
|
62
|
+
/**
|
|
63
|
+
* The ID of the organization role.
|
|
64
|
+
*/
|
|
65
|
+
roleId?: pulumi.Input<number>;
|
|
66
|
+
/**
|
|
67
|
+
* The slug of the team name.
|
|
68
|
+
*/
|
|
69
|
+
teamSlug?: pulumi.Input<string>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The set of arguments for constructing a OrganizationRoleTeam resource.
|
|
73
|
+
*/
|
|
74
|
+
export interface OrganizationRoleTeamArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The ID of the organization role.
|
|
77
|
+
*/
|
|
78
|
+
roleId: pulumi.Input<number>;
|
|
79
|
+
/**
|
|
80
|
+
* The slug of the team name.
|
|
81
|
+
*/
|
|
82
|
+
teamSlug: pulumi.Input<string>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.OrganizationRoleTeam = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manage an association between an organization role and a team.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const example = new github.OrganizationRoleTeam("example", {
|
|
18
|
+
* roleId: 1234,
|
|
19
|
+
* teamSlug: "example-team",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* An organization role team association can be imported using the role ID and the team slug separated by a `:`.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import github:index/organizationRoleTeam:OrganizationRoleTeam example "1234:example-team"
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class OrganizationRoleTeam extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing OrganizationRoleTeam resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new OrganizationRoleTeam(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of OrganizationRoleTeam. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === OrganizationRoleTeam.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["roleId"] = state?.roleId;
|
|
60
|
+
resourceInputs["teamSlug"] = state?.teamSlug;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if (args?.roleId === undefined && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'roleId'");
|
|
66
|
+
}
|
|
67
|
+
if (args?.teamSlug === undefined && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'teamSlug'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["roleId"] = args?.roleId;
|
|
71
|
+
resourceInputs["teamSlug"] = args?.teamSlug;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(OrganizationRoleTeam.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.OrganizationRoleTeam = OrganizationRoleTeam;
|
|
78
|
+
/** @internal */
|
|
79
|
+
OrganizationRoleTeam.__pulumiType = 'github:index/organizationRoleTeam:OrganizationRoleTeam';
|
|
80
|
+
//# sourceMappingURL=organizationRoleTeam.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationRoleTeam.js","sourceRoot":"","sources":["../organizationRoleTeam.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,oBAAqB,SAAQ,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SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAjEL,oDAkEC;AApDG,gBAAgB;AACO,iCAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource manages relationships between teams and organization roles
|
|
4
|
+
* in your GitHub organization. This works on predefined roles, and custom roles, where the latter is an Enterprise feature.
|
|
5
|
+
*
|
|
6
|
+
* Creating this resource assigns the role to a team.
|
|
7
|
+
*
|
|
8
|
+
* The organization role and team must both belong to the same organization
|
|
9
|
+
* on GitHub.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const test_team = new github.Team("test-team", {name: "test-team"});
|
|
18
|
+
* const test_team_role_assignment = new github.OrganizationRoleTeamAssignment("test-team-role-assignment", {
|
|
19
|
+
* teamSlug: test_team.slug,
|
|
20
|
+
* roleId: "8132",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* GitHub Team Organization Role Assignment can be imported using an ID made up of `team_slug:role_id`
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import github:index/organizationRoleTeamAssignment:OrganizationRoleTeamAssignment role_assignment test-team:8132
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class OrganizationRoleTeamAssignment extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing OrganizationRoleTeamAssignment resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationRoleTeamAssignmentState, opts?: pulumi.CustomResourceOptions): OrganizationRoleTeamAssignment;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of OrganizationRoleTeamAssignment. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is OrganizationRoleTeamAssignment;
|
|
48
|
+
/**
|
|
49
|
+
* The GitHub organization role id
|
|
50
|
+
*/
|
|
51
|
+
readonly roleId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The GitHub team slug
|
|
54
|
+
*/
|
|
55
|
+
readonly teamSlug: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a OrganizationRoleTeamAssignment resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args: OrganizationRoleTeamAssignmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Input properties used for looking up and filtering OrganizationRoleTeamAssignment resources.
|
|
67
|
+
*/
|
|
68
|
+
export interface OrganizationRoleTeamAssignmentState {
|
|
69
|
+
/**
|
|
70
|
+
* The GitHub organization role id
|
|
71
|
+
*/
|
|
72
|
+
roleId?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The GitHub team slug
|
|
75
|
+
*/
|
|
76
|
+
teamSlug?: pulumi.Input<string>;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* The set of arguments for constructing a OrganizationRoleTeamAssignment resource.
|
|
80
|
+
*/
|
|
81
|
+
export interface OrganizationRoleTeamAssignmentArgs {
|
|
82
|
+
/**
|
|
83
|
+
* The GitHub organization role id
|
|
84
|
+
*/
|
|
85
|
+
roleId: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The GitHub team slug
|
|
88
|
+
*/
|
|
89
|
+
teamSlug: pulumi.Input<string>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.OrganizationRoleTeamAssignment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource manages relationships between teams and organization roles
|
|
10
|
+
* in your GitHub organization. This works on predefined roles, and custom roles, where the latter is an Enterprise feature.
|
|
11
|
+
*
|
|
12
|
+
* Creating this resource assigns the role to a team.
|
|
13
|
+
*
|
|
14
|
+
* The organization role and team must both belong to the same organization
|
|
15
|
+
* on GitHub.
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as github from "@pulumi/github";
|
|
22
|
+
*
|
|
23
|
+
* const test_team = new github.Team("test-team", {name: "test-team"});
|
|
24
|
+
* const test_team_role_assignment = new github.OrganizationRoleTeamAssignment("test-team-role-assignment", {
|
|
25
|
+
* teamSlug: test_team.slug,
|
|
26
|
+
* roleId: "8132",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* GitHub Team Organization Role Assignment can be imported using an ID made up of `team_slug:role_id`
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import github:index/organizationRoleTeamAssignment:OrganizationRoleTeamAssignment role_assignment test-team:8132
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class OrganizationRoleTeamAssignment extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing OrganizationRoleTeamAssignment resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new OrganizationRoleTeamAssignment(name, state, { ...opts, id: id });
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of OrganizationRoleTeamAssignment. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === OrganizationRoleTeamAssignment.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["roleId"] = state?.roleId;
|
|
67
|
+
resourceInputs["teamSlug"] = state?.teamSlug;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
const args = argsOrState;
|
|
71
|
+
if (args?.roleId === undefined && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'roleId'");
|
|
73
|
+
}
|
|
74
|
+
if (args?.teamSlug === undefined && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'teamSlug'");
|
|
76
|
+
}
|
|
77
|
+
resourceInputs["roleId"] = args?.roleId;
|
|
78
|
+
resourceInputs["teamSlug"] = args?.teamSlug;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(OrganizationRoleTeamAssignment.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.OrganizationRoleTeamAssignment = OrganizationRoleTeamAssignment;
|
|
85
|
+
/** @internal */
|
|
86
|
+
OrganizationRoleTeamAssignment.__pulumiType = 'github:index/organizationRoleTeamAssignment:OrganizationRoleTeamAssignment';
|
|
87
|
+
//# sourceMappingURL=organizationRoleTeamAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationRoleTeamAssignment.js","sourceRoot":"","sources":["../organizationRoleTeamAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B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
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manage an association between an organization role and a user.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const example = new github.OrganizationRoleUser("example", {
|
|
12
|
+
* roleId: 1234,
|
|
13
|
+
* login: "example-user",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* An organization role user association can be imported using the role ID and the user login separated by a `:`.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import github:index/organizationRoleUser:OrganizationRoleUser example "1234:example-user"
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class OrganizationRoleUser extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing OrganizationRoleUser resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationRoleUserState, opts?: pulumi.CustomResourceOptions): OrganizationRoleUser;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of OrganizationRoleUser. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is OrganizationRoleUser;
|
|
41
|
+
/**
|
|
42
|
+
* The login for the GitHub user account.
|
|
43
|
+
*/
|
|
44
|
+
readonly login: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The ID of the organization role.
|
|
47
|
+
*/
|
|
48
|
+
readonly roleId: pulumi.Output<number>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a OrganizationRoleUser resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args: OrganizationRoleUserArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Input properties used for looking up and filtering OrganizationRoleUser resources.
|
|
60
|
+
*/
|
|
61
|
+
export interface OrganizationRoleUserState {
|
|
62
|
+
/**
|
|
63
|
+
* The login for the GitHub user account.
|
|
64
|
+
*/
|
|
65
|
+
login?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The ID of the organization role.
|
|
68
|
+
*/
|
|
69
|
+
roleId?: pulumi.Input<number>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The set of arguments for constructing a OrganizationRoleUser resource.
|
|
73
|
+
*/
|
|
74
|
+
export interface OrganizationRoleUserArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The login for the GitHub user account.
|
|
77
|
+
*/
|
|
78
|
+
login: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the organization role.
|
|
81
|
+
*/
|
|
82
|
+
roleId: pulumi.Input<number>;
|
|
83
|
+
}
|