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,184 @@
|
|
|
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
|
+
'GetEnvironmentResult',
|
|
21
|
+
'AwaitableGetEnvironmentResult',
|
|
22
|
+
'get_environment',
|
|
23
|
+
'get_environment_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetEnvironmentResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getEnvironment.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, app_id=None, description=None, environment_id=None, id=None, name=None, type=None, variable_overrides=None):
|
|
32
|
+
if app_id and not isinstance(app_id, str):
|
|
33
|
+
raise TypeError("Expected argument 'app_id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "app_id", app_id)
|
|
35
|
+
if description and not isinstance(description, str):
|
|
36
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
37
|
+
pulumi.set(__self__, "description", description)
|
|
38
|
+
if environment_id and not isinstance(environment_id, str):
|
|
39
|
+
raise TypeError("Expected argument 'environment_id' to be a str")
|
|
40
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
|
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 name and not isinstance(name, str):
|
|
45
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
46
|
+
pulumi.set(__self__, "name", name)
|
|
47
|
+
if type and not isinstance(type, str):
|
|
48
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
49
|
+
pulumi.set(__self__, "type", type)
|
|
50
|
+
if variable_overrides and not isinstance(variable_overrides, list):
|
|
51
|
+
raise TypeError("Expected argument 'variable_overrides' to be a list")
|
|
52
|
+
pulumi.set(__self__, "variable_overrides", variable_overrides)
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
@pulumi.getter(name="appId")
|
|
56
|
+
def app_id(self) -> str:
|
|
57
|
+
"""
|
|
58
|
+
The id of the application.
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "app_id")
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter
|
|
64
|
+
def description(self) -> str:
|
|
65
|
+
"""
|
|
66
|
+
The description of the environment.
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "description")
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter(name="environmentId")
|
|
72
|
+
def environment_id(self) -> Optional[str]:
|
|
73
|
+
"""
|
|
74
|
+
The id of the environment.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "environment_id")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def id(self) -> str:
|
|
81
|
+
"""
|
|
82
|
+
The id of the environment.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "id")
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter
|
|
88
|
+
def name(self) -> Optional[str]:
|
|
89
|
+
"""
|
|
90
|
+
The name of the environment.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "name")
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter
|
|
96
|
+
def type(self) -> str:
|
|
97
|
+
"""
|
|
98
|
+
The type of the environment. Valid values are `PROD` and `NON_PROD`
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "type")
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter(name="variableOverrides")
|
|
104
|
+
def variable_overrides(self) -> Sequence['outputs.GetEnvironmentVariableOverrideResult']:
|
|
105
|
+
"""
|
|
106
|
+
Override for a service variable
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "variable_overrides")
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
class AwaitableGetEnvironmentResult(GetEnvironmentResult):
|
|
112
|
+
# pylint: disable=using-constant-test
|
|
113
|
+
def __await__(self):
|
|
114
|
+
if False:
|
|
115
|
+
yield self
|
|
116
|
+
return GetEnvironmentResult(
|
|
117
|
+
app_id=self.app_id,
|
|
118
|
+
description=self.description,
|
|
119
|
+
environment_id=self.environment_id,
|
|
120
|
+
id=self.id,
|
|
121
|
+
name=self.name,
|
|
122
|
+
type=self.type,
|
|
123
|
+
variable_overrides=self.variable_overrides)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
def get_environment(app_id: Optional[str] = None,
|
|
127
|
+
environment_id: Optional[str] = None,
|
|
128
|
+
name: Optional[str] = None,
|
|
129
|
+
variable_overrides: Optional[Sequence[Union['GetEnvironmentVariableOverrideArgs', 'GetEnvironmentVariableOverrideArgsDict']]] = None,
|
|
130
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEnvironmentResult:
|
|
131
|
+
"""
|
|
132
|
+
Data source for retrieving a Harness service
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param str app_id: The id of the application.
|
|
136
|
+
:param str environment_id: The id of the environment.
|
|
137
|
+
:param str name: The name of the environment.
|
|
138
|
+
:param Sequence[Union['GetEnvironmentVariableOverrideArgs', 'GetEnvironmentVariableOverrideArgsDict']] variable_overrides: Override for a service variable
|
|
139
|
+
"""
|
|
140
|
+
__args__ = dict()
|
|
141
|
+
__args__['appId'] = app_id
|
|
142
|
+
__args__['environmentId'] = environment_id
|
|
143
|
+
__args__['name'] = name
|
|
144
|
+
__args__['variableOverrides'] = variable_overrides
|
|
145
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
146
|
+
__ret__ = pulumi.runtime.invoke('harness:index/getEnvironment:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult).value
|
|
147
|
+
|
|
148
|
+
return AwaitableGetEnvironmentResult(
|
|
149
|
+
app_id=pulumi.get(__ret__, 'app_id'),
|
|
150
|
+
description=pulumi.get(__ret__, 'description'),
|
|
151
|
+
environment_id=pulumi.get(__ret__, 'environment_id'),
|
|
152
|
+
id=pulumi.get(__ret__, 'id'),
|
|
153
|
+
name=pulumi.get(__ret__, 'name'),
|
|
154
|
+
type=pulumi.get(__ret__, 'type'),
|
|
155
|
+
variable_overrides=pulumi.get(__ret__, 'variable_overrides'))
|
|
156
|
+
def get_environment_output(app_id: Optional[pulumi.Input[str]] = None,
|
|
157
|
+
environment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
158
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
159
|
+
variable_overrides: Optional[pulumi.Input[Optional[Sequence[Union['GetEnvironmentVariableOverrideArgs', 'GetEnvironmentVariableOverrideArgsDict']]]]] = None,
|
|
160
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEnvironmentResult]:
|
|
161
|
+
"""
|
|
162
|
+
Data source for retrieving a Harness service
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
:param str app_id: The id of the application.
|
|
166
|
+
:param str environment_id: The id of the environment.
|
|
167
|
+
:param str name: The name of the environment.
|
|
168
|
+
:param Sequence[Union['GetEnvironmentVariableOverrideArgs', 'GetEnvironmentVariableOverrideArgsDict']] variable_overrides: Override for a service variable
|
|
169
|
+
"""
|
|
170
|
+
__args__ = dict()
|
|
171
|
+
__args__['appId'] = app_id
|
|
172
|
+
__args__['environmentId'] = environment_id
|
|
173
|
+
__args__['name'] = name
|
|
174
|
+
__args__['variableOverrides'] = variable_overrides
|
|
175
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
176
|
+
__ret__ = pulumi.runtime.invoke_output('harness:index/getEnvironment:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult)
|
|
177
|
+
return __ret__.apply(lambda __response__: GetEnvironmentResult(
|
|
178
|
+
app_id=pulumi.get(__response__, 'app_id'),
|
|
179
|
+
description=pulumi.get(__response__, 'description'),
|
|
180
|
+
environment_id=pulumi.get(__response__, 'environment_id'),
|
|
181
|
+
id=pulumi.get(__response__, 'id'),
|
|
182
|
+
name=pulumi.get(__response__, 'name'),
|
|
183
|
+
type=pulumi.get(__response__, 'type'),
|
|
184
|
+
variable_overrides=pulumi.get(__response__, 'variable_overrides')))
|
|
@@ -0,0 +1,255 @@
|
|
|
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
|
+
'GetGitConnectorResult',
|
|
20
|
+
'AwaitableGetGitConnectorResult',
|
|
21
|
+
'get_git_connector',
|
|
22
|
+
'get_git_connector_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetGitConnectorResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getGitConnector.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, branch=None, commit_details=None, created_at=None, delegate_selectors=None, generate_webhook_url=None, id=None, name=None, password_secret_id=None, ssh_setting_id=None, url=None, url_type=None, username=None, webhook_url=None):
|
|
31
|
+
if branch and not isinstance(branch, str):
|
|
32
|
+
raise TypeError("Expected argument 'branch' to be a str")
|
|
33
|
+
pulumi.set(__self__, "branch", branch)
|
|
34
|
+
if commit_details and not isinstance(commit_details, list):
|
|
35
|
+
raise TypeError("Expected argument 'commit_details' to be a list")
|
|
36
|
+
pulumi.set(__self__, "commit_details", commit_details)
|
|
37
|
+
if created_at and not isinstance(created_at, str):
|
|
38
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
39
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
40
|
+
if delegate_selectors and not isinstance(delegate_selectors, list):
|
|
41
|
+
raise TypeError("Expected argument 'delegate_selectors' to be a list")
|
|
42
|
+
pulumi.set(__self__, "delegate_selectors", delegate_selectors)
|
|
43
|
+
if generate_webhook_url and not isinstance(generate_webhook_url, bool):
|
|
44
|
+
raise TypeError("Expected argument 'generate_webhook_url' to be a bool")
|
|
45
|
+
pulumi.set(__self__, "generate_webhook_url", generate_webhook_url)
|
|
46
|
+
if id and not isinstance(id, str):
|
|
47
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
48
|
+
pulumi.set(__self__, "id", id)
|
|
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 password_secret_id and not isinstance(password_secret_id, str):
|
|
53
|
+
raise TypeError("Expected argument 'password_secret_id' to be a str")
|
|
54
|
+
pulumi.set(__self__, "password_secret_id", password_secret_id)
|
|
55
|
+
if ssh_setting_id and not isinstance(ssh_setting_id, str):
|
|
56
|
+
raise TypeError("Expected argument 'ssh_setting_id' to be a str")
|
|
57
|
+
pulumi.set(__self__, "ssh_setting_id", ssh_setting_id)
|
|
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 url_type and not isinstance(url_type, str):
|
|
62
|
+
raise TypeError("Expected argument 'url_type' to be a str")
|
|
63
|
+
pulumi.set(__self__, "url_type", url_type)
|
|
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 webhook_url and not isinstance(webhook_url, str):
|
|
68
|
+
raise TypeError("Expected argument 'webhook_url' to be a str")
|
|
69
|
+
pulumi.set(__self__, "webhook_url", webhook_url)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter
|
|
73
|
+
def branch(self) -> str:
|
|
74
|
+
"""
|
|
75
|
+
The branch of the git connector to use.
|
|
76
|
+
"""
|
|
77
|
+
return pulumi.get(self, "branch")
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter(name="commitDetails")
|
|
81
|
+
def commit_details(self) -> Sequence['outputs.GetGitConnectorCommitDetailResult']:
|
|
82
|
+
"""
|
|
83
|
+
Custom details to use when making commits using this git connector.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "commit_details")
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
@pulumi.getter(name="createdAt")
|
|
89
|
+
def created_at(self) -> str:
|
|
90
|
+
"""
|
|
91
|
+
The time the git connector was created.
|
|
92
|
+
"""
|
|
93
|
+
return pulumi.get(self, "created_at")
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
@pulumi.getter(name="delegateSelectors")
|
|
97
|
+
def delegate_selectors(self) -> Sequence[str]:
|
|
98
|
+
"""
|
|
99
|
+
Delegate selectors to apply to this git connector.
|
|
100
|
+
"""
|
|
101
|
+
return pulumi.get(self, "delegate_selectors")
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter(name="generateWebhookUrl")
|
|
105
|
+
def generate_webhook_url(self) -> bool:
|
|
106
|
+
"""
|
|
107
|
+
Boolean indicating whether or not to generate a webhook url.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "generate_webhook_url")
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
@pulumi.getter
|
|
113
|
+
def id(self) -> Optional[str]:
|
|
114
|
+
"""
|
|
115
|
+
Id of the git connector.
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "id")
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter
|
|
121
|
+
def name(self) -> Optional[str]:
|
|
122
|
+
"""
|
|
123
|
+
The name of the git connector.
|
|
124
|
+
"""
|
|
125
|
+
return pulumi.get(self, "name")
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
@pulumi.getter(name="passwordSecretId")
|
|
129
|
+
def password_secret_id(self) -> str:
|
|
130
|
+
"""
|
|
131
|
+
The id of the secret for connecting to the git repository.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "password_secret_id")
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
@pulumi.getter(name="sshSettingId")
|
|
137
|
+
def ssh_setting_id(self) -> str:
|
|
138
|
+
"""
|
|
139
|
+
The id of the SSH secret to use.
|
|
140
|
+
"""
|
|
141
|
+
return pulumi.get(self, "ssh_setting_id")
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter
|
|
145
|
+
def url(self) -> str:
|
|
146
|
+
"""
|
|
147
|
+
The URL of the git repository or account/organization.
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "url")
|
|
150
|
+
|
|
151
|
+
@property
|
|
152
|
+
@pulumi.getter(name="urlType")
|
|
153
|
+
def url_type(self) -> str:
|
|
154
|
+
"""
|
|
155
|
+
The type of git url being used. Options are `ACCOUNT`, and `REPO`.
|
|
156
|
+
"""
|
|
157
|
+
return pulumi.get(self, "url_type")
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
@pulumi.getter
|
|
161
|
+
def username(self) -> str:
|
|
162
|
+
"""
|
|
163
|
+
The name of the user used to connect to the git repository.
|
|
164
|
+
"""
|
|
165
|
+
return pulumi.get(self, "username")
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
@pulumi.getter(name="webhookUrl")
|
|
169
|
+
def webhook_url(self) -> str:
|
|
170
|
+
"""
|
|
171
|
+
The generated webhook url.
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "webhook_url")
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
class AwaitableGetGitConnectorResult(GetGitConnectorResult):
|
|
177
|
+
# pylint: disable=using-constant-test
|
|
178
|
+
def __await__(self):
|
|
179
|
+
if False:
|
|
180
|
+
yield self
|
|
181
|
+
return GetGitConnectorResult(
|
|
182
|
+
branch=self.branch,
|
|
183
|
+
commit_details=self.commit_details,
|
|
184
|
+
created_at=self.created_at,
|
|
185
|
+
delegate_selectors=self.delegate_selectors,
|
|
186
|
+
generate_webhook_url=self.generate_webhook_url,
|
|
187
|
+
id=self.id,
|
|
188
|
+
name=self.name,
|
|
189
|
+
password_secret_id=self.password_secret_id,
|
|
190
|
+
ssh_setting_id=self.ssh_setting_id,
|
|
191
|
+
url=self.url,
|
|
192
|
+
url_type=self.url_type,
|
|
193
|
+
username=self.username,
|
|
194
|
+
webhook_url=self.webhook_url)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
def get_git_connector(id: Optional[str] = None,
|
|
198
|
+
name: Optional[str] = None,
|
|
199
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitConnectorResult:
|
|
200
|
+
"""
|
|
201
|
+
Data source for retrieving a Harness application
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
:param str id: Id of the git connector.
|
|
205
|
+
:param str name: The name of the git connector.
|
|
206
|
+
"""
|
|
207
|
+
__args__ = dict()
|
|
208
|
+
__args__['id'] = id
|
|
209
|
+
__args__['name'] = name
|
|
210
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
211
|
+
__ret__ = pulumi.runtime.invoke('harness:index/getGitConnector:getGitConnector', __args__, opts=opts, typ=GetGitConnectorResult).value
|
|
212
|
+
|
|
213
|
+
return AwaitableGetGitConnectorResult(
|
|
214
|
+
branch=pulumi.get(__ret__, 'branch'),
|
|
215
|
+
commit_details=pulumi.get(__ret__, 'commit_details'),
|
|
216
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
217
|
+
delegate_selectors=pulumi.get(__ret__, 'delegate_selectors'),
|
|
218
|
+
generate_webhook_url=pulumi.get(__ret__, 'generate_webhook_url'),
|
|
219
|
+
id=pulumi.get(__ret__, 'id'),
|
|
220
|
+
name=pulumi.get(__ret__, 'name'),
|
|
221
|
+
password_secret_id=pulumi.get(__ret__, 'password_secret_id'),
|
|
222
|
+
ssh_setting_id=pulumi.get(__ret__, 'ssh_setting_id'),
|
|
223
|
+
url=pulumi.get(__ret__, 'url'),
|
|
224
|
+
url_type=pulumi.get(__ret__, 'url_type'),
|
|
225
|
+
username=pulumi.get(__ret__, 'username'),
|
|
226
|
+
webhook_url=pulumi.get(__ret__, 'webhook_url'))
|
|
227
|
+
def get_git_connector_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
228
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
229
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitConnectorResult]:
|
|
230
|
+
"""
|
|
231
|
+
Data source for retrieving a Harness application
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
:param str id: Id of the git connector.
|
|
235
|
+
:param str name: The name of the git connector.
|
|
236
|
+
"""
|
|
237
|
+
__args__ = dict()
|
|
238
|
+
__args__['id'] = id
|
|
239
|
+
__args__['name'] = name
|
|
240
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
241
|
+
__ret__ = pulumi.runtime.invoke_output('harness:index/getGitConnector:getGitConnector', __args__, opts=opts, typ=GetGitConnectorResult)
|
|
242
|
+
return __ret__.apply(lambda __response__: GetGitConnectorResult(
|
|
243
|
+
branch=pulumi.get(__response__, 'branch'),
|
|
244
|
+
commit_details=pulumi.get(__response__, 'commit_details'),
|
|
245
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
246
|
+
delegate_selectors=pulumi.get(__response__, 'delegate_selectors'),
|
|
247
|
+
generate_webhook_url=pulumi.get(__response__, 'generate_webhook_url'),
|
|
248
|
+
id=pulumi.get(__response__, 'id'),
|
|
249
|
+
name=pulumi.get(__response__, 'name'),
|
|
250
|
+
password_secret_id=pulumi.get(__response__, 'password_secret_id'),
|
|
251
|
+
ssh_setting_id=pulumi.get(__response__, 'ssh_setting_id'),
|
|
252
|
+
url=pulumi.get(__response__, 'url'),
|
|
253
|
+
url_type=pulumi.get(__response__, 'url_type'),
|
|
254
|
+
username=pulumi.get(__response__, 'username'),
|
|
255
|
+
webhook_url=pulumi.get(__response__, 'webhook_url')))
|
|
@@ -0,0 +1,142 @@
|
|
|
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
|
+
'GetSecretManagerResult',
|
|
21
|
+
'AwaitableGetSecretManagerResult',
|
|
22
|
+
'get_secret_manager',
|
|
23
|
+
'get_secret_manager_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetSecretManagerResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getSecretManager.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, default=None, id=None, name=None, usage_scopes=None):
|
|
32
|
+
if default and not isinstance(default, bool):
|
|
33
|
+
raise TypeError("Expected argument 'default' to be a bool")
|
|
34
|
+
pulumi.set(__self__, "default", default)
|
|
35
|
+
if id and not isinstance(id, str):
|
|
36
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
37
|
+
pulumi.set(__self__, "id", id)
|
|
38
|
+
if name and not isinstance(name, str):
|
|
39
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
40
|
+
pulumi.set(__self__, "name", name)
|
|
41
|
+
if usage_scopes and not isinstance(usage_scopes, list):
|
|
42
|
+
raise TypeError("Expected argument 'usage_scopes' to be a list")
|
|
43
|
+
pulumi.set(__self__, "usage_scopes", usage_scopes)
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
@pulumi.getter
|
|
47
|
+
def default(self) -> Optional[bool]:
|
|
48
|
+
"""
|
|
49
|
+
True to lookup the id of the default secret manager
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "default")
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter
|
|
55
|
+
def id(self) -> Optional[str]:
|
|
56
|
+
"""
|
|
57
|
+
Unique identifier of the secret manager
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "id")
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def name(self) -> Optional[str]:
|
|
64
|
+
"""
|
|
65
|
+
The name of the secret manager
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "name")
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="usageScopes")
|
|
71
|
+
def usage_scopes(self) -> Optional[Sequence['outputs.GetSecretManagerUsageScopeResult']]:
|
|
72
|
+
"""
|
|
73
|
+
This block is used for scoping the resource to a specific set of applications or environments.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "usage_scopes")
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class AwaitableGetSecretManagerResult(GetSecretManagerResult):
|
|
79
|
+
# pylint: disable=using-constant-test
|
|
80
|
+
def __await__(self):
|
|
81
|
+
if False:
|
|
82
|
+
yield self
|
|
83
|
+
return GetSecretManagerResult(
|
|
84
|
+
default=self.default,
|
|
85
|
+
id=self.id,
|
|
86
|
+
name=self.name,
|
|
87
|
+
usage_scopes=self.usage_scopes)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def get_secret_manager(default: Optional[bool] = None,
|
|
91
|
+
id: Optional[str] = None,
|
|
92
|
+
name: Optional[str] = None,
|
|
93
|
+
usage_scopes: Optional[Sequence[Union['GetSecretManagerUsageScopeArgs', 'GetSecretManagerUsageScopeArgsDict']]] = None,
|
|
94
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretManagerResult:
|
|
95
|
+
"""
|
|
96
|
+
Data source for retrieving a Harness secret manager
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param bool default: True to lookup the id of the default secret manager
|
|
100
|
+
:param str id: Unique identifier of the secret manager
|
|
101
|
+
:param str name: The name of the secret manager
|
|
102
|
+
:param Sequence[Union['GetSecretManagerUsageScopeArgs', 'GetSecretManagerUsageScopeArgsDict']] usage_scopes: This block is used for scoping the resource to a specific set of applications or environments.
|
|
103
|
+
"""
|
|
104
|
+
__args__ = dict()
|
|
105
|
+
__args__['default'] = default
|
|
106
|
+
__args__['id'] = id
|
|
107
|
+
__args__['name'] = name
|
|
108
|
+
__args__['usageScopes'] = usage_scopes
|
|
109
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
110
|
+
__ret__ = pulumi.runtime.invoke('harness:index/getSecretManager:getSecretManager', __args__, opts=opts, typ=GetSecretManagerResult).value
|
|
111
|
+
|
|
112
|
+
return AwaitableGetSecretManagerResult(
|
|
113
|
+
default=pulumi.get(__ret__, 'default'),
|
|
114
|
+
id=pulumi.get(__ret__, 'id'),
|
|
115
|
+
name=pulumi.get(__ret__, 'name'),
|
|
116
|
+
usage_scopes=pulumi.get(__ret__, 'usage_scopes'))
|
|
117
|
+
def get_secret_manager_output(default: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
118
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
119
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
120
|
+
usage_scopes: Optional[pulumi.Input[Optional[Sequence[Union['GetSecretManagerUsageScopeArgs', 'GetSecretManagerUsageScopeArgsDict']]]]] = None,
|
|
121
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecretManagerResult]:
|
|
122
|
+
"""
|
|
123
|
+
Data source for retrieving a Harness secret manager
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param bool default: True to lookup the id of the default secret manager
|
|
127
|
+
:param str id: Unique identifier of the secret manager
|
|
128
|
+
:param str name: The name of the secret manager
|
|
129
|
+
:param Sequence[Union['GetSecretManagerUsageScopeArgs', 'GetSecretManagerUsageScopeArgsDict']] usage_scopes: This block is used for scoping the resource to a specific set of applications or environments.
|
|
130
|
+
"""
|
|
131
|
+
__args__ = dict()
|
|
132
|
+
__args__['default'] = default
|
|
133
|
+
__args__['id'] = id
|
|
134
|
+
__args__['name'] = name
|
|
135
|
+
__args__['usageScopes'] = usage_scopes
|
|
136
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
137
|
+
__ret__ = pulumi.runtime.invoke_output('harness:index/getSecretManager:getSecretManager', __args__, opts=opts, typ=GetSecretManagerResult)
|
|
138
|
+
return __ret__.apply(lambda __response__: GetSecretManagerResult(
|
|
139
|
+
default=pulumi.get(__response__, 'default'),
|
|
140
|
+
id=pulumi.get(__response__, 'id'),
|
|
141
|
+
name=pulumi.get(__response__, 'name'),
|
|
142
|
+
usage_scopes=pulumi.get(__response__, 'usage_scopes')))
|