pulumi-alicloud 3.86.0a1758340042__py3-none-any.whl → 3.89.0a1763702747__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.
- pulumi_alicloud/__init__.py +83 -0
- pulumi_alicloud/actiontrail/get_trails_deprecated.py +20 -0
- pulumi_alicloud/adb/resource_group.py +463 -3
- pulumi_alicloud/alikafka/topic.py +278 -85
- pulumi_alicloud/apig/_inputs.py +80 -6
- pulumi_alicloud/apig/gateway.py +111 -3
- pulumi_alicloud/apig/outputs.py +67 -4
- pulumi_alicloud/cas/certificate.py +248 -35
- pulumi_alicloud/cas/service_certificate.py +454 -168
- pulumi_alicloud/cen/get_transit_router_peer_attachments.py +20 -0
- pulumi_alicloud/cen/get_transit_router_vbr_attachments.py +20 -0
- pulumi_alicloud/cfg/_inputs.py +27 -24
- pulumi_alicloud/cfg/aggregator.py +142 -53
- pulumi_alicloud/cfg/outputs.py +18 -15
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +132 -0
- pulumi_alicloud/cloudfirewall/get_tls_inspect_ca_certificates.py +214 -0
- pulumi_alicloud/cloudfirewall/outputs.py +30 -0
- pulumi_alicloud/cloudsso/__init__.py +1 -0
- pulumi_alicloud/cloudsso/get_user_provisioning_events.py +226 -0
- pulumi_alicloud/cloudsso/outputs.py +228 -0
- pulumi_alicloud/cloudsso/user.py +247 -80
- pulumi_alicloud/cms/_inputs.py +870 -10
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/cms/outputs.py +606 -6
- pulumi_alicloud/cms/site_monitor.py +360 -89
- pulumi_alicloud/cr/registry_enterprise_instance.py +63 -0
- pulumi_alicloud/cs/managed_kubernetes.py +6 -2
- pulumi_alicloud/ddos/domain_resource.py +89 -0
- pulumi_alicloud/dms/get_enterprise_logic_databases.py +8 -0
- pulumi_alicloud/dts/instance.py +14 -14
- pulumi_alicloud/eais/get_instances.py +8 -0
- pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +32 -0
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/elasticity_assurance.py +279 -20
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/security_group_rule.py +7 -7
- pulumi_alicloud/edas/get_deploy_groups.py +4 -0
- pulumi_alicloud/eflo/node.py +153 -15
- pulumi_alicloud/emrv2/get_clusters.py +260 -0
- pulumi_alicloud/ens/load_balancer.py +8 -4
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/_inputs.py +3774 -991
- pulumi_alicloud/esa/cache_rule.py +47 -0
- pulumi_alicloud/esa/certificate.py +21 -54
- pulumi_alicloud/esa/compression_rule.py +47 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +89 -28
- pulumi_alicloud/esa/https_application_configuration.py +188 -0
- pulumi_alicloud/esa/https_basic_configuration.py +54 -7
- pulumi_alicloud/esa/image_transform.py +47 -0
- pulumi_alicloud/esa/load_balancer.py +999 -0
- pulumi_alicloud/esa/network_optimization.py +82 -21
- pulumi_alicloud/esa/origin_rule.py +470 -14
- pulumi_alicloud/esa/outputs.py +2080 -0
- pulumi_alicloud/esa/rate_plan_instance.py +64 -39
- pulumi_alicloud/esa/redirect_rule.py +68 -21
- pulumi_alicloud/esa/rewrite_url_rule.py +82 -56
- pulumi_alicloud/esa/waf_rule.py +510 -0
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/_inputs.py +256 -0
- pulumi_alicloud/ess/alb_server_group_attachment.py +2 -2
- pulumi_alicloud/ess/attachment.py +10 -6
- pulumi_alicloud/ess/instance_refresh.py +760 -0
- pulumi_alicloud/ess/outputs.py +203 -0
- pulumi_alicloud/ess/scaling_configuration.py +2 -2
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/ess/server_group_attachment.py +2 -2
- pulumi_alicloud/ess/suspend_process.py +2 -2
- pulumi_alicloud/eventbridge/event_source.py +57 -57
- pulumi_alicloud/expressconnect/get_virtual_physical_connections.py +4 -0
- pulumi_alicloud/expressconnect/traffic_qos.py +137 -31
- pulumi_alicloud/expressconnect/traffic_qos_queue.py +91 -66
- pulumi_alicloud/expressconnect/traffic_qos_rule.py +307 -261
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +105 -59
- pulumi_alicloud/ga/_inputs.py +56 -16
- pulumi_alicloud/ga/outputs.py +39 -11
- pulumi_alicloud/gpdb/get_zones.py +24 -0
- pulumi_alicloud/hbase/get_instance_types.py +32 -0
- pulumi_alicloud/hbr/policy_binding.py +7 -0
- pulumi_alicloud/kvstore/account.py +18 -18
- pulumi_alicloud/lindorm/instance_v2.py +358 -70
- pulumi_alicloud/log/_inputs.py +29 -9
- pulumi_alicloud/log/etl.py +56 -9
- pulumi_alicloud/log/get_projects.py +24 -0
- pulumi_alicloud/log/outputs.py +18 -6
- pulumi_alicloud/marketplace/get_products.py +26 -0
- pulumi_alicloud/mongodb/get_sharding_network_private_addresses.py +28 -0
- pulumi_alicloud/nas/get_access_rules.py +26 -0
- pulumi_alicloud/oss/_inputs.py +53 -0
- pulumi_alicloud/oss/bucket_logging.py +80 -29
- pulumi_alicloud/oss/bucket_replication.py +55 -8
- pulumi_alicloud/oss/outputs.py +31 -0
- pulumi_alicloud/ots/get_search_indexes.py +26 -0
- pulumi_alicloud/ots/get_secondary_indexes.py +26 -0
- pulumi_alicloud/polardb/__init__.py +3 -0
- pulumi_alicloud/polardb/cluster.py +14 -14
- pulumi_alicloud/polardb/zonal_account.py +449 -0
- pulumi_alicloud/polardb/zonal_db_cluster.py +1255 -0
- pulumi_alicloud/polardb/zonal_endpoint.py +865 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_service.py +12 -8
- pulumi_alicloud/ram/get_policies.py +95 -81
- pulumi_alicloud/ram/get_roles.py +108 -31
- pulumi_alicloud/ram/outputs.py +64 -42
- pulumi_alicloud/ram/policy.py +2 -2
- pulumi_alicloud/resourcemanager/__init__.py +2 -0
- pulumi_alicloud/resourcemanager/_inputs.py +799 -0
- pulumi_alicloud/resourcemanager/control_policy.py +169 -31
- pulumi_alicloud/resourcemanager/delivery_channel.py +449 -0
- pulumi_alicloud/resourcemanager/get_policies.py +4 -0
- pulumi_alicloud/resourcemanager/multi_account_delivery_channel.py +470 -0
- pulumi_alicloud/resourcemanager/outputs.py +694 -0
- pulumi_alicloud/resourcemanager/resource_share.py +341 -11
- pulumi_alicloud/sae/_inputs.py +60 -0
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/sae/get_ingresses.py +122 -0
- pulumi_alicloud/sae/outputs.py +42 -0
- pulumi_alicloud/scdn/domain_config.py +56 -0
- pulumi_alicloud/servicemesh/extension_provider.py +138 -0
- pulumi_alicloud/servicemesh/user_permission.py +90 -0
- pulumi_alicloud/simpleapplicationserver/get_images.py +24 -0
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_indexs.py +304 -0
- pulumi_alicloud/sls/outputs.py +148 -0
- pulumi_alicloud/star_rocks_instance.py +8 -2
- pulumi_alicloud/starrocks/__init__.py +12 -0
- pulumi_alicloud/starrocks/_inputs.py +656 -0
- pulumi_alicloud/starrocks/instance.py +1427 -0
- pulumi_alicloud/starrocks/node_group.py +1298 -0
- pulumi_alicloud/starrocks/outputs.py +508 -0
- pulumi_alicloud/vpc/_inputs.py +84 -0
- pulumi_alicloud/vpc/bgp_group.py +250 -53
- pulumi_alicloud/vpc/bgp_network.py +83 -36
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +30 -14
- pulumi_alicloud/vpc/gateway_endpoint.py +8 -8
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +3 -3
- pulumi_alicloud/vpc/network_acl_entries.py +16 -20
- pulumi_alicloud/vpc/outputs.py +48 -0
- pulumi_alicloud/vpc/vbr_ha.py +127 -46
- pulumi_alicloud/wafv3/_inputs.py +396 -0
- pulumi_alicloud/wafv3/defense_rule.py +40 -110
- pulumi_alicloud/wafv3/outputs.py +303 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/RECORD +146 -130
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/top_level.txt +0 -0
pulumi_alicloud/vpc/bgp_group.py
CHANGED
|
@@ -23,18 +23,28 @@ class BgpGroupArgs:
|
|
|
23
23
|
router_id: pulumi.Input[_builtins.str],
|
|
24
24
|
auth_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
25
|
bgp_group_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
clear_auth_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
27
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
ip_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
29
|
is_fake_asn: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
|
-
local_asn: Optional[pulumi.Input[_builtins.int]] = None
|
|
30
|
+
local_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
31
|
+
route_limit: Optional[pulumi.Input[_builtins.int]] = None):
|
|
29
32
|
"""
|
|
30
33
|
The set of arguments for constructing a BgpGroup resource.
|
|
31
|
-
:param pulumi.Input[_builtins.int] peer_asn: The
|
|
32
|
-
:param pulumi.Input[_builtins.str] router_id: The ID of the VBR.
|
|
34
|
+
:param pulumi.Input[_builtins.int] peer_asn: The ASN of the gateway device in the data center.
|
|
35
|
+
:param pulumi.Input[_builtins.str] router_id: The ID of the virtual border router (VBR) that is associated with the BGP group.
|
|
33
36
|
:param pulumi.Input[_builtins.str] auth_key: The authentication key of the BGP group.
|
|
34
|
-
:param pulumi.Input[_builtins.str] bgp_group_name: The name of the BGP group. The name must be
|
|
35
|
-
:param pulumi.Input[_builtins.
|
|
36
|
-
:param pulumi.Input[_builtins.
|
|
37
|
-
:param pulumi.Input[_builtins.
|
|
37
|
+
:param pulumi.Input[_builtins.str] bgp_group_name: The name of the BGP group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
38
|
+
:param pulumi.Input[_builtins.bool] clear_auth_key: Specifies whether to clear the secret key. Valid values: `true`, `false`.
|
|
39
|
+
:param pulumi.Input[_builtins.str] description: The description of the BGP group. The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
|
|
40
|
+
:param pulumi.Input[_builtins.str] ip_version: The IP version. Valid values:
|
|
41
|
+
- `IPv4`: This is the default value.
|
|
42
|
+
- `IPv6`: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.
|
|
43
|
+
:param pulumi.Input[_builtins.bool] is_fake_asn: Specifies whether to use a fake AS number. Valid values: `true`, `false`.
|
|
44
|
+
|
|
45
|
+
> **NOTE:** Note A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
|
|
46
|
+
:param pulumi.Input[_builtins.int] local_asn: The custom ASN on the Alibaba Cloud side. Valid values:
|
|
47
|
+
:param pulumi.Input[_builtins.int] route_limit: The maximum number of routes supported by a BGP peer. Default value: 110.
|
|
38
48
|
"""
|
|
39
49
|
pulumi.set(__self__, "peer_asn", peer_asn)
|
|
40
50
|
pulumi.set(__self__, "router_id", router_id)
|
|
@@ -42,18 +52,24 @@ class BgpGroupArgs:
|
|
|
42
52
|
pulumi.set(__self__, "auth_key", auth_key)
|
|
43
53
|
if bgp_group_name is not None:
|
|
44
54
|
pulumi.set(__self__, "bgp_group_name", bgp_group_name)
|
|
55
|
+
if clear_auth_key is not None:
|
|
56
|
+
pulumi.set(__self__, "clear_auth_key", clear_auth_key)
|
|
45
57
|
if description is not None:
|
|
46
58
|
pulumi.set(__self__, "description", description)
|
|
59
|
+
if ip_version is not None:
|
|
60
|
+
pulumi.set(__self__, "ip_version", ip_version)
|
|
47
61
|
if is_fake_asn is not None:
|
|
48
62
|
pulumi.set(__self__, "is_fake_asn", is_fake_asn)
|
|
49
63
|
if local_asn is not None:
|
|
50
64
|
pulumi.set(__self__, "local_asn", local_asn)
|
|
65
|
+
if route_limit is not None:
|
|
66
|
+
pulumi.set(__self__, "route_limit", route_limit)
|
|
51
67
|
|
|
52
68
|
@_builtins.property
|
|
53
69
|
@pulumi.getter(name="peerAsn")
|
|
54
70
|
def peer_asn(self) -> pulumi.Input[_builtins.int]:
|
|
55
71
|
"""
|
|
56
|
-
The
|
|
72
|
+
The ASN of the gateway device in the data center.
|
|
57
73
|
"""
|
|
58
74
|
return pulumi.get(self, "peer_asn")
|
|
59
75
|
|
|
@@ -65,7 +81,7 @@ class BgpGroupArgs:
|
|
|
65
81
|
@pulumi.getter(name="routerId")
|
|
66
82
|
def router_id(self) -> pulumi.Input[_builtins.str]:
|
|
67
83
|
"""
|
|
68
|
-
The ID of the VBR.
|
|
84
|
+
The ID of the virtual border router (VBR) that is associated with the BGP group.
|
|
69
85
|
"""
|
|
70
86
|
return pulumi.get(self, "router_id")
|
|
71
87
|
|
|
@@ -89,7 +105,7 @@ class BgpGroupArgs:
|
|
|
89
105
|
@pulumi.getter(name="bgpGroupName")
|
|
90
106
|
def bgp_group_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
91
107
|
"""
|
|
92
|
-
The name of the BGP group. The name must be
|
|
108
|
+
The name of the BGP group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
93
109
|
"""
|
|
94
110
|
return pulumi.get(self, "bgp_group_name")
|
|
95
111
|
|
|
@@ -97,11 +113,23 @@ class BgpGroupArgs:
|
|
|
97
113
|
def bgp_group_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
98
114
|
pulumi.set(self, "bgp_group_name", value)
|
|
99
115
|
|
|
116
|
+
@_builtins.property
|
|
117
|
+
@pulumi.getter(name="clearAuthKey")
|
|
118
|
+
def clear_auth_key(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
119
|
+
"""
|
|
120
|
+
Specifies whether to clear the secret key. Valid values: `true`, `false`.
|
|
121
|
+
"""
|
|
122
|
+
return pulumi.get(self, "clear_auth_key")
|
|
123
|
+
|
|
124
|
+
@clear_auth_key.setter
|
|
125
|
+
def clear_auth_key(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
126
|
+
pulumi.set(self, "clear_auth_key", value)
|
|
127
|
+
|
|
100
128
|
@_builtins.property
|
|
101
129
|
@pulumi.getter
|
|
102
130
|
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
103
131
|
"""
|
|
104
|
-
The description of the BGP group. The description must be
|
|
132
|
+
The description of the BGP group. The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
|
|
105
133
|
"""
|
|
106
134
|
return pulumi.get(self, "description")
|
|
107
135
|
|
|
@@ -109,11 +137,27 @@ class BgpGroupArgs:
|
|
|
109
137
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
110
138
|
pulumi.set(self, "description", value)
|
|
111
139
|
|
|
140
|
+
@_builtins.property
|
|
141
|
+
@pulumi.getter(name="ipVersion")
|
|
142
|
+
def ip_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
143
|
+
"""
|
|
144
|
+
The IP version. Valid values:
|
|
145
|
+
- `IPv4`: This is the default value.
|
|
146
|
+
- `IPv6`: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "ip_version")
|
|
149
|
+
|
|
150
|
+
@ip_version.setter
|
|
151
|
+
def ip_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
152
|
+
pulumi.set(self, "ip_version", value)
|
|
153
|
+
|
|
112
154
|
@_builtins.property
|
|
113
155
|
@pulumi.getter(name="isFakeAsn")
|
|
114
156
|
def is_fake_asn(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
115
157
|
"""
|
|
116
|
-
|
|
158
|
+
Specifies whether to use a fake AS number. Valid values: `true`, `false`.
|
|
159
|
+
|
|
160
|
+
> **NOTE:** Note A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
|
|
117
161
|
"""
|
|
118
162
|
return pulumi.get(self, "is_fake_asn")
|
|
119
163
|
|
|
@@ -125,7 +169,7 @@ class BgpGroupArgs:
|
|
|
125
169
|
@pulumi.getter(name="localAsn")
|
|
126
170
|
def local_asn(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
127
171
|
"""
|
|
128
|
-
The
|
|
172
|
+
The custom ASN on the Alibaba Cloud side. Valid values:
|
|
129
173
|
"""
|
|
130
174
|
return pulumi.get(self, "local_asn")
|
|
131
175
|
|
|
@@ -133,41 +177,73 @@ class BgpGroupArgs:
|
|
|
133
177
|
def local_asn(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
134
178
|
pulumi.set(self, "local_asn", value)
|
|
135
179
|
|
|
180
|
+
@_builtins.property
|
|
181
|
+
@pulumi.getter(name="routeLimit")
|
|
182
|
+
def route_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
183
|
+
"""
|
|
184
|
+
The maximum number of routes supported by a BGP peer. Default value: 110.
|
|
185
|
+
"""
|
|
186
|
+
return pulumi.get(self, "route_limit")
|
|
187
|
+
|
|
188
|
+
@route_limit.setter
|
|
189
|
+
def route_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
190
|
+
pulumi.set(self, "route_limit", value)
|
|
191
|
+
|
|
136
192
|
|
|
137
193
|
@pulumi.input_type
|
|
138
194
|
class _BgpGroupState:
|
|
139
195
|
def __init__(__self__, *,
|
|
140
196
|
auth_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
197
|
bgp_group_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
198
|
+
clear_auth_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
142
199
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
200
|
+
ip_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
143
201
|
is_fake_asn: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
144
202
|
local_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
145
203
|
peer_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
204
|
+
region_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
205
|
+
route_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
146
206
|
router_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
147
207
|
status: Optional[pulumi.Input[_builtins.str]] = None):
|
|
148
208
|
"""
|
|
149
209
|
Input properties used for looking up and filtering BgpGroup resources.
|
|
150
210
|
:param pulumi.Input[_builtins.str] auth_key: The authentication key of the BGP group.
|
|
151
|
-
:param pulumi.Input[_builtins.str] bgp_group_name: The name of the BGP group. The name must be
|
|
152
|
-
:param pulumi.Input[_builtins.
|
|
153
|
-
:param pulumi.Input[_builtins.
|
|
154
|
-
:param pulumi.Input[_builtins.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
:param pulumi.Input[_builtins.
|
|
211
|
+
:param pulumi.Input[_builtins.str] bgp_group_name: The name of the BGP group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
212
|
+
:param pulumi.Input[_builtins.bool] clear_auth_key: Specifies whether to clear the secret key. Valid values: `true`, `false`.
|
|
213
|
+
:param pulumi.Input[_builtins.str] description: The description of the BGP group. The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
|
|
214
|
+
:param pulumi.Input[_builtins.str] ip_version: The IP version. Valid values:
|
|
215
|
+
- `IPv4`: This is the default value.
|
|
216
|
+
- `IPv6`: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.
|
|
217
|
+
:param pulumi.Input[_builtins.bool] is_fake_asn: Specifies whether to use a fake AS number. Valid values: `true`, `false`.
|
|
218
|
+
|
|
219
|
+
> **NOTE:** Note A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
|
|
220
|
+
:param pulumi.Input[_builtins.int] local_asn: The custom ASN on the Alibaba Cloud side. Valid values:
|
|
221
|
+
:param pulumi.Input[_builtins.int] peer_asn: The ASN of the gateway device in the data center.
|
|
222
|
+
:param pulumi.Input[_builtins.str] region_id: The Region ID of the BGP group.
|
|
223
|
+
:param pulumi.Input[_builtins.int] route_limit: The maximum number of routes supported by a BGP peer. Default value: 110.
|
|
224
|
+
:param pulumi.Input[_builtins.str] router_id: The ID of the virtual border router (VBR) that is associated with the BGP group.
|
|
225
|
+
:param pulumi.Input[_builtins.str] status: The status of the resource
|
|
158
226
|
"""
|
|
159
227
|
if auth_key is not None:
|
|
160
228
|
pulumi.set(__self__, "auth_key", auth_key)
|
|
161
229
|
if bgp_group_name is not None:
|
|
162
230
|
pulumi.set(__self__, "bgp_group_name", bgp_group_name)
|
|
231
|
+
if clear_auth_key is not None:
|
|
232
|
+
pulumi.set(__self__, "clear_auth_key", clear_auth_key)
|
|
163
233
|
if description is not None:
|
|
164
234
|
pulumi.set(__self__, "description", description)
|
|
235
|
+
if ip_version is not None:
|
|
236
|
+
pulumi.set(__self__, "ip_version", ip_version)
|
|
165
237
|
if is_fake_asn is not None:
|
|
166
238
|
pulumi.set(__self__, "is_fake_asn", is_fake_asn)
|
|
167
239
|
if local_asn is not None:
|
|
168
240
|
pulumi.set(__self__, "local_asn", local_asn)
|
|
169
241
|
if peer_asn is not None:
|
|
170
242
|
pulumi.set(__self__, "peer_asn", peer_asn)
|
|
243
|
+
if region_id is not None:
|
|
244
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
245
|
+
if route_limit is not None:
|
|
246
|
+
pulumi.set(__self__, "route_limit", route_limit)
|
|
171
247
|
if router_id is not None:
|
|
172
248
|
pulumi.set(__self__, "router_id", router_id)
|
|
173
249
|
if status is not None:
|
|
@@ -189,7 +265,7 @@ class _BgpGroupState:
|
|
|
189
265
|
@pulumi.getter(name="bgpGroupName")
|
|
190
266
|
def bgp_group_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
191
267
|
"""
|
|
192
|
-
The name of the BGP group. The name must be
|
|
268
|
+
The name of the BGP group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
193
269
|
"""
|
|
194
270
|
return pulumi.get(self, "bgp_group_name")
|
|
195
271
|
|
|
@@ -197,11 +273,23 @@ class _BgpGroupState:
|
|
|
197
273
|
def bgp_group_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
198
274
|
pulumi.set(self, "bgp_group_name", value)
|
|
199
275
|
|
|
276
|
+
@_builtins.property
|
|
277
|
+
@pulumi.getter(name="clearAuthKey")
|
|
278
|
+
def clear_auth_key(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
279
|
+
"""
|
|
280
|
+
Specifies whether to clear the secret key. Valid values: `true`, `false`.
|
|
281
|
+
"""
|
|
282
|
+
return pulumi.get(self, "clear_auth_key")
|
|
283
|
+
|
|
284
|
+
@clear_auth_key.setter
|
|
285
|
+
def clear_auth_key(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
286
|
+
pulumi.set(self, "clear_auth_key", value)
|
|
287
|
+
|
|
200
288
|
@_builtins.property
|
|
201
289
|
@pulumi.getter
|
|
202
290
|
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
203
291
|
"""
|
|
204
|
-
The description of the BGP group. The description must be
|
|
292
|
+
The description of the BGP group. The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
|
|
205
293
|
"""
|
|
206
294
|
return pulumi.get(self, "description")
|
|
207
295
|
|
|
@@ -209,11 +297,27 @@ class _BgpGroupState:
|
|
|
209
297
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
210
298
|
pulumi.set(self, "description", value)
|
|
211
299
|
|
|
300
|
+
@_builtins.property
|
|
301
|
+
@pulumi.getter(name="ipVersion")
|
|
302
|
+
def ip_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
303
|
+
"""
|
|
304
|
+
The IP version. Valid values:
|
|
305
|
+
- `IPv4`: This is the default value.
|
|
306
|
+
- `IPv6`: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "ip_version")
|
|
309
|
+
|
|
310
|
+
@ip_version.setter
|
|
311
|
+
def ip_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
312
|
+
pulumi.set(self, "ip_version", value)
|
|
313
|
+
|
|
212
314
|
@_builtins.property
|
|
213
315
|
@pulumi.getter(name="isFakeAsn")
|
|
214
316
|
def is_fake_asn(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
215
317
|
"""
|
|
216
|
-
|
|
318
|
+
Specifies whether to use a fake AS number. Valid values: `true`, `false`.
|
|
319
|
+
|
|
320
|
+
> **NOTE:** Note A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
|
|
217
321
|
"""
|
|
218
322
|
return pulumi.get(self, "is_fake_asn")
|
|
219
323
|
|
|
@@ -225,7 +329,7 @@ class _BgpGroupState:
|
|
|
225
329
|
@pulumi.getter(name="localAsn")
|
|
226
330
|
def local_asn(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
227
331
|
"""
|
|
228
|
-
The
|
|
332
|
+
The custom ASN on the Alibaba Cloud side. Valid values:
|
|
229
333
|
"""
|
|
230
334
|
return pulumi.get(self, "local_asn")
|
|
231
335
|
|
|
@@ -237,7 +341,7 @@ class _BgpGroupState:
|
|
|
237
341
|
@pulumi.getter(name="peerAsn")
|
|
238
342
|
def peer_asn(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
239
343
|
"""
|
|
240
|
-
The
|
|
344
|
+
The ASN of the gateway device in the data center.
|
|
241
345
|
"""
|
|
242
346
|
return pulumi.get(self, "peer_asn")
|
|
243
347
|
|
|
@@ -245,11 +349,35 @@ class _BgpGroupState:
|
|
|
245
349
|
def peer_asn(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
246
350
|
pulumi.set(self, "peer_asn", value)
|
|
247
351
|
|
|
352
|
+
@_builtins.property
|
|
353
|
+
@pulumi.getter(name="regionId")
|
|
354
|
+
def region_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
355
|
+
"""
|
|
356
|
+
The Region ID of the BGP group.
|
|
357
|
+
"""
|
|
358
|
+
return pulumi.get(self, "region_id")
|
|
359
|
+
|
|
360
|
+
@region_id.setter
|
|
361
|
+
def region_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
362
|
+
pulumi.set(self, "region_id", value)
|
|
363
|
+
|
|
364
|
+
@_builtins.property
|
|
365
|
+
@pulumi.getter(name="routeLimit")
|
|
366
|
+
def route_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
367
|
+
"""
|
|
368
|
+
The maximum number of routes supported by a BGP peer. Default value: 110.
|
|
369
|
+
"""
|
|
370
|
+
return pulumi.get(self, "route_limit")
|
|
371
|
+
|
|
372
|
+
@route_limit.setter
|
|
373
|
+
def route_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
374
|
+
pulumi.set(self, "route_limit", value)
|
|
375
|
+
|
|
248
376
|
@_builtins.property
|
|
249
377
|
@pulumi.getter(name="routerId")
|
|
250
378
|
def router_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
251
379
|
"""
|
|
252
|
-
The ID of the VBR.
|
|
380
|
+
The ID of the virtual border router (VBR) that is associated with the BGP group.
|
|
253
381
|
"""
|
|
254
382
|
return pulumi.get(self, "router_id")
|
|
255
383
|
|
|
@@ -261,7 +389,7 @@ class _BgpGroupState:
|
|
|
261
389
|
@pulumi.getter
|
|
262
390
|
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
263
391
|
"""
|
|
264
|
-
The status of the resource
|
|
392
|
+
The status of the resource
|
|
265
393
|
"""
|
|
266
394
|
return pulumi.get(self, "status")
|
|
267
395
|
|
|
@@ -278,16 +406,19 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
278
406
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
279
407
|
auth_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
280
408
|
bgp_group_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
409
|
+
clear_auth_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
281
410
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
411
|
+
ip_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
412
|
is_fake_asn: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
283
413
|
local_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
284
414
|
peer_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
415
|
+
route_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
285
416
|
router_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
286
417
|
__props__=None):
|
|
287
418
|
"""
|
|
288
|
-
Provides a
|
|
419
|
+
Provides a Express Connect Bgp Group resource.
|
|
289
420
|
|
|
290
|
-
For information about
|
|
421
|
+
For information about Express Connect Bgp Group and how to use it, see [What is Bgp Group](https://www.alibabacloud.com/help/en/doc-detail/91267.html).
|
|
291
422
|
|
|
292
423
|
> **NOTE:** Available since v1.152.0.
|
|
293
424
|
|
|
@@ -329,7 +460,7 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
329
460
|
|
|
330
461
|
## Import
|
|
331
462
|
|
|
332
|
-
|
|
463
|
+
Express Connect Bgp Group can be imported using the id, e.g.
|
|
333
464
|
|
|
334
465
|
```sh
|
|
335
466
|
$ pulumi import alicloud:vpc/bgpGroup:BgpGroup example <id>
|
|
@@ -338,12 +469,19 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
338
469
|
:param str resource_name: The name of the resource.
|
|
339
470
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
340
471
|
:param pulumi.Input[_builtins.str] auth_key: The authentication key of the BGP group.
|
|
341
|
-
:param pulumi.Input[_builtins.str] bgp_group_name: The name of the BGP group. The name must be
|
|
342
|
-
:param pulumi.Input[_builtins.
|
|
343
|
-
:param pulumi.Input[_builtins.
|
|
344
|
-
:param pulumi.Input[_builtins.
|
|
345
|
-
|
|
346
|
-
|
|
472
|
+
:param pulumi.Input[_builtins.str] bgp_group_name: The name of the BGP group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
473
|
+
:param pulumi.Input[_builtins.bool] clear_auth_key: Specifies whether to clear the secret key. Valid values: `true`, `false`.
|
|
474
|
+
:param pulumi.Input[_builtins.str] description: The description of the BGP group. The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
|
|
475
|
+
:param pulumi.Input[_builtins.str] ip_version: The IP version. Valid values:
|
|
476
|
+
- `IPv4`: This is the default value.
|
|
477
|
+
- `IPv6`: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.
|
|
478
|
+
:param pulumi.Input[_builtins.bool] is_fake_asn: Specifies whether to use a fake AS number. Valid values: `true`, `false`.
|
|
479
|
+
|
|
480
|
+
> **NOTE:** Note A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
|
|
481
|
+
:param pulumi.Input[_builtins.int] local_asn: The custom ASN on the Alibaba Cloud side. Valid values:
|
|
482
|
+
:param pulumi.Input[_builtins.int] peer_asn: The ASN of the gateway device in the data center.
|
|
483
|
+
:param pulumi.Input[_builtins.int] route_limit: The maximum number of routes supported by a BGP peer. Default value: 110.
|
|
484
|
+
:param pulumi.Input[_builtins.str] router_id: The ID of the virtual border router (VBR) that is associated with the BGP group.
|
|
347
485
|
"""
|
|
348
486
|
...
|
|
349
487
|
@overload
|
|
@@ -352,9 +490,9 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
352
490
|
args: BgpGroupArgs,
|
|
353
491
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
354
492
|
"""
|
|
355
|
-
Provides a
|
|
493
|
+
Provides a Express Connect Bgp Group resource.
|
|
356
494
|
|
|
357
|
-
For information about
|
|
495
|
+
For information about Express Connect Bgp Group and how to use it, see [What is Bgp Group](https://www.alibabacloud.com/help/en/doc-detail/91267.html).
|
|
358
496
|
|
|
359
497
|
> **NOTE:** Available since v1.152.0.
|
|
360
498
|
|
|
@@ -396,7 +534,7 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
396
534
|
|
|
397
535
|
## Import
|
|
398
536
|
|
|
399
|
-
|
|
537
|
+
Express Connect Bgp Group can be imported using the id, e.g.
|
|
400
538
|
|
|
401
539
|
```sh
|
|
402
540
|
$ pulumi import alicloud:vpc/bgpGroup:BgpGroup example <id>
|
|
@@ -419,10 +557,13 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
419
557
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
420
558
|
auth_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
421
559
|
bgp_group_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
560
|
+
clear_auth_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
422
561
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
562
|
+
ip_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
423
563
|
is_fake_asn: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
424
564
|
local_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
425
565
|
peer_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
566
|
+
route_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
426
567
|
router_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
427
568
|
__props__=None):
|
|
428
569
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -435,15 +576,19 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
435
576
|
|
|
436
577
|
__props__.__dict__["auth_key"] = auth_key
|
|
437
578
|
__props__.__dict__["bgp_group_name"] = bgp_group_name
|
|
579
|
+
__props__.__dict__["clear_auth_key"] = clear_auth_key
|
|
438
580
|
__props__.__dict__["description"] = description
|
|
581
|
+
__props__.__dict__["ip_version"] = ip_version
|
|
439
582
|
__props__.__dict__["is_fake_asn"] = is_fake_asn
|
|
440
583
|
__props__.__dict__["local_asn"] = local_asn
|
|
441
584
|
if peer_asn is None and not opts.urn:
|
|
442
585
|
raise TypeError("Missing required property 'peer_asn'")
|
|
443
586
|
__props__.__dict__["peer_asn"] = peer_asn
|
|
587
|
+
__props__.__dict__["route_limit"] = route_limit
|
|
444
588
|
if router_id is None and not opts.urn:
|
|
445
589
|
raise TypeError("Missing required property 'router_id'")
|
|
446
590
|
__props__.__dict__["router_id"] = router_id
|
|
591
|
+
__props__.__dict__["region_id"] = None
|
|
447
592
|
__props__.__dict__["status"] = None
|
|
448
593
|
super(BgpGroup, __self__).__init__(
|
|
449
594
|
'alicloud:vpc/bgpGroup:BgpGroup',
|
|
@@ -457,10 +602,14 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
457
602
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
458
603
|
auth_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
459
604
|
bgp_group_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
605
|
+
clear_auth_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
460
606
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
607
|
+
ip_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
461
608
|
is_fake_asn: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
462
609
|
local_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
463
610
|
peer_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
611
|
+
region_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
612
|
+
route_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
464
613
|
router_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
465
614
|
status: Optional[pulumi.Input[_builtins.str]] = None) -> 'BgpGroup':
|
|
466
615
|
"""
|
|
@@ -471,13 +620,21 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
471
620
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
472
621
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
473
622
|
:param pulumi.Input[_builtins.str] auth_key: The authentication key of the BGP group.
|
|
474
|
-
:param pulumi.Input[_builtins.str] bgp_group_name: The name of the BGP group. The name must be
|
|
475
|
-
:param pulumi.Input[_builtins.
|
|
476
|
-
:param pulumi.Input[_builtins.
|
|
477
|
-
:param pulumi.Input[_builtins.
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
:param pulumi.Input[_builtins.
|
|
623
|
+
:param pulumi.Input[_builtins.str] bgp_group_name: The name of the BGP group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
624
|
+
:param pulumi.Input[_builtins.bool] clear_auth_key: Specifies whether to clear the secret key. Valid values: `true`, `false`.
|
|
625
|
+
:param pulumi.Input[_builtins.str] description: The description of the BGP group. The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
|
|
626
|
+
:param pulumi.Input[_builtins.str] ip_version: The IP version. Valid values:
|
|
627
|
+
- `IPv4`: This is the default value.
|
|
628
|
+
- `IPv6`: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.
|
|
629
|
+
:param pulumi.Input[_builtins.bool] is_fake_asn: Specifies whether to use a fake AS number. Valid values: `true`, `false`.
|
|
630
|
+
|
|
631
|
+
> **NOTE:** Note A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
|
|
632
|
+
:param pulumi.Input[_builtins.int] local_asn: The custom ASN on the Alibaba Cloud side. Valid values:
|
|
633
|
+
:param pulumi.Input[_builtins.int] peer_asn: The ASN of the gateway device in the data center.
|
|
634
|
+
:param pulumi.Input[_builtins.str] region_id: The Region ID of the BGP group.
|
|
635
|
+
:param pulumi.Input[_builtins.int] route_limit: The maximum number of routes supported by a BGP peer. Default value: 110.
|
|
636
|
+
:param pulumi.Input[_builtins.str] router_id: The ID of the virtual border router (VBR) that is associated with the BGP group.
|
|
637
|
+
:param pulumi.Input[_builtins.str] status: The status of the resource
|
|
481
638
|
"""
|
|
482
639
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
483
640
|
|
|
@@ -485,10 +642,14 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
485
642
|
|
|
486
643
|
__props__.__dict__["auth_key"] = auth_key
|
|
487
644
|
__props__.__dict__["bgp_group_name"] = bgp_group_name
|
|
645
|
+
__props__.__dict__["clear_auth_key"] = clear_auth_key
|
|
488
646
|
__props__.__dict__["description"] = description
|
|
647
|
+
__props__.__dict__["ip_version"] = ip_version
|
|
489
648
|
__props__.__dict__["is_fake_asn"] = is_fake_asn
|
|
490
649
|
__props__.__dict__["local_asn"] = local_asn
|
|
491
650
|
__props__.__dict__["peer_asn"] = peer_asn
|
|
651
|
+
__props__.__dict__["region_id"] = region_id
|
|
652
|
+
__props__.__dict__["route_limit"] = route_limit
|
|
492
653
|
__props__.__dict__["router_id"] = router_id
|
|
493
654
|
__props__.__dict__["status"] = status
|
|
494
655
|
return BgpGroup(resource_name, opts=opts, __props__=__props__)
|
|
@@ -505,23 +666,43 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
505
666
|
@pulumi.getter(name="bgpGroupName")
|
|
506
667
|
def bgp_group_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
507
668
|
"""
|
|
508
|
-
The name of the BGP group. The name must be
|
|
669
|
+
The name of the BGP group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
509
670
|
"""
|
|
510
671
|
return pulumi.get(self, "bgp_group_name")
|
|
511
672
|
|
|
673
|
+
@_builtins.property
|
|
674
|
+
@pulumi.getter(name="clearAuthKey")
|
|
675
|
+
def clear_auth_key(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
676
|
+
"""
|
|
677
|
+
Specifies whether to clear the secret key. Valid values: `true`, `false`.
|
|
678
|
+
"""
|
|
679
|
+
return pulumi.get(self, "clear_auth_key")
|
|
680
|
+
|
|
512
681
|
@_builtins.property
|
|
513
682
|
@pulumi.getter
|
|
514
683
|
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
515
684
|
"""
|
|
516
|
-
The description of the BGP group. The description must be
|
|
685
|
+
The description of the BGP group. The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
|
|
517
686
|
"""
|
|
518
687
|
return pulumi.get(self, "description")
|
|
519
688
|
|
|
689
|
+
@_builtins.property
|
|
690
|
+
@pulumi.getter(name="ipVersion")
|
|
691
|
+
def ip_version(self) -> pulumi.Output[_builtins.str]:
|
|
692
|
+
"""
|
|
693
|
+
The IP version. Valid values:
|
|
694
|
+
- `IPv4`: This is the default value.
|
|
695
|
+
- `IPv6`: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.
|
|
696
|
+
"""
|
|
697
|
+
return pulumi.get(self, "ip_version")
|
|
698
|
+
|
|
520
699
|
@_builtins.property
|
|
521
700
|
@pulumi.getter(name="isFakeAsn")
|
|
522
701
|
def is_fake_asn(self) -> pulumi.Output[_builtins.bool]:
|
|
523
702
|
"""
|
|
524
|
-
|
|
703
|
+
Specifies whether to use a fake AS number. Valid values: `true`, `false`.
|
|
704
|
+
|
|
705
|
+
> **NOTE:** Note A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
|
|
525
706
|
"""
|
|
526
707
|
return pulumi.get(self, "is_fake_asn")
|
|
527
708
|
|
|
@@ -529,7 +710,7 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
529
710
|
@pulumi.getter(name="localAsn")
|
|
530
711
|
def local_asn(self) -> pulumi.Output[_builtins.int]:
|
|
531
712
|
"""
|
|
532
|
-
The
|
|
713
|
+
The custom ASN on the Alibaba Cloud side. Valid values:
|
|
533
714
|
"""
|
|
534
715
|
return pulumi.get(self, "local_asn")
|
|
535
716
|
|
|
@@ -537,15 +718,31 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
537
718
|
@pulumi.getter(name="peerAsn")
|
|
538
719
|
def peer_asn(self) -> pulumi.Output[_builtins.int]:
|
|
539
720
|
"""
|
|
540
|
-
The
|
|
721
|
+
The ASN of the gateway device in the data center.
|
|
541
722
|
"""
|
|
542
723
|
return pulumi.get(self, "peer_asn")
|
|
543
724
|
|
|
725
|
+
@_builtins.property
|
|
726
|
+
@pulumi.getter(name="regionId")
|
|
727
|
+
def region_id(self) -> pulumi.Output[_builtins.str]:
|
|
728
|
+
"""
|
|
729
|
+
The Region ID of the BGP group.
|
|
730
|
+
"""
|
|
731
|
+
return pulumi.get(self, "region_id")
|
|
732
|
+
|
|
733
|
+
@_builtins.property
|
|
734
|
+
@pulumi.getter(name="routeLimit")
|
|
735
|
+
def route_limit(self) -> pulumi.Output[_builtins.int]:
|
|
736
|
+
"""
|
|
737
|
+
The maximum number of routes supported by a BGP peer. Default value: 110.
|
|
738
|
+
"""
|
|
739
|
+
return pulumi.get(self, "route_limit")
|
|
740
|
+
|
|
544
741
|
@_builtins.property
|
|
545
742
|
@pulumi.getter(name="routerId")
|
|
546
743
|
def router_id(self) -> pulumi.Output[_builtins.str]:
|
|
547
744
|
"""
|
|
548
|
-
The ID of the VBR.
|
|
745
|
+
The ID of the virtual border router (VBR) that is associated with the BGP group.
|
|
549
746
|
"""
|
|
550
747
|
return pulumi.get(self, "router_id")
|
|
551
748
|
|
|
@@ -553,7 +750,7 @@ class BgpGroup(pulumi.CustomResource):
|
|
|
553
750
|
@pulumi.getter
|
|
554
751
|
def status(self) -> pulumi.Output[_builtins.str]:
|
|
555
752
|
"""
|
|
556
|
-
The status of the resource
|
|
753
|
+
The status of the resource
|
|
557
754
|
"""
|
|
558
755
|
return pulumi.get(self, "status")
|
|
559
756
|
|