pulumi-alicloud 3.76.0a1743571220__py3-none-any.whl → 3.77.0a1744262757__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 +271 -4
- pulumi_alicloud/_inputs.py +20 -0
- pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
- pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
- pulumi_alicloud/alb/server_group.py +2 -2
- pulumi_alicloud/alikafka/sasl_acl.py +7 -7
- pulumi_alicloud/apigateway/_inputs.py +134 -0
- pulumi_alicloud/apigateway/group.py +117 -5
- pulumi_alicloud/apigateway/instance.py +148 -7
- pulumi_alicloud/apigateway/outputs.py +107 -0
- pulumi_alicloud/arms/alert_contact.py +2 -2
- pulumi_alicloud/arms/alert_contact_group.py +2 -2
- pulumi_alicloud/arms/get_prometheus.py +2 -6
- pulumi_alicloud/arms/grafana_workspace.py +511 -69
- pulumi_alicloud/arms/outputs.py +18 -18
- pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
- pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
- pulumi_alicloud/cdn/domain_new.py +2 -2
- pulumi_alicloud/cen/_inputs.py +6 -3
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
- pulumi_alicloud/cen/instance.py +101 -59
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
- pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
- pulumi_alicloud/cen/outputs.py +69 -26
- pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
- pulumi_alicloud/cen/transit_router.py +127 -53
- pulumi_alicloud/cen/transit_router_cidr.py +53 -35
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
- pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
- pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
- pulumi_alicloud/clickhouse/db_cluster.py +179 -6
- pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
- pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
- pulumi_alicloud/config/outputs.py +12 -0
- pulumi_alicloud/cs/__init__.py +1 -0
- pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
- pulumi_alicloud/cs/managed_kubernetes.py +127 -24
- pulumi_alicloud/cs/node_pool.py +42 -42
- pulumi_alicloud/cs/outputs.py +1782 -4
- pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
- pulumi_alicloud/dataworks/data_source.py +2 -2
- pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
- pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
- pulumi_alicloud/dataworks/di_job.py +2 -2
- pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
- pulumi_alicloud/dataworks/network.py +2 -2
- pulumi_alicloud/dataworks/project.py +2 -2
- pulumi_alicloud/dataworks/project_member.py +2 -2
- pulumi_alicloud/dbs/backup_plan.py +2 -2
- pulumi_alicloud/ddos/bgp_policy.py +2 -2
- pulumi_alicloud/eais/__init__.py +2 -0
- pulumi_alicloud/eais/_inputs.py +75 -0
- pulumi_alicloud/eais/client_instance_attachment.py +408 -0
- pulumi_alicloud/eais/instance.py +365 -118
- pulumi_alicloud/eais/outputs.py +32 -0
- pulumi_alicloud/ebs/disk_replica_group.py +512 -30
- pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
- pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
- pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
- pulumi_alicloud/ecp/instance.py +2 -2
- pulumi_alicloud/ecp/key_pair.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +33 -0
- pulumi_alicloud/ecs/disk.py +1 -1
- pulumi_alicloud/ecs/ecs_disk.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
- pulumi_alicloud/ecs/instance.py +1 -1
- pulumi_alicloud/ecs/outputs.py +26 -2
- pulumi_alicloud/eflo/__init__.py +5 -0
- pulumi_alicloud/eflo/_inputs.py +1717 -0
- pulumi_alicloud/eflo/cluster.py +935 -0
- pulumi_alicloud/eflo/invocation.py +1114 -0
- pulumi_alicloud/eflo/node.py +1013 -0
- pulumi_alicloud/eflo/node_group.py +1101 -0
- pulumi_alicloud/eflo/outputs.py +1366 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
- pulumi_alicloud/ens/image.py +81 -34
- pulumi_alicloud/esa/__init__.py +4 -0
- pulumi_alicloud/esa/_inputs.py +640 -18
- pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
- pulumi_alicloud/esa/cache_rule.py +193 -179
- pulumi_alicloud/esa/certificate.py +99 -92
- pulumi_alicloud/esa/compression_rule.py +42 -28
- pulumi_alicloud/esa/edge_container_app.py +972 -0
- pulumi_alicloud/esa/edge_container_app_record.py +376 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
- pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
- pulumi_alicloud/esa/https_application_configuration.py +42 -28
- pulumi_alicloud/esa/https_basic_configuration.py +56 -42
- pulumi_alicloud/esa/image_transform.py +42 -28
- pulumi_alicloud/esa/kv_namespace.py +11 -11
- pulumi_alicloud/esa/list.py +28 -28
- pulumi_alicloud/esa/network_optimization.py +56 -126
- pulumi_alicloud/esa/origin_pool.py +19 -19
- pulumi_alicloud/esa/origin_rule.py +67 -39
- pulumi_alicloud/esa/outputs.py +536 -12
- pulumi_alicloud/esa/page.py +28 -49
- pulumi_alicloud/esa/rate_plan_instance.py +86 -159
- pulumi_alicloud/esa/redirect_rule.py +42 -28
- pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
- pulumi_alicloud/esa/site.py +67 -123
- pulumi_alicloud/esa/site_delivery_task.py +841 -0
- pulumi_alicloud/esa/waiting_room.py +269 -319
- pulumi_alicloud/esa/waiting_room_event.py +291 -305
- pulumi_alicloud/esa/waiting_room_rule.py +46 -53
- pulumi_alicloud/ess/_inputs.py +155 -0
- pulumi_alicloud/ess/outputs.py +128 -0
- pulumi_alicloud/ess/scaling_group.py +237 -2
- pulumi_alicloud/ess/scaling_rule.py +143 -2
- pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
- pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
- pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
- pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
- pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
- pulumi_alicloud/gpdb/streaming_job.py +2 -2
- pulumi_alicloud/ims/oidc_provider.py +24 -13
- pulumi_alicloud/kvstore/account.py +9 -9
- pulumi_alicloud/kvstore/connection.py +2 -2
- pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
- pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
- pulumi_alicloud/kvstore/instance.py +7 -7
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/live/caster.py +2 -2
- pulumi_alicloud/maxcompute/__init__.py +1 -0
- pulumi_alicloud/maxcompute/_inputs.py +232 -3
- pulumi_alicloud/maxcompute/outputs.py +183 -2
- pulumi_alicloud/maxcompute/project.py +2 -2
- pulumi_alicloud/maxcompute/quota.py +438 -0
- pulumi_alicloud/nas/mount_target.py +149 -54
- pulumi_alicloud/nlb/__init__.py +1 -0
- pulumi_alicloud/nlb/_inputs.py +43 -6
- pulumi_alicloud/nlb/load_balancer.py +212 -24
- pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
- pulumi_alicloud/nlb/outputs.py +30 -4
- pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
- pulumi_alicloud/oss/__init__.py +1 -0
- pulumi_alicloud/oss/_inputs.py +20 -0
- pulumi_alicloud/oss/access_point.py +2 -2
- pulumi_alicloud/oss/bucket_cname.py +2 -2
- pulumi_alicloud/oss/bucket_cors.py +2 -2
- pulumi_alicloud/oss/bucket_style.py +402 -0
- pulumi_alicloud/oss/bucket_website.py +2 -2
- pulumi_alicloud/oss/outputs.py +14 -0
- pulumi_alicloud/pai/service.py +59 -67
- pulumi_alicloud/polardb/cluster.py +75 -28
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/__init__.py +3 -0
- pulumi_alicloud/ram/_inputs.py +9 -9
- pulumi_alicloud/ram/access_key.py +77 -31
- pulumi_alicloud/ram/account_alias.py +18 -45
- pulumi_alicloud/ram/get_system_policys.py +189 -0
- pulumi_alicloud/ram/group.py +156 -35
- pulumi_alicloud/ram/group_policy_attachment.py +51 -29
- pulumi_alicloud/ram/login_profile.py +92 -38
- pulumi_alicloud/ram/outputs.py +91 -6
- pulumi_alicloud/ram/password_policy.py +779 -0
- pulumi_alicloud/ram/policy.py +199 -88
- pulumi_alicloud/ram/role_policy_attachment.py +51 -29
- pulumi_alicloud/ram/saml_provider.py +44 -37
- pulumi_alicloud/ram/user_group_attachment.py +273 -0
- pulumi_alicloud/ram/user_policy_attachment.py +49 -27
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/custom_disk.py +1053 -0
- pulumi_alicloud/rds/instance.py +110 -14
- pulumi_alicloud/redis/tair_instance.py +14 -14
- pulumi_alicloud/resourcemanager/__init__.py +1 -0
- pulumi_alicloud/resourcemanager/_inputs.py +53 -0
- pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
- pulumi_alicloud/resourcemanager/outputs.py +50 -0
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/rocketmq/__init__.py +1 -1
- pulumi_alicloud/rocketmq/_inputs.py +146 -4
- pulumi_alicloud/rocketmq/account.py +452 -0
- pulumi_alicloud/rocketmq/acl.py +473 -47
- pulumi_alicloud/rocketmq/client_user.py +8 -2
- pulumi_alicloud/rocketmq/consumer_group.py +121 -24
- pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
- pulumi_alicloud/rocketmq/outputs.py +113 -4
- pulumi_alicloud/rocketmq/qos.py +8 -2
- pulumi_alicloud/rocketmq/qos_car.py +10 -4
- pulumi_alicloud/rocketmq/qos_policy.py +6 -0
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
- pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
- pulumi_alicloud/rocketmq/snat_entry.py +8 -2
- pulumi_alicloud/sag/__init__.py +8 -0
- pulumi_alicloud/sag/acl.py +200 -0
- pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
- pulumi_alicloud/sag/client_user.py +560 -0
- pulumi_alicloud/sag/dnat_entry.py +512 -0
- pulumi_alicloud/sag/get_acls.py +2 -2
- pulumi_alicloud/sag/qos.py +202 -0
- pulumi_alicloud/sag/qos_car.py +654 -0
- pulumi_alicloud/sag/qos_policy.py +659 -0
- pulumi_alicloud/sag/snat_entry.py +313 -0
- pulumi_alicloud/securitycenter/group.py +2 -2
- pulumi_alicloud/selectdb/db_instance.py +60 -11
- pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
- pulumi_alicloud/sls/oss_export_sink.py +2 -2
- pulumi_alicloud/threatdetection/__init__.py +3 -0
- pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
- pulumi_alicloud/threatdetection/asset_bind.py +209 -0
- pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
- pulumi_alicloud/threatdetection/instance.py +271 -54
- pulumi_alicloud/threatdetection/log_meta.py +351 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/_inputs.py +281 -0
- pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
- pulumi_alicloud/vpc/ipv6_address.py +85 -5
- pulumi_alicloud/vpc/outputs.py +232 -0
- pulumi_alicloud/vpc/peer_connection.py +84 -42
- pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
- pulumi_alicloud/vpc/route_table.py +100 -45
- pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
- pulumi_alicloud/vpn/_inputs.py +716 -71
- pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
- pulumi_alicloud/vpn/ipsec_server.py +2 -2
- pulumi_alicloud/vpn/outputs.py +1963 -998
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/RECORD +237 -197
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,654 @@
|
|
|
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
|
+
|
|
17
|
+
__all__ = ['QosCarArgs', 'QosCar']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class QosCarArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
limit_type: pulumi.Input[str],
|
|
23
|
+
priority: pulumi.Input[int],
|
|
24
|
+
qos_id: pulumi.Input[str],
|
|
25
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
max_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
27
|
+
max_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
28
|
+
min_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
29
|
+
min_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
30
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
31
|
+
percent_source_type: Optional[pulumi.Input[str]] = None):
|
|
32
|
+
"""
|
|
33
|
+
The set of arguments for constructing a QosCar resource.
|
|
34
|
+
:param pulumi.Input[str] limit_type: The speed limiting method. Valid values: `Absolute`, `Percent`.
|
|
35
|
+
:param pulumi.Input[int] priority: The priority of the specified stream.
|
|
36
|
+
:param pulumi.Input[str] qos_id: The instance ID of the QoS.
|
|
37
|
+
:param pulumi.Input[str] description: The description of the QoS speed limiting rule.
|
|
38
|
+
:param pulumi.Input[int] max_bandwidth_abs: The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.
|
|
39
|
+
:param pulumi.Input[int] max_bandwidth_percent: The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
40
|
+
:param pulumi.Input[int] min_bandwidth_abs: The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.
|
|
41
|
+
:param pulumi.Input[int] min_bandwidth_percent: The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
42
|
+
:param pulumi.Input[str] name: The name of the QoS speed limiting rule..
|
|
43
|
+
:param pulumi.Input[str] percent_source_type: The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
|
|
44
|
+
"""
|
|
45
|
+
pulumi.set(__self__, "limit_type", limit_type)
|
|
46
|
+
pulumi.set(__self__, "priority", priority)
|
|
47
|
+
pulumi.set(__self__, "qos_id", qos_id)
|
|
48
|
+
if description is not None:
|
|
49
|
+
pulumi.set(__self__, "description", description)
|
|
50
|
+
if max_bandwidth_abs is not None:
|
|
51
|
+
pulumi.set(__self__, "max_bandwidth_abs", max_bandwidth_abs)
|
|
52
|
+
if max_bandwidth_percent is not None:
|
|
53
|
+
pulumi.set(__self__, "max_bandwidth_percent", max_bandwidth_percent)
|
|
54
|
+
if min_bandwidth_abs is not None:
|
|
55
|
+
pulumi.set(__self__, "min_bandwidth_abs", min_bandwidth_abs)
|
|
56
|
+
if min_bandwidth_percent is not None:
|
|
57
|
+
pulumi.set(__self__, "min_bandwidth_percent", min_bandwidth_percent)
|
|
58
|
+
if name is not None:
|
|
59
|
+
pulumi.set(__self__, "name", name)
|
|
60
|
+
if percent_source_type is not None:
|
|
61
|
+
pulumi.set(__self__, "percent_source_type", percent_source_type)
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
@pulumi.getter(name="limitType")
|
|
65
|
+
def limit_type(self) -> pulumi.Input[str]:
|
|
66
|
+
"""
|
|
67
|
+
The speed limiting method. Valid values: `Absolute`, `Percent`.
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "limit_type")
|
|
70
|
+
|
|
71
|
+
@limit_type.setter
|
|
72
|
+
def limit_type(self, value: pulumi.Input[str]):
|
|
73
|
+
pulumi.set(self, "limit_type", value)
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
@pulumi.getter
|
|
77
|
+
def priority(self) -> pulumi.Input[int]:
|
|
78
|
+
"""
|
|
79
|
+
The priority of the specified stream.
|
|
80
|
+
"""
|
|
81
|
+
return pulumi.get(self, "priority")
|
|
82
|
+
|
|
83
|
+
@priority.setter
|
|
84
|
+
def priority(self, value: pulumi.Input[int]):
|
|
85
|
+
pulumi.set(self, "priority", value)
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
@pulumi.getter(name="qosId")
|
|
89
|
+
def qos_id(self) -> pulumi.Input[str]:
|
|
90
|
+
"""
|
|
91
|
+
The instance ID of the QoS.
|
|
92
|
+
"""
|
|
93
|
+
return pulumi.get(self, "qos_id")
|
|
94
|
+
|
|
95
|
+
@qos_id.setter
|
|
96
|
+
def qos_id(self, value: pulumi.Input[str]):
|
|
97
|
+
pulumi.set(self, "qos_id", value)
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
@pulumi.getter
|
|
101
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
|
102
|
+
"""
|
|
103
|
+
The description of the QoS speed limiting rule.
|
|
104
|
+
"""
|
|
105
|
+
return pulumi.get(self, "description")
|
|
106
|
+
|
|
107
|
+
@description.setter
|
|
108
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
|
109
|
+
pulumi.set(self, "description", value)
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
@pulumi.getter(name="maxBandwidthAbs")
|
|
113
|
+
def max_bandwidth_abs(self) -> Optional[pulumi.Input[int]]:
|
|
114
|
+
"""
|
|
115
|
+
The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "max_bandwidth_abs")
|
|
118
|
+
|
|
119
|
+
@max_bandwidth_abs.setter
|
|
120
|
+
def max_bandwidth_abs(self, value: Optional[pulumi.Input[int]]):
|
|
121
|
+
pulumi.set(self, "max_bandwidth_abs", value)
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
@pulumi.getter(name="maxBandwidthPercent")
|
|
125
|
+
def max_bandwidth_percent(self) -> Optional[pulumi.Input[int]]:
|
|
126
|
+
"""
|
|
127
|
+
The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
128
|
+
"""
|
|
129
|
+
return pulumi.get(self, "max_bandwidth_percent")
|
|
130
|
+
|
|
131
|
+
@max_bandwidth_percent.setter
|
|
132
|
+
def max_bandwidth_percent(self, value: Optional[pulumi.Input[int]]):
|
|
133
|
+
pulumi.set(self, "max_bandwidth_percent", value)
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
@pulumi.getter(name="minBandwidthAbs")
|
|
137
|
+
def min_bandwidth_abs(self) -> Optional[pulumi.Input[int]]:
|
|
138
|
+
"""
|
|
139
|
+
The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.
|
|
140
|
+
"""
|
|
141
|
+
return pulumi.get(self, "min_bandwidth_abs")
|
|
142
|
+
|
|
143
|
+
@min_bandwidth_abs.setter
|
|
144
|
+
def min_bandwidth_abs(self, value: Optional[pulumi.Input[int]]):
|
|
145
|
+
pulumi.set(self, "min_bandwidth_abs", value)
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
@pulumi.getter(name="minBandwidthPercent")
|
|
149
|
+
def min_bandwidth_percent(self) -> Optional[pulumi.Input[int]]:
|
|
150
|
+
"""
|
|
151
|
+
The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
152
|
+
"""
|
|
153
|
+
return pulumi.get(self, "min_bandwidth_percent")
|
|
154
|
+
|
|
155
|
+
@min_bandwidth_percent.setter
|
|
156
|
+
def min_bandwidth_percent(self, value: Optional[pulumi.Input[int]]):
|
|
157
|
+
pulumi.set(self, "min_bandwidth_percent", value)
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
@pulumi.getter
|
|
161
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
162
|
+
"""
|
|
163
|
+
The name of the QoS speed limiting rule..
|
|
164
|
+
"""
|
|
165
|
+
return pulumi.get(self, "name")
|
|
166
|
+
|
|
167
|
+
@name.setter
|
|
168
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
169
|
+
pulumi.set(self, "name", value)
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
@pulumi.getter(name="percentSourceType")
|
|
173
|
+
def percent_source_type(self) -> Optional[pulumi.Input[str]]:
|
|
174
|
+
"""
|
|
175
|
+
The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
|
|
176
|
+
"""
|
|
177
|
+
return pulumi.get(self, "percent_source_type")
|
|
178
|
+
|
|
179
|
+
@percent_source_type.setter
|
|
180
|
+
def percent_source_type(self, value: Optional[pulumi.Input[str]]):
|
|
181
|
+
pulumi.set(self, "percent_source_type", value)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
@pulumi.input_type
|
|
185
|
+
class _QosCarState:
|
|
186
|
+
def __init__(__self__, *,
|
|
187
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
188
|
+
limit_type: Optional[pulumi.Input[str]] = None,
|
|
189
|
+
max_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
190
|
+
max_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
191
|
+
min_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
192
|
+
min_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
193
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
194
|
+
percent_source_type: Optional[pulumi.Input[str]] = None,
|
|
195
|
+
priority: Optional[pulumi.Input[int]] = None,
|
|
196
|
+
qos_id: Optional[pulumi.Input[str]] = None):
|
|
197
|
+
"""
|
|
198
|
+
Input properties used for looking up and filtering QosCar resources.
|
|
199
|
+
:param pulumi.Input[str] description: The description of the QoS speed limiting rule.
|
|
200
|
+
:param pulumi.Input[str] limit_type: The speed limiting method. Valid values: `Absolute`, `Percent`.
|
|
201
|
+
:param pulumi.Input[int] max_bandwidth_abs: The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.
|
|
202
|
+
:param pulumi.Input[int] max_bandwidth_percent: The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
203
|
+
:param pulumi.Input[int] min_bandwidth_abs: The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.
|
|
204
|
+
:param pulumi.Input[int] min_bandwidth_percent: The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
205
|
+
:param pulumi.Input[str] name: The name of the QoS speed limiting rule..
|
|
206
|
+
:param pulumi.Input[str] percent_source_type: The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
|
|
207
|
+
:param pulumi.Input[int] priority: The priority of the specified stream.
|
|
208
|
+
:param pulumi.Input[str] qos_id: The instance ID of the QoS.
|
|
209
|
+
"""
|
|
210
|
+
if description is not None:
|
|
211
|
+
pulumi.set(__self__, "description", description)
|
|
212
|
+
if limit_type is not None:
|
|
213
|
+
pulumi.set(__self__, "limit_type", limit_type)
|
|
214
|
+
if max_bandwidth_abs is not None:
|
|
215
|
+
pulumi.set(__self__, "max_bandwidth_abs", max_bandwidth_abs)
|
|
216
|
+
if max_bandwidth_percent is not None:
|
|
217
|
+
pulumi.set(__self__, "max_bandwidth_percent", max_bandwidth_percent)
|
|
218
|
+
if min_bandwidth_abs is not None:
|
|
219
|
+
pulumi.set(__self__, "min_bandwidth_abs", min_bandwidth_abs)
|
|
220
|
+
if min_bandwidth_percent is not None:
|
|
221
|
+
pulumi.set(__self__, "min_bandwidth_percent", min_bandwidth_percent)
|
|
222
|
+
if name is not None:
|
|
223
|
+
pulumi.set(__self__, "name", name)
|
|
224
|
+
if percent_source_type is not None:
|
|
225
|
+
pulumi.set(__self__, "percent_source_type", percent_source_type)
|
|
226
|
+
if priority is not None:
|
|
227
|
+
pulumi.set(__self__, "priority", priority)
|
|
228
|
+
if qos_id is not None:
|
|
229
|
+
pulumi.set(__self__, "qos_id", qos_id)
|
|
230
|
+
|
|
231
|
+
@property
|
|
232
|
+
@pulumi.getter
|
|
233
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
|
234
|
+
"""
|
|
235
|
+
The description of the QoS speed limiting rule.
|
|
236
|
+
"""
|
|
237
|
+
return pulumi.get(self, "description")
|
|
238
|
+
|
|
239
|
+
@description.setter
|
|
240
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
|
241
|
+
pulumi.set(self, "description", value)
|
|
242
|
+
|
|
243
|
+
@property
|
|
244
|
+
@pulumi.getter(name="limitType")
|
|
245
|
+
def limit_type(self) -> Optional[pulumi.Input[str]]:
|
|
246
|
+
"""
|
|
247
|
+
The speed limiting method. Valid values: `Absolute`, `Percent`.
|
|
248
|
+
"""
|
|
249
|
+
return pulumi.get(self, "limit_type")
|
|
250
|
+
|
|
251
|
+
@limit_type.setter
|
|
252
|
+
def limit_type(self, value: Optional[pulumi.Input[str]]):
|
|
253
|
+
pulumi.set(self, "limit_type", value)
|
|
254
|
+
|
|
255
|
+
@property
|
|
256
|
+
@pulumi.getter(name="maxBandwidthAbs")
|
|
257
|
+
def max_bandwidth_abs(self) -> Optional[pulumi.Input[int]]:
|
|
258
|
+
"""
|
|
259
|
+
The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.
|
|
260
|
+
"""
|
|
261
|
+
return pulumi.get(self, "max_bandwidth_abs")
|
|
262
|
+
|
|
263
|
+
@max_bandwidth_abs.setter
|
|
264
|
+
def max_bandwidth_abs(self, value: Optional[pulumi.Input[int]]):
|
|
265
|
+
pulumi.set(self, "max_bandwidth_abs", value)
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
@pulumi.getter(name="maxBandwidthPercent")
|
|
269
|
+
def max_bandwidth_percent(self) -> Optional[pulumi.Input[int]]:
|
|
270
|
+
"""
|
|
271
|
+
The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
272
|
+
"""
|
|
273
|
+
return pulumi.get(self, "max_bandwidth_percent")
|
|
274
|
+
|
|
275
|
+
@max_bandwidth_percent.setter
|
|
276
|
+
def max_bandwidth_percent(self, value: Optional[pulumi.Input[int]]):
|
|
277
|
+
pulumi.set(self, "max_bandwidth_percent", value)
|
|
278
|
+
|
|
279
|
+
@property
|
|
280
|
+
@pulumi.getter(name="minBandwidthAbs")
|
|
281
|
+
def min_bandwidth_abs(self) -> Optional[pulumi.Input[int]]:
|
|
282
|
+
"""
|
|
283
|
+
The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "min_bandwidth_abs")
|
|
286
|
+
|
|
287
|
+
@min_bandwidth_abs.setter
|
|
288
|
+
def min_bandwidth_abs(self, value: Optional[pulumi.Input[int]]):
|
|
289
|
+
pulumi.set(self, "min_bandwidth_abs", value)
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
@pulumi.getter(name="minBandwidthPercent")
|
|
293
|
+
def min_bandwidth_percent(self) -> Optional[pulumi.Input[int]]:
|
|
294
|
+
"""
|
|
295
|
+
The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
296
|
+
"""
|
|
297
|
+
return pulumi.get(self, "min_bandwidth_percent")
|
|
298
|
+
|
|
299
|
+
@min_bandwidth_percent.setter
|
|
300
|
+
def min_bandwidth_percent(self, value: Optional[pulumi.Input[int]]):
|
|
301
|
+
pulumi.set(self, "min_bandwidth_percent", value)
|
|
302
|
+
|
|
303
|
+
@property
|
|
304
|
+
@pulumi.getter
|
|
305
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
306
|
+
"""
|
|
307
|
+
The name of the QoS speed limiting rule..
|
|
308
|
+
"""
|
|
309
|
+
return pulumi.get(self, "name")
|
|
310
|
+
|
|
311
|
+
@name.setter
|
|
312
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
313
|
+
pulumi.set(self, "name", value)
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
@pulumi.getter(name="percentSourceType")
|
|
317
|
+
def percent_source_type(self) -> Optional[pulumi.Input[str]]:
|
|
318
|
+
"""
|
|
319
|
+
The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
|
|
320
|
+
"""
|
|
321
|
+
return pulumi.get(self, "percent_source_type")
|
|
322
|
+
|
|
323
|
+
@percent_source_type.setter
|
|
324
|
+
def percent_source_type(self, value: Optional[pulumi.Input[str]]):
|
|
325
|
+
pulumi.set(self, "percent_source_type", value)
|
|
326
|
+
|
|
327
|
+
@property
|
|
328
|
+
@pulumi.getter
|
|
329
|
+
def priority(self) -> Optional[pulumi.Input[int]]:
|
|
330
|
+
"""
|
|
331
|
+
The priority of the specified stream.
|
|
332
|
+
"""
|
|
333
|
+
return pulumi.get(self, "priority")
|
|
334
|
+
|
|
335
|
+
@priority.setter
|
|
336
|
+
def priority(self, value: Optional[pulumi.Input[int]]):
|
|
337
|
+
pulumi.set(self, "priority", value)
|
|
338
|
+
|
|
339
|
+
@property
|
|
340
|
+
@pulumi.getter(name="qosId")
|
|
341
|
+
def qos_id(self) -> Optional[pulumi.Input[str]]:
|
|
342
|
+
"""
|
|
343
|
+
The instance ID of the QoS.
|
|
344
|
+
"""
|
|
345
|
+
return pulumi.get(self, "qos_id")
|
|
346
|
+
|
|
347
|
+
@qos_id.setter
|
|
348
|
+
def qos_id(self, value: Optional[pulumi.Input[str]]):
|
|
349
|
+
pulumi.set(self, "qos_id", value)
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
class QosCar(pulumi.CustomResource):
|
|
353
|
+
@overload
|
|
354
|
+
def __init__(__self__,
|
|
355
|
+
resource_name: str,
|
|
356
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
357
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
358
|
+
limit_type: Optional[pulumi.Input[str]] = None,
|
|
359
|
+
max_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
360
|
+
max_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
361
|
+
min_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
362
|
+
min_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
363
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
364
|
+
percent_source_type: Optional[pulumi.Input[str]] = None,
|
|
365
|
+
priority: Optional[pulumi.Input[int]] = None,
|
|
366
|
+
qos_id: Optional[pulumi.Input[str]] = None,
|
|
367
|
+
__props__=None):
|
|
368
|
+
"""
|
|
369
|
+
Provides a Sag Qos Car resource.
|
|
370
|
+
|
|
371
|
+
For information about Sag Qos Car and how to use it, see [What is Qos Car](https://www.alibabacloud.com/help/en/smart-access-gateway/latest/createqoscar).
|
|
372
|
+
|
|
373
|
+
> **NOTE:** Available since v1.60.0.
|
|
374
|
+
|
|
375
|
+
> **NOTE:** Only the following regions support. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
|
|
376
|
+
|
|
377
|
+
## Example Usage
|
|
378
|
+
|
|
379
|
+
Basic Usage
|
|
380
|
+
|
|
381
|
+
```python
|
|
382
|
+
import pulumi
|
|
383
|
+
import pulumi_alicloud as alicloud
|
|
384
|
+
|
|
385
|
+
config = pulumi.Config()
|
|
386
|
+
name = config.get("name")
|
|
387
|
+
if name is None:
|
|
388
|
+
name = "tf_example"
|
|
389
|
+
default = alicloud.sag.Qos("default", name=name)
|
|
390
|
+
default_qos_car = alicloud.sag.QosCar("default",
|
|
391
|
+
qos_id=default.id,
|
|
392
|
+
name=name,
|
|
393
|
+
description=name,
|
|
394
|
+
priority=1,
|
|
395
|
+
limit_type="Absolute",
|
|
396
|
+
min_bandwidth_abs=10,
|
|
397
|
+
max_bandwidth_abs=20,
|
|
398
|
+
percent_source_type="InternetUpBandwidth")
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
## Import
|
|
402
|
+
|
|
403
|
+
The Sag Qos Car can be imported using the id, e.g.
|
|
404
|
+
|
|
405
|
+
```sh
|
|
406
|
+
$ pulumi import alicloud:sag/qosCar:QosCar example <qos_id>:<qos_car_id>
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
:param str resource_name: The name of the resource.
|
|
410
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
411
|
+
:param pulumi.Input[str] description: The description of the QoS speed limiting rule.
|
|
412
|
+
:param pulumi.Input[str] limit_type: The speed limiting method. Valid values: `Absolute`, `Percent`.
|
|
413
|
+
:param pulumi.Input[int] max_bandwidth_abs: The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.
|
|
414
|
+
:param pulumi.Input[int] max_bandwidth_percent: The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
415
|
+
:param pulumi.Input[int] min_bandwidth_abs: The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.
|
|
416
|
+
:param pulumi.Input[int] min_bandwidth_percent: The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
417
|
+
:param pulumi.Input[str] name: The name of the QoS speed limiting rule..
|
|
418
|
+
:param pulumi.Input[str] percent_source_type: The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
|
|
419
|
+
:param pulumi.Input[int] priority: The priority of the specified stream.
|
|
420
|
+
:param pulumi.Input[str] qos_id: The instance ID of the QoS.
|
|
421
|
+
"""
|
|
422
|
+
...
|
|
423
|
+
@overload
|
|
424
|
+
def __init__(__self__,
|
|
425
|
+
resource_name: str,
|
|
426
|
+
args: QosCarArgs,
|
|
427
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
428
|
+
"""
|
|
429
|
+
Provides a Sag Qos Car resource.
|
|
430
|
+
|
|
431
|
+
For information about Sag Qos Car and how to use it, see [What is Qos Car](https://www.alibabacloud.com/help/en/smart-access-gateway/latest/createqoscar).
|
|
432
|
+
|
|
433
|
+
> **NOTE:** Available since v1.60.0.
|
|
434
|
+
|
|
435
|
+
> **NOTE:** Only the following regions support. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
|
|
436
|
+
|
|
437
|
+
## Example Usage
|
|
438
|
+
|
|
439
|
+
Basic Usage
|
|
440
|
+
|
|
441
|
+
```python
|
|
442
|
+
import pulumi
|
|
443
|
+
import pulumi_alicloud as alicloud
|
|
444
|
+
|
|
445
|
+
config = pulumi.Config()
|
|
446
|
+
name = config.get("name")
|
|
447
|
+
if name is None:
|
|
448
|
+
name = "tf_example"
|
|
449
|
+
default = alicloud.sag.Qos("default", name=name)
|
|
450
|
+
default_qos_car = alicloud.sag.QosCar("default",
|
|
451
|
+
qos_id=default.id,
|
|
452
|
+
name=name,
|
|
453
|
+
description=name,
|
|
454
|
+
priority=1,
|
|
455
|
+
limit_type="Absolute",
|
|
456
|
+
min_bandwidth_abs=10,
|
|
457
|
+
max_bandwidth_abs=20,
|
|
458
|
+
percent_source_type="InternetUpBandwidth")
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
## Import
|
|
462
|
+
|
|
463
|
+
The Sag Qos Car can be imported using the id, e.g.
|
|
464
|
+
|
|
465
|
+
```sh
|
|
466
|
+
$ pulumi import alicloud:sag/qosCar:QosCar example <qos_id>:<qos_car_id>
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
:param str resource_name: The name of the resource.
|
|
470
|
+
:param QosCarArgs args: The arguments to use to populate this resource's properties.
|
|
471
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
472
|
+
"""
|
|
473
|
+
...
|
|
474
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
475
|
+
resource_args, opts = _utilities.get_resource_args_opts(QosCarArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
476
|
+
if resource_args is not None:
|
|
477
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
478
|
+
else:
|
|
479
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
480
|
+
|
|
481
|
+
def _internal_init(__self__,
|
|
482
|
+
resource_name: str,
|
|
483
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
484
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
485
|
+
limit_type: Optional[pulumi.Input[str]] = None,
|
|
486
|
+
max_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
487
|
+
max_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
488
|
+
min_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
489
|
+
min_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
490
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
491
|
+
percent_source_type: Optional[pulumi.Input[str]] = None,
|
|
492
|
+
priority: Optional[pulumi.Input[int]] = None,
|
|
493
|
+
qos_id: Optional[pulumi.Input[str]] = None,
|
|
494
|
+
__props__=None):
|
|
495
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
496
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
497
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
498
|
+
if opts.id is None:
|
|
499
|
+
if __props__ is not None:
|
|
500
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
501
|
+
__props__ = QosCarArgs.__new__(QosCarArgs)
|
|
502
|
+
|
|
503
|
+
__props__.__dict__["description"] = description
|
|
504
|
+
if limit_type is None and not opts.urn:
|
|
505
|
+
raise TypeError("Missing required property 'limit_type'")
|
|
506
|
+
__props__.__dict__["limit_type"] = limit_type
|
|
507
|
+
__props__.__dict__["max_bandwidth_abs"] = max_bandwidth_abs
|
|
508
|
+
__props__.__dict__["max_bandwidth_percent"] = max_bandwidth_percent
|
|
509
|
+
__props__.__dict__["min_bandwidth_abs"] = min_bandwidth_abs
|
|
510
|
+
__props__.__dict__["min_bandwidth_percent"] = min_bandwidth_percent
|
|
511
|
+
__props__.__dict__["name"] = name
|
|
512
|
+
__props__.__dict__["percent_source_type"] = percent_source_type
|
|
513
|
+
if priority is None and not opts.urn:
|
|
514
|
+
raise TypeError("Missing required property 'priority'")
|
|
515
|
+
__props__.__dict__["priority"] = priority
|
|
516
|
+
if qos_id is None and not opts.urn:
|
|
517
|
+
raise TypeError("Missing required property 'qos_id'")
|
|
518
|
+
__props__.__dict__["qos_id"] = qos_id
|
|
519
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="alicloud:rocketmq/qosCar:QosCar")])
|
|
520
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
521
|
+
super(QosCar, __self__).__init__(
|
|
522
|
+
'alicloud:sag/qosCar:QosCar',
|
|
523
|
+
resource_name,
|
|
524
|
+
__props__,
|
|
525
|
+
opts)
|
|
526
|
+
|
|
527
|
+
@staticmethod
|
|
528
|
+
def get(resource_name: str,
|
|
529
|
+
id: pulumi.Input[str],
|
|
530
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
531
|
+
description: Optional[pulumi.Input[str]] = None,
|
|
532
|
+
limit_type: Optional[pulumi.Input[str]] = None,
|
|
533
|
+
max_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
534
|
+
max_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
535
|
+
min_bandwidth_abs: Optional[pulumi.Input[int]] = None,
|
|
536
|
+
min_bandwidth_percent: Optional[pulumi.Input[int]] = None,
|
|
537
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
538
|
+
percent_source_type: Optional[pulumi.Input[str]] = None,
|
|
539
|
+
priority: Optional[pulumi.Input[int]] = None,
|
|
540
|
+
qos_id: Optional[pulumi.Input[str]] = None) -> 'QosCar':
|
|
541
|
+
"""
|
|
542
|
+
Get an existing QosCar resource's state with the given name, id, and optional extra
|
|
543
|
+
properties used to qualify the lookup.
|
|
544
|
+
|
|
545
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
546
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
547
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
548
|
+
:param pulumi.Input[str] description: The description of the QoS speed limiting rule.
|
|
549
|
+
:param pulumi.Input[str] limit_type: The speed limiting method. Valid values: `Absolute`, `Percent`.
|
|
550
|
+
:param pulumi.Input[int] max_bandwidth_abs: The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.
|
|
551
|
+
:param pulumi.Input[int] max_bandwidth_percent: The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
552
|
+
:param pulumi.Input[int] min_bandwidth_abs: The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.
|
|
553
|
+
:param pulumi.Input[int] min_bandwidth_percent: The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
554
|
+
:param pulumi.Input[str] name: The name of the QoS speed limiting rule..
|
|
555
|
+
:param pulumi.Input[str] percent_source_type: The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
|
|
556
|
+
:param pulumi.Input[int] priority: The priority of the specified stream.
|
|
557
|
+
:param pulumi.Input[str] qos_id: The instance ID of the QoS.
|
|
558
|
+
"""
|
|
559
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
560
|
+
|
|
561
|
+
__props__ = _QosCarState.__new__(_QosCarState)
|
|
562
|
+
|
|
563
|
+
__props__.__dict__["description"] = description
|
|
564
|
+
__props__.__dict__["limit_type"] = limit_type
|
|
565
|
+
__props__.__dict__["max_bandwidth_abs"] = max_bandwidth_abs
|
|
566
|
+
__props__.__dict__["max_bandwidth_percent"] = max_bandwidth_percent
|
|
567
|
+
__props__.__dict__["min_bandwidth_abs"] = min_bandwidth_abs
|
|
568
|
+
__props__.__dict__["min_bandwidth_percent"] = min_bandwidth_percent
|
|
569
|
+
__props__.__dict__["name"] = name
|
|
570
|
+
__props__.__dict__["percent_source_type"] = percent_source_type
|
|
571
|
+
__props__.__dict__["priority"] = priority
|
|
572
|
+
__props__.__dict__["qos_id"] = qos_id
|
|
573
|
+
return QosCar(resource_name, opts=opts, __props__=__props__)
|
|
574
|
+
|
|
575
|
+
@property
|
|
576
|
+
@pulumi.getter
|
|
577
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
|
578
|
+
"""
|
|
579
|
+
The description of the QoS speed limiting rule.
|
|
580
|
+
"""
|
|
581
|
+
return pulumi.get(self, "description")
|
|
582
|
+
|
|
583
|
+
@property
|
|
584
|
+
@pulumi.getter(name="limitType")
|
|
585
|
+
def limit_type(self) -> pulumi.Output[str]:
|
|
586
|
+
"""
|
|
587
|
+
The speed limiting method. Valid values: `Absolute`, `Percent`.
|
|
588
|
+
"""
|
|
589
|
+
return pulumi.get(self, "limit_type")
|
|
590
|
+
|
|
591
|
+
@property
|
|
592
|
+
@pulumi.getter(name="maxBandwidthAbs")
|
|
593
|
+
def max_bandwidth_abs(self) -> pulumi.Output[Optional[int]]:
|
|
594
|
+
"""
|
|
595
|
+
The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.
|
|
596
|
+
"""
|
|
597
|
+
return pulumi.get(self, "max_bandwidth_abs")
|
|
598
|
+
|
|
599
|
+
@property
|
|
600
|
+
@pulumi.getter(name="maxBandwidthPercent")
|
|
601
|
+
def max_bandwidth_percent(self) -> pulumi.Output[Optional[int]]:
|
|
602
|
+
"""
|
|
603
|
+
The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
604
|
+
"""
|
|
605
|
+
return pulumi.get(self, "max_bandwidth_percent")
|
|
606
|
+
|
|
607
|
+
@property
|
|
608
|
+
@pulumi.getter(name="minBandwidthAbs")
|
|
609
|
+
def min_bandwidth_abs(self) -> pulumi.Output[Optional[int]]:
|
|
610
|
+
"""
|
|
611
|
+
The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.
|
|
612
|
+
"""
|
|
613
|
+
return pulumi.get(self, "min_bandwidth_abs")
|
|
614
|
+
|
|
615
|
+
@property
|
|
616
|
+
@pulumi.getter(name="minBandwidthPercent")
|
|
617
|
+
def min_bandwidth_percent(self) -> pulumi.Output[Optional[int]]:
|
|
618
|
+
"""
|
|
619
|
+
The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.
|
|
620
|
+
"""
|
|
621
|
+
return pulumi.get(self, "min_bandwidth_percent")
|
|
622
|
+
|
|
623
|
+
@property
|
|
624
|
+
@pulumi.getter
|
|
625
|
+
def name(self) -> pulumi.Output[str]:
|
|
626
|
+
"""
|
|
627
|
+
The name of the QoS speed limiting rule..
|
|
628
|
+
"""
|
|
629
|
+
return pulumi.get(self, "name")
|
|
630
|
+
|
|
631
|
+
@property
|
|
632
|
+
@pulumi.getter(name="percentSourceType")
|
|
633
|
+
def percent_source_type(self) -> pulumi.Output[Optional[str]]:
|
|
634
|
+
"""
|
|
635
|
+
The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
|
|
636
|
+
"""
|
|
637
|
+
return pulumi.get(self, "percent_source_type")
|
|
638
|
+
|
|
639
|
+
@property
|
|
640
|
+
@pulumi.getter
|
|
641
|
+
def priority(self) -> pulumi.Output[int]:
|
|
642
|
+
"""
|
|
643
|
+
The priority of the specified stream.
|
|
644
|
+
"""
|
|
645
|
+
return pulumi.get(self, "priority")
|
|
646
|
+
|
|
647
|
+
@property
|
|
648
|
+
@pulumi.getter(name="qosId")
|
|
649
|
+
def qos_id(self) -> pulumi.Output[str]:
|
|
650
|
+
"""
|
|
651
|
+
The instance ID of the QoS.
|
|
652
|
+
"""
|
|
653
|
+
return pulumi.get(self, "qos_id")
|
|
654
|
+
|