pulumi-alicloud 3.74.0a1737989015__py3-none-any.whl → 3.75.0__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-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +230 -0
- pulumi_alicloud/_inputs.py +33 -0
- pulumi_alicloud/_utilities.py +8 -4
- pulumi_alicloud/ackone/__init__.py +1 -0
- pulumi_alicloud/ackone/cluster.py +73 -8
- pulumi_alicloud/ackone/membership_attachment.py +223 -0
- pulumi_alicloud/alb/_inputs.py +217 -17
- pulumi_alicloud/alb/load_balancer.py +7 -35
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
- pulumi_alicloud/alb/outputs.py +150 -12
- pulumi_alicloud/alb/server_group.py +197 -42
- pulumi_alicloud/aligreen/audit_callback.py +2 -2
- pulumi_alicloud/aligreen/biz_type.py +2 -2
- pulumi_alicloud/aligreen/callback.py +2 -2
- pulumi_alicloud/aligreen/image_lib.py +2 -2
- pulumi_alicloud/aligreen/keyword_lib.py +2 -2
- pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
- pulumi_alicloud/apigateway/instance.py +51 -4
- pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
- pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
- pulumi_alicloud/cfg/aggregator.py +6 -4
- pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
- pulumi_alicloud/cloudcontrol/get_products.py +2 -2
- pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
- pulumi_alicloud/cloudcontrol/resource.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +2 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
- pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
- pulumi_alicloud/cloudfirewall/outputs.py +362 -0
- pulumi_alicloud/cloudphone/__init__.py +12 -0
- pulumi_alicloud/cloudphone/_inputs.py +175 -0
- pulumi_alicloud/cloudphone/image.py +323 -0
- pulumi_alicloud/cloudphone/key_pair.py +294 -0
- pulumi_alicloud/cloudphone/outputs.py +138 -0
- pulumi_alicloud/cloudphone/policy.py +522 -0
- pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
- pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
- pulumi_alicloud/cloudphoneinstance/group.py +961 -0
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/config/outputs.py +20 -0
- pulumi_alicloud/cs/_inputs.py +9 -9
- pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/managed_kubernetes.py +47 -35
- pulumi_alicloud/cs/node_pool.py +49 -21
- pulumi_alicloud/cs/outputs.py +6 -6
- pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
- pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/ebs/replica_group_drill.py +2 -2
- pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
- pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +1 -1
- pulumi_alicloud/ecs/instance.py +43 -30
- pulumi_alicloud/eds/command.py +10 -2
- pulumi_alicloud/emrv2/__init__.py +1 -0
- pulumi_alicloud/emrv2/_inputs.py +47 -7
- pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
- pulumi_alicloud/emrv2/outputs.py +195 -5
- pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
- pulumi_alicloud/ens/nat_gateway.py +6 -6
- pulumi_alicloud/ens/vswitch.py +36 -36
- pulumi_alicloud/esa/__init__.py +19 -0
- pulumi_alicloud/esa/_inputs.py +431 -0
- pulumi_alicloud/esa/cache_rule.py +1405 -0
- pulumi_alicloud/esa/certificate.py +724 -0
- pulumi_alicloud/esa/client_ca_certificate.py +388 -0
- pulumi_alicloud/esa/client_certificate.py +452 -0
- pulumi_alicloud/esa/compression_rule.py +582 -0
- pulumi_alicloud/esa/get_sites.py +421 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +2 -2
- pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
- pulumi_alicloud/esa/https_application_configuration.py +925 -0
- pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
- pulumi_alicloud/esa/image_transform.py +484 -0
- pulumi_alicloud/esa/kv_namespace.py +276 -0
- pulumi_alicloud/esa/list.py +2 -2
- pulumi_alicloud/esa/network_optimization.py +750 -0
- pulumi_alicloud/esa/origin_pool.py +485 -0
- pulumi_alicloud/esa/origin_rule.py +768 -0
- pulumi_alicloud/esa/outputs.py +425 -0
- pulumi_alicloud/esa/page.py +2 -2
- pulumi_alicloud/esa/rate_plan_instance.py +2 -2
- pulumi_alicloud/esa/record.py +2 -2
- pulumi_alicloud/esa/redirect_rule.py +734 -0
- pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
- pulumi_alicloud/esa/site.py +307 -2
- pulumi_alicloud/esa/waiting_room.py +1257 -0
- pulumi_alicloud/esa/waiting_room_event.py +1392 -0
- pulumi_alicloud/esa/waiting_room_rule.py +504 -0
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
- pulumi_alicloud/ga/outputs.py +10 -4
- pulumi_alicloud/gpdb/db_resource_group.py +6 -6
- pulumi_alicloud/gpdb/external_data_service.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
- pulumi_alicloud/hbr/policy.py +67 -6
- pulumi_alicloud/hbr/vault.py +210 -9
- pulumi_alicloud/kms/get_keys.py +10 -0
- pulumi_alicloud/message/__init__.py +3 -0
- pulumi_alicloud/message/_inputs.py +149 -0
- pulumi_alicloud/message/outputs.py +112 -0
- pulumi_alicloud/message/service_endpoint.py +218 -0
- pulumi_alicloud/message/service_endpoint_acl.py +306 -0
- pulumi_alicloud/message/service_queue.py +49 -0
- pulumi_alicloud/message/service_subscription.py +91 -14
- pulumi_alicloud/mse/nacos_config.py +4 -0
- pulumi_alicloud/nlb/_inputs.py +114 -24
- pulumi_alicloud/nlb/listener.py +87 -20
- pulumi_alicloud/nlb/outputs.py +93 -16
- pulumi_alicloud/nlb/server_group.py +55 -20
- pulumi_alicloud/ots/_inputs.py +3 -3
- pulumi_alicloud/ots/outputs.py +2 -2
- pulumi_alicloud/pai/workspace_code_source.py +2 -2
- pulumi_alicloud/pai/workspace_dataset.py +2 -2
- pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
- pulumi_alicloud/pai/workspace_experiment.py +2 -2
- pulumi_alicloud/pai/workspace_run.py +2 -2
- pulumi_alicloud/pai/workspace_workspace.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
- pulumi_alicloud/privatelink/outputs.py +11 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/access_key.py +20 -4
- pulumi_alicloud/ram/user.py +10 -2
- pulumi_alicloud/rds/instance.py +7 -0
- pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
- pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
- pulumi_alicloud/tag/__init__.py +1 -0
- pulumi_alicloud/tag/associated_rule.py +306 -0
- pulumi_alicloud/tag/policy.py +27 -36
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/flow_log.py +184 -49
- pulumi_alicloud/vpc/forward_entry.py +8 -4
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
- pulumi_alicloud/vpc/get_forward_entries.py +2 -2
- pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
- pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
- pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
- pulumi_alicloud/vpc/get_snat_entries.py +5 -2
- pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
- pulumi_alicloud/vpc/ipam_ipam.py +2 -9
- pulumi_alicloud/vpc/ipam_ipam_pool.py +2 -30
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
- pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +2 -9
- pulumi_alicloud/vpc/nat_gateway.py +8 -0
- pulumi_alicloud/vpc/outputs.py +12 -2
- pulumi_alicloud/vpc/router_interface_connection.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
- pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
- pulumi_alicloud/vpn/get_gateways.py +21 -1
- pulumi_alicloud/vpn/outputs.py +23 -12
- {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/RECORD +165 -128
- {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1257 @@
|
|
|
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__ = ['WaitingRoomArgs', 'WaitingRoom']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class WaitingRoomArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
cookie_name: pulumi.Input[str],
|
|
25
|
+
host_name_and_paths: pulumi.Input[Sequence[pulumi.Input['WaitingRoomHostNameAndPathArgs']]],
|
|
26
|
+
new_users_per_minute: pulumi.Input[str],
|
|
27
|
+
queuing_method: pulumi.Input[str],
|
|
28
|
+
queuing_status_code: pulumi.Input[str],
|
|
29
|
+
session_duration: pulumi.Input[str],
|
|
30
|
+
site_id: pulumi.Input[int],
|
|
31
|
+
status: pulumi.Input[str],
|
|
32
|
+
total_active_users: pulumi.Input[str],
|
|
33
|
+
waiting_room_name: pulumi.Input[str],
|
|
34
|
+
waiting_room_type: pulumi.Input[str],
|
|
35
|
+
custom_page_html: Optional[pulumi.Input[str]] = None,
|
|
36
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
37
|
+
disable_session_renewal_enable: Optional[pulumi.Input[str]] = None,
|
|
38
|
+
json_response_enable: Optional[pulumi.Input[str]] = None,
|
|
39
|
+
language: Optional[pulumi.Input[str]] = None,
|
|
40
|
+
queue_all_enable: Optional[pulumi.Input[str]] = None):
|
|
41
|
+
"""
|
|
42
|
+
The set of arguments for constructing a WaitingRoom resource.
|
|
43
|
+
:param pulumi.Input[str] cookie_name: The name of the custom cookie.
|
|
44
|
+
:param pulumi.Input[Sequence[pulumi.Input['WaitingRoomHostNameAndPathArgs']]] host_name_and_paths: The details of the hostname and path. See `host_name_and_path` below.
|
|
45
|
+
:param pulumi.Input[str] new_users_per_minute: The maximum number of new users per minute.
|
|
46
|
+
:param pulumi.Input[str] queuing_method: The queuing method. Valid values:
|
|
47
|
+
|
|
48
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
49
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
50
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
51
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
52
|
+
:param pulumi.Input[str] queuing_status_code: The queuing method. Valid values:
|
|
53
|
+
|
|
54
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
55
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
56
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
57
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
58
|
+
:param pulumi.Input[str] session_duration: The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
59
|
+
:param pulumi.Input[str] status: The ID of the waiting room, which can be obtained by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/doc-detail/2850279.html) operation.
|
|
60
|
+
:param pulumi.Input[str] total_active_users: The maximum number of active users.
|
|
61
|
+
:param pulumi.Input[str] waiting_room_name: Specifies whether to enable the waiting room. Valid values:
|
|
62
|
+
|
|
63
|
+
- on
|
|
64
|
+
- off
|
|
65
|
+
:param pulumi.Input[str] waiting_room_type: The type of the waiting room. Valid values:
|
|
66
|
+
|
|
67
|
+
- default
|
|
68
|
+
- custom
|
|
69
|
+
:param pulumi.Input[str] custom_page_html: The HTML content or identifier of the custom queuing page. This parameter is valid only when `WaitingRoomType` is set to `custom`. The content must be URL-encoded.
|
|
70
|
+
:param pulumi.Input[str] description: Specifies whether to enable JSON response. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
71
|
+
|
|
72
|
+
- on
|
|
73
|
+
- off
|
|
74
|
+
:param pulumi.Input[str] disable_session_renewal_enable: The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
75
|
+
:param pulumi.Input[str] json_response_enable: Indicates whether JSON response is enabled. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
76
|
+
|
|
77
|
+
- on
|
|
78
|
+
- off
|
|
79
|
+
:param pulumi.Input[str] language: The language of the waiting room page. This parameter is returned when the waiting room type is set to default. Valid values:
|
|
80
|
+
|
|
81
|
+
- enus: English.
|
|
82
|
+
- zhcn: Simplified Chinese.
|
|
83
|
+
- zhhk: Traditional Chinese.
|
|
84
|
+
:param pulumi.Input[str] queue_all_enable: Indicates whether all requests must be queued. Valid values:
|
|
85
|
+
|
|
86
|
+
- on
|
|
87
|
+
- off
|
|
88
|
+
"""
|
|
89
|
+
pulumi.set(__self__, "cookie_name", cookie_name)
|
|
90
|
+
pulumi.set(__self__, "host_name_and_paths", host_name_and_paths)
|
|
91
|
+
pulumi.set(__self__, "new_users_per_minute", new_users_per_minute)
|
|
92
|
+
pulumi.set(__self__, "queuing_method", queuing_method)
|
|
93
|
+
pulumi.set(__self__, "queuing_status_code", queuing_status_code)
|
|
94
|
+
pulumi.set(__self__, "session_duration", session_duration)
|
|
95
|
+
pulumi.set(__self__, "site_id", site_id)
|
|
96
|
+
pulumi.set(__self__, "status", status)
|
|
97
|
+
pulumi.set(__self__, "total_active_users", total_active_users)
|
|
98
|
+
pulumi.set(__self__, "waiting_room_name", waiting_room_name)
|
|
99
|
+
pulumi.set(__self__, "waiting_room_type", waiting_room_type)
|
|
100
|
+
if custom_page_html is not None:
|
|
101
|
+
pulumi.set(__self__, "custom_page_html", custom_page_html)
|
|
102
|
+
if description is not None:
|
|
103
|
+
pulumi.set(__self__, "description", description)
|
|
104
|
+
if disable_session_renewal_enable is not None:
|
|
105
|
+
pulumi.set(__self__, "disable_session_renewal_enable", disable_session_renewal_enable)
|
|
106
|
+
if json_response_enable is not None:
|
|
107
|
+
pulumi.set(__self__, "json_response_enable", json_response_enable)
|
|
108
|
+
if language is not None:
|
|
109
|
+
pulumi.set(__self__, "language", language)
|
|
110
|
+
if queue_all_enable is not None:
|
|
111
|
+
pulumi.set(__self__, "queue_all_enable", queue_all_enable)
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
@pulumi.getter(name="cookieName")
|
|
115
|
+
def cookie_name(self) -> pulumi.Input[str]:
|
|
116
|
+
"""
|
|
117
|
+
The name of the custom cookie.
|
|
118
|
+
"""
|
|
119
|
+
return pulumi.get(self, "cookie_name")
|
|
120
|
+
|
|
121
|
+
@cookie_name.setter
|
|
122
|
+
def cookie_name(self, value: pulumi.Input[str]):
|
|
123
|
+
pulumi.set(self, "cookie_name", value)
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter(name="hostNameAndPaths")
|
|
127
|
+
def host_name_and_paths(self) -> pulumi.Input[Sequence[pulumi.Input['WaitingRoomHostNameAndPathArgs']]]:
|
|
128
|
+
"""
|
|
129
|
+
The details of the hostname and path. See `host_name_and_path` below.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "host_name_and_paths")
|
|
132
|
+
|
|
133
|
+
@host_name_and_paths.setter
|
|
134
|
+
def host_name_and_paths(self, value: pulumi.Input[Sequence[pulumi.Input['WaitingRoomHostNameAndPathArgs']]]):
|
|
135
|
+
pulumi.set(self, "host_name_and_paths", value)
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
@pulumi.getter(name="newUsersPerMinute")
|
|
139
|
+
def new_users_per_minute(self) -> pulumi.Input[str]:
|
|
140
|
+
"""
|
|
141
|
+
The maximum number of new users per minute.
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "new_users_per_minute")
|
|
144
|
+
|
|
145
|
+
@new_users_per_minute.setter
|
|
146
|
+
def new_users_per_minute(self, value: pulumi.Input[str]):
|
|
147
|
+
pulumi.set(self, "new_users_per_minute", value)
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter(name="queuingMethod")
|
|
151
|
+
def queuing_method(self) -> pulumi.Input[str]:
|
|
152
|
+
"""
|
|
153
|
+
The queuing method. Valid values:
|
|
154
|
+
|
|
155
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
156
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
157
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
158
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "queuing_method")
|
|
161
|
+
|
|
162
|
+
@queuing_method.setter
|
|
163
|
+
def queuing_method(self, value: pulumi.Input[str]):
|
|
164
|
+
pulumi.set(self, "queuing_method", value)
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
@pulumi.getter(name="queuingStatusCode")
|
|
168
|
+
def queuing_status_code(self) -> pulumi.Input[str]:
|
|
169
|
+
"""
|
|
170
|
+
The queuing method. Valid values:
|
|
171
|
+
|
|
172
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
173
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
174
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
175
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
176
|
+
"""
|
|
177
|
+
return pulumi.get(self, "queuing_status_code")
|
|
178
|
+
|
|
179
|
+
@queuing_status_code.setter
|
|
180
|
+
def queuing_status_code(self, value: pulumi.Input[str]):
|
|
181
|
+
pulumi.set(self, "queuing_status_code", value)
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
@pulumi.getter(name="sessionDuration")
|
|
185
|
+
def session_duration(self) -> pulumi.Input[str]:
|
|
186
|
+
"""
|
|
187
|
+
The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
188
|
+
"""
|
|
189
|
+
return pulumi.get(self, "session_duration")
|
|
190
|
+
|
|
191
|
+
@session_duration.setter
|
|
192
|
+
def session_duration(self, value: pulumi.Input[str]):
|
|
193
|
+
pulumi.set(self, "session_duration", value)
|
|
194
|
+
|
|
195
|
+
@property
|
|
196
|
+
@pulumi.getter(name="siteId")
|
|
197
|
+
def site_id(self) -> pulumi.Input[int]:
|
|
198
|
+
return pulumi.get(self, "site_id")
|
|
199
|
+
|
|
200
|
+
@site_id.setter
|
|
201
|
+
def site_id(self, value: pulumi.Input[int]):
|
|
202
|
+
pulumi.set(self, "site_id", value)
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
@pulumi.getter
|
|
206
|
+
def status(self) -> pulumi.Input[str]:
|
|
207
|
+
"""
|
|
208
|
+
The ID of the waiting room, which can be obtained by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/doc-detail/2850279.html) operation.
|
|
209
|
+
"""
|
|
210
|
+
return pulumi.get(self, "status")
|
|
211
|
+
|
|
212
|
+
@status.setter
|
|
213
|
+
def status(self, value: pulumi.Input[str]):
|
|
214
|
+
pulumi.set(self, "status", value)
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter(name="totalActiveUsers")
|
|
218
|
+
def total_active_users(self) -> pulumi.Input[str]:
|
|
219
|
+
"""
|
|
220
|
+
The maximum number of active users.
|
|
221
|
+
"""
|
|
222
|
+
return pulumi.get(self, "total_active_users")
|
|
223
|
+
|
|
224
|
+
@total_active_users.setter
|
|
225
|
+
def total_active_users(self, value: pulumi.Input[str]):
|
|
226
|
+
pulumi.set(self, "total_active_users", value)
|
|
227
|
+
|
|
228
|
+
@property
|
|
229
|
+
@pulumi.getter(name="waitingRoomName")
|
|
230
|
+
def waiting_room_name(self) -> pulumi.Input[str]:
|
|
231
|
+
"""
|
|
232
|
+
Specifies whether to enable the waiting room. Valid values:
|
|
233
|
+
|
|
234
|
+
- on
|
|
235
|
+
- off
|
|
236
|
+
"""
|
|
237
|
+
return pulumi.get(self, "waiting_room_name")
|
|
238
|
+
|
|
239
|
+
@waiting_room_name.setter
|
|
240
|
+
def waiting_room_name(self, value: pulumi.Input[str]):
|
|
241
|
+
pulumi.set(self, "waiting_room_name", value)
|
|
242
|
+
|
|
243
|
+
@property
|
|
244
|
+
@pulumi.getter(name="waitingRoomType")
|
|
245
|
+
def waiting_room_type(self) -> pulumi.Input[str]:
|
|
246
|
+
"""
|
|
247
|
+
The type of the waiting room. Valid values:
|
|
248
|
+
|
|
249
|
+
- default
|
|
250
|
+
- custom
|
|
251
|
+
"""
|
|
252
|
+
return pulumi.get(self, "waiting_room_type")
|
|
253
|
+
|
|
254
|
+
@waiting_room_type.setter
|
|
255
|
+
def waiting_room_type(self, value: pulumi.Input[str]):
|
|
256
|
+
pulumi.set(self, "waiting_room_type", value)
|
|
257
|
+
|
|
258
|
+
@property
|
|
259
|
+
@pulumi.getter(name="customPageHtml")
|
|
260
|
+
def custom_page_html(self) -> Optional[pulumi.Input[str]]:
|
|
261
|
+
"""
|
|
262
|
+
The HTML content or identifier of the custom queuing page. This parameter is valid only when `WaitingRoomType` is set to `custom`. The content must be URL-encoded.
|
|
263
|
+
"""
|
|
264
|
+
return pulumi.get(self, "custom_page_html")
|
|
265
|
+
|
|
266
|
+
@custom_page_html.setter
|
|
267
|
+
def custom_page_html(self, value: Optional[pulumi.Input[str]]):
|
|
268
|
+
pulumi.set(self, "custom_page_html", value)
|
|
269
|
+
|
|
270
|
+
@property
|
|
271
|
+
@pulumi.getter
|
|
272
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
|
273
|
+
"""
|
|
274
|
+
Specifies whether to enable JSON response. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
275
|
+
|
|
276
|
+
- on
|
|
277
|
+
- off
|
|
278
|
+
"""
|
|
279
|
+
return pulumi.get(self, "description")
|
|
280
|
+
|
|
281
|
+
@description.setter
|
|
282
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
|
283
|
+
pulumi.set(self, "description", value)
|
|
284
|
+
|
|
285
|
+
@property
|
|
286
|
+
@pulumi.getter(name="disableSessionRenewalEnable")
|
|
287
|
+
def disable_session_renewal_enable(self) -> Optional[pulumi.Input[str]]:
|
|
288
|
+
"""
|
|
289
|
+
The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
290
|
+
"""
|
|
291
|
+
return pulumi.get(self, "disable_session_renewal_enable")
|
|
292
|
+
|
|
293
|
+
@disable_session_renewal_enable.setter
|
|
294
|
+
def disable_session_renewal_enable(self, value: Optional[pulumi.Input[str]]):
|
|
295
|
+
pulumi.set(self, "disable_session_renewal_enable", value)
|
|
296
|
+
|
|
297
|
+
@property
|
|
298
|
+
@pulumi.getter(name="jsonResponseEnable")
|
|
299
|
+
def json_response_enable(self) -> Optional[pulumi.Input[str]]:
|
|
300
|
+
"""
|
|
301
|
+
Indicates whether JSON response is enabled. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
302
|
+
|
|
303
|
+
- on
|
|
304
|
+
- off
|
|
305
|
+
"""
|
|
306
|
+
return pulumi.get(self, "json_response_enable")
|
|
307
|
+
|
|
308
|
+
@json_response_enable.setter
|
|
309
|
+
def json_response_enable(self, value: Optional[pulumi.Input[str]]):
|
|
310
|
+
pulumi.set(self, "json_response_enable", value)
|
|
311
|
+
|
|
312
|
+
@property
|
|
313
|
+
@pulumi.getter
|
|
314
|
+
def language(self) -> Optional[pulumi.Input[str]]:
|
|
315
|
+
"""
|
|
316
|
+
The language of the waiting room page. This parameter is returned when the waiting room type is set to default. Valid values:
|
|
317
|
+
|
|
318
|
+
- enus: English.
|
|
319
|
+
- zhcn: Simplified Chinese.
|
|
320
|
+
- zhhk: Traditional Chinese.
|
|
321
|
+
"""
|
|
322
|
+
return pulumi.get(self, "language")
|
|
323
|
+
|
|
324
|
+
@language.setter
|
|
325
|
+
def language(self, value: Optional[pulumi.Input[str]]):
|
|
326
|
+
pulumi.set(self, "language", value)
|
|
327
|
+
|
|
328
|
+
@property
|
|
329
|
+
@pulumi.getter(name="queueAllEnable")
|
|
330
|
+
def queue_all_enable(self) -> Optional[pulumi.Input[str]]:
|
|
331
|
+
"""
|
|
332
|
+
Indicates whether all requests must be queued. Valid values:
|
|
333
|
+
|
|
334
|
+
- on
|
|
335
|
+
- off
|
|
336
|
+
"""
|
|
337
|
+
return pulumi.get(self, "queue_all_enable")
|
|
338
|
+
|
|
339
|
+
@queue_all_enable.setter
|
|
340
|
+
def queue_all_enable(self, value: Optional[pulumi.Input[str]]):
|
|
341
|
+
pulumi.set(self, "queue_all_enable", value)
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
@pulumi.input_type
|
|
345
|
+
class _WaitingRoomState:
|
|
346
|
+
def __init__(__self__, *,
|
|
347
|
+
cookie_name: Optional[pulumi.Input[str]] = None,
|
|
348
|
+
custom_page_html: Optional[pulumi.Input[str]] = None,
|
|
349
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
350
|
+
disable_session_renewal_enable: Optional[pulumi.Input[str]] = None,
|
|
351
|
+
host_name_and_paths: Optional[pulumi.Input[Sequence[pulumi.Input['WaitingRoomHostNameAndPathArgs']]]] = None,
|
|
352
|
+
json_response_enable: Optional[pulumi.Input[str]] = None,
|
|
353
|
+
language: Optional[pulumi.Input[str]] = None,
|
|
354
|
+
new_users_per_minute: Optional[pulumi.Input[str]] = None,
|
|
355
|
+
queue_all_enable: Optional[pulumi.Input[str]] = None,
|
|
356
|
+
queuing_method: Optional[pulumi.Input[str]] = None,
|
|
357
|
+
queuing_status_code: Optional[pulumi.Input[str]] = None,
|
|
358
|
+
session_duration: Optional[pulumi.Input[str]] = None,
|
|
359
|
+
site_id: Optional[pulumi.Input[int]] = None,
|
|
360
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
361
|
+
total_active_users: Optional[pulumi.Input[str]] = None,
|
|
362
|
+
waiting_room_id: Optional[pulumi.Input[str]] = None,
|
|
363
|
+
waiting_room_name: Optional[pulumi.Input[str]] = None,
|
|
364
|
+
waiting_room_type: Optional[pulumi.Input[str]] = None):
|
|
365
|
+
"""
|
|
366
|
+
Input properties used for looking up and filtering WaitingRoom resources.
|
|
367
|
+
:param pulumi.Input[str] cookie_name: The name of the custom cookie.
|
|
368
|
+
:param pulumi.Input[str] custom_page_html: The HTML content or identifier of the custom queuing page. This parameter is valid only when `WaitingRoomType` is set to `custom`. The content must be URL-encoded.
|
|
369
|
+
:param pulumi.Input[str] description: Specifies whether to enable JSON response. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
370
|
+
|
|
371
|
+
- on
|
|
372
|
+
- off
|
|
373
|
+
:param pulumi.Input[str] disable_session_renewal_enable: The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
374
|
+
:param pulumi.Input[Sequence[pulumi.Input['WaitingRoomHostNameAndPathArgs']]] host_name_and_paths: The details of the hostname and path. See `host_name_and_path` below.
|
|
375
|
+
:param pulumi.Input[str] json_response_enable: Indicates whether JSON response is enabled. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
376
|
+
|
|
377
|
+
- on
|
|
378
|
+
- off
|
|
379
|
+
:param pulumi.Input[str] language: The language of the waiting room page. This parameter is returned when the waiting room type is set to default. Valid values:
|
|
380
|
+
|
|
381
|
+
- enus: English.
|
|
382
|
+
- zhcn: Simplified Chinese.
|
|
383
|
+
- zhhk: Traditional Chinese.
|
|
384
|
+
:param pulumi.Input[str] new_users_per_minute: The maximum number of new users per minute.
|
|
385
|
+
:param pulumi.Input[str] queue_all_enable: Indicates whether all requests must be queued. Valid values:
|
|
386
|
+
|
|
387
|
+
- on
|
|
388
|
+
- off
|
|
389
|
+
:param pulumi.Input[str] queuing_method: The queuing method. Valid values:
|
|
390
|
+
|
|
391
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
392
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
393
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
394
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
395
|
+
:param pulumi.Input[str] queuing_status_code: The queuing method. Valid values:
|
|
396
|
+
|
|
397
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
398
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
399
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
400
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
401
|
+
:param pulumi.Input[str] session_duration: The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
402
|
+
:param pulumi.Input[str] status: The ID of the waiting room, which can be obtained by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/doc-detail/2850279.html) operation.
|
|
403
|
+
:param pulumi.Input[str] total_active_users: The maximum number of active users.
|
|
404
|
+
:param pulumi.Input[str] waiting_room_id: The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
|
|
405
|
+
:param pulumi.Input[str] waiting_room_name: Specifies whether to enable the waiting room. Valid values:
|
|
406
|
+
|
|
407
|
+
- on
|
|
408
|
+
- off
|
|
409
|
+
:param pulumi.Input[str] waiting_room_type: The type of the waiting room. Valid values:
|
|
410
|
+
|
|
411
|
+
- default
|
|
412
|
+
- custom
|
|
413
|
+
"""
|
|
414
|
+
if cookie_name is not None:
|
|
415
|
+
pulumi.set(__self__, "cookie_name", cookie_name)
|
|
416
|
+
if custom_page_html is not None:
|
|
417
|
+
pulumi.set(__self__, "custom_page_html", custom_page_html)
|
|
418
|
+
if description is not None:
|
|
419
|
+
pulumi.set(__self__, "description", description)
|
|
420
|
+
if disable_session_renewal_enable is not None:
|
|
421
|
+
pulumi.set(__self__, "disable_session_renewal_enable", disable_session_renewal_enable)
|
|
422
|
+
if host_name_and_paths is not None:
|
|
423
|
+
pulumi.set(__self__, "host_name_and_paths", host_name_and_paths)
|
|
424
|
+
if json_response_enable is not None:
|
|
425
|
+
pulumi.set(__self__, "json_response_enable", json_response_enable)
|
|
426
|
+
if language is not None:
|
|
427
|
+
pulumi.set(__self__, "language", language)
|
|
428
|
+
if new_users_per_minute is not None:
|
|
429
|
+
pulumi.set(__self__, "new_users_per_minute", new_users_per_minute)
|
|
430
|
+
if queue_all_enable is not None:
|
|
431
|
+
pulumi.set(__self__, "queue_all_enable", queue_all_enable)
|
|
432
|
+
if queuing_method is not None:
|
|
433
|
+
pulumi.set(__self__, "queuing_method", queuing_method)
|
|
434
|
+
if queuing_status_code is not None:
|
|
435
|
+
pulumi.set(__self__, "queuing_status_code", queuing_status_code)
|
|
436
|
+
if session_duration is not None:
|
|
437
|
+
pulumi.set(__self__, "session_duration", session_duration)
|
|
438
|
+
if site_id is not None:
|
|
439
|
+
pulumi.set(__self__, "site_id", site_id)
|
|
440
|
+
if status is not None:
|
|
441
|
+
pulumi.set(__self__, "status", status)
|
|
442
|
+
if total_active_users is not None:
|
|
443
|
+
pulumi.set(__self__, "total_active_users", total_active_users)
|
|
444
|
+
if waiting_room_id is not None:
|
|
445
|
+
pulumi.set(__self__, "waiting_room_id", waiting_room_id)
|
|
446
|
+
if waiting_room_name is not None:
|
|
447
|
+
pulumi.set(__self__, "waiting_room_name", waiting_room_name)
|
|
448
|
+
if waiting_room_type is not None:
|
|
449
|
+
pulumi.set(__self__, "waiting_room_type", waiting_room_type)
|
|
450
|
+
|
|
451
|
+
@property
|
|
452
|
+
@pulumi.getter(name="cookieName")
|
|
453
|
+
def cookie_name(self) -> Optional[pulumi.Input[str]]:
|
|
454
|
+
"""
|
|
455
|
+
The name of the custom cookie.
|
|
456
|
+
"""
|
|
457
|
+
return pulumi.get(self, "cookie_name")
|
|
458
|
+
|
|
459
|
+
@cookie_name.setter
|
|
460
|
+
def cookie_name(self, value: Optional[pulumi.Input[str]]):
|
|
461
|
+
pulumi.set(self, "cookie_name", value)
|
|
462
|
+
|
|
463
|
+
@property
|
|
464
|
+
@pulumi.getter(name="customPageHtml")
|
|
465
|
+
def custom_page_html(self) -> Optional[pulumi.Input[str]]:
|
|
466
|
+
"""
|
|
467
|
+
The HTML content or identifier of the custom queuing page. This parameter is valid only when `WaitingRoomType` is set to `custom`. The content must be URL-encoded.
|
|
468
|
+
"""
|
|
469
|
+
return pulumi.get(self, "custom_page_html")
|
|
470
|
+
|
|
471
|
+
@custom_page_html.setter
|
|
472
|
+
def custom_page_html(self, value: Optional[pulumi.Input[str]]):
|
|
473
|
+
pulumi.set(self, "custom_page_html", value)
|
|
474
|
+
|
|
475
|
+
@property
|
|
476
|
+
@pulumi.getter
|
|
477
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
|
478
|
+
"""
|
|
479
|
+
Specifies whether to enable JSON response. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
480
|
+
|
|
481
|
+
- on
|
|
482
|
+
- off
|
|
483
|
+
"""
|
|
484
|
+
return pulumi.get(self, "description")
|
|
485
|
+
|
|
486
|
+
@description.setter
|
|
487
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
|
488
|
+
pulumi.set(self, "description", value)
|
|
489
|
+
|
|
490
|
+
@property
|
|
491
|
+
@pulumi.getter(name="disableSessionRenewalEnable")
|
|
492
|
+
def disable_session_renewal_enable(self) -> Optional[pulumi.Input[str]]:
|
|
493
|
+
"""
|
|
494
|
+
The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
495
|
+
"""
|
|
496
|
+
return pulumi.get(self, "disable_session_renewal_enable")
|
|
497
|
+
|
|
498
|
+
@disable_session_renewal_enable.setter
|
|
499
|
+
def disable_session_renewal_enable(self, value: Optional[pulumi.Input[str]]):
|
|
500
|
+
pulumi.set(self, "disable_session_renewal_enable", value)
|
|
501
|
+
|
|
502
|
+
@property
|
|
503
|
+
@pulumi.getter(name="hostNameAndPaths")
|
|
504
|
+
def host_name_and_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WaitingRoomHostNameAndPathArgs']]]]:
|
|
505
|
+
"""
|
|
506
|
+
The details of the hostname and path. See `host_name_and_path` below.
|
|
507
|
+
"""
|
|
508
|
+
return pulumi.get(self, "host_name_and_paths")
|
|
509
|
+
|
|
510
|
+
@host_name_and_paths.setter
|
|
511
|
+
def host_name_and_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WaitingRoomHostNameAndPathArgs']]]]):
|
|
512
|
+
pulumi.set(self, "host_name_and_paths", value)
|
|
513
|
+
|
|
514
|
+
@property
|
|
515
|
+
@pulumi.getter(name="jsonResponseEnable")
|
|
516
|
+
def json_response_enable(self) -> Optional[pulumi.Input[str]]:
|
|
517
|
+
"""
|
|
518
|
+
Indicates whether JSON response is enabled. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
519
|
+
|
|
520
|
+
- on
|
|
521
|
+
- off
|
|
522
|
+
"""
|
|
523
|
+
return pulumi.get(self, "json_response_enable")
|
|
524
|
+
|
|
525
|
+
@json_response_enable.setter
|
|
526
|
+
def json_response_enable(self, value: Optional[pulumi.Input[str]]):
|
|
527
|
+
pulumi.set(self, "json_response_enable", value)
|
|
528
|
+
|
|
529
|
+
@property
|
|
530
|
+
@pulumi.getter
|
|
531
|
+
def language(self) -> Optional[pulumi.Input[str]]:
|
|
532
|
+
"""
|
|
533
|
+
The language of the waiting room page. This parameter is returned when the waiting room type is set to default. Valid values:
|
|
534
|
+
|
|
535
|
+
- enus: English.
|
|
536
|
+
- zhcn: Simplified Chinese.
|
|
537
|
+
- zhhk: Traditional Chinese.
|
|
538
|
+
"""
|
|
539
|
+
return pulumi.get(self, "language")
|
|
540
|
+
|
|
541
|
+
@language.setter
|
|
542
|
+
def language(self, value: Optional[pulumi.Input[str]]):
|
|
543
|
+
pulumi.set(self, "language", value)
|
|
544
|
+
|
|
545
|
+
@property
|
|
546
|
+
@pulumi.getter(name="newUsersPerMinute")
|
|
547
|
+
def new_users_per_minute(self) -> Optional[pulumi.Input[str]]:
|
|
548
|
+
"""
|
|
549
|
+
The maximum number of new users per minute.
|
|
550
|
+
"""
|
|
551
|
+
return pulumi.get(self, "new_users_per_minute")
|
|
552
|
+
|
|
553
|
+
@new_users_per_minute.setter
|
|
554
|
+
def new_users_per_minute(self, value: Optional[pulumi.Input[str]]):
|
|
555
|
+
pulumi.set(self, "new_users_per_minute", value)
|
|
556
|
+
|
|
557
|
+
@property
|
|
558
|
+
@pulumi.getter(name="queueAllEnable")
|
|
559
|
+
def queue_all_enable(self) -> Optional[pulumi.Input[str]]:
|
|
560
|
+
"""
|
|
561
|
+
Indicates whether all requests must be queued. Valid values:
|
|
562
|
+
|
|
563
|
+
- on
|
|
564
|
+
- off
|
|
565
|
+
"""
|
|
566
|
+
return pulumi.get(self, "queue_all_enable")
|
|
567
|
+
|
|
568
|
+
@queue_all_enable.setter
|
|
569
|
+
def queue_all_enable(self, value: Optional[pulumi.Input[str]]):
|
|
570
|
+
pulumi.set(self, "queue_all_enable", value)
|
|
571
|
+
|
|
572
|
+
@property
|
|
573
|
+
@pulumi.getter(name="queuingMethod")
|
|
574
|
+
def queuing_method(self) -> Optional[pulumi.Input[str]]:
|
|
575
|
+
"""
|
|
576
|
+
The queuing method. Valid values:
|
|
577
|
+
|
|
578
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
579
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
580
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
581
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
582
|
+
"""
|
|
583
|
+
return pulumi.get(self, "queuing_method")
|
|
584
|
+
|
|
585
|
+
@queuing_method.setter
|
|
586
|
+
def queuing_method(self, value: Optional[pulumi.Input[str]]):
|
|
587
|
+
pulumi.set(self, "queuing_method", value)
|
|
588
|
+
|
|
589
|
+
@property
|
|
590
|
+
@pulumi.getter(name="queuingStatusCode")
|
|
591
|
+
def queuing_status_code(self) -> Optional[pulumi.Input[str]]:
|
|
592
|
+
"""
|
|
593
|
+
The queuing method. Valid values:
|
|
594
|
+
|
|
595
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
596
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
597
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
598
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
599
|
+
"""
|
|
600
|
+
return pulumi.get(self, "queuing_status_code")
|
|
601
|
+
|
|
602
|
+
@queuing_status_code.setter
|
|
603
|
+
def queuing_status_code(self, value: Optional[pulumi.Input[str]]):
|
|
604
|
+
pulumi.set(self, "queuing_status_code", value)
|
|
605
|
+
|
|
606
|
+
@property
|
|
607
|
+
@pulumi.getter(name="sessionDuration")
|
|
608
|
+
def session_duration(self) -> Optional[pulumi.Input[str]]:
|
|
609
|
+
"""
|
|
610
|
+
The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
611
|
+
"""
|
|
612
|
+
return pulumi.get(self, "session_duration")
|
|
613
|
+
|
|
614
|
+
@session_duration.setter
|
|
615
|
+
def session_duration(self, value: Optional[pulumi.Input[str]]):
|
|
616
|
+
pulumi.set(self, "session_duration", value)
|
|
617
|
+
|
|
618
|
+
@property
|
|
619
|
+
@pulumi.getter(name="siteId")
|
|
620
|
+
def site_id(self) -> Optional[pulumi.Input[int]]:
|
|
621
|
+
return pulumi.get(self, "site_id")
|
|
622
|
+
|
|
623
|
+
@site_id.setter
|
|
624
|
+
def site_id(self, value: Optional[pulumi.Input[int]]):
|
|
625
|
+
pulumi.set(self, "site_id", value)
|
|
626
|
+
|
|
627
|
+
@property
|
|
628
|
+
@pulumi.getter
|
|
629
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
630
|
+
"""
|
|
631
|
+
The ID of the waiting room, which can be obtained by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/doc-detail/2850279.html) operation.
|
|
632
|
+
"""
|
|
633
|
+
return pulumi.get(self, "status")
|
|
634
|
+
|
|
635
|
+
@status.setter
|
|
636
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
637
|
+
pulumi.set(self, "status", value)
|
|
638
|
+
|
|
639
|
+
@property
|
|
640
|
+
@pulumi.getter(name="totalActiveUsers")
|
|
641
|
+
def total_active_users(self) -> Optional[pulumi.Input[str]]:
|
|
642
|
+
"""
|
|
643
|
+
The maximum number of active users.
|
|
644
|
+
"""
|
|
645
|
+
return pulumi.get(self, "total_active_users")
|
|
646
|
+
|
|
647
|
+
@total_active_users.setter
|
|
648
|
+
def total_active_users(self, value: Optional[pulumi.Input[str]]):
|
|
649
|
+
pulumi.set(self, "total_active_users", value)
|
|
650
|
+
|
|
651
|
+
@property
|
|
652
|
+
@pulumi.getter(name="waitingRoomId")
|
|
653
|
+
def waiting_room_id(self) -> Optional[pulumi.Input[str]]:
|
|
654
|
+
"""
|
|
655
|
+
The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
|
|
656
|
+
"""
|
|
657
|
+
return pulumi.get(self, "waiting_room_id")
|
|
658
|
+
|
|
659
|
+
@waiting_room_id.setter
|
|
660
|
+
def waiting_room_id(self, value: Optional[pulumi.Input[str]]):
|
|
661
|
+
pulumi.set(self, "waiting_room_id", value)
|
|
662
|
+
|
|
663
|
+
@property
|
|
664
|
+
@pulumi.getter(name="waitingRoomName")
|
|
665
|
+
def waiting_room_name(self) -> Optional[pulumi.Input[str]]:
|
|
666
|
+
"""
|
|
667
|
+
Specifies whether to enable the waiting room. Valid values:
|
|
668
|
+
|
|
669
|
+
- on
|
|
670
|
+
- off
|
|
671
|
+
"""
|
|
672
|
+
return pulumi.get(self, "waiting_room_name")
|
|
673
|
+
|
|
674
|
+
@waiting_room_name.setter
|
|
675
|
+
def waiting_room_name(self, value: Optional[pulumi.Input[str]]):
|
|
676
|
+
pulumi.set(self, "waiting_room_name", value)
|
|
677
|
+
|
|
678
|
+
@property
|
|
679
|
+
@pulumi.getter(name="waitingRoomType")
|
|
680
|
+
def waiting_room_type(self) -> Optional[pulumi.Input[str]]:
|
|
681
|
+
"""
|
|
682
|
+
The type of the waiting room. Valid values:
|
|
683
|
+
|
|
684
|
+
- default
|
|
685
|
+
- custom
|
|
686
|
+
"""
|
|
687
|
+
return pulumi.get(self, "waiting_room_type")
|
|
688
|
+
|
|
689
|
+
@waiting_room_type.setter
|
|
690
|
+
def waiting_room_type(self, value: Optional[pulumi.Input[str]]):
|
|
691
|
+
pulumi.set(self, "waiting_room_type", value)
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
class WaitingRoom(pulumi.CustomResource):
|
|
695
|
+
@overload
|
|
696
|
+
def __init__(__self__,
|
|
697
|
+
resource_name: str,
|
|
698
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
699
|
+
cookie_name: Optional[pulumi.Input[str]] = None,
|
|
700
|
+
custom_page_html: Optional[pulumi.Input[str]] = None,
|
|
701
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
702
|
+
disable_session_renewal_enable: Optional[pulumi.Input[str]] = None,
|
|
703
|
+
host_name_and_paths: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WaitingRoomHostNameAndPathArgs', 'WaitingRoomHostNameAndPathArgsDict']]]]] = None,
|
|
704
|
+
json_response_enable: Optional[pulumi.Input[str]] = None,
|
|
705
|
+
language: Optional[pulumi.Input[str]] = None,
|
|
706
|
+
new_users_per_minute: Optional[pulumi.Input[str]] = None,
|
|
707
|
+
queue_all_enable: Optional[pulumi.Input[str]] = None,
|
|
708
|
+
queuing_method: Optional[pulumi.Input[str]] = None,
|
|
709
|
+
queuing_status_code: Optional[pulumi.Input[str]] = None,
|
|
710
|
+
session_duration: Optional[pulumi.Input[str]] = None,
|
|
711
|
+
site_id: Optional[pulumi.Input[int]] = None,
|
|
712
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
713
|
+
total_active_users: Optional[pulumi.Input[str]] = None,
|
|
714
|
+
waiting_room_name: Optional[pulumi.Input[str]] = None,
|
|
715
|
+
waiting_room_type: Optional[pulumi.Input[str]] = None,
|
|
716
|
+
__props__=None):
|
|
717
|
+
"""
|
|
718
|
+
Provides a ESA Waiting Room resource.
|
|
719
|
+
|
|
720
|
+
For information about ESA Waiting Room and how to use it, see [What is Waiting Room](https://next.api.alibabacloud.com/document/ESA/2024-09-10/CreateWaitingRoom).
|
|
721
|
+
|
|
722
|
+
> **NOTE:** Available since v1.244.0.
|
|
723
|
+
|
|
724
|
+
## Example Usage
|
|
725
|
+
|
|
726
|
+
Basic Usage
|
|
727
|
+
|
|
728
|
+
```python
|
|
729
|
+
import pulumi
|
|
730
|
+
import pulumi_alicloud as alicloud
|
|
731
|
+
|
|
732
|
+
default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
|
|
733
|
+
resource_site_example = alicloud.esa.Site("resource_Site_example",
|
|
734
|
+
site_name="terraform.site",
|
|
735
|
+
instance_id=default.sites[0].instance_id,
|
|
736
|
+
coverage="overseas",
|
|
737
|
+
access_type="NS")
|
|
738
|
+
default_waiting_room = alicloud.esa.WaitingRoom("default",
|
|
739
|
+
queuing_method="fifo",
|
|
740
|
+
session_duration="5",
|
|
741
|
+
total_active_users="300",
|
|
742
|
+
host_name_and_paths=[
|
|
743
|
+
{
|
|
744
|
+
"domain": "sub_domain.com",
|
|
745
|
+
"path": "/example",
|
|
746
|
+
"subdomain": "example_sub_domain.com.",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"domain": "sub_domain.com",
|
|
750
|
+
"path": "/example",
|
|
751
|
+
"subdomain": "example_sub_domain1.com.",
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"path": "/example",
|
|
755
|
+
"subdomain": "example_sub_domain2.com.",
|
|
756
|
+
"domain": "sub_domain.com",
|
|
757
|
+
},
|
|
758
|
+
],
|
|
759
|
+
waiting_room_type="default",
|
|
760
|
+
new_users_per_minute="200",
|
|
761
|
+
custom_page_html="",
|
|
762
|
+
language="zhcn",
|
|
763
|
+
queuing_status_code="200",
|
|
764
|
+
waiting_room_name="waitingroom_example",
|
|
765
|
+
status="off",
|
|
766
|
+
site_id=resource_site_example.id,
|
|
767
|
+
queue_all_enable="off",
|
|
768
|
+
disable_session_renewal_enable="off",
|
|
769
|
+
description="example",
|
|
770
|
+
json_response_enable="off",
|
|
771
|
+
cookie_name="__aliwaitingroom_example")
|
|
772
|
+
```
|
|
773
|
+
|
|
774
|
+
## Import
|
|
775
|
+
|
|
776
|
+
ESA Waiting Room can be imported using the id, e.g.
|
|
777
|
+
|
|
778
|
+
```sh
|
|
779
|
+
$ pulumi import alicloud:esa/waitingRoom:WaitingRoom example <site_id>:<waiting_room_id>
|
|
780
|
+
```
|
|
781
|
+
|
|
782
|
+
:param str resource_name: The name of the resource.
|
|
783
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
784
|
+
:param pulumi.Input[str] cookie_name: The name of the custom cookie.
|
|
785
|
+
:param pulumi.Input[str] custom_page_html: The HTML content or identifier of the custom queuing page. This parameter is valid only when `WaitingRoomType` is set to `custom`. The content must be URL-encoded.
|
|
786
|
+
:param pulumi.Input[str] description: Specifies whether to enable JSON response. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
787
|
+
|
|
788
|
+
- on
|
|
789
|
+
- off
|
|
790
|
+
:param pulumi.Input[str] disable_session_renewal_enable: The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
791
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['WaitingRoomHostNameAndPathArgs', 'WaitingRoomHostNameAndPathArgsDict']]]] host_name_and_paths: The details of the hostname and path. See `host_name_and_path` below.
|
|
792
|
+
:param pulumi.Input[str] json_response_enable: Indicates whether JSON response is enabled. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
793
|
+
|
|
794
|
+
- on
|
|
795
|
+
- off
|
|
796
|
+
:param pulumi.Input[str] language: The language of the waiting room page. This parameter is returned when the waiting room type is set to default. Valid values:
|
|
797
|
+
|
|
798
|
+
- enus: English.
|
|
799
|
+
- zhcn: Simplified Chinese.
|
|
800
|
+
- zhhk: Traditional Chinese.
|
|
801
|
+
:param pulumi.Input[str] new_users_per_minute: The maximum number of new users per minute.
|
|
802
|
+
:param pulumi.Input[str] queue_all_enable: Indicates whether all requests must be queued. Valid values:
|
|
803
|
+
|
|
804
|
+
- on
|
|
805
|
+
- off
|
|
806
|
+
:param pulumi.Input[str] queuing_method: The queuing method. Valid values:
|
|
807
|
+
|
|
808
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
809
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
810
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
811
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
812
|
+
:param pulumi.Input[str] queuing_status_code: The queuing method. Valid values:
|
|
813
|
+
|
|
814
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
815
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
816
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
817
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
818
|
+
:param pulumi.Input[str] session_duration: The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
819
|
+
:param pulumi.Input[str] status: The ID of the waiting room, which can be obtained by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/doc-detail/2850279.html) operation.
|
|
820
|
+
:param pulumi.Input[str] total_active_users: The maximum number of active users.
|
|
821
|
+
:param pulumi.Input[str] waiting_room_name: Specifies whether to enable the waiting room. Valid values:
|
|
822
|
+
|
|
823
|
+
- on
|
|
824
|
+
- off
|
|
825
|
+
:param pulumi.Input[str] waiting_room_type: The type of the waiting room. Valid values:
|
|
826
|
+
|
|
827
|
+
- default
|
|
828
|
+
- custom
|
|
829
|
+
"""
|
|
830
|
+
...
|
|
831
|
+
@overload
|
|
832
|
+
def __init__(__self__,
|
|
833
|
+
resource_name: str,
|
|
834
|
+
args: WaitingRoomArgs,
|
|
835
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
836
|
+
"""
|
|
837
|
+
Provides a ESA Waiting Room resource.
|
|
838
|
+
|
|
839
|
+
For information about ESA Waiting Room and how to use it, see [What is Waiting Room](https://next.api.alibabacloud.com/document/ESA/2024-09-10/CreateWaitingRoom).
|
|
840
|
+
|
|
841
|
+
> **NOTE:** Available since v1.244.0.
|
|
842
|
+
|
|
843
|
+
## Example Usage
|
|
844
|
+
|
|
845
|
+
Basic Usage
|
|
846
|
+
|
|
847
|
+
```python
|
|
848
|
+
import pulumi
|
|
849
|
+
import pulumi_alicloud as alicloud
|
|
850
|
+
|
|
851
|
+
default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
|
|
852
|
+
resource_site_example = alicloud.esa.Site("resource_Site_example",
|
|
853
|
+
site_name="terraform.site",
|
|
854
|
+
instance_id=default.sites[0].instance_id,
|
|
855
|
+
coverage="overseas",
|
|
856
|
+
access_type="NS")
|
|
857
|
+
default_waiting_room = alicloud.esa.WaitingRoom("default",
|
|
858
|
+
queuing_method="fifo",
|
|
859
|
+
session_duration="5",
|
|
860
|
+
total_active_users="300",
|
|
861
|
+
host_name_and_paths=[
|
|
862
|
+
{
|
|
863
|
+
"domain": "sub_domain.com",
|
|
864
|
+
"path": "/example",
|
|
865
|
+
"subdomain": "example_sub_domain.com.",
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"domain": "sub_domain.com",
|
|
869
|
+
"path": "/example",
|
|
870
|
+
"subdomain": "example_sub_domain1.com.",
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"path": "/example",
|
|
874
|
+
"subdomain": "example_sub_domain2.com.",
|
|
875
|
+
"domain": "sub_domain.com",
|
|
876
|
+
},
|
|
877
|
+
],
|
|
878
|
+
waiting_room_type="default",
|
|
879
|
+
new_users_per_minute="200",
|
|
880
|
+
custom_page_html="",
|
|
881
|
+
language="zhcn",
|
|
882
|
+
queuing_status_code="200",
|
|
883
|
+
waiting_room_name="waitingroom_example",
|
|
884
|
+
status="off",
|
|
885
|
+
site_id=resource_site_example.id,
|
|
886
|
+
queue_all_enable="off",
|
|
887
|
+
disable_session_renewal_enable="off",
|
|
888
|
+
description="example",
|
|
889
|
+
json_response_enable="off",
|
|
890
|
+
cookie_name="__aliwaitingroom_example")
|
|
891
|
+
```
|
|
892
|
+
|
|
893
|
+
## Import
|
|
894
|
+
|
|
895
|
+
ESA Waiting Room can be imported using the id, e.g.
|
|
896
|
+
|
|
897
|
+
```sh
|
|
898
|
+
$ pulumi import alicloud:esa/waitingRoom:WaitingRoom example <site_id>:<waiting_room_id>
|
|
899
|
+
```
|
|
900
|
+
|
|
901
|
+
:param str resource_name: The name of the resource.
|
|
902
|
+
:param WaitingRoomArgs args: The arguments to use to populate this resource's properties.
|
|
903
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
904
|
+
"""
|
|
905
|
+
...
|
|
906
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
907
|
+
resource_args, opts = _utilities.get_resource_args_opts(WaitingRoomArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
908
|
+
if resource_args is not None:
|
|
909
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
910
|
+
else:
|
|
911
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
912
|
+
|
|
913
|
+
def _internal_init(__self__,
|
|
914
|
+
resource_name: str,
|
|
915
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
916
|
+
cookie_name: Optional[pulumi.Input[str]] = None,
|
|
917
|
+
custom_page_html: Optional[pulumi.Input[str]] = None,
|
|
918
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
919
|
+
disable_session_renewal_enable: Optional[pulumi.Input[str]] = None,
|
|
920
|
+
host_name_and_paths: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WaitingRoomHostNameAndPathArgs', 'WaitingRoomHostNameAndPathArgsDict']]]]] = None,
|
|
921
|
+
json_response_enable: Optional[pulumi.Input[str]] = None,
|
|
922
|
+
language: Optional[pulumi.Input[str]] = None,
|
|
923
|
+
new_users_per_minute: Optional[pulumi.Input[str]] = None,
|
|
924
|
+
queue_all_enable: Optional[pulumi.Input[str]] = None,
|
|
925
|
+
queuing_method: Optional[pulumi.Input[str]] = None,
|
|
926
|
+
queuing_status_code: Optional[pulumi.Input[str]] = None,
|
|
927
|
+
session_duration: Optional[pulumi.Input[str]] = None,
|
|
928
|
+
site_id: Optional[pulumi.Input[int]] = None,
|
|
929
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
930
|
+
total_active_users: Optional[pulumi.Input[str]] = None,
|
|
931
|
+
waiting_room_name: Optional[pulumi.Input[str]] = None,
|
|
932
|
+
waiting_room_type: Optional[pulumi.Input[str]] = None,
|
|
933
|
+
__props__=None):
|
|
934
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
935
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
936
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
937
|
+
if opts.id is None:
|
|
938
|
+
if __props__ is not None:
|
|
939
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
940
|
+
__props__ = WaitingRoomArgs.__new__(WaitingRoomArgs)
|
|
941
|
+
|
|
942
|
+
if cookie_name is None and not opts.urn:
|
|
943
|
+
raise TypeError("Missing required property 'cookie_name'")
|
|
944
|
+
__props__.__dict__["cookie_name"] = cookie_name
|
|
945
|
+
__props__.__dict__["custom_page_html"] = custom_page_html
|
|
946
|
+
__props__.__dict__["description"] = description
|
|
947
|
+
__props__.__dict__["disable_session_renewal_enable"] = disable_session_renewal_enable
|
|
948
|
+
if host_name_and_paths is None and not opts.urn:
|
|
949
|
+
raise TypeError("Missing required property 'host_name_and_paths'")
|
|
950
|
+
__props__.__dict__["host_name_and_paths"] = host_name_and_paths
|
|
951
|
+
__props__.__dict__["json_response_enable"] = json_response_enable
|
|
952
|
+
__props__.__dict__["language"] = language
|
|
953
|
+
if new_users_per_minute is None and not opts.urn:
|
|
954
|
+
raise TypeError("Missing required property 'new_users_per_minute'")
|
|
955
|
+
__props__.__dict__["new_users_per_minute"] = new_users_per_minute
|
|
956
|
+
__props__.__dict__["queue_all_enable"] = queue_all_enable
|
|
957
|
+
if queuing_method is None and not opts.urn:
|
|
958
|
+
raise TypeError("Missing required property 'queuing_method'")
|
|
959
|
+
__props__.__dict__["queuing_method"] = queuing_method
|
|
960
|
+
if queuing_status_code is None and not opts.urn:
|
|
961
|
+
raise TypeError("Missing required property 'queuing_status_code'")
|
|
962
|
+
__props__.__dict__["queuing_status_code"] = queuing_status_code
|
|
963
|
+
if session_duration is None and not opts.urn:
|
|
964
|
+
raise TypeError("Missing required property 'session_duration'")
|
|
965
|
+
__props__.__dict__["session_duration"] = session_duration
|
|
966
|
+
if site_id is None and not opts.urn:
|
|
967
|
+
raise TypeError("Missing required property 'site_id'")
|
|
968
|
+
__props__.__dict__["site_id"] = site_id
|
|
969
|
+
if status is None and not opts.urn:
|
|
970
|
+
raise TypeError("Missing required property 'status'")
|
|
971
|
+
__props__.__dict__["status"] = status
|
|
972
|
+
if total_active_users is None and not opts.urn:
|
|
973
|
+
raise TypeError("Missing required property 'total_active_users'")
|
|
974
|
+
__props__.__dict__["total_active_users"] = total_active_users
|
|
975
|
+
if waiting_room_name is None and not opts.urn:
|
|
976
|
+
raise TypeError("Missing required property 'waiting_room_name'")
|
|
977
|
+
__props__.__dict__["waiting_room_name"] = waiting_room_name
|
|
978
|
+
if waiting_room_type is None and not opts.urn:
|
|
979
|
+
raise TypeError("Missing required property 'waiting_room_type'")
|
|
980
|
+
__props__.__dict__["waiting_room_type"] = waiting_room_type
|
|
981
|
+
__props__.__dict__["waiting_room_id"] = None
|
|
982
|
+
super(WaitingRoom, __self__).__init__(
|
|
983
|
+
'alicloud:esa/waitingRoom:WaitingRoom',
|
|
984
|
+
resource_name,
|
|
985
|
+
__props__,
|
|
986
|
+
opts)
|
|
987
|
+
|
|
988
|
+
@staticmethod
|
|
989
|
+
def get(resource_name: str,
|
|
990
|
+
id: pulumi.Input[str],
|
|
991
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
992
|
+
cookie_name: Optional[pulumi.Input[str]] = None,
|
|
993
|
+
custom_page_html: Optional[pulumi.Input[str]] = None,
|
|
994
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
995
|
+
disable_session_renewal_enable: Optional[pulumi.Input[str]] = None,
|
|
996
|
+
host_name_and_paths: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WaitingRoomHostNameAndPathArgs', 'WaitingRoomHostNameAndPathArgsDict']]]]] = None,
|
|
997
|
+
json_response_enable: Optional[pulumi.Input[str]] = None,
|
|
998
|
+
language: Optional[pulumi.Input[str]] = None,
|
|
999
|
+
new_users_per_minute: Optional[pulumi.Input[str]] = None,
|
|
1000
|
+
queue_all_enable: Optional[pulumi.Input[str]] = None,
|
|
1001
|
+
queuing_method: Optional[pulumi.Input[str]] = None,
|
|
1002
|
+
queuing_status_code: Optional[pulumi.Input[str]] = None,
|
|
1003
|
+
session_duration: Optional[pulumi.Input[str]] = None,
|
|
1004
|
+
site_id: Optional[pulumi.Input[int]] = None,
|
|
1005
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
1006
|
+
total_active_users: Optional[pulumi.Input[str]] = None,
|
|
1007
|
+
waiting_room_id: Optional[pulumi.Input[str]] = None,
|
|
1008
|
+
waiting_room_name: Optional[pulumi.Input[str]] = None,
|
|
1009
|
+
waiting_room_type: Optional[pulumi.Input[str]] = None) -> 'WaitingRoom':
|
|
1010
|
+
"""
|
|
1011
|
+
Get an existing WaitingRoom resource's state with the given name, id, and optional extra
|
|
1012
|
+
properties used to qualify the lookup.
|
|
1013
|
+
|
|
1014
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
1015
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1016
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1017
|
+
:param pulumi.Input[str] cookie_name: The name of the custom cookie.
|
|
1018
|
+
:param pulumi.Input[str] custom_page_html: The HTML content or identifier of the custom queuing page. This parameter is valid only when `WaitingRoomType` is set to `custom`. The content must be URL-encoded.
|
|
1019
|
+
:param pulumi.Input[str] description: Specifies whether to enable JSON response. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
1020
|
+
|
|
1021
|
+
- on
|
|
1022
|
+
- off
|
|
1023
|
+
:param pulumi.Input[str] disable_session_renewal_enable: The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
1024
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['WaitingRoomHostNameAndPathArgs', 'WaitingRoomHostNameAndPathArgsDict']]]] host_name_and_paths: The details of the hostname and path. See `host_name_and_path` below.
|
|
1025
|
+
:param pulumi.Input[str] json_response_enable: Indicates whether JSON response is enabled. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
1026
|
+
|
|
1027
|
+
- on
|
|
1028
|
+
- off
|
|
1029
|
+
:param pulumi.Input[str] language: The language of the waiting room page. This parameter is returned when the waiting room type is set to default. Valid values:
|
|
1030
|
+
|
|
1031
|
+
- enus: English.
|
|
1032
|
+
- zhcn: Simplified Chinese.
|
|
1033
|
+
- zhhk: Traditional Chinese.
|
|
1034
|
+
:param pulumi.Input[str] new_users_per_minute: The maximum number of new users per minute.
|
|
1035
|
+
:param pulumi.Input[str] queue_all_enable: Indicates whether all requests must be queued. Valid values:
|
|
1036
|
+
|
|
1037
|
+
- on
|
|
1038
|
+
- off
|
|
1039
|
+
:param pulumi.Input[str] queuing_method: The queuing method. Valid values:
|
|
1040
|
+
|
|
1041
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
1042
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
1043
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
1044
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
1045
|
+
:param pulumi.Input[str] queuing_status_code: The queuing method. Valid values:
|
|
1046
|
+
|
|
1047
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
1048
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
1049
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
1050
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
1051
|
+
:param pulumi.Input[str] session_duration: The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
1052
|
+
:param pulumi.Input[str] status: The ID of the waiting room, which can be obtained by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/doc-detail/2850279.html) operation.
|
|
1053
|
+
:param pulumi.Input[str] total_active_users: The maximum number of active users.
|
|
1054
|
+
:param pulumi.Input[str] waiting_room_id: The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
|
|
1055
|
+
:param pulumi.Input[str] waiting_room_name: Specifies whether to enable the waiting room. Valid values:
|
|
1056
|
+
|
|
1057
|
+
- on
|
|
1058
|
+
- off
|
|
1059
|
+
:param pulumi.Input[str] waiting_room_type: The type of the waiting room. Valid values:
|
|
1060
|
+
|
|
1061
|
+
- default
|
|
1062
|
+
- custom
|
|
1063
|
+
"""
|
|
1064
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1065
|
+
|
|
1066
|
+
__props__ = _WaitingRoomState.__new__(_WaitingRoomState)
|
|
1067
|
+
|
|
1068
|
+
__props__.__dict__["cookie_name"] = cookie_name
|
|
1069
|
+
__props__.__dict__["custom_page_html"] = custom_page_html
|
|
1070
|
+
__props__.__dict__["description"] = description
|
|
1071
|
+
__props__.__dict__["disable_session_renewal_enable"] = disable_session_renewal_enable
|
|
1072
|
+
__props__.__dict__["host_name_and_paths"] = host_name_and_paths
|
|
1073
|
+
__props__.__dict__["json_response_enable"] = json_response_enable
|
|
1074
|
+
__props__.__dict__["language"] = language
|
|
1075
|
+
__props__.__dict__["new_users_per_minute"] = new_users_per_minute
|
|
1076
|
+
__props__.__dict__["queue_all_enable"] = queue_all_enable
|
|
1077
|
+
__props__.__dict__["queuing_method"] = queuing_method
|
|
1078
|
+
__props__.__dict__["queuing_status_code"] = queuing_status_code
|
|
1079
|
+
__props__.__dict__["session_duration"] = session_duration
|
|
1080
|
+
__props__.__dict__["site_id"] = site_id
|
|
1081
|
+
__props__.__dict__["status"] = status
|
|
1082
|
+
__props__.__dict__["total_active_users"] = total_active_users
|
|
1083
|
+
__props__.__dict__["waiting_room_id"] = waiting_room_id
|
|
1084
|
+
__props__.__dict__["waiting_room_name"] = waiting_room_name
|
|
1085
|
+
__props__.__dict__["waiting_room_type"] = waiting_room_type
|
|
1086
|
+
return WaitingRoom(resource_name, opts=opts, __props__=__props__)
|
|
1087
|
+
|
|
1088
|
+
@property
|
|
1089
|
+
@pulumi.getter(name="cookieName")
|
|
1090
|
+
def cookie_name(self) -> pulumi.Output[str]:
|
|
1091
|
+
"""
|
|
1092
|
+
The name of the custom cookie.
|
|
1093
|
+
"""
|
|
1094
|
+
return pulumi.get(self, "cookie_name")
|
|
1095
|
+
|
|
1096
|
+
@property
|
|
1097
|
+
@pulumi.getter(name="customPageHtml")
|
|
1098
|
+
def custom_page_html(self) -> pulumi.Output[Optional[str]]:
|
|
1099
|
+
"""
|
|
1100
|
+
The HTML content or identifier of the custom queuing page. This parameter is valid only when `WaitingRoomType` is set to `custom`. The content must be URL-encoded.
|
|
1101
|
+
"""
|
|
1102
|
+
return pulumi.get(self, "custom_page_html")
|
|
1103
|
+
|
|
1104
|
+
@property
|
|
1105
|
+
@pulumi.getter
|
|
1106
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
|
1107
|
+
"""
|
|
1108
|
+
Specifies whether to enable JSON response. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
1109
|
+
|
|
1110
|
+
- on
|
|
1111
|
+
- off
|
|
1112
|
+
"""
|
|
1113
|
+
return pulumi.get(self, "description")
|
|
1114
|
+
|
|
1115
|
+
@property
|
|
1116
|
+
@pulumi.getter(name="disableSessionRenewalEnable")
|
|
1117
|
+
def disable_session_renewal_enable(self) -> pulumi.Output[Optional[str]]:
|
|
1118
|
+
"""
|
|
1119
|
+
The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
1120
|
+
"""
|
|
1121
|
+
return pulumi.get(self, "disable_session_renewal_enable")
|
|
1122
|
+
|
|
1123
|
+
@property
|
|
1124
|
+
@pulumi.getter(name="hostNameAndPaths")
|
|
1125
|
+
def host_name_and_paths(self) -> pulumi.Output[Sequence['outputs.WaitingRoomHostNameAndPath']]:
|
|
1126
|
+
"""
|
|
1127
|
+
The details of the hostname and path. See `host_name_and_path` below.
|
|
1128
|
+
"""
|
|
1129
|
+
return pulumi.get(self, "host_name_and_paths")
|
|
1130
|
+
|
|
1131
|
+
@property
|
|
1132
|
+
@pulumi.getter(name="jsonResponseEnable")
|
|
1133
|
+
def json_response_enable(self) -> pulumi.Output[Optional[str]]:
|
|
1134
|
+
"""
|
|
1135
|
+
Indicates whether JSON response is enabled. If you set this parameter to on, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
|
1136
|
+
|
|
1137
|
+
- on
|
|
1138
|
+
- off
|
|
1139
|
+
"""
|
|
1140
|
+
return pulumi.get(self, "json_response_enable")
|
|
1141
|
+
|
|
1142
|
+
@property
|
|
1143
|
+
@pulumi.getter
|
|
1144
|
+
def language(self) -> pulumi.Output[Optional[str]]:
|
|
1145
|
+
"""
|
|
1146
|
+
The language of the waiting room page. This parameter is returned when the waiting room type is set to default. Valid values:
|
|
1147
|
+
|
|
1148
|
+
- enus: English.
|
|
1149
|
+
- zhcn: Simplified Chinese.
|
|
1150
|
+
- zhhk: Traditional Chinese.
|
|
1151
|
+
"""
|
|
1152
|
+
return pulumi.get(self, "language")
|
|
1153
|
+
|
|
1154
|
+
@property
|
|
1155
|
+
@pulumi.getter(name="newUsersPerMinute")
|
|
1156
|
+
def new_users_per_minute(self) -> pulumi.Output[str]:
|
|
1157
|
+
"""
|
|
1158
|
+
The maximum number of new users per minute.
|
|
1159
|
+
"""
|
|
1160
|
+
return pulumi.get(self, "new_users_per_minute")
|
|
1161
|
+
|
|
1162
|
+
@property
|
|
1163
|
+
@pulumi.getter(name="queueAllEnable")
|
|
1164
|
+
def queue_all_enable(self) -> pulumi.Output[Optional[str]]:
|
|
1165
|
+
"""
|
|
1166
|
+
Indicates whether all requests must be queued. Valid values:
|
|
1167
|
+
|
|
1168
|
+
- on
|
|
1169
|
+
- off
|
|
1170
|
+
"""
|
|
1171
|
+
return pulumi.get(self, "queue_all_enable")
|
|
1172
|
+
|
|
1173
|
+
@property
|
|
1174
|
+
@pulumi.getter(name="queuingMethod")
|
|
1175
|
+
def queuing_method(self) -> pulumi.Output[str]:
|
|
1176
|
+
"""
|
|
1177
|
+
The queuing method. Valid values:
|
|
1178
|
+
|
|
1179
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
1180
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
1181
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
1182
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
1183
|
+
"""
|
|
1184
|
+
return pulumi.get(self, "queuing_method")
|
|
1185
|
+
|
|
1186
|
+
@property
|
|
1187
|
+
@pulumi.getter(name="queuingStatusCode")
|
|
1188
|
+
def queuing_status_code(self) -> pulumi.Output[str]:
|
|
1189
|
+
"""
|
|
1190
|
+
The queuing method. Valid values:
|
|
1191
|
+
|
|
1192
|
+
- random: Users gain access to the origin randomly, regardless of the arrival time.
|
|
1193
|
+
- fifo: Users gain access to the origin in order of arrival.
|
|
1194
|
+
- passthrough: Users pass through the waiting room and go straight to the origin.
|
|
1195
|
+
- reject-all: Users are blocked from reaching the origin.
|
|
1196
|
+
"""
|
|
1197
|
+
return pulumi.get(self, "queuing_status_code")
|
|
1198
|
+
|
|
1199
|
+
@property
|
|
1200
|
+
@pulumi.getter(name="sessionDuration")
|
|
1201
|
+
def session_duration(self) -> pulumi.Output[str]:
|
|
1202
|
+
"""
|
|
1203
|
+
The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes.
|
|
1204
|
+
"""
|
|
1205
|
+
return pulumi.get(self, "session_duration")
|
|
1206
|
+
|
|
1207
|
+
@property
|
|
1208
|
+
@pulumi.getter(name="siteId")
|
|
1209
|
+
def site_id(self) -> pulumi.Output[int]:
|
|
1210
|
+
return pulumi.get(self, "site_id")
|
|
1211
|
+
|
|
1212
|
+
@property
|
|
1213
|
+
@pulumi.getter
|
|
1214
|
+
def status(self) -> pulumi.Output[str]:
|
|
1215
|
+
"""
|
|
1216
|
+
The ID of the waiting room, which can be obtained by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/doc-detail/2850279.html) operation.
|
|
1217
|
+
"""
|
|
1218
|
+
return pulumi.get(self, "status")
|
|
1219
|
+
|
|
1220
|
+
@property
|
|
1221
|
+
@pulumi.getter(name="totalActiveUsers")
|
|
1222
|
+
def total_active_users(self) -> pulumi.Output[str]:
|
|
1223
|
+
"""
|
|
1224
|
+
The maximum number of active users.
|
|
1225
|
+
"""
|
|
1226
|
+
return pulumi.get(self, "total_active_users")
|
|
1227
|
+
|
|
1228
|
+
@property
|
|
1229
|
+
@pulumi.getter(name="waitingRoomId")
|
|
1230
|
+
def waiting_room_id(self) -> pulumi.Output[str]:
|
|
1231
|
+
"""
|
|
1232
|
+
The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
|
|
1233
|
+
"""
|
|
1234
|
+
return pulumi.get(self, "waiting_room_id")
|
|
1235
|
+
|
|
1236
|
+
@property
|
|
1237
|
+
@pulumi.getter(name="waitingRoomName")
|
|
1238
|
+
def waiting_room_name(self) -> pulumi.Output[str]:
|
|
1239
|
+
"""
|
|
1240
|
+
Specifies whether to enable the waiting room. Valid values:
|
|
1241
|
+
|
|
1242
|
+
- on
|
|
1243
|
+
- off
|
|
1244
|
+
"""
|
|
1245
|
+
return pulumi.get(self, "waiting_room_name")
|
|
1246
|
+
|
|
1247
|
+
@property
|
|
1248
|
+
@pulumi.getter(name="waitingRoomType")
|
|
1249
|
+
def waiting_room_type(self) -> pulumi.Output[str]:
|
|
1250
|
+
"""
|
|
1251
|
+
The type of the waiting room. Valid values:
|
|
1252
|
+
|
|
1253
|
+
- default
|
|
1254
|
+
- custom
|
|
1255
|
+
"""
|
|
1256
|
+
return pulumi.get(self, "waiting_room_type")
|
|
1257
|
+
|