pulumi-harness 0.8.0a1747375122__py3-none-any.whl → 0.8.0a1747893453__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 +16 -0
- pulumi_harness/cluster/__init__.py +4 -0
- pulumi_harness/cluster/_inputs.py +992 -0
- pulumi_harness/cluster/get_orchestrator_config.py +175 -0
- pulumi_harness/cluster/orchestrator_config.py +295 -0
- pulumi_harness/cluster/outputs.py +644 -0
- pulumi_harness/platform/__init__.py +2 -0
- pulumi_harness/platform/_inputs.py +193 -0
- pulumi_harness/platform/connector_azure_repo.py +727 -0
- pulumi_harness/platform/db_instance.py +57 -2
- pulumi_harness/platform/get_connector_azure_repo.py +231 -0
- pulumi_harness/platform/get_db_instance.py +16 -1
- pulumi_harness/platform/outputs.py +275 -0
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/METADATA +1 -1
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/RECORD +18 -12
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/WHEEL +1 -1
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/top_level.txt +0 -0
|
@@ -84,6 +84,14 @@ __all__ = [
|
|
|
84
84
|
'BitbucketConnectorCredentialsSshArgsDict',
|
|
85
85
|
'ConnectorAzureArtifactsCredentialsArgs',
|
|
86
86
|
'ConnectorAzureArtifactsCredentialsArgsDict',
|
|
87
|
+
'ConnectorAzureRepoApiAuthenticationArgs',
|
|
88
|
+
'ConnectorAzureRepoApiAuthenticationArgsDict',
|
|
89
|
+
'ConnectorAzureRepoCredentialsArgs',
|
|
90
|
+
'ConnectorAzureRepoCredentialsArgsDict',
|
|
91
|
+
'ConnectorAzureRepoCredentialsHttpArgs',
|
|
92
|
+
'ConnectorAzureRepoCredentialsHttpArgsDict',
|
|
93
|
+
'ConnectorAzureRepoCredentialsSshArgs',
|
|
94
|
+
'ConnectorAzureRepoCredentialsSshArgsDict',
|
|
87
95
|
'ConnectorCustomSecretManagerTemplateInputArgs',
|
|
88
96
|
'ConnectorCustomSecretManagerTemplateInputArgsDict',
|
|
89
97
|
'ConnectorCustomSecretManagerTemplateInputEnvironmentVariableArgs',
|
|
@@ -2601,6 +2609,191 @@ class ConnectorAzureArtifactsCredentialsArgs:
|
|
|
2601
2609
|
pulumi.set(self, "token_ref", value)
|
|
2602
2610
|
|
|
2603
2611
|
|
|
2612
|
+
if not MYPY:
|
|
2613
|
+
class ConnectorAzureRepoApiAuthenticationArgsDict(TypedDict):
|
|
2614
|
+
token_ref: pulumi.Input[builtins.str]
|
|
2615
|
+
"""
|
|
2616
|
+
Personal access token for interacting with the azure api. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2617
|
+
"""
|
|
2618
|
+
elif False:
|
|
2619
|
+
ConnectorAzureRepoApiAuthenticationArgsDict: TypeAlias = Mapping[str, Any]
|
|
2620
|
+
|
|
2621
|
+
@pulumi.input_type
|
|
2622
|
+
class ConnectorAzureRepoApiAuthenticationArgs:
|
|
2623
|
+
def __init__(__self__, *,
|
|
2624
|
+
token_ref: pulumi.Input[builtins.str]):
|
|
2625
|
+
"""
|
|
2626
|
+
:param pulumi.Input[builtins.str] token_ref: Personal access token for interacting with the azure api. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2627
|
+
"""
|
|
2628
|
+
pulumi.set(__self__, "token_ref", token_ref)
|
|
2629
|
+
|
|
2630
|
+
@property
|
|
2631
|
+
@pulumi.getter(name="tokenRef")
|
|
2632
|
+
def token_ref(self) -> pulumi.Input[builtins.str]:
|
|
2633
|
+
"""
|
|
2634
|
+
Personal access token for interacting with the azure api. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2635
|
+
"""
|
|
2636
|
+
return pulumi.get(self, "token_ref")
|
|
2637
|
+
|
|
2638
|
+
@token_ref.setter
|
|
2639
|
+
def token_ref(self, value: pulumi.Input[builtins.str]):
|
|
2640
|
+
pulumi.set(self, "token_ref", value)
|
|
2641
|
+
|
|
2642
|
+
|
|
2643
|
+
if not MYPY:
|
|
2644
|
+
class ConnectorAzureRepoCredentialsArgsDict(TypedDict):
|
|
2645
|
+
http: NotRequired[pulumi.Input['ConnectorAzureRepoCredentialsHttpArgsDict']]
|
|
2646
|
+
"""
|
|
2647
|
+
Authenticate using Username and token over http(s) for the connection.
|
|
2648
|
+
"""
|
|
2649
|
+
ssh: NotRequired[pulumi.Input['ConnectorAzureRepoCredentialsSshArgsDict']]
|
|
2650
|
+
"""
|
|
2651
|
+
Authenticate using SSH for the connection.
|
|
2652
|
+
"""
|
|
2653
|
+
elif False:
|
|
2654
|
+
ConnectorAzureRepoCredentialsArgsDict: TypeAlias = Mapping[str, Any]
|
|
2655
|
+
|
|
2656
|
+
@pulumi.input_type
|
|
2657
|
+
class ConnectorAzureRepoCredentialsArgs:
|
|
2658
|
+
def __init__(__self__, *,
|
|
2659
|
+
http: Optional[pulumi.Input['ConnectorAzureRepoCredentialsHttpArgs']] = None,
|
|
2660
|
+
ssh: Optional[pulumi.Input['ConnectorAzureRepoCredentialsSshArgs']] = None):
|
|
2661
|
+
"""
|
|
2662
|
+
:param pulumi.Input['ConnectorAzureRepoCredentialsHttpArgs'] http: Authenticate using Username and token over http(s) for the connection.
|
|
2663
|
+
:param pulumi.Input['ConnectorAzureRepoCredentialsSshArgs'] ssh: Authenticate using SSH for the connection.
|
|
2664
|
+
"""
|
|
2665
|
+
if http is not None:
|
|
2666
|
+
pulumi.set(__self__, "http", http)
|
|
2667
|
+
if ssh is not None:
|
|
2668
|
+
pulumi.set(__self__, "ssh", ssh)
|
|
2669
|
+
|
|
2670
|
+
@property
|
|
2671
|
+
@pulumi.getter
|
|
2672
|
+
def http(self) -> Optional[pulumi.Input['ConnectorAzureRepoCredentialsHttpArgs']]:
|
|
2673
|
+
"""
|
|
2674
|
+
Authenticate using Username and token over http(s) for the connection.
|
|
2675
|
+
"""
|
|
2676
|
+
return pulumi.get(self, "http")
|
|
2677
|
+
|
|
2678
|
+
@http.setter
|
|
2679
|
+
def http(self, value: Optional[pulumi.Input['ConnectorAzureRepoCredentialsHttpArgs']]):
|
|
2680
|
+
pulumi.set(self, "http", value)
|
|
2681
|
+
|
|
2682
|
+
@property
|
|
2683
|
+
@pulumi.getter
|
|
2684
|
+
def ssh(self) -> Optional[pulumi.Input['ConnectorAzureRepoCredentialsSshArgs']]:
|
|
2685
|
+
"""
|
|
2686
|
+
Authenticate using SSH for the connection.
|
|
2687
|
+
"""
|
|
2688
|
+
return pulumi.get(self, "ssh")
|
|
2689
|
+
|
|
2690
|
+
@ssh.setter
|
|
2691
|
+
def ssh(self, value: Optional[pulumi.Input['ConnectorAzureRepoCredentialsSshArgs']]):
|
|
2692
|
+
pulumi.set(self, "ssh", value)
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
if not MYPY:
|
|
2696
|
+
class ConnectorAzureRepoCredentialsHttpArgsDict(TypedDict):
|
|
2697
|
+
token_ref: pulumi.Input[builtins.str]
|
|
2698
|
+
"""
|
|
2699
|
+
Reference to a secret containing the personal access to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2700
|
+
"""
|
|
2701
|
+
username: NotRequired[pulumi.Input[builtins.str]]
|
|
2702
|
+
"""
|
|
2703
|
+
Username to use for authentication.
|
|
2704
|
+
"""
|
|
2705
|
+
username_ref: NotRequired[pulumi.Input[builtins.str]]
|
|
2706
|
+
"""
|
|
2707
|
+
Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2708
|
+
"""
|
|
2709
|
+
elif False:
|
|
2710
|
+
ConnectorAzureRepoCredentialsHttpArgsDict: TypeAlias = Mapping[str, Any]
|
|
2711
|
+
|
|
2712
|
+
@pulumi.input_type
|
|
2713
|
+
class ConnectorAzureRepoCredentialsHttpArgs:
|
|
2714
|
+
def __init__(__self__, *,
|
|
2715
|
+
token_ref: pulumi.Input[builtins.str],
|
|
2716
|
+
username: Optional[pulumi.Input[builtins.str]] = None,
|
|
2717
|
+
username_ref: Optional[pulumi.Input[builtins.str]] = None):
|
|
2718
|
+
"""
|
|
2719
|
+
:param pulumi.Input[builtins.str] token_ref: Reference to a secret containing the personal access to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2720
|
+
:param pulumi.Input[builtins.str] username: Username to use for authentication.
|
|
2721
|
+
:param pulumi.Input[builtins.str] username_ref: Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2722
|
+
"""
|
|
2723
|
+
pulumi.set(__self__, "token_ref", token_ref)
|
|
2724
|
+
if username is not None:
|
|
2725
|
+
pulumi.set(__self__, "username", username)
|
|
2726
|
+
if username_ref is not None:
|
|
2727
|
+
pulumi.set(__self__, "username_ref", username_ref)
|
|
2728
|
+
|
|
2729
|
+
@property
|
|
2730
|
+
@pulumi.getter(name="tokenRef")
|
|
2731
|
+
def token_ref(self) -> pulumi.Input[builtins.str]:
|
|
2732
|
+
"""
|
|
2733
|
+
Reference to a secret containing the personal access to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2734
|
+
"""
|
|
2735
|
+
return pulumi.get(self, "token_ref")
|
|
2736
|
+
|
|
2737
|
+
@token_ref.setter
|
|
2738
|
+
def token_ref(self, value: pulumi.Input[builtins.str]):
|
|
2739
|
+
pulumi.set(self, "token_ref", value)
|
|
2740
|
+
|
|
2741
|
+
@property
|
|
2742
|
+
@pulumi.getter
|
|
2743
|
+
def username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2744
|
+
"""
|
|
2745
|
+
Username to use for authentication.
|
|
2746
|
+
"""
|
|
2747
|
+
return pulumi.get(self, "username")
|
|
2748
|
+
|
|
2749
|
+
@username.setter
|
|
2750
|
+
def username(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2751
|
+
pulumi.set(self, "username", value)
|
|
2752
|
+
|
|
2753
|
+
@property
|
|
2754
|
+
@pulumi.getter(name="usernameRef")
|
|
2755
|
+
def username_ref(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2756
|
+
"""
|
|
2757
|
+
Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2758
|
+
"""
|
|
2759
|
+
return pulumi.get(self, "username_ref")
|
|
2760
|
+
|
|
2761
|
+
@username_ref.setter
|
|
2762
|
+
def username_ref(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2763
|
+
pulumi.set(self, "username_ref", value)
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
if not MYPY:
|
|
2767
|
+
class ConnectorAzureRepoCredentialsSshArgsDict(TypedDict):
|
|
2768
|
+
ssh_key_ref: pulumi.Input[builtins.str]
|
|
2769
|
+
"""
|
|
2770
|
+
Reference to the Harness secret containing the ssh key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2771
|
+
"""
|
|
2772
|
+
elif False:
|
|
2773
|
+
ConnectorAzureRepoCredentialsSshArgsDict: TypeAlias = Mapping[str, Any]
|
|
2774
|
+
|
|
2775
|
+
@pulumi.input_type
|
|
2776
|
+
class ConnectorAzureRepoCredentialsSshArgs:
|
|
2777
|
+
def __init__(__self__, *,
|
|
2778
|
+
ssh_key_ref: pulumi.Input[builtins.str]):
|
|
2779
|
+
"""
|
|
2780
|
+
:param pulumi.Input[builtins.str] ssh_key_ref: Reference to the Harness secret containing the ssh key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2781
|
+
"""
|
|
2782
|
+
pulumi.set(__self__, "ssh_key_ref", ssh_key_ref)
|
|
2783
|
+
|
|
2784
|
+
@property
|
|
2785
|
+
@pulumi.getter(name="sshKeyRef")
|
|
2786
|
+
def ssh_key_ref(self) -> pulumi.Input[builtins.str]:
|
|
2787
|
+
"""
|
|
2788
|
+
Reference to the Harness secret containing the ssh key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2789
|
+
"""
|
|
2790
|
+
return pulumi.get(self, "ssh_key_ref")
|
|
2791
|
+
|
|
2792
|
+
@ssh_key_ref.setter
|
|
2793
|
+
def ssh_key_ref(self, value: pulumi.Input[builtins.str]):
|
|
2794
|
+
pulumi.set(self, "ssh_key_ref", value)
|
|
2795
|
+
|
|
2796
|
+
|
|
2604
2797
|
if not MYPY:
|
|
2605
2798
|
class ConnectorCustomSecretManagerTemplateInputArgsDict(TypedDict):
|
|
2606
2799
|
environment_variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectorCustomSecretManagerTemplateInputEnvironmentVariableArgsDict']]]]
|