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,411 @@
|
|
|
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
|
+
'GetWorkspaceResult',
|
|
21
|
+
'AwaitableGetWorkspaceResult',
|
|
22
|
+
'get_workspace',
|
|
23
|
+
'get_workspace_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetWorkspaceResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getWorkspace.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, cost_estimation_enabled=None, default_pipelines=None, description=None, environment_variables=None, id=None, identifier=None, name=None, org_id=None, project_id=None, provider_connector=None, provisioner_type=None, provisioner_version=None, repository=None, repository_branch=None, repository_commit=None, repository_connector=None, repository_path=None, repository_sha=None, terraform_variable_files=None, terraform_variables=None):
|
|
32
|
+
if cost_estimation_enabled and not isinstance(cost_estimation_enabled, bool):
|
|
33
|
+
raise TypeError("Expected argument 'cost_estimation_enabled' to be a bool")
|
|
34
|
+
pulumi.set(__self__, "cost_estimation_enabled", cost_estimation_enabled)
|
|
35
|
+
if default_pipelines and not isinstance(default_pipelines, dict):
|
|
36
|
+
raise TypeError("Expected argument 'default_pipelines' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "default_pipelines", default_pipelines)
|
|
38
|
+
if description and not isinstance(description, str):
|
|
39
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
40
|
+
pulumi.set(__self__, "description", description)
|
|
41
|
+
if environment_variables and not isinstance(environment_variables, list):
|
|
42
|
+
raise TypeError("Expected argument 'environment_variables' to be a list")
|
|
43
|
+
pulumi.set(__self__, "environment_variables", environment_variables)
|
|
44
|
+
if id and not isinstance(id, str):
|
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
46
|
+
pulumi.set(__self__, "id", id)
|
|
47
|
+
if identifier and not isinstance(identifier, str):
|
|
48
|
+
raise TypeError("Expected argument 'identifier' to be a str")
|
|
49
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
50
|
+
if name and not isinstance(name, str):
|
|
51
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
52
|
+
pulumi.set(__self__, "name", name)
|
|
53
|
+
if org_id and not isinstance(org_id, str):
|
|
54
|
+
raise TypeError("Expected argument 'org_id' to be a str")
|
|
55
|
+
pulumi.set(__self__, "org_id", org_id)
|
|
56
|
+
if project_id and not isinstance(project_id, str):
|
|
57
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
58
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
59
|
+
if provider_connector and not isinstance(provider_connector, str):
|
|
60
|
+
raise TypeError("Expected argument 'provider_connector' to be a str")
|
|
61
|
+
pulumi.set(__self__, "provider_connector", provider_connector)
|
|
62
|
+
if provisioner_type and not isinstance(provisioner_type, str):
|
|
63
|
+
raise TypeError("Expected argument 'provisioner_type' to be a str")
|
|
64
|
+
pulumi.set(__self__, "provisioner_type", provisioner_type)
|
|
65
|
+
if provisioner_version and not isinstance(provisioner_version, str):
|
|
66
|
+
raise TypeError("Expected argument 'provisioner_version' to be a str")
|
|
67
|
+
pulumi.set(__self__, "provisioner_version", provisioner_version)
|
|
68
|
+
if repository and not isinstance(repository, str):
|
|
69
|
+
raise TypeError("Expected argument 'repository' to be a str")
|
|
70
|
+
pulumi.set(__self__, "repository", repository)
|
|
71
|
+
if repository_branch and not isinstance(repository_branch, str):
|
|
72
|
+
raise TypeError("Expected argument 'repository_branch' to be a str")
|
|
73
|
+
pulumi.set(__self__, "repository_branch", repository_branch)
|
|
74
|
+
if repository_commit and not isinstance(repository_commit, str):
|
|
75
|
+
raise TypeError("Expected argument 'repository_commit' to be a str")
|
|
76
|
+
pulumi.set(__self__, "repository_commit", repository_commit)
|
|
77
|
+
if repository_connector and not isinstance(repository_connector, str):
|
|
78
|
+
raise TypeError("Expected argument 'repository_connector' to be a str")
|
|
79
|
+
pulumi.set(__self__, "repository_connector", repository_connector)
|
|
80
|
+
if repository_path and not isinstance(repository_path, str):
|
|
81
|
+
raise TypeError("Expected argument 'repository_path' to be a str")
|
|
82
|
+
pulumi.set(__self__, "repository_path", repository_path)
|
|
83
|
+
if repository_sha and not isinstance(repository_sha, str):
|
|
84
|
+
raise TypeError("Expected argument 'repository_sha' to be a str")
|
|
85
|
+
pulumi.set(__self__, "repository_sha", repository_sha)
|
|
86
|
+
if terraform_variable_files and not isinstance(terraform_variable_files, list):
|
|
87
|
+
raise TypeError("Expected argument 'terraform_variable_files' to be a list")
|
|
88
|
+
pulumi.set(__self__, "terraform_variable_files", terraform_variable_files)
|
|
89
|
+
if terraform_variables and not isinstance(terraform_variables, list):
|
|
90
|
+
raise TypeError("Expected argument 'terraform_variables' to be a list")
|
|
91
|
+
pulumi.set(__self__, "terraform_variables", terraform_variables)
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter(name="costEstimationEnabled")
|
|
95
|
+
def cost_estimation_enabled(self) -> bool:
|
|
96
|
+
"""
|
|
97
|
+
If enabled cost estimation operations will be performed in this workspace
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "cost_estimation_enabled")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter(name="defaultPipelines")
|
|
103
|
+
def default_pipelines(self) -> Mapping[str, str]:
|
|
104
|
+
return pulumi.get(self, "default_pipelines")
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter
|
|
108
|
+
def description(self) -> str:
|
|
109
|
+
"""
|
|
110
|
+
Description of the Workspace
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "description")
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
@pulumi.getter(name="environmentVariables")
|
|
116
|
+
def environment_variables(self) -> Sequence['outputs.GetWorkspaceEnvironmentVariableResult']:
|
|
117
|
+
"""
|
|
118
|
+
Environment variables configured on the workspace
|
|
119
|
+
"""
|
|
120
|
+
return pulumi.get(self, "environment_variables")
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter
|
|
124
|
+
def id(self) -> str:
|
|
125
|
+
"""
|
|
126
|
+
The provider-assigned unique ID for this managed resource.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "id")
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter
|
|
132
|
+
def identifier(self) -> str:
|
|
133
|
+
"""
|
|
134
|
+
Identifier of the Workspace
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "identifier")
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
@pulumi.getter
|
|
140
|
+
def name(self) -> str:
|
|
141
|
+
"""
|
|
142
|
+
Name of the Workspace
|
|
143
|
+
"""
|
|
144
|
+
return pulumi.get(self, "name")
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter(name="orgId")
|
|
148
|
+
def org_id(self) -> str:
|
|
149
|
+
"""
|
|
150
|
+
Organization Identifier
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "org_id")
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter(name="projectId")
|
|
156
|
+
def project_id(self) -> str:
|
|
157
|
+
"""
|
|
158
|
+
Project Identifier
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "project_id")
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter(name="providerConnector")
|
|
164
|
+
def provider_connector(self) -> str:
|
|
165
|
+
"""
|
|
166
|
+
Provider Connector is the reference to the connector for the infrastructure provider
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "provider_connector")
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
@pulumi.getter(name="provisionerType")
|
|
172
|
+
def provisioner_type(self) -> str:
|
|
173
|
+
"""
|
|
174
|
+
Provisioner type defines the provisioning tool to use.
|
|
175
|
+
"""
|
|
176
|
+
return pulumi.get(self, "provisioner_type")
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
@pulumi.getter(name="provisionerVersion")
|
|
180
|
+
def provisioner_version(self) -> str:
|
|
181
|
+
"""
|
|
182
|
+
Provisioner Version defines the tool version to use
|
|
183
|
+
"""
|
|
184
|
+
return pulumi.get(self, "provisioner_version")
|
|
185
|
+
|
|
186
|
+
@property
|
|
187
|
+
@pulumi.getter
|
|
188
|
+
def repository(self) -> str:
|
|
189
|
+
"""
|
|
190
|
+
Repository is the name of the repository to use
|
|
191
|
+
"""
|
|
192
|
+
return pulumi.get(self, "repository")
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
@pulumi.getter(name="repositoryBranch")
|
|
196
|
+
def repository_branch(self) -> str:
|
|
197
|
+
"""
|
|
198
|
+
Repository Branch in which the code should be accessed
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "repository_branch")
|
|
201
|
+
|
|
202
|
+
@property
|
|
203
|
+
@pulumi.getter(name="repositoryCommit")
|
|
204
|
+
def repository_commit(self) -> str:
|
|
205
|
+
"""
|
|
206
|
+
Repository Tag in which the code should be accessed
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "repository_commit")
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter(name="repositoryConnector")
|
|
212
|
+
def repository_connector(self) -> str:
|
|
213
|
+
"""
|
|
214
|
+
Repository Connector is the reference to the connector to use for this code
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "repository_connector")
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
@pulumi.getter(name="repositoryPath")
|
|
220
|
+
def repository_path(self) -> str:
|
|
221
|
+
"""
|
|
222
|
+
Repository Path is the path in which the infra code resides
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "repository_path")
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
@pulumi.getter(name="repositorySha")
|
|
228
|
+
def repository_sha(self) -> str:
|
|
229
|
+
"""
|
|
230
|
+
Repository SHA in which the code should be accessed
|
|
231
|
+
"""
|
|
232
|
+
return pulumi.get(self, "repository_sha")
|
|
233
|
+
|
|
234
|
+
@property
|
|
235
|
+
@pulumi.getter(name="terraformVariableFiles")
|
|
236
|
+
def terraform_variable_files(self) -> Sequence['outputs.GetWorkspaceTerraformVariableFileResult']:
|
|
237
|
+
return pulumi.get(self, "terraform_variable_files")
|
|
238
|
+
|
|
239
|
+
@property
|
|
240
|
+
@pulumi.getter(name="terraformVariables")
|
|
241
|
+
def terraform_variables(self) -> Sequence['outputs.GetWorkspaceTerraformVariableResult']:
|
|
242
|
+
return pulumi.get(self, "terraform_variables")
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
class AwaitableGetWorkspaceResult(GetWorkspaceResult):
|
|
246
|
+
# pylint: disable=using-constant-test
|
|
247
|
+
def __await__(self):
|
|
248
|
+
if False:
|
|
249
|
+
yield self
|
|
250
|
+
return GetWorkspaceResult(
|
|
251
|
+
cost_estimation_enabled=self.cost_estimation_enabled,
|
|
252
|
+
default_pipelines=self.default_pipelines,
|
|
253
|
+
description=self.description,
|
|
254
|
+
environment_variables=self.environment_variables,
|
|
255
|
+
id=self.id,
|
|
256
|
+
identifier=self.identifier,
|
|
257
|
+
name=self.name,
|
|
258
|
+
org_id=self.org_id,
|
|
259
|
+
project_id=self.project_id,
|
|
260
|
+
provider_connector=self.provider_connector,
|
|
261
|
+
provisioner_type=self.provisioner_type,
|
|
262
|
+
provisioner_version=self.provisioner_version,
|
|
263
|
+
repository=self.repository,
|
|
264
|
+
repository_branch=self.repository_branch,
|
|
265
|
+
repository_commit=self.repository_commit,
|
|
266
|
+
repository_connector=self.repository_connector,
|
|
267
|
+
repository_path=self.repository_path,
|
|
268
|
+
repository_sha=self.repository_sha,
|
|
269
|
+
terraform_variable_files=self.terraform_variable_files,
|
|
270
|
+
terraform_variables=self.terraform_variables)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
def get_workspace(description: Optional[str] = None,
|
|
274
|
+
environment_variables: Optional[Sequence[Union['GetWorkspaceEnvironmentVariableArgs', 'GetWorkspaceEnvironmentVariableArgsDict']]] = None,
|
|
275
|
+
identifier: Optional[str] = None,
|
|
276
|
+
org_id: Optional[str] = None,
|
|
277
|
+
project_id: Optional[str] = None,
|
|
278
|
+
repository_branch: Optional[str] = None,
|
|
279
|
+
repository_commit: Optional[str] = None,
|
|
280
|
+
repository_sha: Optional[str] = None,
|
|
281
|
+
terraform_variable_files: Optional[Sequence[Union['GetWorkspaceTerraformVariableFileArgs', 'GetWorkspaceTerraformVariableFileArgsDict']]] = None,
|
|
282
|
+
terraform_variables: Optional[Sequence[Union['GetWorkspaceTerraformVariableArgs', 'GetWorkspaceTerraformVariableArgsDict']]] = None,
|
|
283
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceResult:
|
|
284
|
+
"""
|
|
285
|
+
Data source for retrieving workspaces.
|
|
286
|
+
|
|
287
|
+
## Example Usage
|
|
288
|
+
|
|
289
|
+
```python
|
|
290
|
+
import pulumi
|
|
291
|
+
import pulumi_harness as harness
|
|
292
|
+
|
|
293
|
+
test = harness.platform.get_workspace(identifier="identifier",
|
|
294
|
+
org_id="org_id",
|
|
295
|
+
project_id="project_id")
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
:param str description: Description of the Workspace
|
|
300
|
+
:param Sequence[Union['GetWorkspaceEnvironmentVariableArgs', 'GetWorkspaceEnvironmentVariableArgsDict']] environment_variables: Environment variables configured on the workspace
|
|
301
|
+
:param str identifier: Identifier of the Workspace
|
|
302
|
+
:param str org_id: Organization Identifier
|
|
303
|
+
:param str project_id: Project Identifier
|
|
304
|
+
:param str repository_branch: Repository Branch in which the code should be accessed
|
|
305
|
+
:param str repository_commit: Repository Tag in which the code should be accessed
|
|
306
|
+
:param str repository_sha: Repository SHA in which the code should be accessed
|
|
307
|
+
"""
|
|
308
|
+
__args__ = dict()
|
|
309
|
+
__args__['description'] = description
|
|
310
|
+
__args__['environmentVariables'] = environment_variables
|
|
311
|
+
__args__['identifier'] = identifier
|
|
312
|
+
__args__['orgId'] = org_id
|
|
313
|
+
__args__['projectId'] = project_id
|
|
314
|
+
__args__['repositoryBranch'] = repository_branch
|
|
315
|
+
__args__['repositoryCommit'] = repository_commit
|
|
316
|
+
__args__['repositorySha'] = repository_sha
|
|
317
|
+
__args__['terraformVariableFiles'] = terraform_variable_files
|
|
318
|
+
__args__['terraformVariables'] = terraform_variables
|
|
319
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
320
|
+
__ret__ = pulumi.runtime.invoke('harness:platform/getWorkspace:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult).value
|
|
321
|
+
|
|
322
|
+
return AwaitableGetWorkspaceResult(
|
|
323
|
+
cost_estimation_enabled=pulumi.get(__ret__, 'cost_estimation_enabled'),
|
|
324
|
+
default_pipelines=pulumi.get(__ret__, 'default_pipelines'),
|
|
325
|
+
description=pulumi.get(__ret__, 'description'),
|
|
326
|
+
environment_variables=pulumi.get(__ret__, 'environment_variables'),
|
|
327
|
+
id=pulumi.get(__ret__, 'id'),
|
|
328
|
+
identifier=pulumi.get(__ret__, 'identifier'),
|
|
329
|
+
name=pulumi.get(__ret__, 'name'),
|
|
330
|
+
org_id=pulumi.get(__ret__, 'org_id'),
|
|
331
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
332
|
+
provider_connector=pulumi.get(__ret__, 'provider_connector'),
|
|
333
|
+
provisioner_type=pulumi.get(__ret__, 'provisioner_type'),
|
|
334
|
+
provisioner_version=pulumi.get(__ret__, 'provisioner_version'),
|
|
335
|
+
repository=pulumi.get(__ret__, 'repository'),
|
|
336
|
+
repository_branch=pulumi.get(__ret__, 'repository_branch'),
|
|
337
|
+
repository_commit=pulumi.get(__ret__, 'repository_commit'),
|
|
338
|
+
repository_connector=pulumi.get(__ret__, 'repository_connector'),
|
|
339
|
+
repository_path=pulumi.get(__ret__, 'repository_path'),
|
|
340
|
+
repository_sha=pulumi.get(__ret__, 'repository_sha'),
|
|
341
|
+
terraform_variable_files=pulumi.get(__ret__, 'terraform_variable_files'),
|
|
342
|
+
terraform_variables=pulumi.get(__ret__, 'terraform_variables'))
|
|
343
|
+
def get_workspace_output(description: Optional[pulumi.Input[Optional[str]]] = None,
|
|
344
|
+
environment_variables: Optional[pulumi.Input[Optional[Sequence[Union['GetWorkspaceEnvironmentVariableArgs', 'GetWorkspaceEnvironmentVariableArgsDict']]]]] = None,
|
|
345
|
+
identifier: Optional[pulumi.Input[str]] = None,
|
|
346
|
+
org_id: Optional[pulumi.Input[str]] = None,
|
|
347
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
348
|
+
repository_branch: Optional[pulumi.Input[Optional[str]]] = None,
|
|
349
|
+
repository_commit: Optional[pulumi.Input[Optional[str]]] = None,
|
|
350
|
+
repository_sha: Optional[pulumi.Input[Optional[str]]] = None,
|
|
351
|
+
terraform_variable_files: Optional[pulumi.Input[Optional[Sequence[Union['GetWorkspaceTerraformVariableFileArgs', 'GetWorkspaceTerraformVariableFileArgsDict']]]]] = None,
|
|
352
|
+
terraform_variables: Optional[pulumi.Input[Optional[Sequence[Union['GetWorkspaceTerraformVariableArgs', 'GetWorkspaceTerraformVariableArgsDict']]]]] = None,
|
|
353
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWorkspaceResult]:
|
|
354
|
+
"""
|
|
355
|
+
Data source for retrieving workspaces.
|
|
356
|
+
|
|
357
|
+
## Example Usage
|
|
358
|
+
|
|
359
|
+
```python
|
|
360
|
+
import pulumi
|
|
361
|
+
import pulumi_harness as harness
|
|
362
|
+
|
|
363
|
+
test = harness.platform.get_workspace(identifier="identifier",
|
|
364
|
+
org_id="org_id",
|
|
365
|
+
project_id="project_id")
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
:param str description: Description of the Workspace
|
|
370
|
+
:param Sequence[Union['GetWorkspaceEnvironmentVariableArgs', 'GetWorkspaceEnvironmentVariableArgsDict']] environment_variables: Environment variables configured on the workspace
|
|
371
|
+
:param str identifier: Identifier of the Workspace
|
|
372
|
+
:param str org_id: Organization Identifier
|
|
373
|
+
:param str project_id: Project Identifier
|
|
374
|
+
:param str repository_branch: Repository Branch in which the code should be accessed
|
|
375
|
+
:param str repository_commit: Repository Tag in which the code should be accessed
|
|
376
|
+
:param str repository_sha: Repository SHA in which the code should be accessed
|
|
377
|
+
"""
|
|
378
|
+
__args__ = dict()
|
|
379
|
+
__args__['description'] = description
|
|
380
|
+
__args__['environmentVariables'] = environment_variables
|
|
381
|
+
__args__['identifier'] = identifier
|
|
382
|
+
__args__['orgId'] = org_id
|
|
383
|
+
__args__['projectId'] = project_id
|
|
384
|
+
__args__['repositoryBranch'] = repository_branch
|
|
385
|
+
__args__['repositoryCommit'] = repository_commit
|
|
386
|
+
__args__['repositorySha'] = repository_sha
|
|
387
|
+
__args__['terraformVariableFiles'] = terraform_variable_files
|
|
388
|
+
__args__['terraformVariables'] = terraform_variables
|
|
389
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
390
|
+
__ret__ = pulumi.runtime.invoke_output('harness:platform/getWorkspace:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult)
|
|
391
|
+
return __ret__.apply(lambda __response__: GetWorkspaceResult(
|
|
392
|
+
cost_estimation_enabled=pulumi.get(__response__, 'cost_estimation_enabled'),
|
|
393
|
+
default_pipelines=pulumi.get(__response__, 'default_pipelines'),
|
|
394
|
+
description=pulumi.get(__response__, 'description'),
|
|
395
|
+
environment_variables=pulumi.get(__response__, 'environment_variables'),
|
|
396
|
+
id=pulumi.get(__response__, 'id'),
|
|
397
|
+
identifier=pulumi.get(__response__, 'identifier'),
|
|
398
|
+
name=pulumi.get(__response__, 'name'),
|
|
399
|
+
org_id=pulumi.get(__response__, 'org_id'),
|
|
400
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
401
|
+
provider_connector=pulumi.get(__response__, 'provider_connector'),
|
|
402
|
+
provisioner_type=pulumi.get(__response__, 'provisioner_type'),
|
|
403
|
+
provisioner_version=pulumi.get(__response__, 'provisioner_version'),
|
|
404
|
+
repository=pulumi.get(__response__, 'repository'),
|
|
405
|
+
repository_branch=pulumi.get(__response__, 'repository_branch'),
|
|
406
|
+
repository_commit=pulumi.get(__response__, 'repository_commit'),
|
|
407
|
+
repository_connector=pulumi.get(__response__, 'repository_connector'),
|
|
408
|
+
repository_path=pulumi.get(__response__, 'repository_path'),
|
|
409
|
+
repository_sha=pulumi.get(__response__, 'repository_sha'),
|
|
410
|
+
terraform_variable_files=pulumi.get(__response__, 'terraform_variable_files'),
|
|
411
|
+
terraform_variables=pulumi.get(__response__, 'terraform_variables')))
|
|
@@ -0,0 +1,168 @@
|
|
|
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
|
+
'GetWorkspaceOutputValueResult',
|
|
20
|
+
'AwaitableGetWorkspaceOutputValueResult',
|
|
21
|
+
'get_workspace_output_value',
|
|
22
|
+
'get_workspace_output_value_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetWorkspaceOutputValueResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getWorkspaceOutputValue.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, id=None, identifier=None, org_id=None, output_values=None, project_id=None):
|
|
31
|
+
if id and not isinstance(id, str):
|
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
33
|
+
pulumi.set(__self__, "id", id)
|
|
34
|
+
if identifier and not isinstance(identifier, str):
|
|
35
|
+
raise TypeError("Expected argument 'identifier' to be a str")
|
|
36
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
37
|
+
if org_id and not isinstance(org_id, str):
|
|
38
|
+
raise TypeError("Expected argument 'org_id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "org_id", org_id)
|
|
40
|
+
if output_values and not isinstance(output_values, list):
|
|
41
|
+
raise TypeError("Expected argument 'output_values' to be a list")
|
|
42
|
+
pulumi.set(__self__, "output_values", output_values)
|
|
43
|
+
if project_id and not isinstance(project_id, str):
|
|
44
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
45
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
@pulumi.getter
|
|
49
|
+
def id(self) -> str:
|
|
50
|
+
"""
|
|
51
|
+
The provider-assigned unique ID for this managed resource.
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "id")
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter
|
|
57
|
+
def identifier(self) -> str:
|
|
58
|
+
"""
|
|
59
|
+
Identifier of the Workspace.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "identifier")
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
@pulumi.getter(name="orgId")
|
|
65
|
+
def org_id(self) -> str:
|
|
66
|
+
"""
|
|
67
|
+
Organization identifier of the organization the workspace resides in.
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "org_id")
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter(name="outputValues")
|
|
73
|
+
def output_values(self) -> Sequence['outputs.GetWorkspaceOutputValueOutputValueResult']:
|
|
74
|
+
return pulumi.get(self, "output_values")
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter(name="projectId")
|
|
78
|
+
def project_id(self) -> str:
|
|
79
|
+
"""
|
|
80
|
+
Project identifier of the project the workspace resides in.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "project_id")
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class AwaitableGetWorkspaceOutputValueResult(GetWorkspaceOutputValueResult):
|
|
86
|
+
# pylint: disable=using-constant-test
|
|
87
|
+
def __await__(self):
|
|
88
|
+
if False:
|
|
89
|
+
yield self
|
|
90
|
+
return GetWorkspaceOutputValueResult(
|
|
91
|
+
id=self.id,
|
|
92
|
+
identifier=self.identifier,
|
|
93
|
+
org_id=self.org_id,
|
|
94
|
+
output_values=self.output_values,
|
|
95
|
+
project_id=self.project_id)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def get_workspace_output_value(identifier: Optional[str] = None,
|
|
99
|
+
org_id: Optional[str] = None,
|
|
100
|
+
project_id: Optional[str] = None,
|
|
101
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceOutputValueResult:
|
|
102
|
+
"""
|
|
103
|
+
Data source for retrieving workspace outputs.
|
|
104
|
+
|
|
105
|
+
## Example Usage
|
|
106
|
+
|
|
107
|
+
```python
|
|
108
|
+
import pulumi
|
|
109
|
+
import pulumi_harness as harness
|
|
110
|
+
|
|
111
|
+
test = harness.platform.get_workspace_output_value(identifier="identifier",
|
|
112
|
+
org_id="org_id",
|
|
113
|
+
project_id="project_id")
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:param str identifier: Identifier of the Workspace.
|
|
118
|
+
:param str org_id: Organization identifier of the organization the workspace resides in.
|
|
119
|
+
:param str project_id: Project identifier of the project the workspace resides in.
|
|
120
|
+
"""
|
|
121
|
+
__args__ = dict()
|
|
122
|
+
__args__['identifier'] = identifier
|
|
123
|
+
__args__['orgId'] = org_id
|
|
124
|
+
__args__['projectId'] = project_id
|
|
125
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
126
|
+
__ret__ = pulumi.runtime.invoke('harness:platform/getWorkspaceOutputValue:getWorkspaceOutputValue', __args__, opts=opts, typ=GetWorkspaceOutputValueResult).value
|
|
127
|
+
|
|
128
|
+
return AwaitableGetWorkspaceOutputValueResult(
|
|
129
|
+
id=pulumi.get(__ret__, 'id'),
|
|
130
|
+
identifier=pulumi.get(__ret__, 'identifier'),
|
|
131
|
+
org_id=pulumi.get(__ret__, 'org_id'),
|
|
132
|
+
output_values=pulumi.get(__ret__, 'output_values'),
|
|
133
|
+
project_id=pulumi.get(__ret__, 'project_id'))
|
|
134
|
+
def get_workspace_output_value_output(identifier: Optional[pulumi.Input[str]] = None,
|
|
135
|
+
org_id: Optional[pulumi.Input[str]] = None,
|
|
136
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
137
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWorkspaceOutputValueResult]:
|
|
138
|
+
"""
|
|
139
|
+
Data source for retrieving workspace outputs.
|
|
140
|
+
|
|
141
|
+
## Example Usage
|
|
142
|
+
|
|
143
|
+
```python
|
|
144
|
+
import pulumi
|
|
145
|
+
import pulumi_harness as harness
|
|
146
|
+
|
|
147
|
+
test = harness.platform.get_workspace_output_value(identifier="identifier",
|
|
148
|
+
org_id="org_id",
|
|
149
|
+
project_id="project_id")
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param str identifier: Identifier of the Workspace.
|
|
154
|
+
:param str org_id: Organization identifier of the organization the workspace resides in.
|
|
155
|
+
:param str project_id: Project identifier of the project the workspace resides in.
|
|
156
|
+
"""
|
|
157
|
+
__args__ = dict()
|
|
158
|
+
__args__['identifier'] = identifier
|
|
159
|
+
__args__['orgId'] = org_id
|
|
160
|
+
__args__['projectId'] = project_id
|
|
161
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
162
|
+
__ret__ = pulumi.runtime.invoke_output('harness:platform/getWorkspaceOutputValue:getWorkspaceOutputValue', __args__, opts=opts, typ=GetWorkspaceOutputValueResult)
|
|
163
|
+
return __ret__.apply(lambda __response__: GetWorkspaceOutputValueResult(
|
|
164
|
+
id=pulumi.get(__response__, 'id'),
|
|
165
|
+
identifier=pulumi.get(__response__, 'identifier'),
|
|
166
|
+
org_id=pulumi.get(__response__, 'org_id'),
|
|
167
|
+
output_values=pulumi.get(__response__, 'output_values'),
|
|
168
|
+
project_id=pulumi.get(__response__, 'project_id')))
|