pulumi-harness 0.6.0a1739684779__py3-none-any.whl → 0.6.0a1739943964__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.

@@ -57,6 +57,8 @@ __all__ = [
57
57
  'ConnectorGcpKmsManual',
58
58
  'ConnectorGcpKmsOidcAuthentication',
59
59
  'ConnectorJdbcCredentials',
60
+ 'ConnectorJdbcCredentialsServiceAccount',
61
+ 'ConnectorJdbcCredentialsUsernamePassword',
60
62
  'ConnectorPdcHost',
61
63
  'ConnectorRancherBearerToken',
62
64
  'DbSchemaSchemaSource',
@@ -162,6 +164,10 @@ __all__ = [
162
164
  'HarRegistryConfigAuth',
163
165
  'HarRegistryConfigAuthUserPassword',
164
166
  'HelmConnectorCredentials',
167
+ 'InfraVariableSetConnector',
168
+ 'InfraVariableSetEnvironmentVariable',
169
+ 'InfraVariableSetTerraformVariable',
170
+ 'InfraVariableSetTerraformVariableFile',
165
171
  'InfrastructureGitDetails',
166
172
  'InputSetGitDetails',
167
173
  'InputSetGitImportInfo',
@@ -287,6 +293,8 @@ __all__ = [
287
293
  'GetConnectorGcpKmsManualResult',
288
294
  'GetConnectorGcpKmsOidcAuthenticationResult',
289
295
  'GetConnectorJdbcCredentialResult',
296
+ 'GetConnectorJdbcCredentialServiceAccountResult',
297
+ 'GetConnectorJdbcCredentialUsernamePasswordResult',
290
298
  'GetConnectorPdcHostResult',
291
299
  'GetConnectorRancherBearerTokenResult',
292
300
  'GetDbSchemaSchemaSourceResult',
@@ -362,6 +370,10 @@ __all__ = [
362
370
  'GetHarRegistryConfigAuthResult',
363
371
  'GetHarRegistryConfigAuthUserPasswordResult',
364
372
  'GetHelmConnectorCredentialResult',
373
+ 'GetInfraVariableSetConnectorResult',
374
+ 'GetInfraVariableSetEnvironmentVariableResult',
375
+ 'GetInfraVariableSetTerraformVariableResult',
376
+ 'GetInfraVariableSetTerraformVariableFileResult',
365
377
  'GetInfrastructureGitDetailsResult',
366
378
  'GetInputSetGitDetailsResult',
367
379
  'GetJenkinsConnectorAuthResult',
@@ -2604,8 +2616,14 @@ class ConnectorJdbcCredentials(dict):
2604
2616
  @staticmethod
2605
2617
  def __key_warning(key: str):
2606
2618
  suggest = None
2607
- if key == "passwordRef":
2619
+ if key == "authType":
2620
+ suggest = "auth_type"
2621
+ elif key == "passwordRef":
2608
2622
  suggest = "password_ref"
2623
+ elif key == "serviceAccount":
2624
+ suggest = "service_account"
2625
+ elif key == "usernamePassword":
2626
+ suggest = "username_password"
2609
2627
  elif key == "usernameRef":
2610
2628
  suggest = "username_ref"
2611
2629
 
@@ -2621,28 +2639,57 @@ class ConnectorJdbcCredentials(dict):
2621
2639
  return super().get(key, default)
2622
2640
 
2623
2641
  def __init__(__self__, *,
2624
- password_ref: str,
2642
+ auth_type: Optional[str] = None,
2643
+ password_ref: Optional[str] = None,
2644
+ service_account: Optional['outputs.ConnectorJdbcCredentialsServiceAccount'] = None,
2625
2645
  username: Optional[str] = None,
2646
+ username_password: Optional['outputs.ConnectorJdbcCredentialsUsernamePassword'] = None,
2626
2647
  username_ref: Optional[str] = None):
2627
2648
  """
2649
+ :param str auth_type: Authentication types for JDBC connector
2628
2650
  :param str password_ref: The reference to the Harness secret containing the password to use for the database server. 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}.
2651
+ :param 'ConnectorJdbcCredentialsServiceAccountArgs' service_account: Authenticate using service account.
2629
2652
  :param str username: The username to use for the database server.
2653
+ :param 'ConnectorJdbcCredentialsUsernamePasswordArgs' username_password: Authenticate using username password.
2630
2654
  :param str username_ref: The reference to the Harness secret containing the username to use for the database server. 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}.
2631
2655
  """
2632
- pulumi.set(__self__, "password_ref", password_ref)
2656
+ if auth_type is not None:
2657
+ pulumi.set(__self__, "auth_type", auth_type)
2658
+ if password_ref is not None:
2659
+ pulumi.set(__self__, "password_ref", password_ref)
2660
+ if service_account is not None:
2661
+ pulumi.set(__self__, "service_account", service_account)
2633
2662
  if username is not None:
2634
2663
  pulumi.set(__self__, "username", username)
2664
+ if username_password is not None:
2665
+ pulumi.set(__self__, "username_password", username_password)
2635
2666
  if username_ref is not None:
2636
2667
  pulumi.set(__self__, "username_ref", username_ref)
2637
2668
 
2669
+ @property
2670
+ @pulumi.getter(name="authType")
2671
+ def auth_type(self) -> Optional[str]:
2672
+ """
2673
+ Authentication types for JDBC connector
2674
+ """
2675
+ return pulumi.get(self, "auth_type")
2676
+
2638
2677
  @property
2639
2678
  @pulumi.getter(name="passwordRef")
2640
- def password_ref(self) -> str:
2679
+ def password_ref(self) -> Optional[str]:
2641
2680
  """
2642
2681
  The reference to the Harness secret containing the password to use for the database server. 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}.
2643
2682
  """
2644
2683
  return pulumi.get(self, "password_ref")
2645
2684
 
2685
+ @property
2686
+ @pulumi.getter(name="serviceAccount")
2687
+ def service_account(self) -> Optional['outputs.ConnectorJdbcCredentialsServiceAccount']:
2688
+ """
2689
+ Authenticate using service account.
2690
+ """
2691
+ return pulumi.get(self, "service_account")
2692
+
2646
2693
  @property
2647
2694
  @pulumi.getter
2648
2695
  def username(self) -> Optional[str]:
@@ -2651,6 +2698,14 @@ class ConnectorJdbcCredentials(dict):
2651
2698
  """
2652
2699
  return pulumi.get(self, "username")
2653
2700
 
2701
+ @property
2702
+ @pulumi.getter(name="usernamePassword")
2703
+ def username_password(self) -> Optional['outputs.ConnectorJdbcCredentialsUsernamePassword']:
2704
+ """
2705
+ Authenticate using username password.
2706
+ """
2707
+ return pulumi.get(self, "username_password")
2708
+
2654
2709
  @property
2655
2710
  @pulumi.getter(name="usernameRef")
2656
2711
  def username_ref(self) -> Optional[str]:
@@ -2660,6 +2715,102 @@ class ConnectorJdbcCredentials(dict):
2660
2715
  return pulumi.get(self, "username_ref")
2661
2716
 
2662
2717
 
2718
+ @pulumi.output_type
2719
+ class ConnectorJdbcCredentialsServiceAccount(dict):
2720
+ @staticmethod
2721
+ def __key_warning(key: str):
2722
+ suggest = None
2723
+ if key == "tokenRef":
2724
+ suggest = "token_ref"
2725
+
2726
+ if suggest:
2727
+ pulumi.log.warn(f"Key '{key}' not found in ConnectorJdbcCredentialsServiceAccount. Access the value via the '{suggest}' property getter instead.")
2728
+
2729
+ def __getitem__(self, key: str) -> Any:
2730
+ ConnectorJdbcCredentialsServiceAccount.__key_warning(key)
2731
+ return super().__getitem__(key)
2732
+
2733
+ def get(self, key: str, default = None) -> Any:
2734
+ ConnectorJdbcCredentialsServiceAccount.__key_warning(key)
2735
+ return super().get(key, default)
2736
+
2737
+ def __init__(__self__, *,
2738
+ token_ref: str):
2739
+ """
2740
+ :param str token_ref: Reference to a secret containing the token 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}.
2741
+ """
2742
+ pulumi.set(__self__, "token_ref", token_ref)
2743
+
2744
+ @property
2745
+ @pulumi.getter(name="tokenRef")
2746
+ def token_ref(self) -> str:
2747
+ """
2748
+ Reference to a secret containing the token 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}.
2749
+ """
2750
+ return pulumi.get(self, "token_ref")
2751
+
2752
+
2753
+ @pulumi.output_type
2754
+ class ConnectorJdbcCredentialsUsernamePassword(dict):
2755
+ @staticmethod
2756
+ def __key_warning(key: str):
2757
+ suggest = None
2758
+ if key == "passwordRef":
2759
+ suggest = "password_ref"
2760
+ elif key == "usernameRef":
2761
+ suggest = "username_ref"
2762
+
2763
+ if suggest:
2764
+ pulumi.log.warn(f"Key '{key}' not found in ConnectorJdbcCredentialsUsernamePassword. Access the value via the '{suggest}' property getter instead.")
2765
+
2766
+ def __getitem__(self, key: str) -> Any:
2767
+ ConnectorJdbcCredentialsUsernamePassword.__key_warning(key)
2768
+ return super().__getitem__(key)
2769
+
2770
+ def get(self, key: str, default = None) -> Any:
2771
+ ConnectorJdbcCredentialsUsernamePassword.__key_warning(key)
2772
+ return super().get(key, default)
2773
+
2774
+ def __init__(__self__, *,
2775
+ password_ref: str,
2776
+ username: Optional[str] = None,
2777
+ username_ref: Optional[str] = None):
2778
+ """
2779
+ :param str password_ref: Reference to a secret containing the password 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}.
2780
+ :param str username: Username to use for authentication.
2781
+ :param 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}.
2782
+ """
2783
+ pulumi.set(__self__, "password_ref", password_ref)
2784
+ if username is not None:
2785
+ pulumi.set(__self__, "username", username)
2786
+ if username_ref is not None:
2787
+ pulumi.set(__self__, "username_ref", username_ref)
2788
+
2789
+ @property
2790
+ @pulumi.getter(name="passwordRef")
2791
+ def password_ref(self) -> str:
2792
+ """
2793
+ Reference to a secret containing the password 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}.
2794
+ """
2795
+ return pulumi.get(self, "password_ref")
2796
+
2797
+ @property
2798
+ @pulumi.getter
2799
+ def username(self) -> Optional[str]:
2800
+ """
2801
+ Username to use for authentication.
2802
+ """
2803
+ return pulumi.get(self, "username")
2804
+
2805
+ @property
2806
+ @pulumi.getter(name="usernameRef")
2807
+ def username_ref(self) -> Optional[str]:
2808
+ """
2809
+ 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}.
2810
+ """
2811
+ return pulumi.get(self, "username_ref")
2812
+
2813
+
2663
2814
  @pulumi.output_type
2664
2815
  class ConnectorPdcHost(dict):
2665
2816
  def __init__(__self__, *,
@@ -9460,6 +9611,268 @@ class HelmConnectorCredentials(dict):
9460
9611
  return pulumi.get(self, "username_ref")
9461
9612
 
9462
9613
 
9614
+ @pulumi.output_type
9615
+ class InfraVariableSetConnector(dict):
9616
+ @staticmethod
9617
+ def __key_warning(key: str):
9618
+ suggest = None
9619
+ if key == "connectorRef":
9620
+ suggest = "connector_ref"
9621
+
9622
+ if suggest:
9623
+ pulumi.log.warn(f"Key '{key}' not found in InfraVariableSetConnector. Access the value via the '{suggest}' property getter instead.")
9624
+
9625
+ def __getitem__(self, key: str) -> Any:
9626
+ InfraVariableSetConnector.__key_warning(key)
9627
+ return super().__getitem__(key)
9628
+
9629
+ def get(self, key: str, default = None) -> Any:
9630
+ InfraVariableSetConnector.__key_warning(key)
9631
+ return super().get(key, default)
9632
+
9633
+ def __init__(__self__, *,
9634
+ connector_ref: str,
9635
+ type: str):
9636
+ """
9637
+ :param str connector_ref: Unique identifier of the connector.
9638
+ :param str type: Type indicates the type of the connector. Currently we support aws, azure, gcp.
9639
+ """
9640
+ pulumi.set(__self__, "connector_ref", connector_ref)
9641
+ pulumi.set(__self__, "type", type)
9642
+
9643
+ @property
9644
+ @pulumi.getter(name="connectorRef")
9645
+ def connector_ref(self) -> str:
9646
+ """
9647
+ Unique identifier of the connector.
9648
+ """
9649
+ return pulumi.get(self, "connector_ref")
9650
+
9651
+ @property
9652
+ @pulumi.getter
9653
+ def type(self) -> str:
9654
+ """
9655
+ Type indicates the type of the connector. Currently we support aws, azure, gcp.
9656
+ """
9657
+ return pulumi.get(self, "type")
9658
+
9659
+
9660
+ @pulumi.output_type
9661
+ class InfraVariableSetEnvironmentVariable(dict):
9662
+ @staticmethod
9663
+ def __key_warning(key: str):
9664
+ suggest = None
9665
+ if key == "valueType":
9666
+ suggest = "value_type"
9667
+
9668
+ if suggest:
9669
+ pulumi.log.warn(f"Key '{key}' not found in InfraVariableSetEnvironmentVariable. Access the value via the '{suggest}' property getter instead.")
9670
+
9671
+ def __getitem__(self, key: str) -> Any:
9672
+ InfraVariableSetEnvironmentVariable.__key_warning(key)
9673
+ return super().__getitem__(key)
9674
+
9675
+ def get(self, key: str, default = None) -> Any:
9676
+ InfraVariableSetEnvironmentVariable.__key_warning(key)
9677
+ return super().get(key, default)
9678
+
9679
+ def __init__(__self__, *,
9680
+ key: str,
9681
+ value: str,
9682
+ value_type: str):
9683
+ """
9684
+ :param str key: Key is the identifier for the variable. Must be unique within the variable set.
9685
+ :param str value: Value is the value of the variable. For string value types this field should contain the value of the variable. For secret value types this should contain a reference to a valid harness secret.
9686
+ :param str value_type: Value type indicates the value type of the variable. Currently we support string and secret.
9687
+ """
9688
+ pulumi.set(__self__, "key", key)
9689
+ pulumi.set(__self__, "value", value)
9690
+ pulumi.set(__self__, "value_type", value_type)
9691
+
9692
+ @property
9693
+ @pulumi.getter
9694
+ def key(self) -> str:
9695
+ """
9696
+ Key is the identifier for the variable. Must be unique within the variable set.
9697
+ """
9698
+ return pulumi.get(self, "key")
9699
+
9700
+ @property
9701
+ @pulumi.getter
9702
+ def value(self) -> str:
9703
+ """
9704
+ Value is the value of the variable. For string value types this field should contain the value of the variable. For secret value types this should contain a reference to a valid harness secret.
9705
+ """
9706
+ return pulumi.get(self, "value")
9707
+
9708
+ @property
9709
+ @pulumi.getter(name="valueType")
9710
+ def value_type(self) -> str:
9711
+ """
9712
+ Value type indicates the value type of the variable. Currently we support string and secret.
9713
+ """
9714
+ return pulumi.get(self, "value_type")
9715
+
9716
+
9717
+ @pulumi.output_type
9718
+ class InfraVariableSetTerraformVariable(dict):
9719
+ @staticmethod
9720
+ def __key_warning(key: str):
9721
+ suggest = None
9722
+ if key == "valueType":
9723
+ suggest = "value_type"
9724
+
9725
+ if suggest:
9726
+ pulumi.log.warn(f"Key '{key}' not found in InfraVariableSetTerraformVariable. Access the value via the '{suggest}' property getter instead.")
9727
+
9728
+ def __getitem__(self, key: str) -> Any:
9729
+ InfraVariableSetTerraformVariable.__key_warning(key)
9730
+ return super().__getitem__(key)
9731
+
9732
+ def get(self, key: str, default = None) -> Any:
9733
+ InfraVariableSetTerraformVariable.__key_warning(key)
9734
+ return super().get(key, default)
9735
+
9736
+ def __init__(__self__, *,
9737
+ key: str,
9738
+ value: str,
9739
+ value_type: str):
9740
+ """
9741
+ :param str key: Key is the identifier for the variable. Must be unique within the variable set.
9742
+ :param str value: Value is the value of the variable. For string value types this field should contain the value of the variable. For secret value types this should contain a reference to a valid harness secret.
9743
+ :param str value_type: Value type indicates the value type of the variable. Currently we support string and secret.
9744
+ """
9745
+ pulumi.set(__self__, "key", key)
9746
+ pulumi.set(__self__, "value", value)
9747
+ pulumi.set(__self__, "value_type", value_type)
9748
+
9749
+ @property
9750
+ @pulumi.getter
9751
+ def key(self) -> str:
9752
+ """
9753
+ Key is the identifier for the variable. Must be unique within the variable set.
9754
+ """
9755
+ return pulumi.get(self, "key")
9756
+
9757
+ @property
9758
+ @pulumi.getter
9759
+ def value(self) -> str:
9760
+ """
9761
+ Value is the value of the variable. For string value types this field should contain the value of the variable. For secret value types this should contain a reference to a valid harness secret.
9762
+ """
9763
+ return pulumi.get(self, "value")
9764
+
9765
+ @property
9766
+ @pulumi.getter(name="valueType")
9767
+ def value_type(self) -> str:
9768
+ """
9769
+ Value type indicates the value type of the variable. Currently we support string and secret.
9770
+ """
9771
+ return pulumi.get(self, "value_type")
9772
+
9773
+
9774
+ @pulumi.output_type
9775
+ class InfraVariableSetTerraformVariableFile(dict):
9776
+ @staticmethod
9777
+ def __key_warning(key: str):
9778
+ suggest = None
9779
+ if key == "repositoryConnector":
9780
+ suggest = "repository_connector"
9781
+ elif key == "repositoryBranch":
9782
+ suggest = "repository_branch"
9783
+ elif key == "repositoryCommit":
9784
+ suggest = "repository_commit"
9785
+ elif key == "repositoryPath":
9786
+ suggest = "repository_path"
9787
+ elif key == "repositorySha":
9788
+ suggest = "repository_sha"
9789
+
9790
+ if suggest:
9791
+ pulumi.log.warn(f"Key '{key}' not found in InfraVariableSetTerraformVariableFile. Access the value via the '{suggest}' property getter instead.")
9792
+
9793
+ def __getitem__(self, key: str) -> Any:
9794
+ InfraVariableSetTerraformVariableFile.__key_warning(key)
9795
+ return super().__getitem__(key)
9796
+
9797
+ def get(self, key: str, default = None) -> Any:
9798
+ InfraVariableSetTerraformVariableFile.__key_warning(key)
9799
+ return super().get(key, default)
9800
+
9801
+ def __init__(__self__, *,
9802
+ repository: str,
9803
+ repository_connector: str,
9804
+ repository_branch: Optional[str] = None,
9805
+ repository_commit: Optional[str] = None,
9806
+ repository_path: Optional[str] = None,
9807
+ repository_sha: Optional[str] = None):
9808
+ """
9809
+ :param str repository: Repository is the name of the repository to fetch the code from.
9810
+ :param str repository_connector: Repository connector is the reference to the connector used to fetch the variables.
9811
+ :param str repository_branch: Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
9812
+ :param str repository_commit: Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
9813
+ :param str repository_path: Repository path is the path in which the variables reside.
9814
+ :param str repository_sha: Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
9815
+ """
9816
+ pulumi.set(__self__, "repository", repository)
9817
+ pulumi.set(__self__, "repository_connector", repository_connector)
9818
+ if repository_branch is not None:
9819
+ pulumi.set(__self__, "repository_branch", repository_branch)
9820
+ if repository_commit is not None:
9821
+ pulumi.set(__self__, "repository_commit", repository_commit)
9822
+ if repository_path is not None:
9823
+ pulumi.set(__self__, "repository_path", repository_path)
9824
+ if repository_sha is not None:
9825
+ pulumi.set(__self__, "repository_sha", repository_sha)
9826
+
9827
+ @property
9828
+ @pulumi.getter
9829
+ def repository(self) -> str:
9830
+ """
9831
+ Repository is the name of the repository to fetch the code from.
9832
+ """
9833
+ return pulumi.get(self, "repository")
9834
+
9835
+ @property
9836
+ @pulumi.getter(name="repositoryConnector")
9837
+ def repository_connector(self) -> str:
9838
+ """
9839
+ Repository connector is the reference to the connector used to fetch the variables.
9840
+ """
9841
+ return pulumi.get(self, "repository_connector")
9842
+
9843
+ @property
9844
+ @pulumi.getter(name="repositoryBranch")
9845
+ def repository_branch(self) -> Optional[str]:
9846
+ """
9847
+ Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
9848
+ """
9849
+ return pulumi.get(self, "repository_branch")
9850
+
9851
+ @property
9852
+ @pulumi.getter(name="repositoryCommit")
9853
+ def repository_commit(self) -> Optional[str]:
9854
+ """
9855
+ Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
9856
+ """
9857
+ return pulumi.get(self, "repository_commit")
9858
+
9859
+ @property
9860
+ @pulumi.getter(name="repositoryPath")
9861
+ def repository_path(self) -> Optional[str]:
9862
+ """
9863
+ Repository path is the path in which the variables reside.
9864
+ """
9865
+ return pulumi.get(self, "repository_path")
9866
+
9867
+ @property
9868
+ @pulumi.getter(name="repositorySha")
9869
+ def repository_sha(self) -> Optional[str]:
9870
+ """
9871
+ Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
9872
+ """
9873
+ return pulumi.get(self, "repository_sha")
9874
+
9875
+
9463
9876
  @pulumi.output_type
9464
9877
  class InfrastructureGitDetails(dict):
9465
9878
  @staticmethod
@@ -17321,18 +17734,35 @@ class GetConnectorGcpKmsOidcAuthenticationResult(dict):
17321
17734
  @pulumi.output_type
17322
17735
  class GetConnectorJdbcCredentialResult(dict):
17323
17736
  def __init__(__self__, *,
17737
+ auth_type: str,
17324
17738
  password_ref: str,
17739
+ service_accounts: Sequence['outputs.GetConnectorJdbcCredentialServiceAccountResult'],
17325
17740
  username: str,
17741
+ username_passwords: Sequence['outputs.GetConnectorJdbcCredentialUsernamePasswordResult'],
17326
17742
  username_ref: str):
17327
17743
  """
17744
+ :param str auth_type: Authentication types for JDBC connector
17328
17745
  :param str password_ref: The reference to the Harness secret containing the password to use for the database server. 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}.
17746
+ :param Sequence['GetConnectorJdbcCredentialServiceAccountArgs'] service_accounts: Authenticate using service account.
17329
17747
  :param str username: The username to use for the database server.
17748
+ :param Sequence['GetConnectorJdbcCredentialUsernamePasswordArgs'] username_passwords: Authenticate using username password.
17330
17749
  :param str username_ref: The reference to the Harness secret containing the username to use for the database server. 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}.
17331
17750
  """
17751
+ pulumi.set(__self__, "auth_type", auth_type)
17332
17752
  pulumi.set(__self__, "password_ref", password_ref)
17753
+ pulumi.set(__self__, "service_accounts", service_accounts)
17333
17754
  pulumi.set(__self__, "username", username)
17755
+ pulumi.set(__self__, "username_passwords", username_passwords)
17334
17756
  pulumi.set(__self__, "username_ref", username_ref)
17335
17757
 
17758
+ @property
17759
+ @pulumi.getter(name="authType")
17760
+ def auth_type(self) -> str:
17761
+ """
17762
+ Authentication types for JDBC connector
17763
+ """
17764
+ return pulumi.get(self, "auth_type")
17765
+
17336
17766
  @property
17337
17767
  @pulumi.getter(name="passwordRef")
17338
17768
  def password_ref(self) -> str:
@@ -17341,6 +17771,14 @@ class GetConnectorJdbcCredentialResult(dict):
17341
17771
  """
17342
17772
  return pulumi.get(self, "password_ref")
17343
17773
 
17774
+ @property
17775
+ @pulumi.getter(name="serviceAccounts")
17776
+ def service_accounts(self) -> Sequence['outputs.GetConnectorJdbcCredentialServiceAccountResult']:
17777
+ """
17778
+ Authenticate using service account.
17779
+ """
17780
+ return pulumi.get(self, "service_accounts")
17781
+
17344
17782
  @property
17345
17783
  @pulumi.getter
17346
17784
  def username(self) -> str:
@@ -17349,6 +17787,14 @@ class GetConnectorJdbcCredentialResult(dict):
17349
17787
  """
17350
17788
  return pulumi.get(self, "username")
17351
17789
 
17790
+ @property
17791
+ @pulumi.getter(name="usernamePasswords")
17792
+ def username_passwords(self) -> Sequence['outputs.GetConnectorJdbcCredentialUsernamePasswordResult']:
17793
+ """
17794
+ Authenticate using username password.
17795
+ """
17796
+ return pulumi.get(self, "username_passwords")
17797
+
17352
17798
  @property
17353
17799
  @pulumi.getter(name="usernameRef")
17354
17800
  def username_ref(self) -> str:
@@ -17358,6 +17804,64 @@ class GetConnectorJdbcCredentialResult(dict):
17358
17804
  return pulumi.get(self, "username_ref")
17359
17805
 
17360
17806
 
17807
+ @pulumi.output_type
17808
+ class GetConnectorJdbcCredentialServiceAccountResult(dict):
17809
+ def __init__(__self__, *,
17810
+ token_ref: str):
17811
+ """
17812
+ :param str token_ref: Reference to a secret containing the token 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}.
17813
+ """
17814
+ pulumi.set(__self__, "token_ref", token_ref)
17815
+
17816
+ @property
17817
+ @pulumi.getter(name="tokenRef")
17818
+ def token_ref(self) -> str:
17819
+ """
17820
+ Reference to a secret containing the token 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}.
17821
+ """
17822
+ return pulumi.get(self, "token_ref")
17823
+
17824
+
17825
+ @pulumi.output_type
17826
+ class GetConnectorJdbcCredentialUsernamePasswordResult(dict):
17827
+ def __init__(__self__, *,
17828
+ password_ref: str,
17829
+ username: str,
17830
+ username_ref: str):
17831
+ """
17832
+ :param str password_ref: Reference to a secret containing the password 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}.
17833
+ :param str username: Username to use for authentication.
17834
+ :param 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}.
17835
+ """
17836
+ pulumi.set(__self__, "password_ref", password_ref)
17837
+ pulumi.set(__self__, "username", username)
17838
+ pulumi.set(__self__, "username_ref", username_ref)
17839
+
17840
+ @property
17841
+ @pulumi.getter(name="passwordRef")
17842
+ def password_ref(self) -> str:
17843
+ """
17844
+ Reference to a secret containing the password 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}.
17845
+ """
17846
+ return pulumi.get(self, "password_ref")
17847
+
17848
+ @property
17849
+ @pulumi.getter
17850
+ def username(self) -> str:
17851
+ """
17852
+ Username to use for authentication.
17853
+ """
17854
+ return pulumi.get(self, "username")
17855
+
17856
+ @property
17857
+ @pulumi.getter(name="usernameRef")
17858
+ def username_ref(self) -> str:
17859
+ """
17860
+ 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}.
17861
+ """
17862
+ return pulumi.get(self, "username_ref")
17863
+
17864
+
17361
17865
  @pulumi.output_type
17362
17866
  class GetConnectorPdcHostResult(dict):
17363
17867
  def __init__(__self__, *,
@@ -21087,6 +21591,192 @@ class GetHelmConnectorCredentialResult(dict):
21087
21591
  return pulumi.get(self, "username_ref")
21088
21592
 
21089
21593
 
21594
+ @pulumi.output_type
21595
+ class GetInfraVariableSetConnectorResult(dict):
21596
+ def __init__(__self__, *,
21597
+ connector_ref: str,
21598
+ type: str):
21599
+ """
21600
+ :param str connector_ref: Unique identifier of the connector.
21601
+ :param str type: Type indicates the type of the connector. Currently we support aws, azure, gcp.
21602
+ """
21603
+ pulumi.set(__self__, "connector_ref", connector_ref)
21604
+ pulumi.set(__self__, "type", type)
21605
+
21606
+ @property
21607
+ @pulumi.getter(name="connectorRef")
21608
+ def connector_ref(self) -> str:
21609
+ """
21610
+ Unique identifier of the connector.
21611
+ """
21612
+ return pulumi.get(self, "connector_ref")
21613
+
21614
+ @property
21615
+ @pulumi.getter
21616
+ def type(self) -> str:
21617
+ """
21618
+ Type indicates the type of the connector. Currently we support aws, azure, gcp.
21619
+ """
21620
+ return pulumi.get(self, "type")
21621
+
21622
+
21623
+ @pulumi.output_type
21624
+ class GetInfraVariableSetEnvironmentVariableResult(dict):
21625
+ def __init__(__self__, *,
21626
+ key: str,
21627
+ value: str,
21628
+ value_type: str):
21629
+ """
21630
+ :param str key: Key is the identifier for the variable`
21631
+ :param str value: value is the value of the variable
21632
+ :param str value_type: Value type indicates the value type of the variable, text or secret
21633
+ """
21634
+ pulumi.set(__self__, "key", key)
21635
+ pulumi.set(__self__, "value", value)
21636
+ pulumi.set(__self__, "value_type", value_type)
21637
+
21638
+ @property
21639
+ @pulumi.getter
21640
+ def key(self) -> str:
21641
+ """
21642
+ Key is the identifier for the variable`
21643
+ """
21644
+ return pulumi.get(self, "key")
21645
+
21646
+ @property
21647
+ @pulumi.getter
21648
+ def value(self) -> str:
21649
+ """
21650
+ value is the value of the variable
21651
+ """
21652
+ return pulumi.get(self, "value")
21653
+
21654
+ @property
21655
+ @pulumi.getter(name="valueType")
21656
+ def value_type(self) -> str:
21657
+ """
21658
+ Value type indicates the value type of the variable, text or secret
21659
+ """
21660
+ return pulumi.get(self, "value_type")
21661
+
21662
+
21663
+ @pulumi.output_type
21664
+ class GetInfraVariableSetTerraformVariableResult(dict):
21665
+ def __init__(__self__, *,
21666
+ key: str,
21667
+ value: str,
21668
+ value_type: str):
21669
+ """
21670
+ :param str key: Key is the identifier for the variable`
21671
+ :param str value: value is the value of the variable
21672
+ :param str value_type: Value type indicates the value type of the variable, text or secret
21673
+ """
21674
+ pulumi.set(__self__, "key", key)
21675
+ pulumi.set(__self__, "value", value)
21676
+ pulumi.set(__self__, "value_type", value_type)
21677
+
21678
+ @property
21679
+ @pulumi.getter
21680
+ def key(self) -> str:
21681
+ """
21682
+ Key is the identifier for the variable`
21683
+ """
21684
+ return pulumi.get(self, "key")
21685
+
21686
+ @property
21687
+ @pulumi.getter
21688
+ def value(self) -> str:
21689
+ """
21690
+ value is the value of the variable
21691
+ """
21692
+ return pulumi.get(self, "value")
21693
+
21694
+ @property
21695
+ @pulumi.getter(name="valueType")
21696
+ def value_type(self) -> str:
21697
+ """
21698
+ Value type indicates the value type of the variable, text or secret
21699
+ """
21700
+ return pulumi.get(self, "value_type")
21701
+
21702
+
21703
+ @pulumi.output_type
21704
+ class GetInfraVariableSetTerraformVariableFileResult(dict):
21705
+ def __init__(__self__, *,
21706
+ repository: str,
21707
+ repository_connector: str,
21708
+ repository_branch: Optional[str] = None,
21709
+ repository_commit: Optional[str] = None,
21710
+ repository_path: Optional[str] = None,
21711
+ repository_sha: Optional[str] = None):
21712
+ """
21713
+ :param str repository: Repository is the name of the repository to fetch the code from.
21714
+ :param str repository_connector: Repository connector is the reference to the connector used to fetch the variables.
21715
+ :param str repository_branch: Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
21716
+ :param str repository_commit: Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
21717
+ :param str repository_path: Repository path is the path in which the variables reside.
21718
+ :param str repository_sha: Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
21719
+ """
21720
+ pulumi.set(__self__, "repository", repository)
21721
+ pulumi.set(__self__, "repository_connector", repository_connector)
21722
+ if repository_branch is not None:
21723
+ pulumi.set(__self__, "repository_branch", repository_branch)
21724
+ if repository_commit is not None:
21725
+ pulumi.set(__self__, "repository_commit", repository_commit)
21726
+ if repository_path is not None:
21727
+ pulumi.set(__self__, "repository_path", repository_path)
21728
+ if repository_sha is not None:
21729
+ pulumi.set(__self__, "repository_sha", repository_sha)
21730
+
21731
+ @property
21732
+ @pulumi.getter
21733
+ def repository(self) -> str:
21734
+ """
21735
+ Repository is the name of the repository to fetch the code from.
21736
+ """
21737
+ return pulumi.get(self, "repository")
21738
+
21739
+ @property
21740
+ @pulumi.getter(name="repositoryConnector")
21741
+ def repository_connector(self) -> str:
21742
+ """
21743
+ Repository connector is the reference to the connector used to fetch the variables.
21744
+ """
21745
+ return pulumi.get(self, "repository_connector")
21746
+
21747
+ @property
21748
+ @pulumi.getter(name="repositoryBranch")
21749
+ def repository_branch(self) -> Optional[str]:
21750
+ """
21751
+ Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
21752
+ """
21753
+ return pulumi.get(self, "repository_branch")
21754
+
21755
+ @property
21756
+ @pulumi.getter(name="repositoryCommit")
21757
+ def repository_commit(self) -> Optional[str]:
21758
+ """
21759
+ Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
21760
+ """
21761
+ return pulumi.get(self, "repository_commit")
21762
+
21763
+ @property
21764
+ @pulumi.getter(name="repositoryPath")
21765
+ def repository_path(self) -> Optional[str]:
21766
+ """
21767
+ Repository path is the path in which the variables reside.
21768
+ """
21769
+ return pulumi.get(self, "repository_path")
21770
+
21771
+ @property
21772
+ @pulumi.getter(name="repositorySha")
21773
+ def repository_sha(self) -> Optional[str]:
21774
+ """
21775
+ Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
21776
+ """
21777
+ return pulumi.get(self, "repository_sha")
21778
+
21779
+
21090
21780
  @pulumi.output_type
21091
21781
  class GetInfrastructureGitDetailsResult(dict):
21092
21782
  def __init__(__self__, *,