@pulumi/azuredevops 2.8.0 → 2.9.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.
Files changed (110) hide show
  1. package/areaPermissions.d.ts +33 -0
  2. package/areaPermissions.js.map +1 -1
  3. package/branchPolicyMinReviewers.d.ts +3 -3
  4. package/buildDefinitionPermissions.d.ts +54 -0
  5. package/buildDefinitionPermissions.js.map +1 -1
  6. package/buildFolderPermissions.d.ts +54 -0
  7. package/buildFolderPermissions.js.map +1 -1
  8. package/checkApproval.d.ts +158 -0
  9. package/checkApproval.js +101 -0
  10. package/checkApproval.js.map +1 -0
  11. package/core/getProjects.d.ts +4 -0
  12. package/core/getProjects.js.map +1 -1
  13. package/core/project.d.ts +15 -0
  14. package/core/project.js.map +1 -1
  15. package/core/projectFeatures.d.ts +15 -0
  16. package/core/projectFeatures.js.map +1 -1
  17. package/entitlement/user.d.ts +6 -0
  18. package/entitlement/user.js.map +1 -1
  19. package/getProjects.d.ts +4 -0
  20. package/getProjects.js.map +1 -1
  21. package/getRepositories.d.ts +6 -0
  22. package/getRepositories.js.map +1 -1
  23. package/getServiceEndpointAzureRM.d.ts +6 -0
  24. package/getServiceEndpointAzureRM.js.map +1 -1
  25. package/getServiceEndpointGithub.d.ts +6 -0
  26. package/getServiceEndpointGithub.js.map +1 -1
  27. package/getServiceendpointNpm.d.ts +99 -0
  28. package/getServiceendpointNpm.js +53 -0
  29. package/getServiceendpointNpm.js.map +1 -0
  30. package/getServiceendpointSonarcloud.d.ts +95 -0
  31. package/getServiceendpointSonarcloud.js +53 -0
  32. package/getServiceendpointSonarcloud.js.map +1 -0
  33. package/getUsers.d.ts +28 -0
  34. package/getUsers.js.map +1 -1
  35. package/gitPermissions.d.ts +66 -0
  36. package/gitPermissions.js.map +1 -1
  37. package/gitRepositoryFile.d.ts +1 -1
  38. package/gitRepositoryFile.js +1 -1
  39. package/identities/getUsers.d.ts +28 -0
  40. package/identities/getUsers.js.map +1 -1
  41. package/index.d.ts +15 -0
  42. package/index.js +24 -3
  43. package/index.js.map +1 -1
  44. package/iterativePermissions.d.ts +21 -0
  45. package/iterativePermissions.js.map +1 -1
  46. package/package.json +2 -2
  47. package/package.json.dev +2 -2
  48. package/pipelineAuthorization.d.ts +160 -0
  49. package/pipelineAuthorization.js +140 -0
  50. package/pipelineAuthorization.js.map +1 -0
  51. package/policy/branchPolicyMinReviewers.d.ts +3 -3
  52. package/project.d.ts +15 -0
  53. package/project.js.map +1 -1
  54. package/projectFeatures.d.ts +15 -0
  55. package/projectFeatures.js.map +1 -1
  56. package/projectPermissions.d.ts +84 -0
  57. package/projectPermissions.js.map +1 -1
  58. package/projectPipelineSettings.d.ts +27 -0
  59. package/projectPipelineSettings.js +2 -0
  60. package/projectPipelineSettings.js.map +1 -1
  61. package/repository/getRepositories.d.ts +6 -0
  62. package/repository/getRepositories.js.map +1 -1
  63. package/serviceEndpointArtifactory.d.ts +9 -0
  64. package/serviceEndpointArtifactory.js.map +1 -1
  65. package/serviceEndpointAzureRM.d.ts +6 -0
  66. package/serviceEndpointAzureRM.js.map +1 -1
  67. package/serviceEndpointGenericGit.d.ts +6 -0
  68. package/serviceEndpointGenericGit.js.map +1 -1
  69. package/serviceEndpointGitHub.d.ts +0 -9
  70. package/serviceEndpointGitHub.js.map +1 -1
  71. package/serviceEndpointGitHubEnterprise.d.ts +0 -9
  72. package/serviceEndpointGitHubEnterprise.js.map +1 -1
  73. package/serviceendpoint/azureRM.d.ts +6 -0
  74. package/serviceendpoint/azureRM.js.map +1 -1
  75. package/serviceendpoint/gitHub.d.ts +0 -9
  76. package/serviceendpoint/gitHub.js.map +1 -1
  77. package/serviceendpointArgocd.d.ts +6 -0
  78. package/serviceendpointArgocd.js.map +1 -1
  79. package/serviceendpointGcpTerraform.d.ts +167 -0
  80. package/serviceendpointGcpTerraform.js +117 -0
  81. package/serviceendpointGcpTerraform.js.map +1 -0
  82. package/serviceendpointJfrogArtifactoryV2.d.ts +6 -0
  83. package/serviceendpointJfrogArtifactoryV2.js.map +1 -1
  84. package/serviceendpointJfrogDistributionV2.d.ts +6 -0
  85. package/serviceendpointJfrogDistributionV2.js.map +1 -1
  86. package/serviceendpointJfrogPlatformV2.d.ts +6 -0
  87. package/serviceendpointJfrogPlatformV2.js.map +1 -1
  88. package/serviceendpointJfrogXrayV2.d.ts +6 -0
  89. package/serviceendpointJfrogXrayV2.js.map +1 -1
  90. package/serviceendpointPermissions.d.ts +24 -0
  91. package/serviceendpointPermissions.js.map +1 -1
  92. package/servicehookPermissions.d.ts +21 -0
  93. package/servicehookPermissions.js.map +1 -1
  94. package/taggingPermissions.d.ts +21 -0
  95. package/taggingPermissions.js.map +1 -1
  96. package/team.d.ts +30 -0
  97. package/team.js.map +1 -1
  98. package/teamAdministrators.d.ts +15 -0
  99. package/teamAdministrators.js.map +1 -1
  100. package/teamMembers.d.ts +15 -0
  101. package/teamMembers.js.map +1 -1
  102. package/types/input.d.ts +8 -2
  103. package/types/output.d.ts +40 -2
  104. package/user.d.ts +6 -0
  105. package/user.js.map +1 -1
  106. package/workItemQueryPermissions.d.ts +21 -0
  107. package/workItemQueryPermissions.js.map +1 -1
  108. package/workitem.d.ts +24 -0
  109. package/workitem.js +4 -0
  110. package/workitem.js.map +1 -1
@@ -59,6 +59,11 @@ export declare class ProjectFeatures extends pulumi.CustomResource {
59
59
  /**
60
60
  * Defines the status (`enabled`, `disabled`) of the project features.
61
61
  * Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
62
+ *
63
+ * > **NOTE:**
64
+ * > It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
65
+ * > via the `features` block by using the `azuredevops.Project` resource.
66
+ * > However it's not possible to use both methods to manage features, since there'll be conflicts.
62
67
  */
63
68
  readonly features: pulumi.Output<{
64
69
  [key: string]: string;
@@ -81,6 +86,11 @@ export interface ProjectFeaturesState {
81
86
  /**
82
87
  * Defines the status (`enabled`, `disabled`) of the project features.
83
88
  * Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
89
+ *
90
+ * > **NOTE:**
91
+ * > It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
92
+ * > via the `features` block by using the `azuredevops.Project` resource.
93
+ * > However it's not possible to use both methods to manage features, since there'll be conflicts.
84
94
  */
85
95
  features?: pulumi.Input<{
86
96
  [key: string]: pulumi.Input<string>;
@@ -94,6 +104,11 @@ export interface ProjectFeaturesArgs {
94
104
  /**
95
105
  * Defines the status (`enabled`, `disabled`) of the project features.
96
106
  * Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
107
+ *
108
+ * > **NOTE:**
109
+ * > It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
110
+ * > via the `features` block by using the `azuredevops.Project` resource.
111
+ * > However it's not possible to use both methods to manage features, since there'll be conflicts.
97
112
  */
98
113
  features: pulumi.Input<{
99
114
  [key: string]: pulumi.Input<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"projectFeatures.js","sourceRoot":"","sources":["../../core/projectFeatures.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6HAA6H,CAAC,CAAA;QAC9I,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;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,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAA8C,CAAC;YAC5D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxEL,0CAyEC;AA1DG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
@@ -51,6 +51,8 @@ export declare class User extends pulumi.CustomResource {
51
51
  readonly descriptor: pulumi.Output<string>;
52
52
  /**
53
53
  * The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
54
+ *
55
+ * > **NOTE:** A user can only be referenced by it's `principalName` or by the combination of `originId` and `origin`.
54
56
  */
55
57
  readonly licensingSource: pulumi.Output<string | undefined>;
56
58
  /**
@@ -89,6 +91,8 @@ export interface UserState {
89
91
  descriptor?: pulumi.Input<string>;
90
92
  /**
91
93
  * The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
94
+ *
95
+ * > **NOTE:** A user can only be referenced by it's `principalName` or by the combination of `originId` and `origin`.
92
96
  */
93
97
  licensingSource?: pulumi.Input<string>;
94
98
  /**
@@ -114,6 +118,8 @@ export interface UserArgs {
114
118
  accountLicenseType?: pulumi.Input<string>;
115
119
  /**
116
120
  * The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
121
+ *
122
+ * > **NOTE:** A user can only be referenced by it's `principalName` or by the combination of `originId` and `origin`.
117
123
  */
118
124
  licensingSource?: pulumi.Input<string>;
119
125
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../entitlement/user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mGAAmG,CAAC,CAAA;QACpH,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACn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AI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAzFL,oBA0FC;AA3EG,gBAAgB;AACO,iBAAY,GAAG,mCAAmC,CAAC"}
package/getProjects.d.ts CHANGED
@@ -33,6 +33,8 @@ export interface GetProjectsArgs {
33
33
  name?: string;
34
34
  /**
35
35
  * State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
36
+ *
37
+ * DataSource without specifying any arguments will return all projects.
36
38
  */
37
39
  state?: string;
38
40
  }
@@ -90,6 +92,8 @@ export interface GetProjectsOutputArgs {
90
92
  name?: pulumi.Input<string>;
91
93
  /**
92
94
  * State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
95
+ *
96
+ * DataSource without specifying any arguments will return all projects.
93
97
  */
94
98
  state?: pulumi.Input<string>;
95
99
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AAqCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AAuCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -31,6 +31,9 @@ export declare function getRepositories(args?: GetRepositoriesArgs, opts?: pulum
31
31
  * A collection of arguments for invoking getRepositories.
32
32
  */
33
33
  export interface GetRepositoriesArgs {
34
+ /**
35
+ * DataSource without specifying any arguments will return all Git repositories of an organization.
36
+ */
34
37
  includeHidden?: boolean;
35
38
  /**
36
39
  * Name of the Git repository to retrieve; requires `projectId` to be specified as well
@@ -94,6 +97,9 @@ export declare function getRepositoriesOutput(args?: GetRepositoriesOutputArgs,
94
97
  * A collection of arguments for invoking getRepositories.
95
98
  */
96
99
  export interface GetRepositoriesOutputArgs {
100
+ /**
101
+ * DataSource without specifying any arguments will return all Git repositories of an organization.
102
+ */
97
103
  includeHidden?: pulumi.Input<boolean>;
98
104
  /**
99
105
  * Name of the Git repository to retrieve; requires `projectId` to be specified as well
@@ -1 +1 @@
1
- {"version":3,"file":"getRepositories.js","sourceRoot":"","sources":["../getRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EA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AyBG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -49,6 +49,9 @@ export interface GetServiceEndpointAzureRMArgs {
49
49
  serviceEndpointId?: string;
50
50
  /**
51
51
  * the Name of the Service Endpoint.
52
+ *
53
+ * > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
54
+ * > **NOTE:** When supplying `serviceEndpointName`, take care to ensure that this is a unique name.
52
55
  */
53
56
  serviceEndpointName?: string;
54
57
  }
@@ -148,6 +151,9 @@ export interface GetServiceEndpointAzureRMOutputArgs {
148
151
  serviceEndpointId?: pulumi.Input<string>;
149
152
  /**
150
153
  * the Name of the Service Endpoint.
154
+ *
155
+ * > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
156
+ * > **NOTE:** When supplying `serviceEndpointName`, take care to ensure that this is a unique name.
151
157
  */
152
158
  serviceEndpointName?: pulumi.Input<string>;
153
159
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getServiceEndpointAzureRM.js","sourceRoot":"","sources":["../getServiceEndpointAzureRM.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IAEtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBA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,CAAA;AACpF,CAAC;AAFD,0EAEC"}
@@ -49,6 +49,9 @@ export interface GetServiceEndpointGithubArgs {
49
49
  serviceEndpointId?: string;
50
50
  /**
51
51
  * the Name of the Service Endpoint.
52
+ *
53
+ * > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
54
+ * > **NOTE:** When supplying `serviceEndpointName`, take care to ensure that this is a unique name.
52
55
  */
53
56
  serviceEndpointName?: string;
54
57
  }
@@ -124,6 +127,9 @@ export interface GetServiceEndpointGithubOutputArgs {
124
127
  serviceEndpointId?: pulumi.Input<string>;
125
128
  /**
126
129
  * the Name of the Service Endpoint.
130
+ *
131
+ * > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
132
+ * > **NOTE:** When supplying `serviceEndpointName`, take care to ensure that this is a unique name.
127
133
  */
128
134
  serviceEndpointName?: pulumi.Input<string>;
129
135
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getServiceEndpointGithub.js","sourceRoot":"","sources":["../getServiceEndpointGithub.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qEAAqE,EAAE;QAChG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC;AAwCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
1
+ {"version":3,"file":"getServiceEndpointGithub.js","sourceRoot":"","sources":["../getServiceEndpointGithub.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qEAAqE,EAAE;QAChG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC;AA2CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
@@ -0,0 +1,99 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to access information about an existing NPM Service Endpoint.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azuredevops from "@pulumi/azuredevops";
10
+ *
11
+ * const example = azuredevops.getServiceendpointNpm({
12
+ * projectId: azuredevops_project.example.id,
13
+ * serviceEndpointName: "Example npm",
14
+ * });
15
+ * export const serviceEndpointId = example.then(example => example.id);
16
+ * ```
17
+ */
18
+ export declare function getServiceendpointNpm(args: GetServiceendpointNpmArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceendpointNpmResult>;
19
+ /**
20
+ * A collection of arguments for invoking getServiceendpointNpm.
21
+ */
22
+ export interface GetServiceendpointNpmArgs {
23
+ /**
24
+ * The ID of the project.
25
+ */
26
+ projectId: string;
27
+ /**
28
+ * the ID of the Service Endpoint.
29
+ */
30
+ serviceEndpointId?: string;
31
+ /**
32
+ * the Name of the Service Endpoint.
33
+ *
34
+ * > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
35
+ */
36
+ serviceEndpointName?: string;
37
+ }
38
+ /**
39
+ * A collection of values returned by getServiceendpointNpm.
40
+ */
41
+ export interface GetServiceendpointNpmResult {
42
+ /**
43
+ * Specifies the Authorization Scheme Map.
44
+ */
45
+ readonly authorization: {
46
+ [key: string]: string;
47
+ };
48
+ /**
49
+ * Specifies the description of the Service Endpoint.
50
+ */
51
+ readonly description: string;
52
+ /**
53
+ * The provider-assigned unique ID for this managed resource.
54
+ */
55
+ readonly id: string;
56
+ readonly projectId: string;
57
+ readonly serviceEndpointId: string;
58
+ readonly serviceEndpointName: string;
59
+ /**
60
+ * Specifies the URL of the npm registry to connect with.
61
+ */
62
+ readonly url: string;
63
+ }
64
+ /**
65
+ * Use this data source to access information about an existing NPM Service Endpoint.
66
+ *
67
+ * ## Example Usage
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as azuredevops from "@pulumi/azuredevops";
72
+ *
73
+ * const example = azuredevops.getServiceendpointNpm({
74
+ * projectId: azuredevops_project.example.id,
75
+ * serviceEndpointName: "Example npm",
76
+ * });
77
+ * export const serviceEndpointId = example.then(example => example.id);
78
+ * ```
79
+ */
80
+ export declare function getServiceendpointNpmOutput(args: GetServiceendpointNpmOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceendpointNpmResult>;
81
+ /**
82
+ * A collection of arguments for invoking getServiceendpointNpm.
83
+ */
84
+ export interface GetServiceendpointNpmOutputArgs {
85
+ /**
86
+ * The ID of the project.
87
+ */
88
+ projectId: pulumi.Input<string>;
89
+ /**
90
+ * the ID of the Service Endpoint.
91
+ */
92
+ serviceEndpointId?: pulumi.Input<string>;
93
+ /**
94
+ * the Name of the Service Endpoint.
95
+ *
96
+ * > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
97
+ */
98
+ serviceEndpointName?: pulumi.Input<string>;
99
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getServiceendpointNpmOutput = exports.getServiceendpointNpm = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to access information about an existing NPM Service Endpoint.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azuredevops from "@pulumi/azuredevops";
16
+ *
17
+ * const example = azuredevops.getServiceendpointNpm({
18
+ * projectId: azuredevops_project.example.id,
19
+ * serviceEndpointName: "Example npm",
20
+ * });
21
+ * export const serviceEndpointId = example.then(example => example.id);
22
+ * ```
23
+ */
24
+ function getServiceendpointNpm(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("azuredevops:index/getServiceendpointNpm:getServiceendpointNpm", {
27
+ "projectId": args.projectId,
28
+ "serviceEndpointId": args.serviceEndpointId,
29
+ "serviceEndpointName": args.serviceEndpointName,
30
+ }, opts);
31
+ }
32
+ exports.getServiceendpointNpm = getServiceendpointNpm;
33
+ /**
34
+ * Use this data source to access information about an existing NPM Service Endpoint.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as azuredevops from "@pulumi/azuredevops";
41
+ *
42
+ * const example = azuredevops.getServiceendpointNpm({
43
+ * projectId: azuredevops_project.example.id,
44
+ * serviceEndpointName: "Example npm",
45
+ * });
46
+ * export const serviceEndpointId = example.then(example => example.id);
47
+ * ```
48
+ */
49
+ function getServiceendpointNpmOutput(args, opts) {
50
+ return pulumi.output(args).apply((a) => getServiceendpointNpm(a, opts));
51
+ }
52
+ exports.getServiceendpointNpmOutput = getServiceendpointNpmOutput;
53
+ //# sourceMappingURL=getServiceendpointNpm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getServiceendpointNpm.js","sourceRoot":"","sources":["../getServiceendpointNpm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AA8CD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
@@ -0,0 +1,95 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to access information about an existing Sonar Cloud Service Endpoint.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azuredevops from "@pulumi/azuredevops";
10
+ *
11
+ * const example = azuredevops.getServiceendpointSonarcloud({
12
+ * projectId: azuredevops_project.example.id,
13
+ * serviceEndpointName: "Example Sonar Cloud",
14
+ * });
15
+ * export const serviceEndpointId = example.then(example => example.id);
16
+ * ```
17
+ */
18
+ export declare function getServiceendpointSonarcloud(args: GetServiceendpointSonarcloudArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceendpointSonarcloudResult>;
19
+ /**
20
+ * A collection of arguments for invoking getServiceendpointSonarcloud.
21
+ */
22
+ export interface GetServiceendpointSonarcloudArgs {
23
+ /**
24
+ * The ID of the project.
25
+ */
26
+ projectId: string;
27
+ /**
28
+ * the ID of the Service Endpoint.
29
+ */
30
+ serviceEndpointId?: string;
31
+ /**
32
+ * the Name of the Service Endpoint.
33
+ *
34
+ * > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
35
+ */
36
+ serviceEndpointName?: string;
37
+ }
38
+ /**
39
+ * A collection of values returned by getServiceendpointSonarcloud.
40
+ */
41
+ export interface GetServiceendpointSonarcloudResult {
42
+ /**
43
+ * Specifies the Authorization Scheme Map.
44
+ */
45
+ readonly authorization: {
46
+ [key: string]: string;
47
+ };
48
+ /**
49
+ * Specifies the description of the Service Endpoint.
50
+ */
51
+ readonly description: string;
52
+ /**
53
+ * The provider-assigned unique ID for this managed resource.
54
+ */
55
+ readonly id: string;
56
+ readonly projectId: string;
57
+ readonly serviceEndpointId: string;
58
+ readonly serviceEndpointName: string;
59
+ }
60
+ /**
61
+ * Use this data source to access information about an existing Sonar Cloud Service Endpoint.
62
+ *
63
+ * ## Example Usage
64
+ *
65
+ * ```typescript
66
+ * import * as pulumi from "@pulumi/pulumi";
67
+ * import * as azuredevops from "@pulumi/azuredevops";
68
+ *
69
+ * const example = azuredevops.getServiceendpointSonarcloud({
70
+ * projectId: azuredevops_project.example.id,
71
+ * serviceEndpointName: "Example Sonar Cloud",
72
+ * });
73
+ * export const serviceEndpointId = example.then(example => example.id);
74
+ * ```
75
+ */
76
+ export declare function getServiceendpointSonarcloudOutput(args: GetServiceendpointSonarcloudOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceendpointSonarcloudResult>;
77
+ /**
78
+ * A collection of arguments for invoking getServiceendpointSonarcloud.
79
+ */
80
+ export interface GetServiceendpointSonarcloudOutputArgs {
81
+ /**
82
+ * The ID of the project.
83
+ */
84
+ projectId: pulumi.Input<string>;
85
+ /**
86
+ * the ID of the Service Endpoint.
87
+ */
88
+ serviceEndpointId?: pulumi.Input<string>;
89
+ /**
90
+ * the Name of the Service Endpoint.
91
+ *
92
+ * > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
93
+ */
94
+ serviceEndpointName?: pulumi.Input<string>;
95
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getServiceendpointSonarcloudOutput = exports.getServiceendpointSonarcloud = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to access information about an existing Sonar Cloud Service Endpoint.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azuredevops from "@pulumi/azuredevops";
16
+ *
17
+ * const example = azuredevops.getServiceendpointSonarcloud({
18
+ * projectId: azuredevops_project.example.id,
19
+ * serviceEndpointName: "Example Sonar Cloud",
20
+ * });
21
+ * export const serviceEndpointId = example.then(example => example.id);
22
+ * ```
23
+ */
24
+ function getServiceendpointSonarcloud(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("azuredevops:index/getServiceendpointSonarcloud:getServiceendpointSonarcloud", {
27
+ "projectId": args.projectId,
28
+ "serviceEndpointId": args.serviceEndpointId,
29
+ "serviceEndpointName": args.serviceEndpointName,
30
+ }, opts);
31
+ }
32
+ exports.getServiceendpointSonarcloud = getServiceendpointSonarcloud;
33
+ /**
34
+ * Use this data source to access information about an existing Sonar Cloud Service Endpoint.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as azuredevops from "@pulumi/azuredevops";
41
+ *
42
+ * const example = azuredevops.getServiceendpointSonarcloud({
43
+ * projectId: azuredevops_project.example.id,
44
+ * serviceEndpointName: "Example Sonar Cloud",
45
+ * });
46
+ * export const serviceEndpointId = example.then(example => example.id);
47
+ * ```
48
+ */
49
+ function getServiceendpointSonarcloudOutput(args, opts) {
50
+ return pulumi.output(args).apply((a) => getServiceendpointSonarcloud(a, opts));
51
+ }
52
+ exports.getServiceendpointSonarcloudOutput = getServiceendpointSonarcloudOutput;
53
+ //# sourceMappingURL=getServiceendpointSonarcloud.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getServiceendpointSonarcloud.js","sourceRoot":"","sources":["../getServiceendpointSonarcloud.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE;QACxG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AA0CD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
package/getUsers.d.ts CHANGED
@@ -42,6 +42,20 @@ export interface GetUsersArgs {
42
42
  origin?: string;
43
43
  /**
44
44
  * The unique identifier from the system of origin.
45
+ *
46
+ * DataSource without specifying any arguments will return all users inside an organization.
47
+ *
48
+ * List of possible subject types
49
+ *
50
+ * ```typescript
51
+ * import * as pulumi from "@pulumi/pulumi";
52
+ * ```
53
+ *
54
+ * List of possible origins
55
+ *
56
+ * ```typescript
57
+ * import * as pulumi from "@pulumi/pulumi";
58
+ * ```
45
59
  */
46
60
  originId?: string;
47
61
  /**
@@ -121,6 +135,20 @@ export interface GetUsersOutputArgs {
121
135
  origin?: pulumi.Input<string>;
122
136
  /**
123
137
  * The unique identifier from the system of origin.
138
+ *
139
+ * DataSource without specifying any arguments will return all users inside an organization.
140
+ *
141
+ * List of possible subject types
142
+ *
143
+ * ```typescript
144
+ * import * as pulumi from "@pulumi/pulumi";
145
+ * ```
146
+ *
147
+ * List of possible origins
148
+ *
149
+ * ```typescript
150
+ * import * as pulumi from "@pulumi/pulumi";
151
+ * ```
124
152
  */
125
153
  originId?: pulumi.Input<string>;
126
154
  /**
package/getUsers.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AAkDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AAgED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
@@ -207,10 +207,32 @@ export declare class GitPermissions extends pulumi.CustomResource {
207
207
  static isInstance(obj: any): obj is GitPermissions;
208
208
  /**
209
209
  * The name of the branch to assign the permissions.
210
+ *
211
+ * > **Note** to assign permissions to a branch, the `repositoryId` must be set as well.
210
212
  */
211
213
  readonly branchName: pulumi.Output<string | undefined>;
212
214
  /**
213
215
  * the permissions to assign. The follwing permissions are available
216
+ *
217
+ *
218
+ * | Permissions | Description |
219
+ * |-------------------------|--------------------------------------------------------|
220
+ * | Administer | Administer |
221
+ * | GenericRead | Read |
222
+ * | GenericContribute | Contribute |
223
+ * | ForcePush | Force push (rewrite history, delete branches and tags) |
224
+ * | CreateBranch | Create branch |
225
+ * | CreateTag | Create tag |
226
+ * | ManageNote | Manage notes |
227
+ * | PolicyExempt | Bypass policies when pushing |
228
+ * | CreateRepository | Create repository |
229
+ * | DeleteRepository | Delete repository |
230
+ * | RenameRepository | Rename repository |
231
+ * | EditPolicies | Edit policies |
232
+ * | RemoveOthersLocks | Remove others' locks |
233
+ * | ManagePermissions | Manage permissions |
234
+ * | PullRequestContribute | Contribute to pull requests |
235
+ * | PullRequestBypassPolicy | Bypass policies when completing pull requests |
214
236
  */
215
237
  readonly permissions: pulumi.Output<{
216
238
  [key: string]: string;
@@ -246,10 +268,32 @@ export declare class GitPermissions extends pulumi.CustomResource {
246
268
  export interface GitPermissionsState {
247
269
  /**
248
270
  * The name of the branch to assign the permissions.
271
+ *
272
+ * > **Note** to assign permissions to a branch, the `repositoryId` must be set as well.
249
273
  */
250
274
  branchName?: pulumi.Input<string>;
251
275
  /**
252
276
  * the permissions to assign. The follwing permissions are available
277
+ *
278
+ *
279
+ * | Permissions | Description |
280
+ * |-------------------------|--------------------------------------------------------|
281
+ * | Administer | Administer |
282
+ * | GenericRead | Read |
283
+ * | GenericContribute | Contribute |
284
+ * | ForcePush | Force push (rewrite history, delete branches and tags) |
285
+ * | CreateBranch | Create branch |
286
+ * | CreateTag | Create tag |
287
+ * | ManageNote | Manage notes |
288
+ * | PolicyExempt | Bypass policies when pushing |
289
+ * | CreateRepository | Create repository |
290
+ * | DeleteRepository | Delete repository |
291
+ * | RenameRepository | Rename repository |
292
+ * | EditPolicies | Edit policies |
293
+ * | RemoveOthersLocks | Remove others' locks |
294
+ * | ManagePermissions | Manage permissions |
295
+ * | PullRequestContribute | Contribute to pull requests |
296
+ * | PullRequestBypassPolicy | Bypass policies when completing pull requests |
253
297
  */
254
298
  permissions?: pulumi.Input<{
255
299
  [key: string]: pulumi.Input<string>;
@@ -277,10 +321,32 @@ export interface GitPermissionsState {
277
321
  export interface GitPermissionsArgs {
278
322
  /**
279
323
  * The name of the branch to assign the permissions.
324
+ *
325
+ * > **Note** to assign permissions to a branch, the `repositoryId` must be set as well.
280
326
  */
281
327
  branchName?: pulumi.Input<string>;
282
328
  /**
283
329
  * the permissions to assign. The follwing permissions are available
330
+ *
331
+ *
332
+ * | Permissions | Description |
333
+ * |-------------------------|--------------------------------------------------------|
334
+ * | Administer | Administer |
335
+ * | GenericRead | Read |
336
+ * | GenericContribute | Contribute |
337
+ * | ForcePush | Force push (rewrite history, delete branches and tags) |
338
+ * | CreateBranch | Create branch |
339
+ * | CreateTag | Create tag |
340
+ * | ManageNote | Manage notes |
341
+ * | PolicyExempt | Bypass policies when pushing |
342
+ * | CreateRepository | Create repository |
343
+ * | DeleteRepository | Delete repository |
344
+ * | RenameRepository | Rename repository |
345
+ * | EditPolicies | Edit policies |
346
+ * | RemoveOthersLocks | Remove others' locks |
347
+ * | ManagePermissions | Manage permissions |
348
+ * | PullRequestContribute | Contribute to pull requests |
349
+ * | PullRequestBypassPolicy | Bypass policies when completing pull requests |
284
350
  */
285
351
  permissions: pulumi.Input<{
286
352
  [key: string]: pulumi.Input<string>;