pulumi-alicloud 3.78.0a1747200018__py3-none-any.whl → 3.79.0a1747372618__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 +32 -0
- pulumi_alicloud/adb/cluster.py +12 -12
- pulumi_alicloud/alb/health_check_template.py +233 -93
- pulumi_alicloud/alb/load_balancer.py +110 -0
- pulumi_alicloud/amqp/exchange.py +250 -159
- pulumi_alicloud/apigateway/_inputs.py +23 -3
- pulumi_alicloud/apigateway/api.py +7 -7
- pulumi_alicloud/apigateway/backend.py +8 -8
- pulumi_alicloud/apigateway/outputs.py +16 -2
- pulumi_alicloud/arms/remote_write.py +2 -2
- pulumi_alicloud/bp/studio_application.py +2 -2
- pulumi_alicloud/cassandra/cluster.py +2 -2
- pulumi_alicloud/cassandra/data_center.py +2 -2
- pulumi_alicloud/cdn/fc_trigger.py +2 -2
- pulumi_alicloud/cen/_inputs.py +78 -27
- pulumi_alicloud/cen/bandwidth_limit.py +7 -7
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +6 -6
- pulumi_alicloud/cen/outputs.py +52 -18
- pulumi_alicloud/cen/traffic_marking_policy.py +49 -9
- pulumi_alicloud/chatbot/publish_task.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/ips_config.py +523 -0
- pulumi_alicloud/cr/registry_enterprise_instance.py +4 -4
- pulumi_alicloud/das/switch_das_pro.py +6 -2
- pulumi_alicloud/dataworks/di_alarm_rule.py +6 -4
- pulumi_alicloud/dataworks/di_job.py +8 -6
- pulumi_alicloud/dataworks/project_member.py +2 -2
- pulumi_alicloud/ddos/domain_resource.py +19 -9
- pulumi_alicloud/dms/enterprise_logic_database.py +2 -2
- pulumi_alicloud/dms/enterprise_proxy_access.py +2 -2
- pulumi_alicloud/drds/instance.py +12 -8
- pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +2 -2
- pulumi_alicloud/ecs/activation.py +2 -2
- pulumi_alicloud/ecs/capacity_reservation.py +2 -2
- pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_invocation.py +12 -6
- pulumi_alicloud/ecs/ecs_network_interface_permission.py +2 -2
- pulumi_alicloud/ecs/ecs_snapshot_group.py +2 -2
- pulumi_alicloud/ecs/elasticity_assurance.py +2 -2
- pulumi_alicloud/ecs/image_copy.py +2 -2
- pulumi_alicloud/ecs/image_export.py +2 -2
- pulumi_alicloud/ecs/reserved_instance.py +2 -2
- pulumi_alicloud/ecs/snapshot.py +8 -4
- pulumi_alicloud/ecs/storage_capacity_unit.py +2 -2
- pulumi_alicloud/emr/cluster.py +4 -4
- pulumi_alicloud/esa/edge_container_app_record.py +10 -2
- pulumi_alicloud/esa/http_request_header_modification_rule.py +12 -4
- pulumi_alicloud/esa/http_response_header_modification_rule.py +12 -4
- pulumi_alicloud/esa/https_basic_configuration.py +12 -4
- pulumi_alicloud/esa/network_optimization.py +10 -2
- pulumi_alicloud/esa/origin_pool.py +10 -10
- pulumi_alicloud/esa/redirect_rule.py +12 -4
- pulumi_alicloud/esa/rewrite_url_rule.py +12 -4
- pulumi_alicloud/ess/outputs.py +107 -0
- pulumi_alicloud/ess/scaling_group.py +47 -0
- pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
- pulumi_alicloud/fnf/execution.py +2 -2
- pulumi_alicloud/fnf/flow.py +2 -2
- pulumi_alicloud/fnf/schedule.py +2 -2
- pulumi_alicloud/gpdb/elastic_instance.py +8 -8
- pulumi_alicloud/hbr/ecs_backup_plan.py +10 -2
- pulumi_alicloud/hbr/hana_backup_client.py +2 -2
- pulumi_alicloud/hbr/hana_backup_plan.py +2 -2
- pulumi_alicloud/hbr/hana_instance.py +2 -2
- pulumi_alicloud/hbr/nas_backup_plan.py +10 -2
- pulumi_alicloud/hbr/oss_backup_plan.py +10 -2
- pulumi_alicloud/hbr/ots_backup_plan.py +10 -2
- pulumi_alicloud/hbr/restore_job.py +2 -2
- pulumi_alicloud/hbr/server_backup_plan.py +10 -2
- pulumi_alicloud/kms/_inputs.py +12 -12
- pulumi_alicloud/kms/instance.py +80 -47
- pulumi_alicloud/kms/outputs.py +8 -8
- pulumi_alicloud/kvstore/instance.py +21 -7
- pulumi_alicloud/lindorm/instance.py +101 -7
- pulumi_alicloud/log/etl.py +2 -2
- pulumi_alicloud/log/ingestion.py +4 -6
- pulumi_alicloud/log/oss_export.py +4 -6
- pulumi_alicloud/log/oss_shipper.py +2 -2
- pulumi_alicloud/mse/gateway.py +2 -2
- pulumi_alicloud/mse/nacos_config.py +2 -0
- pulumi_alicloud/mse/znode.py +2 -2
- pulumi_alicloud/nas/mount_target.py +6 -6
- pulumi_alicloud/nas/snapshot.py +2 -2
- pulumi_alicloud/oos/default_patch_baseline.py +2 -2
- pulumi_alicloud/oos/secret_parameter.py +2 -2
- pulumi_alicloud/oss/bucket_replication.py +8 -8
- pulumi_alicloud/pai/__init__.py +3 -0
- pulumi_alicloud/pai/_inputs.py +108 -0
- pulumi_alicloud/pai/outputs.py +64 -0
- pulumi_alicloud/pai/workspace_member.py +393 -0
- pulumi_alicloud/pai/workspace_model.py +792 -0
- pulumi_alicloud/pai/workspace_model_version.py +1129 -0
- pulumi_alicloud/polardb/cluster.py +68 -7
- pulumi_alicloud/polardb/global_database_network.py +2 -2
- pulumi_alicloud/polardb/parameter_group.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/group_policy_attachment.py +2 -2
- pulumi_alicloud/ram/role.py +2 -2
- pulumi_alicloud/ram/role_attachment.py +6 -4
- pulumi_alicloud/rds/instance.py +47 -47
- pulumi_alicloud/rds/rds_clone_db_instance.py +30 -30
- pulumi_alicloud/rds/rds_upgrade_db_instance.py +2 -2
- pulumi_alicloud/resourcemanager/account.py +315 -116
- pulumi_alicloud/rocketmq/group.py +2 -2
- pulumi_alicloud/ros/change_set.py +2 -2
- pulumi_alicloud/ros/stack.py +2 -2
- pulumi_alicloud/ros/stack_group.py +2 -2
- pulumi_alicloud/ros/stack_instance.py +2 -2
- pulumi_alicloud/ros/template_scratch.py +2 -2
- pulumi_alicloud/scdn/domain.py +2 -2
- pulumi_alicloud/securitycenter/service_linked_role.py +2 -2
- pulumi_alicloud/servicecatalog/provisioned_product.py +2 -2
- pulumi_alicloud/slb/_inputs.py +44 -0
- pulumi_alicloud/slb/acl_entry_attachment.py +2 -2
- pulumi_alicloud/slb/ca_certificate.py +4 -0
- pulumi_alicloud/slb/listener.py +46 -89
- pulumi_alicloud/slb/master_slave_server_group.py +17 -35
- pulumi_alicloud/slb/outputs.py +26 -0
- pulumi_alicloud/sms/short_url.py +2 -2
- pulumi_alicloud/threatdetection/backup_policy.py +2 -2
- pulumi_alicloud/threatdetection/honeypot_probe.py +2 -2
- pulumi_alicloud/threatdetection/instance.py +28 -21
- pulumi_alicloud/threatdetection/outputs.py +98 -6
- pulumi_alicloud/threatdetection/vul_whitelist.py +2 -2
- pulumi_alicloud/threatdetection/web_lock_config.py +2 -2
- pulumi_alicloud/tsdb/instance.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package.py +28 -14
- pulumi_alicloud/vpc/forward_entry.py +4 -4
- pulumi_alicloud/vpc/gateway_route_table_attachment.py +2 -2
- pulumi_alicloud/vpc/ha_vip.py +4 -4
- pulumi_alicloud/vpc/ha_vipv2.py +4 -0
- pulumi_alicloud/vpc/ipv4_gateway.py +78 -37
- pulumi_alicloud/vpc/ipv6_gateway.py +2 -2
- pulumi_alicloud/vpc/nat_ip.py +2 -2
- pulumi_alicloud/vpc/prefix_list.py +2 -2
- pulumi_alicloud/vpc/route_entry.py +6 -2
- pulumi_alicloud/vpn/gateway_vco_route.py +2 -2
- pulumi_alicloud/vpn/ipsec_server.py +2 -2
- pulumi_alicloud/vpn/pbr_route_entry.py +2 -2
- pulumi_alicloud/vpn/route_entry.py +8 -8
- pulumi_alicloud/wafv3/instance.py +2 -2
- pulumi_alicloud/wafv3/outputs.py +11 -0
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0a1747372618.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0a1747372618.dist-info}/RECORD +146 -142
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0a1747372618.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0a1747372618.dist-info}/top_level.txt +0 -0
|
@@ -211,6 +211,10 @@ if not MYPY:
|
|
|
211
211
|
"""
|
|
212
212
|
The type of function compute service. Supports values of `FCEvent`,`HttpTrigger`. Default value: `FCEvent`.
|
|
213
213
|
"""
|
|
214
|
+
function_version: NotRequired[pulumi.Input[builtins.str]]
|
|
215
|
+
"""
|
|
216
|
+
The function compute version of function compute service. Supports values of `2.0`, `3.0`. Default value: `2.0`.
|
|
217
|
+
"""
|
|
214
218
|
method: NotRequired[pulumi.Input[builtins.str]]
|
|
215
219
|
"""
|
|
216
220
|
The http method of function compute service. Required if `function_type` is `HttpTrigger`.
|
|
@@ -229,7 +233,7 @@ if not MYPY:
|
|
|
229
233
|
"""
|
|
230
234
|
service_name: NotRequired[pulumi.Input[builtins.str]]
|
|
231
235
|
"""
|
|
232
|
-
The service name of function compute service. Required if `function_type` is `FCEvent`.
|
|
236
|
+
The service name of function compute service. Required if `function_type` is `FCEvent` and `function_version` is `2.0`.
|
|
233
237
|
"""
|
|
234
238
|
elif False:
|
|
235
239
|
ApiFcServiceConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -243,6 +247,7 @@ class ApiFcServiceConfigArgs:
|
|
|
243
247
|
function_base_url: Optional[pulumi.Input[builtins.str]] = None,
|
|
244
248
|
function_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
245
249
|
function_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
250
|
+
function_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
246
251
|
method: Optional[pulumi.Input[builtins.str]] = None,
|
|
247
252
|
only_business_path: Optional[pulumi.Input[builtins.bool]] = None,
|
|
248
253
|
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -255,11 +260,12 @@ class ApiFcServiceConfigArgs:
|
|
|
255
260
|
:param pulumi.Input[builtins.str] function_base_url: The base url of function compute service. Required if `function_type` is `HttpTrigger`.
|
|
256
261
|
:param pulumi.Input[builtins.str] function_name: The function name of function compute service. Required if `function_type` is `FCEvent`.
|
|
257
262
|
:param pulumi.Input[builtins.str] function_type: The type of function compute service. Supports values of `FCEvent`,`HttpTrigger`. Default value: `FCEvent`.
|
|
263
|
+
:param pulumi.Input[builtins.str] function_version: The function compute version of function compute service. Supports values of `2.0`, `3.0`. Default value: `2.0`.
|
|
258
264
|
:param pulumi.Input[builtins.str] method: The http method of function compute service. Required if `function_type` is `HttpTrigger`.
|
|
259
265
|
:param pulumi.Input[builtins.bool] only_business_path: Whether to filter path in `function_base_url`. Optional if `function_type` is `HttpTrigger`.
|
|
260
266
|
:param pulumi.Input[builtins.str] path: The path of function compute service. Required if `function_type` is `HttpTrigger`.
|
|
261
267
|
:param pulumi.Input[builtins.str] qualifier: The qualifier of function name of compute service.
|
|
262
|
-
:param pulumi.Input[builtins.str] service_name: The service name of function compute service. Required if `function_type` is `FCEvent`.
|
|
268
|
+
:param pulumi.Input[builtins.str] service_name: The service name of function compute service. Required if `function_type` is `FCEvent` and `function_version` is `2.0`.
|
|
263
269
|
"""
|
|
264
270
|
pulumi.set(__self__, "arn_role", arn_role)
|
|
265
271
|
pulumi.set(__self__, "region", region)
|
|
@@ -270,6 +276,8 @@ class ApiFcServiceConfigArgs:
|
|
|
270
276
|
pulumi.set(__self__, "function_name", function_name)
|
|
271
277
|
if function_type is not None:
|
|
272
278
|
pulumi.set(__self__, "function_type", function_type)
|
|
279
|
+
if function_version is not None:
|
|
280
|
+
pulumi.set(__self__, "function_version", function_version)
|
|
273
281
|
if method is not None:
|
|
274
282
|
pulumi.set(__self__, "method", method)
|
|
275
283
|
if only_business_path is not None:
|
|
@@ -353,6 +361,18 @@ class ApiFcServiceConfigArgs:
|
|
|
353
361
|
def function_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
354
362
|
pulumi.set(self, "function_type", value)
|
|
355
363
|
|
|
364
|
+
@property
|
|
365
|
+
@pulumi.getter(name="functionVersion")
|
|
366
|
+
def function_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
367
|
+
"""
|
|
368
|
+
The function compute version of function compute service. Supports values of `2.0`, `3.0`. Default value: `2.0`.
|
|
369
|
+
"""
|
|
370
|
+
return pulumi.get(self, "function_version")
|
|
371
|
+
|
|
372
|
+
@function_version.setter
|
|
373
|
+
def function_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
374
|
+
pulumi.set(self, "function_version", value)
|
|
375
|
+
|
|
356
376
|
@property
|
|
357
377
|
@pulumi.getter
|
|
358
378
|
def method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -405,7 +425,7 @@ class ApiFcServiceConfigArgs:
|
|
|
405
425
|
@pulumi.getter(name="serviceName")
|
|
406
426
|
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
407
427
|
"""
|
|
408
|
-
The service name of function compute service. Required if `function_type` is `FCEvent`.
|
|
428
|
+
The service name of function compute service. Required if `function_type` is `FCEvent` and `function_version` is `2.0`.
|
|
409
429
|
"""
|
|
410
430
|
return pulumi.get(self, "service_name")
|
|
411
431
|
|
|
@@ -43,7 +43,7 @@ class ApiArgs:
|
|
|
43
43
|
:param pulumi.Input[builtins.str] description: The description of the api. Defaults to null.
|
|
44
44
|
:param pulumi.Input[builtins.str] group_id: The api gateway that the api belongs to. Defaults to null.
|
|
45
45
|
:param pulumi.Input['ApiRequestConfigArgs'] request_config: Request_config defines how users can send requests to your API. See `request_config` below.
|
|
46
|
-
:param pulumi.Input[builtins.str] service_type: The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null.
|
|
46
|
+
:param pulumi.Input[builtins.str] service_type: The type of backend service. Type including HTTP, VPC, FunctionCompute and MOCK. Defaults to null.
|
|
47
47
|
:param pulumi.Input[Sequence[pulumi.Input['ApiConstantParameterArgs']]] constant_parameters: constant_parameters defines the constant parameters of the api. See `constant_parameters` below.
|
|
48
48
|
:param pulumi.Input['ApiFcServiceConfigArgs'] fc_service_config: fc_service_config defines the config when service_type selected 'FunctionCompute'. See `fc_service_config` below.
|
|
49
49
|
:param pulumi.Input[builtins.bool] force_nonce_check: Whether to prevent API replay attack. Default value: `false`.
|
|
@@ -133,7 +133,7 @@ class ApiArgs:
|
|
|
133
133
|
@pulumi.getter(name="serviceType")
|
|
134
134
|
def service_type(self) -> pulumi.Input[builtins.str]:
|
|
135
135
|
"""
|
|
136
|
-
The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null.
|
|
136
|
+
The type of backend service. Type including HTTP, VPC, FunctionCompute and MOCK. Defaults to null.
|
|
137
137
|
"""
|
|
138
138
|
return pulumi.get(self, "service_type")
|
|
139
139
|
|
|
@@ -296,7 +296,7 @@ class _ApiState:
|
|
|
296
296
|
:param pulumi.Input[builtins.str] name: The name of the api gateway api. Defaults to null.
|
|
297
297
|
:param pulumi.Input['ApiRequestConfigArgs'] request_config: Request_config defines how users can send requests to your API. See `request_config` below.
|
|
298
298
|
:param pulumi.Input[Sequence[pulumi.Input['ApiRequestParameterArgs']]] request_parameters: request_parameters defines the request parameters of the api. See `request_parameters` below.
|
|
299
|
-
:param pulumi.Input[builtins.str] service_type: The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null.
|
|
299
|
+
:param pulumi.Input[builtins.str] service_type: The type of backend service. Type including HTTP, VPC, FunctionCompute and MOCK. Defaults to null.
|
|
300
300
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] stage_names: Stages that the api need to be deployed. Valid value: `RELEASE`,`PRE`,`TEST`.
|
|
301
301
|
:param pulumi.Input[Sequence[pulumi.Input['ApiSystemParameterArgs']]] system_parameters: system_parameters defines the system parameters of the api. See `system_parameters` below.
|
|
302
302
|
"""
|
|
@@ -493,7 +493,7 @@ class _ApiState:
|
|
|
493
493
|
@pulumi.getter(name="serviceType")
|
|
494
494
|
def service_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
495
495
|
"""
|
|
496
|
-
The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null.
|
|
496
|
+
The type of backend service. Type including HTTP, VPC, FunctionCompute and MOCK. Defaults to null.
|
|
497
497
|
"""
|
|
498
498
|
return pulumi.get(self, "service_type")
|
|
499
499
|
|
|
@@ -617,7 +617,7 @@ class Api(pulumi.CustomResource):
|
|
|
617
617
|
:param pulumi.Input[builtins.str] name: The name of the api gateway api. Defaults to null.
|
|
618
618
|
:param pulumi.Input[Union['ApiRequestConfigArgs', 'ApiRequestConfigArgsDict']] request_config: Request_config defines how users can send requests to your API. See `request_config` below.
|
|
619
619
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiRequestParameterArgs', 'ApiRequestParameterArgsDict']]]] request_parameters: request_parameters defines the request parameters of the api. See `request_parameters` below.
|
|
620
|
-
:param pulumi.Input[builtins.str] service_type: The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null.
|
|
620
|
+
:param pulumi.Input[builtins.str] service_type: The type of backend service. Type including HTTP, VPC, FunctionCompute and MOCK. Defaults to null.
|
|
621
621
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] stage_names: Stages that the api need to be deployed. Valid value: `RELEASE`,`PRE`,`TEST`.
|
|
622
622
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiSystemParameterArgs', 'ApiSystemParameterArgsDict']]]] system_parameters: system_parameters defines the system parameters of the api. See `system_parameters` below.
|
|
623
623
|
"""
|
|
@@ -793,7 +793,7 @@ class Api(pulumi.CustomResource):
|
|
|
793
793
|
:param pulumi.Input[builtins.str] name: The name of the api gateway api. Defaults to null.
|
|
794
794
|
:param pulumi.Input[Union['ApiRequestConfigArgs', 'ApiRequestConfigArgsDict']] request_config: Request_config defines how users can send requests to your API. See `request_config` below.
|
|
795
795
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiRequestParameterArgs', 'ApiRequestParameterArgsDict']]]] request_parameters: request_parameters defines the request parameters of the api. See `request_parameters` below.
|
|
796
|
-
:param pulumi.Input[builtins.str] service_type: The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null.
|
|
796
|
+
:param pulumi.Input[builtins.str] service_type: The type of backend service. Type including HTTP, VPC, FunctionCompute and MOCK. Defaults to null.
|
|
797
797
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] stage_names: Stages that the api need to be deployed. Valid value: `RELEASE`,`PRE`,`TEST`.
|
|
798
798
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiSystemParameterArgs', 'ApiSystemParameterArgsDict']]]] system_parameters: system_parameters defines the system parameters of the api. See `system_parameters` below.
|
|
799
799
|
"""
|
|
@@ -927,7 +927,7 @@ class Api(pulumi.CustomResource):
|
|
|
927
927
|
@pulumi.getter(name="serviceType")
|
|
928
928
|
def service_type(self) -> pulumi.Output[builtins.str]:
|
|
929
929
|
"""
|
|
930
|
-
The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null.
|
|
930
|
+
The type of backend service. Type including HTTP, VPC, FunctionCompute and MOCK. Defaults to null.
|
|
931
931
|
"""
|
|
932
932
|
return pulumi.get(self, "service_type")
|
|
933
933
|
|
|
@@ -27,7 +27,7 @@ class BackendArgs:
|
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a Backend resource.
|
|
29
29
|
:param pulumi.Input[builtins.str] backend_name: The name of the Backend.
|
|
30
|
-
:param pulumi.Input[builtins.str] backend_type: The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
30
|
+
:param pulumi.Input[builtins.str] backend_type: The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_EVENT_V3`, `FC_HTTP`, `FC_HTTP_V3`, `OSS`, `MOCK`.
|
|
31
31
|
:param pulumi.Input[builtins.bool] create_event_bridge_service_linked_role: Whether to create an Event bus service association role.
|
|
32
32
|
:param pulumi.Input[builtins.str] description: The description of the Backend.
|
|
33
33
|
"""
|
|
@@ -54,7 +54,7 @@ class BackendArgs:
|
|
|
54
54
|
@pulumi.getter(name="backendType")
|
|
55
55
|
def backend_type(self) -> pulumi.Input[builtins.str]:
|
|
56
56
|
"""
|
|
57
|
-
The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
57
|
+
The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_EVENT_V3`, `FC_HTTP`, `FC_HTTP_V3`, `OSS`, `MOCK`.
|
|
58
58
|
"""
|
|
59
59
|
return pulumi.get(self, "backend_type")
|
|
60
60
|
|
|
@@ -97,7 +97,7 @@ class _BackendState:
|
|
|
97
97
|
"""
|
|
98
98
|
Input properties used for looking up and filtering Backend resources.
|
|
99
99
|
:param pulumi.Input[builtins.str] backend_name: The name of the Backend.
|
|
100
|
-
:param pulumi.Input[builtins.str] backend_type: The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
100
|
+
:param pulumi.Input[builtins.str] backend_type: The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_EVENT_V3`, `FC_HTTP`, `FC_HTTP_V3`, `OSS`, `MOCK`.
|
|
101
101
|
:param pulumi.Input[builtins.bool] create_event_bridge_service_linked_role: Whether to create an Event bus service association role.
|
|
102
102
|
:param pulumi.Input[builtins.str] description: The description of the Backend.
|
|
103
103
|
"""
|
|
@@ -126,7 +126,7 @@ class _BackendState:
|
|
|
126
126
|
@pulumi.getter(name="backendType")
|
|
127
127
|
def backend_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
128
128
|
"""
|
|
129
|
-
The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
129
|
+
The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_EVENT_V3`, `FC_HTTP`, `FC_HTTP_V3`, `OSS`, `MOCK`.
|
|
130
130
|
"""
|
|
131
131
|
return pulumi.get(self, "backend_type")
|
|
132
132
|
|
|
@@ -206,7 +206,7 @@ class Backend(pulumi.CustomResource):
|
|
|
206
206
|
:param str resource_name: The name of the resource.
|
|
207
207
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
208
208
|
:param pulumi.Input[builtins.str] backend_name: The name of the Backend.
|
|
209
|
-
:param pulumi.Input[builtins.str] backend_type: The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
209
|
+
:param pulumi.Input[builtins.str] backend_type: The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_EVENT_V3`, `FC_HTTP`, `FC_HTTP_V3`, `OSS`, `MOCK`.
|
|
210
210
|
:param pulumi.Input[builtins.bool] create_event_bridge_service_linked_role: Whether to create an Event bus service association role.
|
|
211
211
|
:param pulumi.Input[builtins.str] description: The description of the Backend.
|
|
212
212
|
"""
|
|
@@ -307,7 +307,7 @@ class Backend(pulumi.CustomResource):
|
|
|
307
307
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
308
308
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
309
309
|
:param pulumi.Input[builtins.str] backend_name: The name of the Backend.
|
|
310
|
-
:param pulumi.Input[builtins.str] backend_type: The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
310
|
+
:param pulumi.Input[builtins.str] backend_type: The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_EVENT_V3`, `FC_HTTP`, `FC_HTTP_V3`, `OSS`, `MOCK`.
|
|
311
311
|
:param pulumi.Input[builtins.bool] create_event_bridge_service_linked_role: Whether to create an Event bus service association role.
|
|
312
312
|
:param pulumi.Input[builtins.str] description: The description of the Backend.
|
|
313
313
|
"""
|
|
@@ -333,13 +333,13 @@ class Backend(pulumi.CustomResource):
|
|
|
333
333
|
@pulumi.getter(name="backendType")
|
|
334
334
|
def backend_type(self) -> pulumi.Output[builtins.str]:
|
|
335
335
|
"""
|
|
336
|
-
The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
336
|
+
The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_EVENT_V3`, `FC_HTTP`, `FC_HTTP_V3`, `OSS`, `MOCK`.
|
|
337
337
|
"""
|
|
338
338
|
return pulumi.get(self, "backend_type")
|
|
339
339
|
|
|
340
340
|
@property
|
|
341
341
|
@pulumi.getter(name="createEventBridgeServiceLinkedRole")
|
|
342
|
-
def create_event_bridge_service_linked_role(self) -> pulumi.Output[
|
|
342
|
+
def create_event_bridge_service_linked_role(self) -> pulumi.Output[builtins.bool]:
|
|
343
343
|
"""
|
|
344
344
|
Whether to create an Event bus service association role.
|
|
345
345
|
"""
|
|
@@ -169,6 +169,8 @@ class ApiFcServiceConfig(dict):
|
|
|
169
169
|
suggest = "function_name"
|
|
170
170
|
elif key == "functionType":
|
|
171
171
|
suggest = "function_type"
|
|
172
|
+
elif key == "functionVersion":
|
|
173
|
+
suggest = "function_version"
|
|
172
174
|
elif key == "onlyBusinessPath":
|
|
173
175
|
suggest = "only_business_path"
|
|
174
176
|
elif key == "serviceName":
|
|
@@ -192,6 +194,7 @@ class ApiFcServiceConfig(dict):
|
|
|
192
194
|
function_base_url: Optional[builtins.str] = None,
|
|
193
195
|
function_name: Optional[builtins.str] = None,
|
|
194
196
|
function_type: Optional[builtins.str] = None,
|
|
197
|
+
function_version: Optional[builtins.str] = None,
|
|
195
198
|
method: Optional[builtins.str] = None,
|
|
196
199
|
only_business_path: Optional[builtins.bool] = None,
|
|
197
200
|
path: Optional[builtins.str] = None,
|
|
@@ -204,11 +207,12 @@ class ApiFcServiceConfig(dict):
|
|
|
204
207
|
:param builtins.str function_base_url: The base url of function compute service. Required if `function_type` is `HttpTrigger`.
|
|
205
208
|
:param builtins.str function_name: The function name of function compute service. Required if `function_type` is `FCEvent`.
|
|
206
209
|
:param builtins.str function_type: The type of function compute service. Supports values of `FCEvent`,`HttpTrigger`. Default value: `FCEvent`.
|
|
210
|
+
:param builtins.str function_version: The function compute version of function compute service. Supports values of `2.0`, `3.0`. Default value: `2.0`.
|
|
207
211
|
:param builtins.str method: The http method of function compute service. Required if `function_type` is `HttpTrigger`.
|
|
208
212
|
:param builtins.bool only_business_path: Whether to filter path in `function_base_url`. Optional if `function_type` is `HttpTrigger`.
|
|
209
213
|
:param builtins.str path: The path of function compute service. Required if `function_type` is `HttpTrigger`.
|
|
210
214
|
:param builtins.str qualifier: The qualifier of function name of compute service.
|
|
211
|
-
:param builtins.str service_name: The service name of function compute service. Required if `function_type` is `FCEvent`.
|
|
215
|
+
:param builtins.str service_name: The service name of function compute service. Required if `function_type` is `FCEvent` and `function_version` is `2.0`.
|
|
212
216
|
"""
|
|
213
217
|
pulumi.set(__self__, "arn_role", arn_role)
|
|
214
218
|
pulumi.set(__self__, "region", region)
|
|
@@ -219,6 +223,8 @@ class ApiFcServiceConfig(dict):
|
|
|
219
223
|
pulumi.set(__self__, "function_name", function_name)
|
|
220
224
|
if function_type is not None:
|
|
221
225
|
pulumi.set(__self__, "function_type", function_type)
|
|
226
|
+
if function_version is not None:
|
|
227
|
+
pulumi.set(__self__, "function_version", function_version)
|
|
222
228
|
if method is not None:
|
|
223
229
|
pulumi.set(__self__, "method", method)
|
|
224
230
|
if only_business_path is not None:
|
|
@@ -278,6 +284,14 @@ class ApiFcServiceConfig(dict):
|
|
|
278
284
|
"""
|
|
279
285
|
return pulumi.get(self, "function_type")
|
|
280
286
|
|
|
287
|
+
@property
|
|
288
|
+
@pulumi.getter(name="functionVersion")
|
|
289
|
+
def function_version(self) -> Optional[builtins.str]:
|
|
290
|
+
"""
|
|
291
|
+
The function compute version of function compute service. Supports values of `2.0`, `3.0`. Default value: `2.0`.
|
|
292
|
+
"""
|
|
293
|
+
return pulumi.get(self, "function_version")
|
|
294
|
+
|
|
281
295
|
@property
|
|
282
296
|
@pulumi.getter
|
|
283
297
|
def method(self) -> Optional[builtins.str]:
|
|
@@ -314,7 +328,7 @@ class ApiFcServiceConfig(dict):
|
|
|
314
328
|
@pulumi.getter(name="serviceName")
|
|
315
329
|
def service_name(self) -> Optional[builtins.str]:
|
|
316
330
|
"""
|
|
317
|
-
The service name of function compute service. Required if `function_type` is `FCEvent`.
|
|
331
|
+
The service name of function compute service. Required if `function_type` is `FCEvent` and `function_version` is `2.0`.
|
|
318
332
|
"""
|
|
319
333
|
return pulumi.get(self, "service_name")
|
|
320
334
|
|
|
@@ -123,7 +123,7 @@ class RemoteWrite(pulumi.CustomResource):
|
|
|
123
123
|
"""
|
|
124
124
|
Provides a Application Real-Time Monitoring Service (ARMS) Remote Write resource.
|
|
125
125
|
|
|
126
|
-
For information about Application Real-Time Monitoring Service (ARMS) Remote Write and how to use it, see [What is Remote Write](https://
|
|
126
|
+
For information about Application Real-Time Monitoring Service (ARMS) Remote Write and how to use it, see [What is Remote Write](https://next.api.aliyun.com/api/ARMS/2019-08-08/AddPrometheusInstance).
|
|
127
127
|
|
|
128
128
|
> **NOTE:** Available since v1.204.0.
|
|
129
129
|
|
|
@@ -203,7 +203,7 @@ class RemoteWrite(pulumi.CustomResource):
|
|
|
203
203
|
"""
|
|
204
204
|
Provides a Application Real-Time Monitoring Service (ARMS) Remote Write resource.
|
|
205
205
|
|
|
206
|
-
For information about Application Real-Time Monitoring Service (ARMS) Remote Write and how to use it, see [What is Remote Write](https://
|
|
206
|
+
For information about Application Real-Time Monitoring Service (ARMS) Remote Write and how to use it, see [What is Remote Write](https://next.api.aliyun.com/api/ARMS/2019-08-08/AddPrometheusInstance).
|
|
207
207
|
|
|
208
208
|
> **NOTE:** Available since v1.204.0.
|
|
209
209
|
|
|
@@ -292,7 +292,7 @@ class StudioApplication(pulumi.CustomResource):
|
|
|
292
292
|
|
|
293
293
|
For information about Cloud Architect Design Tools Application and how to use it, see [What is Application](https://help.aliyun.com/document_detail/428263.html).
|
|
294
294
|
|
|
295
|
-
> **NOTE:** Available
|
|
295
|
+
> **NOTE:** Available since v1.192.0.
|
|
296
296
|
|
|
297
297
|
## Example Usage
|
|
298
298
|
|
|
@@ -355,7 +355,7 @@ class StudioApplication(pulumi.CustomResource):
|
|
|
355
355
|
|
|
356
356
|
For information about Cloud Architect Design Tools Application and how to use it, see [What is Application](https://help.aliyun.com/document_detail/428263.html).
|
|
357
357
|
|
|
358
|
-
> **NOTE:** Available
|
|
358
|
+
> **NOTE:** Available since v1.192.0.
|
|
359
359
|
|
|
360
360
|
## Example Usage
|
|
361
361
|
|
|
@@ -741,7 +741,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
741
741
|
It offers a full range of database solutions, such as disaster recovery, backup, recovery, monitoring, and alarms.
|
|
742
742
|
You can see detail product introduction [here](https://www.alibabacloud.com/help/product/49055.htm).
|
|
743
743
|
|
|
744
|
-
> **NOTE:**
|
|
744
|
+
> **NOTE:** Available since v1.88.0.
|
|
745
745
|
|
|
746
746
|
> **NOTE:** The following regions support create Vpc network Cassandra cluster.
|
|
747
747
|
The official website mark more regions. Or you can call [DescribeRegions](https://help.aliyun.com/document_detail/157540.html).
|
|
@@ -819,7 +819,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
819
819
|
It offers a full range of database solutions, such as disaster recovery, backup, recovery, monitoring, and alarms.
|
|
820
820
|
You can see detail product introduction [here](https://www.alibabacloud.com/help/product/49055.htm).
|
|
821
821
|
|
|
822
|
-
> **NOTE:**
|
|
822
|
+
> **NOTE:** Available since v1.88.0.
|
|
823
823
|
|
|
824
824
|
> **NOTE:** The following regions support create Vpc network Cassandra cluster.
|
|
825
825
|
The official website mark more regions. Or you can call [DescribeRegions](https://help.aliyun.com/document_detail/157540.html).
|
|
@@ -530,7 +530,7 @@ class DataCenter(pulumi.CustomResource):
|
|
|
530
530
|
It offers a full range of database solutions, such as disaster recovery, backup, recovery, monitoring, and alarms.
|
|
531
531
|
You can see detail product introduction [here](https://www.alibabacloud.com/help/product/49055.htm).
|
|
532
532
|
|
|
533
|
-
> **NOTE:**
|
|
533
|
+
> **NOTE:** Available since v1.88.0.
|
|
534
534
|
|
|
535
535
|
> **NOTE:** Create a cassandra dataCenter need a clusterId,so need create a cassandra cluster first.
|
|
536
536
|
|
|
@@ -616,7 +616,7 @@ class DataCenter(pulumi.CustomResource):
|
|
|
616
616
|
It offers a full range of database solutions, such as disaster recovery, backup, recovery, monitoring, and alarms.
|
|
617
617
|
You can see detail product introduction [here](https://www.alibabacloud.com/help/product/49055.htm).
|
|
618
618
|
|
|
619
|
-
> **NOTE:**
|
|
619
|
+
> **NOTE:** Available since v1.88.0.
|
|
620
620
|
|
|
621
621
|
> **NOTE:** Create a cassandra dataCenter need a clusterId,so need create a cassandra cluster first.
|
|
622
622
|
|
|
@@ -270,7 +270,7 @@ class FcTrigger(pulumi.CustomResource):
|
|
|
270
270
|
|
|
271
271
|
For information about CDN Fc Trigger and how to use it, see [What is Fc Trigger](https://www.alibabacloud.com/help/en/cdn/developer-reference/api-cdn-2018-05-10-addfctrigger).
|
|
272
272
|
|
|
273
|
-
> **NOTE:** Available
|
|
273
|
+
> **NOTE:** Available since v1.165.0.
|
|
274
274
|
|
|
275
275
|
## Example Usage
|
|
276
276
|
|
|
@@ -320,7 +320,7 @@ class FcTrigger(pulumi.CustomResource):
|
|
|
320
320
|
|
|
321
321
|
For information about CDN Fc Trigger and how to use it, see [What is Fc Trigger](https://www.alibabacloud.com/help/en/cdn/developer-reference/api-cdn-2018-05-10-addfctrigger).
|
|
322
322
|
|
|
323
|
-
> **NOTE:** Available
|
|
323
|
+
> **NOTE:** Available since v1.165.0.
|
|
324
324
|
|
|
325
325
|
## Example Usage
|
|
326
326
|
|
pulumi_alicloud/cen/_inputs.py
CHANGED
|
@@ -32,45 +32,62 @@ if not MYPY:
|
|
|
32
32
|
class TrafficMarkingPolicyTrafficMatchRuleArgsDict(TypedDict):
|
|
33
33
|
address_family: NotRequired[pulumi.Input[builtins.str]]
|
|
34
34
|
"""
|
|
35
|
-
IP Address Family
|
|
35
|
+
IP Address Family
|
|
36
36
|
"""
|
|
37
37
|
dst_cidr: NotRequired[pulumi.Input[builtins.str]]
|
|
38
38
|
"""
|
|
39
|
-
The destination network segment of the traffic message.
|
|
39
|
+
The destination network segment of the traffic message.
|
|
40
|
+
The flow classification matches the traffic of the destination IP address in the destination network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination IP address.
|
|
40
41
|
"""
|
|
41
42
|
dst_port_ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]
|
|
42
43
|
"""
|
|
43
|
-
The destination port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
44
|
+
The destination port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
45
|
+
|
|
46
|
+
The flow classification rule matches the traffic of the destination port number in the destination port range. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination port number.
|
|
47
|
+
|
|
48
|
+
The current parameter supports a maximum of 2 port numbers. The input format is described as follows:
|
|
44
49
|
- If you only enter a port number, such as 1, the system defaults to match the traffic with the destination port of 1.
|
|
45
50
|
- If you enter 2 port numbers, such as 1 and 200, the system defaults to match the traffic of the destination port in the range of 1 to 200.
|
|
46
51
|
- If you enter 2 port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any destination port.
|
|
47
52
|
"""
|
|
48
53
|
match_dscp: NotRequired[pulumi.Input[builtins.int]]
|
|
49
54
|
"""
|
|
50
|
-
The DSCP value of the traffic message. Valid values: `0` to **63 * *.
|
|
55
|
+
The DSCP value of the traffic message. Valid values: `0` to **63 * *.
|
|
56
|
+
|
|
57
|
+
The flow classification rule matches the flow with the specified DSCP value. If the flow classification rule is not set, it means that the flow classification rule matches the flow with any DSCP value.
|
|
58
|
+
|
|
59
|
+
> **NOTE:** The current DSCP value refers to the DSCP value that the traffic message has carried before entering the cross-region connection.
|
|
51
60
|
"""
|
|
52
61
|
protocol: NotRequired[pulumi.Input[builtins.str]]
|
|
53
62
|
"""
|
|
54
|
-
The protocol type of the traffic message.
|
|
63
|
+
The protocol type of the traffic message.
|
|
64
|
+
Stream classification rules can match traffic of multiple protocol types, such as `HTTP`, `HTTPS`, `TCP`, `UDP`, `SSH`, and **Telnet. For more protocol types, please log on to the [Cloud Enterprise Network Management Console](https://cen.console.aliyun.com/cen/list) to view.
|
|
55
65
|
"""
|
|
56
66
|
src_cidr: NotRequired[pulumi.Input[builtins.str]]
|
|
57
67
|
"""
|
|
58
|
-
The source network segment of the traffic message.
|
|
68
|
+
The source network segment of the traffic message.
|
|
69
|
+
The flow classification rule matches the traffic of the source IP address in the source network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any source IP address.
|
|
59
70
|
"""
|
|
60
71
|
src_port_ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]
|
|
61
72
|
"""
|
|
62
|
-
The source port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
73
|
+
The source port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
74
|
+
|
|
75
|
+
The flow classification rule matches the traffic of the source port number in the source port range. If it is not set, it means that the flow classification rule matches the traffic of any source port number.
|
|
76
|
+
|
|
77
|
+
The current parameter supports entering up to two port numbers. The input format is described as follows:
|
|
63
78
|
- If you only enter a port number, such as 1, the system defaults to match the traffic with source port 1.
|
|
64
79
|
- If you enter two port numbers, such as 1 and 200, the system defaults to match the traffic with the source port in the range of 1 to 200.
|
|
65
80
|
- If you enter two port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any source port.
|
|
66
81
|
"""
|
|
67
82
|
traffic_match_rule_description: NotRequired[pulumi.Input[builtins.str]]
|
|
68
83
|
"""
|
|
69
|
-
The description information of the stream classification rule.
|
|
84
|
+
The description information of the stream classification rule.
|
|
85
|
+
The description must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
70
86
|
"""
|
|
71
87
|
traffic_match_rule_name: NotRequired[pulumi.Input[builtins.str]]
|
|
72
88
|
"""
|
|
73
|
-
The name of the stream classification rule.
|
|
89
|
+
The name of the stream classification rule.
|
|
90
|
+
The name must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
74
91
|
"""
|
|
75
92
|
elif False:
|
|
76
93
|
TrafficMarkingPolicyTrafficMatchRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -88,21 +105,38 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
88
105
|
traffic_match_rule_description: Optional[pulumi.Input[builtins.str]] = None,
|
|
89
106
|
traffic_match_rule_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
90
107
|
"""
|
|
91
|
-
:param pulumi.Input[builtins.str] address_family: IP Address Family
|
|
92
|
-
:param pulumi.Input[builtins.str] dst_cidr: The destination network segment of the traffic message.
|
|
93
|
-
|
|
108
|
+
:param pulumi.Input[builtins.str] address_family: IP Address Family
|
|
109
|
+
:param pulumi.Input[builtins.str] dst_cidr: The destination network segment of the traffic message.
|
|
110
|
+
The flow classification matches the traffic of the destination IP address in the destination network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination IP address.
|
|
111
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] dst_port_ranges: The destination port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
112
|
+
|
|
113
|
+
The flow classification rule matches the traffic of the destination port number in the destination port range. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination port number.
|
|
114
|
+
|
|
115
|
+
The current parameter supports a maximum of 2 port numbers. The input format is described as follows:
|
|
94
116
|
- If you only enter a port number, such as 1, the system defaults to match the traffic with the destination port of 1.
|
|
95
117
|
- If you enter 2 port numbers, such as 1 and 200, the system defaults to match the traffic of the destination port in the range of 1 to 200.
|
|
96
118
|
- If you enter 2 port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any destination port.
|
|
97
|
-
:param pulumi.Input[builtins.int] match_dscp: The DSCP value of the traffic message. Valid values: `0` to **63 * *.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
119
|
+
:param pulumi.Input[builtins.int] match_dscp: The DSCP value of the traffic message. Valid values: `0` to **63 * *.
|
|
120
|
+
|
|
121
|
+
The flow classification rule matches the flow with the specified DSCP value. If the flow classification rule is not set, it means that the flow classification rule matches the flow with any DSCP value.
|
|
122
|
+
|
|
123
|
+
> **NOTE:** The current DSCP value refers to the DSCP value that the traffic message has carried before entering the cross-region connection.
|
|
124
|
+
:param pulumi.Input[builtins.str] protocol: The protocol type of the traffic message.
|
|
125
|
+
Stream classification rules can match traffic of multiple protocol types, such as `HTTP`, `HTTPS`, `TCP`, `UDP`, `SSH`, and **Telnet. For more protocol types, please log on to the [Cloud Enterprise Network Management Console](https://cen.console.aliyun.com/cen/list) to view.
|
|
126
|
+
:param pulumi.Input[builtins.str] src_cidr: The source network segment of the traffic message.
|
|
127
|
+
The flow classification rule matches the traffic of the source IP address in the source network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any source IP address.
|
|
128
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] src_port_ranges: The source port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
129
|
+
|
|
130
|
+
The flow classification rule matches the traffic of the source port number in the source port range. If it is not set, it means that the flow classification rule matches the traffic of any source port number.
|
|
131
|
+
|
|
132
|
+
The current parameter supports entering up to two port numbers. The input format is described as follows:
|
|
101
133
|
- If you only enter a port number, such as 1, the system defaults to match the traffic with source port 1.
|
|
102
134
|
- If you enter two port numbers, such as 1 and 200, the system defaults to match the traffic with the source port in the range of 1 to 200.
|
|
103
135
|
- If you enter two port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any source port.
|
|
104
|
-
:param pulumi.Input[builtins.str] traffic_match_rule_description: The description information of the stream classification rule.
|
|
105
|
-
|
|
136
|
+
:param pulumi.Input[builtins.str] traffic_match_rule_description: The description information of the stream classification rule.
|
|
137
|
+
The description must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
138
|
+
:param pulumi.Input[builtins.str] traffic_match_rule_name: The name of the stream classification rule.
|
|
139
|
+
The name must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
106
140
|
"""
|
|
107
141
|
if address_family is not None:
|
|
108
142
|
pulumi.set(__self__, "address_family", address_family)
|
|
@@ -127,7 +161,7 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
127
161
|
@pulumi.getter(name="addressFamily")
|
|
128
162
|
def address_family(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
129
163
|
"""
|
|
130
|
-
IP Address Family
|
|
164
|
+
IP Address Family
|
|
131
165
|
"""
|
|
132
166
|
return pulumi.get(self, "address_family")
|
|
133
167
|
|
|
@@ -139,7 +173,8 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
139
173
|
@pulumi.getter(name="dstCidr")
|
|
140
174
|
def dst_cidr(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
141
175
|
"""
|
|
142
|
-
The destination network segment of the traffic message.
|
|
176
|
+
The destination network segment of the traffic message.
|
|
177
|
+
The flow classification matches the traffic of the destination IP address in the destination network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination IP address.
|
|
143
178
|
"""
|
|
144
179
|
return pulumi.get(self, "dst_cidr")
|
|
145
180
|
|
|
@@ -151,7 +186,11 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
151
186
|
@pulumi.getter(name="dstPortRanges")
|
|
152
187
|
def dst_port_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
|
|
153
188
|
"""
|
|
154
|
-
The destination port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
189
|
+
The destination port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
190
|
+
|
|
191
|
+
The flow classification rule matches the traffic of the destination port number in the destination port range. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination port number.
|
|
192
|
+
|
|
193
|
+
The current parameter supports a maximum of 2 port numbers. The input format is described as follows:
|
|
155
194
|
- If you only enter a port number, such as 1, the system defaults to match the traffic with the destination port of 1.
|
|
156
195
|
- If you enter 2 port numbers, such as 1 and 200, the system defaults to match the traffic of the destination port in the range of 1 to 200.
|
|
157
196
|
- If you enter 2 port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any destination port.
|
|
@@ -166,7 +205,11 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
166
205
|
@pulumi.getter(name="matchDscp")
|
|
167
206
|
def match_dscp(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
168
207
|
"""
|
|
169
|
-
The DSCP value of the traffic message. Valid values: `0` to **63 * *.
|
|
208
|
+
The DSCP value of the traffic message. Valid values: `0` to **63 * *.
|
|
209
|
+
|
|
210
|
+
The flow classification rule matches the flow with the specified DSCP value. If the flow classification rule is not set, it means that the flow classification rule matches the flow with any DSCP value.
|
|
211
|
+
|
|
212
|
+
> **NOTE:** The current DSCP value refers to the DSCP value that the traffic message has carried before entering the cross-region connection.
|
|
170
213
|
"""
|
|
171
214
|
return pulumi.get(self, "match_dscp")
|
|
172
215
|
|
|
@@ -178,7 +221,8 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
178
221
|
@pulumi.getter
|
|
179
222
|
def protocol(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
180
223
|
"""
|
|
181
|
-
The protocol type of the traffic message.
|
|
224
|
+
The protocol type of the traffic message.
|
|
225
|
+
Stream classification rules can match traffic of multiple protocol types, such as `HTTP`, `HTTPS`, `TCP`, `UDP`, `SSH`, and **Telnet. For more protocol types, please log on to the [Cloud Enterprise Network Management Console](https://cen.console.aliyun.com/cen/list) to view.
|
|
182
226
|
"""
|
|
183
227
|
return pulumi.get(self, "protocol")
|
|
184
228
|
|
|
@@ -190,7 +234,8 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
190
234
|
@pulumi.getter(name="srcCidr")
|
|
191
235
|
def src_cidr(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
192
236
|
"""
|
|
193
|
-
The source network segment of the traffic message.
|
|
237
|
+
The source network segment of the traffic message.
|
|
238
|
+
The flow classification rule matches the traffic of the source IP address in the source network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any source IP address.
|
|
194
239
|
"""
|
|
195
240
|
return pulumi.get(self, "src_cidr")
|
|
196
241
|
|
|
@@ -202,7 +247,11 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
202
247
|
@pulumi.getter(name="srcPortRanges")
|
|
203
248
|
def src_port_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
|
|
204
249
|
"""
|
|
205
|
-
The source port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
250
|
+
The source port of the traffic message. Valid values: **-1**, `1` to `65535`.
|
|
251
|
+
|
|
252
|
+
The flow classification rule matches the traffic of the source port number in the source port range. If it is not set, it means that the flow classification rule matches the traffic of any source port number.
|
|
253
|
+
|
|
254
|
+
The current parameter supports entering up to two port numbers. The input format is described as follows:
|
|
206
255
|
- If you only enter a port number, such as 1, the system defaults to match the traffic with source port 1.
|
|
207
256
|
- If you enter two port numbers, such as 1 and 200, the system defaults to match the traffic with the source port in the range of 1 to 200.
|
|
208
257
|
- If you enter two port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any source port.
|
|
@@ -217,7 +266,8 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
217
266
|
@pulumi.getter(name="trafficMatchRuleDescription")
|
|
218
267
|
def traffic_match_rule_description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
219
268
|
"""
|
|
220
|
-
The description information of the stream classification rule.
|
|
269
|
+
The description information of the stream classification rule.
|
|
270
|
+
The description must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
221
271
|
"""
|
|
222
272
|
return pulumi.get(self, "traffic_match_rule_description")
|
|
223
273
|
|
|
@@ -229,7 +279,8 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
229
279
|
@pulumi.getter(name="trafficMatchRuleName")
|
|
230
280
|
def traffic_match_rule_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
231
281
|
"""
|
|
232
|
-
The name of the stream classification rule.
|
|
282
|
+
The name of the stream classification rule.
|
|
283
|
+
The name must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
233
284
|
"""
|
|
234
285
|
return pulumi.get(self, "traffic_match_rule_name")
|
|
235
286
|
|