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.

@@ -97,6 +97,10 @@ __all__ = [
97
97
  'ConnectorGcpKmsOidcAuthenticationArgsDict',
98
98
  'ConnectorJdbcCredentialsArgs',
99
99
  'ConnectorJdbcCredentialsArgsDict',
100
+ 'ConnectorJdbcCredentialsServiceAccountArgs',
101
+ 'ConnectorJdbcCredentialsServiceAccountArgsDict',
102
+ 'ConnectorJdbcCredentialsUsernamePasswordArgs',
103
+ 'ConnectorJdbcCredentialsUsernamePasswordArgsDict',
100
104
  'ConnectorPdcHostArgs',
101
105
  'ConnectorPdcHostArgsDict',
102
106
  'ConnectorRancherBearerTokenArgs',
@@ -307,6 +311,14 @@ __all__ = [
307
311
  'HarRegistryConfigAuthUserPasswordArgsDict',
308
312
  'HelmConnectorCredentialsArgs',
309
313
  'HelmConnectorCredentialsArgsDict',
314
+ 'InfraVariableSetConnectorArgs',
315
+ 'InfraVariableSetConnectorArgsDict',
316
+ 'InfraVariableSetEnvironmentVariableArgs',
317
+ 'InfraVariableSetEnvironmentVariableArgsDict',
318
+ 'InfraVariableSetTerraformVariableArgs',
319
+ 'InfraVariableSetTerraformVariableArgsDict',
320
+ 'InfraVariableSetTerraformVariableFileArgs',
321
+ 'InfraVariableSetTerraformVariableFileArgsDict',
310
322
  'InfrastructureGitDetailsArgs',
311
323
  'InfrastructureGitDetailsArgsDict',
312
324
  'InputSetGitDetailsArgs',
@@ -495,6 +507,14 @@ __all__ = [
495
507
  'GetHarRegistryConfigAuthArgsDict',
496
508
  'GetHarRegistryConfigAuthUserPasswordArgs',
497
509
  'GetHarRegistryConfigAuthUserPasswordArgsDict',
510
+ 'GetInfraVariableSetConnectorArgs',
511
+ 'GetInfraVariableSetConnectorArgsDict',
512
+ 'GetInfraVariableSetEnvironmentVariableArgs',
513
+ 'GetInfraVariableSetEnvironmentVariableArgsDict',
514
+ 'GetInfraVariableSetTerraformVariableArgs',
515
+ 'GetInfraVariableSetTerraformVariableArgsDict',
516
+ 'GetInfraVariableSetTerraformVariableFileArgs',
517
+ 'GetInfraVariableSetTerraformVariableFileArgsDict',
498
518
  'GetInfrastructureGitDetailsArgs',
499
519
  'GetInfrastructureGitDetailsArgsDict',
500
520
  'GetInputSetGitDetailsArgs',
@@ -3012,14 +3032,26 @@ class ConnectorGcpKmsOidcAuthenticationArgs:
3012
3032
 
3013
3033
  if not MYPY:
3014
3034
  class ConnectorJdbcCredentialsArgsDict(TypedDict):
3015
- password_ref: pulumi.Input[str]
3035
+ auth_type: NotRequired[pulumi.Input[str]]
3036
+ """
3037
+ Authentication types for JDBC connector
3038
+ """
3039
+ password_ref: NotRequired[pulumi.Input[str]]
3016
3040
  """
3017
3041
  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}.
3018
3042
  """
3043
+ service_account: NotRequired[pulumi.Input['ConnectorJdbcCredentialsServiceAccountArgsDict']]
3044
+ """
3045
+ Authenticate using service account.
3046
+ """
3019
3047
  username: NotRequired[pulumi.Input[str]]
3020
3048
  """
3021
3049
  The username to use for the database server.
3022
3050
  """
3051
+ username_password: NotRequired[pulumi.Input['ConnectorJdbcCredentialsUsernamePasswordArgsDict']]
3052
+ """
3053
+ Authenticate using username password.
3054
+ """
3023
3055
  username_ref: NotRequired[pulumi.Input[str]]
3024
3056
  """
3025
3057
  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}.
@@ -3030,32 +3062,69 @@ elif False:
3030
3062
  @pulumi.input_type
3031
3063
  class ConnectorJdbcCredentialsArgs:
3032
3064
  def __init__(__self__, *,
3033
- password_ref: pulumi.Input[str],
3065
+ auth_type: Optional[pulumi.Input[str]] = None,
3066
+ password_ref: Optional[pulumi.Input[str]] = None,
3067
+ service_account: Optional[pulumi.Input['ConnectorJdbcCredentialsServiceAccountArgs']] = None,
3034
3068
  username: Optional[pulumi.Input[str]] = None,
3069
+ username_password: Optional[pulumi.Input['ConnectorJdbcCredentialsUsernamePasswordArgs']] = None,
3035
3070
  username_ref: Optional[pulumi.Input[str]] = None):
3036
3071
  """
3072
+ :param pulumi.Input[str] auth_type: Authentication types for JDBC connector
3037
3073
  :param pulumi.Input[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}.
3074
+ :param pulumi.Input['ConnectorJdbcCredentialsServiceAccountArgs'] service_account: Authenticate using service account.
3038
3075
  :param pulumi.Input[str] username: The username to use for the database server.
3076
+ :param pulumi.Input['ConnectorJdbcCredentialsUsernamePasswordArgs'] username_password: Authenticate using username password.
3039
3077
  :param pulumi.Input[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}.
3040
3078
  """
3041
- pulumi.set(__self__, "password_ref", password_ref)
3079
+ if auth_type is not None:
3080
+ pulumi.set(__self__, "auth_type", auth_type)
3081
+ if password_ref is not None:
3082
+ pulumi.set(__self__, "password_ref", password_ref)
3083
+ if service_account is not None:
3084
+ pulumi.set(__self__, "service_account", service_account)
3042
3085
  if username is not None:
3043
3086
  pulumi.set(__self__, "username", username)
3087
+ if username_password is not None:
3088
+ pulumi.set(__self__, "username_password", username_password)
3044
3089
  if username_ref is not None:
3045
3090
  pulumi.set(__self__, "username_ref", username_ref)
3046
3091
 
3092
+ @property
3093
+ @pulumi.getter(name="authType")
3094
+ def auth_type(self) -> Optional[pulumi.Input[str]]:
3095
+ """
3096
+ Authentication types for JDBC connector
3097
+ """
3098
+ return pulumi.get(self, "auth_type")
3099
+
3100
+ @auth_type.setter
3101
+ def auth_type(self, value: Optional[pulumi.Input[str]]):
3102
+ pulumi.set(self, "auth_type", value)
3103
+
3047
3104
  @property
3048
3105
  @pulumi.getter(name="passwordRef")
3049
- def password_ref(self) -> pulumi.Input[str]:
3106
+ def password_ref(self) -> Optional[pulumi.Input[str]]:
3050
3107
  """
3051
3108
  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}.
3052
3109
  """
3053
3110
  return pulumi.get(self, "password_ref")
3054
3111
 
3055
3112
  @password_ref.setter
3056
- def password_ref(self, value: pulumi.Input[str]):
3113
+ def password_ref(self, value: Optional[pulumi.Input[str]]):
3057
3114
  pulumi.set(self, "password_ref", value)
3058
3115
 
3116
+ @property
3117
+ @pulumi.getter(name="serviceAccount")
3118
+ def service_account(self) -> Optional[pulumi.Input['ConnectorJdbcCredentialsServiceAccountArgs']]:
3119
+ """
3120
+ Authenticate using service account.
3121
+ """
3122
+ return pulumi.get(self, "service_account")
3123
+
3124
+ @service_account.setter
3125
+ def service_account(self, value: Optional[pulumi.Input['ConnectorJdbcCredentialsServiceAccountArgs']]):
3126
+ pulumi.set(self, "service_account", value)
3127
+
3059
3128
  @property
3060
3129
  @pulumi.getter
3061
3130
  def username(self) -> Optional[pulumi.Input[str]]:
@@ -3068,6 +3137,18 @@ class ConnectorJdbcCredentialsArgs:
3068
3137
  def username(self, value: Optional[pulumi.Input[str]]):
3069
3138
  pulumi.set(self, "username", value)
3070
3139
 
3140
+ @property
3141
+ @pulumi.getter(name="usernamePassword")
3142
+ def username_password(self) -> Optional[pulumi.Input['ConnectorJdbcCredentialsUsernamePasswordArgs']]:
3143
+ """
3144
+ Authenticate using username password.
3145
+ """
3146
+ return pulumi.get(self, "username_password")
3147
+
3148
+ @username_password.setter
3149
+ def username_password(self, value: Optional[pulumi.Input['ConnectorJdbcCredentialsUsernamePasswordArgs']]):
3150
+ pulumi.set(self, "username_password", value)
3151
+
3071
3152
  @property
3072
3153
  @pulumi.getter(name="usernameRef")
3073
3154
  def username_ref(self) -> Optional[pulumi.Input[str]]:
@@ -3081,6 +3162,108 @@ class ConnectorJdbcCredentialsArgs:
3081
3162
  pulumi.set(self, "username_ref", value)
3082
3163
 
3083
3164
 
3165
+ if not MYPY:
3166
+ class ConnectorJdbcCredentialsServiceAccountArgsDict(TypedDict):
3167
+ token_ref: pulumi.Input[str]
3168
+ """
3169
+ 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}.
3170
+ """
3171
+ elif False:
3172
+ ConnectorJdbcCredentialsServiceAccountArgsDict: TypeAlias = Mapping[str, Any]
3173
+
3174
+ @pulumi.input_type
3175
+ class ConnectorJdbcCredentialsServiceAccountArgs:
3176
+ def __init__(__self__, *,
3177
+ token_ref: pulumi.Input[str]):
3178
+ """
3179
+ :param pulumi.Input[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}.
3180
+ """
3181
+ pulumi.set(__self__, "token_ref", token_ref)
3182
+
3183
+ @property
3184
+ @pulumi.getter(name="tokenRef")
3185
+ def token_ref(self) -> pulumi.Input[str]:
3186
+ """
3187
+ 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}.
3188
+ """
3189
+ return pulumi.get(self, "token_ref")
3190
+
3191
+ @token_ref.setter
3192
+ def token_ref(self, value: pulumi.Input[str]):
3193
+ pulumi.set(self, "token_ref", value)
3194
+
3195
+
3196
+ if not MYPY:
3197
+ class ConnectorJdbcCredentialsUsernamePasswordArgsDict(TypedDict):
3198
+ password_ref: pulumi.Input[str]
3199
+ """
3200
+ 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}.
3201
+ """
3202
+ username: NotRequired[pulumi.Input[str]]
3203
+ """
3204
+ Username to use for authentication.
3205
+ """
3206
+ username_ref: NotRequired[pulumi.Input[str]]
3207
+ """
3208
+ 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}.
3209
+ """
3210
+ elif False:
3211
+ ConnectorJdbcCredentialsUsernamePasswordArgsDict: TypeAlias = Mapping[str, Any]
3212
+
3213
+ @pulumi.input_type
3214
+ class ConnectorJdbcCredentialsUsernamePasswordArgs:
3215
+ def __init__(__self__, *,
3216
+ password_ref: pulumi.Input[str],
3217
+ username: Optional[pulumi.Input[str]] = None,
3218
+ username_ref: Optional[pulumi.Input[str]] = None):
3219
+ """
3220
+ :param pulumi.Input[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}.
3221
+ :param pulumi.Input[str] username: Username to use for authentication.
3222
+ :param pulumi.Input[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}.
3223
+ """
3224
+ pulumi.set(__self__, "password_ref", password_ref)
3225
+ if username is not None:
3226
+ pulumi.set(__self__, "username", username)
3227
+ if username_ref is not None:
3228
+ pulumi.set(__self__, "username_ref", username_ref)
3229
+
3230
+ @property
3231
+ @pulumi.getter(name="passwordRef")
3232
+ def password_ref(self) -> pulumi.Input[str]:
3233
+ """
3234
+ 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}.
3235
+ """
3236
+ return pulumi.get(self, "password_ref")
3237
+
3238
+ @password_ref.setter
3239
+ def password_ref(self, value: pulumi.Input[str]):
3240
+ pulumi.set(self, "password_ref", value)
3241
+
3242
+ @property
3243
+ @pulumi.getter
3244
+ def username(self) -> Optional[pulumi.Input[str]]:
3245
+ """
3246
+ Username to use for authentication.
3247
+ """
3248
+ return pulumi.get(self, "username")
3249
+
3250
+ @username.setter
3251
+ def username(self, value: Optional[pulumi.Input[str]]):
3252
+ pulumi.set(self, "username", value)
3253
+
3254
+ @property
3255
+ @pulumi.getter(name="usernameRef")
3256
+ def username_ref(self) -> Optional[pulumi.Input[str]]:
3257
+ """
3258
+ 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}.
3259
+ """
3260
+ return pulumi.get(self, "username_ref")
3261
+
3262
+ @username_ref.setter
3263
+ def username_ref(self, value: Optional[pulumi.Input[str]]):
3264
+ pulumi.set(self, "username_ref", value)
3265
+
3266
+
3084
3267
  if not MYPY:
3085
3268
  class ConnectorPdcHostArgsDict(TypedDict):
3086
3269
  hostname: pulumi.Input[str]
@@ -12307,70 +12490,388 @@ class HelmConnectorCredentialsArgs:
12307
12490
 
12308
12491
 
12309
12492
  if not MYPY:
12310
- class InfrastructureGitDetailsArgsDict(TypedDict):
12311
- base_branch: NotRequired[pulumi.Input[str]]
12312
- """
12313
- Name of the default branch (this checks out a new branch titled by branch_name).
12493
+ class InfraVariableSetConnectorArgsDict(TypedDict):
12494
+ connector_ref: pulumi.Input[str]
12314
12495
  """
12315
- branch: NotRequired[pulumi.Input[str]]
12316
- """
12317
- Name of the branch.
12496
+ Unique identifier of the connector.
12318
12497
  """
12319
- commit_message: NotRequired[pulumi.Input[str]]
12498
+ type: pulumi.Input[str]
12320
12499
  """
12321
- message for the commit in Git Repo.
12500
+ Type indicates the type of the connector. Currently we support aws, azure, gcp.
12322
12501
  """
12323
- connector_ref: NotRequired[pulumi.Input[str]]
12502
+ elif False:
12503
+ InfraVariableSetConnectorArgsDict: TypeAlias = Mapping[str, Any]
12504
+
12505
+ @pulumi.input_type
12506
+ class InfraVariableSetConnectorArgs:
12507
+ def __init__(__self__, *,
12508
+ connector_ref: pulumi.Input[str],
12509
+ type: pulumi.Input[str]):
12324
12510
  """
12325
- Identifier of the Harness Connector used for importing entity from Git To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
12511
+ :param pulumi.Input[str] connector_ref: Unique identifier of the connector.
12512
+ :param pulumi.Input[str] type: Type indicates the type of the connector. Currently we support aws, azure, gcp.
12326
12513
  """
12327
- file_path: NotRequired[pulumi.Input[str]]
12514
+ pulumi.set(__self__, "connector_ref", connector_ref)
12515
+ pulumi.set(__self__, "type", type)
12516
+
12517
+ @property
12518
+ @pulumi.getter(name="connectorRef")
12519
+ def connector_ref(self) -> pulumi.Input[str]:
12328
12520
  """
12329
- File path of the Entity in the repository.
12521
+ Unique identifier of the connector.
12330
12522
  """
12331
- import_from_git: NotRequired[pulumi.Input[bool]]
12523
+ return pulumi.get(self, "connector_ref")
12524
+
12525
+ @connector_ref.setter
12526
+ def connector_ref(self, value: pulumi.Input[str]):
12527
+ pulumi.set(self, "connector_ref", value)
12528
+
12529
+ @property
12530
+ @pulumi.getter
12531
+ def type(self) -> pulumi.Input[str]:
12332
12532
  """
12333
- Flag to set if importing from Git
12533
+ Type indicates the type of the connector. Currently we support aws, azure, gcp.
12334
12534
  """
12335
- is_force_import: NotRequired[pulumi.Input[bool]]
12535
+ return pulumi.get(self, "type")
12536
+
12537
+ @type.setter
12538
+ def type(self, value: pulumi.Input[str]):
12539
+ pulumi.set(self, "type", value)
12540
+
12541
+
12542
+ if not MYPY:
12543
+ class InfraVariableSetEnvironmentVariableArgsDict(TypedDict):
12544
+ key: pulumi.Input[str]
12336
12545
  """
12337
- Flag to set if force importing from Git
12546
+ Key is the identifier for the variable. Must be unique within the variable set.
12338
12547
  """
12339
- is_harnesscode_repo: NotRequired[pulumi.Input[bool]]
12548
+ value: pulumi.Input[str]
12340
12549
  """
12341
- If the gitProvider is HarnessCode
12550
+ 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.
12342
12551
  """
12343
- is_new_branch: NotRequired[pulumi.Input[bool]]
12552
+ value_type: pulumi.Input[str]
12344
12553
  """
12345
- If a new branch creation is requested.
12554
+ Value type indicates the value type of the variable. Currently we support string and secret.
12346
12555
  """
12347
- last_commit_id: NotRequired[pulumi.Input[str]]
12556
+ elif False:
12557
+ InfraVariableSetEnvironmentVariableArgsDict: TypeAlias = Mapping[str, Any]
12558
+
12559
+ @pulumi.input_type
12560
+ class InfraVariableSetEnvironmentVariableArgs:
12561
+ def __init__(__self__, *,
12562
+ key: pulumi.Input[str],
12563
+ value: pulumi.Input[str],
12564
+ value_type: pulumi.Input[str]):
12348
12565
  """
12349
- Last commit identifier (for Git Repositories other than Github). To be provided only when updating Infrastructures.
12566
+ :param pulumi.Input[str] key: Key is the identifier for the variable. Must be unique within the variable set.
12567
+ :param pulumi.Input[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.
12568
+ :param pulumi.Input[str] value_type: Value type indicates the value type of the variable. Currently we support string and secret.
12350
12569
  """
12351
- last_object_id: NotRequired[pulumi.Input[str]]
12570
+ pulumi.set(__self__, "key", key)
12571
+ pulumi.set(__self__, "value", value)
12572
+ pulumi.set(__self__, "value_type", value_type)
12573
+
12574
+ @property
12575
+ @pulumi.getter
12576
+ def key(self) -> pulumi.Input[str]:
12352
12577
  """
12353
- Last object identifier (for Github). To be provided only when updating Infrastructures.
12578
+ Key is the identifier for the variable. Must be unique within the variable set.
12354
12579
  """
12355
- load_from_cache: NotRequired[pulumi.Input[str]]
12580
+ return pulumi.get(self, "key")
12581
+
12582
+ @key.setter
12583
+ def key(self, value: pulumi.Input[str]):
12584
+ pulumi.set(self, "key", value)
12585
+
12586
+ @property
12587
+ @pulumi.getter
12588
+ def value(self) -> pulumi.Input[str]:
12356
12589
  """
12357
- If the Entity is to be fetched from cache
12590
+ 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.
12358
12591
  """
12359
- load_from_fallback_branch: NotRequired[pulumi.Input[bool]]
12592
+ return pulumi.get(self, "value")
12593
+
12594
+ @value.setter
12595
+ def value(self, value: pulumi.Input[str]):
12596
+ pulumi.set(self, "value", value)
12597
+
12598
+ @property
12599
+ @pulumi.getter(name="valueType")
12600
+ def value_type(self) -> pulumi.Input[str]:
12360
12601
  """
12361
- Whether the file has to be get from fallback_branch.
12602
+ Value type indicates the value type of the variable. Currently we support string and secret.
12362
12603
  """
12363
- parent_entity_connector_ref: NotRequired[pulumi.Input[str]]
12604
+ return pulumi.get(self, "value_type")
12605
+
12606
+ @value_type.setter
12607
+ def value_type(self, value: pulumi.Input[str]):
12608
+ pulumi.set(self, "value_type", value)
12609
+
12610
+
12611
+ if not MYPY:
12612
+ class InfraVariableSetTerraformVariableArgsDict(TypedDict):
12613
+ key: pulumi.Input[str]
12364
12614
  """
12365
- Identifier of the Harness Connector used for CRUD operations on the Parent Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
12615
+ Key is the identifier for the variable. Must be unique within the variable set.
12366
12616
  """
12367
- parent_entity_repo_name: NotRequired[pulumi.Input[str]]
12617
+ value: pulumi.Input[str]
12368
12618
  """
12369
- Name of the repository where parent entity lies.
12619
+ 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.
12370
12620
  """
12371
- repo_name: NotRequired[pulumi.Input[str]]
12621
+ value_type: pulumi.Input[str]
12372
12622
  """
12373
- Name of the repository.
12623
+ Value type indicates the value type of the variable. Currently we support string and secret.
12624
+ """
12625
+ elif False:
12626
+ InfraVariableSetTerraformVariableArgsDict: TypeAlias = Mapping[str, Any]
12627
+
12628
+ @pulumi.input_type
12629
+ class InfraVariableSetTerraformVariableArgs:
12630
+ def __init__(__self__, *,
12631
+ key: pulumi.Input[str],
12632
+ value: pulumi.Input[str],
12633
+ value_type: pulumi.Input[str]):
12634
+ """
12635
+ :param pulumi.Input[str] key: Key is the identifier for the variable. Must be unique within the variable set.
12636
+ :param pulumi.Input[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.
12637
+ :param pulumi.Input[str] value_type: Value type indicates the value type of the variable. Currently we support string and secret.
12638
+ """
12639
+ pulumi.set(__self__, "key", key)
12640
+ pulumi.set(__self__, "value", value)
12641
+ pulumi.set(__self__, "value_type", value_type)
12642
+
12643
+ @property
12644
+ @pulumi.getter
12645
+ def key(self) -> pulumi.Input[str]:
12646
+ """
12647
+ Key is the identifier for the variable. Must be unique within the variable set.
12648
+ """
12649
+ return pulumi.get(self, "key")
12650
+
12651
+ @key.setter
12652
+ def key(self, value: pulumi.Input[str]):
12653
+ pulumi.set(self, "key", value)
12654
+
12655
+ @property
12656
+ @pulumi.getter
12657
+ def value(self) -> pulumi.Input[str]:
12658
+ """
12659
+ 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.
12660
+ """
12661
+ return pulumi.get(self, "value")
12662
+
12663
+ @value.setter
12664
+ def value(self, value: pulumi.Input[str]):
12665
+ pulumi.set(self, "value", value)
12666
+
12667
+ @property
12668
+ @pulumi.getter(name="valueType")
12669
+ def value_type(self) -> pulumi.Input[str]:
12670
+ """
12671
+ Value type indicates the value type of the variable. Currently we support string and secret.
12672
+ """
12673
+ return pulumi.get(self, "value_type")
12674
+
12675
+ @value_type.setter
12676
+ def value_type(self, value: pulumi.Input[str]):
12677
+ pulumi.set(self, "value_type", value)
12678
+
12679
+
12680
+ if not MYPY:
12681
+ class InfraVariableSetTerraformVariableFileArgsDict(TypedDict):
12682
+ repository: pulumi.Input[str]
12683
+ """
12684
+ Repository is the name of the repository to fetch the code from.
12685
+ """
12686
+ repository_connector: pulumi.Input[str]
12687
+ """
12688
+ Repository connector is the reference to the connector used to fetch the variables.
12689
+ """
12690
+ repository_branch: NotRequired[pulumi.Input[str]]
12691
+ """
12692
+ Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
12693
+ """
12694
+ repository_commit: NotRequired[pulumi.Input[str]]
12695
+ """
12696
+ Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
12697
+ """
12698
+ repository_path: NotRequired[pulumi.Input[str]]
12699
+ """
12700
+ Repository path is the path in which the variables reside.
12701
+ """
12702
+ repository_sha: NotRequired[pulumi.Input[str]]
12703
+ """
12704
+ Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
12705
+ """
12706
+ elif False:
12707
+ InfraVariableSetTerraformVariableFileArgsDict: TypeAlias = Mapping[str, Any]
12708
+
12709
+ @pulumi.input_type
12710
+ class InfraVariableSetTerraformVariableFileArgs:
12711
+ def __init__(__self__, *,
12712
+ repository: pulumi.Input[str],
12713
+ repository_connector: pulumi.Input[str],
12714
+ repository_branch: Optional[pulumi.Input[str]] = None,
12715
+ repository_commit: Optional[pulumi.Input[str]] = None,
12716
+ repository_path: Optional[pulumi.Input[str]] = None,
12717
+ repository_sha: Optional[pulumi.Input[str]] = None):
12718
+ """
12719
+ :param pulumi.Input[str] repository: Repository is the name of the repository to fetch the code from.
12720
+ :param pulumi.Input[str] repository_connector: Repository connector is the reference to the connector used to fetch the variables.
12721
+ :param pulumi.Input[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
12722
+ :param pulumi.Input[str] repository_commit: Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
12723
+ :param pulumi.Input[str] repository_path: Repository path is the path in which the variables reside.
12724
+ :param pulumi.Input[str] repository_sha: Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
12725
+ """
12726
+ pulumi.set(__self__, "repository", repository)
12727
+ pulumi.set(__self__, "repository_connector", repository_connector)
12728
+ if repository_branch is not None:
12729
+ pulumi.set(__self__, "repository_branch", repository_branch)
12730
+ if repository_commit is not None:
12731
+ pulumi.set(__self__, "repository_commit", repository_commit)
12732
+ if repository_path is not None:
12733
+ pulumi.set(__self__, "repository_path", repository_path)
12734
+ if repository_sha is not None:
12735
+ pulumi.set(__self__, "repository_sha", repository_sha)
12736
+
12737
+ @property
12738
+ @pulumi.getter
12739
+ def repository(self) -> pulumi.Input[str]:
12740
+ """
12741
+ Repository is the name of the repository to fetch the code from.
12742
+ """
12743
+ return pulumi.get(self, "repository")
12744
+
12745
+ @repository.setter
12746
+ def repository(self, value: pulumi.Input[str]):
12747
+ pulumi.set(self, "repository", value)
12748
+
12749
+ @property
12750
+ @pulumi.getter(name="repositoryConnector")
12751
+ def repository_connector(self) -> pulumi.Input[str]:
12752
+ """
12753
+ Repository connector is the reference to the connector used to fetch the variables.
12754
+ """
12755
+ return pulumi.get(self, "repository_connector")
12756
+
12757
+ @repository_connector.setter
12758
+ def repository_connector(self, value: pulumi.Input[str]):
12759
+ pulumi.set(self, "repository_connector", value)
12760
+
12761
+ @property
12762
+ @pulumi.getter(name="repositoryBranch")
12763
+ def repository_branch(self) -> Optional[pulumi.Input[str]]:
12764
+ """
12765
+ Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
12766
+ """
12767
+ return pulumi.get(self, "repository_branch")
12768
+
12769
+ @repository_branch.setter
12770
+ def repository_branch(self, value: Optional[pulumi.Input[str]]):
12771
+ pulumi.set(self, "repository_branch", value)
12772
+
12773
+ @property
12774
+ @pulumi.getter(name="repositoryCommit")
12775
+ def repository_commit(self) -> Optional[pulumi.Input[str]]:
12776
+ """
12777
+ Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
12778
+ """
12779
+ return pulumi.get(self, "repository_commit")
12780
+
12781
+ @repository_commit.setter
12782
+ def repository_commit(self, value: Optional[pulumi.Input[str]]):
12783
+ pulumi.set(self, "repository_commit", value)
12784
+
12785
+ @property
12786
+ @pulumi.getter(name="repositoryPath")
12787
+ def repository_path(self) -> Optional[pulumi.Input[str]]:
12788
+ """
12789
+ Repository path is the path in which the variables reside.
12790
+ """
12791
+ return pulumi.get(self, "repository_path")
12792
+
12793
+ @repository_path.setter
12794
+ def repository_path(self, value: Optional[pulumi.Input[str]]):
12795
+ pulumi.set(self, "repository_path", value)
12796
+
12797
+ @property
12798
+ @pulumi.getter(name="repositorySha")
12799
+ def repository_sha(self) -> Optional[pulumi.Input[str]]:
12800
+ """
12801
+ Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
12802
+ """
12803
+ return pulumi.get(self, "repository_sha")
12804
+
12805
+ @repository_sha.setter
12806
+ def repository_sha(self, value: Optional[pulumi.Input[str]]):
12807
+ pulumi.set(self, "repository_sha", value)
12808
+
12809
+
12810
+ if not MYPY:
12811
+ class InfrastructureGitDetailsArgsDict(TypedDict):
12812
+ base_branch: NotRequired[pulumi.Input[str]]
12813
+ """
12814
+ Name of the default branch (this checks out a new branch titled by branch_name).
12815
+ """
12816
+ branch: NotRequired[pulumi.Input[str]]
12817
+ """
12818
+ Name of the branch.
12819
+ """
12820
+ commit_message: NotRequired[pulumi.Input[str]]
12821
+ """
12822
+ message for the commit in Git Repo.
12823
+ """
12824
+ connector_ref: NotRequired[pulumi.Input[str]]
12825
+ """
12826
+ Identifier of the Harness Connector used for importing entity from Git To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
12827
+ """
12828
+ file_path: NotRequired[pulumi.Input[str]]
12829
+ """
12830
+ File path of the Entity in the repository.
12831
+ """
12832
+ import_from_git: NotRequired[pulumi.Input[bool]]
12833
+ """
12834
+ Flag to set if importing from Git
12835
+ """
12836
+ is_force_import: NotRequired[pulumi.Input[bool]]
12837
+ """
12838
+ Flag to set if force importing from Git
12839
+ """
12840
+ is_harnesscode_repo: NotRequired[pulumi.Input[bool]]
12841
+ """
12842
+ If the gitProvider is HarnessCode
12843
+ """
12844
+ is_new_branch: NotRequired[pulumi.Input[bool]]
12845
+ """
12846
+ If a new branch creation is requested.
12847
+ """
12848
+ last_commit_id: NotRequired[pulumi.Input[str]]
12849
+ """
12850
+ Last commit identifier (for Git Repositories other than Github). To be provided only when updating Infrastructures.
12851
+ """
12852
+ last_object_id: NotRequired[pulumi.Input[str]]
12853
+ """
12854
+ Last object identifier (for Github). To be provided only when updating Infrastructures.
12855
+ """
12856
+ load_from_cache: NotRequired[pulumi.Input[str]]
12857
+ """
12858
+ If the Entity is to be fetched from cache
12859
+ """
12860
+ load_from_fallback_branch: NotRequired[pulumi.Input[bool]]
12861
+ """
12862
+ Whether the file has to be get from fallback_branch.
12863
+ """
12864
+ parent_entity_connector_ref: NotRequired[pulumi.Input[str]]
12865
+ """
12866
+ Identifier of the Harness Connector used for CRUD operations on the Parent Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
12867
+ """
12868
+ parent_entity_repo_name: NotRequired[pulumi.Input[str]]
12869
+ """
12870
+ Name of the repository where parent entity lies.
12871
+ """
12872
+ repo_name: NotRequired[pulumi.Input[str]]
12873
+ """
12874
+ Name of the repository.
12374
12875
  """
12375
12876
  store_type: NotRequired[pulumi.Input[str]]
12376
12877
  """
@@ -21388,6 +21889,324 @@ class GetHarRegistryConfigAuthUserPasswordArgs:
21388
21889
  pulumi.set(self, "secret_space_path", value)
21389
21890
 
21390
21891
 
21892
+ if not MYPY:
21893
+ class GetInfraVariableSetConnectorArgsDict(TypedDict):
21894
+ connector_ref: str
21895
+ """
21896
+ Unique identifier of the connector.
21897
+ """
21898
+ type: str
21899
+ """
21900
+ Type indicates the type of the connector. Currently we support aws, azure, gcp.
21901
+ """
21902
+ elif False:
21903
+ GetInfraVariableSetConnectorArgsDict: TypeAlias = Mapping[str, Any]
21904
+
21905
+ @pulumi.input_type
21906
+ class GetInfraVariableSetConnectorArgs:
21907
+ def __init__(__self__, *,
21908
+ connector_ref: str,
21909
+ type: str):
21910
+ """
21911
+ :param str connector_ref: Unique identifier of the connector.
21912
+ :param str type: Type indicates the type of the connector. Currently we support aws, azure, gcp.
21913
+ """
21914
+ pulumi.set(__self__, "connector_ref", connector_ref)
21915
+ pulumi.set(__self__, "type", type)
21916
+
21917
+ @property
21918
+ @pulumi.getter(name="connectorRef")
21919
+ def connector_ref(self) -> str:
21920
+ """
21921
+ Unique identifier of the connector.
21922
+ """
21923
+ return pulumi.get(self, "connector_ref")
21924
+
21925
+ @connector_ref.setter
21926
+ def connector_ref(self, value: str):
21927
+ pulumi.set(self, "connector_ref", value)
21928
+
21929
+ @property
21930
+ @pulumi.getter
21931
+ def type(self) -> str:
21932
+ """
21933
+ Type indicates the type of the connector. Currently we support aws, azure, gcp.
21934
+ """
21935
+ return pulumi.get(self, "type")
21936
+
21937
+ @type.setter
21938
+ def type(self, value: str):
21939
+ pulumi.set(self, "type", value)
21940
+
21941
+
21942
+ if not MYPY:
21943
+ class GetInfraVariableSetEnvironmentVariableArgsDict(TypedDict):
21944
+ key: str
21945
+ """
21946
+ Key is the identifier for the variable`
21947
+ """
21948
+ value: str
21949
+ """
21950
+ value is the value of the variable
21951
+ """
21952
+ value_type: str
21953
+ """
21954
+ Value type indicates the value type of the variable, text or secret
21955
+ """
21956
+ elif False:
21957
+ GetInfraVariableSetEnvironmentVariableArgsDict: TypeAlias = Mapping[str, Any]
21958
+
21959
+ @pulumi.input_type
21960
+ class GetInfraVariableSetEnvironmentVariableArgs:
21961
+ def __init__(__self__, *,
21962
+ key: str,
21963
+ value: str,
21964
+ value_type: str):
21965
+ """
21966
+ :param str key: Key is the identifier for the variable`
21967
+ :param str value: value is the value of the variable
21968
+ :param str value_type: Value type indicates the value type of the variable, text or secret
21969
+ """
21970
+ pulumi.set(__self__, "key", key)
21971
+ pulumi.set(__self__, "value", value)
21972
+ pulumi.set(__self__, "value_type", value_type)
21973
+
21974
+ @property
21975
+ @pulumi.getter
21976
+ def key(self) -> str:
21977
+ """
21978
+ Key is the identifier for the variable`
21979
+ """
21980
+ return pulumi.get(self, "key")
21981
+
21982
+ @key.setter
21983
+ def key(self, value: str):
21984
+ pulumi.set(self, "key", value)
21985
+
21986
+ @property
21987
+ @pulumi.getter
21988
+ def value(self) -> str:
21989
+ """
21990
+ value is the value of the variable
21991
+ """
21992
+ return pulumi.get(self, "value")
21993
+
21994
+ @value.setter
21995
+ def value(self, value: str):
21996
+ pulumi.set(self, "value", value)
21997
+
21998
+ @property
21999
+ @pulumi.getter(name="valueType")
22000
+ def value_type(self) -> str:
22001
+ """
22002
+ Value type indicates the value type of the variable, text or secret
22003
+ """
22004
+ return pulumi.get(self, "value_type")
22005
+
22006
+ @value_type.setter
22007
+ def value_type(self, value: str):
22008
+ pulumi.set(self, "value_type", value)
22009
+
22010
+
22011
+ if not MYPY:
22012
+ class GetInfraVariableSetTerraformVariableArgsDict(TypedDict):
22013
+ key: str
22014
+ """
22015
+ Key is the identifier for the variable`
22016
+ """
22017
+ value: str
22018
+ """
22019
+ value is the value of the variable
22020
+ """
22021
+ value_type: str
22022
+ """
22023
+ Value type indicates the value type of the variable, text or secret
22024
+ """
22025
+ elif False:
22026
+ GetInfraVariableSetTerraformVariableArgsDict: TypeAlias = Mapping[str, Any]
22027
+
22028
+ @pulumi.input_type
22029
+ class GetInfraVariableSetTerraformVariableArgs:
22030
+ def __init__(__self__, *,
22031
+ key: str,
22032
+ value: str,
22033
+ value_type: str):
22034
+ """
22035
+ :param str key: Key is the identifier for the variable`
22036
+ :param str value: value is the value of the variable
22037
+ :param str value_type: Value type indicates the value type of the variable, text or secret
22038
+ """
22039
+ pulumi.set(__self__, "key", key)
22040
+ pulumi.set(__self__, "value", value)
22041
+ pulumi.set(__self__, "value_type", value_type)
22042
+
22043
+ @property
22044
+ @pulumi.getter
22045
+ def key(self) -> str:
22046
+ """
22047
+ Key is the identifier for the variable`
22048
+ """
22049
+ return pulumi.get(self, "key")
22050
+
22051
+ @key.setter
22052
+ def key(self, value: str):
22053
+ pulumi.set(self, "key", value)
22054
+
22055
+ @property
22056
+ @pulumi.getter
22057
+ def value(self) -> str:
22058
+ """
22059
+ value is the value of the variable
22060
+ """
22061
+ return pulumi.get(self, "value")
22062
+
22063
+ @value.setter
22064
+ def value(self, value: str):
22065
+ pulumi.set(self, "value", value)
22066
+
22067
+ @property
22068
+ @pulumi.getter(name="valueType")
22069
+ def value_type(self) -> str:
22070
+ """
22071
+ Value type indicates the value type of the variable, text or secret
22072
+ """
22073
+ return pulumi.get(self, "value_type")
22074
+
22075
+ @value_type.setter
22076
+ def value_type(self, value: str):
22077
+ pulumi.set(self, "value_type", value)
22078
+
22079
+
22080
+ if not MYPY:
22081
+ class GetInfraVariableSetTerraformVariableFileArgsDict(TypedDict):
22082
+ repository: str
22083
+ """
22084
+ Repository is the name of the repository to fetch the code from.
22085
+ """
22086
+ repository_connector: str
22087
+ """
22088
+ Repository connector is the reference to the connector used to fetch the variables.
22089
+ """
22090
+ repository_branch: NotRequired[str]
22091
+ """
22092
+ Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
22093
+ """
22094
+ repository_commit: NotRequired[str]
22095
+ """
22096
+ Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
22097
+ """
22098
+ repository_path: NotRequired[str]
22099
+ """
22100
+ Repository path is the path in which the variables reside.
22101
+ """
22102
+ repository_sha: NotRequired[str]
22103
+ """
22104
+ Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
22105
+ """
22106
+ elif False:
22107
+ GetInfraVariableSetTerraformVariableFileArgsDict: TypeAlias = Mapping[str, Any]
22108
+
22109
+ @pulumi.input_type
22110
+ class GetInfraVariableSetTerraformVariableFileArgs:
22111
+ def __init__(__self__, *,
22112
+ repository: str,
22113
+ repository_connector: str,
22114
+ repository_branch: Optional[str] = None,
22115
+ repository_commit: Optional[str] = None,
22116
+ repository_path: Optional[str] = None,
22117
+ repository_sha: Optional[str] = None):
22118
+ """
22119
+ :param str repository: Repository is the name of the repository to fetch the code from.
22120
+ :param str repository_connector: Repository connector is the reference to the connector used to fetch the variables.
22121
+ :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
22122
+ :param str repository_commit: Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
22123
+ :param str repository_path: Repository path is the path in which the variables reside.
22124
+ :param str repository_sha: Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
22125
+ """
22126
+ pulumi.set(__self__, "repository", repository)
22127
+ pulumi.set(__self__, "repository_connector", repository_connector)
22128
+ if repository_branch is not None:
22129
+ pulumi.set(__self__, "repository_branch", repository_branch)
22130
+ if repository_commit is not None:
22131
+ pulumi.set(__self__, "repository_commit", repository_commit)
22132
+ if repository_path is not None:
22133
+ pulumi.set(__self__, "repository_path", repository_path)
22134
+ if repository_sha is not None:
22135
+ pulumi.set(__self__, "repository_sha", repository_sha)
22136
+
22137
+ @property
22138
+ @pulumi.getter
22139
+ def repository(self) -> str:
22140
+ """
22141
+ Repository is the name of the repository to fetch the code from.
22142
+ """
22143
+ return pulumi.get(self, "repository")
22144
+
22145
+ @repository.setter
22146
+ def repository(self, value: str):
22147
+ pulumi.set(self, "repository", value)
22148
+
22149
+ @property
22150
+ @pulumi.getter(name="repositoryConnector")
22151
+ def repository_connector(self) -> str:
22152
+ """
22153
+ Repository connector is the reference to the connector used to fetch the variables.
22154
+ """
22155
+ return pulumi.get(self, "repository_connector")
22156
+
22157
+ @repository_connector.setter
22158
+ def repository_connector(self, value: str):
22159
+ pulumi.set(self, "repository_connector", value)
22160
+
22161
+ @property
22162
+ @pulumi.getter(name="repositoryBranch")
22163
+ def repository_branch(self) -> Optional[str]:
22164
+ """
22165
+ Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
22166
+ """
22167
+ return pulumi.get(self, "repository_branch")
22168
+
22169
+ @repository_branch.setter
22170
+ def repository_branch(self, value: Optional[str]):
22171
+ pulumi.set(self, "repository_branch", value)
22172
+
22173
+ @property
22174
+ @pulumi.getter(name="repositoryCommit")
22175
+ def repository_commit(self) -> Optional[str]:
22176
+ """
22177
+ Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
22178
+ """
22179
+ return pulumi.get(self, "repository_commit")
22180
+
22181
+ @repository_commit.setter
22182
+ def repository_commit(self, value: Optional[str]):
22183
+ pulumi.set(self, "repository_commit", value)
22184
+
22185
+ @property
22186
+ @pulumi.getter(name="repositoryPath")
22187
+ def repository_path(self) -> Optional[str]:
22188
+ """
22189
+ Repository path is the path in which the variables reside.
22190
+ """
22191
+ return pulumi.get(self, "repository_path")
22192
+
22193
+ @repository_path.setter
22194
+ def repository_path(self, value: Optional[str]):
22195
+ pulumi.set(self, "repository_path", value)
22196
+
22197
+ @property
22198
+ @pulumi.getter(name="repositorySha")
22199
+ def repository_sha(self) -> Optional[str]:
22200
+ """
22201
+ Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
22202
+ """
22203
+ return pulumi.get(self, "repository_sha")
22204
+
22205
+ @repository_sha.setter
22206
+ def repository_sha(self, value: Optional[str]):
22207
+ pulumi.set(self, "repository_sha", value)
22208
+
22209
+
21391
22210
  if not MYPY:
21392
22211
  class GetInfrastructureGitDetailsArgsDict(TypedDict):
21393
22212
  branch: str