pulumi-harness 0.5.0a1736849468__py3-none-any.whl → 0.5.0a1737483916__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 +18 -0
- pulumi_harness/chaos_infrastructure.py +578 -0
- pulumi_harness/get_chaos_infrastructure.py +178 -0
- pulumi_harness/platform/__init__.py +2 -0
- pulumi_harness/platform/_inputs.py +478 -0
- pulumi_harness/platform/aws_connector.py +47 -0
- pulumi_harness/platform/get_aws_connector.py +15 -1
- pulumi_harness/platform/get_gitops_agent_deploy_yaml.py +41 -1
- pulumi_harness/platform/get_har_registry.py +248 -0
- pulumi_harness/platform/get_service_list.py +34 -4
- pulumi_harness/platform/har_registry.py +571 -0
- pulumi_harness/platform/outputs.py +334 -10
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.5.0a1736849468.dist-info → pulumi_harness-0.5.0a1737483916.dist-info}/METADATA +1 -1
- {pulumi_harness-0.5.0a1736849468.dist-info → pulumi_harness-0.5.0a1737483916.dist-info}/RECORD +17 -13
- {pulumi_harness-0.5.0a1736849468.dist-info → pulumi_harness-0.5.0a1737483916.dist-info}/WHEEL +0 -0
- {pulumi_harness-0.5.0a1736849468.dist-info → pulumi_harness-0.5.0a1737483916.dist-info}/top_level.txt +0 -0
|
@@ -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'),
|
|
@@ -28,7 +28,7 @@ class GetGitopsAgentDeployYamlResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getGitopsAgentDeployYaml.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, account_id=None, ca_data=None, id=None, identifier=None, namespace=None, org_id=None, project_id=None, proxies=None, yaml=None):
|
|
31
|
+
def __init__(__self__, account_id=None, ca_data=None, id=None, identifier=None, namespace=None, org_id=None, private_key=None, project_id=None, proxies=None, skip_crds=None, yaml=None):
|
|
32
32
|
if account_id and not isinstance(account_id, str):
|
|
33
33
|
raise TypeError("Expected argument 'account_id' to be a str")
|
|
34
34
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -47,12 +47,18 @@ class GetGitopsAgentDeployYamlResult:
|
|
|
47
47
|
if org_id and not isinstance(org_id, str):
|
|
48
48
|
raise TypeError("Expected argument 'org_id' to be a str")
|
|
49
49
|
pulumi.set(__self__, "org_id", org_id)
|
|
50
|
+
if private_key and not isinstance(private_key, str):
|
|
51
|
+
raise TypeError("Expected argument 'private_key' to be a str")
|
|
52
|
+
pulumi.set(__self__, "private_key", private_key)
|
|
50
53
|
if project_id and not isinstance(project_id, str):
|
|
51
54
|
raise TypeError("Expected argument 'project_id' to be a str")
|
|
52
55
|
pulumi.set(__self__, "project_id", project_id)
|
|
53
56
|
if proxies and not isinstance(proxies, list):
|
|
54
57
|
raise TypeError("Expected argument 'proxies' to be a list")
|
|
55
58
|
pulumi.set(__self__, "proxies", proxies)
|
|
59
|
+
if skip_crds and not isinstance(skip_crds, bool):
|
|
60
|
+
raise TypeError("Expected argument 'skip_crds' to be a bool")
|
|
61
|
+
pulumi.set(__self__, "skip_crds", skip_crds)
|
|
56
62
|
if yaml and not isinstance(yaml, str):
|
|
57
63
|
raise TypeError("Expected argument 'yaml' to be a str")
|
|
58
64
|
pulumi.set(__self__, "yaml", yaml)
|
|
@@ -106,6 +112,14 @@ class GetGitopsAgentDeployYamlResult:
|
|
|
106
112
|
"""
|
|
107
113
|
return pulumi.get(self, "org_id")
|
|
108
114
|
|
|
115
|
+
@property
|
|
116
|
+
@pulumi.getter(name="privateKey")
|
|
117
|
+
def private_key(self) -> Optional[str]:
|
|
118
|
+
"""
|
|
119
|
+
Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "private_key")
|
|
122
|
+
|
|
109
123
|
@property
|
|
110
124
|
@pulumi.getter(name="projectId")
|
|
111
125
|
def project_id(self) -> Optional[str]:
|
|
@@ -122,6 +136,14 @@ class GetGitopsAgentDeployYamlResult:
|
|
|
122
136
|
"""
|
|
123
137
|
return pulumi.get(self, "proxies")
|
|
124
138
|
|
|
139
|
+
@property
|
|
140
|
+
@pulumi.getter(name="skipCrds")
|
|
141
|
+
def skip_crds(self) -> Optional[bool]:
|
|
142
|
+
"""
|
|
143
|
+
Skip CRDs for the GitOps agent.
|
|
144
|
+
"""
|
|
145
|
+
return pulumi.get(self, "skip_crds")
|
|
146
|
+
|
|
125
147
|
@property
|
|
126
148
|
@pulumi.getter
|
|
127
149
|
def yaml(self) -> str:
|
|
@@ -143,8 +165,10 @@ class AwaitableGetGitopsAgentDeployYamlResult(GetGitopsAgentDeployYamlResult):
|
|
|
143
165
|
identifier=self.identifier,
|
|
144
166
|
namespace=self.namespace,
|
|
145
167
|
org_id=self.org_id,
|
|
168
|
+
private_key=self.private_key,
|
|
146
169
|
project_id=self.project_id,
|
|
147
170
|
proxies=self.proxies,
|
|
171
|
+
skip_crds=self.skip_crds,
|
|
148
172
|
yaml=self.yaml)
|
|
149
173
|
|
|
150
174
|
|
|
@@ -153,8 +177,10 @@ def get_gitops_agent_deploy_yaml(account_id: Optional[str] = None,
|
|
|
153
177
|
identifier: Optional[str] = None,
|
|
154
178
|
namespace: Optional[str] = None,
|
|
155
179
|
org_id: Optional[str] = None,
|
|
180
|
+
private_key: Optional[str] = None,
|
|
156
181
|
project_id: Optional[str] = None,
|
|
157
182
|
proxies: Optional[Sequence[Union['GetGitopsAgentDeployYamlProxyArgs', 'GetGitopsAgentDeployYamlProxyArgsDict']]] = None,
|
|
183
|
+
skip_crds: Optional[bool] = None,
|
|
158
184
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitopsAgentDeployYamlResult:
|
|
159
185
|
"""
|
|
160
186
|
Datasource for fetching a Harness Gitops Agent deployment manifest YAML.
|
|
@@ -178,8 +204,10 @@ def get_gitops_agent_deploy_yaml(account_id: Optional[str] = None,
|
|
|
178
204
|
:param str identifier: Identifier of the GitOps agent.
|
|
179
205
|
:param str namespace: The kubernetes namespace where the agent is installed.
|
|
180
206
|
:param str org_id: Organization identifier of the GitOps agent.
|
|
207
|
+
:param str private_key: Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
|
|
181
208
|
:param str project_id: Project identifier of the GitOps agent.
|
|
182
209
|
:param Sequence[Union['GetGitopsAgentDeployYamlProxyArgs', 'GetGitopsAgentDeployYamlProxyArgsDict']] proxies: Proxy settings for the GitOps agent.
|
|
210
|
+
:param bool skip_crds: Skip CRDs for the GitOps agent.
|
|
183
211
|
"""
|
|
184
212
|
__args__ = dict()
|
|
185
213
|
__args__['accountId'] = account_id
|
|
@@ -187,8 +215,10 @@ def get_gitops_agent_deploy_yaml(account_id: Optional[str] = None,
|
|
|
187
215
|
__args__['identifier'] = identifier
|
|
188
216
|
__args__['namespace'] = namespace
|
|
189
217
|
__args__['orgId'] = org_id
|
|
218
|
+
__args__['privateKey'] = private_key
|
|
190
219
|
__args__['projectId'] = project_id
|
|
191
220
|
__args__['proxies'] = proxies
|
|
221
|
+
__args__['skipCrds'] = skip_crds
|
|
192
222
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
193
223
|
__ret__ = pulumi.runtime.invoke('harness:platform/getGitopsAgentDeployYaml:getGitopsAgentDeployYaml', __args__, opts=opts, typ=GetGitopsAgentDeployYamlResult).value
|
|
194
224
|
|
|
@@ -199,16 +229,20 @@ def get_gitops_agent_deploy_yaml(account_id: Optional[str] = None,
|
|
|
199
229
|
identifier=pulumi.get(__ret__, 'identifier'),
|
|
200
230
|
namespace=pulumi.get(__ret__, 'namespace'),
|
|
201
231
|
org_id=pulumi.get(__ret__, 'org_id'),
|
|
232
|
+
private_key=pulumi.get(__ret__, 'private_key'),
|
|
202
233
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
203
234
|
proxies=pulumi.get(__ret__, 'proxies'),
|
|
235
|
+
skip_crds=pulumi.get(__ret__, 'skip_crds'),
|
|
204
236
|
yaml=pulumi.get(__ret__, 'yaml'))
|
|
205
237
|
def get_gitops_agent_deploy_yaml_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
206
238
|
ca_data: Optional[pulumi.Input[Optional[str]]] = None,
|
|
207
239
|
identifier: Optional[pulumi.Input[str]] = None,
|
|
208
240
|
namespace: Optional[pulumi.Input[str]] = None,
|
|
209
241
|
org_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
242
|
+
private_key: Optional[pulumi.Input[Optional[str]]] = None,
|
|
210
243
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
211
244
|
proxies: Optional[pulumi.Input[Optional[Sequence[Union['GetGitopsAgentDeployYamlProxyArgs', 'GetGitopsAgentDeployYamlProxyArgsDict']]]]] = None,
|
|
245
|
+
skip_crds: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
212
246
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitopsAgentDeployYamlResult]:
|
|
213
247
|
"""
|
|
214
248
|
Datasource for fetching a Harness Gitops Agent deployment manifest YAML.
|
|
@@ -232,8 +266,10 @@ def get_gitops_agent_deploy_yaml_output(account_id: Optional[pulumi.Input[Option
|
|
|
232
266
|
:param str identifier: Identifier of the GitOps agent.
|
|
233
267
|
:param str namespace: The kubernetes namespace where the agent is installed.
|
|
234
268
|
:param str org_id: Organization identifier of the GitOps agent.
|
|
269
|
+
:param str private_key: Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
|
|
235
270
|
:param str project_id: Project identifier of the GitOps agent.
|
|
236
271
|
:param Sequence[Union['GetGitopsAgentDeployYamlProxyArgs', 'GetGitopsAgentDeployYamlProxyArgsDict']] proxies: Proxy settings for the GitOps agent.
|
|
272
|
+
:param bool skip_crds: Skip CRDs for the GitOps agent.
|
|
237
273
|
"""
|
|
238
274
|
__args__ = dict()
|
|
239
275
|
__args__['accountId'] = account_id
|
|
@@ -241,8 +277,10 @@ def get_gitops_agent_deploy_yaml_output(account_id: Optional[pulumi.Input[Option
|
|
|
241
277
|
__args__['identifier'] = identifier
|
|
242
278
|
__args__['namespace'] = namespace
|
|
243
279
|
__args__['orgId'] = org_id
|
|
280
|
+
__args__['privateKey'] = private_key
|
|
244
281
|
__args__['projectId'] = project_id
|
|
245
282
|
__args__['proxies'] = proxies
|
|
283
|
+
__args__['skipCrds'] = skip_crds
|
|
246
284
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
247
285
|
__ret__ = pulumi.runtime.invoke_output('harness:platform/getGitopsAgentDeployYaml:getGitopsAgentDeployYaml', __args__, opts=opts, typ=GetGitopsAgentDeployYamlResult)
|
|
248
286
|
return __ret__.apply(lambda __response__: GetGitopsAgentDeployYamlResult(
|
|
@@ -252,6 +290,8 @@ def get_gitops_agent_deploy_yaml_output(account_id: Optional[pulumi.Input[Option
|
|
|
252
290
|
identifier=pulumi.get(__response__, 'identifier'),
|
|
253
291
|
namespace=pulumi.get(__response__, 'namespace'),
|
|
254
292
|
org_id=pulumi.get(__response__, 'org_id'),
|
|
293
|
+
private_key=pulumi.get(__response__, 'private_key'),
|
|
255
294
|
project_id=pulumi.get(__response__, 'project_id'),
|
|
256
295
|
proxies=pulumi.get(__response__, 'proxies'),
|
|
296
|
+
skip_crds=pulumi.get(__response__, 'skip_crds'),
|
|
257
297
|
yaml=pulumi.get(__response__, 'yaml')))
|
|
@@ -0,0 +1,248 @@
|
|
|
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
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetHarRegistryResult',
|
|
21
|
+
'AwaitableGetHarRegistryResult',
|
|
22
|
+
'get_har_registry',
|
|
23
|
+
'get_har_registry_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetHarRegistryResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getHarRegistry.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, allowed_patterns=None, blocked_patterns=None, configs=None, created_at=None, description=None, id=None, identifier=None, package_type=None, parent_ref=None, space_ref=None, url=None):
|
|
32
|
+
if allowed_patterns and not isinstance(allowed_patterns, list):
|
|
33
|
+
raise TypeError("Expected argument 'allowed_patterns' to be a list")
|
|
34
|
+
pulumi.set(__self__, "allowed_patterns", allowed_patterns)
|
|
35
|
+
if blocked_patterns and not isinstance(blocked_patterns, list):
|
|
36
|
+
raise TypeError("Expected argument 'blocked_patterns' to be a list")
|
|
37
|
+
pulumi.set(__self__, "blocked_patterns", blocked_patterns)
|
|
38
|
+
if configs and not isinstance(configs, list):
|
|
39
|
+
raise TypeError("Expected argument 'configs' to be a list")
|
|
40
|
+
pulumi.set(__self__, "configs", configs)
|
|
41
|
+
if created_at and not isinstance(created_at, str):
|
|
42
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
43
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
44
|
+
if description and not isinstance(description, str):
|
|
45
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
46
|
+
pulumi.set(__self__, "description", description)
|
|
47
|
+
if id and not isinstance(id, str):
|
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
49
|
+
pulumi.set(__self__, "id", id)
|
|
50
|
+
if identifier and not isinstance(identifier, str):
|
|
51
|
+
raise TypeError("Expected argument 'identifier' to be a str")
|
|
52
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
53
|
+
if package_type and not isinstance(package_type, str):
|
|
54
|
+
raise TypeError("Expected argument 'package_type' to be a str")
|
|
55
|
+
pulumi.set(__self__, "package_type", package_type)
|
|
56
|
+
if parent_ref and not isinstance(parent_ref, str):
|
|
57
|
+
raise TypeError("Expected argument 'parent_ref' to be a str")
|
|
58
|
+
pulumi.set(__self__, "parent_ref", parent_ref)
|
|
59
|
+
if space_ref and not isinstance(space_ref, str):
|
|
60
|
+
raise TypeError("Expected argument 'space_ref' to be a str")
|
|
61
|
+
pulumi.set(__self__, "space_ref", space_ref)
|
|
62
|
+
if url and not isinstance(url, str):
|
|
63
|
+
raise TypeError("Expected argument 'url' to be a str")
|
|
64
|
+
pulumi.set(__self__, "url", url)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter(name="allowedPatterns")
|
|
68
|
+
def allowed_patterns(self) -> Optional[Sequence[str]]:
|
|
69
|
+
return pulumi.get(self, "allowed_patterns")
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter(name="blockedPatterns")
|
|
73
|
+
def blocked_patterns(self) -> Optional[Sequence[str]]:
|
|
74
|
+
return pulumi.get(self, "blocked_patterns")
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter
|
|
78
|
+
def configs(self) -> Optional[Sequence['outputs.GetHarRegistryConfigResult']]:
|
|
79
|
+
return pulumi.get(self, "configs")
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter(name="createdAt")
|
|
83
|
+
def created_at(self) -> str:
|
|
84
|
+
return pulumi.get(self, "created_at")
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter
|
|
88
|
+
def description(self) -> Optional[str]:
|
|
89
|
+
return pulumi.get(self, "description")
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def id(self) -> str:
|
|
94
|
+
"""
|
|
95
|
+
The provider-assigned unique ID for this managed resource.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "id")
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
@pulumi.getter
|
|
101
|
+
def identifier(self) -> str:
|
|
102
|
+
"""
|
|
103
|
+
Unique identifier of the resource.
|
|
104
|
+
"""
|
|
105
|
+
return pulumi.get(self, "identifier")
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter(name="packageType")
|
|
109
|
+
def package_type(self) -> Optional[str]:
|
|
110
|
+
return pulumi.get(self, "package_type")
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter(name="parentRef")
|
|
114
|
+
def parent_ref(self) -> Optional[str]:
|
|
115
|
+
return pulumi.get(self, "parent_ref")
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter(name="spaceRef")
|
|
119
|
+
def space_ref(self) -> str:
|
|
120
|
+
"""
|
|
121
|
+
Reference of the space.
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "space_ref")
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter
|
|
127
|
+
def url(self) -> str:
|
|
128
|
+
return pulumi.get(self, "url")
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
class AwaitableGetHarRegistryResult(GetHarRegistryResult):
|
|
132
|
+
# pylint: disable=using-constant-test
|
|
133
|
+
def __await__(self):
|
|
134
|
+
if False:
|
|
135
|
+
yield self
|
|
136
|
+
return GetHarRegistryResult(
|
|
137
|
+
allowed_patterns=self.allowed_patterns,
|
|
138
|
+
blocked_patterns=self.blocked_patterns,
|
|
139
|
+
configs=self.configs,
|
|
140
|
+
created_at=self.created_at,
|
|
141
|
+
description=self.description,
|
|
142
|
+
id=self.id,
|
|
143
|
+
identifier=self.identifier,
|
|
144
|
+
package_type=self.package_type,
|
|
145
|
+
parent_ref=self.parent_ref,
|
|
146
|
+
space_ref=self.space_ref,
|
|
147
|
+
url=self.url)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
def get_har_registry(allowed_patterns: Optional[Sequence[str]] = None,
|
|
151
|
+
blocked_patterns: Optional[Sequence[str]] = None,
|
|
152
|
+
configs: Optional[Sequence[Union['GetHarRegistryConfigArgs', 'GetHarRegistryConfigArgsDict']]] = None,
|
|
153
|
+
description: Optional[str] = None,
|
|
154
|
+
identifier: Optional[str] = None,
|
|
155
|
+
package_type: Optional[str] = None,
|
|
156
|
+
parent_ref: Optional[str] = None,
|
|
157
|
+
space_ref: Optional[str] = None,
|
|
158
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHarRegistryResult:
|
|
159
|
+
"""
|
|
160
|
+
Data Source for retrieving a Harness Artifact registry
|
|
161
|
+
|
|
162
|
+
## Example Usage
|
|
163
|
+
|
|
164
|
+
```python
|
|
165
|
+
import pulumi
|
|
166
|
+
import pulumi_harness as harness
|
|
167
|
+
|
|
168
|
+
test = harness.platform.get_har_registry(identifier="test_registry",
|
|
169
|
+
space_ref="accountId/orgId/projectId")
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
:param str identifier: Unique identifier of the resource.
|
|
174
|
+
:param str space_ref: Reference of the space.
|
|
175
|
+
"""
|
|
176
|
+
__args__ = dict()
|
|
177
|
+
__args__['allowedPatterns'] = allowed_patterns
|
|
178
|
+
__args__['blockedPatterns'] = blocked_patterns
|
|
179
|
+
__args__['configs'] = configs
|
|
180
|
+
__args__['description'] = description
|
|
181
|
+
__args__['identifier'] = identifier
|
|
182
|
+
__args__['packageType'] = package_type
|
|
183
|
+
__args__['parentRef'] = parent_ref
|
|
184
|
+
__args__['spaceRef'] = space_ref
|
|
185
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
186
|
+
__ret__ = pulumi.runtime.invoke('harness:platform/getHarRegistry:getHarRegistry', __args__, opts=opts, typ=GetHarRegistryResult).value
|
|
187
|
+
|
|
188
|
+
return AwaitableGetHarRegistryResult(
|
|
189
|
+
allowed_patterns=pulumi.get(__ret__, 'allowed_patterns'),
|
|
190
|
+
blocked_patterns=pulumi.get(__ret__, 'blocked_patterns'),
|
|
191
|
+
configs=pulumi.get(__ret__, 'configs'),
|
|
192
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
193
|
+
description=pulumi.get(__ret__, 'description'),
|
|
194
|
+
id=pulumi.get(__ret__, 'id'),
|
|
195
|
+
identifier=pulumi.get(__ret__, 'identifier'),
|
|
196
|
+
package_type=pulumi.get(__ret__, 'package_type'),
|
|
197
|
+
parent_ref=pulumi.get(__ret__, 'parent_ref'),
|
|
198
|
+
space_ref=pulumi.get(__ret__, 'space_ref'),
|
|
199
|
+
url=pulumi.get(__ret__, 'url'))
|
|
200
|
+
def get_har_registry_output(allowed_patterns: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
201
|
+
blocked_patterns: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
202
|
+
configs: Optional[pulumi.Input[Optional[Sequence[Union['GetHarRegistryConfigArgs', 'GetHarRegistryConfigArgsDict']]]]] = None,
|
|
203
|
+
description: Optional[pulumi.Input[Optional[str]]] = None,
|
|
204
|
+
identifier: Optional[pulumi.Input[str]] = None,
|
|
205
|
+
package_type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
206
|
+
parent_ref: Optional[pulumi.Input[Optional[str]]] = None,
|
|
207
|
+
space_ref: Optional[pulumi.Input[str]] = None,
|
|
208
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHarRegistryResult]:
|
|
209
|
+
"""
|
|
210
|
+
Data Source for retrieving a Harness Artifact registry
|
|
211
|
+
|
|
212
|
+
## Example Usage
|
|
213
|
+
|
|
214
|
+
```python
|
|
215
|
+
import pulumi
|
|
216
|
+
import pulumi_harness as harness
|
|
217
|
+
|
|
218
|
+
test = harness.platform.get_har_registry(identifier="test_registry",
|
|
219
|
+
space_ref="accountId/orgId/projectId")
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
:param str identifier: Unique identifier of the resource.
|
|
224
|
+
:param str space_ref: Reference of the space.
|
|
225
|
+
"""
|
|
226
|
+
__args__ = dict()
|
|
227
|
+
__args__['allowedPatterns'] = allowed_patterns
|
|
228
|
+
__args__['blockedPatterns'] = blocked_patterns
|
|
229
|
+
__args__['configs'] = configs
|
|
230
|
+
__args__['description'] = description
|
|
231
|
+
__args__['identifier'] = identifier
|
|
232
|
+
__args__['packageType'] = package_type
|
|
233
|
+
__args__['parentRef'] = parent_ref
|
|
234
|
+
__args__['spaceRef'] = space_ref
|
|
235
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
236
|
+
__ret__ = pulumi.runtime.invoke_output('harness:platform/getHarRegistry:getHarRegistry', __args__, opts=opts, typ=GetHarRegistryResult)
|
|
237
|
+
return __ret__.apply(lambda __response__: GetHarRegistryResult(
|
|
238
|
+
allowed_patterns=pulumi.get(__response__, 'allowed_patterns'),
|
|
239
|
+
blocked_patterns=pulumi.get(__response__, 'blocked_patterns'),
|
|
240
|
+
configs=pulumi.get(__response__, 'configs'),
|
|
241
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
242
|
+
description=pulumi.get(__response__, 'description'),
|
|
243
|
+
id=pulumi.get(__response__, 'id'),
|
|
244
|
+
identifier=pulumi.get(__response__, 'identifier'),
|
|
245
|
+
package_type=pulumi.get(__response__, 'package_type'),
|
|
246
|
+
parent_ref=pulumi.get(__response__, 'parent_ref'),
|
|
247
|
+
space_ref=pulumi.get(__response__, 'space_ref'),
|
|
248
|
+
url=pulumi.get(__response__, 'url')))
|