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,657 @@
|
|
|
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
|
+
'AwsAssumeCrossAccountRole',
|
|
20
|
+
'AwsUsageScope',
|
|
21
|
+
'DatacenterUsageScope',
|
|
22
|
+
'GcpUsageScope',
|
|
23
|
+
'KubernetesAuthentication',
|
|
24
|
+
'KubernetesAuthenticationOidc',
|
|
25
|
+
'KubernetesAuthenticationServiceAccount',
|
|
26
|
+
'KubernetesAuthenticationUsernamePassword',
|
|
27
|
+
'KubernetesUsageScope',
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
@pulumi.output_type
|
|
31
|
+
class AwsAssumeCrossAccountRole(dict):
|
|
32
|
+
@staticmethod
|
|
33
|
+
def __key_warning(key: str):
|
|
34
|
+
suggest = None
|
|
35
|
+
if key == "roleArn":
|
|
36
|
+
suggest = "role_arn"
|
|
37
|
+
elif key == "externalId":
|
|
38
|
+
suggest = "external_id"
|
|
39
|
+
|
|
40
|
+
if suggest:
|
|
41
|
+
pulumi.log.warn(f"Key '{key}' not found in AwsAssumeCrossAccountRole. Access the value via the '{suggest}' property getter instead.")
|
|
42
|
+
|
|
43
|
+
def __getitem__(self, key: str) -> Any:
|
|
44
|
+
AwsAssumeCrossAccountRole.__key_warning(key)
|
|
45
|
+
return super().__getitem__(key)
|
|
46
|
+
|
|
47
|
+
def get(self, key: str, default = None) -> Any:
|
|
48
|
+
AwsAssumeCrossAccountRole.__key_warning(key)
|
|
49
|
+
return super().get(key, default)
|
|
50
|
+
|
|
51
|
+
def __init__(__self__, *,
|
|
52
|
+
role_arn: str,
|
|
53
|
+
external_id: Optional[str] = None):
|
|
54
|
+
"""
|
|
55
|
+
:param str role_arn: This is an IAM role in the target deployment AWS account.
|
|
56
|
+
:param str external_id: If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
|
|
57
|
+
"""
|
|
58
|
+
pulumi.set(__self__, "role_arn", role_arn)
|
|
59
|
+
if external_id is not None:
|
|
60
|
+
pulumi.set(__self__, "external_id", external_id)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter(name="roleArn")
|
|
64
|
+
def role_arn(self) -> str:
|
|
65
|
+
"""
|
|
66
|
+
This is an IAM role in the target deployment AWS account.
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "role_arn")
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter(name="externalId")
|
|
72
|
+
def external_id(self) -> Optional[str]:
|
|
73
|
+
"""
|
|
74
|
+
If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "external_id")
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
@pulumi.output_type
|
|
80
|
+
class AwsUsageScope(dict):
|
|
81
|
+
@staticmethod
|
|
82
|
+
def __key_warning(key: str):
|
|
83
|
+
suggest = None
|
|
84
|
+
if key == "applicationId":
|
|
85
|
+
suggest = "application_id"
|
|
86
|
+
elif key == "environmentFilterType":
|
|
87
|
+
suggest = "environment_filter_type"
|
|
88
|
+
elif key == "environmentId":
|
|
89
|
+
suggest = "environment_id"
|
|
90
|
+
|
|
91
|
+
if suggest:
|
|
92
|
+
pulumi.log.warn(f"Key '{key}' not found in AwsUsageScope. Access the value via the '{suggest}' property getter instead.")
|
|
93
|
+
|
|
94
|
+
def __getitem__(self, key: str) -> Any:
|
|
95
|
+
AwsUsageScope.__key_warning(key)
|
|
96
|
+
return super().__getitem__(key)
|
|
97
|
+
|
|
98
|
+
def get(self, key: str, default = None) -> Any:
|
|
99
|
+
AwsUsageScope.__key_warning(key)
|
|
100
|
+
return super().get(key, default)
|
|
101
|
+
|
|
102
|
+
def __init__(__self__, *,
|
|
103
|
+
application_id: Optional[str] = None,
|
|
104
|
+
environment_filter_type: Optional[str] = None,
|
|
105
|
+
environment_id: Optional[str] = None):
|
|
106
|
+
"""
|
|
107
|
+
:param str application_id: Id of the application to scope to. If empty then this scope applies to all applications.
|
|
108
|
+
:param str environment_filter_type: Type of environment filter applied. Cannot be used with `environment_id`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
|
|
109
|
+
:param str environment_id: Id of the id of the specific environment to scope to. Cannot be used with `environment_filter_type`.
|
|
110
|
+
"""
|
|
111
|
+
if application_id is not None:
|
|
112
|
+
pulumi.set(__self__, "application_id", application_id)
|
|
113
|
+
if environment_filter_type is not None:
|
|
114
|
+
pulumi.set(__self__, "environment_filter_type", environment_filter_type)
|
|
115
|
+
if environment_id is not None:
|
|
116
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter(name="applicationId")
|
|
120
|
+
def application_id(self) -> Optional[str]:
|
|
121
|
+
"""
|
|
122
|
+
Id of the application to scope to. If empty then this scope applies to all applications.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "application_id")
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
@pulumi.getter(name="environmentFilterType")
|
|
128
|
+
def environment_filter_type(self) -> Optional[str]:
|
|
129
|
+
"""
|
|
130
|
+
Type of environment filter applied. Cannot be used with `environment_id`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "environment_filter_type")
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter(name="environmentId")
|
|
136
|
+
def environment_id(self) -> Optional[str]:
|
|
137
|
+
"""
|
|
138
|
+
Id of the id of the specific environment to scope to. Cannot be used with `environment_filter_type`.
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "environment_id")
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
@pulumi.output_type
|
|
144
|
+
class DatacenterUsageScope(dict):
|
|
145
|
+
@staticmethod
|
|
146
|
+
def __key_warning(key: str):
|
|
147
|
+
suggest = None
|
|
148
|
+
if key == "applicationId":
|
|
149
|
+
suggest = "application_id"
|
|
150
|
+
elif key == "environmentFilterType":
|
|
151
|
+
suggest = "environment_filter_type"
|
|
152
|
+
elif key == "environmentId":
|
|
153
|
+
suggest = "environment_id"
|
|
154
|
+
|
|
155
|
+
if suggest:
|
|
156
|
+
pulumi.log.warn(f"Key '{key}' not found in DatacenterUsageScope. Access the value via the '{suggest}' property getter instead.")
|
|
157
|
+
|
|
158
|
+
def __getitem__(self, key: str) -> Any:
|
|
159
|
+
DatacenterUsageScope.__key_warning(key)
|
|
160
|
+
return super().__getitem__(key)
|
|
161
|
+
|
|
162
|
+
def get(self, key: str, default = None) -> Any:
|
|
163
|
+
DatacenterUsageScope.__key_warning(key)
|
|
164
|
+
return super().get(key, default)
|
|
165
|
+
|
|
166
|
+
def __init__(__self__, *,
|
|
167
|
+
application_id: Optional[str] = None,
|
|
168
|
+
environment_filter_type: Optional[str] = None,
|
|
169
|
+
environment_id: Optional[str] = None):
|
|
170
|
+
"""
|
|
171
|
+
:param str application_id: Id of the application to scope to. If empty then this scope applies to all applications.
|
|
172
|
+
:param str environment_filter_type: Type of environment filter applied. Cannot be used with `environment_id`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
|
|
173
|
+
:param str environment_id: Id of the id of the specific environment to scope to. Cannot be used with `environment_filter_type`.
|
|
174
|
+
"""
|
|
175
|
+
if application_id is not None:
|
|
176
|
+
pulumi.set(__self__, "application_id", application_id)
|
|
177
|
+
if environment_filter_type is not None:
|
|
178
|
+
pulumi.set(__self__, "environment_filter_type", environment_filter_type)
|
|
179
|
+
if environment_id is not None:
|
|
180
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
@pulumi.getter(name="applicationId")
|
|
184
|
+
def application_id(self) -> Optional[str]:
|
|
185
|
+
"""
|
|
186
|
+
Id of the application to scope to. If empty then this scope applies to all applications.
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "application_id")
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
@pulumi.getter(name="environmentFilterType")
|
|
192
|
+
def environment_filter_type(self) -> Optional[str]:
|
|
193
|
+
"""
|
|
194
|
+
Type of environment filter applied. Cannot be used with `environment_id`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
|
|
195
|
+
"""
|
|
196
|
+
return pulumi.get(self, "environment_filter_type")
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
@pulumi.getter(name="environmentId")
|
|
200
|
+
def environment_id(self) -> Optional[str]:
|
|
201
|
+
"""
|
|
202
|
+
Id of the id of the specific environment to scope to. Cannot be used with `environment_filter_type`.
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "environment_id")
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
@pulumi.output_type
|
|
208
|
+
class GcpUsageScope(dict):
|
|
209
|
+
@staticmethod
|
|
210
|
+
def __key_warning(key: str):
|
|
211
|
+
suggest = None
|
|
212
|
+
if key == "applicationId":
|
|
213
|
+
suggest = "application_id"
|
|
214
|
+
elif key == "environmentFilterType":
|
|
215
|
+
suggest = "environment_filter_type"
|
|
216
|
+
elif key == "environmentId":
|
|
217
|
+
suggest = "environment_id"
|
|
218
|
+
|
|
219
|
+
if suggest:
|
|
220
|
+
pulumi.log.warn(f"Key '{key}' not found in GcpUsageScope. Access the value via the '{suggest}' property getter instead.")
|
|
221
|
+
|
|
222
|
+
def __getitem__(self, key: str) -> Any:
|
|
223
|
+
GcpUsageScope.__key_warning(key)
|
|
224
|
+
return super().__getitem__(key)
|
|
225
|
+
|
|
226
|
+
def get(self, key: str, default = None) -> Any:
|
|
227
|
+
GcpUsageScope.__key_warning(key)
|
|
228
|
+
return super().get(key, default)
|
|
229
|
+
|
|
230
|
+
def __init__(__self__, *,
|
|
231
|
+
application_id: Optional[str] = None,
|
|
232
|
+
environment_filter_type: Optional[str] = None,
|
|
233
|
+
environment_id: Optional[str] = None):
|
|
234
|
+
"""
|
|
235
|
+
:param str application_id: Id of the application to scope to. If empty then this scope applies to all applications.
|
|
236
|
+
:param str environment_filter_type: Type of environment filter applied. Cannot be used with `environment_id`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
|
|
237
|
+
:param str environment_id: Id of the id of the specific environment to scope to. Cannot be used with `environment_filter_type`.
|
|
238
|
+
"""
|
|
239
|
+
if application_id is not None:
|
|
240
|
+
pulumi.set(__self__, "application_id", application_id)
|
|
241
|
+
if environment_filter_type is not None:
|
|
242
|
+
pulumi.set(__self__, "environment_filter_type", environment_filter_type)
|
|
243
|
+
if environment_id is not None:
|
|
244
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
|
245
|
+
|
|
246
|
+
@property
|
|
247
|
+
@pulumi.getter(name="applicationId")
|
|
248
|
+
def application_id(self) -> Optional[str]:
|
|
249
|
+
"""
|
|
250
|
+
Id of the application to scope to. If empty then this scope applies to all applications.
|
|
251
|
+
"""
|
|
252
|
+
return pulumi.get(self, "application_id")
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
@pulumi.getter(name="environmentFilterType")
|
|
256
|
+
def environment_filter_type(self) -> Optional[str]:
|
|
257
|
+
"""
|
|
258
|
+
Type of environment filter applied. Cannot be used with `environment_id`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
|
|
259
|
+
"""
|
|
260
|
+
return pulumi.get(self, "environment_filter_type")
|
|
261
|
+
|
|
262
|
+
@property
|
|
263
|
+
@pulumi.getter(name="environmentId")
|
|
264
|
+
def environment_id(self) -> Optional[str]:
|
|
265
|
+
"""
|
|
266
|
+
Id of the id of the specific environment to scope to. Cannot be used with `environment_filter_type`.
|
|
267
|
+
"""
|
|
268
|
+
return pulumi.get(self, "environment_id")
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
@pulumi.output_type
|
|
272
|
+
class KubernetesAuthentication(dict):
|
|
273
|
+
@staticmethod
|
|
274
|
+
def __key_warning(key: str):
|
|
275
|
+
suggest = None
|
|
276
|
+
if key == "delegateSelectors":
|
|
277
|
+
suggest = "delegate_selectors"
|
|
278
|
+
elif key == "serviceAccount":
|
|
279
|
+
suggest = "service_account"
|
|
280
|
+
elif key == "usernamePassword":
|
|
281
|
+
suggest = "username_password"
|
|
282
|
+
|
|
283
|
+
if suggest:
|
|
284
|
+
pulumi.log.warn(f"Key '{key}' not found in KubernetesAuthentication. Access the value via the '{suggest}' property getter instead.")
|
|
285
|
+
|
|
286
|
+
def __getitem__(self, key: str) -> Any:
|
|
287
|
+
KubernetesAuthentication.__key_warning(key)
|
|
288
|
+
return super().__getitem__(key)
|
|
289
|
+
|
|
290
|
+
def get(self, key: str, default = None) -> Any:
|
|
291
|
+
KubernetesAuthentication.__key_warning(key)
|
|
292
|
+
return super().get(key, default)
|
|
293
|
+
|
|
294
|
+
def __init__(__self__, *,
|
|
295
|
+
delegate_selectors: Optional[Sequence[str]] = None,
|
|
296
|
+
oidc: Optional['outputs.KubernetesAuthenticationOidc'] = None,
|
|
297
|
+
service_account: Optional['outputs.KubernetesAuthenticationServiceAccount'] = None,
|
|
298
|
+
username_password: Optional['outputs.KubernetesAuthenticationUsernamePassword'] = None):
|
|
299
|
+
"""
|
|
300
|
+
:param Sequence[str] delegate_selectors: Delegate selectors to inherit the GCP credentials from.
|
|
301
|
+
:param 'KubernetesAuthenticationOidcArgs' oidc: Service account configuration for connecting to the Kubernetes cluster
|
|
302
|
+
:param 'KubernetesAuthenticationServiceAccountArgs' service_account: Username and password for authentication to the cluster
|
|
303
|
+
:param 'KubernetesAuthenticationUsernamePasswordArgs' username_password: Username and password for authentication to the cluster
|
|
304
|
+
"""
|
|
305
|
+
if delegate_selectors is not None:
|
|
306
|
+
pulumi.set(__self__, "delegate_selectors", delegate_selectors)
|
|
307
|
+
if oidc is not None:
|
|
308
|
+
pulumi.set(__self__, "oidc", oidc)
|
|
309
|
+
if service_account is not None:
|
|
310
|
+
pulumi.set(__self__, "service_account", service_account)
|
|
311
|
+
if username_password is not None:
|
|
312
|
+
pulumi.set(__self__, "username_password", username_password)
|
|
313
|
+
|
|
314
|
+
@property
|
|
315
|
+
@pulumi.getter(name="delegateSelectors")
|
|
316
|
+
def delegate_selectors(self) -> Optional[Sequence[str]]:
|
|
317
|
+
"""
|
|
318
|
+
Delegate selectors to inherit the GCP credentials from.
|
|
319
|
+
"""
|
|
320
|
+
return pulumi.get(self, "delegate_selectors")
|
|
321
|
+
|
|
322
|
+
@property
|
|
323
|
+
@pulumi.getter
|
|
324
|
+
def oidc(self) -> Optional['outputs.KubernetesAuthenticationOidc']:
|
|
325
|
+
"""
|
|
326
|
+
Service account configuration for connecting to the Kubernetes cluster
|
|
327
|
+
"""
|
|
328
|
+
return pulumi.get(self, "oidc")
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
@pulumi.getter(name="serviceAccount")
|
|
332
|
+
def service_account(self) -> Optional['outputs.KubernetesAuthenticationServiceAccount']:
|
|
333
|
+
"""
|
|
334
|
+
Username and password for authentication to the cluster
|
|
335
|
+
"""
|
|
336
|
+
return pulumi.get(self, "service_account")
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
@pulumi.getter(name="usernamePassword")
|
|
340
|
+
def username_password(self) -> Optional['outputs.KubernetesAuthenticationUsernamePassword']:
|
|
341
|
+
"""
|
|
342
|
+
Username and password for authentication to the cluster
|
|
343
|
+
"""
|
|
344
|
+
return pulumi.get(self, "username_password")
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
@pulumi.output_type
|
|
348
|
+
class KubernetesAuthenticationOidc(dict):
|
|
349
|
+
@staticmethod
|
|
350
|
+
def __key_warning(key: str):
|
|
351
|
+
suggest = None
|
|
352
|
+
if key == "clientIdSecretName":
|
|
353
|
+
suggest = "client_id_secret_name"
|
|
354
|
+
elif key == "identityProviderUrl":
|
|
355
|
+
suggest = "identity_provider_url"
|
|
356
|
+
elif key == "masterUrl":
|
|
357
|
+
suggest = "master_url"
|
|
358
|
+
elif key == "passwordSecretName":
|
|
359
|
+
suggest = "password_secret_name"
|
|
360
|
+
elif key == "clientSecretSecretName":
|
|
361
|
+
suggest = "client_secret_secret_name"
|
|
362
|
+
|
|
363
|
+
if suggest:
|
|
364
|
+
pulumi.log.warn(f"Key '{key}' not found in KubernetesAuthenticationOidc. Access the value via the '{suggest}' property getter instead.")
|
|
365
|
+
|
|
366
|
+
def __getitem__(self, key: str) -> Any:
|
|
367
|
+
KubernetesAuthenticationOidc.__key_warning(key)
|
|
368
|
+
return super().__getitem__(key)
|
|
369
|
+
|
|
370
|
+
def get(self, key: str, default = None) -> Any:
|
|
371
|
+
KubernetesAuthenticationOidc.__key_warning(key)
|
|
372
|
+
return super().get(key, default)
|
|
373
|
+
|
|
374
|
+
def __init__(__self__, *,
|
|
375
|
+
client_id_secret_name: str,
|
|
376
|
+
identity_provider_url: str,
|
|
377
|
+
master_url: str,
|
|
378
|
+
password_secret_name: str,
|
|
379
|
+
username: str,
|
|
380
|
+
client_secret_secret_name: Optional[str] = None,
|
|
381
|
+
scopes: Optional[Sequence[str]] = None):
|
|
382
|
+
"""
|
|
383
|
+
:param str client_id_secret_name: Name of the Harness secret containing the client ID for the cluster.
|
|
384
|
+
:param str identity_provider_url: URL of the identity provider to use.
|
|
385
|
+
:param str master_url: URL of the Kubernetes master to connect to.
|
|
386
|
+
:param str password_secret_name: Name of the Harness secret containing the password for the cluster.
|
|
387
|
+
:param str username: Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
|
|
388
|
+
:param str client_secret_secret_name: Name of the Harness secret containing the client secret for the cluster.
|
|
389
|
+
:param Sequence[str] scopes: Scopes to request from the identity provider.
|
|
390
|
+
"""
|
|
391
|
+
pulumi.set(__self__, "client_id_secret_name", client_id_secret_name)
|
|
392
|
+
pulumi.set(__self__, "identity_provider_url", identity_provider_url)
|
|
393
|
+
pulumi.set(__self__, "master_url", master_url)
|
|
394
|
+
pulumi.set(__self__, "password_secret_name", password_secret_name)
|
|
395
|
+
pulumi.set(__self__, "username", username)
|
|
396
|
+
if client_secret_secret_name is not None:
|
|
397
|
+
pulumi.set(__self__, "client_secret_secret_name", client_secret_secret_name)
|
|
398
|
+
if scopes is not None:
|
|
399
|
+
pulumi.set(__self__, "scopes", scopes)
|
|
400
|
+
|
|
401
|
+
@property
|
|
402
|
+
@pulumi.getter(name="clientIdSecretName")
|
|
403
|
+
def client_id_secret_name(self) -> str:
|
|
404
|
+
"""
|
|
405
|
+
Name of the Harness secret containing the client ID for the cluster.
|
|
406
|
+
"""
|
|
407
|
+
return pulumi.get(self, "client_id_secret_name")
|
|
408
|
+
|
|
409
|
+
@property
|
|
410
|
+
@pulumi.getter(name="identityProviderUrl")
|
|
411
|
+
def identity_provider_url(self) -> str:
|
|
412
|
+
"""
|
|
413
|
+
URL of the identity provider to use.
|
|
414
|
+
"""
|
|
415
|
+
return pulumi.get(self, "identity_provider_url")
|
|
416
|
+
|
|
417
|
+
@property
|
|
418
|
+
@pulumi.getter(name="masterUrl")
|
|
419
|
+
def master_url(self) -> str:
|
|
420
|
+
"""
|
|
421
|
+
URL of the Kubernetes master to connect to.
|
|
422
|
+
"""
|
|
423
|
+
return pulumi.get(self, "master_url")
|
|
424
|
+
|
|
425
|
+
@property
|
|
426
|
+
@pulumi.getter(name="passwordSecretName")
|
|
427
|
+
def password_secret_name(self) -> str:
|
|
428
|
+
"""
|
|
429
|
+
Name of the Harness secret containing the password for the cluster.
|
|
430
|
+
"""
|
|
431
|
+
return pulumi.get(self, "password_secret_name")
|
|
432
|
+
|
|
433
|
+
@property
|
|
434
|
+
@pulumi.getter
|
|
435
|
+
def username(self) -> str:
|
|
436
|
+
"""
|
|
437
|
+
Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
|
|
438
|
+
"""
|
|
439
|
+
return pulumi.get(self, "username")
|
|
440
|
+
|
|
441
|
+
@property
|
|
442
|
+
@pulumi.getter(name="clientSecretSecretName")
|
|
443
|
+
def client_secret_secret_name(self) -> Optional[str]:
|
|
444
|
+
"""
|
|
445
|
+
Name of the Harness secret containing the client secret for the cluster.
|
|
446
|
+
"""
|
|
447
|
+
return pulumi.get(self, "client_secret_secret_name")
|
|
448
|
+
|
|
449
|
+
@property
|
|
450
|
+
@pulumi.getter
|
|
451
|
+
def scopes(self) -> Optional[Sequence[str]]:
|
|
452
|
+
"""
|
|
453
|
+
Scopes to request from the identity provider.
|
|
454
|
+
"""
|
|
455
|
+
return pulumi.get(self, "scopes")
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
@pulumi.output_type
|
|
459
|
+
class KubernetesAuthenticationServiceAccount(dict):
|
|
460
|
+
@staticmethod
|
|
461
|
+
def __key_warning(key: str):
|
|
462
|
+
suggest = None
|
|
463
|
+
if key == "masterUrl":
|
|
464
|
+
suggest = "master_url"
|
|
465
|
+
elif key == "serviceAccountTokenSecretName":
|
|
466
|
+
suggest = "service_account_token_secret_name"
|
|
467
|
+
elif key == "caCertificateSecretName":
|
|
468
|
+
suggest = "ca_certificate_secret_name"
|
|
469
|
+
|
|
470
|
+
if suggest:
|
|
471
|
+
pulumi.log.warn(f"Key '{key}' not found in KubernetesAuthenticationServiceAccount. Access the value via the '{suggest}' property getter instead.")
|
|
472
|
+
|
|
473
|
+
def __getitem__(self, key: str) -> Any:
|
|
474
|
+
KubernetesAuthenticationServiceAccount.__key_warning(key)
|
|
475
|
+
return super().__getitem__(key)
|
|
476
|
+
|
|
477
|
+
def get(self, key: str, default = None) -> Any:
|
|
478
|
+
KubernetesAuthenticationServiceAccount.__key_warning(key)
|
|
479
|
+
return super().get(key, default)
|
|
480
|
+
|
|
481
|
+
def __init__(__self__, *,
|
|
482
|
+
master_url: str,
|
|
483
|
+
service_account_token_secret_name: str,
|
|
484
|
+
ca_certificate_secret_name: Optional[str] = None):
|
|
485
|
+
"""
|
|
486
|
+
:param str master_url: URL of the Kubernetes master to connect to.
|
|
487
|
+
:param str service_account_token_secret_name: Name of the Harness secret containing the service account token for the cluster.
|
|
488
|
+
:param str ca_certificate_secret_name: Name of the Harness secret containing the CA certificate for the cluster.
|
|
489
|
+
"""
|
|
490
|
+
pulumi.set(__self__, "master_url", master_url)
|
|
491
|
+
pulumi.set(__self__, "service_account_token_secret_name", service_account_token_secret_name)
|
|
492
|
+
if ca_certificate_secret_name is not None:
|
|
493
|
+
pulumi.set(__self__, "ca_certificate_secret_name", ca_certificate_secret_name)
|
|
494
|
+
|
|
495
|
+
@property
|
|
496
|
+
@pulumi.getter(name="masterUrl")
|
|
497
|
+
def master_url(self) -> str:
|
|
498
|
+
"""
|
|
499
|
+
URL of the Kubernetes master to connect to.
|
|
500
|
+
"""
|
|
501
|
+
return pulumi.get(self, "master_url")
|
|
502
|
+
|
|
503
|
+
@property
|
|
504
|
+
@pulumi.getter(name="serviceAccountTokenSecretName")
|
|
505
|
+
def service_account_token_secret_name(self) -> str:
|
|
506
|
+
"""
|
|
507
|
+
Name of the Harness secret containing the service account token for the cluster.
|
|
508
|
+
"""
|
|
509
|
+
return pulumi.get(self, "service_account_token_secret_name")
|
|
510
|
+
|
|
511
|
+
@property
|
|
512
|
+
@pulumi.getter(name="caCertificateSecretName")
|
|
513
|
+
def ca_certificate_secret_name(self) -> Optional[str]:
|
|
514
|
+
"""
|
|
515
|
+
Name of the Harness secret containing the CA certificate for the cluster.
|
|
516
|
+
"""
|
|
517
|
+
return pulumi.get(self, "ca_certificate_secret_name")
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
@pulumi.output_type
|
|
521
|
+
class KubernetesAuthenticationUsernamePassword(dict):
|
|
522
|
+
@staticmethod
|
|
523
|
+
def __key_warning(key: str):
|
|
524
|
+
suggest = None
|
|
525
|
+
if key == "masterUrl":
|
|
526
|
+
suggest = "master_url"
|
|
527
|
+
elif key == "passwordSecretName":
|
|
528
|
+
suggest = "password_secret_name"
|
|
529
|
+
elif key == "usernameSecretName":
|
|
530
|
+
suggest = "username_secret_name"
|
|
531
|
+
|
|
532
|
+
if suggest:
|
|
533
|
+
pulumi.log.warn(f"Key '{key}' not found in KubernetesAuthenticationUsernamePassword. Access the value via the '{suggest}' property getter instead.")
|
|
534
|
+
|
|
535
|
+
def __getitem__(self, key: str) -> Any:
|
|
536
|
+
KubernetesAuthenticationUsernamePassword.__key_warning(key)
|
|
537
|
+
return super().__getitem__(key)
|
|
538
|
+
|
|
539
|
+
def get(self, key: str, default = None) -> Any:
|
|
540
|
+
KubernetesAuthenticationUsernamePassword.__key_warning(key)
|
|
541
|
+
return super().get(key, default)
|
|
542
|
+
|
|
543
|
+
def __init__(__self__, *,
|
|
544
|
+
master_url: str,
|
|
545
|
+
password_secret_name: str,
|
|
546
|
+
username: Optional[str] = None,
|
|
547
|
+
username_secret_name: Optional[str] = None):
|
|
548
|
+
"""
|
|
549
|
+
:param str master_url: URL of the Kubernetes master to connect to.
|
|
550
|
+
:param str password_secret_name: Name of the Harness secret containing the password for the cluster.
|
|
551
|
+
:param str username: Username for authentication to the cluster
|
|
552
|
+
:param str username_secret_name: Name of the Harness secret containing the username for authentication to the cluster
|
|
553
|
+
"""
|
|
554
|
+
pulumi.set(__self__, "master_url", master_url)
|
|
555
|
+
pulumi.set(__self__, "password_secret_name", password_secret_name)
|
|
556
|
+
if username is not None:
|
|
557
|
+
pulumi.set(__self__, "username", username)
|
|
558
|
+
if username_secret_name is not None:
|
|
559
|
+
pulumi.set(__self__, "username_secret_name", username_secret_name)
|
|
560
|
+
|
|
561
|
+
@property
|
|
562
|
+
@pulumi.getter(name="masterUrl")
|
|
563
|
+
def master_url(self) -> str:
|
|
564
|
+
"""
|
|
565
|
+
URL of the Kubernetes master to connect to.
|
|
566
|
+
"""
|
|
567
|
+
return pulumi.get(self, "master_url")
|
|
568
|
+
|
|
569
|
+
@property
|
|
570
|
+
@pulumi.getter(name="passwordSecretName")
|
|
571
|
+
def password_secret_name(self) -> str:
|
|
572
|
+
"""
|
|
573
|
+
Name of the Harness secret containing the password for the cluster.
|
|
574
|
+
"""
|
|
575
|
+
return pulumi.get(self, "password_secret_name")
|
|
576
|
+
|
|
577
|
+
@property
|
|
578
|
+
@pulumi.getter
|
|
579
|
+
def username(self) -> Optional[str]:
|
|
580
|
+
"""
|
|
581
|
+
Username for authentication to the cluster
|
|
582
|
+
"""
|
|
583
|
+
return pulumi.get(self, "username")
|
|
584
|
+
|
|
585
|
+
@property
|
|
586
|
+
@pulumi.getter(name="usernameSecretName")
|
|
587
|
+
def username_secret_name(self) -> Optional[str]:
|
|
588
|
+
"""
|
|
589
|
+
Name of the Harness secret containing the username for authentication to the cluster
|
|
590
|
+
"""
|
|
591
|
+
return pulumi.get(self, "username_secret_name")
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
@pulumi.output_type
|
|
595
|
+
class KubernetesUsageScope(dict):
|
|
596
|
+
@staticmethod
|
|
597
|
+
def __key_warning(key: str):
|
|
598
|
+
suggest = None
|
|
599
|
+
if key == "applicationId":
|
|
600
|
+
suggest = "application_id"
|
|
601
|
+
elif key == "environmentFilterType":
|
|
602
|
+
suggest = "environment_filter_type"
|
|
603
|
+
elif key == "environmentId":
|
|
604
|
+
suggest = "environment_id"
|
|
605
|
+
|
|
606
|
+
if suggest:
|
|
607
|
+
pulumi.log.warn(f"Key '{key}' not found in KubernetesUsageScope. Access the value via the '{suggest}' property getter instead.")
|
|
608
|
+
|
|
609
|
+
def __getitem__(self, key: str) -> Any:
|
|
610
|
+
KubernetesUsageScope.__key_warning(key)
|
|
611
|
+
return super().__getitem__(key)
|
|
612
|
+
|
|
613
|
+
def get(self, key: str, default = None) -> Any:
|
|
614
|
+
KubernetesUsageScope.__key_warning(key)
|
|
615
|
+
return super().get(key, default)
|
|
616
|
+
|
|
617
|
+
def __init__(__self__, *,
|
|
618
|
+
application_id: Optional[str] = None,
|
|
619
|
+
environment_filter_type: Optional[str] = None,
|
|
620
|
+
environment_id: Optional[str] = None):
|
|
621
|
+
"""
|
|
622
|
+
:param str application_id: Id of the application to scope to. If empty then this scope applies to all applications.
|
|
623
|
+
:param str environment_filter_type: Type of environment filter applied. Cannot be used with `environment_id`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
|
|
624
|
+
:param str environment_id: Id of the id of the specific environment to scope to. Cannot be used with `environment_filter_type`.
|
|
625
|
+
"""
|
|
626
|
+
if application_id is not None:
|
|
627
|
+
pulumi.set(__self__, "application_id", application_id)
|
|
628
|
+
if environment_filter_type is not None:
|
|
629
|
+
pulumi.set(__self__, "environment_filter_type", environment_filter_type)
|
|
630
|
+
if environment_id is not None:
|
|
631
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
|
632
|
+
|
|
633
|
+
@property
|
|
634
|
+
@pulumi.getter(name="applicationId")
|
|
635
|
+
def application_id(self) -> Optional[str]:
|
|
636
|
+
"""
|
|
637
|
+
Id of the application to scope to. If empty then this scope applies to all applications.
|
|
638
|
+
"""
|
|
639
|
+
return pulumi.get(self, "application_id")
|
|
640
|
+
|
|
641
|
+
@property
|
|
642
|
+
@pulumi.getter(name="environmentFilterType")
|
|
643
|
+
def environment_filter_type(self) -> Optional[str]:
|
|
644
|
+
"""
|
|
645
|
+
Type of environment filter applied. Cannot be used with `environment_id`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
|
|
646
|
+
"""
|
|
647
|
+
return pulumi.get(self, "environment_filter_type")
|
|
648
|
+
|
|
649
|
+
@property
|
|
650
|
+
@pulumi.getter(name="environmentId")
|
|
651
|
+
def environment_id(self) -> Optional[str]:
|
|
652
|
+
"""
|
|
653
|
+
Id of the id of the specific environment to scope to. Cannot be used with `environment_filter_type`.
|
|
654
|
+
"""
|
|
655
|
+
return pulumi.get(self, "environment_id")
|
|
656
|
+
|
|
657
|
+
|