pulumi-harness 0.5.0a1736833425__py3-none-any.whl → 0.5.0a1737092563__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-harness might be problematic. Click here for more details.
- pulumi_harness/__init__.py +10 -0
- pulumi_harness/chaos_infrastructure.py +578 -0
- pulumi_harness/get_chaos_infrastructure.py +178 -0
- pulumi_harness/platform/aws_connector.py +47 -0
- pulumi_harness/platform/get_aws_connector.py +15 -1
- pulumi_harness/platform/get_service_list.py +34 -4
- pulumi_harness/platform/outputs.py +10 -10
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.5.0a1736833425.dist-info → pulumi_harness-0.5.0a1737092563.dist-info}/METADATA +1 -1
- {pulumi_harness-0.5.0a1736833425.dist-info → pulumi_harness-0.5.0a1737092563.dist-info}/RECORD +12 -10
- {pulumi_harness-0.5.0a1736833425.dist-info → pulumi_harness-0.5.0a1737092563.dist-info}/WHEEL +0 -0
- {pulumi_harness-0.5.0a1736833425.dist-info → pulumi_harness-0.5.0a1737092563.dist-info}/top_level.txt +0 -0
pulumi_harness/__init__.py
CHANGED
|
@@ -8,10 +8,12 @@ import typing
|
|
|
8
8
|
from .add_user_to_group import *
|
|
9
9
|
from .application import *
|
|
10
10
|
from .application_git_sync import *
|
|
11
|
+
from .chaos_infrastructure import *
|
|
11
12
|
from .delegate_approval import *
|
|
12
13
|
from .encrypted_text import *
|
|
13
14
|
from .environment import *
|
|
14
15
|
from .get_application import *
|
|
16
|
+
from .get_chaos_infrastructure import *
|
|
15
17
|
from .get_current_account import *
|
|
16
18
|
from .get_delegate import *
|
|
17
19
|
from .get_encrypted_text import *
|
|
@@ -250,6 +252,14 @@ _utilities.register(
|
|
|
250
252
|
"harness:index/applicationGitSync:ApplicationGitSync": "ApplicationGitSync"
|
|
251
253
|
}
|
|
252
254
|
},
|
|
255
|
+
{
|
|
256
|
+
"pkg": "harness",
|
|
257
|
+
"mod": "index/chaosInfrastructure",
|
|
258
|
+
"fqn": "pulumi_harness",
|
|
259
|
+
"classes": {
|
|
260
|
+
"harness:index/chaosInfrastructure:ChaosInfrastructure": "ChaosInfrastructure"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
253
263
|
{
|
|
254
264
|
"pkg": "harness",
|
|
255
265
|
"mod": "index/delegateApproval",
|
|
@@ -0,0 +1,578 @@
|
|
|
1
|
+
# coding=utf-8
|
|
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
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['ChaosInfrastructureArgs', 'ChaosInfrastructure']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class ChaosInfrastructureArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
environment_id: pulumi.Input[str],
|
|
23
|
+
identifier: pulumi.Input[str],
|
|
24
|
+
namespace: pulumi.Input[str],
|
|
25
|
+
service_account: pulumi.Input[str],
|
|
26
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
org_id: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
31
|
+
"""
|
|
32
|
+
The set of arguments for constructing a ChaosInfrastructure resource.
|
|
33
|
+
:param pulumi.Input[str] environment_id: Environment ID of the chaos infrastructure.
|
|
34
|
+
:param pulumi.Input[str] identifier: Unique identifier of the resource.
|
|
35
|
+
:param pulumi.Input[str] namespace: Namespace of the chaos infrastructure.
|
|
36
|
+
:param pulumi.Input[str] service_account: Service Account of the chaos infrastructure.
|
|
37
|
+
:param pulumi.Input[str] description: Description of the resource.
|
|
38
|
+
:param pulumi.Input[str] name: Name of the resource.
|
|
39
|
+
:param pulumi.Input[str] org_id: Unique identifier of the organization.
|
|
40
|
+
:param pulumi.Input[str] project_id: Unique identifier of the project.
|
|
41
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags to associate with the resource.
|
|
42
|
+
"""
|
|
43
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
|
44
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
45
|
+
pulumi.set(__self__, "namespace", namespace)
|
|
46
|
+
pulumi.set(__self__, "service_account", service_account)
|
|
47
|
+
if description is not None:
|
|
48
|
+
pulumi.set(__self__, "description", description)
|
|
49
|
+
if name is not None:
|
|
50
|
+
pulumi.set(__self__, "name", name)
|
|
51
|
+
if org_id is not None:
|
|
52
|
+
pulumi.set(__self__, "org_id", org_id)
|
|
53
|
+
if project_id is not None:
|
|
54
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
55
|
+
if tags is not None:
|
|
56
|
+
pulumi.set(__self__, "tags", tags)
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter(name="environmentId")
|
|
60
|
+
def environment_id(self) -> pulumi.Input[str]:
|
|
61
|
+
"""
|
|
62
|
+
Environment ID of the chaos infrastructure.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "environment_id")
|
|
65
|
+
|
|
66
|
+
@environment_id.setter
|
|
67
|
+
def environment_id(self, value: pulumi.Input[str]):
|
|
68
|
+
pulumi.set(self, "environment_id", value)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter
|
|
72
|
+
def identifier(self) -> pulumi.Input[str]:
|
|
73
|
+
"""
|
|
74
|
+
Unique identifier of the resource.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "identifier")
|
|
77
|
+
|
|
78
|
+
@identifier.setter
|
|
79
|
+
def identifier(self, value: pulumi.Input[str]):
|
|
80
|
+
pulumi.set(self, "identifier", value)
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter
|
|
84
|
+
def namespace(self) -> pulumi.Input[str]:
|
|
85
|
+
"""
|
|
86
|
+
Namespace of the chaos infrastructure.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "namespace")
|
|
89
|
+
|
|
90
|
+
@namespace.setter
|
|
91
|
+
def namespace(self, value: pulumi.Input[str]):
|
|
92
|
+
pulumi.set(self, "namespace", value)
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter(name="serviceAccount")
|
|
96
|
+
def service_account(self) -> pulumi.Input[str]:
|
|
97
|
+
"""
|
|
98
|
+
Service Account of the chaos infrastructure.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "service_account")
|
|
101
|
+
|
|
102
|
+
@service_account.setter
|
|
103
|
+
def service_account(self, value: pulumi.Input[str]):
|
|
104
|
+
pulumi.set(self, "service_account", value)
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter
|
|
108
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
|
109
|
+
"""
|
|
110
|
+
Description of the resource.
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "description")
|
|
113
|
+
|
|
114
|
+
@description.setter
|
|
115
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
|
116
|
+
pulumi.set(self, "description", value)
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter
|
|
120
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
121
|
+
"""
|
|
122
|
+
Name of the resource.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "name")
|
|
125
|
+
|
|
126
|
+
@name.setter
|
|
127
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
128
|
+
pulumi.set(self, "name", value)
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter(name="orgId")
|
|
132
|
+
def org_id(self) -> Optional[pulumi.Input[str]]:
|
|
133
|
+
"""
|
|
134
|
+
Unique identifier of the organization.
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "org_id")
|
|
137
|
+
|
|
138
|
+
@org_id.setter
|
|
139
|
+
def org_id(self, value: Optional[pulumi.Input[str]]):
|
|
140
|
+
pulumi.set(self, "org_id", value)
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter(name="projectId")
|
|
144
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
145
|
+
"""
|
|
146
|
+
Unique identifier of the project.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "project_id")
|
|
149
|
+
|
|
150
|
+
@project_id.setter
|
|
151
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
|
152
|
+
pulumi.set(self, "project_id", value)
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter
|
|
156
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
157
|
+
"""
|
|
158
|
+
Tags to associate with the resource.
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "tags")
|
|
161
|
+
|
|
162
|
+
@tags.setter
|
|
163
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
164
|
+
pulumi.set(self, "tags", value)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
@pulumi.input_type
|
|
168
|
+
class _ChaosInfrastructureState:
|
|
169
|
+
def __init__(__self__, *,
|
|
170
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
171
|
+
environment_id: Optional[pulumi.Input[str]] = None,
|
|
172
|
+
identifier: Optional[pulumi.Input[str]] = None,
|
|
173
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
174
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
|
175
|
+
org_id: Optional[pulumi.Input[str]] = None,
|
|
176
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
177
|
+
service_account: Optional[pulumi.Input[str]] = None,
|
|
178
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
179
|
+
"""
|
|
180
|
+
Input properties used for looking up and filtering ChaosInfrastructure resources.
|
|
181
|
+
:param pulumi.Input[str] description: Description of the resource.
|
|
182
|
+
:param pulumi.Input[str] environment_id: Environment ID of the chaos infrastructure.
|
|
183
|
+
:param pulumi.Input[str] identifier: Unique identifier of the resource.
|
|
184
|
+
:param pulumi.Input[str] name: Name of the resource.
|
|
185
|
+
:param pulumi.Input[str] namespace: Namespace of the chaos infrastructure.
|
|
186
|
+
:param pulumi.Input[str] org_id: Unique identifier of the organization.
|
|
187
|
+
:param pulumi.Input[str] project_id: Unique identifier of the project.
|
|
188
|
+
:param pulumi.Input[str] service_account: Service Account of the chaos infrastructure.
|
|
189
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags to associate with the resource.
|
|
190
|
+
"""
|
|
191
|
+
if description is not None:
|
|
192
|
+
pulumi.set(__self__, "description", description)
|
|
193
|
+
if environment_id is not None:
|
|
194
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
|
195
|
+
if identifier is not None:
|
|
196
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
197
|
+
if name is not None:
|
|
198
|
+
pulumi.set(__self__, "name", name)
|
|
199
|
+
if namespace is not None:
|
|
200
|
+
pulumi.set(__self__, "namespace", namespace)
|
|
201
|
+
if org_id is not None:
|
|
202
|
+
pulumi.set(__self__, "org_id", org_id)
|
|
203
|
+
if project_id is not None:
|
|
204
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
205
|
+
if service_account is not None:
|
|
206
|
+
pulumi.set(__self__, "service_account", service_account)
|
|
207
|
+
if tags is not None:
|
|
208
|
+
pulumi.set(__self__, "tags", tags)
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter
|
|
212
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
|
213
|
+
"""
|
|
214
|
+
Description of the resource.
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "description")
|
|
217
|
+
|
|
218
|
+
@description.setter
|
|
219
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
|
220
|
+
pulumi.set(self, "description", value)
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
@pulumi.getter(name="environmentId")
|
|
224
|
+
def environment_id(self) -> Optional[pulumi.Input[str]]:
|
|
225
|
+
"""
|
|
226
|
+
Environment ID of the chaos infrastructure.
|
|
227
|
+
"""
|
|
228
|
+
return pulumi.get(self, "environment_id")
|
|
229
|
+
|
|
230
|
+
@environment_id.setter
|
|
231
|
+
def environment_id(self, value: Optional[pulumi.Input[str]]):
|
|
232
|
+
pulumi.set(self, "environment_id", value)
|
|
233
|
+
|
|
234
|
+
@property
|
|
235
|
+
@pulumi.getter
|
|
236
|
+
def identifier(self) -> Optional[pulumi.Input[str]]:
|
|
237
|
+
"""
|
|
238
|
+
Unique identifier of the resource.
|
|
239
|
+
"""
|
|
240
|
+
return pulumi.get(self, "identifier")
|
|
241
|
+
|
|
242
|
+
@identifier.setter
|
|
243
|
+
def identifier(self, value: Optional[pulumi.Input[str]]):
|
|
244
|
+
pulumi.set(self, "identifier", value)
|
|
245
|
+
|
|
246
|
+
@property
|
|
247
|
+
@pulumi.getter
|
|
248
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
249
|
+
"""
|
|
250
|
+
Name of the resource.
|
|
251
|
+
"""
|
|
252
|
+
return pulumi.get(self, "name")
|
|
253
|
+
|
|
254
|
+
@name.setter
|
|
255
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
256
|
+
pulumi.set(self, "name", value)
|
|
257
|
+
|
|
258
|
+
@property
|
|
259
|
+
@pulumi.getter
|
|
260
|
+
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
261
|
+
"""
|
|
262
|
+
Namespace of the chaos infrastructure.
|
|
263
|
+
"""
|
|
264
|
+
return pulumi.get(self, "namespace")
|
|
265
|
+
|
|
266
|
+
@namespace.setter
|
|
267
|
+
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
268
|
+
pulumi.set(self, "namespace", value)
|
|
269
|
+
|
|
270
|
+
@property
|
|
271
|
+
@pulumi.getter(name="orgId")
|
|
272
|
+
def org_id(self) -> Optional[pulumi.Input[str]]:
|
|
273
|
+
"""
|
|
274
|
+
Unique identifier of the organization.
|
|
275
|
+
"""
|
|
276
|
+
return pulumi.get(self, "org_id")
|
|
277
|
+
|
|
278
|
+
@org_id.setter
|
|
279
|
+
def org_id(self, value: Optional[pulumi.Input[str]]):
|
|
280
|
+
pulumi.set(self, "org_id", value)
|
|
281
|
+
|
|
282
|
+
@property
|
|
283
|
+
@pulumi.getter(name="projectId")
|
|
284
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
285
|
+
"""
|
|
286
|
+
Unique identifier of the project.
|
|
287
|
+
"""
|
|
288
|
+
return pulumi.get(self, "project_id")
|
|
289
|
+
|
|
290
|
+
@project_id.setter
|
|
291
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
|
292
|
+
pulumi.set(self, "project_id", value)
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
@pulumi.getter(name="serviceAccount")
|
|
296
|
+
def service_account(self) -> Optional[pulumi.Input[str]]:
|
|
297
|
+
"""
|
|
298
|
+
Service Account of the chaos infrastructure.
|
|
299
|
+
"""
|
|
300
|
+
return pulumi.get(self, "service_account")
|
|
301
|
+
|
|
302
|
+
@service_account.setter
|
|
303
|
+
def service_account(self, value: Optional[pulumi.Input[str]]):
|
|
304
|
+
pulumi.set(self, "service_account", value)
|
|
305
|
+
|
|
306
|
+
@property
|
|
307
|
+
@pulumi.getter
|
|
308
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
309
|
+
"""
|
|
310
|
+
Tags to associate with the resource.
|
|
311
|
+
"""
|
|
312
|
+
return pulumi.get(self, "tags")
|
|
313
|
+
|
|
314
|
+
@tags.setter
|
|
315
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
316
|
+
pulumi.set(self, "tags", value)
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
class ChaosInfrastructure(pulumi.CustomResource):
|
|
320
|
+
@overload
|
|
321
|
+
def __init__(__self__,
|
|
322
|
+
resource_name: str,
|
|
323
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
324
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
325
|
+
environment_id: Optional[pulumi.Input[str]] = None,
|
|
326
|
+
identifier: Optional[pulumi.Input[str]] = None,
|
|
327
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
328
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
|
329
|
+
org_id: Optional[pulumi.Input[str]] = None,
|
|
330
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
331
|
+
service_account: Optional[pulumi.Input[str]] = None,
|
|
332
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
333
|
+
__props__=None):
|
|
334
|
+
"""
|
|
335
|
+
Resource for creating a Chaos Infrastructure.
|
|
336
|
+
|
|
337
|
+
## Example to create Chaos Infrastructure
|
|
338
|
+
|
|
339
|
+
```python
|
|
340
|
+
import pulumi
|
|
341
|
+
import pulumi_harness as harness
|
|
342
|
+
|
|
343
|
+
example = harness.ChaosInfrastructure("example",
|
|
344
|
+
identifier="identifier",
|
|
345
|
+
name="name",
|
|
346
|
+
org_id="org_id",
|
|
347
|
+
project_id="project_id",
|
|
348
|
+
environment_id="env_id",
|
|
349
|
+
namespace="namespace",
|
|
350
|
+
service_account="service_acc_name")
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
## Import
|
|
354
|
+
|
|
355
|
+
Import using the Chaos Infra ID.
|
|
356
|
+
|
|
357
|
+
```sh
|
|
358
|
+
$ pulumi import harness:index/chaosInfrastructure:ChaosInfrastructure example <chaos_infra_id>
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
:param str resource_name: The name of the resource.
|
|
362
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
363
|
+
:param pulumi.Input[str] description: Description of the resource.
|
|
364
|
+
:param pulumi.Input[str] environment_id: Environment ID of the chaos infrastructure.
|
|
365
|
+
:param pulumi.Input[str] identifier: Unique identifier of the resource.
|
|
366
|
+
:param pulumi.Input[str] name: Name of the resource.
|
|
367
|
+
:param pulumi.Input[str] namespace: Namespace of the chaos infrastructure.
|
|
368
|
+
:param pulumi.Input[str] org_id: Unique identifier of the organization.
|
|
369
|
+
:param pulumi.Input[str] project_id: Unique identifier of the project.
|
|
370
|
+
:param pulumi.Input[str] service_account: Service Account of the chaos infrastructure.
|
|
371
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags to associate with the resource.
|
|
372
|
+
"""
|
|
373
|
+
...
|
|
374
|
+
@overload
|
|
375
|
+
def __init__(__self__,
|
|
376
|
+
resource_name: str,
|
|
377
|
+
args: ChaosInfrastructureArgs,
|
|
378
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
379
|
+
"""
|
|
380
|
+
Resource for creating a Chaos Infrastructure.
|
|
381
|
+
|
|
382
|
+
## Example to create Chaos Infrastructure
|
|
383
|
+
|
|
384
|
+
```python
|
|
385
|
+
import pulumi
|
|
386
|
+
import pulumi_harness as harness
|
|
387
|
+
|
|
388
|
+
example = harness.ChaosInfrastructure("example",
|
|
389
|
+
identifier="identifier",
|
|
390
|
+
name="name",
|
|
391
|
+
org_id="org_id",
|
|
392
|
+
project_id="project_id",
|
|
393
|
+
environment_id="env_id",
|
|
394
|
+
namespace="namespace",
|
|
395
|
+
service_account="service_acc_name")
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
## Import
|
|
399
|
+
|
|
400
|
+
Import using the Chaos Infra ID.
|
|
401
|
+
|
|
402
|
+
```sh
|
|
403
|
+
$ pulumi import harness:index/chaosInfrastructure:ChaosInfrastructure example <chaos_infra_id>
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
:param str resource_name: The name of the resource.
|
|
407
|
+
:param ChaosInfrastructureArgs args: The arguments to use to populate this resource's properties.
|
|
408
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
409
|
+
"""
|
|
410
|
+
...
|
|
411
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
412
|
+
resource_args, opts = _utilities.get_resource_args_opts(ChaosInfrastructureArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
413
|
+
if resource_args is not None:
|
|
414
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
415
|
+
else:
|
|
416
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
417
|
+
|
|
418
|
+
def _internal_init(__self__,
|
|
419
|
+
resource_name: str,
|
|
420
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
421
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
422
|
+
environment_id: Optional[pulumi.Input[str]] = None,
|
|
423
|
+
identifier: Optional[pulumi.Input[str]] = None,
|
|
424
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
425
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
|
426
|
+
org_id: Optional[pulumi.Input[str]] = None,
|
|
427
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
428
|
+
service_account: Optional[pulumi.Input[str]] = None,
|
|
429
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
430
|
+
__props__=None):
|
|
431
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
432
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
433
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
434
|
+
if opts.id is None:
|
|
435
|
+
if __props__ is not None:
|
|
436
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
437
|
+
__props__ = ChaosInfrastructureArgs.__new__(ChaosInfrastructureArgs)
|
|
438
|
+
|
|
439
|
+
__props__.__dict__["description"] = description
|
|
440
|
+
if environment_id is None and not opts.urn:
|
|
441
|
+
raise TypeError("Missing required property 'environment_id'")
|
|
442
|
+
__props__.__dict__["environment_id"] = environment_id
|
|
443
|
+
if identifier is None and not opts.urn:
|
|
444
|
+
raise TypeError("Missing required property 'identifier'")
|
|
445
|
+
__props__.__dict__["identifier"] = identifier
|
|
446
|
+
__props__.__dict__["name"] = name
|
|
447
|
+
if namespace is None and not opts.urn:
|
|
448
|
+
raise TypeError("Missing required property 'namespace'")
|
|
449
|
+
__props__.__dict__["namespace"] = namespace
|
|
450
|
+
__props__.__dict__["org_id"] = org_id
|
|
451
|
+
__props__.__dict__["project_id"] = project_id
|
|
452
|
+
if service_account is None and not opts.urn:
|
|
453
|
+
raise TypeError("Missing required property 'service_account'")
|
|
454
|
+
__props__.__dict__["service_account"] = service_account
|
|
455
|
+
__props__.__dict__["tags"] = tags
|
|
456
|
+
super(ChaosInfrastructure, __self__).__init__(
|
|
457
|
+
'harness:index/chaosInfrastructure:ChaosInfrastructure',
|
|
458
|
+
resource_name,
|
|
459
|
+
__props__,
|
|
460
|
+
opts)
|
|
461
|
+
|
|
462
|
+
@staticmethod
|
|
463
|
+
def get(resource_name: str,
|
|
464
|
+
id: pulumi.Input[str],
|
|
465
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
466
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
467
|
+
environment_id: Optional[pulumi.Input[str]] = None,
|
|
468
|
+
identifier: Optional[pulumi.Input[str]] = None,
|
|
469
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
470
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
|
471
|
+
org_id: Optional[pulumi.Input[str]] = None,
|
|
472
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
473
|
+
service_account: Optional[pulumi.Input[str]] = None,
|
|
474
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ChaosInfrastructure':
|
|
475
|
+
"""
|
|
476
|
+
Get an existing ChaosInfrastructure resource's state with the given name, id, and optional extra
|
|
477
|
+
properties used to qualify the lookup.
|
|
478
|
+
|
|
479
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
480
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
481
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
482
|
+
:param pulumi.Input[str] description: Description of the resource.
|
|
483
|
+
:param pulumi.Input[str] environment_id: Environment ID of the chaos infrastructure.
|
|
484
|
+
:param pulumi.Input[str] identifier: Unique identifier of the resource.
|
|
485
|
+
:param pulumi.Input[str] name: Name of the resource.
|
|
486
|
+
:param pulumi.Input[str] namespace: Namespace of the chaos infrastructure.
|
|
487
|
+
:param pulumi.Input[str] org_id: Unique identifier of the organization.
|
|
488
|
+
:param pulumi.Input[str] project_id: Unique identifier of the project.
|
|
489
|
+
:param pulumi.Input[str] service_account: Service Account of the chaos infrastructure.
|
|
490
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags to associate with the resource.
|
|
491
|
+
"""
|
|
492
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
493
|
+
|
|
494
|
+
__props__ = _ChaosInfrastructureState.__new__(_ChaosInfrastructureState)
|
|
495
|
+
|
|
496
|
+
__props__.__dict__["description"] = description
|
|
497
|
+
__props__.__dict__["environment_id"] = environment_id
|
|
498
|
+
__props__.__dict__["identifier"] = identifier
|
|
499
|
+
__props__.__dict__["name"] = name
|
|
500
|
+
__props__.__dict__["namespace"] = namespace
|
|
501
|
+
__props__.__dict__["org_id"] = org_id
|
|
502
|
+
__props__.__dict__["project_id"] = project_id
|
|
503
|
+
__props__.__dict__["service_account"] = service_account
|
|
504
|
+
__props__.__dict__["tags"] = tags
|
|
505
|
+
return ChaosInfrastructure(resource_name, opts=opts, __props__=__props__)
|
|
506
|
+
|
|
507
|
+
@property
|
|
508
|
+
@pulumi.getter
|
|
509
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
|
510
|
+
"""
|
|
511
|
+
Description of the resource.
|
|
512
|
+
"""
|
|
513
|
+
return pulumi.get(self, "description")
|
|
514
|
+
|
|
515
|
+
@property
|
|
516
|
+
@pulumi.getter(name="environmentId")
|
|
517
|
+
def environment_id(self) -> pulumi.Output[str]:
|
|
518
|
+
"""
|
|
519
|
+
Environment ID of the chaos infrastructure.
|
|
520
|
+
"""
|
|
521
|
+
return pulumi.get(self, "environment_id")
|
|
522
|
+
|
|
523
|
+
@property
|
|
524
|
+
@pulumi.getter
|
|
525
|
+
def identifier(self) -> pulumi.Output[str]:
|
|
526
|
+
"""
|
|
527
|
+
Unique identifier of the resource.
|
|
528
|
+
"""
|
|
529
|
+
return pulumi.get(self, "identifier")
|
|
530
|
+
|
|
531
|
+
@property
|
|
532
|
+
@pulumi.getter
|
|
533
|
+
def name(self) -> pulumi.Output[str]:
|
|
534
|
+
"""
|
|
535
|
+
Name of the resource.
|
|
536
|
+
"""
|
|
537
|
+
return pulumi.get(self, "name")
|
|
538
|
+
|
|
539
|
+
@property
|
|
540
|
+
@pulumi.getter
|
|
541
|
+
def namespace(self) -> pulumi.Output[str]:
|
|
542
|
+
"""
|
|
543
|
+
Namespace of the chaos infrastructure.
|
|
544
|
+
"""
|
|
545
|
+
return pulumi.get(self, "namespace")
|
|
546
|
+
|
|
547
|
+
@property
|
|
548
|
+
@pulumi.getter(name="orgId")
|
|
549
|
+
def org_id(self) -> pulumi.Output[Optional[str]]:
|
|
550
|
+
"""
|
|
551
|
+
Unique identifier of the organization.
|
|
552
|
+
"""
|
|
553
|
+
return pulumi.get(self, "org_id")
|
|
554
|
+
|
|
555
|
+
@property
|
|
556
|
+
@pulumi.getter(name="projectId")
|
|
557
|
+
def project_id(self) -> pulumi.Output[Optional[str]]:
|
|
558
|
+
"""
|
|
559
|
+
Unique identifier of the project.
|
|
560
|
+
"""
|
|
561
|
+
return pulumi.get(self, "project_id")
|
|
562
|
+
|
|
563
|
+
@property
|
|
564
|
+
@pulumi.getter(name="serviceAccount")
|
|
565
|
+
def service_account(self) -> pulumi.Output[str]:
|
|
566
|
+
"""
|
|
567
|
+
Service Account of the chaos infrastructure.
|
|
568
|
+
"""
|
|
569
|
+
return pulumi.get(self, "service_account")
|
|
570
|
+
|
|
571
|
+
@property
|
|
572
|
+
@pulumi.getter
|
|
573
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
574
|
+
"""
|
|
575
|
+
Tags to associate with the resource.
|
|
576
|
+
"""
|
|
577
|
+
return pulumi.get(self, "tags")
|
|
578
|
+
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# coding=utf-8
|
|
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
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetChaosInfrastructureResult',
|
|
19
|
+
'AwaitableGetChaosInfrastructureResult',
|
|
20
|
+
'get_chaos_infrastructure',
|
|
21
|
+
'get_chaos_infrastructure_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetChaosInfrastructureResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getChaosInfrastructure.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, environment_id=None, id=None, identifier=None, org_id=None, project_id=None):
|
|
30
|
+
if environment_id and not isinstance(environment_id, str):
|
|
31
|
+
raise TypeError("Expected argument 'environment_id' to be a str")
|
|
32
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
|
33
|
+
if id and not isinstance(id, str):
|
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
35
|
+
pulumi.set(__self__, "id", id)
|
|
36
|
+
if identifier and not isinstance(identifier, str):
|
|
37
|
+
raise TypeError("Expected argument 'identifier' to be a str")
|
|
38
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
39
|
+
if org_id and not isinstance(org_id, str):
|
|
40
|
+
raise TypeError("Expected argument 'org_id' to be a str")
|
|
41
|
+
pulumi.set(__self__, "org_id", org_id)
|
|
42
|
+
if project_id and not isinstance(project_id, str):
|
|
43
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
44
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
@pulumi.getter(name="environmentId")
|
|
48
|
+
def environment_id(self) -> str:
|
|
49
|
+
"""
|
|
50
|
+
Environment identifier of the chaos infrastructure.
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "environment_id")
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
@pulumi.getter
|
|
56
|
+
def id(self) -> str:
|
|
57
|
+
"""
|
|
58
|
+
The provider-assigned unique ID for this managed resource.
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "id")
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter
|
|
64
|
+
def identifier(self) -> str:
|
|
65
|
+
"""
|
|
66
|
+
Identifier of the chaos infrastructure.
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "identifier")
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter(name="orgId")
|
|
72
|
+
def org_id(self) -> str:
|
|
73
|
+
"""
|
|
74
|
+
Identifier of the organization in which the chaos infrastructure is configured.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "org_id")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter(name="projectId")
|
|
80
|
+
def project_id(self) -> str:
|
|
81
|
+
"""
|
|
82
|
+
Identifier of the project in which the chaos infrastructure is configured.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "project_id")
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class AwaitableGetChaosInfrastructureResult(GetChaosInfrastructureResult):
|
|
88
|
+
# pylint: disable=using-constant-test
|
|
89
|
+
def __await__(self):
|
|
90
|
+
if False:
|
|
91
|
+
yield self
|
|
92
|
+
return GetChaosInfrastructureResult(
|
|
93
|
+
environment_id=self.environment_id,
|
|
94
|
+
id=self.id,
|
|
95
|
+
identifier=self.identifier,
|
|
96
|
+
org_id=self.org_id,
|
|
97
|
+
project_id=self.project_id)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
def get_chaos_infrastructure(environment_id: Optional[str] = None,
|
|
101
|
+
identifier: Optional[str] = None,
|
|
102
|
+
org_id: Optional[str] = None,
|
|
103
|
+
project_id: Optional[str] = None,
|
|
104
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetChaosInfrastructureResult:
|
|
105
|
+
"""
|
|
106
|
+
Data source for retrieving a chaos infrastructure.
|
|
107
|
+
|
|
108
|
+
## Example Usage
|
|
109
|
+
|
|
110
|
+
```python
|
|
111
|
+
import pulumi
|
|
112
|
+
import pulumi_harness as harness
|
|
113
|
+
|
|
114
|
+
example = harness.get_chaos_infrastructure(identifier="identifier",
|
|
115
|
+
org_id="org_id",
|
|
116
|
+
project_id="project_id",
|
|
117
|
+
environment_id="env_id")
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param str environment_id: Environment identifier of the chaos infrastructure.
|
|
122
|
+
:param str identifier: Identifier of the chaos infrastructure.
|
|
123
|
+
:param str org_id: Identifier of the organization in which the chaos infrastructure is configured.
|
|
124
|
+
:param str project_id: Identifier of the project in which the chaos infrastructure is configured.
|
|
125
|
+
"""
|
|
126
|
+
__args__ = dict()
|
|
127
|
+
__args__['environmentId'] = environment_id
|
|
128
|
+
__args__['identifier'] = identifier
|
|
129
|
+
__args__['orgId'] = org_id
|
|
130
|
+
__args__['projectId'] = project_id
|
|
131
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
132
|
+
__ret__ = pulumi.runtime.invoke('harness:index/getChaosInfrastructure:getChaosInfrastructure', __args__, opts=opts, typ=GetChaosInfrastructureResult).value
|
|
133
|
+
|
|
134
|
+
return AwaitableGetChaosInfrastructureResult(
|
|
135
|
+
environment_id=pulumi.get(__ret__, 'environment_id'),
|
|
136
|
+
id=pulumi.get(__ret__, 'id'),
|
|
137
|
+
identifier=pulumi.get(__ret__, 'identifier'),
|
|
138
|
+
org_id=pulumi.get(__ret__, 'org_id'),
|
|
139
|
+
project_id=pulumi.get(__ret__, 'project_id'))
|
|
140
|
+
def get_chaos_infrastructure_output(environment_id: Optional[pulumi.Input[str]] = None,
|
|
141
|
+
identifier: Optional[pulumi.Input[str]] = None,
|
|
142
|
+
org_id: Optional[pulumi.Input[str]] = None,
|
|
143
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
144
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetChaosInfrastructureResult]:
|
|
145
|
+
"""
|
|
146
|
+
Data source for retrieving a chaos infrastructure.
|
|
147
|
+
|
|
148
|
+
## Example Usage
|
|
149
|
+
|
|
150
|
+
```python
|
|
151
|
+
import pulumi
|
|
152
|
+
import pulumi_harness as harness
|
|
153
|
+
|
|
154
|
+
example = harness.get_chaos_infrastructure(identifier="identifier",
|
|
155
|
+
org_id="org_id",
|
|
156
|
+
project_id="project_id",
|
|
157
|
+
environment_id="env_id")
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:param str environment_id: Environment identifier of the chaos infrastructure.
|
|
162
|
+
:param str identifier: Identifier of the chaos infrastructure.
|
|
163
|
+
:param str org_id: Identifier of the organization in which the chaos infrastructure is configured.
|
|
164
|
+
:param str project_id: Identifier of the project in which the chaos infrastructure is configured.
|
|
165
|
+
"""
|
|
166
|
+
__args__ = dict()
|
|
167
|
+
__args__['environmentId'] = environment_id
|
|
168
|
+
__args__['identifier'] = identifier
|
|
169
|
+
__args__['orgId'] = org_id
|
|
170
|
+
__args__['projectId'] = project_id
|
|
171
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
172
|
+
__ret__ = pulumi.runtime.invoke_output('harness:index/getChaosInfrastructure:getChaosInfrastructure', __args__, opts=opts, typ=GetChaosInfrastructureResult)
|
|
173
|
+
return __ret__.apply(lambda __response__: GetChaosInfrastructureResult(
|
|
174
|
+
environment_id=pulumi.get(__response__, 'environment_id'),
|
|
175
|
+
id=pulumi.get(__response__, 'id'),
|
|
176
|
+
identifier=pulumi.get(__response__, 'identifier'),
|
|
177
|
+
org_id=pulumi.get(__response__, 'org_id'),
|
|
178
|
+
project_id=pulumi.get(__response__, 'project_id')))
|
|
@@ -25,6 +25,7 @@ class AwsConnectorArgs:
|
|
|
25
25
|
cross_account_access: Optional[pulumi.Input['AwsConnectorCrossAccountAccessArgs']] = None,
|
|
26
26
|
description: Optional[pulumi.Input[str]] = None,
|
|
27
27
|
equal_jitter_backoff_strategy: Optional[pulumi.Input['AwsConnectorEqualJitterBackoffStrategyArgs']] = None,
|
|
28
|
+
execute_on_delegate: Optional[pulumi.Input[bool]] = None,
|
|
28
29
|
fixed_delay_backoff_strategy: Optional[pulumi.Input['AwsConnectorFixedDelayBackoffStrategyArgs']] = None,
|
|
29
30
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
30
31
|
full_jitter_backoff_strategy: Optional[pulumi.Input['AwsConnectorFullJitterBackoffStrategyArgs']] = None,
|
|
@@ -42,6 +43,7 @@ class AwsConnectorArgs:
|
|
|
42
43
|
:param pulumi.Input['AwsConnectorCrossAccountAccessArgs'] cross_account_access: Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
|
|
43
44
|
:param pulumi.Input[str] description: Description of the resource.
|
|
44
45
|
:param pulumi.Input['AwsConnectorEqualJitterBackoffStrategyArgs'] equal_jitter_backoff_strategy: Equal Jitter BackOff Strategy.
|
|
46
|
+
:param pulumi.Input[bool] execute_on_delegate: Enable this flag to execute on Delegate
|
|
45
47
|
:param pulumi.Input['AwsConnectorFixedDelayBackoffStrategyArgs'] fixed_delay_backoff_strategy: Fixed Delay BackOff Strategy.
|
|
46
48
|
:param pulumi.Input[bool] force_delete: Enable this flag for force deletion of connector
|
|
47
49
|
:param pulumi.Input['AwsConnectorFullJitterBackoffStrategyArgs'] full_jitter_backoff_strategy: Full Jitter BackOff Strategy.
|
|
@@ -61,6 +63,8 @@ class AwsConnectorArgs:
|
|
|
61
63
|
pulumi.set(__self__, "description", description)
|
|
62
64
|
if equal_jitter_backoff_strategy is not None:
|
|
63
65
|
pulumi.set(__self__, "equal_jitter_backoff_strategy", equal_jitter_backoff_strategy)
|
|
66
|
+
if execute_on_delegate is not None:
|
|
67
|
+
pulumi.set(__self__, "execute_on_delegate", execute_on_delegate)
|
|
64
68
|
if fixed_delay_backoff_strategy is not None:
|
|
65
69
|
pulumi.set(__self__, "fixed_delay_backoff_strategy", fixed_delay_backoff_strategy)
|
|
66
70
|
if force_delete is not None:
|
|
@@ -132,6 +136,18 @@ class AwsConnectorArgs:
|
|
|
132
136
|
def equal_jitter_backoff_strategy(self, value: Optional[pulumi.Input['AwsConnectorEqualJitterBackoffStrategyArgs']]):
|
|
133
137
|
pulumi.set(self, "equal_jitter_backoff_strategy", value)
|
|
134
138
|
|
|
139
|
+
@property
|
|
140
|
+
@pulumi.getter(name="executeOnDelegate")
|
|
141
|
+
def execute_on_delegate(self) -> Optional[pulumi.Input[bool]]:
|
|
142
|
+
"""
|
|
143
|
+
Enable this flag to execute on Delegate
|
|
144
|
+
"""
|
|
145
|
+
return pulumi.get(self, "execute_on_delegate")
|
|
146
|
+
|
|
147
|
+
@execute_on_delegate.setter
|
|
148
|
+
def execute_on_delegate(self, value: Optional[pulumi.Input[bool]]):
|
|
149
|
+
pulumi.set(self, "execute_on_delegate", value)
|
|
150
|
+
|
|
135
151
|
@property
|
|
136
152
|
@pulumi.getter(name="fixedDelayBackoffStrategy")
|
|
137
153
|
def fixed_delay_backoff_strategy(self) -> Optional[pulumi.Input['AwsConnectorFixedDelayBackoffStrategyArgs']]:
|
|
@@ -271,6 +287,7 @@ class _AwsConnectorState:
|
|
|
271
287
|
cross_account_access: Optional[pulumi.Input['AwsConnectorCrossAccountAccessArgs']] = None,
|
|
272
288
|
description: Optional[pulumi.Input[str]] = None,
|
|
273
289
|
equal_jitter_backoff_strategy: Optional[pulumi.Input['AwsConnectorEqualJitterBackoffStrategyArgs']] = None,
|
|
290
|
+
execute_on_delegate: Optional[pulumi.Input[bool]] = None,
|
|
274
291
|
fixed_delay_backoff_strategy: Optional[pulumi.Input['AwsConnectorFixedDelayBackoffStrategyArgs']] = None,
|
|
275
292
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
276
293
|
full_jitter_backoff_strategy: Optional[pulumi.Input['AwsConnectorFullJitterBackoffStrategyArgs']] = None,
|
|
@@ -288,6 +305,7 @@ class _AwsConnectorState:
|
|
|
288
305
|
:param pulumi.Input['AwsConnectorCrossAccountAccessArgs'] cross_account_access: Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
|
|
289
306
|
:param pulumi.Input[str] description: Description of the resource.
|
|
290
307
|
:param pulumi.Input['AwsConnectorEqualJitterBackoffStrategyArgs'] equal_jitter_backoff_strategy: Equal Jitter BackOff Strategy.
|
|
308
|
+
:param pulumi.Input[bool] execute_on_delegate: Enable this flag to execute on Delegate
|
|
291
309
|
:param pulumi.Input['AwsConnectorFixedDelayBackoffStrategyArgs'] fixed_delay_backoff_strategy: Fixed Delay BackOff Strategy.
|
|
292
310
|
:param pulumi.Input[bool] force_delete: Enable this flag for force deletion of connector
|
|
293
311
|
:param pulumi.Input['AwsConnectorFullJitterBackoffStrategyArgs'] full_jitter_backoff_strategy: Full Jitter BackOff Strategy.
|
|
@@ -307,6 +325,8 @@ class _AwsConnectorState:
|
|
|
307
325
|
pulumi.set(__self__, "description", description)
|
|
308
326
|
if equal_jitter_backoff_strategy is not None:
|
|
309
327
|
pulumi.set(__self__, "equal_jitter_backoff_strategy", equal_jitter_backoff_strategy)
|
|
328
|
+
if execute_on_delegate is not None:
|
|
329
|
+
pulumi.set(__self__, "execute_on_delegate", execute_on_delegate)
|
|
310
330
|
if fixed_delay_backoff_strategy is not None:
|
|
311
331
|
pulumi.set(__self__, "fixed_delay_backoff_strategy", fixed_delay_backoff_strategy)
|
|
312
332
|
if force_delete is not None:
|
|
@@ -368,6 +388,18 @@ class _AwsConnectorState:
|
|
|
368
388
|
def equal_jitter_backoff_strategy(self, value: Optional[pulumi.Input['AwsConnectorEqualJitterBackoffStrategyArgs']]):
|
|
369
389
|
pulumi.set(self, "equal_jitter_backoff_strategy", value)
|
|
370
390
|
|
|
391
|
+
@property
|
|
392
|
+
@pulumi.getter(name="executeOnDelegate")
|
|
393
|
+
def execute_on_delegate(self) -> Optional[pulumi.Input[bool]]:
|
|
394
|
+
"""
|
|
395
|
+
Enable this flag to execute on Delegate
|
|
396
|
+
"""
|
|
397
|
+
return pulumi.get(self, "execute_on_delegate")
|
|
398
|
+
|
|
399
|
+
@execute_on_delegate.setter
|
|
400
|
+
def execute_on_delegate(self, value: Optional[pulumi.Input[bool]]):
|
|
401
|
+
pulumi.set(self, "execute_on_delegate", value)
|
|
402
|
+
|
|
371
403
|
@property
|
|
372
404
|
@pulumi.getter(name="fixedDelayBackoffStrategy")
|
|
373
405
|
def fixed_delay_backoff_strategy(self) -> Optional[pulumi.Input['AwsConnectorFixedDelayBackoffStrategyArgs']]:
|
|
@@ -521,6 +553,7 @@ class AwsConnector(pulumi.CustomResource):
|
|
|
521
553
|
cross_account_access: Optional[pulumi.Input[Union['AwsConnectorCrossAccountAccessArgs', 'AwsConnectorCrossAccountAccessArgsDict']]] = None,
|
|
522
554
|
description: Optional[pulumi.Input[str]] = None,
|
|
523
555
|
equal_jitter_backoff_strategy: Optional[pulumi.Input[Union['AwsConnectorEqualJitterBackoffStrategyArgs', 'AwsConnectorEqualJitterBackoffStrategyArgsDict']]] = None,
|
|
556
|
+
execute_on_delegate: Optional[pulumi.Input[bool]] = None,
|
|
524
557
|
fixed_delay_backoff_strategy: Optional[pulumi.Input[Union['AwsConnectorFixedDelayBackoffStrategyArgs', 'AwsConnectorFixedDelayBackoffStrategyArgsDict']]] = None,
|
|
525
558
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
526
559
|
full_jitter_backoff_strategy: Optional[pulumi.Input[Union['AwsConnectorFullJitterBackoffStrategyArgs', 'AwsConnectorFullJitterBackoffStrategyArgsDict']]] = None,
|
|
@@ -562,6 +595,7 @@ class AwsConnector(pulumi.CustomResource):
|
|
|
562
595
|
:param pulumi.Input[Union['AwsConnectorCrossAccountAccessArgs', 'AwsConnectorCrossAccountAccessArgsDict']] cross_account_access: Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
|
|
563
596
|
:param pulumi.Input[str] description: Description of the resource.
|
|
564
597
|
:param pulumi.Input[Union['AwsConnectorEqualJitterBackoffStrategyArgs', 'AwsConnectorEqualJitterBackoffStrategyArgsDict']] equal_jitter_backoff_strategy: Equal Jitter BackOff Strategy.
|
|
598
|
+
:param pulumi.Input[bool] execute_on_delegate: Enable this flag to execute on Delegate
|
|
565
599
|
:param pulumi.Input[Union['AwsConnectorFixedDelayBackoffStrategyArgs', 'AwsConnectorFixedDelayBackoffStrategyArgsDict']] fixed_delay_backoff_strategy: Fixed Delay BackOff Strategy.
|
|
566
600
|
:param pulumi.Input[bool] force_delete: Enable this flag for force deletion of connector
|
|
567
601
|
:param pulumi.Input[Union['AwsConnectorFullJitterBackoffStrategyArgs', 'AwsConnectorFullJitterBackoffStrategyArgsDict']] full_jitter_backoff_strategy: Full Jitter BackOff Strategy.
|
|
@@ -622,6 +656,7 @@ class AwsConnector(pulumi.CustomResource):
|
|
|
622
656
|
cross_account_access: Optional[pulumi.Input[Union['AwsConnectorCrossAccountAccessArgs', 'AwsConnectorCrossAccountAccessArgsDict']]] = None,
|
|
623
657
|
description: Optional[pulumi.Input[str]] = None,
|
|
624
658
|
equal_jitter_backoff_strategy: Optional[pulumi.Input[Union['AwsConnectorEqualJitterBackoffStrategyArgs', 'AwsConnectorEqualJitterBackoffStrategyArgsDict']]] = None,
|
|
659
|
+
execute_on_delegate: Optional[pulumi.Input[bool]] = None,
|
|
625
660
|
fixed_delay_backoff_strategy: Optional[pulumi.Input[Union['AwsConnectorFixedDelayBackoffStrategyArgs', 'AwsConnectorFixedDelayBackoffStrategyArgsDict']]] = None,
|
|
626
661
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
627
662
|
full_jitter_backoff_strategy: Optional[pulumi.Input[Union['AwsConnectorFullJitterBackoffStrategyArgs', 'AwsConnectorFullJitterBackoffStrategyArgsDict']]] = None,
|
|
@@ -646,6 +681,7 @@ class AwsConnector(pulumi.CustomResource):
|
|
|
646
681
|
__props__.__dict__["cross_account_access"] = cross_account_access
|
|
647
682
|
__props__.__dict__["description"] = description
|
|
648
683
|
__props__.__dict__["equal_jitter_backoff_strategy"] = equal_jitter_backoff_strategy
|
|
684
|
+
__props__.__dict__["execute_on_delegate"] = execute_on_delegate
|
|
649
685
|
__props__.__dict__["fixed_delay_backoff_strategy"] = fixed_delay_backoff_strategy
|
|
650
686
|
__props__.__dict__["force_delete"] = force_delete
|
|
651
687
|
__props__.__dict__["full_jitter_backoff_strategy"] = full_jitter_backoff_strategy
|
|
@@ -673,6 +709,7 @@ class AwsConnector(pulumi.CustomResource):
|
|
|
673
709
|
cross_account_access: Optional[pulumi.Input[Union['AwsConnectorCrossAccountAccessArgs', 'AwsConnectorCrossAccountAccessArgsDict']]] = None,
|
|
674
710
|
description: Optional[pulumi.Input[str]] = None,
|
|
675
711
|
equal_jitter_backoff_strategy: Optional[pulumi.Input[Union['AwsConnectorEqualJitterBackoffStrategyArgs', 'AwsConnectorEqualJitterBackoffStrategyArgsDict']]] = None,
|
|
712
|
+
execute_on_delegate: Optional[pulumi.Input[bool]] = None,
|
|
676
713
|
fixed_delay_backoff_strategy: Optional[pulumi.Input[Union['AwsConnectorFixedDelayBackoffStrategyArgs', 'AwsConnectorFixedDelayBackoffStrategyArgsDict']]] = None,
|
|
677
714
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
678
715
|
full_jitter_backoff_strategy: Optional[pulumi.Input[Union['AwsConnectorFullJitterBackoffStrategyArgs', 'AwsConnectorFullJitterBackoffStrategyArgsDict']]] = None,
|
|
@@ -695,6 +732,7 @@ class AwsConnector(pulumi.CustomResource):
|
|
|
695
732
|
:param pulumi.Input[Union['AwsConnectorCrossAccountAccessArgs', 'AwsConnectorCrossAccountAccessArgsDict']] cross_account_access: Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
|
|
696
733
|
:param pulumi.Input[str] description: Description of the resource.
|
|
697
734
|
:param pulumi.Input[Union['AwsConnectorEqualJitterBackoffStrategyArgs', 'AwsConnectorEqualJitterBackoffStrategyArgsDict']] equal_jitter_backoff_strategy: Equal Jitter BackOff Strategy.
|
|
735
|
+
:param pulumi.Input[bool] execute_on_delegate: Enable this flag to execute on Delegate
|
|
698
736
|
:param pulumi.Input[Union['AwsConnectorFixedDelayBackoffStrategyArgs', 'AwsConnectorFixedDelayBackoffStrategyArgsDict']] fixed_delay_backoff_strategy: Fixed Delay BackOff Strategy.
|
|
699
737
|
:param pulumi.Input[bool] force_delete: Enable this flag for force deletion of connector
|
|
700
738
|
:param pulumi.Input[Union['AwsConnectorFullJitterBackoffStrategyArgs', 'AwsConnectorFullJitterBackoffStrategyArgsDict']] full_jitter_backoff_strategy: Full Jitter BackOff Strategy.
|
|
@@ -715,6 +753,7 @@ class AwsConnector(pulumi.CustomResource):
|
|
|
715
753
|
__props__.__dict__["cross_account_access"] = cross_account_access
|
|
716
754
|
__props__.__dict__["description"] = description
|
|
717
755
|
__props__.__dict__["equal_jitter_backoff_strategy"] = equal_jitter_backoff_strategy
|
|
756
|
+
__props__.__dict__["execute_on_delegate"] = execute_on_delegate
|
|
718
757
|
__props__.__dict__["fixed_delay_backoff_strategy"] = fixed_delay_backoff_strategy
|
|
719
758
|
__props__.__dict__["force_delete"] = force_delete
|
|
720
759
|
__props__.__dict__["full_jitter_backoff_strategy"] = full_jitter_backoff_strategy
|
|
@@ -753,6 +792,14 @@ class AwsConnector(pulumi.CustomResource):
|
|
|
753
792
|
"""
|
|
754
793
|
return pulumi.get(self, "equal_jitter_backoff_strategy")
|
|
755
794
|
|
|
795
|
+
@property
|
|
796
|
+
@pulumi.getter(name="executeOnDelegate")
|
|
797
|
+
def execute_on_delegate(self) -> pulumi.Output[Optional[bool]]:
|
|
798
|
+
"""
|
|
799
|
+
Enable this flag to execute on Delegate
|
|
800
|
+
"""
|
|
801
|
+
return pulumi.get(self, "execute_on_delegate")
|
|
802
|
+
|
|
756
803
|
@property
|
|
757
804
|
@pulumi.getter(name="fixedDelayBackoffStrategy")
|
|
758
805
|
def fixed_delay_backoff_strategy(self) -> pulumi.Output[Optional['outputs.AwsConnectorFixedDelayBackoffStrategy']]:
|
|
@@ -27,7 +27,7 @@ class GetAwsConnectorResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getAwsConnector.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, cross_account_accesses=None, description=None, equal_jitter_backoff_strategies=None, fixed_delay_backoff_strategies=None, full_jitter_backoff_strategies=None, id=None, identifier=None, inherit_from_delegates=None, irsas=None, manuals=None, name=None, oidc_authentications=None, org_id=None, project_id=None, tags=None):
|
|
30
|
+
def __init__(__self__, cross_account_accesses=None, description=None, equal_jitter_backoff_strategies=None, execute_on_delegate=None, fixed_delay_backoff_strategies=None, full_jitter_backoff_strategies=None, id=None, identifier=None, inherit_from_delegates=None, irsas=None, manuals=None, name=None, oidc_authentications=None, org_id=None, project_id=None, tags=None):
|
|
31
31
|
if cross_account_accesses and not isinstance(cross_account_accesses, list):
|
|
32
32
|
raise TypeError("Expected argument 'cross_account_accesses' to be a list")
|
|
33
33
|
pulumi.set(__self__, "cross_account_accesses", cross_account_accesses)
|
|
@@ -37,6 +37,9 @@ class GetAwsConnectorResult:
|
|
|
37
37
|
if equal_jitter_backoff_strategies and not isinstance(equal_jitter_backoff_strategies, list):
|
|
38
38
|
raise TypeError("Expected argument 'equal_jitter_backoff_strategies' to be a list")
|
|
39
39
|
pulumi.set(__self__, "equal_jitter_backoff_strategies", equal_jitter_backoff_strategies)
|
|
40
|
+
if execute_on_delegate and not isinstance(execute_on_delegate, bool):
|
|
41
|
+
raise TypeError("Expected argument 'execute_on_delegate' to be a bool")
|
|
42
|
+
pulumi.set(__self__, "execute_on_delegate", execute_on_delegate)
|
|
40
43
|
if fixed_delay_backoff_strategies and not isinstance(fixed_delay_backoff_strategies, list):
|
|
41
44
|
raise TypeError("Expected argument 'fixed_delay_backoff_strategies' to be a list")
|
|
42
45
|
pulumi.set(__self__, "fixed_delay_backoff_strategies", fixed_delay_backoff_strategies)
|
|
@@ -98,6 +101,14 @@ class GetAwsConnectorResult:
|
|
|
98
101
|
"""
|
|
99
102
|
return pulumi.get(self, "equal_jitter_backoff_strategies")
|
|
100
103
|
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter(name="executeOnDelegate")
|
|
106
|
+
def execute_on_delegate(self) -> bool:
|
|
107
|
+
"""
|
|
108
|
+
Execute on delegate or not.
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "execute_on_delegate")
|
|
111
|
+
|
|
101
112
|
@property
|
|
102
113
|
@pulumi.getter(name="fixedDelayBackoffStrategies")
|
|
103
114
|
def fixed_delay_backoff_strategies(self) -> Sequence['outputs.GetAwsConnectorFixedDelayBackoffStrategyResult']:
|
|
@@ -204,6 +215,7 @@ class AwaitableGetAwsConnectorResult(GetAwsConnectorResult):
|
|
|
204
215
|
cross_account_accesses=self.cross_account_accesses,
|
|
205
216
|
description=self.description,
|
|
206
217
|
equal_jitter_backoff_strategies=self.equal_jitter_backoff_strategies,
|
|
218
|
+
execute_on_delegate=self.execute_on_delegate,
|
|
207
219
|
fixed_delay_backoff_strategies=self.fixed_delay_backoff_strategies,
|
|
208
220
|
full_jitter_backoff_strategies=self.full_jitter_backoff_strategies,
|
|
209
221
|
id=self.id,
|
|
@@ -253,6 +265,7 @@ def get_aws_connector(identifier: Optional[str] = None,
|
|
|
253
265
|
cross_account_accesses=pulumi.get(__ret__, 'cross_account_accesses'),
|
|
254
266
|
description=pulumi.get(__ret__, 'description'),
|
|
255
267
|
equal_jitter_backoff_strategies=pulumi.get(__ret__, 'equal_jitter_backoff_strategies'),
|
|
268
|
+
execute_on_delegate=pulumi.get(__ret__, 'execute_on_delegate'),
|
|
256
269
|
fixed_delay_backoff_strategies=pulumi.get(__ret__, 'fixed_delay_backoff_strategies'),
|
|
257
270
|
full_jitter_backoff_strategies=pulumi.get(__ret__, 'full_jitter_backoff_strategies'),
|
|
258
271
|
id=pulumi.get(__ret__, 'id'),
|
|
@@ -299,6 +312,7 @@ def get_aws_connector_output(identifier: Optional[pulumi.Input[str]] = None,
|
|
|
299
312
|
cross_account_accesses=pulumi.get(__response__, 'cross_account_accesses'),
|
|
300
313
|
description=pulumi.get(__response__, 'description'),
|
|
301
314
|
equal_jitter_backoff_strategies=pulumi.get(__response__, 'equal_jitter_backoff_strategies'),
|
|
315
|
+
execute_on_delegate=pulumi.get(__response__, 'execute_on_delegate'),
|
|
302
316
|
fixed_delay_backoff_strategies=pulumi.get(__response__, 'fixed_delay_backoff_strategies'),
|
|
303
317
|
full_jitter_backoff_strategies=pulumi.get(__response__, 'full_jitter_backoff_strategies'),
|
|
304
318
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -27,19 +27,25 @@ class GetServiceListResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getServiceList.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, id=None, org_id=None, project_id=None, services=None):
|
|
30
|
+
def __init__(__self__, id=None, org_id=None, page=None, project_id=None, services=None, size=None):
|
|
31
31
|
if id and not isinstance(id, str):
|
|
32
32
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
33
|
pulumi.set(__self__, "id", id)
|
|
34
34
|
if org_id and not isinstance(org_id, str):
|
|
35
35
|
raise TypeError("Expected argument 'org_id' to be a str")
|
|
36
36
|
pulumi.set(__self__, "org_id", org_id)
|
|
37
|
+
if page and not isinstance(page, int):
|
|
38
|
+
raise TypeError("Expected argument 'page' to be a int")
|
|
39
|
+
pulumi.set(__self__, "page", page)
|
|
37
40
|
if project_id and not isinstance(project_id, str):
|
|
38
41
|
raise TypeError("Expected argument 'project_id' to be a str")
|
|
39
42
|
pulumi.set(__self__, "project_id", project_id)
|
|
40
43
|
if services and not isinstance(services, list):
|
|
41
44
|
raise TypeError("Expected argument 'services' to be a list")
|
|
42
45
|
pulumi.set(__self__, "services", services)
|
|
46
|
+
if size and not isinstance(size, int):
|
|
47
|
+
raise TypeError("Expected argument 'size' to be a int")
|
|
48
|
+
pulumi.set(__self__, "size", size)
|
|
43
49
|
|
|
44
50
|
@property
|
|
45
51
|
@pulumi.getter
|
|
@@ -54,6 +60,11 @@ class GetServiceListResult:
|
|
|
54
60
|
def org_id(self) -> Optional[str]:
|
|
55
61
|
return pulumi.get(self, "org_id")
|
|
56
62
|
|
|
63
|
+
@property
|
|
64
|
+
@pulumi.getter
|
|
65
|
+
def page(self) -> Optional[int]:
|
|
66
|
+
return pulumi.get(self, "page")
|
|
67
|
+
|
|
57
68
|
@property
|
|
58
69
|
@pulumi.getter(name="projectId")
|
|
59
70
|
def project_id(self) -> Optional[str]:
|
|
@@ -64,6 +75,11 @@ class GetServiceListResult:
|
|
|
64
75
|
def services(self) -> Sequence['outputs.GetServiceListServiceResult']:
|
|
65
76
|
return pulumi.get(self, "services")
|
|
66
77
|
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def size(self) -> Optional[int]:
|
|
81
|
+
return pulumi.get(self, "size")
|
|
82
|
+
|
|
67
83
|
|
|
68
84
|
class AwaitableGetServiceListResult(GetServiceListResult):
|
|
69
85
|
# pylint: disable=using-constant-test
|
|
@@ -73,12 +89,16 @@ class AwaitableGetServiceListResult(GetServiceListResult):
|
|
|
73
89
|
return GetServiceListResult(
|
|
74
90
|
id=self.id,
|
|
75
91
|
org_id=self.org_id,
|
|
92
|
+
page=self.page,
|
|
76
93
|
project_id=self.project_id,
|
|
77
|
-
services=self.services
|
|
94
|
+
services=self.services,
|
|
95
|
+
size=self.size)
|
|
78
96
|
|
|
79
97
|
|
|
80
98
|
def get_service_list(org_id: Optional[str] = None,
|
|
99
|
+
page: Optional[int] = None,
|
|
81
100
|
project_id: Optional[str] = None,
|
|
101
|
+
size: Optional[int] = None,
|
|
82
102
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceListResult:
|
|
83
103
|
"""
|
|
84
104
|
Data source for retrieving Harness service list.
|
|
@@ -115,17 +135,23 @@ def get_service_list(org_id: Optional[str] = None,
|
|
|
115
135
|
"""
|
|
116
136
|
__args__ = dict()
|
|
117
137
|
__args__['orgId'] = org_id
|
|
138
|
+
__args__['page'] = page
|
|
118
139
|
__args__['projectId'] = project_id
|
|
140
|
+
__args__['size'] = size
|
|
119
141
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
120
142
|
__ret__ = pulumi.runtime.invoke('harness:platform/getServiceList:getServiceList', __args__, opts=opts, typ=GetServiceListResult).value
|
|
121
143
|
|
|
122
144
|
return AwaitableGetServiceListResult(
|
|
123
145
|
id=pulumi.get(__ret__, 'id'),
|
|
124
146
|
org_id=pulumi.get(__ret__, 'org_id'),
|
|
147
|
+
page=pulumi.get(__ret__, 'page'),
|
|
125
148
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
126
|
-
services=pulumi.get(__ret__, 'services')
|
|
149
|
+
services=pulumi.get(__ret__, 'services'),
|
|
150
|
+
size=pulumi.get(__ret__, 'size'))
|
|
127
151
|
def get_service_list_output(org_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
152
|
+
page: Optional[pulumi.Input[Optional[int]]] = None,
|
|
128
153
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
154
|
+
size: Optional[pulumi.Input[Optional[int]]] = None,
|
|
129
155
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceListResult]:
|
|
130
156
|
"""
|
|
131
157
|
Data source for retrieving Harness service list.
|
|
@@ -162,11 +188,15 @@ def get_service_list_output(org_id: Optional[pulumi.Input[Optional[str]]] = None
|
|
|
162
188
|
"""
|
|
163
189
|
__args__ = dict()
|
|
164
190
|
__args__['orgId'] = org_id
|
|
191
|
+
__args__['page'] = page
|
|
165
192
|
__args__['projectId'] = project_id
|
|
193
|
+
__args__['size'] = size
|
|
166
194
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
167
195
|
__ret__ = pulumi.runtime.invoke_output('harness:platform/getServiceList:getServiceList', __args__, opts=opts, typ=GetServiceListResult)
|
|
168
196
|
return __ret__.apply(lambda __response__: GetServiceListResult(
|
|
169
197
|
id=pulumi.get(__response__, 'id'),
|
|
170
198
|
org_id=pulumi.get(__response__, 'org_id'),
|
|
199
|
+
page=pulumi.get(__response__, 'page'),
|
|
171
200
|
project_id=pulumi.get(__response__, 'project_id'),
|
|
172
|
-
services=pulumi.get(__response__, 'services')
|
|
201
|
+
services=pulumi.get(__response__, 'services'),
|
|
202
|
+
size=pulumi.get(__response__, 'size')))
|
|
@@ -15615,7 +15615,7 @@ class GetAwsConnectorInheritFromDelegateResult(dict):
|
|
|
15615
15615
|
region: Optional[str] = None):
|
|
15616
15616
|
"""
|
|
15617
15617
|
:param Sequence[str] delegate_selectors: The delegates to inherit the credentials from.
|
|
15618
|
-
:param str region:
|
|
15618
|
+
:param str region: Test Region to perform Connection test of AWS Connector To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15619
15619
|
"""
|
|
15620
15620
|
pulumi.set(__self__, "delegate_selectors", delegate_selectors)
|
|
15621
15621
|
if region is not None:
|
|
@@ -15633,7 +15633,7 @@ class GetAwsConnectorInheritFromDelegateResult(dict):
|
|
|
15633
15633
|
@pulumi.getter
|
|
15634
15634
|
def region(self) -> Optional[str]:
|
|
15635
15635
|
"""
|
|
15636
|
-
|
|
15636
|
+
Test Region to perform Connection test of AWS Connector To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15637
15637
|
"""
|
|
15638
15638
|
return pulumi.get(self, "region")
|
|
15639
15639
|
|
|
@@ -15645,7 +15645,7 @@ class GetAwsConnectorIrsaResult(dict):
|
|
|
15645
15645
|
region: Optional[str] = None):
|
|
15646
15646
|
"""
|
|
15647
15647
|
:param Sequence[str] delegate_selectors: The delegates to inherit the credentials from.
|
|
15648
|
-
:param str region:
|
|
15648
|
+
:param str region: Test Region to perform Connection test of AWS Connector To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15649
15649
|
"""
|
|
15650
15650
|
pulumi.set(__self__, "delegate_selectors", delegate_selectors)
|
|
15651
15651
|
if region is not None:
|
|
@@ -15663,7 +15663,7 @@ class GetAwsConnectorIrsaResult(dict):
|
|
|
15663
15663
|
@pulumi.getter
|
|
15664
15664
|
def region(self) -> Optional[str]:
|
|
15665
15665
|
"""
|
|
15666
|
-
|
|
15666
|
+
Test Region to perform Connection test of AWS Connector To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15667
15667
|
"""
|
|
15668
15668
|
return pulumi.get(self, "region")
|
|
15669
15669
|
|
|
@@ -15684,8 +15684,8 @@ class GetAwsConnectorManualResult(dict):
|
|
|
15684
15684
|
:param Sequence[str] delegate_selectors: Connect only use delegates with these tags.
|
|
15685
15685
|
:param str secret_key_ref: Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15686
15686
|
:param str access_key_plain_text: The plain text AWS access key.
|
|
15687
|
-
:param str region:
|
|
15688
|
-
:param str session_token_ref: Reference to the Harness secret containing the aws session token.
|
|
15687
|
+
:param str region: Test Region to perform Connection test of AWS Connector To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15688
|
+
:param str session_token_ref: Reference to the Harness secret containing the aws session token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15689
15689
|
"""
|
|
15690
15690
|
pulumi.set(__self__, "access_key", access_key)
|
|
15691
15691
|
pulumi.set(__self__, "access_key_ref", access_key_ref)
|
|
@@ -15742,7 +15742,7 @@ class GetAwsConnectorManualResult(dict):
|
|
|
15742
15742
|
@pulumi.getter
|
|
15743
15743
|
def region(self) -> Optional[str]:
|
|
15744
15744
|
"""
|
|
15745
|
-
|
|
15745
|
+
Test Region to perform Connection test of AWS Connector To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15746
15746
|
"""
|
|
15747
15747
|
return pulumi.get(self, "region")
|
|
15748
15748
|
|
|
@@ -15750,7 +15750,7 @@ class GetAwsConnectorManualResult(dict):
|
|
|
15750
15750
|
@pulumi.getter(name="sessionTokenRef")
|
|
15751
15751
|
def session_token_ref(self) -> Optional[str]:
|
|
15752
15752
|
"""
|
|
15753
|
-
Reference to the Harness secret containing the aws session token.
|
|
15753
|
+
Reference to the Harness secret containing the aws session token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15754
15754
|
"""
|
|
15755
15755
|
return pulumi.get(self, "session_token_ref")
|
|
15756
15756
|
|
|
@@ -15764,7 +15764,7 @@ class GetAwsConnectorOidcAuthenticationResult(dict):
|
|
|
15764
15764
|
"""
|
|
15765
15765
|
:param Sequence[str] delegate_selectors: The delegates to inherit the credentials from.
|
|
15766
15766
|
:param str iam_role_arn: The IAM Role to assume the credentials from.
|
|
15767
|
-
:param str region:
|
|
15767
|
+
:param str region: Test Region to perform Connection test of AWS Connector To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15768
15768
|
"""
|
|
15769
15769
|
pulumi.set(__self__, "delegate_selectors", delegate_selectors)
|
|
15770
15770
|
pulumi.set(__self__, "iam_role_arn", iam_role_arn)
|
|
@@ -15791,7 +15791,7 @@ class GetAwsConnectorOidcAuthenticationResult(dict):
|
|
|
15791
15791
|
@pulumi.getter
|
|
15792
15792
|
def region(self) -> Optional[str]:
|
|
15793
15793
|
"""
|
|
15794
|
-
|
|
15794
|
+
Test Region to perform Connection test of AWS Connector To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
15795
15795
|
"""
|
|
15796
15796
|
return pulumi.get(self, "region")
|
|
15797
15797
|
|
{pulumi_harness-0.5.0a1736833425.dist-info → pulumi_harness-0.5.0a1737092563.dist-info}/RECORD
RENAMED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
pulumi_harness/__init__.py,sha256=
|
|
1
|
+
pulumi_harness/__init__.py,sha256=k2CQH78GyhHIIxqV6WxgBtx7x7UTyQs6_ZnKcPJVYrU,29819
|
|
2
2
|
pulumi_harness/_inputs.py,sha256=DTDMsv0kS6BLARKEXj6p3hrXWw7BXh7L3mcP6ieUyoU,164064
|
|
3
3
|
pulumi_harness/_utilities.py,sha256=-Td9PZAMy4oLgNXee-XjXTxV8b_JdKQv4Ir88r0CmnQ,10532
|
|
4
4
|
pulumi_harness/add_user_to_group.py,sha256=hEPgIlXikqWtLZBSVLoHX3_ZLmFCv4I6cAdh7pIkMG0,8666
|
|
5
5
|
pulumi_harness/application.py,sha256=sm3a4d8HUa8wjfvRmIE6gatQKycCHrwdfqfjqEAHSek,15590
|
|
6
6
|
pulumi_harness/application_git_sync.py,sha256=OQ8e1AZ4AAlt0X-ub5Sz1xSxFE_Iss0QmUfHQFGRPIg,16194
|
|
7
|
+
pulumi_harness/chaos_infrastructure.py,sha256=89PQbV1svWkuGx31Zm5Za_6ZBkxDcKF9ClD7yZ9Ukbg,22232
|
|
7
8
|
pulumi_harness/delegate_approval.py,sha256=WQmgSSS1NwcflbDHOC6LxZEYPGwmuYQXwc7VKJomq_Q,9569
|
|
8
9
|
pulumi_harness/encrypted_text.py,sha256=7wHcxzWRiy4d1PjfdZBAagCB66jeXzpVwT9xLpPsoO0,23617
|
|
9
10
|
pulumi_harness/environment.py,sha256=l5yb_3bZXlHejS8VpOHQUkniUvzjxzU4pZdNxTQsumU,17096
|
|
10
11
|
pulumi_harness/get_application.py,sha256=loApVq1dIbG-BdwxoB9DI3cX4jPhWUDnu7xuWIglBeM,8042
|
|
12
|
+
pulumi_harness/get_chaos_infrastructure.py,sha256=k_hlt9StaCcr7mx3QyGoDPuHGUssmYZ3Gx1RoajK1b4,7074
|
|
11
13
|
pulumi_harness/get_current_account.py,sha256=Q3Ko_r3iReN4YUL7vCcKZggIg0SBbBjxdnREJRVk0gk,3910
|
|
12
14
|
pulumi_harness/get_delegate.py,sha256=9WctqKkgUyD7VvGa2eInL0sh1vCVq3Nkmws-x_jHQHc,10694
|
|
13
15
|
pulumi_harness/get_encrypted_text.py,sha256=7aN6dacd73NPz0nqfi4UV4ACg1p-tgLaLSg5qAUjVds,5778
|
|
@@ -27,7 +29,7 @@ pulumi_harness/outputs.py,sha256=zSnE-7EcRiG_xoQGZ-pg0VqPmTBS4k2hu931VCIF4I4,127
|
|
|
27
29
|
pulumi_harness/platform_api_key.py,sha256=XQJGZWCu8z9kovotS0jB2RPqLtJUmKkcXXNE73CyNWs,24200
|
|
28
30
|
pulumi_harness/platform_ccm_filters.py,sha256=kxy__hXvfzz73396Ib4sqvY8pfyGj_h1zlUKjdYspy8,20332
|
|
29
31
|
pulumi_harness/provider.py,sha256=CSgvveG2lRJQ6JDin3Wzs5iRapg2gr6U7yDeVHocWmA,11270
|
|
30
|
-
pulumi_harness/pulumi-plugin.json,sha256=
|
|
32
|
+
pulumi_harness/pulumi-plugin.json,sha256=nOFnDbNh4SjZQU1wLQRzeB4fa947_EwIPiyeuQfnVLc,129
|
|
31
33
|
pulumi_harness/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
34
|
pulumi_harness/ssh_credential.py,sha256=Cf9eBWAmjZP5KKjN80drj7h3DWMOOaDs30hn4rFEpT0,18111
|
|
33
35
|
pulumi_harness/user.py,sha256=iM-jru8z8DodmCbaMtzNnO1xg9s9Q27CIKevpszXkVE,18312
|
|
@@ -84,7 +86,7 @@ pulumi_harness/platform/_inputs.py,sha256=PR-sNSZKjmvm7r7Qw2Wh8yxTqJg1eBp7ipbyhE
|
|
|
84
86
|
pulumi_harness/platform/app_dynamics_connector.py,sha256=ph5yRFplcp3ybUaW22Z1uPTOt_pRn-ZhmXlsgZSwWlY,30184
|
|
85
87
|
pulumi_harness/platform/artifactory_connector.py,sha256=-67K4gI27Kl4d4eCxZoYIlxHzH66ULIA8s_7bMmbj7U,29378
|
|
86
88
|
pulumi_harness/platform/aws_cc_connector.py,sha256=ZpfDbD4FQt_7ztFhH7bmGf64RV017KGiSWqhMRwpidM,30576
|
|
87
|
-
pulumi_harness/platform/aws_connector.py,sha256=
|
|
89
|
+
pulumi_harness/platform/aws_connector.py,sha256=5yuSHoSr8AFcdo6ZWELHTn7liuMkhUU-hYcevmU33wc,45196
|
|
88
90
|
pulumi_harness/platform/aws_kms_connector.py,sha256=uOEUr_iefUyC1yyAuS68_iRYEeRPMHpnAfL790tgwIE,26122
|
|
89
91
|
pulumi_harness/platform/aws_secret_manager_connector.py,sha256=sb-4qGm2yuGVZraddA1AY76Rmbe3DghJmV9PNRdxGuk,29317
|
|
90
92
|
pulumi_harness/platform/azure_cloud_cost_connector.py,sha256=thmVxuvxMUW25TMirbao2bVqnUWHVr1a-8y4XhCgwXE,27707
|
|
@@ -122,7 +124,7 @@ pulumi_harness/platform/get_api_key.py,sha256=ntbeSATAwwddz0dhZIEXgyQEpnJ4Mg6QU4
|
|
|
122
124
|
pulumi_harness/platform/get_app_dynamics_connector.py,sha256=Eb_8EsHJ8XpQ0wWunpqu7mPq9Gyh9kSAN6WKqRoByp8,10574
|
|
123
125
|
pulumi_harness/platform/get_artifactory_connector.py,sha256=aY4vmuvq4dZ2TXoyCqv1-B1QRsiJmzKK-EkJmEjF5xU,9217
|
|
124
126
|
pulumi_harness/platform/get_aws_cc_connector.py,sha256=dBGGjLGb6CRbGwVMZuD4MK-g7GNJeg_uCbJVopWO-9k,10731
|
|
125
|
-
pulumi_harness/platform/get_aws_connector.py,sha256=
|
|
127
|
+
pulumi_harness/platform/get_aws_connector.py,sha256=bWMHYNYKitngQXzWGoN-xge3d81Yw_k4cDIE5jaxmPY,14348
|
|
126
128
|
pulumi_harness/platform/get_aws_kms_connector.py,sha256=xMBne27Izo52a5gtcL6VTYjDq_MkOZCVA_NhB-ZHCY4,9736
|
|
127
129
|
pulumi_harness/platform/get_aws_secret_manager_connector.py,sha256=hT42Pfd-oqTE9kiyrfe0NLIAT-RumWKNXg1jVcvEztw,10644
|
|
128
130
|
pulumi_harness/platform/get_azure_cloud_cost_connector.py,sha256=yOl0jRu2KsDPr3FPq2Gs6_LY8EeX_5H08XseGvgCIPg,10228
|
|
@@ -207,7 +209,7 @@ pulumi_harness/platform/get_secret_sshkey.py,sha256=p5GAbVHbMMcps2VagBNFCdeQGUtY
|
|
|
207
209
|
pulumi_harness/platform/get_secret_text.py,sha256=XQ9UegD2hh_zDstnp70OYJHS7vY-lnUMT9hZ8k-BvB8,10586
|
|
208
210
|
pulumi_harness/platform/get_service.py,sha256=f48PdtnJZU0lkJV_ZXCp3kCbPKY2BrFtXYBiTID7RVw,8477
|
|
209
211
|
pulumi_harness/platform/get_service_account.py,sha256=Mst93j2ESY54d8U380nFqUflFrM3gmZKyz4jl6j3US8,8172
|
|
210
|
-
pulumi_harness/platform/get_service_list.py,sha256=
|
|
212
|
+
pulumi_harness/platform/get_service_list.py,sha256=_yEiWTAzo5vFJvKyvhRhyBr4-wpaaxfVACHt8PGefVw,6649
|
|
211
213
|
pulumi_harness/platform/get_service_now_connector.py,sha256=J-1_1iCfJ5dXqf9ctlvvWTYJO3wWVSZ7JZkCceGwyhE,11449
|
|
212
214
|
pulumi_harness/platform/get_service_overrides_v2.py,sha256=BhizAqIX4wTrceU6a-rZY7ja3ycVHNupTA91UpZwN3I,8825
|
|
213
215
|
pulumi_harness/platform/get_slo.py,sha256=DIvVUZc1cAGHm3QNtCiHDfhC7PReE03XUPD6ZH7I20Y,4878
|
|
@@ -255,7 +257,7 @@ pulumi_harness/platform/nexus_connector.py,sha256=A4qgeDn-IC6QbHpY9I1fQF9yeX8P3i
|
|
|
255
257
|
pulumi_harness/platform/notification_rule.py,sha256=aw2y6UP90OehyenmrxznKjaEl3DfHwPd26P8AY7jdlk,20482
|
|
256
258
|
pulumi_harness/platform/oci_helm_connector.py,sha256=6xTx-8S34ngfgh92VcGgJalmfkJNmoQD2E6NA06vYwA,24556
|
|
257
259
|
pulumi_harness/platform/organization.py,sha256=dgpcVkEdb2_BkQ9B2bfpDb-p8Y1eW6Xnr_E4mkLseRo,12068
|
|
258
|
-
pulumi_harness/platform/outputs.py,sha256=
|
|
260
|
+
pulumi_harness/platform/outputs.py,sha256=9kBHAxULCcaRQaZSqPFA4UrDETZsW89s3-J0aHKCpG0,953179
|
|
259
261
|
pulumi_harness/platform/overrides.py,sha256=MFR60TQhKRDVVnfrxsp8Dz46Dsxyun_xMQvmI38U92c,27370
|
|
260
262
|
pulumi_harness/platform/pagerduty_connector.py,sha256=p2h0nBESh5dPZV7lfR9rV39n_vwcsuWWYDLb1rJipp8,22761
|
|
261
263
|
pulumi_harness/platform/pipeline.py,sha256=HW3yS504Rm70suBU8CYy9RP_nc425jZlEYcdvoJguZU,47460
|
|
@@ -305,7 +307,7 @@ pulumi_harness/service/outputs.py,sha256=jEI8NBaeHDnW-22YI9Yk-Sp5lvPelLoOnTBBgMZ
|
|
|
305
307
|
pulumi_harness/service/ssh.py,sha256=FULtd3EFn_0pHthZzPwpUY26LFy1k178WBTBKPC_HEc,14924
|
|
306
308
|
pulumi_harness/service/tanzu.py,sha256=AI3KuSH1y5_XPr6nxFjOIVpop_Mo4NvJbUc15ifDvT4,12965
|
|
307
309
|
pulumi_harness/service/winrm.py,sha256=a1PCzjC8jAaYzhqPKghSS_iefY04xZszjpH9Vu78Blw,15056
|
|
308
|
-
pulumi_harness-0.5.
|
|
309
|
-
pulumi_harness-0.5.
|
|
310
|
-
pulumi_harness-0.5.
|
|
311
|
-
pulumi_harness-0.5.
|
|
310
|
+
pulumi_harness-0.5.0a1737092563.dist-info/METADATA,sha256=KGFDNiaxsJls3loXr-FBZyB0Fv4VQNeODyLi0EiOJuo,1565
|
|
311
|
+
pulumi_harness-0.5.0a1737092563.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
312
|
+
pulumi_harness-0.5.0a1737092563.dist-info/top_level.txt,sha256=INN42KbPR49RnRJzIyLMbti8o6QRYA_eKubKhjPHqNk,15
|
|
313
|
+
pulumi_harness-0.5.0a1737092563.dist-info/RECORD,,
|
{pulumi_harness-0.5.0a1736833425.dist-info → pulumi_harness-0.5.0a1737092563.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|