@pulumi/azuredevops 2.16.0-alpha.1710156155 → 3.0.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 (185) hide show
  1. package/README.md +2 -2
  2. package/branchPolicyMinReviewers.js +0 -2
  3. package/branchPolicyMinReviewers.js.map +1 -1
  4. package/buildDefinition.js +0 -2
  5. package/buildDefinition.js.map +1 -1
  6. package/checkApproval.d.ts +8 -0
  7. package/checkApproval.js +2 -0
  8. package/checkApproval.js.map +1 -1
  9. package/checkBranchControl.d.ts +8 -0
  10. package/checkBranchControl.js +2 -0
  11. package/checkBranchControl.js.map +1 -1
  12. package/checkBusinessHours.d.ts +8 -0
  13. package/checkBusinessHours.js +2 -0
  14. package/checkBusinessHours.js.map +1 -1
  15. package/checkExclusiveLock.d.ts +8 -0
  16. package/checkExclusiveLock.js +2 -0
  17. package/checkExclusiveLock.js.map +1 -1
  18. package/checkRequiredTemplate.d.ts +8 -0
  19. package/checkRequiredTemplate.js +2 -0
  20. package/checkRequiredTemplate.js.map +1 -1
  21. package/config/vars.d.ts +63 -0
  22. package/config/vars.js +114 -0
  23. package/config/vars.js.map +1 -1
  24. package/elasticPool.d.ts +12 -0
  25. package/elasticPool.js +2 -0
  26. package/elasticPool.js.map +1 -1
  27. package/environmentResourceKubernetes.d.ts +57 -0
  28. package/environmentResourceKubernetes.js +73 -0
  29. package/environmentResourceKubernetes.js.map +1 -0
  30. package/getGroup.d.ts +10 -0
  31. package/getGroup.js +10 -0
  32. package/getGroup.js.map +1 -1
  33. package/git.js +0 -2
  34. package/git.js.map +1 -1
  35. package/group.js +0 -2
  36. package/group.js.map +1 -1
  37. package/groupMembership.js +0 -2
  38. package/groupMembership.js.map +1 -1
  39. package/index.d.ts +10 -11
  40. package/index.js +18 -23
  41. package/index.js.map +1 -1
  42. package/libraryPermissions.d.ts +172 -0
  43. package/libraryPermissions.js +119 -0
  44. package/libraryPermissions.js.map +1 -0
  45. package/package.json +1 -1
  46. package/pipelineAuthorization.d.ts +15 -0
  47. package/pipelineAuthorization.js.map +1 -1
  48. package/pool.js +0 -2
  49. package/pool.js.map +1 -1
  50. package/project.js +0 -2
  51. package/project.js.map +1 -1
  52. package/projectFeatures.js +0 -2
  53. package/projectFeatures.js.map +1 -1
  54. package/provider.d.ts +148 -0
  55. package/provider.js +20 -1
  56. package/provider.js.map +1 -1
  57. package/queue.js +0 -2
  58. package/queue.js.map +1 -1
  59. package/serviceEndpointAzureRM.js +0 -2
  60. package/serviceEndpointAzureRM.js.map +1 -1
  61. package/serviceEndpointBitBucket.js +0 -2
  62. package/serviceEndpointBitBucket.js.map +1 -1
  63. package/serviceEndpointDockerRegistry.js +0 -2
  64. package/serviceEndpointDockerRegistry.js.map +1 -1
  65. package/serviceEndpointGitHub.js +0 -2
  66. package/serviceEndpointGitHub.js.map +1 -1
  67. package/serviceEndpointKubernetes.js +0 -2
  68. package/serviceEndpointKubernetes.js.map +1 -1
  69. package/types/input.d.ts +1 -620
  70. package/types/output.d.ts +5 -719
  71. package/user.js +0 -2
  72. package/user.js.map +1 -1
  73. package/variableGroup.js +0 -2
  74. package/variableGroup.js.map +1 -1
  75. package/variableGroupPermissions.d.ts +193 -0
  76. package/variableGroupPermissions.js +133 -0
  77. package/variableGroupPermissions.js.map +1 -0
  78. package/agent/getPool.d.ts +0 -84
  79. package/agent/getPool.js +0 -70
  80. package/agent/getPool.js.map +0 -1
  81. package/agent/getPools.d.ts +0 -63
  82. package/agent/getPools.js +0 -64
  83. package/agent/getPools.js.map +0 -1
  84. package/agent/index.d.ts +0 -12
  85. package/agent/index.js +0 -33
  86. package/agent/index.js.map +0 -1
  87. package/agent/pool.d.ts +0 -116
  88. package/agent/pool.js +0 -89
  89. package/agent/pool.js.map +0 -1
  90. package/agent/queue.d.ts +0 -147
  91. package/agent/queue.js +0 -121
  92. package/agent/queue.js.map +0 -1
  93. package/build/buildDefinition.d.ts +0 -344
  94. package/build/buildDefinition.js +0 -244
  95. package/build/buildDefinition.js.map +0 -1
  96. package/build/index.d.ts +0 -3
  97. package/build/index.js +0 -22
  98. package/build/index.js.map +0 -1
  99. package/core/getClientConfig.d.ts +0 -45
  100. package/core/getClientConfig.js +0 -50
  101. package/core/getClientConfig.js.map +0 -1
  102. package/core/getProject.d.ts +0 -92
  103. package/core/getProject.js +0 -66
  104. package/core/getProject.js.map +0 -1
  105. package/core/getProjects.d.ts +0 -107
  106. package/core/getProjects.js +0 -74
  107. package/core/getProjects.js.map +0 -1
  108. package/core/index.d.ts +0 -15
  109. package/core/index.js +0 -36
  110. package/core/index.js.map +0 -1
  111. package/core/project.d.ts +0 -188
  112. package/core/project.js +0 -111
  113. package/core/project.js.map +0 -1
  114. package/core/projectFeatures.d.ts +0 -120
  115. package/core/projectFeatures.js +0 -104
  116. package/core/projectFeatures.js.map +0 -1
  117. package/entitlement/index.d.ts +0 -3
  118. package/entitlement/index.js +0 -22
  119. package/entitlement/index.js.map +0 -1
  120. package/entitlement/user.d.ts +0 -140
  121. package/entitlement/user.js +0 -91
  122. package/entitlement/user.js.map +0 -1
  123. package/identities/getGroup.d.ts +0 -116
  124. package/identities/getGroup.js +0 -85
  125. package/identities/getGroup.js.map +0 -1
  126. package/identities/getUsers.d.ts +0 -196
  127. package/identities/getUsers.js +0 -103
  128. package/identities/getUsers.js.map +0 -1
  129. package/identities/group.d.ts +0 -206
  130. package/identities/group.js +0 -123
  131. package/identities/group.js.map +0 -1
  132. package/identities/groupMembership.d.ts +0 -122
  133. package/identities/groupMembership.js +0 -99
  134. package/identities/groupMembership.js.map +0 -1
  135. package/identities/index.d.ts +0 -12
  136. package/identities/index.js +0 -33
  137. package/identities/index.js.map +0 -1
  138. package/pipeline/index.d.ts +0 -3
  139. package/pipeline/index.js +0 -22
  140. package/pipeline/index.js.map +0 -1
  141. package/pipeline/variableGroup.d.ts +0 -223
  142. package/pipeline/variableGroup.js +0 -180
  143. package/pipeline/variableGroup.js.map +0 -1
  144. package/policy/branchPolicyBuildValidation.d.ts +0 -159
  145. package/policy/branchPolicyBuildValidation.js +0 -136
  146. package/policy/branchPolicyBuildValidation.js.map +0 -1
  147. package/policy/branchPolicyMinReviewers.d.ts +0 -149
  148. package/policy/branchPolicyMinReviewers.js +0 -126
  149. package/policy/branchPolicyMinReviewers.js.map +0 -1
  150. package/policy/index.d.ts +0 -6
  151. package/policy/index.js +0 -27
  152. package/policy/index.js.map +0 -1
  153. package/repository/getRepositories.d.ts +0 -120
  154. package/repository/getRepositories.js +0 -83
  155. package/repository/getRepositories.js.map +0 -1
  156. package/repository/git.d.ts +0 -210
  157. package/repository/git.js +0 -141
  158. package/repository/git.js.map +0 -1
  159. package/repository/index.d.ts +0 -6
  160. package/repository/index.js +0 -25
  161. package/repository/index.js.map +0 -1
  162. package/security/index.d.ts +0 -3
  163. package/security/index.js +0 -22
  164. package/security/index.js.map +0 -1
  165. package/security/resourceAuthorization.d.ts +0 -136
  166. package/security/resourceAuthorization.js +0 -108
  167. package/security/resourceAuthorization.js.map +0 -1
  168. package/serviceendpoint/azureRM.d.ts +0 -392
  169. package/serviceendpoint/azureRM.js +0 -245
  170. package/serviceendpoint/azureRM.js.map +0 -1
  171. package/serviceendpoint/bitBucket.d.ts +0 -137
  172. package/serviceendpoint/bitBucket.js +0 -116
  173. package/serviceendpoint/bitBucket.js.map +0 -1
  174. package/serviceendpoint/dockerRegistry.d.ts +0 -185
  175. package/serviceendpoint/dockerRegistry.js +0 -134
  176. package/serviceendpoint/dockerRegistry.js.map +0 -1
  177. package/serviceendpoint/gitHub.d.ts +0 -170
  178. package/serviceendpoint/gitHub.js +0 -148
  179. package/serviceendpoint/gitHub.js.map +0 -1
  180. package/serviceendpoint/index.d.ts +0 -15
  181. package/serviceendpoint/index.js +0 -42
  182. package/serviceendpoint/index.js.map +0 -1
  183. package/serviceendpoint/kubernetes.d.ts +0 -148
  184. package/serviceendpoint/kubernetes.js +0 -93
  185. package/serviceendpoint/kubernetes.js.map +0 -1
@@ -1,42 +0,0 @@
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.Kubernetes = exports.GitHub = exports.DockerRegistry = exports.BitBucket = exports.AzureRM = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- exports.AzureRM = null;
9
- utilities.lazyLoad(exports, ["AzureRM"], () => require("./azureRM"));
10
- exports.BitBucket = null;
11
- utilities.lazyLoad(exports, ["BitBucket"], () => require("./bitBucket"));
12
- exports.DockerRegistry = null;
13
- utilities.lazyLoad(exports, ["DockerRegistry"], () => require("./dockerRegistry"));
14
- exports.GitHub = null;
15
- utilities.lazyLoad(exports, ["GitHub"], () => require("./gitHub"));
16
- exports.Kubernetes = null;
17
- utilities.lazyLoad(exports, ["Kubernetes"], () => require("./kubernetes"));
18
- const _module = {
19
- version: utilities.getVersion(),
20
- construct: (name, type, urn) => {
21
- switch (type) {
22
- case "azuredevops:ServiceEndpoint/azureRM:AzureRM":
23
- return new exports.AzureRM(name, undefined, { urn });
24
- case "azuredevops:ServiceEndpoint/bitBucket:BitBucket":
25
- return new exports.BitBucket(name, undefined, { urn });
26
- case "azuredevops:ServiceEndpoint/dockerRegistry:DockerRegistry":
27
- return new exports.DockerRegistry(name, undefined, { urn });
28
- case "azuredevops:ServiceEndpoint/gitHub:GitHub":
29
- return new exports.GitHub(name, undefined, { urn });
30
- case "azuredevops:ServiceEndpoint/kubernetes:Kubernetes":
31
- return new exports.Kubernetes(name, undefined, { urn });
32
- default:
33
- throw new Error(`unknown resource type ${type}`);
34
- }
35
- },
36
- };
37
- pulumi.runtime.registerResourceModule("azuredevops", "ServiceEndpoint/azureRM", _module);
38
- pulumi.runtime.registerResourceModule("azuredevops", "ServiceEndpoint/bitBucket", _module);
39
- pulumi.runtime.registerResourceModule("azuredevops", "ServiceEndpoint/dockerRegistry", _module);
40
- pulumi.runtime.registerResourceModule("azuredevops", "ServiceEndpoint/gitHub", _module);
41
- pulumi.runtime.registerResourceModule("azuredevops", "ServiceEndpoint/kubernetes", _module);
42
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../serviceendpoint/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAItE,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG3E,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,6CAA6C;gBAC9C,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,iDAAiD;gBAClD,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,2DAA2D;gBAC5D,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,mDAAmD;gBACpD,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AAC/F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
@@ -1,148 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../types/input";
3
- import * as outputs from "../types/output";
4
- /**
5
- * Manages a Kubernetes service endpoint within Azure DevOps.
6
- *
7
- * ## Import
8
- *
9
- * Azure DevOps Service Endpoint Kubernetes can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
10
- *
11
- * ```sh
12
- * $ pulumi import azuredevops:ServiceEndpoint/kubernetes:Kubernetes example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
13
- * ```
14
- *
15
- * @deprecated azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes
16
- */
17
- export declare class Kubernetes extends pulumi.CustomResource {
18
- /**
19
- * Get an existing Kubernetes resource's state with the given name, ID, and optional extra
20
- * properties used to qualify the lookup.
21
- *
22
- * @param name The _unique_ name of the resulting resource.
23
- * @param id The _unique_ provider ID of the resource to lookup.
24
- * @param state Any extra arguments used during the lookup.
25
- * @param opts Optional settings to control the behavior of the CustomResource.
26
- */
27
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KubernetesState, opts?: pulumi.CustomResourceOptions): Kubernetes;
28
- /**
29
- * Returns true if the given object is an instance of Kubernetes. This is designed to work even
30
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
- */
32
- static isInstance(obj: any): obj is Kubernetes;
33
- /**
34
- * The hostname (in form of URI) of the Kubernetes API.
35
- */
36
- readonly apiserverUrl: pulumi.Output<string>;
37
- readonly authorization: pulumi.Output<{
38
- [key: string]: string;
39
- }>;
40
- /**
41
- * The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
42
- */
43
- readonly authorizationType: pulumi.Output<string>;
44
- /**
45
- * A `azureSubscription` block defined blow.
46
- */
47
- readonly azureSubscriptions: pulumi.Output<outputs.ServiceEndpoint.KubernetesAzureSubscription[] | undefined>;
48
- readonly description: pulumi.Output<string | undefined>;
49
- /**
50
- * A `kubeconfig` block defined blow.
51
- */
52
- readonly kubeconfig: pulumi.Output<outputs.ServiceEndpoint.KubernetesKubeconfig | undefined>;
53
- /**
54
- * The ID of the project.
55
- */
56
- readonly projectId: pulumi.Output<string>;
57
- /**
58
- * A `serviceAccount` block defined blow.
59
- */
60
- readonly serviceAccount: pulumi.Output<outputs.ServiceEndpoint.KubernetesServiceAccount | undefined>;
61
- /**
62
- * The Service Endpoint name.
63
- */
64
- readonly serviceEndpointName: pulumi.Output<string>;
65
- /**
66
- * Create a Kubernetes resource with the given unique name, arguments, and options.
67
- *
68
- * @param name The _unique_ name of the resource.
69
- * @param args The arguments to use to populate this resource's properties.
70
- * @param opts A bag of options that control this resource's behavior.
71
- */
72
- /** @deprecated azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes */
73
- constructor(name: string, args: KubernetesArgs, opts?: pulumi.CustomResourceOptions);
74
- }
75
- /**
76
- * Input properties used for looking up and filtering Kubernetes resources.
77
- */
78
- export interface KubernetesState {
79
- /**
80
- * The hostname (in form of URI) of the Kubernetes API.
81
- */
82
- apiserverUrl?: pulumi.Input<string>;
83
- authorization?: pulumi.Input<{
84
- [key: string]: pulumi.Input<string>;
85
- }>;
86
- /**
87
- * The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
88
- */
89
- authorizationType?: pulumi.Input<string>;
90
- /**
91
- * A `azureSubscription` block defined blow.
92
- */
93
- azureSubscriptions?: pulumi.Input<pulumi.Input<inputs.ServiceEndpoint.KubernetesAzureSubscription>[]>;
94
- description?: pulumi.Input<string>;
95
- /**
96
- * A `kubeconfig` block defined blow.
97
- */
98
- kubeconfig?: pulumi.Input<inputs.ServiceEndpoint.KubernetesKubeconfig>;
99
- /**
100
- * The ID of the project.
101
- */
102
- projectId?: pulumi.Input<string>;
103
- /**
104
- * A `serviceAccount` block defined blow.
105
- */
106
- serviceAccount?: pulumi.Input<inputs.ServiceEndpoint.KubernetesServiceAccount>;
107
- /**
108
- * The Service Endpoint name.
109
- */
110
- serviceEndpointName?: pulumi.Input<string>;
111
- }
112
- /**
113
- * The set of arguments for constructing a Kubernetes resource.
114
- */
115
- export interface KubernetesArgs {
116
- /**
117
- * The hostname (in form of URI) of the Kubernetes API.
118
- */
119
- apiserverUrl: pulumi.Input<string>;
120
- authorization?: pulumi.Input<{
121
- [key: string]: pulumi.Input<string>;
122
- }>;
123
- /**
124
- * The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
125
- */
126
- authorizationType: pulumi.Input<string>;
127
- /**
128
- * A `azureSubscription` block defined blow.
129
- */
130
- azureSubscriptions?: pulumi.Input<pulumi.Input<inputs.ServiceEndpoint.KubernetesAzureSubscription>[]>;
131
- description?: pulumi.Input<string>;
132
- /**
133
- * A `kubeconfig` block defined blow.
134
- */
135
- kubeconfig?: pulumi.Input<inputs.ServiceEndpoint.KubernetesKubeconfig>;
136
- /**
137
- * The ID of the project.
138
- */
139
- projectId: pulumi.Input<string>;
140
- /**
141
- * A `serviceAccount` block defined blow.
142
- */
143
- serviceAccount?: pulumi.Input<inputs.ServiceEndpoint.KubernetesServiceAccount>;
144
- /**
145
- * The Service Endpoint name.
146
- */
147
- serviceEndpointName: pulumi.Input<string>;
148
- }
@@ -1,93 +0,0 @@
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.Kubernetes = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Manages a Kubernetes service endpoint within Azure DevOps.
10
- *
11
- * ## Import
12
- *
13
- * Azure DevOps Service Endpoint Kubernetes can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
14
- *
15
- * ```sh
16
- * $ pulumi import azuredevops:ServiceEndpoint/kubernetes:Kubernetes example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
17
- * ```
18
- *
19
- * @deprecated azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes
20
- */
21
- class Kubernetes extends pulumi.CustomResource {
22
- /**
23
- * Get an existing Kubernetes resource's state with the given name, ID, and optional extra
24
- * properties used to qualify the lookup.
25
- *
26
- * @param name The _unique_ name of the resulting resource.
27
- * @param id The _unique_ provider ID of the resource to lookup.
28
- * @param state Any extra arguments used during the lookup.
29
- * @param opts Optional settings to control the behavior of the CustomResource.
30
- */
31
- static get(name, id, state, opts) {
32
- pulumi.log.warn("Kubernetes is deprecated: azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes");
33
- return new Kubernetes(name, state, Object.assign(Object.assign({}, opts), { id: id }));
34
- }
35
- /**
36
- * Returns true if the given object is an instance of Kubernetes. This is designed to work even
37
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
38
- */
39
- static isInstance(obj) {
40
- if (obj === undefined || obj === null) {
41
- return false;
42
- }
43
- return obj['__pulumiType'] === Kubernetes.__pulumiType;
44
- }
45
- /** @deprecated azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes */
46
- constructor(name, argsOrState, opts) {
47
- pulumi.log.warn("Kubernetes is deprecated: azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes");
48
- let resourceInputs = {};
49
- opts = opts || {};
50
- if (opts.id) {
51
- const state = argsOrState;
52
- resourceInputs["apiserverUrl"] = state ? state.apiserverUrl : undefined;
53
- resourceInputs["authorization"] = state ? state.authorization : undefined;
54
- resourceInputs["authorizationType"] = state ? state.authorizationType : undefined;
55
- resourceInputs["azureSubscriptions"] = state ? state.azureSubscriptions : undefined;
56
- resourceInputs["description"] = state ? state.description : undefined;
57
- resourceInputs["kubeconfig"] = state ? state.kubeconfig : undefined;
58
- resourceInputs["projectId"] = state ? state.projectId : undefined;
59
- resourceInputs["serviceAccount"] = state ? state.serviceAccount : undefined;
60
- resourceInputs["serviceEndpointName"] = state ? state.serviceEndpointName : undefined;
61
- }
62
- else {
63
- const args = argsOrState;
64
- if ((!args || args.apiserverUrl === undefined) && !opts.urn) {
65
- throw new Error("Missing required property 'apiserverUrl'");
66
- }
67
- if ((!args || args.authorizationType === undefined) && !opts.urn) {
68
- throw new Error("Missing required property 'authorizationType'");
69
- }
70
- if ((!args || args.projectId === undefined) && !opts.urn) {
71
- throw new Error("Missing required property 'projectId'");
72
- }
73
- if ((!args || args.serviceEndpointName === undefined) && !opts.urn) {
74
- throw new Error("Missing required property 'serviceEndpointName'");
75
- }
76
- resourceInputs["apiserverUrl"] = args ? args.apiserverUrl : undefined;
77
- resourceInputs["authorization"] = args ? args.authorization : undefined;
78
- resourceInputs["authorizationType"] = args ? args.authorizationType : undefined;
79
- resourceInputs["azureSubscriptions"] = args ? args.azureSubscriptions : undefined;
80
- resourceInputs["description"] = args ? args.description : undefined;
81
- resourceInputs["kubeconfig"] = args ? args.kubeconfig : undefined;
82
- resourceInputs["projectId"] = args ? args.projectId : undefined;
83
- resourceInputs["serviceAccount"] = args ? args.serviceAccount : undefined;
84
- resourceInputs["serviceEndpointName"] = args ? args.serviceEndpointName : undefined;
85
- }
86
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
- super(Kubernetes.__pulumiType, name, resourceInputs, opts);
88
- }
89
- }
90
- exports.Kubernetes = Kubernetes;
91
- /** @internal */
92
- Kubernetes.__pulumiType = 'azuredevops:ServiceEndpoint/kubernetes:Kubernetes';
93
- //# sourceMappingURL=kubernetes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kubernetes.js","sourceRoot":"","sources":["../../serviceendpoint/kubernetes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;Q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