pulumi-harness 0.5.0a1733377558__py3-none-any.whl → 0.5.0a1733787819__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.

Files changed (155) hide show
  1. pulumi_harness/__init__.py +8 -0
  2. pulumi_harness/autostopping/get_aws_alb.py +2 -2
  3. pulumi_harness/autostopping/get_aws_proxy.py +2 -2
  4. pulumi_harness/autostopping/get_azure_gateway.py +2 -2
  5. pulumi_harness/autostopping/get_azure_proxy.py +2 -2
  6. pulumi_harness/autostopping/get_gcp_proxy.py +2 -2
  7. pulumi_harness/autostopping/get_rule_ecs.py +2 -2
  8. pulumi_harness/autostopping/get_rule_rds.py +2 -2
  9. pulumi_harness/autostopping/get_rule_vm.py +2 -2
  10. pulumi_harness/autostopping/get_schedule.py +2 -2
  11. pulumi_harness/cloudprovider/get_delegate_ids.py +2 -2
  12. pulumi_harness/cluster/get_orchestrator.py +2 -2
  13. pulumi_harness/get_application.py +2 -2
  14. pulumi_harness/get_current_account.py +2 -2
  15. pulumi_harness/get_delegate.py +2 -2
  16. pulumi_harness/get_encrypted_text.py +2 -2
  17. pulumi_harness/get_environment.py +2 -2
  18. pulumi_harness/get_git_connector.py +2 -2
  19. pulumi_harness/get_secret_manager.py +2 -2
  20. pulumi_harness/get_service.py +2 -2
  21. pulumi_harness/get_ssh_credential.py +2 -2
  22. pulumi_harness/get_sso_provider.py +2 -2
  23. pulumi_harness/get_trigger.py +2 -2
  24. pulumi_harness/get_user.py +2 -2
  25. pulumi_harness/get_user_group.py +2 -2
  26. pulumi_harness/get_yaml_config.py +2 -2
  27. pulumi_harness/governance/get_rule.py +2 -2
  28. pulumi_harness/governance/get_rule_enforcement.py +2 -2
  29. pulumi_harness/governance/get_rule_set.py +2 -2
  30. pulumi_harness/platform/__init__.py +2 -0
  31. pulumi_harness/platform/_inputs.py +94 -37
  32. pulumi_harness/platform/get_api_key.py +2 -2
  33. pulumi_harness/platform/get_app_dynamics_connector.py +2 -2
  34. pulumi_harness/platform/get_artifactory_connector.py +2 -2
  35. pulumi_harness/platform/get_aws_cc_connector.py +2 -2
  36. pulumi_harness/platform/get_aws_connector.py +2 -2
  37. pulumi_harness/platform/get_aws_kms_connector.py +2 -2
  38. pulumi_harness/platform/get_aws_secret_manager_connector.py +2 -2
  39. pulumi_harness/platform/get_azure_cloud_cost_connector.py +2 -2
  40. pulumi_harness/platform/get_azure_cloud_provider_connector.py +2 -2
  41. pulumi_harness/platform/get_azure_key_vault_connector.py +2 -2
  42. pulumi_harness/platform/get_bitbucket_connector.py +2 -2
  43. pulumi_harness/platform/get_ccm_filters.py +2 -2
  44. pulumi_harness/platform/get_connector_custom_secret_manager.py +2 -2
  45. pulumi_harness/platform/get_connector_customhealthsource.py +2 -2
  46. pulumi_harness/platform/get_connector_jdbc.py +2 -2
  47. pulumi_harness/platform/get_connector_pdc.py +2 -2
  48. pulumi_harness/platform/get_connector_rancher.py +2 -2
  49. pulumi_harness/platform/get_current_account.py +2 -2
  50. pulumi_harness/platform/get_current_user.py +2 -2
  51. pulumi_harness/platform/get_datadog_connector.py +2 -2
  52. pulumi_harness/platform/get_db_instance.py +2 -2
  53. pulumi_harness/platform/get_db_schema.py +2 -2
  54. pulumi_harness/platform/get_delegatetoken.py +2 -2
  55. pulumi_harness/platform/get_docker_connector.py +2 -2
  56. pulumi_harness/platform/get_dynatrace_connector.py +2 -2
  57. pulumi_harness/platform/get_elasticsearch_connector.py +2 -2
  58. pulumi_harness/platform/get_environment.py +2 -2
  59. pulumi_harness/platform/get_environment_clusters_mapping.py +2 -2
  60. pulumi_harness/platform/get_environment_group.py +2 -2
  61. pulumi_harness/platform/get_environment_list.py +2 -2
  62. pulumi_harness/platform/get_environment_service_overrides.py +2 -2
  63. pulumi_harness/platform/get_file_store_file.py +2 -2
  64. pulumi_harness/platform/get_file_store_folder.py +2 -2
  65. pulumi_harness/platform/get_filters.py +2 -2
  66. pulumi_harness/platform/get_gcp_cloud_cost_connector.py +2 -2
  67. pulumi_harness/platform/get_gcp_connector.py +2 -2
  68. pulumi_harness/platform/get_gcp_secret_manager_connector.py +2 -2
  69. pulumi_harness/platform/get_git_connector.py +2 -2
  70. pulumi_harness/platform/get_github_connector.py +2 -2
  71. pulumi_harness/platform/get_gitlab_connector.py +2 -2
  72. pulumi_harness/platform/get_gitops_agent.py +56 -31
  73. pulumi_harness/platform/get_gitops_agent_deploy_yaml.py +4 -3
  74. pulumi_harness/platform/get_gitops_app_project.py +4 -3
  75. pulumi_harness/platform/get_gitops_app_project_mapping.py +4 -3
  76. pulumi_harness/platform/get_gitops_applications.py +4 -3
  77. pulumi_harness/platform/get_gitops_cluster.py +4 -3
  78. pulumi_harness/platform/get_gitops_gnupg.py +4 -3
  79. pulumi_harness/platform/get_gitops_repo_cert.py +6 -5
  80. pulumi_harness/platform/get_gitops_repo_cred.py +4 -3
  81. pulumi_harness/platform/get_gitops_repository.py +4 -3
  82. pulumi_harness/platform/get_gitx_webhook.py +2 -2
  83. pulumi_harness/platform/get_helm_connector.py +2 -2
  84. pulumi_harness/platform/get_iacm_default_pipeline.py +2 -2
  85. pulumi_harness/platform/get_infra_module.py +320 -0
  86. pulumi_harness/platform/get_infrastructure.py +2 -2
  87. pulumi_harness/platform/get_input_set.py +2 -2
  88. pulumi_harness/platform/get_jenkins_connector.py +2 -2
  89. pulumi_harness/platform/get_jira_connector.py +2 -2
  90. pulumi_harness/platform/get_kubernetes_cloud_cost_connector.py +2 -2
  91. pulumi_harness/platform/get_kubernetes_connector.py +2 -2
  92. pulumi_harness/platform/get_manual_freeze.py +2 -2
  93. pulumi_harness/platform/get_monitored_service.py +2 -2
  94. pulumi_harness/platform/get_nexus_connector.py +2 -2
  95. pulumi_harness/platform/get_notification_rule.py +2 -2
  96. pulumi_harness/platform/get_oci_helm_connector.py +2 -2
  97. pulumi_harness/platform/get_organization.py +2 -2
  98. pulumi_harness/platform/get_overrides.py +2 -2
  99. pulumi_harness/platform/get_pagerduty_connector.py +2 -2
  100. pulumi_harness/platform/get_permissions.py +2 -2
  101. pulumi_harness/platform/get_pipeline.py +2 -2
  102. pulumi_harness/platform/get_pipeline_filters.py +2 -2
  103. pulumi_harness/platform/get_pipeline_list.py +2 -2
  104. pulumi_harness/platform/get_policy.py +2 -2
  105. pulumi_harness/platform/get_policy_set.py +2 -2
  106. pulumi_harness/platform/get_project.py +2 -2
  107. pulumi_harness/platform/get_project_list.py +2 -2
  108. pulumi_harness/platform/get_prometheus_connector.py +2 -2
  109. pulumi_harness/platform/get_provider.py +2 -2
  110. pulumi_harness/platform/get_repo.py +2 -2
  111. pulumi_harness/platform/get_repo_rule_branch.py +2 -2
  112. pulumi_harness/platform/get_repo_webhook.py +2 -2
  113. pulumi_harness/platform/get_resource_group.py +2 -2
  114. pulumi_harness/platform/get_role_assignments.py +2 -2
  115. pulumi_harness/platform/get_roles.py +2 -2
  116. pulumi_harness/platform/get_secret_file.py +2 -2
  117. pulumi_harness/platform/get_secret_sshkey.py +2 -2
  118. pulumi_harness/platform/get_secret_text.py +2 -2
  119. pulumi_harness/platform/get_service.py +2 -2
  120. pulumi_harness/platform/get_service_account.py +2 -2
  121. pulumi_harness/platform/get_service_list.py +2 -2
  122. pulumi_harness/platform/get_service_now_connector.py +2 -2
  123. pulumi_harness/platform/get_service_overrides_v2.py +2 -2
  124. pulumi_harness/platform/get_slo.py +2 -2
  125. pulumi_harness/platform/get_splunk_connector.py +2 -2
  126. pulumi_harness/platform/get_spot_connector.py +2 -2
  127. pulumi_harness/platform/get_sumologic_connector.py +2 -2
  128. pulumi_harness/platform/get_tas_connector.py +2 -2
  129. pulumi_harness/platform/get_template.py +2 -2
  130. pulumi_harness/platform/get_template_filters.py +2 -2
  131. pulumi_harness/platform/get_terraform_cloud_connector.py +2 -2
  132. pulumi_harness/platform/get_token.py +2 -2
  133. pulumi_harness/platform/get_triggers.py +2 -2
  134. pulumi_harness/platform/get_user.py +2 -2
  135. pulumi_harness/platform/get_usergroup.py +2 -2
  136. pulumi_harness/platform/get_variables.py +2 -2
  137. pulumi_harness/platform/get_vault_connector.py +2 -2
  138. pulumi_harness/platform/get_workspace.py +2 -2
  139. pulumi_harness/platform/get_workspace_output_value.py +2 -2
  140. pulumi_harness/platform/git_ops_agent.py +53 -17
  141. pulumi_harness/platform/git_ops_applications.py +25 -17
  142. pulumi_harness/platform/git_ops_cluster.py +25 -17
  143. pulumi_harness/platform/git_ops_gnupg.py +25 -17
  144. pulumi_harness/platform/git_ops_repo_cert.py +25 -17
  145. pulumi_harness/platform/git_ops_repo_cred.py +25 -17
  146. pulumi_harness/platform/git_ops_repository.py +25 -17
  147. pulumi_harness/platform/gitops_app_project.py +65 -57
  148. pulumi_harness/platform/gitops_app_project_mapping.py +26 -18
  149. pulumi_harness/platform/infra_module.py +755 -0
  150. pulumi_harness/platform/outputs.py +98 -23
  151. pulumi_harness/pulumi-plugin.json +1 -1
  152. {pulumi_harness-0.5.0a1733377558.dist-info → pulumi_harness-0.5.0a1733787819.dist-info}/METADATA +1 -1
  153. {pulumi_harness-0.5.0a1733377558.dist-info → pulumi_harness-0.5.0a1733787819.dist-info}/RECORD +155 -153
  154. {pulumi_harness-0.5.0a1733377558.dist-info → pulumi_harness-0.5.0a1733787819.dist-info}/WHEEL +0 -0
  155. {pulumi_harness-0.5.0a1733377558.dist-info → pulumi_harness-0.5.0a1733787819.dist-info}/top_level.txt +0 -0
@@ -21,26 +21,30 @@ __all__ = ['GitopsAppProjectArgs', 'GitopsAppProject']
21
21
  @pulumi.input_type
22
22
  class GitopsAppProjectArgs:
23
23
  def __init__(__self__, *,
24
- account_id: pulumi.Input[str],
25
24
  agent_id: pulumi.Input[str],
26
25
  projects: pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectArgs']]],
26
+ account_id: Optional[pulumi.Input[str]] = None,
27
27
  org_id: Optional[pulumi.Input[str]] = None,
28
28
  project_id: Optional[pulumi.Input[str]] = None,
29
29
  query_name: Optional[pulumi.Input[str]] = None,
30
30
  upsert: Optional[pulumi.Input[bool]] = None):
31
31
  """
32
32
  The set of arguments for constructing a GitopsAppProject resource.
33
- :param pulumi.Input[str] account_id: Account identifier of the GitOps project/agent.
34
- :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. Project is created on agent scope.
33
+ :param pulumi.Input[str] agent_id: Agent identifier of the agent where argo project will exist (include scope prefix)
35
34
  :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectArgs']]] projects: GitOps project configuration.
36
- :param pulumi.Input[str] org_id: Org identifier of the GitOps agent for which project is created.
37
- :param pulumi.Input[str] project_id: Project identifier of the GitOps agent for which project is created.
38
- :param pulumi.Input[str] query_name: Identifier for the GitOps project.
39
- :param pulumi.Input[bool] upsert: Indicates if the GitOps project should be updated if existing and inserted if not.
35
+ :param pulumi.Input[str] account_id: Account identifier of the GitOps Agent where argo project will exist.
36
+ :param pulumi.Input[str] org_id: Org identifier of the GitOps Agent where argo project is to be created.
37
+ :param pulumi.Input[str] project_id: Project identifier of the Gitops Agent where argo project is to be created.
38
+ :param pulumi.Input[str] query_name: Identifier for the GitOps Argo project.
39
+ :param pulumi.Input[bool] upsert: Indicates if the argo project should be updated if existing and inserted if not.
40
40
  """
41
- pulumi.set(__self__, "account_id", account_id)
42
41
  pulumi.set(__self__, "agent_id", agent_id)
43
42
  pulumi.set(__self__, "projects", projects)
43
+ if account_id is not None:
44
+ warnings.warn("""This field is deprecated and will be removed in a future release.""", DeprecationWarning)
45
+ pulumi.log.warn("""account_id is deprecated: This field is deprecated and will be removed in a future release.""")
46
+ if account_id is not None:
47
+ pulumi.set(__self__, "account_id", account_id)
44
48
  if org_id is not None:
45
49
  pulumi.set(__self__, "org_id", org_id)
46
50
  if project_id is not None:
@@ -50,23 +54,11 @@ class GitopsAppProjectArgs:
50
54
  if upsert is not None:
51
55
  pulumi.set(__self__, "upsert", upsert)
52
56
 
53
- @property
54
- @pulumi.getter(name="accountId")
55
- def account_id(self) -> pulumi.Input[str]:
56
- """
57
- Account identifier of the GitOps project/agent.
58
- """
59
- return pulumi.get(self, "account_id")
60
-
61
- @account_id.setter
62
- def account_id(self, value: pulumi.Input[str]):
63
- pulumi.set(self, "account_id", value)
64
-
65
57
  @property
66
58
  @pulumi.getter(name="agentId")
67
59
  def agent_id(self) -> pulumi.Input[str]:
68
60
  """
69
- Agent identifier of the GitOps project. Project is created on agent scope.
61
+ Agent identifier of the agent where argo project will exist (include scope prefix)
70
62
  """
71
63
  return pulumi.get(self, "agent_id")
72
64
 
@@ -86,11 +78,24 @@ class GitopsAppProjectArgs:
86
78
  def projects(self, value: pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectArgs']]]):
87
79
  pulumi.set(self, "projects", value)
88
80
 
81
+ @property
82
+ @pulumi.getter(name="accountId")
83
+ @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""")
84
+ def account_id(self) -> Optional[pulumi.Input[str]]:
85
+ """
86
+ Account identifier of the GitOps Agent where argo project will exist.
87
+ """
88
+ return pulumi.get(self, "account_id")
89
+
90
+ @account_id.setter
91
+ def account_id(self, value: Optional[pulumi.Input[str]]):
92
+ pulumi.set(self, "account_id", value)
93
+
89
94
  @property
90
95
  @pulumi.getter(name="orgId")
91
96
  def org_id(self) -> Optional[pulumi.Input[str]]:
92
97
  """
93
- Org identifier of the GitOps agent for which project is created.
98
+ Org identifier of the GitOps Agent where argo project is to be created.
94
99
  """
95
100
  return pulumi.get(self, "org_id")
96
101
 
@@ -102,7 +107,7 @@ class GitopsAppProjectArgs:
102
107
  @pulumi.getter(name="projectId")
103
108
  def project_id(self) -> Optional[pulumi.Input[str]]:
104
109
  """
105
- Project identifier of the GitOps agent for which project is created.
110
+ Project identifier of the Gitops Agent where argo project is to be created.
106
111
  """
107
112
  return pulumi.get(self, "project_id")
108
113
 
@@ -114,7 +119,7 @@ class GitopsAppProjectArgs:
114
119
  @pulumi.getter(name="queryName")
115
120
  def query_name(self) -> Optional[pulumi.Input[str]]:
116
121
  """
117
- Identifier for the GitOps project.
122
+ Identifier for the GitOps Argo project.
118
123
  """
119
124
  return pulumi.get(self, "query_name")
120
125
 
@@ -126,7 +131,7 @@ class GitopsAppProjectArgs:
126
131
  @pulumi.getter
127
132
  def upsert(self) -> Optional[pulumi.Input[bool]]:
128
133
  """
129
- Indicates if the GitOps project should be updated if existing and inserted if not.
134
+ Indicates if the argo project should be updated if existing and inserted if not.
130
135
  """
131
136
  return pulumi.get(self, "upsert")
132
137
 
@@ -147,14 +152,17 @@ class _GitopsAppProjectState:
147
152
  upsert: Optional[pulumi.Input[bool]] = None):
148
153
  """
149
154
  Input properties used for looking up and filtering GitopsAppProject resources.
150
- :param pulumi.Input[str] account_id: Account identifier of the GitOps project/agent.
151
- :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. Project is created on agent scope.
152
- :param pulumi.Input[str] org_id: Org identifier of the GitOps agent for which project is created.
153
- :param pulumi.Input[str] project_id: Project identifier of the GitOps agent for which project is created.
155
+ :param pulumi.Input[str] account_id: Account identifier of the GitOps Agent where argo project will exist.
156
+ :param pulumi.Input[str] agent_id: Agent identifier of the agent where argo project will exist (include scope prefix)
157
+ :param pulumi.Input[str] org_id: Org identifier of the GitOps Agent where argo project is to be created.
158
+ :param pulumi.Input[str] project_id: Project identifier of the Gitops Agent where argo project is to be created.
154
159
  :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectArgs']]] projects: GitOps project configuration.
155
- :param pulumi.Input[str] query_name: Identifier for the GitOps project.
156
- :param pulumi.Input[bool] upsert: Indicates if the GitOps project should be updated if existing and inserted if not.
160
+ :param pulumi.Input[str] query_name: Identifier for the GitOps Argo project.
161
+ :param pulumi.Input[bool] upsert: Indicates if the argo project should be updated if existing and inserted if not.
157
162
  """
163
+ if account_id is not None:
164
+ warnings.warn("""This field is deprecated and will be removed in a future release.""", DeprecationWarning)
165
+ pulumi.log.warn("""account_id is deprecated: This field is deprecated and will be removed in a future release.""")
158
166
  if account_id is not None:
159
167
  pulumi.set(__self__, "account_id", account_id)
160
168
  if agent_id is not None:
@@ -172,9 +180,10 @@ class _GitopsAppProjectState:
172
180
 
173
181
  @property
174
182
  @pulumi.getter(name="accountId")
183
+ @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""")
175
184
  def account_id(self) -> Optional[pulumi.Input[str]]:
176
185
  """
177
- Account identifier of the GitOps project/agent.
186
+ Account identifier of the GitOps Agent where argo project will exist.
178
187
  """
179
188
  return pulumi.get(self, "account_id")
180
189
 
@@ -186,7 +195,7 @@ class _GitopsAppProjectState:
186
195
  @pulumi.getter(name="agentId")
187
196
  def agent_id(self) -> Optional[pulumi.Input[str]]:
188
197
  """
189
- Agent identifier of the GitOps project. Project is created on agent scope.
198
+ Agent identifier of the agent where argo project will exist (include scope prefix)
190
199
  """
191
200
  return pulumi.get(self, "agent_id")
192
201
 
@@ -198,7 +207,7 @@ class _GitopsAppProjectState:
198
207
  @pulumi.getter(name="orgId")
199
208
  def org_id(self) -> Optional[pulumi.Input[str]]:
200
209
  """
201
- Org identifier of the GitOps agent for which project is created.
210
+ Org identifier of the GitOps Agent where argo project is to be created.
202
211
  """
203
212
  return pulumi.get(self, "org_id")
204
213
 
@@ -210,7 +219,7 @@ class _GitopsAppProjectState:
210
219
  @pulumi.getter(name="projectId")
211
220
  def project_id(self) -> Optional[pulumi.Input[str]]:
212
221
  """
213
- Project identifier of the GitOps agent for which project is created.
222
+ Project identifier of the Gitops Agent where argo project is to be created.
214
223
  """
215
224
  return pulumi.get(self, "project_id")
216
225
 
@@ -234,7 +243,7 @@ class _GitopsAppProjectState:
234
243
  @pulumi.getter(name="queryName")
235
244
  def query_name(self) -> Optional[pulumi.Input[str]]:
236
245
  """
237
- Identifier for the GitOps project.
246
+ Identifier for the GitOps Argo project.
238
247
  """
239
248
  return pulumi.get(self, "query_name")
240
249
 
@@ -246,7 +255,7 @@ class _GitopsAppProjectState:
246
255
  @pulumi.getter
247
256
  def upsert(self) -> Optional[pulumi.Input[bool]]:
248
257
  """
249
- Indicates if the GitOps project should be updated if existing and inserted if not.
258
+ Indicates if the argo project should be updated if existing and inserted if not.
250
259
  """
251
260
  return pulumi.get(self, "upsert")
252
261
 
@@ -293,13 +302,13 @@ class GitopsAppProject(pulumi.CustomResource):
293
302
 
294
303
  :param str resource_name: The name of the resource.
295
304
  :param pulumi.ResourceOptions opts: Options for the resource.
296
- :param pulumi.Input[str] account_id: Account identifier of the GitOps project/agent.
297
- :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. Project is created on agent scope.
298
- :param pulumi.Input[str] org_id: Org identifier of the GitOps agent for which project is created.
299
- :param pulumi.Input[str] project_id: Project identifier of the GitOps agent for which project is created.
305
+ :param pulumi.Input[str] account_id: Account identifier of the GitOps Agent where argo project will exist.
306
+ :param pulumi.Input[str] agent_id: Agent identifier of the agent where argo project will exist (include scope prefix)
307
+ :param pulumi.Input[str] org_id: Org identifier of the GitOps Agent where argo project is to be created.
308
+ :param pulumi.Input[str] project_id: Project identifier of the Gitops Agent where argo project is to be created.
300
309
  :param pulumi.Input[Sequence[pulumi.Input[Union['GitopsAppProjectProjectArgs', 'GitopsAppProjectProjectArgsDict']]]] projects: GitOps project configuration.
301
- :param pulumi.Input[str] query_name: Identifier for the GitOps project.
302
- :param pulumi.Input[bool] upsert: Indicates if the GitOps project should be updated if existing and inserted if not.
310
+ :param pulumi.Input[str] query_name: Identifier for the GitOps Argo project.
311
+ :param pulumi.Input[bool] upsert: Indicates if the argo project should be updated if existing and inserted if not.
303
312
  """
304
313
  ...
305
314
  @overload
@@ -361,8 +370,6 @@ class GitopsAppProject(pulumi.CustomResource):
361
370
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
362
371
  __props__ = GitopsAppProjectArgs.__new__(GitopsAppProjectArgs)
363
372
 
364
- if account_id is None and not opts.urn:
365
- raise TypeError("Missing required property 'account_id'")
366
373
  __props__.__dict__["account_id"] = account_id
367
374
  if agent_id is None and not opts.urn:
368
375
  raise TypeError("Missing required property 'agent_id'")
@@ -398,13 +405,13 @@ class GitopsAppProject(pulumi.CustomResource):
398
405
  :param str resource_name: The unique name of the resulting resource.
399
406
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
400
407
  :param pulumi.ResourceOptions opts: Options for the resource.
401
- :param pulumi.Input[str] account_id: Account identifier of the GitOps project/agent.
402
- :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. Project is created on agent scope.
403
- :param pulumi.Input[str] org_id: Org identifier of the GitOps agent for which project is created.
404
- :param pulumi.Input[str] project_id: Project identifier of the GitOps agent for which project is created.
408
+ :param pulumi.Input[str] account_id: Account identifier of the GitOps Agent where argo project will exist.
409
+ :param pulumi.Input[str] agent_id: Agent identifier of the agent where argo project will exist (include scope prefix)
410
+ :param pulumi.Input[str] org_id: Org identifier of the GitOps Agent where argo project is to be created.
411
+ :param pulumi.Input[str] project_id: Project identifier of the Gitops Agent where argo project is to be created.
405
412
  :param pulumi.Input[Sequence[pulumi.Input[Union['GitopsAppProjectProjectArgs', 'GitopsAppProjectProjectArgsDict']]]] projects: GitOps project configuration.
406
- :param pulumi.Input[str] query_name: Identifier for the GitOps project.
407
- :param pulumi.Input[bool] upsert: Indicates if the GitOps project should be updated if existing and inserted if not.
413
+ :param pulumi.Input[str] query_name: Identifier for the GitOps Argo project.
414
+ :param pulumi.Input[bool] upsert: Indicates if the argo project should be updated if existing and inserted if not.
408
415
  """
409
416
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
410
417
 
@@ -421,9 +428,10 @@ class GitopsAppProject(pulumi.CustomResource):
421
428
 
422
429
  @property
423
430
  @pulumi.getter(name="accountId")
431
+ @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""")
424
432
  def account_id(self) -> pulumi.Output[str]:
425
433
  """
426
- Account identifier of the GitOps project/agent.
434
+ Account identifier of the GitOps Agent where argo project will exist.
427
435
  """
428
436
  return pulumi.get(self, "account_id")
429
437
 
@@ -431,7 +439,7 @@ class GitopsAppProject(pulumi.CustomResource):
431
439
  @pulumi.getter(name="agentId")
432
440
  def agent_id(self) -> pulumi.Output[str]:
433
441
  """
434
- Agent identifier of the GitOps project. Project is created on agent scope.
442
+ Agent identifier of the agent where argo project will exist (include scope prefix)
435
443
  """
436
444
  return pulumi.get(self, "agent_id")
437
445
 
@@ -439,7 +447,7 @@ class GitopsAppProject(pulumi.CustomResource):
439
447
  @pulumi.getter(name="orgId")
440
448
  def org_id(self) -> pulumi.Output[Optional[str]]:
441
449
  """
442
- Org identifier of the GitOps agent for which project is created.
450
+ Org identifier of the GitOps Agent where argo project is to be created.
443
451
  """
444
452
  return pulumi.get(self, "org_id")
445
453
 
@@ -447,7 +455,7 @@ class GitopsAppProject(pulumi.CustomResource):
447
455
  @pulumi.getter(name="projectId")
448
456
  def project_id(self) -> pulumi.Output[Optional[str]]:
449
457
  """
450
- Project identifier of the GitOps agent for which project is created.
458
+ Project identifier of the Gitops Agent where argo project is to be created.
451
459
  """
452
460
  return pulumi.get(self, "project_id")
453
461
 
@@ -463,7 +471,7 @@ class GitopsAppProject(pulumi.CustomResource):
463
471
  @pulumi.getter(name="queryName")
464
472
  def query_name(self) -> pulumi.Output[str]:
465
473
  """
466
- Identifier for the GitOps project.
474
+ Identifier for the GitOps Argo project.
467
475
  """
468
476
  return pulumi.get(self, "query_name")
469
477
 
@@ -471,7 +479,7 @@ class GitopsAppProject(pulumi.CustomResource):
471
479
  @pulumi.getter
472
480
  def upsert(self) -> pulumi.Output[Optional[bool]]:
473
481
  """
474
- Indicates if the GitOps project should be updated if existing and inserted if not.
482
+ Indicates if the argo project should be updated if existing and inserted if not.
475
483
  """
476
484
  return pulumi.get(self, "upsert")
477
485
 
@@ -19,36 +19,28 @@ __all__ = ['GitopsAppProjectMappingArgs', 'GitopsAppProjectMapping']
19
19
  @pulumi.input_type
20
20
  class GitopsAppProjectMappingArgs:
21
21
  def __init__(__self__, *,
22
- account_id: pulumi.Input[str],
23
22
  agent_id: pulumi.Input[str],
24
23
  argo_project_name: pulumi.Input[str],
25
24
  org_id: pulumi.Input[str],
26
- project_id: pulumi.Input[str]):
25
+ project_id: pulumi.Input[str],
26
+ account_id: Optional[pulumi.Input[str]] = None):
27
27
  """
28
28
  The set of arguments for constructing a GitopsAppProjectMapping resource.
29
- :param pulumi.Input[str] account_id: Account identifier of the GitOps agent's Application Project.
30
29
  :param pulumi.Input[str] agent_id: Agent identifier for which the ArgoCD and Harness project mapping is to be created.
31
30
  :param pulumi.Input[str] argo_project_name: ArgoCD Project name which is to be mapped to the Harness project.
32
31
  :param pulumi.Input[str] org_id: Organization identifier of the GitOps agent's Application Project.
33
32
  :param pulumi.Input[str] project_id: Project identifier of the GitOps agent's Application Project.
33
+ :param pulumi.Input[str] account_id: Account identifier of the GitOps agent's Application Project.
34
34
  """
35
- pulumi.set(__self__, "account_id", account_id)
36
35
  pulumi.set(__self__, "agent_id", agent_id)
37
36
  pulumi.set(__self__, "argo_project_name", argo_project_name)
38
37
  pulumi.set(__self__, "org_id", org_id)
39
38
  pulumi.set(__self__, "project_id", project_id)
40
-
41
- @property
42
- @pulumi.getter(name="accountId")
43
- def account_id(self) -> pulumi.Input[str]:
44
- """
45
- Account identifier of the GitOps agent's Application Project.
46
- """
47
- return pulumi.get(self, "account_id")
48
-
49
- @account_id.setter
50
- def account_id(self, value: pulumi.Input[str]):
51
- pulumi.set(self, "account_id", value)
39
+ if account_id is not None:
40
+ warnings.warn("""This field is deprecated and will be removed in a future release.""", DeprecationWarning)
41
+ pulumi.log.warn("""account_id is deprecated: This field is deprecated and will be removed in a future release.""")
42
+ if account_id is not None:
43
+ pulumi.set(__self__, "account_id", account_id)
52
44
 
53
45
  @property
54
46
  @pulumi.getter(name="agentId")
@@ -98,6 +90,19 @@ class GitopsAppProjectMappingArgs:
98
90
  def project_id(self, value: pulumi.Input[str]):
99
91
  pulumi.set(self, "project_id", value)
100
92
 
93
+ @property
94
+ @pulumi.getter(name="accountId")
95
+ @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""")
96
+ def account_id(self) -> Optional[pulumi.Input[str]]:
97
+ """
98
+ Account identifier of the GitOps agent's Application Project.
99
+ """
100
+ return pulumi.get(self, "account_id")
101
+
102
+ @account_id.setter
103
+ def account_id(self, value: Optional[pulumi.Input[str]]):
104
+ pulumi.set(self, "account_id", value)
105
+
101
106
 
102
107
  @pulumi.input_type
103
108
  class _GitopsAppProjectMappingState:
@@ -117,6 +122,9 @@ class _GitopsAppProjectMappingState:
117
122
  :param pulumi.Input[str] org_id: Organization identifier of the GitOps agent's Application Project.
118
123
  :param pulumi.Input[str] project_id: Project identifier of the GitOps agent's Application Project.
119
124
  """
125
+ if account_id is not None:
126
+ warnings.warn("""This field is deprecated and will be removed in a future release.""", DeprecationWarning)
127
+ pulumi.log.warn("""account_id is deprecated: This field is deprecated and will be removed in a future release.""")
120
128
  if account_id is not None:
121
129
  pulumi.set(__self__, "account_id", account_id)
122
130
  if agent_id is not None:
@@ -132,6 +140,7 @@ class _GitopsAppProjectMappingState:
132
140
 
133
141
  @property
134
142
  @pulumi.getter(name="accountId")
143
+ @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""")
135
144
  def account_id(self) -> Optional[pulumi.Input[str]]:
136
145
  """
137
146
  Account identifier of the GitOps agent's Application Project.
@@ -307,8 +316,6 @@ class GitopsAppProjectMapping(pulumi.CustomResource):
307
316
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
308
317
  __props__ = GitopsAppProjectMappingArgs.__new__(GitopsAppProjectMappingArgs)
309
318
 
310
- if account_id is None and not opts.urn:
311
- raise TypeError("Missing required property 'account_id'")
312
319
  __props__.__dict__["account_id"] = account_id
313
320
  if agent_id is None and not opts.urn:
314
321
  raise TypeError("Missing required property 'agent_id'")
@@ -367,6 +374,7 @@ class GitopsAppProjectMapping(pulumi.CustomResource):
367
374
 
368
375
  @property
369
376
  @pulumi.getter(name="accountId")
377
+ @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""")
370
378
  def account_id(self) -> pulumi.Output[str]:
371
379
  """
372
380
  Account identifier of the GitOps agent's Application Project.