@pulumi/github 6.10.0-alpha.1766036987 → 6.10.0-alpha.1766201671
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/actionsHostedRunner.d.ts +250 -0
- package/actionsHostedRunner.js +158 -0
- package/actionsHostedRunner.js.map +1 -0
- package/enterpriseActionsWorkflowPermissions.d.ts +113 -0
- package/enterpriseActionsWorkflowPermissions.js +97 -0
- package/enterpriseActionsWorkflowPermissions.js.map +1 -0
- package/enterpriseSecurityAnalysisSettings.d.ts +162 -0
- package/enterpriseSecurityAnalysisSettings.js +116 -0
- package/enterpriseSecurityAnalysisSettings.js.map +1 -0
- package/getOrganizationCustomProperties.d.ts +12 -0
- package/getOrganizationCustomProperties.js +2 -0
- package/getOrganizationCustomProperties.js.map +1 -1
- package/getOrganizationSecurityManagers.d.ts +4 -0
- package/getOrganizationSecurityManagers.js +4 -0
- package/getOrganizationSecurityManagers.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +4 -0
- package/getRepositoryDeploymentBranchPolicies.js +4 -0
- package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
- package/getRepositoryEnvironmentDeploymentPolicies.d.ts +75 -0
- package/getRepositoryEnvironmentDeploymentPolicies.js +54 -0
- package/getRepositoryEnvironmentDeploymentPolicies.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +23 -5
- package/index.js.map +1 -1
- package/organizationCustomProperties.d.ts +29 -0
- package/organizationCustomProperties.js +19 -0
- package/organizationCustomProperties.js.map +1 -1
- package/organizationRole.d.ts +7 -7
- package/organizationRoleTeamAssignment.d.ts +4 -0
- package/organizationRoleTeamAssignment.js +4 -0
- package/organizationRoleTeamAssignment.js.map +1 -1
- package/organizationRuleset.d.ts +8 -1
- package/organizationRuleset.js +8 -1
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.d.ts +4 -0
- package/organizationSecurityManager.js +4 -0
- package/organizationSecurityManager.js.map +1 -1
- package/package.json +2 -2
- package/repository.d.ts +6 -6
- package/repository.js +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +4 -0
- package/repositoryDeploymentBranchPolicy.js +4 -0
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryRuleset.d.ts +13 -6
- package/repositoryRuleset.js +11 -1
- package/repositoryRuleset.js.map +1 -1
- package/types/input.d.ts +80 -4
- package/types/output.d.ts +90 -4
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource allows you to manage code security and analysis settings for a GitHub Enterprise account. This controls Advanced Security, Secret Scanning, and related security features that are automatically enabled for new repositories in the enterprise.
|
|
4
|
+
*
|
|
5
|
+
* You must have enterprise admin access to use this resource.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as github from "@pulumi/github";
|
|
12
|
+
*
|
|
13
|
+
* // Basic security settings - enable secret scanning only
|
|
14
|
+
* const basic = new github.EnterpriseSecurityAnalysisSettings("basic", {
|
|
15
|
+
* enterpriseSlug: "my-enterprise",
|
|
16
|
+
* secretScanningEnabledForNewRepositories: true,
|
|
17
|
+
* });
|
|
18
|
+
* // Full security configuration with all features enabled
|
|
19
|
+
* const comprehensive = new github.EnterpriseSecurityAnalysisSettings("comprehensive", {
|
|
20
|
+
* enterpriseSlug: "my-enterprise",
|
|
21
|
+
* advancedSecurityEnabledForNewRepositories: true,
|
|
22
|
+
* secretScanningEnabledForNewRepositories: true,
|
|
23
|
+
* secretScanningPushProtectionEnabledForNewRepositories: true,
|
|
24
|
+
* secretScanningValidityChecksEnabled: true,
|
|
25
|
+
* secretScanningPushProtectionCustomLink: "https://octokit.com/security-guidelines",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Notes
|
|
30
|
+
*
|
|
31
|
+
* > **Note:** This resource requires a GitHub Enterprise account and enterprise admin permissions.
|
|
32
|
+
*
|
|
33
|
+
* > **Note:** Advanced Security features require a GitHub Advanced Security license.
|
|
34
|
+
*
|
|
35
|
+
* When this resource is destroyed, all security analysis settings will be reset to disabled defaults for security reasons.
|
|
36
|
+
*
|
|
37
|
+
* ## Dependencies
|
|
38
|
+
*
|
|
39
|
+
* This resource manages the following security features:
|
|
40
|
+
*
|
|
41
|
+
* - **Advanced Security**: Code scanning, secret scanning, and dependency review
|
|
42
|
+
* - **Secret Scanning**: Automatic detection of secrets in code
|
|
43
|
+
* - **Push Protection**: Prevents secrets from being committed to repositories
|
|
44
|
+
* - **Validity Checks**: Verifies that detected secrets are actually valid
|
|
45
|
+
*
|
|
46
|
+
* These settings only apply to **new repositories** created after the settings are enabled. Existing repositories are not affected and must be configured individually.
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* Enterprise security analysis settings can be imported using the enterprise slug:
|
|
51
|
+
*
|
|
52
|
+
* ```sh
|
|
53
|
+
* $ pulumi import github:index/enterpriseSecurityAnalysisSettings:EnterpriseSecurityAnalysisSettings example my-enterprise
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare class EnterpriseSecurityAnalysisSettings extends pulumi.CustomResource {
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing EnterpriseSecurityAnalysisSettings resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnterpriseSecurityAnalysisSettingsState, opts?: pulumi.CustomResourceOptions): EnterpriseSecurityAnalysisSettings;
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of EnterpriseSecurityAnalysisSettings. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj: any): obj is EnterpriseSecurityAnalysisSettings;
|
|
72
|
+
/**
|
|
73
|
+
* Whether GitHub Advanced Security is automatically enabled for new repositories. Defaults to `false`. Requires Advanced Security license.
|
|
74
|
+
*/
|
|
75
|
+
readonly advancedSecurityEnabledForNewRepositories: pulumi.Output<boolean | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* The slug of the enterprise.
|
|
78
|
+
*/
|
|
79
|
+
readonly enterpriseSlug: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Whether secret scanning is automatically enabled for new repositories. Defaults to `false`.
|
|
82
|
+
*/
|
|
83
|
+
readonly secretScanningEnabledForNewRepositories: pulumi.Output<boolean | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Custom URL for secret scanning push protection bypass instructions.
|
|
86
|
+
*/
|
|
87
|
+
readonly secretScanningPushProtectionCustomLink: pulumi.Output<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Whether secret scanning push protection is automatically enabled for new repositories. Defaults to `false`.
|
|
90
|
+
*/
|
|
91
|
+
readonly secretScanningPushProtectionEnabledForNewRepositories: pulumi.Output<boolean | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Whether secret scanning validity checks are enabled. Defaults to `false`.
|
|
94
|
+
*/
|
|
95
|
+
readonly secretScanningValidityChecksEnabled: pulumi.Output<boolean | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Create a EnterpriseSecurityAnalysisSettings resource with the given unique name, arguments, and options.
|
|
98
|
+
*
|
|
99
|
+
* @param name The _unique_ name of the resource.
|
|
100
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
101
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
102
|
+
*/
|
|
103
|
+
constructor(name: string, args: EnterpriseSecurityAnalysisSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Input properties used for looking up and filtering EnterpriseSecurityAnalysisSettings resources.
|
|
107
|
+
*/
|
|
108
|
+
export interface EnterpriseSecurityAnalysisSettingsState {
|
|
109
|
+
/**
|
|
110
|
+
* Whether GitHub Advanced Security is automatically enabled for new repositories. Defaults to `false`. Requires Advanced Security license.
|
|
111
|
+
*/
|
|
112
|
+
advancedSecurityEnabledForNewRepositories?: pulumi.Input<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* The slug of the enterprise.
|
|
115
|
+
*/
|
|
116
|
+
enterpriseSlug?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Whether secret scanning is automatically enabled for new repositories. Defaults to `false`.
|
|
119
|
+
*/
|
|
120
|
+
secretScanningEnabledForNewRepositories?: pulumi.Input<boolean>;
|
|
121
|
+
/**
|
|
122
|
+
* Custom URL for secret scanning push protection bypass instructions.
|
|
123
|
+
*/
|
|
124
|
+
secretScanningPushProtectionCustomLink?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Whether secret scanning push protection is automatically enabled for new repositories. Defaults to `false`.
|
|
127
|
+
*/
|
|
128
|
+
secretScanningPushProtectionEnabledForNewRepositories?: pulumi.Input<boolean>;
|
|
129
|
+
/**
|
|
130
|
+
* Whether secret scanning validity checks are enabled. Defaults to `false`.
|
|
131
|
+
*/
|
|
132
|
+
secretScanningValidityChecksEnabled?: pulumi.Input<boolean>;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* The set of arguments for constructing a EnterpriseSecurityAnalysisSettings resource.
|
|
136
|
+
*/
|
|
137
|
+
export interface EnterpriseSecurityAnalysisSettingsArgs {
|
|
138
|
+
/**
|
|
139
|
+
* Whether GitHub Advanced Security is automatically enabled for new repositories. Defaults to `false`. Requires Advanced Security license.
|
|
140
|
+
*/
|
|
141
|
+
advancedSecurityEnabledForNewRepositories?: pulumi.Input<boolean>;
|
|
142
|
+
/**
|
|
143
|
+
* The slug of the enterprise.
|
|
144
|
+
*/
|
|
145
|
+
enterpriseSlug: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Whether secret scanning is automatically enabled for new repositories. Defaults to `false`.
|
|
148
|
+
*/
|
|
149
|
+
secretScanningEnabledForNewRepositories?: pulumi.Input<boolean>;
|
|
150
|
+
/**
|
|
151
|
+
* Custom URL for secret scanning push protection bypass instructions.
|
|
152
|
+
*/
|
|
153
|
+
secretScanningPushProtectionCustomLink?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Whether secret scanning push protection is automatically enabled for new repositories. Defaults to `false`.
|
|
156
|
+
*/
|
|
157
|
+
secretScanningPushProtectionEnabledForNewRepositories?: pulumi.Input<boolean>;
|
|
158
|
+
/**
|
|
159
|
+
* Whether secret scanning validity checks are enabled. Defaults to `false`.
|
|
160
|
+
*/
|
|
161
|
+
secretScanningValidityChecksEnabled?: pulumi.Input<boolean>;
|
|
162
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
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.EnterpriseSecurityAnalysisSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to manage code security and analysis settings for a GitHub Enterprise account. This controls Advanced Security, Secret Scanning, and related security features that are automatically enabled for new repositories in the enterprise.
|
|
10
|
+
*
|
|
11
|
+
* You must have enterprise admin access to use this resource.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* // Basic security settings - enable secret scanning only
|
|
20
|
+
* const basic = new github.EnterpriseSecurityAnalysisSettings("basic", {
|
|
21
|
+
* enterpriseSlug: "my-enterprise",
|
|
22
|
+
* secretScanningEnabledForNewRepositories: true,
|
|
23
|
+
* });
|
|
24
|
+
* // Full security configuration with all features enabled
|
|
25
|
+
* const comprehensive = new github.EnterpriseSecurityAnalysisSettings("comprehensive", {
|
|
26
|
+
* enterpriseSlug: "my-enterprise",
|
|
27
|
+
* advancedSecurityEnabledForNewRepositories: true,
|
|
28
|
+
* secretScanningEnabledForNewRepositories: true,
|
|
29
|
+
* secretScanningPushProtectionEnabledForNewRepositories: true,
|
|
30
|
+
* secretScanningValidityChecksEnabled: true,
|
|
31
|
+
* secretScanningPushProtectionCustomLink: "https://octokit.com/security-guidelines",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Notes
|
|
36
|
+
*
|
|
37
|
+
* > **Note:** This resource requires a GitHub Enterprise account and enterprise admin permissions.
|
|
38
|
+
*
|
|
39
|
+
* > **Note:** Advanced Security features require a GitHub Advanced Security license.
|
|
40
|
+
*
|
|
41
|
+
* When this resource is destroyed, all security analysis settings will be reset to disabled defaults for security reasons.
|
|
42
|
+
*
|
|
43
|
+
* ## Dependencies
|
|
44
|
+
*
|
|
45
|
+
* This resource manages the following security features:
|
|
46
|
+
*
|
|
47
|
+
* - **Advanced Security**: Code scanning, secret scanning, and dependency review
|
|
48
|
+
* - **Secret Scanning**: Automatic detection of secrets in code
|
|
49
|
+
* - **Push Protection**: Prevents secrets from being committed to repositories
|
|
50
|
+
* - **Validity Checks**: Verifies that detected secrets are actually valid
|
|
51
|
+
*
|
|
52
|
+
* These settings only apply to **new repositories** created after the settings are enabled. Existing repositories are not affected and must be configured individually.
|
|
53
|
+
*
|
|
54
|
+
* ## Import
|
|
55
|
+
*
|
|
56
|
+
* Enterprise security analysis settings can be imported using the enterprise slug:
|
|
57
|
+
*
|
|
58
|
+
* ```sh
|
|
59
|
+
* $ pulumi import github:index/enterpriseSecurityAnalysisSettings:EnterpriseSecurityAnalysisSettings example my-enterprise
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
class EnterpriseSecurityAnalysisSettings extends pulumi.CustomResource {
|
|
63
|
+
/**
|
|
64
|
+
* Get an existing EnterpriseSecurityAnalysisSettings resource's state with the given name, ID, and optional extra
|
|
65
|
+
* properties used to qualify the lookup.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resulting resource.
|
|
68
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
69
|
+
* @param state Any extra arguments used during the lookup.
|
|
70
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
71
|
+
*/
|
|
72
|
+
static get(name, id, state, opts) {
|
|
73
|
+
return new EnterpriseSecurityAnalysisSettings(name, state, { ...opts, id: id });
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Returns true if the given object is an instance of EnterpriseSecurityAnalysisSettings. This is designed to work even
|
|
77
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
78
|
+
*/
|
|
79
|
+
static isInstance(obj) {
|
|
80
|
+
if (obj === undefined || obj === null) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
return obj['__pulumiType'] === EnterpriseSecurityAnalysisSettings.__pulumiType;
|
|
84
|
+
}
|
|
85
|
+
constructor(name, argsOrState, opts) {
|
|
86
|
+
let resourceInputs = {};
|
|
87
|
+
opts = opts || {};
|
|
88
|
+
if (opts.id) {
|
|
89
|
+
const state = argsOrState;
|
|
90
|
+
resourceInputs["advancedSecurityEnabledForNewRepositories"] = state?.advancedSecurityEnabledForNewRepositories;
|
|
91
|
+
resourceInputs["enterpriseSlug"] = state?.enterpriseSlug;
|
|
92
|
+
resourceInputs["secretScanningEnabledForNewRepositories"] = state?.secretScanningEnabledForNewRepositories;
|
|
93
|
+
resourceInputs["secretScanningPushProtectionCustomLink"] = state?.secretScanningPushProtectionCustomLink;
|
|
94
|
+
resourceInputs["secretScanningPushProtectionEnabledForNewRepositories"] = state?.secretScanningPushProtectionEnabledForNewRepositories;
|
|
95
|
+
resourceInputs["secretScanningValidityChecksEnabled"] = state?.secretScanningValidityChecksEnabled;
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
const args = argsOrState;
|
|
99
|
+
if (args?.enterpriseSlug === undefined && !opts.urn) {
|
|
100
|
+
throw new Error("Missing required property 'enterpriseSlug'");
|
|
101
|
+
}
|
|
102
|
+
resourceInputs["advancedSecurityEnabledForNewRepositories"] = args?.advancedSecurityEnabledForNewRepositories;
|
|
103
|
+
resourceInputs["enterpriseSlug"] = args?.enterpriseSlug;
|
|
104
|
+
resourceInputs["secretScanningEnabledForNewRepositories"] = args?.secretScanningEnabledForNewRepositories;
|
|
105
|
+
resourceInputs["secretScanningPushProtectionCustomLink"] = args?.secretScanningPushProtectionCustomLink;
|
|
106
|
+
resourceInputs["secretScanningPushProtectionEnabledForNewRepositories"] = args?.secretScanningPushProtectionEnabledForNewRepositories;
|
|
107
|
+
resourceInputs["secretScanningValidityChecksEnabled"] = args?.secretScanningValidityChecksEnabled;
|
|
108
|
+
}
|
|
109
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
|
+
super(EnterpriseSecurityAnalysisSettings.__pulumiType, name, resourceInputs, opts);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.EnterpriseSecurityAnalysisSettings = EnterpriseSecurityAnalysisSettings;
|
|
114
|
+
/** @internal */
|
|
115
|
+
EnterpriseSecurityAnalysisSettings.__pulumiType = 'github:index/enterpriseSecurityAnalysisSettings:EnterpriseSecurityAnalysisSettings';
|
|
116
|
+
//# sourceMappingURL=enterpriseSecurityAnalysisSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enterpriseSecurityAnalysisSettings.js","sourceRoot":"","sources":["../enterpriseSecurityAnalysisSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,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,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA8F,EAAE,IAAmC;QACzJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkE,CAAC;YACjF,cAAc,CAAC,2CAA2C,CAAC,GAAG,KAAK,EAAE,yCAAyC,CAAC;YAC/G,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,yCAAyC,CAAC,GAAG,KAAK,EAAE,uCAAuC,CAAC;YAC3G,cAAc,CAAC,wCAAwC,CAAC,GAAG,KAAK,EAAE,sCAAsC,CAAC;YACzG,cAAc,CAAC,uDAAuD,CAAC,GAAG,KAAK,EAAE,qDAAqD,CAAC;YACvI,cAAc,CAAC,qCAAqC,CAAC,GAAG,KAAK,EAAE,mCAAmC,CAAC;SACtG;aAAM;YACH,MAAM,IAAI,GAAG,WAAiE,CAAC;YAC/E,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,2CAA2C,CAAC,GAAG,IAAI,EAAE,yCAAyC,CAAC;YAC9G,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,yCAAyC,CAAC,GAAG,IAAI,EAAE,uCAAuC,CAAC;YAC1G,cAAc,CAAC,wCAAwC,CAAC,GAAG,IAAI,EAAE,sCAAsC,CAAC;YACxG,cAAc,CAAC,uDAAuD,CAAC,GAAG,IAAI,EAAE,qDAAqD,CAAC;YACtI,cAAc,CAAC,qCAAqC,CAAC,GAAG,IAAI,EAAE,mCAAmC,CAAC;SACrG;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kCAAkC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvF,CAAC;;AAtFL,gFAuFC;AAzEG,gBAAgB;AACO,+CAAY,GAAG,oFAAoF,CAAC"}
|
|
@@ -42,6 +42,10 @@ export interface GetOrganizationCustomPropertiesArgs {
|
|
|
42
42
|
* The type of the custom property. Can be one of `string`, `singleSelect`, `multiSelect`, or `trueFalse`.
|
|
43
43
|
*/
|
|
44
44
|
valueType?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Who can edit the values of the custom property. Can be one of `orgActors` or `orgAndRepoActors`.
|
|
47
|
+
*/
|
|
48
|
+
valuesEditableBy?: string;
|
|
45
49
|
}
|
|
46
50
|
/**
|
|
47
51
|
* A collection of values returned by getOrganizationCustomProperties.
|
|
@@ -75,6 +79,10 @@ export interface GetOrganizationCustomPropertiesResult {
|
|
|
75
79
|
* The type of the custom property. Can be one of `string`, `singleSelect`, `multiSelect`, or `trueFalse`.
|
|
76
80
|
*/
|
|
77
81
|
readonly valueType?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Who can edit the values of the custom property. Can be one of `orgActors` or `orgAndRepoActors`.
|
|
84
|
+
*/
|
|
85
|
+
readonly valuesEditableBy: string;
|
|
78
86
|
}
|
|
79
87
|
/**
|
|
80
88
|
* Use this data source to retrieve information about a GitHub organization custom property.
|
|
@@ -119,4 +127,8 @@ export interface GetOrganizationCustomPropertiesOutputArgs {
|
|
|
119
127
|
* The type of the custom property. Can be one of `string`, `singleSelect`, `multiSelect`, or `trueFalse`.
|
|
120
128
|
*/
|
|
121
129
|
valueType?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Who can edit the values of the custom property. Can be one of `orgActors` or `orgAndRepoActors`.
|
|
132
|
+
*/
|
|
133
|
+
valuesEditableBy?: pulumi.Input<string>;
|
|
122
134
|
}
|
|
@@ -28,6 +28,7 @@ function getOrganizationCustomProperties(args, opts) {
|
|
|
28
28
|
"propertyName": args.propertyName,
|
|
29
29
|
"required": args.required,
|
|
30
30
|
"valueType": args.valueType,
|
|
31
|
+
"valuesEditableBy": args.valuesEditableBy,
|
|
31
32
|
}, opts);
|
|
32
33
|
}
|
|
33
34
|
exports.getOrganizationCustomProperties = getOrganizationCustomProperties;
|
|
@@ -54,6 +55,7 @@ function getOrganizationCustomPropertiesOutput(args, opts) {
|
|
|
54
55
|
"propertyName": args.propertyName,
|
|
55
56
|
"required": args.required,
|
|
56
57
|
"valueType": args.valueType,
|
|
58
|
+
"valuesEditableBy": args.valuesEditableBy,
|
|
57
59
|
}, opts);
|
|
58
60
|
}
|
|
59
61
|
exports.getOrganizationCustomPropertiesOutput = getOrganizationCustomPropertiesOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationCustomProperties.js","sourceRoot":"","sources":["../getOrganizationCustomProperties.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"getOrganizationCustomProperties.js","sourceRoot":"","sources":["../getOrganizationCustomProperties.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0EAWC;AAyED;;;;;;;;;;;;;GAaG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAAiC;IACpI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8EAA8E,EAAE;QAC/G,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sFAWC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
+
* > **Note:** This data source is deprecated, please use the `github.OrganizationRoleTeam` resource instead.
|
|
5
|
+
*
|
|
4
6
|
* Use this data source to retrieve the security managers for an organization.
|
|
5
7
|
*
|
|
6
8
|
* ## Example Usage
|
|
@@ -27,6 +29,8 @@ export interface GetOrganizationSecurityManagersResult {
|
|
|
27
29
|
readonly teams: outputs.GetOrganizationSecurityManagersTeam[];
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
32
|
+
* > **Note:** This data source is deprecated, please use the `github.OrganizationRoleTeam` resource instead.
|
|
33
|
+
*
|
|
30
34
|
* Use this data source to retrieve the security managers for an organization.
|
|
31
35
|
*
|
|
32
36
|
* ## Example Usage
|
|
@@ -6,6 +6,8 @@ exports.getOrganizationSecurityManagersOutput = exports.getOrganizationSecurityM
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note:** This data source is deprecated, please use the `github.OrganizationRoleTeam` resource instead.
|
|
10
|
+
*
|
|
9
11
|
* Use this data source to retrieve the security managers for an organization.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
@@ -23,6 +25,8 @@ function getOrganizationSecurityManagers(opts) {
|
|
|
23
25
|
}
|
|
24
26
|
exports.getOrganizationSecurityManagers = getOrganizationSecurityManagers;
|
|
25
27
|
/**
|
|
28
|
+
* > **Note:** This data source is deprecated, please use the `github.OrganizationRoleTeam` resource instead.
|
|
29
|
+
*
|
|
26
30
|
* Use this data source to retrieve the security managers for an organization.
|
|
27
31
|
*
|
|
28
32
|
* ## Example Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationSecurityManagers.js","sourceRoot":"","sources":["../getOrganizationSecurityManagers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getOrganizationSecurityManagers.js","sourceRoot":"","sources":["../getOrganizationSecurityManagers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,+BAA+B,CAAC,IAA2B;IACvE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE,EAC5G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0EAIC;AAeD;;;;;;;;;;;;;GAaG;AACH,SAAgB,qCAAqC,CAAC,IAAiC;IACnF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8EAA8E,EAAE,EAClH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sFAIC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
+
* > **Note:** This data source is deprecated, please use the `github.getRepositoryEnvironmentDeploymentPolicies` data source instead.
|
|
5
|
+
*
|
|
4
6
|
* Use this data source to retrieve deployment branch policies for a repository / environment.
|
|
5
7
|
*
|
|
6
8
|
* ## Example Usage
|
|
@@ -45,6 +47,8 @@ export interface GetRepositoryDeploymentBranchPoliciesResult {
|
|
|
45
47
|
readonly repository: string;
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
50
|
+
* > **Note:** This data source is deprecated, please use the `github.getRepositoryEnvironmentDeploymentPolicies` data source instead.
|
|
51
|
+
*
|
|
48
52
|
* Use this data source to retrieve deployment branch policies for a repository / environment.
|
|
49
53
|
*
|
|
50
54
|
* ## Example Usage
|
|
@@ -6,6 +6,8 @@ exports.getRepositoryDeploymentBranchPoliciesOutput = exports.getRepositoryDeplo
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note:** This data source is deprecated, please use the `github.getRepositoryEnvironmentDeploymentPolicies` data source instead.
|
|
10
|
+
*
|
|
9
11
|
* Use this data source to retrieve deployment branch policies for a repository / environment.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
@@ -29,6 +31,8 @@ function getRepositoryDeploymentBranchPolicies(args, opts) {
|
|
|
29
31
|
}
|
|
30
32
|
exports.getRepositoryDeploymentBranchPolicies = getRepositoryDeploymentBranchPolicies;
|
|
31
33
|
/**
|
|
34
|
+
* > **Note:** This data source is deprecated, please use the `github.getRepositoryEnvironmentDeploymentPolicies` data source instead.
|
|
35
|
+
*
|
|
32
36
|
* Use this data source to retrieve deployment branch policies for a repository / environment.
|
|
33
37
|
*
|
|
34
38
|
* ## Example Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryDeploymentBranchPolicies.js","sourceRoot":"","sources":["../getRepositoryDeploymentBranchPolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRepositoryDeploymentBranchPolicies.js","sourceRoot":"","sources":["../getRepositoryDeploymentBranchPolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAA2B;IAC9H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sFAMC;AA+BD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,2CAA2C,CAAC,IAAqD,EAAE,IAAiC;IAChJ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0FAA0F,EAAE;QAC3H,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kGAMC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve deployment branch policies for a repository environment.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as github from "@pulumi/github";
|
|
11
|
+
*
|
|
12
|
+
* const example = github.getRepositoryEnvironmentDeploymentPolicies({
|
|
13
|
+
* repository: "example-repository",
|
|
14
|
+
* environment: "env-name",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getRepositoryEnvironmentDeploymentPolicies(args: GetRepositoryEnvironmentDeploymentPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryEnvironmentDeploymentPoliciesResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getRepositoryEnvironmentDeploymentPolicies.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetRepositoryEnvironmentDeploymentPoliciesArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Name of the environment to retrieve the deployment branch policies from.
|
|
25
|
+
*/
|
|
26
|
+
environment: string;
|
|
27
|
+
/**
|
|
28
|
+
* Name of the repository to retrieve the deployment branch policies from.
|
|
29
|
+
*/
|
|
30
|
+
repository: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getRepositoryEnvironmentDeploymentPolicies.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetRepositoryEnvironmentDeploymentPoliciesResult {
|
|
36
|
+
readonly environment: string;
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
/**
|
|
42
|
+
* The list of deployment policies for the repository environment. Each element of `policies` has the following attributes:
|
|
43
|
+
*/
|
|
44
|
+
readonly policies: outputs.GetRepositoryEnvironmentDeploymentPoliciesPolicy[];
|
|
45
|
+
readonly repository: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Use this data source to retrieve deployment branch policies for a repository environment.
|
|
49
|
+
*
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as github from "@pulumi/github";
|
|
55
|
+
*
|
|
56
|
+
* const example = github.getRepositoryEnvironmentDeploymentPolicies({
|
|
57
|
+
* repository: "example-repository",
|
|
58
|
+
* environment: "env-name",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export declare function getRepositoryEnvironmentDeploymentPoliciesOutput(args: GetRepositoryEnvironmentDeploymentPoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRepositoryEnvironmentDeploymentPoliciesResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking getRepositoryEnvironmentDeploymentPolicies.
|
|
65
|
+
*/
|
|
66
|
+
export interface GetRepositoryEnvironmentDeploymentPoliciesOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* Name of the environment to retrieve the deployment branch policies from.
|
|
69
|
+
*/
|
|
70
|
+
environment: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the repository to retrieve the deployment branch policies from.
|
|
73
|
+
*/
|
|
74
|
+
repository: pulumi.Input<string>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.getRepositoryEnvironmentDeploymentPoliciesOutput = exports.getRepositoryEnvironmentDeploymentPolicies = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve deployment branch policies for a repository environment.
|
|
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 = github.getRepositoryEnvironmentDeploymentPolicies({
|
|
18
|
+
* repository: "example-repository",
|
|
19
|
+
* environment: "env-name",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getRepositoryEnvironmentDeploymentPolicies(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("github:index/getRepositoryEnvironmentDeploymentPolicies:getRepositoryEnvironmentDeploymentPolicies", {
|
|
26
|
+
"environment": args.environment,
|
|
27
|
+
"repository": args.repository,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getRepositoryEnvironmentDeploymentPolicies = getRepositoryEnvironmentDeploymentPolicies;
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to retrieve deployment branch policies for a repository environment.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as github from "@pulumi/github";
|
|
39
|
+
*
|
|
40
|
+
* const example = github.getRepositoryEnvironmentDeploymentPolicies({
|
|
41
|
+
* repository: "example-repository",
|
|
42
|
+
* environment: "env-name",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
function getRepositoryEnvironmentDeploymentPoliciesOutput(args, opts) {
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("github:index/getRepositoryEnvironmentDeploymentPolicies:getRepositoryEnvironmentDeploymentPolicies", {
|
|
49
|
+
"environment": args.environment,
|
|
50
|
+
"repository": args.repository,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getRepositoryEnvironmentDeploymentPoliciesOutput = getRepositoryEnvironmentDeploymentPoliciesOutput;
|
|
54
|
+
//# sourceMappingURL=getRepositoryEnvironmentDeploymentPolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepositoryEnvironmentDeploymentPolicies.js","sourceRoot":"","sources":["../getRepositoryEnvironmentDeploymentPolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,0CAA0C,CAAC,IAAoD,EAAE,IAA2B;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oGAAoG,EAAE;QAC/H,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gGAMC;AA+BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gDAAgD,CAAC,IAA0D,EAAE,IAAiC;IAC1J,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oGAAoG,EAAE;QACrI,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4GAMC"}
|
package/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const ActionsEnvironmentSecret: typeof import("./actionsEnvironme
|
|
|
4
4
|
export { ActionsEnvironmentVariableArgs, ActionsEnvironmentVariableState } from "./actionsEnvironmentVariable";
|
|
5
5
|
export type ActionsEnvironmentVariable = import("./actionsEnvironmentVariable").ActionsEnvironmentVariable;
|
|
6
6
|
export declare const ActionsEnvironmentVariable: typeof import("./actionsEnvironmentVariable").ActionsEnvironmentVariable;
|
|
7
|
+
export { ActionsHostedRunnerArgs, ActionsHostedRunnerState } from "./actionsHostedRunner";
|
|
8
|
+
export type ActionsHostedRunner = import("./actionsHostedRunner").ActionsHostedRunner;
|
|
9
|
+
export declare const ActionsHostedRunner: typeof import("./actionsHostedRunner").ActionsHostedRunner;
|
|
7
10
|
export { ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs, ActionsOrganizationOidcSubjectClaimCustomizationTemplateState } from "./actionsOrganizationOidcSubjectClaimCustomizationTemplate";
|
|
8
11
|
export type ActionsOrganizationOidcSubjectClaimCustomizationTemplate = import("./actionsOrganizationOidcSubjectClaimCustomizationTemplate").ActionsOrganizationOidcSubjectClaimCustomizationTemplate;
|
|
9
12
|
export declare const ActionsOrganizationOidcSubjectClaimCustomizationTemplate: typeof import("./actionsOrganizationOidcSubjectClaimCustomizationTemplate").ActionsOrganizationOidcSubjectClaimCustomizationTemplate;
|
|
@@ -88,9 +91,15 @@ export declare const EnterpriseActionsPermissions: typeof import("./enterpriseAc
|
|
|
88
91
|
export { EnterpriseActionsRunnerGroupArgs, EnterpriseActionsRunnerGroupState } from "./enterpriseActionsRunnerGroup";
|
|
89
92
|
export type EnterpriseActionsRunnerGroup = import("./enterpriseActionsRunnerGroup").EnterpriseActionsRunnerGroup;
|
|
90
93
|
export declare const EnterpriseActionsRunnerGroup: typeof import("./enterpriseActionsRunnerGroup").EnterpriseActionsRunnerGroup;
|
|
94
|
+
export { EnterpriseActionsWorkflowPermissionsArgs, EnterpriseActionsWorkflowPermissionsState } from "./enterpriseActionsWorkflowPermissions";
|
|
95
|
+
export type EnterpriseActionsWorkflowPermissions = import("./enterpriseActionsWorkflowPermissions").EnterpriseActionsWorkflowPermissions;
|
|
96
|
+
export declare const EnterpriseActionsWorkflowPermissions: typeof import("./enterpriseActionsWorkflowPermissions").EnterpriseActionsWorkflowPermissions;
|
|
91
97
|
export { EnterpriseOrganizationArgs, EnterpriseOrganizationState } from "./enterpriseOrganization";
|
|
92
98
|
export type EnterpriseOrganization = import("./enterpriseOrganization").EnterpriseOrganization;
|
|
93
99
|
export declare const EnterpriseOrganization: typeof import("./enterpriseOrganization").EnterpriseOrganization;
|
|
100
|
+
export { EnterpriseSecurityAnalysisSettingsArgs, EnterpriseSecurityAnalysisSettingsState } from "./enterpriseSecurityAnalysisSettings";
|
|
101
|
+
export type EnterpriseSecurityAnalysisSettings = import("./enterpriseSecurityAnalysisSettings").EnterpriseSecurityAnalysisSettings;
|
|
102
|
+
export declare const EnterpriseSecurityAnalysisSettings: typeof import("./enterpriseSecurityAnalysisSettings").EnterpriseSecurityAnalysisSettings;
|
|
94
103
|
export { GetActionsEnvironmentPublicKeyArgs, GetActionsEnvironmentPublicKeyResult, GetActionsEnvironmentPublicKeyOutputArgs } from "./getActionsEnvironmentPublicKey";
|
|
95
104
|
export declare const getActionsEnvironmentPublicKey: typeof import("./getActionsEnvironmentPublicKey").getActionsEnvironmentPublicKey;
|
|
96
105
|
export declare const getActionsEnvironmentPublicKeyOutput: typeof import("./getActionsEnvironmentPublicKey").getActionsEnvironmentPublicKeyOutput;
|
|
@@ -262,6 +271,9 @@ export declare const getRepositoryDeployKeysOutput: typeof import("./getReposito
|
|
|
262
271
|
export { GetRepositoryDeploymentBranchPoliciesArgs, GetRepositoryDeploymentBranchPoliciesResult, GetRepositoryDeploymentBranchPoliciesOutputArgs } from "./getRepositoryDeploymentBranchPolicies";
|
|
263
272
|
export declare const getRepositoryDeploymentBranchPolicies: typeof import("./getRepositoryDeploymentBranchPolicies").getRepositoryDeploymentBranchPolicies;
|
|
264
273
|
export declare const getRepositoryDeploymentBranchPoliciesOutput: typeof import("./getRepositoryDeploymentBranchPolicies").getRepositoryDeploymentBranchPoliciesOutput;
|
|
274
|
+
export { GetRepositoryEnvironmentDeploymentPoliciesArgs, GetRepositoryEnvironmentDeploymentPoliciesResult, GetRepositoryEnvironmentDeploymentPoliciesOutputArgs } from "./getRepositoryEnvironmentDeploymentPolicies";
|
|
275
|
+
export declare const getRepositoryEnvironmentDeploymentPolicies: typeof import("./getRepositoryEnvironmentDeploymentPolicies").getRepositoryEnvironmentDeploymentPolicies;
|
|
276
|
+
export declare const getRepositoryEnvironmentDeploymentPoliciesOutput: typeof import("./getRepositoryEnvironmentDeploymentPolicies").getRepositoryEnvironmentDeploymentPoliciesOutput;
|
|
265
277
|
export { GetRepositoryEnvironmentsArgs, GetRepositoryEnvironmentsResult, GetRepositoryEnvironmentsOutputArgs } from "./getRepositoryEnvironments";
|
|
266
278
|
export declare const getRepositoryEnvironments: typeof import("./getRepositoryEnvironments").getRepositoryEnvironments;
|
|
267
279
|
export declare const getRepositoryEnvironmentsOutput: typeof import("./getRepositoryEnvironments").getRepositoryEnvironmentsOutput;
|