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,305 @@
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
+ 'GetManualFreezeResult',
20
+ 'AwaitableGetManualFreezeResult',
21
+ 'get_manual_freeze',
22
+ 'get_manual_freeze_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetManualFreezeResult:
27
+ """
28
+ A collection of values returned by getManualFreeze.
29
+ """
30
+ def __init__(__self__, account_id=None, current_or_upcoming_windows=None, description=None, freeze_windows=None, id=None, identifier=None, name=None, org_id=None, project_id=None, scope=None, status=None, tags=None, type=None, yaml=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 current_or_upcoming_windows and not isinstance(current_or_upcoming_windows, list):
35
+ raise TypeError("Expected argument 'current_or_upcoming_windows' to be a list")
36
+ pulumi.set(__self__, "current_or_upcoming_windows", current_or_upcoming_windows)
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 freeze_windows and not isinstance(freeze_windows, list):
41
+ raise TypeError("Expected argument 'freeze_windows' to be a list")
42
+ pulumi.set(__self__, "freeze_windows", freeze_windows)
43
+ if id and not isinstance(id, str):
44
+ raise TypeError("Expected argument 'id' to be a str")
45
+ pulumi.set(__self__, "id", id)
46
+ if identifier and not isinstance(identifier, str):
47
+ raise TypeError("Expected argument 'identifier' to be a str")
48
+ pulumi.set(__self__, "identifier", identifier)
49
+ if name and not isinstance(name, str):
50
+ raise TypeError("Expected argument 'name' to be a str")
51
+ pulumi.set(__self__, "name", name)
52
+ if org_id and not isinstance(org_id, str):
53
+ raise TypeError("Expected argument 'org_id' to be a str")
54
+ pulumi.set(__self__, "org_id", org_id)
55
+ if project_id and not isinstance(project_id, str):
56
+ raise TypeError("Expected argument 'project_id' to be a str")
57
+ pulumi.set(__self__, "project_id", project_id)
58
+ if scope and not isinstance(scope, str):
59
+ raise TypeError("Expected argument 'scope' to be a str")
60
+ pulumi.set(__self__, "scope", scope)
61
+ if status and not isinstance(status, str):
62
+ raise TypeError("Expected argument 'status' to be a str")
63
+ pulumi.set(__self__, "status", status)
64
+ if tags and not isinstance(tags, list):
65
+ raise TypeError("Expected argument 'tags' to be a list")
66
+ pulumi.set(__self__, "tags", tags)
67
+ if type and not isinstance(type, str):
68
+ raise TypeError("Expected argument 'type' to be a str")
69
+ pulumi.set(__self__, "type", type)
70
+ if yaml and not isinstance(yaml, str):
71
+ raise TypeError("Expected argument 'yaml' to be a str")
72
+ pulumi.set(__self__, "yaml", yaml)
73
+
74
+ @property
75
+ @pulumi.getter(name="accountId")
76
+ def account_id(self) -> str:
77
+ """
78
+ Account Identifier of the freeze
79
+ """
80
+ return pulumi.get(self, "account_id")
81
+
82
+ @property
83
+ @pulumi.getter(name="currentOrUpcomingWindows")
84
+ def current_or_upcoming_windows(self) -> Sequence['outputs.GetManualFreezeCurrentOrUpcomingWindowResult']:
85
+ """
86
+ Current or upcoming windows
87
+ """
88
+ return pulumi.get(self, "current_or_upcoming_windows")
89
+
90
+ @property
91
+ @pulumi.getter
92
+ def description(self) -> str:
93
+ """
94
+ Description of the freeze
95
+ """
96
+ return pulumi.get(self, "description")
97
+
98
+ @property
99
+ @pulumi.getter(name="freezeWindows")
100
+ def freeze_windows(self) -> Sequence['outputs.GetManualFreezeFreezeWindowResult']:
101
+ """
102
+ Freeze windows in the freeze response
103
+ """
104
+ return pulumi.get(self, "freeze_windows")
105
+
106
+ @property
107
+ @pulumi.getter
108
+ def id(self) -> str:
109
+ """
110
+ The provider-assigned unique ID for this managed resource.
111
+ """
112
+ return pulumi.get(self, "id")
113
+
114
+ @property
115
+ @pulumi.getter
116
+ def identifier(self) -> str:
117
+ """
118
+ Identifier of the freeze
119
+ """
120
+ return pulumi.get(self, "identifier")
121
+
122
+ @property
123
+ @pulumi.getter
124
+ def name(self) -> str:
125
+ """
126
+ Name of the freeze
127
+ """
128
+ return pulumi.get(self, "name")
129
+
130
+ @property
131
+ @pulumi.getter(name="orgId")
132
+ def org_id(self) -> Optional[str]:
133
+ """
134
+ Organization identifier of the freeze
135
+ """
136
+ return pulumi.get(self, "org_id")
137
+
138
+ @property
139
+ @pulumi.getter(name="projectId")
140
+ def project_id(self) -> Optional[str]:
141
+ """
142
+ Project identifier of the freeze
143
+ """
144
+ return pulumi.get(self, "project_id")
145
+
146
+ @property
147
+ @pulumi.getter
148
+ def scope(self) -> str:
149
+ """
150
+ Scope of the freeze
151
+ """
152
+ return pulumi.get(self, "scope")
153
+
154
+ @property
155
+ @pulumi.getter
156
+ def status(self) -> str:
157
+ """
158
+ Status of the freeze
159
+ """
160
+ return pulumi.get(self, "status")
161
+
162
+ @property
163
+ @pulumi.getter
164
+ def tags(self) -> Sequence[str]:
165
+ """
166
+ Tags associated with the freeze
167
+ """
168
+ return pulumi.get(self, "tags")
169
+
170
+ @property
171
+ @pulumi.getter
172
+ def type(self) -> str:
173
+ """
174
+ Type of freeze
175
+ """
176
+ return pulumi.get(self, "type")
177
+
178
+ @property
179
+ @pulumi.getter
180
+ def yaml(self) -> str:
181
+ """
182
+ Yaml of the freeze
183
+ """
184
+ return pulumi.get(self, "yaml")
185
+
186
+
187
+ class AwaitableGetManualFreezeResult(GetManualFreezeResult):
188
+ # pylint: disable=using-constant-test
189
+ def __await__(self):
190
+ if False:
191
+ yield self
192
+ return GetManualFreezeResult(
193
+ account_id=self.account_id,
194
+ current_or_upcoming_windows=self.current_or_upcoming_windows,
195
+ description=self.description,
196
+ freeze_windows=self.freeze_windows,
197
+ id=self.id,
198
+ identifier=self.identifier,
199
+ name=self.name,
200
+ org_id=self.org_id,
201
+ project_id=self.project_id,
202
+ scope=self.scope,
203
+ status=self.status,
204
+ tags=self.tags,
205
+ type=self.type,
206
+ yaml=self.yaml)
207
+
208
+
209
+ def get_manual_freeze(account_id: Optional[str] = None,
210
+ identifier: Optional[str] = None,
211
+ org_id: Optional[str] = None,
212
+ project_id: Optional[str] = None,
213
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManualFreezeResult:
214
+ """
215
+ DataSource for deployment freeze in harness.
216
+
217
+ ## Example Usage
218
+
219
+ ```python
220
+ import pulumi
221
+ import pulumi_harness as harness
222
+
223
+ example = harness.platform.get_manual_freeze(identifier="identifier",
224
+ org_id="org_id",
225
+ project_id="project_id",
226
+ account_id="account_id")
227
+ ```
228
+
229
+
230
+ :param str account_id: Account Identifier of the freeze
231
+ :param str identifier: Identifier of the freeze
232
+ :param str org_id: Organization identifier of the freeze
233
+ :param str project_id: Project identifier of the freeze
234
+ """
235
+ __args__ = dict()
236
+ __args__['accountId'] = account_id
237
+ __args__['identifier'] = identifier
238
+ __args__['orgId'] = org_id
239
+ __args__['projectId'] = project_id
240
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
241
+ __ret__ = pulumi.runtime.invoke('harness:platform/getManualFreeze:getManualFreeze', __args__, opts=opts, typ=GetManualFreezeResult).value
242
+
243
+ return AwaitableGetManualFreezeResult(
244
+ account_id=pulumi.get(__ret__, 'account_id'),
245
+ current_or_upcoming_windows=pulumi.get(__ret__, 'current_or_upcoming_windows'),
246
+ description=pulumi.get(__ret__, 'description'),
247
+ freeze_windows=pulumi.get(__ret__, 'freeze_windows'),
248
+ id=pulumi.get(__ret__, 'id'),
249
+ identifier=pulumi.get(__ret__, 'identifier'),
250
+ name=pulumi.get(__ret__, 'name'),
251
+ org_id=pulumi.get(__ret__, 'org_id'),
252
+ project_id=pulumi.get(__ret__, 'project_id'),
253
+ scope=pulumi.get(__ret__, 'scope'),
254
+ status=pulumi.get(__ret__, 'status'),
255
+ tags=pulumi.get(__ret__, 'tags'),
256
+ type=pulumi.get(__ret__, 'type'),
257
+ yaml=pulumi.get(__ret__, 'yaml'))
258
+ def get_manual_freeze_output(account_id: Optional[pulumi.Input[str]] = None,
259
+ identifier: Optional[pulumi.Input[str]] = None,
260
+ org_id: Optional[pulumi.Input[Optional[str]]] = None,
261
+ project_id: Optional[pulumi.Input[Optional[str]]] = None,
262
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetManualFreezeResult]:
263
+ """
264
+ DataSource for deployment freeze in harness.
265
+
266
+ ## Example Usage
267
+
268
+ ```python
269
+ import pulumi
270
+ import pulumi_harness as harness
271
+
272
+ example = harness.platform.get_manual_freeze(identifier="identifier",
273
+ org_id="org_id",
274
+ project_id="project_id",
275
+ account_id="account_id")
276
+ ```
277
+
278
+
279
+ :param str account_id: Account Identifier of the freeze
280
+ :param str identifier: Identifier of the freeze
281
+ :param str org_id: Organization identifier of the freeze
282
+ :param str project_id: Project identifier of the freeze
283
+ """
284
+ __args__ = dict()
285
+ __args__['accountId'] = account_id
286
+ __args__['identifier'] = identifier
287
+ __args__['orgId'] = org_id
288
+ __args__['projectId'] = project_id
289
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
290
+ __ret__ = pulumi.runtime.invoke_output('harness:platform/getManualFreeze:getManualFreeze', __args__, opts=opts, typ=GetManualFreezeResult)
291
+ return __ret__.apply(lambda __response__: GetManualFreezeResult(
292
+ account_id=pulumi.get(__response__, 'account_id'),
293
+ current_or_upcoming_windows=pulumi.get(__response__, 'current_or_upcoming_windows'),
294
+ description=pulumi.get(__response__, 'description'),
295
+ freeze_windows=pulumi.get(__response__, 'freeze_windows'),
296
+ id=pulumi.get(__response__, 'id'),
297
+ identifier=pulumi.get(__response__, 'identifier'),
298
+ name=pulumi.get(__response__, 'name'),
299
+ org_id=pulumi.get(__response__, 'org_id'),
300
+ project_id=pulumi.get(__response__, 'project_id'),
301
+ scope=pulumi.get(__response__, 'scope'),
302
+ status=pulumi.get(__response__, 'status'),
303
+ tags=pulumi.get(__response__, 'tags'),
304
+ type=pulumi.get(__response__, 'type'),
305
+ yaml=pulumi.get(__response__, 'yaml')))
@@ -0,0 +1,134 @@
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
+
17
+ __all__ = [
18
+ 'GetMonitoredServiceResult',
19
+ 'AwaitableGetMonitoredServiceResult',
20
+ 'get_monitored_service',
21
+ 'get_monitored_service_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetMonitoredServiceResult:
26
+ """
27
+ A collection of values returned by getMonitoredService.
28
+ """
29
+ def __init__(__self__, id=None, identifier=None, org_id=None, project_id=None):
30
+ if id and not isinstance(id, str):
31
+ raise TypeError("Expected argument 'id' to be a str")
32
+ pulumi.set(__self__, "id", id)
33
+ if identifier and not isinstance(identifier, str):
34
+ raise TypeError("Expected argument 'identifier' to be a str")
35
+ pulumi.set(__self__, "identifier", identifier)
36
+ if org_id and not isinstance(org_id, str):
37
+ raise TypeError("Expected argument 'org_id' to be a str")
38
+ pulumi.set(__self__, "org_id", org_id)
39
+ if project_id and not isinstance(project_id, str):
40
+ raise TypeError("Expected argument 'project_id' to be a str")
41
+ pulumi.set(__self__, "project_id", project_id)
42
+
43
+ @property
44
+ @pulumi.getter
45
+ def id(self) -> str:
46
+ """
47
+ The provider-assigned unique ID for this managed resource.
48
+ """
49
+ return pulumi.get(self, "id")
50
+
51
+ @property
52
+ @pulumi.getter
53
+ def identifier(self) -> str:
54
+ """
55
+ Identifier of the monitored service.
56
+ """
57
+ return pulumi.get(self, "identifier")
58
+
59
+ @property
60
+ @pulumi.getter(name="orgId")
61
+ def org_id(self) -> str:
62
+ """
63
+ Identifier of the organization in which the monitored service is configured.
64
+ """
65
+ return pulumi.get(self, "org_id")
66
+
67
+ @property
68
+ @pulumi.getter(name="projectId")
69
+ def project_id(self) -> str:
70
+ """
71
+ Identifier of the project in which the monitored service is configured.
72
+ """
73
+ return pulumi.get(self, "project_id")
74
+
75
+
76
+ class AwaitableGetMonitoredServiceResult(GetMonitoredServiceResult):
77
+ # pylint: disable=using-constant-test
78
+ def __await__(self):
79
+ if False:
80
+ yield self
81
+ return GetMonitoredServiceResult(
82
+ id=self.id,
83
+ identifier=self.identifier,
84
+ org_id=self.org_id,
85
+ project_id=self.project_id)
86
+
87
+
88
+ def get_monitored_service(identifier: Optional[str] = None,
89
+ org_id: Optional[str] = None,
90
+ project_id: Optional[str] = None,
91
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoredServiceResult:
92
+ """
93
+ Data source for retrieving a monitored service.
94
+
95
+
96
+ :param str identifier: Identifier of the monitored service.
97
+ :param str org_id: Identifier of the organization in which the monitored service is configured.
98
+ :param str project_id: Identifier of the project in which the monitored service is configured.
99
+ """
100
+ __args__ = dict()
101
+ __args__['identifier'] = identifier
102
+ __args__['orgId'] = org_id
103
+ __args__['projectId'] = project_id
104
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
105
+ __ret__ = pulumi.runtime.invoke('harness:platform/getMonitoredService:getMonitoredService', __args__, opts=opts, typ=GetMonitoredServiceResult).value
106
+
107
+ return AwaitableGetMonitoredServiceResult(
108
+ id=pulumi.get(__ret__, 'id'),
109
+ identifier=pulumi.get(__ret__, 'identifier'),
110
+ org_id=pulumi.get(__ret__, 'org_id'),
111
+ project_id=pulumi.get(__ret__, 'project_id'))
112
+ def get_monitored_service_output(identifier: Optional[pulumi.Input[str]] = None,
113
+ org_id: Optional[pulumi.Input[str]] = None,
114
+ project_id: Optional[pulumi.Input[str]] = None,
115
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitoredServiceResult]:
116
+ """
117
+ Data source for retrieving a monitored service.
118
+
119
+
120
+ :param str identifier: Identifier of the monitored service.
121
+ :param str org_id: Identifier of the organization in which the monitored service is configured.
122
+ :param str project_id: Identifier of the project in which the monitored service is configured.
123
+ """
124
+ __args__ = dict()
125
+ __args__['identifier'] = identifier
126
+ __args__['orgId'] = org_id
127
+ __args__['projectId'] = project_id
128
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
129
+ __ret__ = pulumi.runtime.invoke_output('harness:platform/getMonitoredService:getMonitoredService', __args__, opts=opts, typ=GetMonitoredServiceResult)
130
+ return __ret__.apply(lambda __response__: GetMonitoredServiceResult(
131
+ id=pulumi.get(__response__, 'id'),
132
+ identifier=pulumi.get(__response__, 'identifier'),
133
+ org_id=pulumi.get(__response__, 'org_id'),
134
+ project_id=pulumi.get(__response__, 'project_id')))
@@ -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
+
18
+ __all__ = [
19
+ 'GetNexusConnectorResult',
20
+ 'AwaitableGetNexusConnectorResult',
21
+ 'get_nexus_connector',
22
+ 'get_nexus_connector_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetNexusConnectorResult:
27
+ """
28
+ A collection of values returned by getNexusConnector.
29
+ """
30
+ def __init__(__self__, credentials=None, delegate_selectors=None, description=None, id=None, identifier=None, name=None, org_id=None, project_id=None, tags=None, url=None, version=None):
31
+ if credentials and not isinstance(credentials, list):
32
+ raise TypeError("Expected argument 'credentials' to be a list")
33
+ pulumi.set(__self__, "credentials", credentials)
34
+ if delegate_selectors and not isinstance(delegate_selectors, list):
35
+ raise TypeError("Expected argument 'delegate_selectors' to be a list")
36
+ pulumi.set(__self__, "delegate_selectors", delegate_selectors)
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 name and not isinstance(name, str):
47
+ raise TypeError("Expected argument 'name' to be a str")
48
+ pulumi.set(__self__, "name", name)
49
+ if org_id and not isinstance(org_id, str):
50
+ raise TypeError("Expected argument 'org_id' to be a str")
51
+ pulumi.set(__self__, "org_id", org_id)
52
+ if project_id and not isinstance(project_id, str):
53
+ raise TypeError("Expected argument 'project_id' to be a str")
54
+ pulumi.set(__self__, "project_id", project_id)
55
+ if tags and not isinstance(tags, list):
56
+ raise TypeError("Expected argument 'tags' to be a list")
57
+ pulumi.set(__self__, "tags", tags)
58
+ if url and not isinstance(url, str):
59
+ raise TypeError("Expected argument 'url' to be a str")
60
+ pulumi.set(__self__, "url", url)
61
+ if version and not isinstance(version, str):
62
+ raise TypeError("Expected argument 'version' to be a str")
63
+ pulumi.set(__self__, "version", version)
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def credentials(self) -> Sequence['outputs.GetNexusConnectorCredentialResult']:
68
+ """
69
+ Credentials to use for authentication.
70
+ """
71
+ return pulumi.get(self, "credentials")
72
+
73
+ @property
74
+ @pulumi.getter(name="delegateSelectors")
75
+ def delegate_selectors(self) -> Sequence[str]:
76
+ """
77
+ Tags to filter delegates for connection.
78
+ """
79
+ return pulumi.get(self, "delegate_selectors")
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def description(self) -> str:
84
+ """
85
+ Description of the resource.
86
+ """
87
+ return pulumi.get(self, "description")
88
+
89
+ @property
90
+ @pulumi.getter
91
+ def id(self) -> str:
92
+ """
93
+ The provider-assigned unique ID for this managed resource.
94
+ """
95
+ return pulumi.get(self, "id")
96
+
97
+ @property
98
+ @pulumi.getter
99
+ def identifier(self) -> str:
100
+ """
101
+ Unique identifier of the resource.
102
+ """
103
+ return pulumi.get(self, "identifier")
104
+
105
+ @property
106
+ @pulumi.getter
107
+ def name(self) -> Optional[str]:
108
+ """
109
+ Name of the resource.
110
+ """
111
+ return pulumi.get(self, "name")
112
+
113
+ @property
114
+ @pulumi.getter(name="orgId")
115
+ def org_id(self) -> Optional[str]:
116
+ """
117
+ Unique identifier of the organization.
118
+ """
119
+ return pulumi.get(self, "org_id")
120
+
121
+ @property
122
+ @pulumi.getter(name="projectId")
123
+ def project_id(self) -> Optional[str]:
124
+ """
125
+ Unique identifier of the project.
126
+ """
127
+ return pulumi.get(self, "project_id")
128
+
129
+ @property
130
+ @pulumi.getter
131
+ def tags(self) -> Sequence[str]:
132
+ """
133
+ Tags to associate with the resource.
134
+ """
135
+ return pulumi.get(self, "tags")
136
+
137
+ @property
138
+ @pulumi.getter
139
+ def url(self) -> str:
140
+ """
141
+ URL of the Nexus server.
142
+ """
143
+ return pulumi.get(self, "url")
144
+
145
+ @property
146
+ @pulumi.getter
147
+ def version(self) -> str:
148
+ """
149
+ Version of the Nexus server. Valid values are 2.x, 3.x
150
+ """
151
+ return pulumi.get(self, "version")
152
+
153
+
154
+ class AwaitableGetNexusConnectorResult(GetNexusConnectorResult):
155
+ # pylint: disable=using-constant-test
156
+ def __await__(self):
157
+ if False:
158
+ yield self
159
+ return GetNexusConnectorResult(
160
+ credentials=self.credentials,
161
+ delegate_selectors=self.delegate_selectors,
162
+ description=self.description,
163
+ id=self.id,
164
+ identifier=self.identifier,
165
+ name=self.name,
166
+ org_id=self.org_id,
167
+ project_id=self.project_id,
168
+ tags=self.tags,
169
+ url=self.url,
170
+ version=self.version)
171
+
172
+
173
+ def get_nexus_connector(identifier: Optional[str] = None,
174
+ name: Optional[str] = None,
175
+ org_id: Optional[str] = None,
176
+ project_id: Optional[str] = None,
177
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNexusConnectorResult:
178
+ """
179
+ Datasource for looking up a Nexus connector.
180
+
181
+ ## Example Usage
182
+
183
+ ```python
184
+ import pulumi
185
+ import pulumi_harness as harness
186
+
187
+ example = harness.platform.get_nexus_connector(identifier="identifier")
188
+ ```
189
+
190
+
191
+ :param str identifier: Unique identifier of the resource.
192
+ :param str name: Name of the resource.
193
+ :param str org_id: Unique identifier of the organization.
194
+ :param str project_id: Unique identifier of the project.
195
+ """
196
+ __args__ = dict()
197
+ __args__['identifier'] = identifier
198
+ __args__['name'] = name
199
+ __args__['orgId'] = org_id
200
+ __args__['projectId'] = project_id
201
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
202
+ __ret__ = pulumi.runtime.invoke('harness:platform/getNexusConnector:getNexusConnector', __args__, opts=opts, typ=GetNexusConnectorResult).value
203
+
204
+ return AwaitableGetNexusConnectorResult(
205
+ credentials=pulumi.get(__ret__, 'credentials'),
206
+ delegate_selectors=pulumi.get(__ret__, 'delegate_selectors'),
207
+ description=pulumi.get(__ret__, 'description'),
208
+ id=pulumi.get(__ret__, 'id'),
209
+ identifier=pulumi.get(__ret__, 'identifier'),
210
+ name=pulumi.get(__ret__, 'name'),
211
+ org_id=pulumi.get(__ret__, 'org_id'),
212
+ project_id=pulumi.get(__ret__, 'project_id'),
213
+ tags=pulumi.get(__ret__, 'tags'),
214
+ url=pulumi.get(__ret__, 'url'),
215
+ version=pulumi.get(__ret__, 'version'))
216
+ def get_nexus_connector_output(identifier: Optional[pulumi.Input[str]] = None,
217
+ name: Optional[pulumi.Input[Optional[str]]] = None,
218
+ org_id: Optional[pulumi.Input[Optional[str]]] = None,
219
+ project_id: Optional[pulumi.Input[Optional[str]]] = None,
220
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNexusConnectorResult]:
221
+ """
222
+ Datasource for looking up a Nexus connector.
223
+
224
+ ## Example Usage
225
+
226
+ ```python
227
+ import pulumi
228
+ import pulumi_harness as harness
229
+
230
+ example = harness.platform.get_nexus_connector(identifier="identifier")
231
+ ```
232
+
233
+
234
+ :param str identifier: Unique identifier of the resource.
235
+ :param str name: Name of the resource.
236
+ :param str org_id: Unique identifier of the organization.
237
+ :param str project_id: Unique identifier of the project.
238
+ """
239
+ __args__ = dict()
240
+ __args__['identifier'] = identifier
241
+ __args__['name'] = name
242
+ __args__['orgId'] = org_id
243
+ __args__['projectId'] = project_id
244
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
245
+ __ret__ = pulumi.runtime.invoke_output('harness:platform/getNexusConnector:getNexusConnector', __args__, opts=opts, typ=GetNexusConnectorResult)
246
+ return __ret__.apply(lambda __response__: GetNexusConnectorResult(
247
+ credentials=pulumi.get(__response__, 'credentials'),
248
+ delegate_selectors=pulumi.get(__response__, 'delegate_selectors'),
249
+ description=pulumi.get(__response__, 'description'),
250
+ id=pulumi.get(__response__, 'id'),
251
+ identifier=pulumi.get(__response__, 'identifier'),
252
+ name=pulumi.get(__response__, 'name'),
253
+ org_id=pulumi.get(__response__, 'org_id'),
254
+ project_id=pulumi.get(__response__, 'project_id'),
255
+ tags=pulumi.get(__response__, 'tags'),
256
+ url=pulumi.get(__response__, 'url'),
257
+ version=pulumi.get(__response__, 'version')))