pulumi-harness 0.5.0a1736833425__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 (311) hide show
  1. pulumi_harness/__init__.py +1257 -0
  2. pulumi_harness/_inputs.py +4025 -0
  3. pulumi_harness/_utilities.py +327 -0
  4. pulumi_harness/add_user_to_group.py +241 -0
  5. pulumi_harness/application.py +393 -0
  6. pulumi_harness/application_git_sync.py +411 -0
  7. pulumi_harness/autostopping/__init__.py +27 -0
  8. pulumi_harness/autostopping/_inputs.py +2688 -0
  9. pulumi_harness/autostopping/aws_alb.py +640 -0
  10. pulumi_harness/autostopping/aws_proxy.py +760 -0
  11. pulumi_harness/autostopping/azure_gateway.py +798 -0
  12. pulumi_harness/autostopping/azure_proxy.py +855 -0
  13. pulumi_harness/autostopping/gcp_proxy.py +779 -0
  14. pulumi_harness/autostopping/get_aws_alb.py +278 -0
  15. pulumi_harness/autostopping/get_aws_proxy.py +335 -0
  16. pulumi_harness/autostopping/get_azure_gateway.py +343 -0
  17. pulumi_harness/autostopping/get_azure_proxy.py +375 -0
  18. pulumi_harness/autostopping/get_gcp_proxy.py +340 -0
  19. pulumi_harness/autostopping/get_rule_ecs.py +225 -0
  20. pulumi_harness/autostopping/get_rule_rds.py +205 -0
  21. pulumi_harness/autostopping/get_rule_vm.py +265 -0
  22. pulumi_harness/autostopping/get_schedule.py +193 -0
  23. pulumi_harness/autostopping/outputs.py +1971 -0
  24. pulumi_harness/autostopping/rule_ecs.py +450 -0
  25. pulumi_harness/autostopping/rule_rds.py +448 -0
  26. pulumi_harness/autostopping/rule_vm.py +663 -0
  27. pulumi_harness/autostopping/schedule.py +465 -0
  28. pulumi_harness/cloudprovider/__init__.py +17 -0
  29. pulumi_harness/cloudprovider/_inputs.py +777 -0
  30. pulumi_harness/cloudprovider/aws.py +586 -0
  31. pulumi_harness/cloudprovider/azure.py +393 -0
  32. pulumi_harness/cloudprovider/datacenter.py +233 -0
  33. pulumi_harness/cloudprovider/gcp.py +340 -0
  34. pulumi_harness/cloudprovider/get_delegate_ids.py +148 -0
  35. pulumi_harness/cloudprovider/kubernetes.py +310 -0
  36. pulumi_harness/cloudprovider/outputs.py +657 -0
  37. pulumi_harness/cloudprovider/spot.py +296 -0
  38. pulumi_harness/cloudprovider/tanzu.py +441 -0
  39. pulumi_harness/cluster/__init__.py +9 -0
  40. pulumi_harness/cluster/get_orchestrator.py +134 -0
  41. pulumi_harness/cluster/orchestrator.py +286 -0
  42. pulumi_harness/config/__init__.py +8 -0
  43. pulumi_harness/config/__init__.pyi +40 -0
  44. pulumi_harness/config/vars.py +54 -0
  45. pulumi_harness/delegate_approval.py +267 -0
  46. pulumi_harness/encrypted_text.py +499 -0
  47. pulumi_harness/environment.py +446 -0
  48. pulumi_harness/get_application.py +180 -0
  49. pulumi_harness/get_current_account.py +108 -0
  50. pulumi_harness/get_delegate.py +280 -0
  51. pulumi_harness/get_encrypted_text.py +136 -0
  52. pulumi_harness/get_environment.py +184 -0
  53. pulumi_harness/get_git_connector.py +255 -0
  54. pulumi_harness/get_secret_manager.py +142 -0
  55. pulumi_harness/get_service.py +198 -0
  56. pulumi_harness/get_ssh_credential.py +122 -0
  57. pulumi_harness/get_sso_provider.py +114 -0
  58. pulumi_harness/get_trigger.py +177 -0
  59. pulumi_harness/get_user.py +184 -0
  60. pulumi_harness/get_user_group.py +100 -0
  61. pulumi_harness/get_yaml_config.py +142 -0
  62. pulumi_harness/git_connector.py +738 -0
  63. pulumi_harness/governance/__init__.py +13 -0
  64. pulumi_harness/governance/get_rule.py +168 -0
  65. pulumi_harness/governance/get_rule_enforcement.py +266 -0
  66. pulumi_harness/governance/get_rule_set.py +150 -0
  67. pulumi_harness/governance/rule.py +337 -0
  68. pulumi_harness/governance/rule_enforcement.py +668 -0
  69. pulumi_harness/governance/rule_set.py +321 -0
  70. pulumi_harness/infrastructure_definition.py +1246 -0
  71. pulumi_harness/outputs.py +3306 -0
  72. pulumi_harness/platform/__init__.py +220 -0
  73. pulumi_harness/platform/_inputs.py +22314 -0
  74. pulumi_harness/platform/app_dynamics_connector.py +733 -0
  75. pulumi_harness/platform/artifactory_connector.py +748 -0
  76. pulumi_harness/platform/aws_cc_connector.py +716 -0
  77. pulumi_harness/platform/aws_connector.py +851 -0
  78. pulumi_harness/platform/aws_kms_connector.py +619 -0
  79. pulumi_harness/platform/aws_secret_manager_connector.py +712 -0
  80. pulumi_harness/platform/azure_cloud_cost_connector.py +675 -0
  81. pulumi_harness/platform/azure_cloud_provider_connector.py +826 -0
  82. pulumi_harness/platform/azure_key_vault_connector.py +843 -0
  83. pulumi_harness/platform/bitbucket_connector.py +713 -0
  84. pulumi_harness/platform/connector_azure_artifacts.py +529 -0
  85. pulumi_harness/platform/connector_custom_secret_manager.py +887 -0
  86. pulumi_harness/platform/connector_customhealthsource.py +807 -0
  87. pulumi_harness/platform/connector_jdbc.py +609 -0
  88. pulumi_harness/platform/connector_pdc.py +527 -0
  89. pulumi_harness/platform/connector_rancher.py +617 -0
  90. pulumi_harness/platform/datadog_connector.py +651 -0
  91. pulumi_harness/platform/db_instance.py +636 -0
  92. pulumi_harness/platform/db_schema.py +547 -0
  93. pulumi_harness/platform/delegatetoken.py +520 -0
  94. pulumi_harness/platform/docker_connector.py +669 -0
  95. pulumi_harness/platform/dynatrace_connector.py +601 -0
  96. pulumi_harness/platform/elasticsearch_connector.py +744 -0
  97. pulumi_harness/platform/environment.py +1173 -0
  98. pulumi_harness/platform/environment_clusters_mapping.py +454 -0
  99. pulumi_harness/platform/environment_group.py +560 -0
  100. pulumi_harness/platform/environment_service_overrides.py +688 -0
  101. pulumi_harness/platform/feature_flag.py +724 -0
  102. pulumi_harness/platform/feature_flag_api_key.py +550 -0
  103. pulumi_harness/platform/feature_flag_target.py +473 -0
  104. pulumi_harness/platform/feature_flag_target_group.py +577 -0
  105. pulumi_harness/platform/file_store_file.py +822 -0
  106. pulumi_harness/platform/file_store_folder.py +628 -0
  107. pulumi_harness/platform/filters.py +511 -0
  108. pulumi_harness/platform/gcp_cloud_cost_connector.py +669 -0
  109. pulumi_harness/platform/gcp_connector.py +663 -0
  110. pulumi_harness/platform/gcp_secret_manager_connector.py +594 -0
  111. pulumi_harness/platform/get_api_key.py +292 -0
  112. pulumi_harness/platform/get_app_dynamics_connector.py +271 -0
  113. pulumi_harness/platform/get_artifactory_connector.py +243 -0
  114. pulumi_harness/platform/get_aws_cc_connector.py +271 -0
  115. pulumi_harness/platform/get_aws_connector.py +313 -0
  116. pulumi_harness/platform/get_aws_kms_connector.py +253 -0
  117. pulumi_harness/platform/get_aws_secret_manager_connector.py +267 -0
  118. pulumi_harness/platform/get_azure_cloud_cost_connector.py +257 -0
  119. pulumi_harness/platform/get_azure_cloud_provider_connector.py +257 -0
  120. pulumi_harness/platform/get_azure_key_vault_connector.py +308 -0
  121. pulumi_harness/platform/get_bitbucket_connector.py +285 -0
  122. pulumi_harness/platform/get_ccm_filters.py +221 -0
  123. pulumi_harness/platform/get_connector_custom_secret_manager.py +330 -0
  124. pulumi_harness/platform/get_connector_customhealthsource.py +281 -0
  125. pulumi_harness/platform/get_connector_jdbc.py +243 -0
  126. pulumi_harness/platform/get_connector_pdc.py +229 -0
  127. pulumi_harness/platform/get_connector_rancher.py +236 -0
  128. pulumi_harness/platform/get_current_account.py +126 -0
  129. pulumi_harness/platform/get_current_user.py +252 -0
  130. pulumi_harness/platform/get_datadog_connector.py +262 -0
  131. pulumi_harness/platform/get_db_instance.py +268 -0
  132. pulumi_harness/platform/get_db_schema.py +233 -0
  133. pulumi_harness/platform/get_delegatetoken.py +214 -0
  134. pulumi_harness/platform/get_docker_connector.py +257 -0
  135. pulumi_harness/platform/get_dynatrace_connector.py +242 -0
  136. pulumi_harness/platform/get_elasticsearch_connector.py +257 -0
  137. pulumi_harness/platform/get_environment.py +263 -0
  138. pulumi_harness/platform/get_environment_clusters_mapping.py +262 -0
  139. pulumi_harness/platform/get_environment_group.py +190 -0
  140. pulumi_harness/platform/get_environment_list.py +172 -0
  141. pulumi_harness/platform/get_environment_service_overrides.py +212 -0
  142. pulumi_harness/platform/get_file_store_file.py +327 -0
  143. pulumi_harness/platform/get_file_store_folder.py +271 -0
  144. pulumi_harness/platform/get_filters.py +217 -0
  145. pulumi_harness/platform/get_gcp_cloud_cost_connector.py +257 -0
  146. pulumi_harness/platform/get_gcp_connector.py +243 -0
  147. pulumi_harness/platform/get_gcp_secret_manager_connector.py +238 -0
  148. pulumi_harness/platform/get_git_connector.py +271 -0
  149. pulumi_harness/platform/get_github_connector.py +296 -0
  150. pulumi_harness/platform/get_gitlab_connector.py +285 -0
  151. pulumi_harness/platform/get_gitops_agent.py +303 -0
  152. pulumi_harness/platform/get_gitops_agent_deploy_yaml.py +257 -0
  153. pulumi_harness/platform/get_gitops_app_project.py +191 -0
  154. pulumi_harness/platform/get_gitops_app_project_mapping.py +189 -0
  155. pulumi_harness/platform/get_gitops_applications.py +351 -0
  156. pulumi_harness/platform/get_gitops_cluster.py +216 -0
  157. pulumi_harness/platform/get_gitops_gnupg.py +219 -0
  158. pulumi_harness/platform/get_gitops_repo_cert.py +155 -0
  159. pulumi_harness/platform/get_gitops_repo_cred.py +223 -0
  160. pulumi_harness/platform/get_gitops_repository.py +230 -0
  161. pulumi_harness/platform/get_gitx_webhook.py +194 -0
  162. pulumi_harness/platform/get_helm_connector.py +243 -0
  163. pulumi_harness/platform/get_iacm_default_pipeline.py +168 -0
  164. pulumi_harness/platform/get_infra_module.py +320 -0
  165. pulumi_harness/platform/get_infrastructure.py +287 -0
  166. pulumi_harness/platform/get_input_set.py +238 -0
  167. pulumi_harness/platform/get_jenkins_connector.py +243 -0
  168. pulumi_harness/platform/get_jira_connector.py +285 -0
  169. pulumi_harness/platform/get_kubernetes_cloud_cost_connector.py +228 -0
  170. pulumi_harness/platform/get_kubernetes_connector.py +285 -0
  171. pulumi_harness/platform/get_manual_freeze.py +305 -0
  172. pulumi_harness/platform/get_monitored_service.py +134 -0
  173. pulumi_harness/platform/get_nexus_connector.py +257 -0
  174. pulumi_harness/platform/get_notification_rule.py +156 -0
  175. pulumi_harness/platform/get_oci_helm_connector.py +243 -0
  176. pulumi_harness/platform/get_organization.py +156 -0
  177. pulumi_harness/platform/get_overrides.py +198 -0
  178. pulumi_harness/platform/get_pagerduty_connector.py +224 -0
  179. pulumi_harness/platform/get_permissions.py +149 -0
  180. pulumi_harness/platform/get_pipeline.py +268 -0
  181. pulumi_harness/platform/get_pipeline_filters.py +197 -0
  182. pulumi_harness/platform/get_pipeline_list.py +269 -0
  183. pulumi_harness/platform/get_policy.py +220 -0
  184. pulumi_harness/platform/get_policy_set.py +298 -0
  185. pulumi_harness/platform/get_project.py +210 -0
  186. pulumi_harness/platform/get_project_list.py +249 -0
  187. pulumi_harness/platform/get_prometheus_connector.py +271 -0
  188. pulumi_harness/platform/get_provider.py +85 -0
  189. pulumi_harness/platform/get_repo.py +362 -0
  190. pulumi_harness/platform/get_repo_rule_branch.py +312 -0
  191. pulumi_harness/platform/get_repo_webhook.py +316 -0
  192. pulumi_harness/platform/get_resource_group.py +267 -0
  193. pulumi_harness/platform/get_role_assignments.py +223 -0
  194. pulumi_harness/platform/get_roles.py +240 -0
  195. pulumi_harness/platform/get_secret_file.py +224 -0
  196. pulumi_harness/platform/get_secret_sshkey.py +239 -0
  197. pulumi_harness/platform/get_secret_text.py +264 -0
  198. pulumi_harness/platform/get_service.py +235 -0
  199. pulumi_harness/platform/get_service_account.py +224 -0
  200. pulumi_harness/platform/get_service_list.py +172 -0
  201. pulumi_harness/platform/get_service_now_connector.py +285 -0
  202. pulumi_harness/platform/get_service_overrides_v2.py +220 -0
  203. pulumi_harness/platform/get_slo.py +134 -0
  204. pulumi_harness/platform/get_splunk_connector.py +270 -0
  205. pulumi_harness/platform/get_spot_connector.py +215 -0
  206. pulumi_harness/platform/get_sumologic_connector.py +256 -0
  207. pulumi_harness/platform/get_tas_connector.py +243 -0
  208. pulumi_harness/platform/get_template.py +386 -0
  209. pulumi_harness/platform/get_template_filters.py +221 -0
  210. pulumi_harness/platform/get_terraform_cloud_connector.py +233 -0
  211. pulumi_harness/platform/get_token.py +430 -0
  212. pulumi_harness/platform/get_triggers.py +260 -0
  213. pulumi_harness/platform/get_user.py +222 -0
  214. pulumi_harness/platform/get_usergroup.py +340 -0
  215. pulumi_harness/platform/get_variables.py +209 -0
  216. pulumi_harness/platform/get_vault_connector.py +574 -0
  217. pulumi_harness/platform/get_workspace.py +411 -0
  218. pulumi_harness/platform/get_workspace_output_value.py +168 -0
  219. pulumi_harness/platform/git_connector.py +713 -0
  220. pulumi_harness/platform/git_ops_agent.py +727 -0
  221. pulumi_harness/platform/git_ops_applications.py +1090 -0
  222. pulumi_harness/platform/git_ops_cluster.py +438 -0
  223. pulumi_harness/platform/git_ops_gnupg.py +453 -0
  224. pulumi_harness/platform/git_ops_repo_cert.py +437 -0
  225. pulumi_harness/platform/git_ops_repo_cred.py +533 -0
  226. pulumi_harness/platform/git_ops_repository.py +831 -0
  227. pulumi_harness/platform/github_connector.py +807 -0
  228. pulumi_harness/platform/gitlab_connector.py +713 -0
  229. pulumi_harness/platform/gitops_app_project.py +485 -0
  230. pulumi_harness/platform/gitops_app_project_mapping.py +423 -0
  231. pulumi_harness/platform/gitx_webhook.py +616 -0
  232. pulumi_harness/platform/helm_connector.py +617 -0
  233. pulumi_harness/platform/iacm_default_pipeline.py +343 -0
  234. pulumi_harness/platform/infra_module.py +755 -0
  235. pulumi_harness/platform/infrastructure.py +937 -0
  236. pulumi_harness/platform/input_set.py +689 -0
  237. pulumi_harness/platform/jenkins_connector.py +566 -0
  238. pulumi_harness/platform/jira_connector.py +714 -0
  239. pulumi_harness/platform/kubernetes_cloud_cost_connector.py +558 -0
  240. pulumi_harness/platform/kubernetes_connector.py +895 -0
  241. pulumi_harness/platform/manual_freeze.py +835 -0
  242. pulumi_harness/platform/monitored_service.py +1984 -0
  243. pulumi_harness/platform/newrelic_connector.py +651 -0
  244. pulumi_harness/platform/nexus_connector.py +622 -0
  245. pulumi_harness/platform/notification_rule.py +526 -0
  246. pulumi_harness/platform/oci_helm_connector.py +617 -0
  247. pulumi_harness/platform/organization.py +336 -0
  248. pulumi_harness/platform/outputs.py +23361 -0
  249. pulumi_harness/platform/overrides.py +669 -0
  250. pulumi_harness/platform/pagerduty_connector.py +547 -0
  251. pulumi_harness/platform/pipeline.py +991 -0
  252. pulumi_harness/platform/pipeline_filters.py +711 -0
  253. pulumi_harness/platform/policy.py +944 -0
  254. pulumi_harness/platform/policy_set.py +594 -0
  255. pulumi_harness/platform/project.py +453 -0
  256. pulumi_harness/platform/prometheus_connector.py +710 -0
  257. pulumi_harness/platform/provider.py +349 -0
  258. pulumi_harness/platform/repo.py +737 -0
  259. pulumi_harness/platform/repo_rule_branch.py +645 -0
  260. pulumi_harness/platform/repo_webhook.py +664 -0
  261. pulumi_harness/platform/resource_group.py +718 -0
  262. pulumi_harness/platform/role_assignments.py +524 -0
  263. pulumi_harness/platform/roles.py +546 -0
  264. pulumi_harness/platform/secret_file.py +548 -0
  265. pulumi_harness/platform/secret_sshkey.py +569 -0
  266. pulumi_harness/platform/secret_text.py +620 -0
  267. pulumi_harness/platform/service.py +1195 -0
  268. pulumi_harness/platform/service_account.py +548 -0
  269. pulumi_harness/platform/service_now_connector.py +714 -0
  270. pulumi_harness/platform/service_overrides_v2.py +915 -0
  271. pulumi_harness/platform/slo.py +462 -0
  272. pulumi_harness/platform/splunk_connector.py +701 -0
  273. pulumi_harness/platform/spot_connector.py +452 -0
  274. pulumi_harness/platform/sumologic_connector.py +651 -0
  275. pulumi_harness/platform/tas_connector.py +570 -0
  276. pulumi_harness/platform/template.py +861 -0
  277. pulumi_harness/platform/template_filters.py +515 -0
  278. pulumi_harness/platform/terraform_cloud_connector.py +545 -0
  279. pulumi_harness/platform/token.py +977 -0
  280. pulumi_harness/platform/triggers.py +680 -0
  281. pulumi_harness/platform/user.py +522 -0
  282. pulumi_harness/platform/usergroup.py +1104 -0
  283. pulumi_harness/platform/variables.py +509 -0
  284. pulumi_harness/platform/vault_connector.py +1919 -0
  285. pulumi_harness/platform/workspace.py +1145 -0
  286. pulumi_harness/platform_api_key.py +617 -0
  287. pulumi_harness/platform_ccm_filters.py +515 -0
  288. pulumi_harness/provider.py +227 -0
  289. pulumi_harness/pulumi-plugin.json +6 -0
  290. pulumi_harness/py.typed +0 -0
  291. pulumi_harness/service/__init__.py +18 -0
  292. pulumi_harness/service/_inputs.py +660 -0
  293. pulumi_harness/service/ami.py +336 -0
  294. pulumi_harness/service/codedeploy.py +336 -0
  295. pulumi_harness/service/ecs.py +336 -0
  296. pulumi_harness/service/helm.py +336 -0
  297. pulumi_harness/service/kubernetes.py +409 -0
  298. pulumi_harness/service/lambda_.py +336 -0
  299. pulumi_harness/service/outputs.py +388 -0
  300. pulumi_harness/service/ssh.py +386 -0
  301. pulumi_harness/service/tanzu.py +336 -0
  302. pulumi_harness/service/winrm.py +386 -0
  303. pulumi_harness/ssh_credential.py +361 -0
  304. pulumi_harness/user.py +423 -0
  305. pulumi_harness/user_group.py +713 -0
  306. pulumi_harness/user_group_permissions.py +247 -0
  307. pulumi_harness/yaml_config.py +336 -0
  308. pulumi_harness-0.5.0a1736833425.dist-info/METADATA +69 -0
  309. pulumi_harness-0.5.0a1736833425.dist-info/RECORD +311 -0
  310. pulumi_harness-0.5.0a1736833425.dist-info/WHEEL +5 -0
  311. pulumi_harness-0.5.0a1736833425.dist-info/top_level.txt +1 -0
@@ -0,0 +1,303 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetGitopsAgentResult',
20
+ 'AwaitableGetGitopsAgentResult',
21
+ 'get_gitops_agent',
22
+ 'get_gitops_agent_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetGitopsAgentResult:
27
+ """
28
+ A collection of values returned by getGitopsAgent.
29
+ """
30
+ def __init__(__self__, account_id=None, agent_token=None, description=None, id=None, identifier=None, is_authenticated=None, metadatas=None, name=None, operator=None, org_id=None, prefixed_identifier=None, project_id=None, tags=None, type=None, with_credentials=None):
31
+ if account_id and not isinstance(account_id, str):
32
+ raise TypeError("Expected argument 'account_id' to be a str")
33
+ pulumi.set(__self__, "account_id", account_id)
34
+ if agent_token and not isinstance(agent_token, str):
35
+ raise TypeError("Expected argument 'agent_token' to be a str")
36
+ pulumi.set(__self__, "agent_token", agent_token)
37
+ if description and not isinstance(description, str):
38
+ raise TypeError("Expected argument 'description' to be a str")
39
+ pulumi.set(__self__, "description", description)
40
+ if id and not isinstance(id, str):
41
+ raise TypeError("Expected argument 'id' to be a str")
42
+ pulumi.set(__self__, "id", id)
43
+ if identifier and not isinstance(identifier, str):
44
+ raise TypeError("Expected argument 'identifier' to be a str")
45
+ pulumi.set(__self__, "identifier", identifier)
46
+ if is_authenticated and not isinstance(is_authenticated, bool):
47
+ raise TypeError("Expected argument 'is_authenticated' to be a bool")
48
+ pulumi.set(__self__, "is_authenticated", is_authenticated)
49
+ if metadatas and not isinstance(metadatas, list):
50
+ raise TypeError("Expected argument 'metadatas' to be a list")
51
+ pulumi.set(__self__, "metadatas", metadatas)
52
+ if name and not isinstance(name, str):
53
+ raise TypeError("Expected argument 'name' to be a str")
54
+ pulumi.set(__self__, "name", name)
55
+ if operator and not isinstance(operator, str):
56
+ raise TypeError("Expected argument 'operator' to be a str")
57
+ pulumi.set(__self__, "operator", operator)
58
+ if org_id and not isinstance(org_id, str):
59
+ raise TypeError("Expected argument 'org_id' to be a str")
60
+ pulumi.set(__self__, "org_id", org_id)
61
+ if prefixed_identifier and not isinstance(prefixed_identifier, str):
62
+ raise TypeError("Expected argument 'prefixed_identifier' to be a str")
63
+ pulumi.set(__self__, "prefixed_identifier", prefixed_identifier)
64
+ if project_id and not isinstance(project_id, str):
65
+ raise TypeError("Expected argument 'project_id' to be a str")
66
+ pulumi.set(__self__, "project_id", project_id)
67
+ if tags and not isinstance(tags, dict):
68
+ raise TypeError("Expected argument 'tags' to be a dict")
69
+ pulumi.set(__self__, "tags", tags)
70
+ if type and not isinstance(type, str):
71
+ raise TypeError("Expected argument 'type' to be a str")
72
+ pulumi.set(__self__, "type", type)
73
+ if with_credentials and not isinstance(with_credentials, bool):
74
+ raise TypeError("Expected argument 'with_credentials' to be a bool")
75
+ pulumi.set(__self__, "with_credentials", with_credentials)
76
+
77
+ @property
78
+ @pulumi.getter(name="accountId")
79
+ @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""")
80
+ def account_id(self) -> str:
81
+ """
82
+ Account identifier of the GitOps agent.
83
+ """
84
+ return pulumi.get(self, "account_id")
85
+
86
+ @property
87
+ @pulumi.getter(name="agentToken")
88
+ def agent_token(self) -> str:
89
+ """
90
+ Agent token to be used for authentication of the agent with Harness.
91
+ """
92
+ return pulumi.get(self, "agent_token")
93
+
94
+ @property
95
+ @pulumi.getter
96
+ def description(self) -> str:
97
+ """
98
+ Description of the GitOps agent.
99
+ """
100
+ return pulumi.get(self, "description")
101
+
102
+ @property
103
+ @pulumi.getter
104
+ def id(self) -> str:
105
+ """
106
+ The provider-assigned unique ID for this managed resource.
107
+ """
108
+ return pulumi.get(self, "id")
109
+
110
+ @property
111
+ @pulumi.getter
112
+ def identifier(self) -> str:
113
+ """
114
+ Identifier of the GitOps agent.
115
+ """
116
+ return pulumi.get(self, "identifier")
117
+
118
+ @property
119
+ @pulumi.getter(name="isAuthenticated")
120
+ def is_authenticated(self) -> bool:
121
+ """
122
+ This computed field specifies if the referenced agent ever successfully connected and was authenticated to harness. Note that this is different from whether the agent is currently connected. \\n\\nSet with_credentials to true to allow computing of this field.\\n\\n For retrieval of this information, the user associated to the token being used must have Gitops Agent Edit permissions
123
+ """
124
+ return pulumi.get(self, "is_authenticated")
125
+
126
+ @property
127
+ @pulumi.getter
128
+ def metadatas(self) -> Sequence['outputs.GetGitopsAgentMetadataResult']:
129
+ """
130
+ Metadata of the agent.
131
+ """
132
+ return pulumi.get(self, "metadatas")
133
+
134
+ @property
135
+ @pulumi.getter
136
+ def name(self) -> str:
137
+ """
138
+ Name of the GitOps agent.
139
+ """
140
+ return pulumi.get(self, "name")
141
+
142
+ @property
143
+ @pulumi.getter
144
+ def operator(self) -> str:
145
+ """
146
+ The Operator to use for the Harness GitOps agent. Enum: "ARGO" "FLAMINGO"
147
+ """
148
+ return pulumi.get(self, "operator")
149
+
150
+ @property
151
+ @pulumi.getter(name="orgId")
152
+ def org_id(self) -> Optional[str]:
153
+ """
154
+ Organization identifier of the GitOps agent.
155
+ """
156
+ return pulumi.get(self, "org_id")
157
+
158
+ @property
159
+ @pulumi.getter(name="prefixedIdentifier")
160
+ def prefixed_identifier(self) -> str:
161
+ """
162
+ Prefixed identifier of the GitOps agent. Agent identifier prefixed with scope of the agent
163
+ """
164
+ return pulumi.get(self, "prefixed_identifier")
165
+
166
+ @property
167
+ @pulumi.getter(name="projectId")
168
+ def project_id(self) -> Optional[str]:
169
+ """
170
+ Project identifier of the GitOps agent.
171
+ """
172
+ return pulumi.get(self, "project_id")
173
+
174
+ @property
175
+ @pulumi.getter
176
+ def tags(self) -> Mapping[str, str]:
177
+ """
178
+ Tags for the GitOps agents. These can be used to search or filter the GitOps agents.
179
+ """
180
+ return pulumi.get(self, "tags")
181
+
182
+ @property
183
+ @pulumi.getter
184
+ def type(self) -> str:
185
+ """
186
+ Default: "AGENT*TYPE*UNSET"
187
+ Enum: "AGENT*TYPE*UNSET" "CONNECTED*ARGO*PROVIDER" "MANAGED*ARGO*PROVIDER"
188
+ """
189
+ return pulumi.get(self, "type")
190
+
191
+ @property
192
+ @pulumi.getter(name="withCredentials")
193
+ def with_credentials(self) -> Optional[bool]:
194
+ """
195
+ Specify whether to retrieve the gitops agent's token. (The field agent_token will be populated only if the agent has never connected to Harness before). For retrieval of this information, the user associated to the token being used must have Gitops Agent Edit permissions
196
+ """
197
+ return pulumi.get(self, "with_credentials")
198
+
199
+
200
+ class AwaitableGetGitopsAgentResult(GetGitopsAgentResult):
201
+ # pylint: disable=using-constant-test
202
+ def __await__(self):
203
+ if False:
204
+ yield self
205
+ return GetGitopsAgentResult(
206
+ account_id=self.account_id,
207
+ agent_token=self.agent_token,
208
+ description=self.description,
209
+ id=self.id,
210
+ identifier=self.identifier,
211
+ is_authenticated=self.is_authenticated,
212
+ metadatas=self.metadatas,
213
+ name=self.name,
214
+ operator=self.operator,
215
+ org_id=self.org_id,
216
+ prefixed_identifier=self.prefixed_identifier,
217
+ project_id=self.project_id,
218
+ tags=self.tags,
219
+ type=self.type,
220
+ with_credentials=self.with_credentials)
221
+
222
+
223
+ def get_gitops_agent(account_id: Optional[str] = None,
224
+ identifier: Optional[str] = None,
225
+ org_id: Optional[str] = None,
226
+ project_id: Optional[str] = None,
227
+ with_credentials: Optional[bool] = None,
228
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitopsAgentResult:
229
+ """
230
+ Datasource for fetching a Harness GitOps Agent.
231
+
232
+
233
+ :param str account_id: Account identifier of the GitOps agent.
234
+ :param str identifier: Identifier of the GitOps agent.
235
+ :param str org_id: Organization identifier of the GitOps agent.
236
+ :param str project_id: Project identifier of the GitOps agent.
237
+ :param bool with_credentials: Specify whether to retrieve the gitops agent's token. (The field agent_token will be populated only if the agent has never connected to Harness before). For retrieval of this information, the user associated to the token being used must have Gitops Agent Edit permissions
238
+ """
239
+ __args__ = dict()
240
+ __args__['accountId'] = account_id
241
+ __args__['identifier'] = identifier
242
+ __args__['orgId'] = org_id
243
+ __args__['projectId'] = project_id
244
+ __args__['withCredentials'] = with_credentials
245
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
246
+ __ret__ = pulumi.runtime.invoke('harness:platform/getGitopsAgent:getGitopsAgent', __args__, opts=opts, typ=GetGitopsAgentResult).value
247
+
248
+ return AwaitableGetGitopsAgentResult(
249
+ account_id=pulumi.get(__ret__, 'account_id'),
250
+ agent_token=pulumi.get(__ret__, 'agent_token'),
251
+ description=pulumi.get(__ret__, 'description'),
252
+ id=pulumi.get(__ret__, 'id'),
253
+ identifier=pulumi.get(__ret__, 'identifier'),
254
+ is_authenticated=pulumi.get(__ret__, 'is_authenticated'),
255
+ metadatas=pulumi.get(__ret__, 'metadatas'),
256
+ name=pulumi.get(__ret__, 'name'),
257
+ operator=pulumi.get(__ret__, 'operator'),
258
+ org_id=pulumi.get(__ret__, 'org_id'),
259
+ prefixed_identifier=pulumi.get(__ret__, 'prefixed_identifier'),
260
+ project_id=pulumi.get(__ret__, 'project_id'),
261
+ tags=pulumi.get(__ret__, 'tags'),
262
+ type=pulumi.get(__ret__, 'type'),
263
+ with_credentials=pulumi.get(__ret__, 'with_credentials'))
264
+ def get_gitops_agent_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
265
+ identifier: Optional[pulumi.Input[str]] = None,
266
+ org_id: Optional[pulumi.Input[Optional[str]]] = None,
267
+ project_id: Optional[pulumi.Input[Optional[str]]] = None,
268
+ with_credentials: Optional[pulumi.Input[Optional[bool]]] = None,
269
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitopsAgentResult]:
270
+ """
271
+ Datasource for fetching a Harness GitOps Agent.
272
+
273
+
274
+ :param str account_id: Account identifier of the GitOps agent.
275
+ :param str identifier: Identifier of the GitOps agent.
276
+ :param str org_id: Organization identifier of the GitOps agent.
277
+ :param str project_id: Project identifier of the GitOps agent.
278
+ :param bool with_credentials: Specify whether to retrieve the gitops agent's token. (The field agent_token will be populated only if the agent has never connected to Harness before). For retrieval of this information, the user associated to the token being used must have Gitops Agent Edit permissions
279
+ """
280
+ __args__ = dict()
281
+ __args__['accountId'] = account_id
282
+ __args__['identifier'] = identifier
283
+ __args__['orgId'] = org_id
284
+ __args__['projectId'] = project_id
285
+ __args__['withCredentials'] = with_credentials
286
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
287
+ __ret__ = pulumi.runtime.invoke_output('harness:platform/getGitopsAgent:getGitopsAgent', __args__, opts=opts, typ=GetGitopsAgentResult)
288
+ return __ret__.apply(lambda __response__: GetGitopsAgentResult(
289
+ account_id=pulumi.get(__response__, 'account_id'),
290
+ agent_token=pulumi.get(__response__, 'agent_token'),
291
+ description=pulumi.get(__response__, 'description'),
292
+ id=pulumi.get(__response__, 'id'),
293
+ identifier=pulumi.get(__response__, 'identifier'),
294
+ is_authenticated=pulumi.get(__response__, 'is_authenticated'),
295
+ metadatas=pulumi.get(__response__, 'metadatas'),
296
+ name=pulumi.get(__response__, 'name'),
297
+ operator=pulumi.get(__response__, 'operator'),
298
+ org_id=pulumi.get(__response__, 'org_id'),
299
+ prefixed_identifier=pulumi.get(__response__, 'prefixed_identifier'),
300
+ project_id=pulumi.get(__response__, 'project_id'),
301
+ tags=pulumi.get(__response__, 'tags'),
302
+ type=pulumi.get(__response__, 'type'),
303
+ with_credentials=pulumi.get(__response__, 'with_credentials')))
@@ -0,0 +1,257 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = [
20
+ 'GetGitopsAgentDeployYamlResult',
21
+ 'AwaitableGetGitopsAgentDeployYamlResult',
22
+ 'get_gitops_agent_deploy_yaml',
23
+ 'get_gitops_agent_deploy_yaml_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetGitopsAgentDeployYamlResult:
28
+ """
29
+ A collection of values returned by getGitopsAgentDeployYaml.
30
+ """
31
+ def __init__(__self__, account_id=None, ca_data=None, id=None, identifier=None, namespace=None, org_id=None, project_id=None, proxies=None, yaml=None):
32
+ if account_id and not isinstance(account_id, str):
33
+ raise TypeError("Expected argument 'account_id' to be a str")
34
+ pulumi.set(__self__, "account_id", account_id)
35
+ if ca_data and not isinstance(ca_data, str):
36
+ raise TypeError("Expected argument 'ca_data' to be a str")
37
+ pulumi.set(__self__, "ca_data", ca_data)
38
+ if id and not isinstance(id, str):
39
+ raise TypeError("Expected argument 'id' to be a str")
40
+ pulumi.set(__self__, "id", id)
41
+ if identifier and not isinstance(identifier, str):
42
+ raise TypeError("Expected argument 'identifier' to be a str")
43
+ pulumi.set(__self__, "identifier", identifier)
44
+ if namespace and not isinstance(namespace, str):
45
+ raise TypeError("Expected argument 'namespace' to be a str")
46
+ pulumi.set(__self__, "namespace", namespace)
47
+ if org_id and not isinstance(org_id, str):
48
+ raise TypeError("Expected argument 'org_id' to be a str")
49
+ pulumi.set(__self__, "org_id", org_id)
50
+ if project_id and not isinstance(project_id, str):
51
+ raise TypeError("Expected argument 'project_id' to be a str")
52
+ pulumi.set(__self__, "project_id", project_id)
53
+ if proxies and not isinstance(proxies, list):
54
+ raise TypeError("Expected argument 'proxies' to be a list")
55
+ pulumi.set(__self__, "proxies", proxies)
56
+ if yaml and not isinstance(yaml, str):
57
+ raise TypeError("Expected argument 'yaml' to be a str")
58
+ pulumi.set(__self__, "yaml", yaml)
59
+
60
+ @property
61
+ @pulumi.getter(name="accountId")
62
+ @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""")
63
+ def account_id(self) -> str:
64
+ """
65
+ Account identifier of the GitOps agent.
66
+ """
67
+ return pulumi.get(self, "account_id")
68
+
69
+ @property
70
+ @pulumi.getter(name="caData")
71
+ def ca_data(self) -> Optional[str]:
72
+ """
73
+ CA data of the GitOps agent, base64 encoded content of ca chain.
74
+ """
75
+ return pulumi.get(self, "ca_data")
76
+
77
+ @property
78
+ @pulumi.getter
79
+ def id(self) -> str:
80
+ """
81
+ The provider-assigned unique ID for this managed resource.
82
+ """
83
+ return pulumi.get(self, "id")
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def identifier(self) -> str:
88
+ """
89
+ Identifier of the GitOps agent.
90
+ """
91
+ return pulumi.get(self, "identifier")
92
+
93
+ @property
94
+ @pulumi.getter
95
+ def namespace(self) -> str:
96
+ """
97
+ The kubernetes namespace where the agent is installed.
98
+ """
99
+ return pulumi.get(self, "namespace")
100
+
101
+ @property
102
+ @pulumi.getter(name="orgId")
103
+ def org_id(self) -> Optional[str]:
104
+ """
105
+ Organization identifier of the GitOps agent.
106
+ """
107
+ return pulumi.get(self, "org_id")
108
+
109
+ @property
110
+ @pulumi.getter(name="projectId")
111
+ def project_id(self) -> Optional[str]:
112
+ """
113
+ Project identifier of the GitOps agent.
114
+ """
115
+ return pulumi.get(self, "project_id")
116
+
117
+ @property
118
+ @pulumi.getter
119
+ def proxies(self) -> Optional[Sequence['outputs.GetGitopsAgentDeployYamlProxyResult']]:
120
+ """
121
+ Proxy settings for the GitOps agent.
122
+ """
123
+ return pulumi.get(self, "proxies")
124
+
125
+ @property
126
+ @pulumi.getter
127
+ def yaml(self) -> str:
128
+ """
129
+ The deployment manifest YAML of the GitOps agent.
130
+ """
131
+ return pulumi.get(self, "yaml")
132
+
133
+
134
+ class AwaitableGetGitopsAgentDeployYamlResult(GetGitopsAgentDeployYamlResult):
135
+ # pylint: disable=using-constant-test
136
+ def __await__(self):
137
+ if False:
138
+ yield self
139
+ return GetGitopsAgentDeployYamlResult(
140
+ account_id=self.account_id,
141
+ ca_data=self.ca_data,
142
+ id=self.id,
143
+ identifier=self.identifier,
144
+ namespace=self.namespace,
145
+ org_id=self.org_id,
146
+ project_id=self.project_id,
147
+ proxies=self.proxies,
148
+ yaml=self.yaml)
149
+
150
+
151
+ def get_gitops_agent_deploy_yaml(account_id: Optional[str] = None,
152
+ ca_data: Optional[str] = None,
153
+ identifier: Optional[str] = None,
154
+ namespace: Optional[str] = None,
155
+ org_id: Optional[str] = None,
156
+ project_id: Optional[str] = None,
157
+ proxies: Optional[Sequence[Union['GetGitopsAgentDeployYamlProxyArgs', 'GetGitopsAgentDeployYamlProxyArgsDict']]] = None,
158
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitopsAgentDeployYamlResult:
159
+ """
160
+ Datasource for fetching a Harness Gitops Agent deployment manifest YAML.
161
+
162
+ ## Example Usage
163
+
164
+ ```python
165
+ import pulumi
166
+ import pulumi_harness as harness
167
+
168
+ example = harness.platform.get_gitops_agent_deploy_yaml(identifier="identifier",
169
+ account_id="account_id",
170
+ project_id="project_id",
171
+ org_id="org_id",
172
+ namespace="namespace")
173
+ ```
174
+
175
+
176
+ :param str account_id: Account identifier of the GitOps agent.
177
+ :param str ca_data: CA data of the GitOps agent, base64 encoded content of ca chain.
178
+ :param str identifier: Identifier of the GitOps agent.
179
+ :param str namespace: The kubernetes namespace where the agent is installed.
180
+ :param str org_id: Organization identifier of the GitOps agent.
181
+ :param str project_id: Project identifier of the GitOps agent.
182
+ :param Sequence[Union['GetGitopsAgentDeployYamlProxyArgs', 'GetGitopsAgentDeployYamlProxyArgsDict']] proxies: Proxy settings for the GitOps agent.
183
+ """
184
+ __args__ = dict()
185
+ __args__['accountId'] = account_id
186
+ __args__['caData'] = ca_data
187
+ __args__['identifier'] = identifier
188
+ __args__['namespace'] = namespace
189
+ __args__['orgId'] = org_id
190
+ __args__['projectId'] = project_id
191
+ __args__['proxies'] = proxies
192
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
193
+ __ret__ = pulumi.runtime.invoke('harness:platform/getGitopsAgentDeployYaml:getGitopsAgentDeployYaml', __args__, opts=opts, typ=GetGitopsAgentDeployYamlResult).value
194
+
195
+ return AwaitableGetGitopsAgentDeployYamlResult(
196
+ account_id=pulumi.get(__ret__, 'account_id'),
197
+ ca_data=pulumi.get(__ret__, 'ca_data'),
198
+ id=pulumi.get(__ret__, 'id'),
199
+ identifier=pulumi.get(__ret__, 'identifier'),
200
+ namespace=pulumi.get(__ret__, 'namespace'),
201
+ org_id=pulumi.get(__ret__, 'org_id'),
202
+ project_id=pulumi.get(__ret__, 'project_id'),
203
+ proxies=pulumi.get(__ret__, 'proxies'),
204
+ yaml=pulumi.get(__ret__, 'yaml'))
205
+ def get_gitops_agent_deploy_yaml_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
206
+ ca_data: Optional[pulumi.Input[Optional[str]]] = None,
207
+ identifier: Optional[pulumi.Input[str]] = None,
208
+ namespace: Optional[pulumi.Input[str]] = None,
209
+ org_id: Optional[pulumi.Input[Optional[str]]] = None,
210
+ project_id: Optional[pulumi.Input[Optional[str]]] = None,
211
+ proxies: Optional[pulumi.Input[Optional[Sequence[Union['GetGitopsAgentDeployYamlProxyArgs', 'GetGitopsAgentDeployYamlProxyArgsDict']]]]] = None,
212
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitopsAgentDeployYamlResult]:
213
+ """
214
+ Datasource for fetching a Harness Gitops Agent deployment manifest YAML.
215
+
216
+ ## Example Usage
217
+
218
+ ```python
219
+ import pulumi
220
+ import pulumi_harness as harness
221
+
222
+ example = harness.platform.get_gitops_agent_deploy_yaml(identifier="identifier",
223
+ account_id="account_id",
224
+ project_id="project_id",
225
+ org_id="org_id",
226
+ namespace="namespace")
227
+ ```
228
+
229
+
230
+ :param str account_id: Account identifier of the GitOps agent.
231
+ :param str ca_data: CA data of the GitOps agent, base64 encoded content of ca chain.
232
+ :param str identifier: Identifier of the GitOps agent.
233
+ :param str namespace: The kubernetes namespace where the agent is installed.
234
+ :param str org_id: Organization identifier of the GitOps agent.
235
+ :param str project_id: Project identifier of the GitOps agent.
236
+ :param Sequence[Union['GetGitopsAgentDeployYamlProxyArgs', 'GetGitopsAgentDeployYamlProxyArgsDict']] proxies: Proxy settings for the GitOps agent.
237
+ """
238
+ __args__ = dict()
239
+ __args__['accountId'] = account_id
240
+ __args__['caData'] = ca_data
241
+ __args__['identifier'] = identifier
242
+ __args__['namespace'] = namespace
243
+ __args__['orgId'] = org_id
244
+ __args__['projectId'] = project_id
245
+ __args__['proxies'] = proxies
246
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
247
+ __ret__ = pulumi.runtime.invoke_output('harness:platform/getGitopsAgentDeployYaml:getGitopsAgentDeployYaml', __args__, opts=opts, typ=GetGitopsAgentDeployYamlResult)
248
+ return __ret__.apply(lambda __response__: GetGitopsAgentDeployYamlResult(
249
+ account_id=pulumi.get(__response__, 'account_id'),
250
+ ca_data=pulumi.get(__response__, 'ca_data'),
251
+ id=pulumi.get(__response__, 'id'),
252
+ identifier=pulumi.get(__response__, 'identifier'),
253
+ namespace=pulumi.get(__response__, 'namespace'),
254
+ org_id=pulumi.get(__response__, 'org_id'),
255
+ project_id=pulumi.get(__response__, 'project_id'),
256
+ proxies=pulumi.get(__response__, 'proxies'),
257
+ yaml=pulumi.get(__response__, 'yaml')))