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.
- pulumi_harness/__init__.py +1257 -0
- pulumi_harness/_inputs.py +4025 -0
- pulumi_harness/_utilities.py +327 -0
- pulumi_harness/add_user_to_group.py +241 -0
- pulumi_harness/application.py +393 -0
- pulumi_harness/application_git_sync.py +411 -0
- pulumi_harness/autostopping/__init__.py +27 -0
- pulumi_harness/autostopping/_inputs.py +2688 -0
- pulumi_harness/autostopping/aws_alb.py +640 -0
- pulumi_harness/autostopping/aws_proxy.py +760 -0
- pulumi_harness/autostopping/azure_gateway.py +798 -0
- pulumi_harness/autostopping/azure_proxy.py +855 -0
- pulumi_harness/autostopping/gcp_proxy.py +779 -0
- pulumi_harness/autostopping/get_aws_alb.py +278 -0
- pulumi_harness/autostopping/get_aws_proxy.py +335 -0
- pulumi_harness/autostopping/get_azure_gateway.py +343 -0
- pulumi_harness/autostopping/get_azure_proxy.py +375 -0
- pulumi_harness/autostopping/get_gcp_proxy.py +340 -0
- pulumi_harness/autostopping/get_rule_ecs.py +225 -0
- pulumi_harness/autostopping/get_rule_rds.py +205 -0
- pulumi_harness/autostopping/get_rule_vm.py +265 -0
- pulumi_harness/autostopping/get_schedule.py +193 -0
- pulumi_harness/autostopping/outputs.py +1971 -0
- pulumi_harness/autostopping/rule_ecs.py +450 -0
- pulumi_harness/autostopping/rule_rds.py +448 -0
- pulumi_harness/autostopping/rule_vm.py +663 -0
- pulumi_harness/autostopping/schedule.py +465 -0
- pulumi_harness/cloudprovider/__init__.py +17 -0
- pulumi_harness/cloudprovider/_inputs.py +777 -0
- pulumi_harness/cloudprovider/aws.py +586 -0
- pulumi_harness/cloudprovider/azure.py +393 -0
- pulumi_harness/cloudprovider/datacenter.py +233 -0
- pulumi_harness/cloudprovider/gcp.py +340 -0
- pulumi_harness/cloudprovider/get_delegate_ids.py +148 -0
- pulumi_harness/cloudprovider/kubernetes.py +310 -0
- pulumi_harness/cloudprovider/outputs.py +657 -0
- pulumi_harness/cloudprovider/spot.py +296 -0
- pulumi_harness/cloudprovider/tanzu.py +441 -0
- pulumi_harness/cluster/__init__.py +9 -0
- pulumi_harness/cluster/get_orchestrator.py +134 -0
- pulumi_harness/cluster/orchestrator.py +286 -0
- pulumi_harness/config/__init__.py +8 -0
- pulumi_harness/config/__init__.pyi +40 -0
- pulumi_harness/config/vars.py +54 -0
- pulumi_harness/delegate_approval.py +267 -0
- pulumi_harness/encrypted_text.py +499 -0
- pulumi_harness/environment.py +446 -0
- pulumi_harness/get_application.py +180 -0
- pulumi_harness/get_current_account.py +108 -0
- pulumi_harness/get_delegate.py +280 -0
- pulumi_harness/get_encrypted_text.py +136 -0
- pulumi_harness/get_environment.py +184 -0
- pulumi_harness/get_git_connector.py +255 -0
- pulumi_harness/get_secret_manager.py +142 -0
- pulumi_harness/get_service.py +198 -0
- pulumi_harness/get_ssh_credential.py +122 -0
- pulumi_harness/get_sso_provider.py +114 -0
- pulumi_harness/get_trigger.py +177 -0
- pulumi_harness/get_user.py +184 -0
- pulumi_harness/get_user_group.py +100 -0
- pulumi_harness/get_yaml_config.py +142 -0
- pulumi_harness/git_connector.py +738 -0
- pulumi_harness/governance/__init__.py +13 -0
- pulumi_harness/governance/get_rule.py +168 -0
- pulumi_harness/governance/get_rule_enforcement.py +266 -0
- pulumi_harness/governance/get_rule_set.py +150 -0
- pulumi_harness/governance/rule.py +337 -0
- pulumi_harness/governance/rule_enforcement.py +668 -0
- pulumi_harness/governance/rule_set.py +321 -0
- pulumi_harness/infrastructure_definition.py +1246 -0
- pulumi_harness/outputs.py +3306 -0
- pulumi_harness/platform/__init__.py +220 -0
- pulumi_harness/platform/_inputs.py +22314 -0
- pulumi_harness/platform/app_dynamics_connector.py +733 -0
- pulumi_harness/platform/artifactory_connector.py +748 -0
- pulumi_harness/platform/aws_cc_connector.py +716 -0
- pulumi_harness/platform/aws_connector.py +851 -0
- pulumi_harness/platform/aws_kms_connector.py +619 -0
- pulumi_harness/platform/aws_secret_manager_connector.py +712 -0
- pulumi_harness/platform/azure_cloud_cost_connector.py +675 -0
- pulumi_harness/platform/azure_cloud_provider_connector.py +826 -0
- pulumi_harness/platform/azure_key_vault_connector.py +843 -0
- pulumi_harness/platform/bitbucket_connector.py +713 -0
- pulumi_harness/platform/connector_azure_artifacts.py +529 -0
- pulumi_harness/platform/connector_custom_secret_manager.py +887 -0
- pulumi_harness/platform/connector_customhealthsource.py +807 -0
- pulumi_harness/platform/connector_jdbc.py +609 -0
- pulumi_harness/platform/connector_pdc.py +527 -0
- pulumi_harness/platform/connector_rancher.py +617 -0
- pulumi_harness/platform/datadog_connector.py +651 -0
- pulumi_harness/platform/db_instance.py +636 -0
- pulumi_harness/platform/db_schema.py +547 -0
- pulumi_harness/platform/delegatetoken.py +520 -0
- pulumi_harness/platform/docker_connector.py +669 -0
- pulumi_harness/platform/dynatrace_connector.py +601 -0
- pulumi_harness/platform/elasticsearch_connector.py +744 -0
- pulumi_harness/platform/environment.py +1173 -0
- pulumi_harness/platform/environment_clusters_mapping.py +454 -0
- pulumi_harness/platform/environment_group.py +560 -0
- pulumi_harness/platform/environment_service_overrides.py +688 -0
- pulumi_harness/platform/feature_flag.py +724 -0
- pulumi_harness/platform/feature_flag_api_key.py +550 -0
- pulumi_harness/platform/feature_flag_target.py +473 -0
- pulumi_harness/platform/feature_flag_target_group.py +577 -0
- pulumi_harness/platform/file_store_file.py +822 -0
- pulumi_harness/platform/file_store_folder.py +628 -0
- pulumi_harness/platform/filters.py +511 -0
- pulumi_harness/platform/gcp_cloud_cost_connector.py +669 -0
- pulumi_harness/platform/gcp_connector.py +663 -0
- pulumi_harness/platform/gcp_secret_manager_connector.py +594 -0
- pulumi_harness/platform/get_api_key.py +292 -0
- pulumi_harness/platform/get_app_dynamics_connector.py +271 -0
- pulumi_harness/platform/get_artifactory_connector.py +243 -0
- pulumi_harness/platform/get_aws_cc_connector.py +271 -0
- pulumi_harness/platform/get_aws_connector.py +313 -0
- pulumi_harness/platform/get_aws_kms_connector.py +253 -0
- pulumi_harness/platform/get_aws_secret_manager_connector.py +267 -0
- pulumi_harness/platform/get_azure_cloud_cost_connector.py +257 -0
- pulumi_harness/platform/get_azure_cloud_provider_connector.py +257 -0
- pulumi_harness/platform/get_azure_key_vault_connector.py +308 -0
- pulumi_harness/platform/get_bitbucket_connector.py +285 -0
- pulumi_harness/platform/get_ccm_filters.py +221 -0
- pulumi_harness/platform/get_connector_custom_secret_manager.py +330 -0
- pulumi_harness/platform/get_connector_customhealthsource.py +281 -0
- pulumi_harness/platform/get_connector_jdbc.py +243 -0
- pulumi_harness/platform/get_connector_pdc.py +229 -0
- pulumi_harness/platform/get_connector_rancher.py +236 -0
- pulumi_harness/platform/get_current_account.py +126 -0
- pulumi_harness/platform/get_current_user.py +252 -0
- pulumi_harness/platform/get_datadog_connector.py +262 -0
- pulumi_harness/platform/get_db_instance.py +268 -0
- pulumi_harness/platform/get_db_schema.py +233 -0
- pulumi_harness/platform/get_delegatetoken.py +214 -0
- pulumi_harness/platform/get_docker_connector.py +257 -0
- pulumi_harness/platform/get_dynatrace_connector.py +242 -0
- pulumi_harness/platform/get_elasticsearch_connector.py +257 -0
- pulumi_harness/platform/get_environment.py +263 -0
- pulumi_harness/platform/get_environment_clusters_mapping.py +262 -0
- pulumi_harness/platform/get_environment_group.py +190 -0
- pulumi_harness/platform/get_environment_list.py +172 -0
- pulumi_harness/platform/get_environment_service_overrides.py +212 -0
- pulumi_harness/platform/get_file_store_file.py +327 -0
- pulumi_harness/platform/get_file_store_folder.py +271 -0
- pulumi_harness/platform/get_filters.py +217 -0
- pulumi_harness/platform/get_gcp_cloud_cost_connector.py +257 -0
- pulumi_harness/platform/get_gcp_connector.py +243 -0
- pulumi_harness/platform/get_gcp_secret_manager_connector.py +238 -0
- pulumi_harness/platform/get_git_connector.py +271 -0
- pulumi_harness/platform/get_github_connector.py +296 -0
- pulumi_harness/platform/get_gitlab_connector.py +285 -0
- pulumi_harness/platform/get_gitops_agent.py +303 -0
- pulumi_harness/platform/get_gitops_agent_deploy_yaml.py +257 -0
- pulumi_harness/platform/get_gitops_app_project.py +191 -0
- pulumi_harness/platform/get_gitops_app_project_mapping.py +189 -0
- pulumi_harness/platform/get_gitops_applications.py +351 -0
- pulumi_harness/platform/get_gitops_cluster.py +216 -0
- pulumi_harness/platform/get_gitops_gnupg.py +219 -0
- pulumi_harness/platform/get_gitops_repo_cert.py +155 -0
- pulumi_harness/platform/get_gitops_repo_cred.py +223 -0
- pulumi_harness/platform/get_gitops_repository.py +230 -0
- pulumi_harness/platform/get_gitx_webhook.py +194 -0
- pulumi_harness/platform/get_helm_connector.py +243 -0
- pulumi_harness/platform/get_iacm_default_pipeline.py +168 -0
- pulumi_harness/platform/get_infra_module.py +320 -0
- pulumi_harness/platform/get_infrastructure.py +287 -0
- pulumi_harness/platform/get_input_set.py +238 -0
- pulumi_harness/platform/get_jenkins_connector.py +243 -0
- pulumi_harness/platform/get_jira_connector.py +285 -0
- pulumi_harness/platform/get_kubernetes_cloud_cost_connector.py +228 -0
- pulumi_harness/platform/get_kubernetes_connector.py +285 -0
- pulumi_harness/platform/get_manual_freeze.py +305 -0
- pulumi_harness/platform/get_monitored_service.py +134 -0
- pulumi_harness/platform/get_nexus_connector.py +257 -0
- pulumi_harness/platform/get_notification_rule.py +156 -0
- pulumi_harness/platform/get_oci_helm_connector.py +243 -0
- pulumi_harness/platform/get_organization.py +156 -0
- pulumi_harness/platform/get_overrides.py +198 -0
- pulumi_harness/platform/get_pagerduty_connector.py +224 -0
- pulumi_harness/platform/get_permissions.py +149 -0
- pulumi_harness/platform/get_pipeline.py +268 -0
- pulumi_harness/platform/get_pipeline_filters.py +197 -0
- pulumi_harness/platform/get_pipeline_list.py +269 -0
- pulumi_harness/platform/get_policy.py +220 -0
- pulumi_harness/platform/get_policy_set.py +298 -0
- pulumi_harness/platform/get_project.py +210 -0
- pulumi_harness/platform/get_project_list.py +249 -0
- pulumi_harness/platform/get_prometheus_connector.py +271 -0
- pulumi_harness/platform/get_provider.py +85 -0
- pulumi_harness/platform/get_repo.py +362 -0
- pulumi_harness/platform/get_repo_rule_branch.py +312 -0
- pulumi_harness/platform/get_repo_webhook.py +316 -0
- pulumi_harness/platform/get_resource_group.py +267 -0
- pulumi_harness/platform/get_role_assignments.py +223 -0
- pulumi_harness/platform/get_roles.py +240 -0
- pulumi_harness/platform/get_secret_file.py +224 -0
- pulumi_harness/platform/get_secret_sshkey.py +239 -0
- pulumi_harness/platform/get_secret_text.py +264 -0
- pulumi_harness/platform/get_service.py +235 -0
- pulumi_harness/platform/get_service_account.py +224 -0
- pulumi_harness/platform/get_service_list.py +172 -0
- pulumi_harness/platform/get_service_now_connector.py +285 -0
- pulumi_harness/platform/get_service_overrides_v2.py +220 -0
- pulumi_harness/platform/get_slo.py +134 -0
- pulumi_harness/platform/get_splunk_connector.py +270 -0
- pulumi_harness/platform/get_spot_connector.py +215 -0
- pulumi_harness/platform/get_sumologic_connector.py +256 -0
- pulumi_harness/platform/get_tas_connector.py +243 -0
- pulumi_harness/platform/get_template.py +386 -0
- pulumi_harness/platform/get_template_filters.py +221 -0
- pulumi_harness/platform/get_terraform_cloud_connector.py +233 -0
- pulumi_harness/platform/get_token.py +430 -0
- pulumi_harness/platform/get_triggers.py +260 -0
- pulumi_harness/platform/get_user.py +222 -0
- pulumi_harness/platform/get_usergroup.py +340 -0
- pulumi_harness/platform/get_variables.py +209 -0
- pulumi_harness/platform/get_vault_connector.py +574 -0
- pulumi_harness/platform/get_workspace.py +411 -0
- pulumi_harness/platform/get_workspace_output_value.py +168 -0
- pulumi_harness/platform/git_connector.py +713 -0
- pulumi_harness/platform/git_ops_agent.py +727 -0
- pulumi_harness/platform/git_ops_applications.py +1090 -0
- pulumi_harness/platform/git_ops_cluster.py +438 -0
- pulumi_harness/platform/git_ops_gnupg.py +453 -0
- pulumi_harness/platform/git_ops_repo_cert.py +437 -0
- pulumi_harness/platform/git_ops_repo_cred.py +533 -0
- pulumi_harness/platform/git_ops_repository.py +831 -0
- pulumi_harness/platform/github_connector.py +807 -0
- pulumi_harness/platform/gitlab_connector.py +713 -0
- pulumi_harness/platform/gitops_app_project.py +485 -0
- pulumi_harness/platform/gitops_app_project_mapping.py +423 -0
- pulumi_harness/platform/gitx_webhook.py +616 -0
- pulumi_harness/platform/helm_connector.py +617 -0
- pulumi_harness/platform/iacm_default_pipeline.py +343 -0
- pulumi_harness/platform/infra_module.py +755 -0
- pulumi_harness/platform/infrastructure.py +937 -0
- pulumi_harness/platform/input_set.py +689 -0
- pulumi_harness/platform/jenkins_connector.py +566 -0
- pulumi_harness/platform/jira_connector.py +714 -0
- pulumi_harness/platform/kubernetes_cloud_cost_connector.py +558 -0
- pulumi_harness/platform/kubernetes_connector.py +895 -0
- pulumi_harness/platform/manual_freeze.py +835 -0
- pulumi_harness/platform/monitored_service.py +1984 -0
- pulumi_harness/platform/newrelic_connector.py +651 -0
- pulumi_harness/platform/nexus_connector.py +622 -0
- pulumi_harness/platform/notification_rule.py +526 -0
- pulumi_harness/platform/oci_helm_connector.py +617 -0
- pulumi_harness/platform/organization.py +336 -0
- pulumi_harness/platform/outputs.py +23361 -0
- pulumi_harness/platform/overrides.py +669 -0
- pulumi_harness/platform/pagerduty_connector.py +547 -0
- pulumi_harness/platform/pipeline.py +991 -0
- pulumi_harness/platform/pipeline_filters.py +711 -0
- pulumi_harness/platform/policy.py +944 -0
- pulumi_harness/platform/policy_set.py +594 -0
- pulumi_harness/platform/project.py +453 -0
- pulumi_harness/platform/prometheus_connector.py +710 -0
- pulumi_harness/platform/provider.py +349 -0
- pulumi_harness/platform/repo.py +737 -0
- pulumi_harness/platform/repo_rule_branch.py +645 -0
- pulumi_harness/platform/repo_webhook.py +664 -0
- pulumi_harness/platform/resource_group.py +718 -0
- pulumi_harness/platform/role_assignments.py +524 -0
- pulumi_harness/platform/roles.py +546 -0
- pulumi_harness/platform/secret_file.py +548 -0
- pulumi_harness/platform/secret_sshkey.py +569 -0
- pulumi_harness/platform/secret_text.py +620 -0
- pulumi_harness/platform/service.py +1195 -0
- pulumi_harness/platform/service_account.py +548 -0
- pulumi_harness/platform/service_now_connector.py +714 -0
- pulumi_harness/platform/service_overrides_v2.py +915 -0
- pulumi_harness/platform/slo.py +462 -0
- pulumi_harness/platform/splunk_connector.py +701 -0
- pulumi_harness/platform/spot_connector.py +452 -0
- pulumi_harness/platform/sumologic_connector.py +651 -0
- pulumi_harness/platform/tas_connector.py +570 -0
- pulumi_harness/platform/template.py +861 -0
- pulumi_harness/platform/template_filters.py +515 -0
- pulumi_harness/platform/terraform_cloud_connector.py +545 -0
- pulumi_harness/platform/token.py +977 -0
- pulumi_harness/platform/triggers.py +680 -0
- pulumi_harness/platform/user.py +522 -0
- pulumi_harness/platform/usergroup.py +1104 -0
- pulumi_harness/platform/variables.py +509 -0
- pulumi_harness/platform/vault_connector.py +1919 -0
- pulumi_harness/platform/workspace.py +1145 -0
- pulumi_harness/platform_api_key.py +617 -0
- pulumi_harness/platform_ccm_filters.py +515 -0
- pulumi_harness/provider.py +227 -0
- pulumi_harness/pulumi-plugin.json +6 -0
- pulumi_harness/py.typed +0 -0
- pulumi_harness/service/__init__.py +18 -0
- pulumi_harness/service/_inputs.py +660 -0
- pulumi_harness/service/ami.py +336 -0
- pulumi_harness/service/codedeploy.py +336 -0
- pulumi_harness/service/ecs.py +336 -0
- pulumi_harness/service/helm.py +336 -0
- pulumi_harness/service/kubernetes.py +409 -0
- pulumi_harness/service/lambda_.py +336 -0
- pulumi_harness/service/outputs.py +388 -0
- pulumi_harness/service/ssh.py +386 -0
- pulumi_harness/service/tanzu.py +336 -0
- pulumi_harness/service/winrm.py +386 -0
- pulumi_harness/ssh_credential.py +361 -0
- pulumi_harness/user.py +423 -0
- pulumi_harness/user_group.py +713 -0
- pulumi_harness/user_group_permissions.py +247 -0
- pulumi_harness/yaml_config.py +336 -0
- pulumi_harness-0.5.0a1736833425.dist-info/METADATA +69 -0
- pulumi_harness-0.5.0a1736833425.dist-info/RECORD +311 -0
- pulumi_harness-0.5.0a1736833425.dist-info/WHEEL +5 -0
- pulumi_harness-0.5.0a1736833425.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,285 @@
|
|
|
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
|
+
'GetServiceNowConnectorResult',
|
|
20
|
+
'AwaitableGetServiceNowConnectorResult',
|
|
21
|
+
'get_service_now_connector',
|
|
22
|
+
'get_service_now_connector_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetServiceNowConnectorResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getServiceNowConnector.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, auths=None, delegate_selectors=None, description=None, id=None, identifier=None, name=None, org_id=None, password_ref=None, project_id=None, service_now_url=None, tags=None, username=None, username_ref=None):
|
|
31
|
+
if auths and not isinstance(auths, list):
|
|
32
|
+
raise TypeError("Expected argument 'auths' to be a list")
|
|
33
|
+
pulumi.set(__self__, "auths", auths)
|
|
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 password_ref and not isinstance(password_ref, str):
|
|
53
|
+
raise TypeError("Expected argument 'password_ref' to be a str")
|
|
54
|
+
pulumi.set(__self__, "password_ref", password_ref)
|
|
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 service_now_url and not isinstance(service_now_url, str):
|
|
59
|
+
raise TypeError("Expected argument 'service_now_url' to be a str")
|
|
60
|
+
pulumi.set(__self__, "service_now_url", service_now_url)
|
|
61
|
+
if tags and not isinstance(tags, list):
|
|
62
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
63
|
+
pulumi.set(__self__, "tags", tags)
|
|
64
|
+
if username and not isinstance(username, str):
|
|
65
|
+
raise TypeError("Expected argument 'username' to be a str")
|
|
66
|
+
pulumi.set(__self__, "username", username)
|
|
67
|
+
if username_ref and not isinstance(username_ref, str):
|
|
68
|
+
raise TypeError("Expected argument 'username_ref' to be a str")
|
|
69
|
+
pulumi.set(__self__, "username_ref", username_ref)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter
|
|
73
|
+
def auths(self) -> Sequence['outputs.GetServiceNowConnectorAuthResult']:
|
|
74
|
+
"""
|
|
75
|
+
The credentials to use for the service now authentication.
|
|
76
|
+
"""
|
|
77
|
+
return pulumi.get(self, "auths")
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter(name="delegateSelectors")
|
|
81
|
+
def delegate_selectors(self) -> Sequence[str]:
|
|
82
|
+
"""
|
|
83
|
+
Tags to filter delegates for connection.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "delegate_selectors")
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
@pulumi.getter
|
|
89
|
+
def description(self) -> str:
|
|
90
|
+
"""
|
|
91
|
+
Description of the resource.
|
|
92
|
+
"""
|
|
93
|
+
return pulumi.get(self, "description")
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
@pulumi.getter
|
|
97
|
+
def id(self) -> str:
|
|
98
|
+
"""
|
|
99
|
+
The provider-assigned unique ID for this managed resource.
|
|
100
|
+
"""
|
|
101
|
+
return pulumi.get(self, "id")
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter
|
|
105
|
+
def identifier(self) -> str:
|
|
106
|
+
"""
|
|
107
|
+
Unique identifier of the resource.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "identifier")
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
@pulumi.getter
|
|
113
|
+
def name(self) -> Optional[str]:
|
|
114
|
+
"""
|
|
115
|
+
Name of the resource.
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "name")
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter(name="orgId")
|
|
121
|
+
def org_id(self) -> Optional[str]:
|
|
122
|
+
"""
|
|
123
|
+
Unique identifier of the organization.
|
|
124
|
+
"""
|
|
125
|
+
return pulumi.get(self, "org_id")
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
@pulumi.getter(name="passwordRef")
|
|
129
|
+
def password_ref(self) -> str:
|
|
130
|
+
"""
|
|
131
|
+
Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "password_ref")
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
@pulumi.getter(name="projectId")
|
|
137
|
+
def project_id(self) -> Optional[str]:
|
|
138
|
+
"""
|
|
139
|
+
Unique identifier of the project.
|
|
140
|
+
"""
|
|
141
|
+
return pulumi.get(self, "project_id")
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter(name="serviceNowUrl")
|
|
145
|
+
def service_now_url(self) -> str:
|
|
146
|
+
"""
|
|
147
|
+
URL of service now.
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "service_now_url")
|
|
150
|
+
|
|
151
|
+
@property
|
|
152
|
+
@pulumi.getter
|
|
153
|
+
def tags(self) -> Sequence[str]:
|
|
154
|
+
"""
|
|
155
|
+
Tags to associate with the resource.
|
|
156
|
+
"""
|
|
157
|
+
return pulumi.get(self, "tags")
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
@pulumi.getter
|
|
161
|
+
def username(self) -> str:
|
|
162
|
+
"""
|
|
163
|
+
Username to use for authentication.
|
|
164
|
+
"""
|
|
165
|
+
return pulumi.get(self, "username")
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
@pulumi.getter(name="usernameRef")
|
|
169
|
+
def username_ref(self) -> str:
|
|
170
|
+
"""
|
|
171
|
+
Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "username_ref")
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
class AwaitableGetServiceNowConnectorResult(GetServiceNowConnectorResult):
|
|
177
|
+
# pylint: disable=using-constant-test
|
|
178
|
+
def __await__(self):
|
|
179
|
+
if False:
|
|
180
|
+
yield self
|
|
181
|
+
return GetServiceNowConnectorResult(
|
|
182
|
+
auths=self.auths,
|
|
183
|
+
delegate_selectors=self.delegate_selectors,
|
|
184
|
+
description=self.description,
|
|
185
|
+
id=self.id,
|
|
186
|
+
identifier=self.identifier,
|
|
187
|
+
name=self.name,
|
|
188
|
+
org_id=self.org_id,
|
|
189
|
+
password_ref=self.password_ref,
|
|
190
|
+
project_id=self.project_id,
|
|
191
|
+
service_now_url=self.service_now_url,
|
|
192
|
+
tags=self.tags,
|
|
193
|
+
username=self.username,
|
|
194
|
+
username_ref=self.username_ref)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
def get_service_now_connector(identifier: Optional[str] = None,
|
|
198
|
+
name: Optional[str] = None,
|
|
199
|
+
org_id: Optional[str] = None,
|
|
200
|
+
project_id: Optional[str] = None,
|
|
201
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceNowConnectorResult:
|
|
202
|
+
"""
|
|
203
|
+
Datasource for looking up a Service Now connector.
|
|
204
|
+
|
|
205
|
+
## Example Usage
|
|
206
|
+
|
|
207
|
+
```python
|
|
208
|
+
import pulumi
|
|
209
|
+
import pulumi_harness as harness
|
|
210
|
+
|
|
211
|
+
example = harness.platform.get_service_now_connector(identifier="identifier")
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
:param str identifier: Unique identifier of the resource.
|
|
216
|
+
:param str name: Name of the resource.
|
|
217
|
+
:param str org_id: Unique identifier of the organization.
|
|
218
|
+
:param str project_id: Unique identifier of the project.
|
|
219
|
+
"""
|
|
220
|
+
__args__ = dict()
|
|
221
|
+
__args__['identifier'] = identifier
|
|
222
|
+
__args__['name'] = name
|
|
223
|
+
__args__['orgId'] = org_id
|
|
224
|
+
__args__['projectId'] = project_id
|
|
225
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
226
|
+
__ret__ = pulumi.runtime.invoke('harness:platform/getServiceNowConnector:getServiceNowConnector', __args__, opts=opts, typ=GetServiceNowConnectorResult).value
|
|
227
|
+
|
|
228
|
+
return AwaitableGetServiceNowConnectorResult(
|
|
229
|
+
auths=pulumi.get(__ret__, 'auths'),
|
|
230
|
+
delegate_selectors=pulumi.get(__ret__, 'delegate_selectors'),
|
|
231
|
+
description=pulumi.get(__ret__, 'description'),
|
|
232
|
+
id=pulumi.get(__ret__, 'id'),
|
|
233
|
+
identifier=pulumi.get(__ret__, 'identifier'),
|
|
234
|
+
name=pulumi.get(__ret__, 'name'),
|
|
235
|
+
org_id=pulumi.get(__ret__, 'org_id'),
|
|
236
|
+
password_ref=pulumi.get(__ret__, 'password_ref'),
|
|
237
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
238
|
+
service_now_url=pulumi.get(__ret__, 'service_now_url'),
|
|
239
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
240
|
+
username=pulumi.get(__ret__, 'username'),
|
|
241
|
+
username_ref=pulumi.get(__ret__, 'username_ref'))
|
|
242
|
+
def get_service_now_connector_output(identifier: Optional[pulumi.Input[str]] = None,
|
|
243
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
244
|
+
org_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
245
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
246
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceNowConnectorResult]:
|
|
247
|
+
"""
|
|
248
|
+
Datasource for looking up a Service Now connector.
|
|
249
|
+
|
|
250
|
+
## Example Usage
|
|
251
|
+
|
|
252
|
+
```python
|
|
253
|
+
import pulumi
|
|
254
|
+
import pulumi_harness as harness
|
|
255
|
+
|
|
256
|
+
example = harness.platform.get_service_now_connector(identifier="identifier")
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
:param str identifier: Unique identifier of the resource.
|
|
261
|
+
:param str name: Name of the resource.
|
|
262
|
+
:param str org_id: Unique identifier of the organization.
|
|
263
|
+
:param str project_id: Unique identifier of the project.
|
|
264
|
+
"""
|
|
265
|
+
__args__ = dict()
|
|
266
|
+
__args__['identifier'] = identifier
|
|
267
|
+
__args__['name'] = name
|
|
268
|
+
__args__['orgId'] = org_id
|
|
269
|
+
__args__['projectId'] = project_id
|
|
270
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
271
|
+
__ret__ = pulumi.runtime.invoke_output('harness:platform/getServiceNowConnector:getServiceNowConnector', __args__, opts=opts, typ=GetServiceNowConnectorResult)
|
|
272
|
+
return __ret__.apply(lambda __response__: GetServiceNowConnectorResult(
|
|
273
|
+
auths=pulumi.get(__response__, 'auths'),
|
|
274
|
+
delegate_selectors=pulumi.get(__response__, 'delegate_selectors'),
|
|
275
|
+
description=pulumi.get(__response__, 'description'),
|
|
276
|
+
id=pulumi.get(__response__, 'id'),
|
|
277
|
+
identifier=pulumi.get(__response__, 'identifier'),
|
|
278
|
+
name=pulumi.get(__response__, 'name'),
|
|
279
|
+
org_id=pulumi.get(__response__, 'org_id'),
|
|
280
|
+
password_ref=pulumi.get(__response__, 'password_ref'),
|
|
281
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
282
|
+
service_now_url=pulumi.get(__response__, 'service_now_url'),
|
|
283
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
284
|
+
username=pulumi.get(__response__, 'username'),
|
|
285
|
+
username_ref=pulumi.get(__response__, 'username_ref')))
|
|
@@ -0,0 +1,220 @@
|
|
|
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
|
+
'GetServiceOverridesV2Result',
|
|
21
|
+
'AwaitableGetServiceOverridesV2Result',
|
|
22
|
+
'get_service_overrides_v2',
|
|
23
|
+
'get_service_overrides_v2_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetServiceOverridesV2Result:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getServiceOverridesV2.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, cluster_id=None, env_id=None, git_details=None, id=None, identifier=None, infra_id=None, org_id=None, project_id=None, service_id=None, type=None, yaml=None):
|
|
32
|
+
if cluster_id and not isinstance(cluster_id, str):
|
|
33
|
+
raise TypeError("Expected argument 'cluster_id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
35
|
+
if env_id and not isinstance(env_id, str):
|
|
36
|
+
raise TypeError("Expected argument 'env_id' to be a str")
|
|
37
|
+
pulumi.set(__self__, "env_id", env_id)
|
|
38
|
+
if git_details and not isinstance(git_details, dict):
|
|
39
|
+
raise TypeError("Expected argument 'git_details' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "git_details", git_details)
|
|
41
|
+
if id and not isinstance(id, str):
|
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
43
|
+
pulumi.set(__self__, "id", id)
|
|
44
|
+
if identifier and not isinstance(identifier, str):
|
|
45
|
+
raise TypeError("Expected argument 'identifier' to be a str")
|
|
46
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
47
|
+
if infra_id and not isinstance(infra_id, str):
|
|
48
|
+
raise TypeError("Expected argument 'infra_id' to be a str")
|
|
49
|
+
pulumi.set(__self__, "infra_id", infra_id)
|
|
50
|
+
if org_id and not isinstance(org_id, str):
|
|
51
|
+
raise TypeError("Expected argument 'org_id' to be a str")
|
|
52
|
+
pulumi.set(__self__, "org_id", org_id)
|
|
53
|
+
if project_id and not isinstance(project_id, str):
|
|
54
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
55
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
56
|
+
if service_id and not isinstance(service_id, str):
|
|
57
|
+
raise TypeError("Expected argument 'service_id' to be a str")
|
|
58
|
+
pulumi.set(__self__, "service_id", service_id)
|
|
59
|
+
if type and not isinstance(type, str):
|
|
60
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
61
|
+
pulumi.set(__self__, "type", type)
|
|
62
|
+
if yaml and not isinstance(yaml, str):
|
|
63
|
+
raise TypeError("Expected argument 'yaml' to be a str")
|
|
64
|
+
pulumi.set(__self__, "yaml", yaml)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter(name="clusterId")
|
|
68
|
+
def cluster_id(self) -> str:
|
|
69
|
+
return pulumi.get(self, "cluster_id")
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter(name="envId")
|
|
73
|
+
def env_id(self) -> str:
|
|
74
|
+
return pulumi.get(self, "env_id")
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter(name="gitDetails")
|
|
78
|
+
def git_details(self) -> 'outputs.GetServiceOverridesV2GitDetailsResult':
|
|
79
|
+
return pulumi.get(self, "git_details")
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter
|
|
83
|
+
def id(self) -> str:
|
|
84
|
+
"""
|
|
85
|
+
The provider-assigned unique ID for this managed resource.
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "id")
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter
|
|
91
|
+
def identifier(self) -> str:
|
|
92
|
+
return pulumi.get(self, "identifier")
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter(name="infraId")
|
|
96
|
+
def infra_id(self) -> str:
|
|
97
|
+
return pulumi.get(self, "infra_id")
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
@pulumi.getter(name="orgId")
|
|
101
|
+
def org_id(self) -> Optional[str]:
|
|
102
|
+
return pulumi.get(self, "org_id")
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter(name="projectId")
|
|
106
|
+
def project_id(self) -> Optional[str]:
|
|
107
|
+
return pulumi.get(self, "project_id")
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter(name="serviceId")
|
|
111
|
+
def service_id(self) -> str:
|
|
112
|
+
return pulumi.get(self, "service_id")
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
@pulumi.getter
|
|
116
|
+
def type(self) -> str:
|
|
117
|
+
return pulumi.get(self, "type")
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter
|
|
121
|
+
def yaml(self) -> str:
|
|
122
|
+
return pulumi.get(self, "yaml")
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class AwaitableGetServiceOverridesV2Result(GetServiceOverridesV2Result):
|
|
126
|
+
# pylint: disable=using-constant-test
|
|
127
|
+
def __await__(self):
|
|
128
|
+
if False:
|
|
129
|
+
yield self
|
|
130
|
+
return GetServiceOverridesV2Result(
|
|
131
|
+
cluster_id=self.cluster_id,
|
|
132
|
+
env_id=self.env_id,
|
|
133
|
+
git_details=self.git_details,
|
|
134
|
+
id=self.id,
|
|
135
|
+
identifier=self.identifier,
|
|
136
|
+
infra_id=self.infra_id,
|
|
137
|
+
org_id=self.org_id,
|
|
138
|
+
project_id=self.project_id,
|
|
139
|
+
service_id=self.service_id,
|
|
140
|
+
type=self.type,
|
|
141
|
+
yaml=self.yaml)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
def get_service_overrides_v2(git_details: Optional[Union['GetServiceOverridesV2GitDetailsArgs', 'GetServiceOverridesV2GitDetailsArgsDict']] = None,
|
|
145
|
+
identifier: Optional[str] = None,
|
|
146
|
+
org_id: Optional[str] = None,
|
|
147
|
+
project_id: Optional[str] = None,
|
|
148
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceOverridesV2Result:
|
|
149
|
+
"""
|
|
150
|
+
Data source for Harness service overrides V2.
|
|
151
|
+
|
|
152
|
+
## Example Usage
|
|
153
|
+
|
|
154
|
+
```python
|
|
155
|
+
import pulumi
|
|
156
|
+
import pulumi_harness as harness
|
|
157
|
+
|
|
158
|
+
test = harness.platform.get_service_overrides_v2(identifier="identifier",
|
|
159
|
+
org_id="orgIdentifier",
|
|
160
|
+
project_id="projectIdentifier")
|
|
161
|
+
```
|
|
162
|
+
"""
|
|
163
|
+
__args__ = dict()
|
|
164
|
+
__args__['gitDetails'] = git_details
|
|
165
|
+
__args__['identifier'] = identifier
|
|
166
|
+
__args__['orgId'] = org_id
|
|
167
|
+
__args__['projectId'] = project_id
|
|
168
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
169
|
+
__ret__ = pulumi.runtime.invoke('harness:platform/getServiceOverridesV2:getServiceOverridesV2', __args__, opts=opts, typ=GetServiceOverridesV2Result).value
|
|
170
|
+
|
|
171
|
+
return AwaitableGetServiceOverridesV2Result(
|
|
172
|
+
cluster_id=pulumi.get(__ret__, 'cluster_id'),
|
|
173
|
+
env_id=pulumi.get(__ret__, 'env_id'),
|
|
174
|
+
git_details=pulumi.get(__ret__, 'git_details'),
|
|
175
|
+
id=pulumi.get(__ret__, 'id'),
|
|
176
|
+
identifier=pulumi.get(__ret__, 'identifier'),
|
|
177
|
+
infra_id=pulumi.get(__ret__, 'infra_id'),
|
|
178
|
+
org_id=pulumi.get(__ret__, 'org_id'),
|
|
179
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
180
|
+
service_id=pulumi.get(__ret__, 'service_id'),
|
|
181
|
+
type=pulumi.get(__ret__, 'type'),
|
|
182
|
+
yaml=pulumi.get(__ret__, 'yaml'))
|
|
183
|
+
def get_service_overrides_v2_output(git_details: Optional[pulumi.Input[Optional[Union['GetServiceOverridesV2GitDetailsArgs', 'GetServiceOverridesV2GitDetailsArgsDict']]]] = None,
|
|
184
|
+
identifier: Optional[pulumi.Input[str]] = None,
|
|
185
|
+
org_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
186
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
187
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceOverridesV2Result]:
|
|
188
|
+
"""
|
|
189
|
+
Data source for Harness service overrides V2.
|
|
190
|
+
|
|
191
|
+
## Example Usage
|
|
192
|
+
|
|
193
|
+
```python
|
|
194
|
+
import pulumi
|
|
195
|
+
import pulumi_harness as harness
|
|
196
|
+
|
|
197
|
+
test = harness.platform.get_service_overrides_v2(identifier="identifier",
|
|
198
|
+
org_id="orgIdentifier",
|
|
199
|
+
project_id="projectIdentifier")
|
|
200
|
+
```
|
|
201
|
+
"""
|
|
202
|
+
__args__ = dict()
|
|
203
|
+
__args__['gitDetails'] = git_details
|
|
204
|
+
__args__['identifier'] = identifier
|
|
205
|
+
__args__['orgId'] = org_id
|
|
206
|
+
__args__['projectId'] = project_id
|
|
207
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
208
|
+
__ret__ = pulumi.runtime.invoke_output('harness:platform/getServiceOverridesV2:getServiceOverridesV2', __args__, opts=opts, typ=GetServiceOverridesV2Result)
|
|
209
|
+
return __ret__.apply(lambda __response__: GetServiceOverridesV2Result(
|
|
210
|
+
cluster_id=pulumi.get(__response__, 'cluster_id'),
|
|
211
|
+
env_id=pulumi.get(__response__, 'env_id'),
|
|
212
|
+
git_details=pulumi.get(__response__, 'git_details'),
|
|
213
|
+
id=pulumi.get(__response__, 'id'),
|
|
214
|
+
identifier=pulumi.get(__response__, 'identifier'),
|
|
215
|
+
infra_id=pulumi.get(__response__, 'infra_id'),
|
|
216
|
+
org_id=pulumi.get(__response__, 'org_id'),
|
|
217
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
218
|
+
service_id=pulumi.get(__response__, 'service_id'),
|
|
219
|
+
type=pulumi.get(__response__, 'type'),
|
|
220
|
+
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
|
+
'GetSloResult',
|
|
19
|
+
'AwaitableGetSloResult',
|
|
20
|
+
'get_slo',
|
|
21
|
+
'get_slo_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetSloResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getSlo.
|
|
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 SLO.
|
|
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 SLO 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 SLO is configured.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "project_id")
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class AwaitableGetSloResult(GetSloResult):
|
|
77
|
+
# pylint: disable=using-constant-test
|
|
78
|
+
def __await__(self):
|
|
79
|
+
if False:
|
|
80
|
+
yield self
|
|
81
|
+
return GetSloResult(
|
|
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_slo(identifier: Optional[str] = None,
|
|
89
|
+
org_id: Optional[str] = None,
|
|
90
|
+
project_id: Optional[str] = None,
|
|
91
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSloResult:
|
|
92
|
+
"""
|
|
93
|
+
Data source for retrieving an SLO.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param str identifier: Identifier of the SLO.
|
|
97
|
+
:param str org_id: Identifier of the organization in which the SLO is configured.
|
|
98
|
+
:param str project_id: Identifier of the project in which the SLO 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/getSlo:getSlo', __args__, opts=opts, typ=GetSloResult).value
|
|
106
|
+
|
|
107
|
+
return AwaitableGetSloResult(
|
|
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_slo_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[GetSloResult]:
|
|
116
|
+
"""
|
|
117
|
+
Data source for retrieving an SLO.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:param str identifier: Identifier of the SLO.
|
|
121
|
+
:param str org_id: Identifier of the organization in which the SLO is configured.
|
|
122
|
+
:param str project_id: Identifier of the project in which the SLO 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/getSlo:getSlo', __args__, opts=opts, typ=GetSloResult)
|
|
130
|
+
return __ret__.apply(lambda __response__: GetSloResult(
|
|
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')))
|