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
|
@@ -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')))
|
|
@@ -93,6 +93,7 @@ from .get_gitops_repo_cert import *
|
|
|
93
93
|
from .get_gitops_repo_cred import *
|
|
94
94
|
from .get_gitops_repository import *
|
|
95
95
|
from .get_gitx_webhook import *
|
|
96
|
+
from .get_har_registry import *
|
|
96
97
|
from .get_helm_connector import *
|
|
97
98
|
from .get_iacm_default_pipeline import *
|
|
98
99
|
from .get_infra_module import *
|
|
@@ -163,6 +164,7 @@ from .gitlab_connector import *
|
|
|
163
164
|
from .gitops_app_project import *
|
|
164
165
|
from .gitops_app_project_mapping import *
|
|
165
166
|
from .gitx_webhook import *
|
|
167
|
+
from .har_registry import *
|
|
166
168
|
from .helm_connector import *
|
|
167
169
|
from .iacm_default_pipeline import *
|
|
168
170
|
from .infra_module import *
|
|
@@ -289,6 +289,12 @@ __all__ = [
|
|
|
289
289
|
'GitopsAppProjectProjectSpecSignatureKeyArgsDict',
|
|
290
290
|
'GitopsAppProjectProjectSpecSyncWindowArgs',
|
|
291
291
|
'GitopsAppProjectProjectSpecSyncWindowArgsDict',
|
|
292
|
+
'HarRegistryConfigArgs',
|
|
293
|
+
'HarRegistryConfigArgsDict',
|
|
294
|
+
'HarRegistryConfigAuthArgs',
|
|
295
|
+
'HarRegistryConfigAuthArgsDict',
|
|
296
|
+
'HarRegistryConfigAuthUserPasswordArgs',
|
|
297
|
+
'HarRegistryConfigAuthUserPasswordArgsDict',
|
|
292
298
|
'HelmConnectorCredentialsArgs',
|
|
293
299
|
'HelmConnectorCredentialsArgsDict',
|
|
294
300
|
'InfrastructureGitDetailsArgs',
|
|
@@ -473,6 +479,12 @@ __all__ = [
|
|
|
473
479
|
'GetGitopsGnupgRequestPublickeyArgsDict',
|
|
474
480
|
'GetGitopsRepoCredCredArgs',
|
|
475
481
|
'GetGitopsRepoCredCredArgsDict',
|
|
482
|
+
'GetHarRegistryConfigArgs',
|
|
483
|
+
'GetHarRegistryConfigArgsDict',
|
|
484
|
+
'GetHarRegistryConfigAuthArgs',
|
|
485
|
+
'GetHarRegistryConfigAuthArgsDict',
|
|
486
|
+
'GetHarRegistryConfigAuthUserPasswordArgs',
|
|
487
|
+
'GetHarRegistryConfigAuthUserPasswordArgsDict',
|
|
476
488
|
'GetInfrastructureGitDetailsArgs',
|
|
477
489
|
'GetInfrastructureGitDetailsArgsDict',
|
|
478
490
|
'GetInputSetGitDetailsArgs',
|
|
@@ -11551,6 +11563,239 @@ class GitopsAppProjectProjectSpecSyncWindowArgs:
|
|
|
11551
11563
|
pulumi.set(self, "time_zone", value)
|
|
11552
11564
|
|
|
11553
11565
|
|
|
11566
|
+
if not MYPY:
|
|
11567
|
+
class HarRegistryConfigArgsDict(TypedDict):
|
|
11568
|
+
type: pulumi.Input[str]
|
|
11569
|
+
"""
|
|
11570
|
+
Type of registry (VIRTUAL only supported)
|
|
11571
|
+
"""
|
|
11572
|
+
auths: NotRequired[pulumi.Input[Sequence[pulumi.Input['HarRegistryConfigAuthArgsDict']]]]
|
|
11573
|
+
"""
|
|
11574
|
+
Authentication configuration for UPSTREAM type
|
|
11575
|
+
"""
|
|
11576
|
+
source: NotRequired[pulumi.Input[str]]
|
|
11577
|
+
"""
|
|
11578
|
+
Source of the upstream
|
|
11579
|
+
"""
|
|
11580
|
+
url: NotRequired[pulumi.Input[str]]
|
|
11581
|
+
"""
|
|
11582
|
+
URL of the upstream
|
|
11583
|
+
"""
|
|
11584
|
+
elif False:
|
|
11585
|
+
HarRegistryConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
11586
|
+
|
|
11587
|
+
@pulumi.input_type
|
|
11588
|
+
class HarRegistryConfigArgs:
|
|
11589
|
+
def __init__(__self__, *,
|
|
11590
|
+
type: pulumi.Input[str],
|
|
11591
|
+
auths: Optional[pulumi.Input[Sequence[pulumi.Input['HarRegistryConfigAuthArgs']]]] = None,
|
|
11592
|
+
source: Optional[pulumi.Input[str]] = None,
|
|
11593
|
+
url: Optional[pulumi.Input[str]] = None):
|
|
11594
|
+
"""
|
|
11595
|
+
:param pulumi.Input[str] type: Type of registry (VIRTUAL only supported)
|
|
11596
|
+
:param pulumi.Input[Sequence[pulumi.Input['HarRegistryConfigAuthArgs']]] auths: Authentication configuration for UPSTREAM type
|
|
11597
|
+
:param pulumi.Input[str] source: Source of the upstream
|
|
11598
|
+
:param pulumi.Input[str] url: URL of the upstream
|
|
11599
|
+
"""
|
|
11600
|
+
pulumi.set(__self__, "type", type)
|
|
11601
|
+
if auths is not None:
|
|
11602
|
+
pulumi.set(__self__, "auths", auths)
|
|
11603
|
+
if source is not None:
|
|
11604
|
+
pulumi.set(__self__, "source", source)
|
|
11605
|
+
if url is not None:
|
|
11606
|
+
pulumi.set(__self__, "url", url)
|
|
11607
|
+
|
|
11608
|
+
@property
|
|
11609
|
+
@pulumi.getter
|
|
11610
|
+
def type(self) -> pulumi.Input[str]:
|
|
11611
|
+
"""
|
|
11612
|
+
Type of registry (VIRTUAL only supported)
|
|
11613
|
+
"""
|
|
11614
|
+
return pulumi.get(self, "type")
|
|
11615
|
+
|
|
11616
|
+
@type.setter
|
|
11617
|
+
def type(self, value: pulumi.Input[str]):
|
|
11618
|
+
pulumi.set(self, "type", value)
|
|
11619
|
+
|
|
11620
|
+
@property
|
|
11621
|
+
@pulumi.getter
|
|
11622
|
+
def auths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HarRegistryConfigAuthArgs']]]]:
|
|
11623
|
+
"""
|
|
11624
|
+
Authentication configuration for UPSTREAM type
|
|
11625
|
+
"""
|
|
11626
|
+
return pulumi.get(self, "auths")
|
|
11627
|
+
|
|
11628
|
+
@auths.setter
|
|
11629
|
+
def auths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HarRegistryConfigAuthArgs']]]]):
|
|
11630
|
+
pulumi.set(self, "auths", value)
|
|
11631
|
+
|
|
11632
|
+
@property
|
|
11633
|
+
@pulumi.getter
|
|
11634
|
+
def source(self) -> Optional[pulumi.Input[str]]:
|
|
11635
|
+
"""
|
|
11636
|
+
Source of the upstream
|
|
11637
|
+
"""
|
|
11638
|
+
return pulumi.get(self, "source")
|
|
11639
|
+
|
|
11640
|
+
@source.setter
|
|
11641
|
+
def source(self, value: Optional[pulumi.Input[str]]):
|
|
11642
|
+
pulumi.set(self, "source", value)
|
|
11643
|
+
|
|
11644
|
+
@property
|
|
11645
|
+
@pulumi.getter
|
|
11646
|
+
def url(self) -> Optional[pulumi.Input[str]]:
|
|
11647
|
+
"""
|
|
11648
|
+
URL of the upstream
|
|
11649
|
+
"""
|
|
11650
|
+
return pulumi.get(self, "url")
|
|
11651
|
+
|
|
11652
|
+
@url.setter
|
|
11653
|
+
def url(self, value: Optional[pulumi.Input[str]]):
|
|
11654
|
+
pulumi.set(self, "url", value)
|
|
11655
|
+
|
|
11656
|
+
|
|
11657
|
+
if not MYPY:
|
|
11658
|
+
class HarRegistryConfigAuthArgsDict(TypedDict):
|
|
11659
|
+
auth_type: pulumi.Input[str]
|
|
11660
|
+
"""
|
|
11661
|
+
Type of authentication (UserPassword, Anonymous)
|
|
11662
|
+
"""
|
|
11663
|
+
user_password: NotRequired[pulumi.Input['HarRegistryConfigAuthUserPasswordArgsDict']]
|
|
11664
|
+
"""
|
|
11665
|
+
User password authentication details
|
|
11666
|
+
"""
|
|
11667
|
+
elif False:
|
|
11668
|
+
HarRegistryConfigAuthArgsDict: TypeAlias = Mapping[str, Any]
|
|
11669
|
+
|
|
11670
|
+
@pulumi.input_type
|
|
11671
|
+
class HarRegistryConfigAuthArgs:
|
|
11672
|
+
def __init__(__self__, *,
|
|
11673
|
+
auth_type: pulumi.Input[str],
|
|
11674
|
+
user_password: Optional[pulumi.Input['HarRegistryConfigAuthUserPasswordArgs']] = None):
|
|
11675
|
+
"""
|
|
11676
|
+
:param pulumi.Input[str] auth_type: Type of authentication (UserPassword, Anonymous)
|
|
11677
|
+
:param pulumi.Input['HarRegistryConfigAuthUserPasswordArgs'] user_password: User password authentication details
|
|
11678
|
+
"""
|
|
11679
|
+
pulumi.set(__self__, "auth_type", auth_type)
|
|
11680
|
+
if user_password is not None:
|
|
11681
|
+
pulumi.set(__self__, "user_password", user_password)
|
|
11682
|
+
|
|
11683
|
+
@property
|
|
11684
|
+
@pulumi.getter(name="authType")
|
|
11685
|
+
def auth_type(self) -> pulumi.Input[str]:
|
|
11686
|
+
"""
|
|
11687
|
+
Type of authentication (UserPassword, Anonymous)
|
|
11688
|
+
"""
|
|
11689
|
+
return pulumi.get(self, "auth_type")
|
|
11690
|
+
|
|
11691
|
+
@auth_type.setter
|
|
11692
|
+
def auth_type(self, value: pulumi.Input[str]):
|
|
11693
|
+
pulumi.set(self, "auth_type", value)
|
|
11694
|
+
|
|
11695
|
+
@property
|
|
11696
|
+
@pulumi.getter(name="userPassword")
|
|
11697
|
+
def user_password(self) -> Optional[pulumi.Input['HarRegistryConfigAuthUserPasswordArgs']]:
|
|
11698
|
+
"""
|
|
11699
|
+
User password authentication details
|
|
11700
|
+
"""
|
|
11701
|
+
return pulumi.get(self, "user_password")
|
|
11702
|
+
|
|
11703
|
+
@user_password.setter
|
|
11704
|
+
def user_password(self, value: Optional[pulumi.Input['HarRegistryConfigAuthUserPasswordArgs']]):
|
|
11705
|
+
pulumi.set(self, "user_password", value)
|
|
11706
|
+
|
|
11707
|
+
|
|
11708
|
+
if not MYPY:
|
|
11709
|
+
class HarRegistryConfigAuthUserPasswordArgsDict(TypedDict):
|
|
11710
|
+
user_name: pulumi.Input[str]
|
|
11711
|
+
"""
|
|
11712
|
+
User name
|
|
11713
|
+
"""
|
|
11714
|
+
secret_identifier: NotRequired[pulumi.Input[str]]
|
|
11715
|
+
"""
|
|
11716
|
+
Secret identifier
|
|
11717
|
+
"""
|
|
11718
|
+
secret_space_id: NotRequired[pulumi.Input[int]]
|
|
11719
|
+
"""
|
|
11720
|
+
Secret space ID
|
|
11721
|
+
"""
|
|
11722
|
+
secret_space_path: NotRequired[pulumi.Input[str]]
|
|
11723
|
+
"""
|
|
11724
|
+
Secret space path
|
|
11725
|
+
"""
|
|
11726
|
+
elif False:
|
|
11727
|
+
HarRegistryConfigAuthUserPasswordArgsDict: TypeAlias = Mapping[str, Any]
|
|
11728
|
+
|
|
11729
|
+
@pulumi.input_type
|
|
11730
|
+
class HarRegistryConfigAuthUserPasswordArgs:
|
|
11731
|
+
def __init__(__self__, *,
|
|
11732
|
+
user_name: pulumi.Input[str],
|
|
11733
|
+
secret_identifier: Optional[pulumi.Input[str]] = None,
|
|
11734
|
+
secret_space_id: Optional[pulumi.Input[int]] = None,
|
|
11735
|
+
secret_space_path: Optional[pulumi.Input[str]] = None):
|
|
11736
|
+
"""
|
|
11737
|
+
:param pulumi.Input[str] user_name: User name
|
|
11738
|
+
:param pulumi.Input[str] secret_identifier: Secret identifier
|
|
11739
|
+
:param pulumi.Input[int] secret_space_id: Secret space ID
|
|
11740
|
+
:param pulumi.Input[str] secret_space_path: Secret space path
|
|
11741
|
+
"""
|
|
11742
|
+
pulumi.set(__self__, "user_name", user_name)
|
|
11743
|
+
if secret_identifier is not None:
|
|
11744
|
+
pulumi.set(__self__, "secret_identifier", secret_identifier)
|
|
11745
|
+
if secret_space_id is not None:
|
|
11746
|
+
pulumi.set(__self__, "secret_space_id", secret_space_id)
|
|
11747
|
+
if secret_space_path is not None:
|
|
11748
|
+
pulumi.set(__self__, "secret_space_path", secret_space_path)
|
|
11749
|
+
|
|
11750
|
+
@property
|
|
11751
|
+
@pulumi.getter(name="userName")
|
|
11752
|
+
def user_name(self) -> pulumi.Input[str]:
|
|
11753
|
+
"""
|
|
11754
|
+
User name
|
|
11755
|
+
"""
|
|
11756
|
+
return pulumi.get(self, "user_name")
|
|
11757
|
+
|
|
11758
|
+
@user_name.setter
|
|
11759
|
+
def user_name(self, value: pulumi.Input[str]):
|
|
11760
|
+
pulumi.set(self, "user_name", value)
|
|
11761
|
+
|
|
11762
|
+
@property
|
|
11763
|
+
@pulumi.getter(name="secretIdentifier")
|
|
11764
|
+
def secret_identifier(self) -> Optional[pulumi.Input[str]]:
|
|
11765
|
+
"""
|
|
11766
|
+
Secret identifier
|
|
11767
|
+
"""
|
|
11768
|
+
return pulumi.get(self, "secret_identifier")
|
|
11769
|
+
|
|
11770
|
+
@secret_identifier.setter
|
|
11771
|
+
def secret_identifier(self, value: Optional[pulumi.Input[str]]):
|
|
11772
|
+
pulumi.set(self, "secret_identifier", value)
|
|
11773
|
+
|
|
11774
|
+
@property
|
|
11775
|
+
@pulumi.getter(name="secretSpaceId")
|
|
11776
|
+
def secret_space_id(self) -> Optional[pulumi.Input[int]]:
|
|
11777
|
+
"""
|
|
11778
|
+
Secret space ID
|
|
11779
|
+
"""
|
|
11780
|
+
return pulumi.get(self, "secret_space_id")
|
|
11781
|
+
|
|
11782
|
+
@secret_space_id.setter
|
|
11783
|
+
def secret_space_id(self, value: Optional[pulumi.Input[int]]):
|
|
11784
|
+
pulumi.set(self, "secret_space_id", value)
|
|
11785
|
+
|
|
11786
|
+
@property
|
|
11787
|
+
@pulumi.getter(name="secretSpacePath")
|
|
11788
|
+
def secret_space_path(self) -> Optional[pulumi.Input[str]]:
|
|
11789
|
+
"""
|
|
11790
|
+
Secret space path
|
|
11791
|
+
"""
|
|
11792
|
+
return pulumi.get(self, "secret_space_path")
|
|
11793
|
+
|
|
11794
|
+
@secret_space_path.setter
|
|
11795
|
+
def secret_space_path(self, value: Optional[pulumi.Input[str]]):
|
|
11796
|
+
pulumi.set(self, "secret_space_path", value)
|
|
11797
|
+
|
|
11798
|
+
|
|
11554
11799
|
if not MYPY:
|
|
11555
11800
|
class HelmConnectorCredentialsArgsDict(TypedDict):
|
|
11556
11801
|
password_ref: pulumi.Input[str]
|
|
@@ -20471,6 +20716,239 @@ class GetGitopsRepoCredCredArgs:
|
|
|
20471
20716
|
pulumi.set(self, "username", value)
|
|
20472
20717
|
|
|
20473
20718
|
|
|
20719
|
+
if not MYPY:
|
|
20720
|
+
class GetHarRegistryConfigArgsDict(TypedDict):
|
|
20721
|
+
type: str
|
|
20722
|
+
"""
|
|
20723
|
+
Type of registry (VIRTUAL, UPSTREAM)
|
|
20724
|
+
"""
|
|
20725
|
+
auths: NotRequired[Sequence['GetHarRegistryConfigAuthArgsDict']]
|
|
20726
|
+
"""
|
|
20727
|
+
Authentication configuration for UPSTREAM type
|
|
20728
|
+
"""
|
|
20729
|
+
source: NotRequired[str]
|
|
20730
|
+
"""
|
|
20731
|
+
Source of the upstream
|
|
20732
|
+
"""
|
|
20733
|
+
url: NotRequired[str]
|
|
20734
|
+
"""
|
|
20735
|
+
URL of the upstream
|
|
20736
|
+
"""
|
|
20737
|
+
elif False:
|
|
20738
|
+
GetHarRegistryConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
20739
|
+
|
|
20740
|
+
@pulumi.input_type
|
|
20741
|
+
class GetHarRegistryConfigArgs:
|
|
20742
|
+
def __init__(__self__, *,
|
|
20743
|
+
type: str,
|
|
20744
|
+
auths: Optional[Sequence['GetHarRegistryConfigAuthArgs']] = None,
|
|
20745
|
+
source: Optional[str] = None,
|
|
20746
|
+
url: Optional[str] = None):
|
|
20747
|
+
"""
|
|
20748
|
+
:param str type: Type of registry (VIRTUAL, UPSTREAM)
|
|
20749
|
+
:param Sequence['GetHarRegistryConfigAuthArgs'] auths: Authentication configuration for UPSTREAM type
|
|
20750
|
+
:param str source: Source of the upstream
|
|
20751
|
+
:param str url: URL of the upstream
|
|
20752
|
+
"""
|
|
20753
|
+
pulumi.set(__self__, "type", type)
|
|
20754
|
+
if auths is not None:
|
|
20755
|
+
pulumi.set(__self__, "auths", auths)
|
|
20756
|
+
if source is not None:
|
|
20757
|
+
pulumi.set(__self__, "source", source)
|
|
20758
|
+
if url is not None:
|
|
20759
|
+
pulumi.set(__self__, "url", url)
|
|
20760
|
+
|
|
20761
|
+
@property
|
|
20762
|
+
@pulumi.getter
|
|
20763
|
+
def type(self) -> str:
|
|
20764
|
+
"""
|
|
20765
|
+
Type of registry (VIRTUAL, UPSTREAM)
|
|
20766
|
+
"""
|
|
20767
|
+
return pulumi.get(self, "type")
|
|
20768
|
+
|
|
20769
|
+
@type.setter
|
|
20770
|
+
def type(self, value: str):
|
|
20771
|
+
pulumi.set(self, "type", value)
|
|
20772
|
+
|
|
20773
|
+
@property
|
|
20774
|
+
@pulumi.getter
|
|
20775
|
+
def auths(self) -> Optional[Sequence['GetHarRegistryConfigAuthArgs']]:
|
|
20776
|
+
"""
|
|
20777
|
+
Authentication configuration for UPSTREAM type
|
|
20778
|
+
"""
|
|
20779
|
+
return pulumi.get(self, "auths")
|
|
20780
|
+
|
|
20781
|
+
@auths.setter
|
|
20782
|
+
def auths(self, value: Optional[Sequence['GetHarRegistryConfigAuthArgs']]):
|
|
20783
|
+
pulumi.set(self, "auths", value)
|
|
20784
|
+
|
|
20785
|
+
@property
|
|
20786
|
+
@pulumi.getter
|
|
20787
|
+
def source(self) -> Optional[str]:
|
|
20788
|
+
"""
|
|
20789
|
+
Source of the upstream
|
|
20790
|
+
"""
|
|
20791
|
+
return pulumi.get(self, "source")
|
|
20792
|
+
|
|
20793
|
+
@source.setter
|
|
20794
|
+
def source(self, value: Optional[str]):
|
|
20795
|
+
pulumi.set(self, "source", value)
|
|
20796
|
+
|
|
20797
|
+
@property
|
|
20798
|
+
@pulumi.getter
|
|
20799
|
+
def url(self) -> Optional[str]:
|
|
20800
|
+
"""
|
|
20801
|
+
URL of the upstream
|
|
20802
|
+
"""
|
|
20803
|
+
return pulumi.get(self, "url")
|
|
20804
|
+
|
|
20805
|
+
@url.setter
|
|
20806
|
+
def url(self, value: Optional[str]):
|
|
20807
|
+
pulumi.set(self, "url", value)
|
|
20808
|
+
|
|
20809
|
+
|
|
20810
|
+
if not MYPY:
|
|
20811
|
+
class GetHarRegistryConfigAuthArgsDict(TypedDict):
|
|
20812
|
+
auth_type: str
|
|
20813
|
+
"""
|
|
20814
|
+
Type of authentication (UserPassword, Anonymous)
|
|
20815
|
+
"""
|
|
20816
|
+
user_password: NotRequired['GetHarRegistryConfigAuthUserPasswordArgsDict']
|
|
20817
|
+
"""
|
|
20818
|
+
User password authentication details
|
|
20819
|
+
"""
|
|
20820
|
+
elif False:
|
|
20821
|
+
GetHarRegistryConfigAuthArgsDict: TypeAlias = Mapping[str, Any]
|
|
20822
|
+
|
|
20823
|
+
@pulumi.input_type
|
|
20824
|
+
class GetHarRegistryConfigAuthArgs:
|
|
20825
|
+
def __init__(__self__, *,
|
|
20826
|
+
auth_type: str,
|
|
20827
|
+
user_password: Optional['GetHarRegistryConfigAuthUserPasswordArgs'] = None):
|
|
20828
|
+
"""
|
|
20829
|
+
:param str auth_type: Type of authentication (UserPassword, Anonymous)
|
|
20830
|
+
:param 'GetHarRegistryConfigAuthUserPasswordArgs' user_password: User password authentication details
|
|
20831
|
+
"""
|
|
20832
|
+
pulumi.set(__self__, "auth_type", auth_type)
|
|
20833
|
+
if user_password is not None:
|
|
20834
|
+
pulumi.set(__self__, "user_password", user_password)
|
|
20835
|
+
|
|
20836
|
+
@property
|
|
20837
|
+
@pulumi.getter(name="authType")
|
|
20838
|
+
def auth_type(self) -> str:
|
|
20839
|
+
"""
|
|
20840
|
+
Type of authentication (UserPassword, Anonymous)
|
|
20841
|
+
"""
|
|
20842
|
+
return pulumi.get(self, "auth_type")
|
|
20843
|
+
|
|
20844
|
+
@auth_type.setter
|
|
20845
|
+
def auth_type(self, value: str):
|
|
20846
|
+
pulumi.set(self, "auth_type", value)
|
|
20847
|
+
|
|
20848
|
+
@property
|
|
20849
|
+
@pulumi.getter(name="userPassword")
|
|
20850
|
+
def user_password(self) -> Optional['GetHarRegistryConfigAuthUserPasswordArgs']:
|
|
20851
|
+
"""
|
|
20852
|
+
User password authentication details
|
|
20853
|
+
"""
|
|
20854
|
+
return pulumi.get(self, "user_password")
|
|
20855
|
+
|
|
20856
|
+
@user_password.setter
|
|
20857
|
+
def user_password(self, value: Optional['GetHarRegistryConfigAuthUserPasswordArgs']):
|
|
20858
|
+
pulumi.set(self, "user_password", value)
|
|
20859
|
+
|
|
20860
|
+
|
|
20861
|
+
if not MYPY:
|
|
20862
|
+
class GetHarRegistryConfigAuthUserPasswordArgsDict(TypedDict):
|
|
20863
|
+
user_name: str
|
|
20864
|
+
"""
|
|
20865
|
+
User name
|
|
20866
|
+
"""
|
|
20867
|
+
secret_identifier: NotRequired[str]
|
|
20868
|
+
"""
|
|
20869
|
+
Secret identifier
|
|
20870
|
+
"""
|
|
20871
|
+
secret_space_id: NotRequired[int]
|
|
20872
|
+
"""
|
|
20873
|
+
Secret space ID
|
|
20874
|
+
"""
|
|
20875
|
+
secret_space_path: NotRequired[str]
|
|
20876
|
+
"""
|
|
20877
|
+
Secret space path
|
|
20878
|
+
"""
|
|
20879
|
+
elif False:
|
|
20880
|
+
GetHarRegistryConfigAuthUserPasswordArgsDict: TypeAlias = Mapping[str, Any]
|
|
20881
|
+
|
|
20882
|
+
@pulumi.input_type
|
|
20883
|
+
class GetHarRegistryConfigAuthUserPasswordArgs:
|
|
20884
|
+
def __init__(__self__, *,
|
|
20885
|
+
user_name: str,
|
|
20886
|
+
secret_identifier: Optional[str] = None,
|
|
20887
|
+
secret_space_id: Optional[int] = None,
|
|
20888
|
+
secret_space_path: Optional[str] = None):
|
|
20889
|
+
"""
|
|
20890
|
+
:param str user_name: User name
|
|
20891
|
+
:param str secret_identifier: Secret identifier
|
|
20892
|
+
:param int secret_space_id: Secret space ID
|
|
20893
|
+
:param str secret_space_path: Secret space path
|
|
20894
|
+
"""
|
|
20895
|
+
pulumi.set(__self__, "user_name", user_name)
|
|
20896
|
+
if secret_identifier is not None:
|
|
20897
|
+
pulumi.set(__self__, "secret_identifier", secret_identifier)
|
|
20898
|
+
if secret_space_id is not None:
|
|
20899
|
+
pulumi.set(__self__, "secret_space_id", secret_space_id)
|
|
20900
|
+
if secret_space_path is not None:
|
|
20901
|
+
pulumi.set(__self__, "secret_space_path", secret_space_path)
|
|
20902
|
+
|
|
20903
|
+
@property
|
|
20904
|
+
@pulumi.getter(name="userName")
|
|
20905
|
+
def user_name(self) -> str:
|
|
20906
|
+
"""
|
|
20907
|
+
User name
|
|
20908
|
+
"""
|
|
20909
|
+
return pulumi.get(self, "user_name")
|
|
20910
|
+
|
|
20911
|
+
@user_name.setter
|
|
20912
|
+
def user_name(self, value: str):
|
|
20913
|
+
pulumi.set(self, "user_name", value)
|
|
20914
|
+
|
|
20915
|
+
@property
|
|
20916
|
+
@pulumi.getter(name="secretIdentifier")
|
|
20917
|
+
def secret_identifier(self) -> Optional[str]:
|
|
20918
|
+
"""
|
|
20919
|
+
Secret identifier
|
|
20920
|
+
"""
|
|
20921
|
+
return pulumi.get(self, "secret_identifier")
|
|
20922
|
+
|
|
20923
|
+
@secret_identifier.setter
|
|
20924
|
+
def secret_identifier(self, value: Optional[str]):
|
|
20925
|
+
pulumi.set(self, "secret_identifier", value)
|
|
20926
|
+
|
|
20927
|
+
@property
|
|
20928
|
+
@pulumi.getter(name="secretSpaceId")
|
|
20929
|
+
def secret_space_id(self) -> Optional[int]:
|
|
20930
|
+
"""
|
|
20931
|
+
Secret space ID
|
|
20932
|
+
"""
|
|
20933
|
+
return pulumi.get(self, "secret_space_id")
|
|
20934
|
+
|
|
20935
|
+
@secret_space_id.setter
|
|
20936
|
+
def secret_space_id(self, value: Optional[int]):
|
|
20937
|
+
pulumi.set(self, "secret_space_id", value)
|
|
20938
|
+
|
|
20939
|
+
@property
|
|
20940
|
+
@pulumi.getter(name="secretSpacePath")
|
|
20941
|
+
def secret_space_path(self) -> Optional[str]:
|
|
20942
|
+
"""
|
|
20943
|
+
Secret space path
|
|
20944
|
+
"""
|
|
20945
|
+
return pulumi.get(self, "secret_space_path")
|
|
20946
|
+
|
|
20947
|
+
@secret_space_path.setter
|
|
20948
|
+
def secret_space_path(self, value: Optional[str]):
|
|
20949
|
+
pulumi.set(self, "secret_space_path", value)
|
|
20950
|
+
|
|
20951
|
+
|
|
20474
20952
|
if not MYPY:
|
|
20475
20953
|
class GetInfrastructureGitDetailsArgsDict(TypedDict):
|
|
20476
20954
|
branch: str
|