pulumi-harness 0.5.0a1737092563__py3-none-any.whl → 0.6.0a1737524719__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 +8 -0
- pulumi_harness/platform/__init__.py +2 -0
- pulumi_harness/platform/_inputs.py +478 -0
- pulumi_harness/platform/get_gitops_agent_deploy_yaml.py +41 -1
- pulumi_harness/platform/get_har_registry.py +248 -0
- pulumi_harness/platform/har_registry.py +571 -0
- pulumi_harness/platform/outputs.py +324 -0
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.5.0a1737092563.dist-info → pulumi_harness-0.6.0a1737524719.dist-info}/METADATA +1 -1
- {pulumi_harness-0.5.0a1737092563.dist-info → pulumi_harness-0.6.0a1737524719.dist-info}/RECORD +12 -10
- {pulumi_harness-0.5.0a1737092563.dist-info → pulumi_harness-0.6.0a1737524719.dist-info}/WHEEL +0 -0
- {pulumi_harness-0.5.0a1737092563.dist-info → pulumi_harness-0.6.0a1737524719.dist-info}/top_level.txt +0 -0
pulumi_harness/__init__.py
CHANGED
|
@@ -756,6 +756,14 @@ _utilities.register(
|
|
|
756
756
|
"harness:platform/gitxWebhook:GitxWebhook": "GitxWebhook"
|
|
757
757
|
}
|
|
758
758
|
},
|
|
759
|
+
{
|
|
760
|
+
"pkg": "harness",
|
|
761
|
+
"mod": "platform/harRegistry",
|
|
762
|
+
"fqn": "pulumi_harness.platform",
|
|
763
|
+
"classes": {
|
|
764
|
+
"harness:platform/harRegistry:HarRegistry": "HarRegistry"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
759
767
|
{
|
|
760
768
|
"pkg": "harness",
|
|
761
769
|
"mod": "platform/helmConnector",
|
|
@@ -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
|
|
@@ -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')))
|