pulumi-alicloud 3.76.0a1743571220__py3-none-any.whl → 3.76.0a1744139894__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.76.0a1744139894.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/RECORD +237 -197
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/top_level.txt +0 -0
|
@@ -19,44 +19,58 @@ __all__ = ['TransitRouterPeerAttachmentArgs', 'TransitRouterPeerAttachment']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class TransitRouterPeerAttachmentArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
cen_id: pulumi.Input[str],
|
|
23
22
|
peer_transit_router_id: pulumi.Input[str],
|
|
24
|
-
peer_transit_router_region_id: pulumi.Input[str],
|
|
25
23
|
auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
|
|
26
24
|
bandwidth: Optional[pulumi.Input[int]] = None,
|
|
27
25
|
bandwidth_type: Optional[pulumi.Input[str]] = None,
|
|
28
26
|
cen_bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
cen_id: Optional[pulumi.Input[str]] = None,
|
|
29
28
|
default_link_type: Optional[pulumi.Input[str]] = None,
|
|
30
29
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
30
|
+
peer_transit_router_region_id: Optional[pulumi.Input[str]] = None,
|
|
31
31
|
resource_type: Optional[pulumi.Input[str]] = None,
|
|
32
32
|
route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
|
|
33
33
|
route_table_propagation_enabled: Optional[pulumi.Input[bool]] = None,
|
|
34
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
34
35
|
transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
|
|
35
36
|
transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
transit_router_id: Optional[pulumi.Input[str]] = None
|
|
37
|
+
transit_router_id: Optional[pulumi.Input[str]] = None,
|
|
38
|
+
transit_router_peer_attachment_name: Optional[pulumi.Input[str]] = None):
|
|
37
39
|
"""
|
|
38
40
|
The set of arguments for constructing a TransitRouterPeerAttachment resource.
|
|
39
|
-
:param pulumi.Input[str] cen_id: The ID of the CEN.
|
|
40
41
|
:param pulumi.Input[str] peer_transit_router_id: The ID of the peer transit router.
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
:param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the local Enterprise Edition transit router to automatically advertise the routes of the inter-region connection to the peer transit router. Valid values:
|
|
43
|
+
:param pulumi.Input[int] bandwidth: The bandwidth value of the inter-region connection. Unit: Mbit/s.
|
|
44
|
+
|
|
45
|
+
- This parameter specifies the maximum bandwidth value for the inter-region connection if you set `BandwidthType` to `BandwidthPackage`.
|
|
46
|
+
- This parameter specifies the bandwidth throttling threshold for the inter-region connection if you set `BandwidthType` to `DataTransfer`.
|
|
47
|
+
:param pulumi.Input[str] bandwidth_type: The method that is used to allocate bandwidth to the inter-region connection. Valid values:
|
|
48
|
+
|
|
49
|
+
- `BandwidthPackage`: allocates bandwidth from a bandwidth plan.
|
|
50
|
+
- `DataTransfer`: bandwidth is billed based on the pay-by-data-transfer metering method.
|
|
51
|
+
:param pulumi.Input[str] cen_bandwidth_package_id: The ID of the bandwidth plan that is used to allocate bandwidth to the inter-region connection.
|
|
52
|
+
|
|
53
|
+
> **NOTE:** If you set `BandwidthType` to `DataTransfer`, you do not need to set this parameter.
|
|
54
|
+
:param pulumi.Input[str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
|
|
55
|
+
:param pulumi.Input[str] default_link_type: The default line type.
|
|
56
|
+
Valid values: Platinum and Gold.
|
|
57
|
+
Platinum is supported only when BandwidthType is set to DataTransfer.
|
|
58
|
+
:param pulumi.Input[bool] dry_run: Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
|
|
59
|
+
:param pulumi.Input[str] peer_transit_router_region_id: The ID of the region where the peer transit router is deployed.
|
|
50
60
|
:param pulumi.Input[str] resource_type: The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
61
|
+
|
|
62
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
51
63
|
:param pulumi.Input[bool] route_table_association_enabled: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
52
64
|
:param pulumi.Input[bool] route_table_propagation_enabled: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
53
|
-
:param pulumi.Input[str]
|
|
54
|
-
:param pulumi.Input[str]
|
|
55
|
-
|
|
65
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
66
|
+
:param pulumi.Input[str] transit_router_attachment_description: The new description of the inter-region connection.
|
|
67
|
+
This parameter is optional. If you enter a description, it must be 1 to 256 characters in length, and cannot start with http:// or https://.
|
|
68
|
+
:param pulumi.Input[str] transit_router_attachment_name: . Field 'transit_router_attachment_name' has been deprecated from provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.
|
|
69
|
+
:param pulumi.Input[str] transit_router_id: The ID of the local Enterprise Edition transit router.
|
|
70
|
+
:param pulumi.Input[str] transit_router_peer_attachment_name: The new name of the inter-region connection.
|
|
71
|
+
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
|
|
56
72
|
"""
|
|
57
|
-
pulumi.set(__self__, "cen_id", cen_id)
|
|
58
73
|
pulumi.set(__self__, "peer_transit_router_id", peer_transit_router_id)
|
|
59
|
-
pulumi.set(__self__, "peer_transit_router_region_id", peer_transit_router_region_id)
|
|
60
74
|
if auto_publish_route_enabled is not None:
|
|
61
75
|
pulumi.set(__self__, "auto_publish_route_enabled", auto_publish_route_enabled)
|
|
62
76
|
if bandwidth is not None:
|
|
@@ -65,10 +79,14 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
65
79
|
pulumi.set(__self__, "bandwidth_type", bandwidth_type)
|
|
66
80
|
if cen_bandwidth_package_id is not None:
|
|
67
81
|
pulumi.set(__self__, "cen_bandwidth_package_id", cen_bandwidth_package_id)
|
|
82
|
+
if cen_id is not None:
|
|
83
|
+
pulumi.set(__self__, "cen_id", cen_id)
|
|
68
84
|
if default_link_type is not None:
|
|
69
85
|
pulumi.set(__self__, "default_link_type", default_link_type)
|
|
70
86
|
if dry_run is not None:
|
|
71
87
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
88
|
+
if peer_transit_router_region_id is not None:
|
|
89
|
+
pulumi.set(__self__, "peer_transit_router_region_id", peer_transit_router_region_id)
|
|
72
90
|
if resource_type is not None:
|
|
73
91
|
pulumi.set(__self__, "resource_type", resource_type)
|
|
74
92
|
if route_table_association_enabled is not None:
|
|
@@ -81,24 +99,19 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
81
99
|
pulumi.log.warn("""route_table_propagation_enabled is deprecated: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.""")
|
|
82
100
|
if route_table_propagation_enabled is not None:
|
|
83
101
|
pulumi.set(__self__, "route_table_propagation_enabled", route_table_propagation_enabled)
|
|
102
|
+
if tags is not None:
|
|
103
|
+
pulumi.set(__self__, "tags", tags)
|
|
84
104
|
if transit_router_attachment_description is not None:
|
|
85
105
|
pulumi.set(__self__, "transit_router_attachment_description", transit_router_attachment_description)
|
|
106
|
+
if transit_router_attachment_name is not None:
|
|
107
|
+
warnings.warn("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.""", DeprecationWarning)
|
|
108
|
+
pulumi.log.warn("""transit_router_attachment_name is deprecated: Field 'transit_router_attachment_name' has been deprecated since provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.""")
|
|
86
109
|
if transit_router_attachment_name is not None:
|
|
87
110
|
pulumi.set(__self__, "transit_router_attachment_name", transit_router_attachment_name)
|
|
88
111
|
if transit_router_id is not None:
|
|
89
112
|
pulumi.set(__self__, "transit_router_id", transit_router_id)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
@pulumi.getter(name="cenId")
|
|
93
|
-
def cen_id(self) -> pulumi.Input[str]:
|
|
94
|
-
"""
|
|
95
|
-
The ID of the CEN.
|
|
96
|
-
"""
|
|
97
|
-
return pulumi.get(self, "cen_id")
|
|
98
|
-
|
|
99
|
-
@cen_id.setter
|
|
100
|
-
def cen_id(self, value: pulumi.Input[str]):
|
|
101
|
-
pulumi.set(self, "cen_id", value)
|
|
113
|
+
if transit_router_peer_attachment_name is not None:
|
|
114
|
+
pulumi.set(__self__, "transit_router_peer_attachment_name", transit_router_peer_attachment_name)
|
|
102
115
|
|
|
103
116
|
@property
|
|
104
117
|
@pulumi.getter(name="peerTransitRouterId")
|
|
@@ -112,23 +125,11 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
112
125
|
def peer_transit_router_id(self, value: pulumi.Input[str]):
|
|
113
126
|
pulumi.set(self, "peer_transit_router_id", value)
|
|
114
127
|
|
|
115
|
-
@property
|
|
116
|
-
@pulumi.getter(name="peerTransitRouterRegionId")
|
|
117
|
-
def peer_transit_router_region_id(self) -> pulumi.Input[str]:
|
|
118
|
-
"""
|
|
119
|
-
The region ID of peer transit router.
|
|
120
|
-
"""
|
|
121
|
-
return pulumi.get(self, "peer_transit_router_region_id")
|
|
122
|
-
|
|
123
|
-
@peer_transit_router_region_id.setter
|
|
124
|
-
def peer_transit_router_region_id(self, value: pulumi.Input[str]):
|
|
125
|
-
pulumi.set(self, "peer_transit_router_region_id", value)
|
|
126
|
-
|
|
127
128
|
@property
|
|
128
129
|
@pulumi.getter(name="autoPublishRouteEnabled")
|
|
129
130
|
def auto_publish_route_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
130
131
|
"""
|
|
131
|
-
|
|
132
|
+
Specifies whether to enable the local Enterprise Edition transit router to automatically advertise the routes of the inter-region connection to the peer transit router. Valid values:
|
|
132
133
|
"""
|
|
133
134
|
return pulumi.get(self, "auto_publish_route_enabled")
|
|
134
135
|
|
|
@@ -140,7 +141,10 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
140
141
|
@pulumi.getter
|
|
141
142
|
def bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
142
143
|
"""
|
|
143
|
-
The bandwidth of the
|
|
144
|
+
The bandwidth value of the inter-region connection. Unit: Mbit/s.
|
|
145
|
+
|
|
146
|
+
- This parameter specifies the maximum bandwidth value for the inter-region connection if you set `BandwidthType` to `BandwidthPackage`.
|
|
147
|
+
- This parameter specifies the bandwidth throttling threshold for the inter-region connection if you set `BandwidthType` to `DataTransfer`.
|
|
144
148
|
"""
|
|
145
149
|
return pulumi.get(self, "bandwidth")
|
|
146
150
|
|
|
@@ -152,9 +156,10 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
152
156
|
@pulumi.getter(name="bandwidthType")
|
|
153
157
|
def bandwidth_type(self) -> Optional[pulumi.Input[str]]:
|
|
154
158
|
"""
|
|
155
|
-
The method that is used to allocate bandwidth to the
|
|
156
|
-
|
|
157
|
-
|
|
159
|
+
The method that is used to allocate bandwidth to the inter-region connection. Valid values:
|
|
160
|
+
|
|
161
|
+
- `BandwidthPackage`: allocates bandwidth from a bandwidth plan.
|
|
162
|
+
- `DataTransfer`: bandwidth is billed based on the pay-by-data-transfer metering method.
|
|
158
163
|
"""
|
|
159
164
|
return pulumi.get(self, "bandwidth_type")
|
|
160
165
|
|
|
@@ -166,7 +171,9 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
166
171
|
@pulumi.getter(name="cenBandwidthPackageId")
|
|
167
172
|
def cen_bandwidth_package_id(self) -> Optional[pulumi.Input[str]]:
|
|
168
173
|
"""
|
|
169
|
-
The ID of the bandwidth
|
|
174
|
+
The ID of the bandwidth plan that is used to allocate bandwidth to the inter-region connection.
|
|
175
|
+
|
|
176
|
+
> **NOTE:** If you set `BandwidthType` to `DataTransfer`, you do not need to set this parameter.
|
|
170
177
|
"""
|
|
171
178
|
return pulumi.get(self, "cen_bandwidth_package_id")
|
|
172
179
|
|
|
@@ -174,11 +181,25 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
174
181
|
def cen_bandwidth_package_id(self, value: Optional[pulumi.Input[str]]):
|
|
175
182
|
pulumi.set(self, "cen_bandwidth_package_id", value)
|
|
176
183
|
|
|
184
|
+
@property
|
|
185
|
+
@pulumi.getter(name="cenId")
|
|
186
|
+
def cen_id(self) -> Optional[pulumi.Input[str]]:
|
|
187
|
+
"""
|
|
188
|
+
The ID of the Cloud Enterprise Network (CEN) instance.
|
|
189
|
+
"""
|
|
190
|
+
return pulumi.get(self, "cen_id")
|
|
191
|
+
|
|
192
|
+
@cen_id.setter
|
|
193
|
+
def cen_id(self, value: Optional[pulumi.Input[str]]):
|
|
194
|
+
pulumi.set(self, "cen_id", value)
|
|
195
|
+
|
|
177
196
|
@property
|
|
178
197
|
@pulumi.getter(name="defaultLinkType")
|
|
179
198
|
def default_link_type(self) -> Optional[pulumi.Input[str]]:
|
|
180
199
|
"""
|
|
181
|
-
|
|
200
|
+
The default line type.
|
|
201
|
+
Valid values: Platinum and Gold.
|
|
202
|
+
Platinum is supported only when BandwidthType is set to DataTransfer.
|
|
182
203
|
"""
|
|
183
204
|
return pulumi.get(self, "default_link_type")
|
|
184
205
|
|
|
@@ -190,7 +211,7 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
190
211
|
@pulumi.getter(name="dryRun")
|
|
191
212
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
192
213
|
"""
|
|
193
|
-
Whether to perform
|
|
214
|
+
Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
|
|
194
215
|
"""
|
|
195
216
|
return pulumi.get(self, "dry_run")
|
|
196
217
|
|
|
@@ -198,11 +219,25 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
198
219
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
199
220
|
pulumi.set(self, "dry_run", value)
|
|
200
221
|
|
|
222
|
+
@property
|
|
223
|
+
@pulumi.getter(name="peerTransitRouterRegionId")
|
|
224
|
+
def peer_transit_router_region_id(self) -> Optional[pulumi.Input[str]]:
|
|
225
|
+
"""
|
|
226
|
+
The ID of the region where the peer transit router is deployed.
|
|
227
|
+
"""
|
|
228
|
+
return pulumi.get(self, "peer_transit_router_region_id")
|
|
229
|
+
|
|
230
|
+
@peer_transit_router_region_id.setter
|
|
231
|
+
def peer_transit_router_region_id(self, value: Optional[pulumi.Input[str]]):
|
|
232
|
+
pulumi.set(self, "peer_transit_router_region_id", value)
|
|
233
|
+
|
|
201
234
|
@property
|
|
202
235
|
@pulumi.getter(name="resourceType")
|
|
203
236
|
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
|
204
237
|
"""
|
|
205
238
|
The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
239
|
+
|
|
240
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
206
241
|
"""
|
|
207
242
|
return pulumi.get(self, "resource_type")
|
|
208
243
|
|
|
@@ -236,11 +271,24 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
236
271
|
def route_table_propagation_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
237
272
|
pulumi.set(self, "route_table_propagation_enabled", value)
|
|
238
273
|
|
|
274
|
+
@property
|
|
275
|
+
@pulumi.getter
|
|
276
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
277
|
+
"""
|
|
278
|
+
The tag of the resource
|
|
279
|
+
"""
|
|
280
|
+
return pulumi.get(self, "tags")
|
|
281
|
+
|
|
282
|
+
@tags.setter
|
|
283
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
284
|
+
pulumi.set(self, "tags", value)
|
|
285
|
+
|
|
239
286
|
@property
|
|
240
287
|
@pulumi.getter(name="transitRouterAttachmentDescription")
|
|
241
288
|
def transit_router_attachment_description(self) -> Optional[pulumi.Input[str]]:
|
|
242
289
|
"""
|
|
243
|
-
The description of
|
|
290
|
+
The new description of the inter-region connection.
|
|
291
|
+
This parameter is optional. If you enter a description, it must be 1 to 256 characters in length, and cannot start with http:// or https://.
|
|
244
292
|
"""
|
|
245
293
|
return pulumi.get(self, "transit_router_attachment_description")
|
|
246
294
|
|
|
@@ -250,9 +298,10 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
250
298
|
|
|
251
299
|
@property
|
|
252
300
|
@pulumi.getter(name="transitRouterAttachmentName")
|
|
301
|
+
@_utilities.deprecated("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.""")
|
|
253
302
|
def transit_router_attachment_name(self) -> Optional[pulumi.Input[str]]:
|
|
254
303
|
"""
|
|
255
|
-
|
|
304
|
+
. Field 'transit_router_attachment_name' has been deprecated from provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.
|
|
256
305
|
"""
|
|
257
306
|
return pulumi.get(self, "transit_router_attachment_name")
|
|
258
307
|
|
|
@@ -264,7 +313,7 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
264
313
|
@pulumi.getter(name="transitRouterId")
|
|
265
314
|
def transit_router_id(self) -> Optional[pulumi.Input[str]]:
|
|
266
315
|
"""
|
|
267
|
-
The ID of the transit router
|
|
316
|
+
The ID of the local Enterprise Edition transit router.
|
|
268
317
|
"""
|
|
269
318
|
return pulumi.get(self, "transit_router_id")
|
|
270
319
|
|
|
@@ -272,6 +321,19 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
272
321
|
def transit_router_id(self, value: Optional[pulumi.Input[str]]):
|
|
273
322
|
pulumi.set(self, "transit_router_id", value)
|
|
274
323
|
|
|
324
|
+
@property
|
|
325
|
+
@pulumi.getter(name="transitRouterPeerAttachmentName")
|
|
326
|
+
def transit_router_peer_attachment_name(self) -> Optional[pulumi.Input[str]]:
|
|
327
|
+
"""
|
|
328
|
+
The new name of the inter-region connection.
|
|
329
|
+
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
|
|
330
|
+
"""
|
|
331
|
+
return pulumi.get(self, "transit_router_peer_attachment_name")
|
|
332
|
+
|
|
333
|
+
@transit_router_peer_attachment_name.setter
|
|
334
|
+
def transit_router_peer_attachment_name(self, value: Optional[pulumi.Input[str]]):
|
|
335
|
+
pulumi.set(self, "transit_router_peer_attachment_name", value)
|
|
336
|
+
|
|
275
337
|
|
|
276
338
|
@pulumi.input_type
|
|
277
339
|
class _TransitRouterPeerAttachmentState:
|
|
@@ -286,36 +348,54 @@ class _TransitRouterPeerAttachmentState:
|
|
|
286
348
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
287
349
|
peer_transit_router_id: Optional[pulumi.Input[str]] = None,
|
|
288
350
|
peer_transit_router_region_id: Optional[pulumi.Input[str]] = None,
|
|
351
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
289
352
|
resource_type: Optional[pulumi.Input[str]] = None,
|
|
290
353
|
route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
|
|
291
354
|
route_table_propagation_enabled: Optional[pulumi.Input[bool]] = None,
|
|
292
355
|
status: Optional[pulumi.Input[str]] = None,
|
|
356
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
293
357
|
transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
|
|
294
358
|
transit_router_attachment_id: Optional[pulumi.Input[str]] = None,
|
|
295
359
|
transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
|
|
296
|
-
transit_router_id: Optional[pulumi.Input[str]] = None
|
|
360
|
+
transit_router_id: Optional[pulumi.Input[str]] = None,
|
|
361
|
+
transit_router_peer_attachment_name: Optional[pulumi.Input[str]] = None):
|
|
297
362
|
"""
|
|
298
363
|
Input properties used for looking up and filtering TransitRouterPeerAttachment resources.
|
|
299
|
-
:param pulumi.Input[bool] auto_publish_route_enabled:
|
|
300
|
-
:param pulumi.Input[int] bandwidth: The bandwidth of the
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
:param pulumi.Input[str]
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
:param pulumi.Input[
|
|
364
|
+
:param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the local Enterprise Edition transit router to automatically advertise the routes of the inter-region connection to the peer transit router. Valid values:
|
|
365
|
+
:param pulumi.Input[int] bandwidth: The bandwidth value of the inter-region connection. Unit: Mbit/s.
|
|
366
|
+
|
|
367
|
+
- This parameter specifies the maximum bandwidth value for the inter-region connection if you set `BandwidthType` to `BandwidthPackage`.
|
|
368
|
+
- This parameter specifies the bandwidth throttling threshold for the inter-region connection if you set `BandwidthType` to `DataTransfer`.
|
|
369
|
+
:param pulumi.Input[str] bandwidth_type: The method that is used to allocate bandwidth to the inter-region connection. Valid values:
|
|
370
|
+
|
|
371
|
+
- `BandwidthPackage`: allocates bandwidth from a bandwidth plan.
|
|
372
|
+
- `DataTransfer`: bandwidth is billed based on the pay-by-data-transfer metering method.
|
|
373
|
+
:param pulumi.Input[str] cen_bandwidth_package_id: The ID of the bandwidth plan that is used to allocate bandwidth to the inter-region connection.
|
|
374
|
+
|
|
375
|
+
> **NOTE:** If you set `BandwidthType` to `DataTransfer`, you do not need to set this parameter.
|
|
376
|
+
:param pulumi.Input[str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
|
|
377
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
378
|
+
:param pulumi.Input[str] default_link_type: The default line type.
|
|
379
|
+
Valid values: Platinum and Gold.
|
|
380
|
+
Platinum is supported only when BandwidthType is set to DataTransfer.
|
|
381
|
+
:param pulumi.Input[bool] dry_run: Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
|
|
309
382
|
:param pulumi.Input[str] peer_transit_router_id: The ID of the peer transit router.
|
|
310
|
-
:param pulumi.Input[str] peer_transit_router_region_id: The
|
|
383
|
+
:param pulumi.Input[str] peer_transit_router_region_id: The ID of the region where the peer transit router is deployed.
|
|
384
|
+
:param pulumi.Input[str] region_id: The ID of the region where the local Enterprise Edition transit router is deployed.
|
|
311
385
|
:param pulumi.Input[str] resource_type: The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
386
|
+
|
|
387
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
312
388
|
:param pulumi.Input[bool] route_table_association_enabled: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
313
389
|
:param pulumi.Input[bool] route_table_propagation_enabled: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
314
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
315
|
-
:param pulumi.Input[str]
|
|
316
|
-
:param pulumi.Input[str]
|
|
317
|
-
|
|
318
|
-
:param pulumi.Input[str]
|
|
390
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
391
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
392
|
+
:param pulumi.Input[str] transit_router_attachment_description: The new description of the inter-region connection.
|
|
393
|
+
This parameter is optional. If you enter a description, it must be 1 to 256 characters in length, and cannot start with http:// or https://.
|
|
394
|
+
:param pulumi.Input[str] transit_router_attachment_id: The ID of the inter-region connection.
|
|
395
|
+
:param pulumi.Input[str] transit_router_attachment_name: . Field 'transit_router_attachment_name' has been deprecated from provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.
|
|
396
|
+
:param pulumi.Input[str] transit_router_id: The ID of the local Enterprise Edition transit router.
|
|
397
|
+
:param pulumi.Input[str] transit_router_peer_attachment_name: The new name of the inter-region connection.
|
|
398
|
+
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
|
|
319
399
|
"""
|
|
320
400
|
if auto_publish_route_enabled is not None:
|
|
321
401
|
pulumi.set(__self__, "auto_publish_route_enabled", auto_publish_route_enabled)
|
|
@@ -337,6 +417,8 @@ class _TransitRouterPeerAttachmentState:
|
|
|
337
417
|
pulumi.set(__self__, "peer_transit_router_id", peer_transit_router_id)
|
|
338
418
|
if peer_transit_router_region_id is not None:
|
|
339
419
|
pulumi.set(__self__, "peer_transit_router_region_id", peer_transit_router_region_id)
|
|
420
|
+
if region_id is not None:
|
|
421
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
340
422
|
if resource_type is not None:
|
|
341
423
|
pulumi.set(__self__, "resource_type", resource_type)
|
|
342
424
|
if route_table_association_enabled is not None:
|
|
@@ -351,20 +433,27 @@ class _TransitRouterPeerAttachmentState:
|
|
|
351
433
|
pulumi.set(__self__, "route_table_propagation_enabled", route_table_propagation_enabled)
|
|
352
434
|
if status is not None:
|
|
353
435
|
pulumi.set(__self__, "status", status)
|
|
436
|
+
if tags is not None:
|
|
437
|
+
pulumi.set(__self__, "tags", tags)
|
|
354
438
|
if transit_router_attachment_description is not None:
|
|
355
439
|
pulumi.set(__self__, "transit_router_attachment_description", transit_router_attachment_description)
|
|
356
440
|
if transit_router_attachment_id is not None:
|
|
357
441
|
pulumi.set(__self__, "transit_router_attachment_id", transit_router_attachment_id)
|
|
442
|
+
if transit_router_attachment_name is not None:
|
|
443
|
+
warnings.warn("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.""", DeprecationWarning)
|
|
444
|
+
pulumi.log.warn("""transit_router_attachment_name is deprecated: Field 'transit_router_attachment_name' has been deprecated since provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.""")
|
|
358
445
|
if transit_router_attachment_name is not None:
|
|
359
446
|
pulumi.set(__self__, "transit_router_attachment_name", transit_router_attachment_name)
|
|
360
447
|
if transit_router_id is not None:
|
|
361
448
|
pulumi.set(__self__, "transit_router_id", transit_router_id)
|
|
449
|
+
if transit_router_peer_attachment_name is not None:
|
|
450
|
+
pulumi.set(__self__, "transit_router_peer_attachment_name", transit_router_peer_attachment_name)
|
|
362
451
|
|
|
363
452
|
@property
|
|
364
453
|
@pulumi.getter(name="autoPublishRouteEnabled")
|
|
365
454
|
def auto_publish_route_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
366
455
|
"""
|
|
367
|
-
|
|
456
|
+
Specifies whether to enable the local Enterprise Edition transit router to automatically advertise the routes of the inter-region connection to the peer transit router. Valid values:
|
|
368
457
|
"""
|
|
369
458
|
return pulumi.get(self, "auto_publish_route_enabled")
|
|
370
459
|
|
|
@@ -376,7 +465,10 @@ class _TransitRouterPeerAttachmentState:
|
|
|
376
465
|
@pulumi.getter
|
|
377
466
|
def bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
378
467
|
"""
|
|
379
|
-
The bandwidth of the
|
|
468
|
+
The bandwidth value of the inter-region connection. Unit: Mbit/s.
|
|
469
|
+
|
|
470
|
+
- This parameter specifies the maximum bandwidth value for the inter-region connection if you set `BandwidthType` to `BandwidthPackage`.
|
|
471
|
+
- This parameter specifies the bandwidth throttling threshold for the inter-region connection if you set `BandwidthType` to `DataTransfer`.
|
|
380
472
|
"""
|
|
381
473
|
return pulumi.get(self, "bandwidth")
|
|
382
474
|
|
|
@@ -388,9 +480,10 @@ class _TransitRouterPeerAttachmentState:
|
|
|
388
480
|
@pulumi.getter(name="bandwidthType")
|
|
389
481
|
def bandwidth_type(self) -> Optional[pulumi.Input[str]]:
|
|
390
482
|
"""
|
|
391
|
-
The method that is used to allocate bandwidth to the
|
|
392
|
-
|
|
393
|
-
|
|
483
|
+
The method that is used to allocate bandwidth to the inter-region connection. Valid values:
|
|
484
|
+
|
|
485
|
+
- `BandwidthPackage`: allocates bandwidth from a bandwidth plan.
|
|
486
|
+
- `DataTransfer`: bandwidth is billed based on the pay-by-data-transfer metering method.
|
|
394
487
|
"""
|
|
395
488
|
return pulumi.get(self, "bandwidth_type")
|
|
396
489
|
|
|
@@ -402,7 +495,9 @@ class _TransitRouterPeerAttachmentState:
|
|
|
402
495
|
@pulumi.getter(name="cenBandwidthPackageId")
|
|
403
496
|
def cen_bandwidth_package_id(self) -> Optional[pulumi.Input[str]]:
|
|
404
497
|
"""
|
|
405
|
-
The ID of the bandwidth
|
|
498
|
+
The ID of the bandwidth plan that is used to allocate bandwidth to the inter-region connection.
|
|
499
|
+
|
|
500
|
+
> **NOTE:** If you set `BandwidthType` to `DataTransfer`, you do not need to set this parameter.
|
|
406
501
|
"""
|
|
407
502
|
return pulumi.get(self, "cen_bandwidth_package_id")
|
|
408
503
|
|
|
@@ -414,7 +509,7 @@ class _TransitRouterPeerAttachmentState:
|
|
|
414
509
|
@pulumi.getter(name="cenId")
|
|
415
510
|
def cen_id(self) -> Optional[pulumi.Input[str]]:
|
|
416
511
|
"""
|
|
417
|
-
The ID of the CEN.
|
|
512
|
+
The ID of the Cloud Enterprise Network (CEN) instance.
|
|
418
513
|
"""
|
|
419
514
|
return pulumi.get(self, "cen_id")
|
|
420
515
|
|
|
@@ -426,7 +521,7 @@ class _TransitRouterPeerAttachmentState:
|
|
|
426
521
|
@pulumi.getter(name="createTime")
|
|
427
522
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
428
523
|
"""
|
|
429
|
-
The creation time of the resource
|
|
524
|
+
The creation time of the resource
|
|
430
525
|
"""
|
|
431
526
|
return pulumi.get(self, "create_time")
|
|
432
527
|
|
|
@@ -438,7 +533,9 @@ class _TransitRouterPeerAttachmentState:
|
|
|
438
533
|
@pulumi.getter(name="defaultLinkType")
|
|
439
534
|
def default_link_type(self) -> Optional[pulumi.Input[str]]:
|
|
440
535
|
"""
|
|
441
|
-
|
|
536
|
+
The default line type.
|
|
537
|
+
Valid values: Platinum and Gold.
|
|
538
|
+
Platinum is supported only when BandwidthType is set to DataTransfer.
|
|
442
539
|
"""
|
|
443
540
|
return pulumi.get(self, "default_link_type")
|
|
444
541
|
|
|
@@ -450,7 +547,7 @@ class _TransitRouterPeerAttachmentState:
|
|
|
450
547
|
@pulumi.getter(name="dryRun")
|
|
451
548
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
452
549
|
"""
|
|
453
|
-
Whether to perform
|
|
550
|
+
Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
|
|
454
551
|
"""
|
|
455
552
|
return pulumi.get(self, "dry_run")
|
|
456
553
|
|
|
@@ -474,7 +571,7 @@ class _TransitRouterPeerAttachmentState:
|
|
|
474
571
|
@pulumi.getter(name="peerTransitRouterRegionId")
|
|
475
572
|
def peer_transit_router_region_id(self) -> Optional[pulumi.Input[str]]:
|
|
476
573
|
"""
|
|
477
|
-
The
|
|
574
|
+
The ID of the region where the peer transit router is deployed.
|
|
478
575
|
"""
|
|
479
576
|
return pulumi.get(self, "peer_transit_router_region_id")
|
|
480
577
|
|
|
@@ -482,11 +579,25 @@ class _TransitRouterPeerAttachmentState:
|
|
|
482
579
|
def peer_transit_router_region_id(self, value: Optional[pulumi.Input[str]]):
|
|
483
580
|
pulumi.set(self, "peer_transit_router_region_id", value)
|
|
484
581
|
|
|
582
|
+
@property
|
|
583
|
+
@pulumi.getter(name="regionId")
|
|
584
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
585
|
+
"""
|
|
586
|
+
The ID of the region where the local Enterprise Edition transit router is deployed.
|
|
587
|
+
"""
|
|
588
|
+
return pulumi.get(self, "region_id")
|
|
589
|
+
|
|
590
|
+
@region_id.setter
|
|
591
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
592
|
+
pulumi.set(self, "region_id", value)
|
|
593
|
+
|
|
485
594
|
@property
|
|
486
595
|
@pulumi.getter(name="resourceType")
|
|
487
596
|
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
|
488
597
|
"""
|
|
489
598
|
The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
599
|
+
|
|
600
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
490
601
|
"""
|
|
491
602
|
return pulumi.get(self, "resource_type")
|
|
492
603
|
|
|
@@ -524,7 +635,7 @@ class _TransitRouterPeerAttachmentState:
|
|
|
524
635
|
@pulumi.getter
|
|
525
636
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
526
637
|
"""
|
|
527
|
-
The status of the resource
|
|
638
|
+
The status of the resource
|
|
528
639
|
"""
|
|
529
640
|
return pulumi.get(self, "status")
|
|
530
641
|
|
|
@@ -532,11 +643,24 @@ class _TransitRouterPeerAttachmentState:
|
|
|
532
643
|
def status(self, value: Optional[pulumi.Input[str]]):
|
|
533
644
|
pulumi.set(self, "status", value)
|
|
534
645
|
|
|
646
|
+
@property
|
|
647
|
+
@pulumi.getter
|
|
648
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
649
|
+
"""
|
|
650
|
+
The tag of the resource
|
|
651
|
+
"""
|
|
652
|
+
return pulumi.get(self, "tags")
|
|
653
|
+
|
|
654
|
+
@tags.setter
|
|
655
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
656
|
+
pulumi.set(self, "tags", value)
|
|
657
|
+
|
|
535
658
|
@property
|
|
536
659
|
@pulumi.getter(name="transitRouterAttachmentDescription")
|
|
537
660
|
def transit_router_attachment_description(self) -> Optional[pulumi.Input[str]]:
|
|
538
661
|
"""
|
|
539
|
-
The description of
|
|
662
|
+
The new description of the inter-region connection.
|
|
663
|
+
This parameter is optional. If you enter a description, it must be 1 to 256 characters in length, and cannot start with http:// or https://.
|
|
540
664
|
"""
|
|
541
665
|
return pulumi.get(self, "transit_router_attachment_description")
|
|
542
666
|
|
|
@@ -548,7 +672,7 @@ class _TransitRouterPeerAttachmentState:
|
|
|
548
672
|
@pulumi.getter(name="transitRouterAttachmentId")
|
|
549
673
|
def transit_router_attachment_id(self) -> Optional[pulumi.Input[str]]:
|
|
550
674
|
"""
|
|
551
|
-
The ID of
|
|
675
|
+
The ID of the inter-region connection.
|
|
552
676
|
"""
|
|
553
677
|
return pulumi.get(self, "transit_router_attachment_id")
|
|
554
678
|
|
|
@@ -558,9 +682,10 @@ class _TransitRouterPeerAttachmentState:
|
|
|
558
682
|
|
|
559
683
|
@property
|
|
560
684
|
@pulumi.getter(name="transitRouterAttachmentName")
|
|
685
|
+
@_utilities.deprecated("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.""")
|
|
561
686
|
def transit_router_attachment_name(self) -> Optional[pulumi.Input[str]]:
|
|
562
687
|
"""
|
|
563
|
-
|
|
688
|
+
. Field 'transit_router_attachment_name' has been deprecated from provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.
|
|
564
689
|
"""
|
|
565
690
|
return pulumi.get(self, "transit_router_attachment_name")
|
|
566
691
|
|
|
@@ -572,7 +697,7 @@ class _TransitRouterPeerAttachmentState:
|
|
|
572
697
|
@pulumi.getter(name="transitRouterId")
|
|
573
698
|
def transit_router_id(self) -> Optional[pulumi.Input[str]]:
|
|
574
699
|
"""
|
|
575
|
-
The ID of the transit router
|
|
700
|
+
The ID of the local Enterprise Edition transit router.
|
|
576
701
|
"""
|
|
577
702
|
return pulumi.get(self, "transit_router_id")
|
|
578
703
|
|
|
@@ -580,6 +705,19 @@ class _TransitRouterPeerAttachmentState:
|
|
|
580
705
|
def transit_router_id(self, value: Optional[pulumi.Input[str]]):
|
|
581
706
|
pulumi.set(self, "transit_router_id", value)
|
|
582
707
|
|
|
708
|
+
@property
|
|
709
|
+
@pulumi.getter(name="transitRouterPeerAttachmentName")
|
|
710
|
+
def transit_router_peer_attachment_name(self) -> Optional[pulumi.Input[str]]:
|
|
711
|
+
"""
|
|
712
|
+
The new name of the inter-region connection.
|
|
713
|
+
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
|
|
714
|
+
"""
|
|
715
|
+
return pulumi.get(self, "transit_router_peer_attachment_name")
|
|
716
|
+
|
|
717
|
+
@transit_router_peer_attachment_name.setter
|
|
718
|
+
def transit_router_peer_attachment_name(self, value: Optional[pulumi.Input[str]]):
|
|
719
|
+
pulumi.set(self, "transit_router_peer_attachment_name", value)
|
|
720
|
+
|
|
583
721
|
|
|
584
722
|
class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
585
723
|
@overload
|
|
@@ -598,12 +736,16 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
598
736
|
resource_type: Optional[pulumi.Input[str]] = None,
|
|
599
737
|
route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
|
|
600
738
|
route_table_propagation_enabled: Optional[pulumi.Input[bool]] = None,
|
|
739
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
601
740
|
transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
|
|
602
741
|
transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
|
|
603
742
|
transit_router_id: Optional[pulumi.Input[str]] = None,
|
|
743
|
+
transit_router_peer_attachment_name: Optional[pulumi.Input[str]] = None,
|
|
604
744
|
__props__=None):
|
|
605
745
|
"""
|
|
606
|
-
Provides a
|
|
746
|
+
Provides a Cloud Enterprise Network (CEN) Transit Router Peer Attachment resource.
|
|
747
|
+
|
|
748
|
+
For information about Cloud Enterprise Network (CEN) Transit Router Peer Attachment and how to use it, see [What is Transit Router Peer Attachment](https://next.api.alibabacloud.com/document/Cbn/2017-09-12/CreateTransitRouterPeerAttachment).
|
|
607
749
|
|
|
608
750
|
> **NOTE:** Available since v1.128.0.
|
|
609
751
|
|
|
@@ -651,7 +793,7 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
651
793
|
|
|
652
794
|
## Import
|
|
653
795
|
|
|
654
|
-
CEN Transit Router Peer Attachment can be imported using the id, e.g.
|
|
796
|
+
Cloud Enterprise Network (CEN) Transit Router Peer Attachment can be imported using the id, e.g.
|
|
655
797
|
|
|
656
798
|
```sh
|
|
657
799
|
$ pulumi import alicloud:cen/transitRouterPeerAttachment:TransitRouterPeerAttachment example <cen_id>:<transit_router_attachment_id>
|
|
@@ -659,23 +801,37 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
659
801
|
|
|
660
802
|
:param str resource_name: The name of the resource.
|
|
661
803
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
662
|
-
:param pulumi.Input[bool] auto_publish_route_enabled:
|
|
663
|
-
:param pulumi.Input[int] bandwidth: The bandwidth of the
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
:param pulumi.Input[str]
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
804
|
+
:param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the local Enterprise Edition transit router to automatically advertise the routes of the inter-region connection to the peer transit router. Valid values:
|
|
805
|
+
:param pulumi.Input[int] bandwidth: The bandwidth value of the inter-region connection. Unit: Mbit/s.
|
|
806
|
+
|
|
807
|
+
- This parameter specifies the maximum bandwidth value for the inter-region connection if you set `BandwidthType` to `BandwidthPackage`.
|
|
808
|
+
- This parameter specifies the bandwidth throttling threshold for the inter-region connection if you set `BandwidthType` to `DataTransfer`.
|
|
809
|
+
:param pulumi.Input[str] bandwidth_type: The method that is used to allocate bandwidth to the inter-region connection. Valid values:
|
|
810
|
+
|
|
811
|
+
- `BandwidthPackage`: allocates bandwidth from a bandwidth plan.
|
|
812
|
+
- `DataTransfer`: bandwidth is billed based on the pay-by-data-transfer metering method.
|
|
813
|
+
:param pulumi.Input[str] cen_bandwidth_package_id: The ID of the bandwidth plan that is used to allocate bandwidth to the inter-region connection.
|
|
814
|
+
|
|
815
|
+
> **NOTE:** If you set `BandwidthType` to `DataTransfer`, you do not need to set this parameter.
|
|
816
|
+
:param pulumi.Input[str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
|
|
817
|
+
:param pulumi.Input[str] default_link_type: The default line type.
|
|
818
|
+
Valid values: Platinum and Gold.
|
|
819
|
+
Platinum is supported only when BandwidthType is set to DataTransfer.
|
|
820
|
+
:param pulumi.Input[bool] dry_run: Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
|
|
671
821
|
:param pulumi.Input[str] peer_transit_router_id: The ID of the peer transit router.
|
|
672
|
-
:param pulumi.Input[str] peer_transit_router_region_id: The
|
|
822
|
+
:param pulumi.Input[str] peer_transit_router_region_id: The ID of the region where the peer transit router is deployed.
|
|
673
823
|
:param pulumi.Input[str] resource_type: The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
824
|
+
|
|
825
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
674
826
|
:param pulumi.Input[bool] route_table_association_enabled: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
675
827
|
:param pulumi.Input[bool] route_table_propagation_enabled: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
676
|
-
:param pulumi.Input[str]
|
|
677
|
-
:param pulumi.Input[str]
|
|
678
|
-
|
|
828
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
829
|
+
:param pulumi.Input[str] transit_router_attachment_description: The new description of the inter-region connection.
|
|
830
|
+
This parameter is optional. If you enter a description, it must be 1 to 256 characters in length, and cannot start with http:// or https://.
|
|
831
|
+
:param pulumi.Input[str] transit_router_attachment_name: . Field 'transit_router_attachment_name' has been deprecated from provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.
|
|
832
|
+
:param pulumi.Input[str] transit_router_id: The ID of the local Enterprise Edition transit router.
|
|
833
|
+
:param pulumi.Input[str] transit_router_peer_attachment_name: The new name of the inter-region connection.
|
|
834
|
+
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
|
|
679
835
|
"""
|
|
680
836
|
...
|
|
681
837
|
@overload
|
|
@@ -684,7 +840,9 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
684
840
|
args: TransitRouterPeerAttachmentArgs,
|
|
685
841
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
686
842
|
"""
|
|
687
|
-
Provides a
|
|
843
|
+
Provides a Cloud Enterprise Network (CEN) Transit Router Peer Attachment resource.
|
|
844
|
+
|
|
845
|
+
For information about Cloud Enterprise Network (CEN) Transit Router Peer Attachment and how to use it, see [What is Transit Router Peer Attachment](https://next.api.alibabacloud.com/document/Cbn/2017-09-12/CreateTransitRouterPeerAttachment).
|
|
688
846
|
|
|
689
847
|
> **NOTE:** Available since v1.128.0.
|
|
690
848
|
|
|
@@ -732,7 +890,7 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
732
890
|
|
|
733
891
|
## Import
|
|
734
892
|
|
|
735
|
-
CEN Transit Router Peer Attachment can be imported using the id, e.g.
|
|
893
|
+
Cloud Enterprise Network (CEN) Transit Router Peer Attachment can be imported using the id, e.g.
|
|
736
894
|
|
|
737
895
|
```sh
|
|
738
896
|
$ pulumi import alicloud:cen/transitRouterPeerAttachment:TransitRouterPeerAttachment example <cen_id>:<transit_router_attachment_id>
|
|
@@ -765,9 +923,11 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
765
923
|
resource_type: Optional[pulumi.Input[str]] = None,
|
|
766
924
|
route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
|
|
767
925
|
route_table_propagation_enabled: Optional[pulumi.Input[bool]] = None,
|
|
926
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
768
927
|
transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
|
|
769
928
|
transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
|
|
770
929
|
transit_router_id: Optional[pulumi.Input[str]] = None,
|
|
930
|
+
transit_router_peer_attachment_name: Optional[pulumi.Input[str]] = None,
|
|
771
931
|
__props__=None):
|
|
772
932
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
773
933
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -781,24 +941,23 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
781
941
|
__props__.__dict__["bandwidth"] = bandwidth
|
|
782
942
|
__props__.__dict__["bandwidth_type"] = bandwidth_type
|
|
783
943
|
__props__.__dict__["cen_bandwidth_package_id"] = cen_bandwidth_package_id
|
|
784
|
-
if cen_id is None and not opts.urn:
|
|
785
|
-
raise TypeError("Missing required property 'cen_id'")
|
|
786
944
|
__props__.__dict__["cen_id"] = cen_id
|
|
787
945
|
__props__.__dict__["default_link_type"] = default_link_type
|
|
788
946
|
__props__.__dict__["dry_run"] = dry_run
|
|
789
947
|
if peer_transit_router_id is None and not opts.urn:
|
|
790
948
|
raise TypeError("Missing required property 'peer_transit_router_id'")
|
|
791
949
|
__props__.__dict__["peer_transit_router_id"] = peer_transit_router_id
|
|
792
|
-
if peer_transit_router_region_id is None and not opts.urn:
|
|
793
|
-
raise TypeError("Missing required property 'peer_transit_router_region_id'")
|
|
794
950
|
__props__.__dict__["peer_transit_router_region_id"] = peer_transit_router_region_id
|
|
795
951
|
__props__.__dict__["resource_type"] = resource_type
|
|
796
952
|
__props__.__dict__["route_table_association_enabled"] = route_table_association_enabled
|
|
797
953
|
__props__.__dict__["route_table_propagation_enabled"] = route_table_propagation_enabled
|
|
954
|
+
__props__.__dict__["tags"] = tags
|
|
798
955
|
__props__.__dict__["transit_router_attachment_description"] = transit_router_attachment_description
|
|
799
956
|
__props__.__dict__["transit_router_attachment_name"] = transit_router_attachment_name
|
|
800
957
|
__props__.__dict__["transit_router_id"] = transit_router_id
|
|
958
|
+
__props__.__dict__["transit_router_peer_attachment_name"] = transit_router_peer_attachment_name
|
|
801
959
|
__props__.__dict__["create_time"] = None
|
|
960
|
+
__props__.__dict__["region_id"] = None
|
|
802
961
|
__props__.__dict__["status"] = None
|
|
803
962
|
__props__.__dict__["transit_router_attachment_id"] = None
|
|
804
963
|
super(TransitRouterPeerAttachment, __self__).__init__(
|
|
@@ -821,14 +980,17 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
821
980
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
822
981
|
peer_transit_router_id: Optional[pulumi.Input[str]] = None,
|
|
823
982
|
peer_transit_router_region_id: Optional[pulumi.Input[str]] = None,
|
|
983
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
824
984
|
resource_type: Optional[pulumi.Input[str]] = None,
|
|
825
985
|
route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
|
|
826
986
|
route_table_propagation_enabled: Optional[pulumi.Input[bool]] = None,
|
|
827
987
|
status: Optional[pulumi.Input[str]] = None,
|
|
988
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
828
989
|
transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
|
|
829
990
|
transit_router_attachment_id: Optional[pulumi.Input[str]] = None,
|
|
830
991
|
transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
|
|
831
|
-
transit_router_id: Optional[pulumi.Input[str]] = None
|
|
992
|
+
transit_router_id: Optional[pulumi.Input[str]] = None,
|
|
993
|
+
transit_router_peer_attachment_name: Optional[pulumi.Input[str]] = None) -> 'TransitRouterPeerAttachment':
|
|
832
994
|
"""
|
|
833
995
|
Get an existing TransitRouterPeerAttachment resource's state with the given name, id, and optional extra
|
|
834
996
|
properties used to qualify the lookup.
|
|
@@ -836,26 +998,41 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
836
998
|
:param str resource_name: The unique name of the resulting resource.
|
|
837
999
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
838
1000
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
839
|
-
:param pulumi.Input[bool] auto_publish_route_enabled:
|
|
840
|
-
:param pulumi.Input[int] bandwidth: The bandwidth of the
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
:param pulumi.Input[str]
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
:param pulumi.Input[
|
|
1001
|
+
:param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the local Enterprise Edition transit router to automatically advertise the routes of the inter-region connection to the peer transit router. Valid values:
|
|
1002
|
+
:param pulumi.Input[int] bandwidth: The bandwidth value of the inter-region connection. Unit: Mbit/s.
|
|
1003
|
+
|
|
1004
|
+
- This parameter specifies the maximum bandwidth value for the inter-region connection if you set `BandwidthType` to `BandwidthPackage`.
|
|
1005
|
+
- This parameter specifies the bandwidth throttling threshold for the inter-region connection if you set `BandwidthType` to `DataTransfer`.
|
|
1006
|
+
:param pulumi.Input[str] bandwidth_type: The method that is used to allocate bandwidth to the inter-region connection. Valid values:
|
|
1007
|
+
|
|
1008
|
+
- `BandwidthPackage`: allocates bandwidth from a bandwidth plan.
|
|
1009
|
+
- `DataTransfer`: bandwidth is billed based on the pay-by-data-transfer metering method.
|
|
1010
|
+
:param pulumi.Input[str] cen_bandwidth_package_id: The ID of the bandwidth plan that is used to allocate bandwidth to the inter-region connection.
|
|
1011
|
+
|
|
1012
|
+
> **NOTE:** If you set `BandwidthType` to `DataTransfer`, you do not need to set this parameter.
|
|
1013
|
+
:param pulumi.Input[str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
|
|
1014
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
1015
|
+
:param pulumi.Input[str] default_link_type: The default line type.
|
|
1016
|
+
Valid values: Platinum and Gold.
|
|
1017
|
+
Platinum is supported only when BandwidthType is set to DataTransfer.
|
|
1018
|
+
:param pulumi.Input[bool] dry_run: Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
|
|
849
1019
|
:param pulumi.Input[str] peer_transit_router_id: The ID of the peer transit router.
|
|
850
|
-
:param pulumi.Input[str] peer_transit_router_region_id: The
|
|
1020
|
+
:param pulumi.Input[str] peer_transit_router_region_id: The ID of the region where the peer transit router is deployed.
|
|
1021
|
+
:param pulumi.Input[str] region_id: The ID of the region where the local Enterprise Edition transit router is deployed.
|
|
851
1022
|
:param pulumi.Input[str] resource_type: The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
1023
|
+
|
|
1024
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
852
1025
|
:param pulumi.Input[bool] route_table_association_enabled: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
853
1026
|
:param pulumi.Input[bool] route_table_propagation_enabled: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
854
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
855
|
-
:param pulumi.Input[str]
|
|
856
|
-
:param pulumi.Input[str]
|
|
857
|
-
|
|
858
|
-
:param pulumi.Input[str]
|
|
1027
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
1028
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
1029
|
+
:param pulumi.Input[str] transit_router_attachment_description: The new description of the inter-region connection.
|
|
1030
|
+
This parameter is optional. If you enter a description, it must be 1 to 256 characters in length, and cannot start with http:// or https://.
|
|
1031
|
+
:param pulumi.Input[str] transit_router_attachment_id: The ID of the inter-region connection.
|
|
1032
|
+
:param pulumi.Input[str] transit_router_attachment_name: . Field 'transit_router_attachment_name' has been deprecated from provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.
|
|
1033
|
+
:param pulumi.Input[str] transit_router_id: The ID of the local Enterprise Edition transit router.
|
|
1034
|
+
:param pulumi.Input[str] transit_router_peer_attachment_name: The new name of the inter-region connection.
|
|
1035
|
+
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
|
|
859
1036
|
"""
|
|
860
1037
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
861
1038
|
|
|
@@ -871,21 +1048,24 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
871
1048
|
__props__.__dict__["dry_run"] = dry_run
|
|
872
1049
|
__props__.__dict__["peer_transit_router_id"] = peer_transit_router_id
|
|
873
1050
|
__props__.__dict__["peer_transit_router_region_id"] = peer_transit_router_region_id
|
|
1051
|
+
__props__.__dict__["region_id"] = region_id
|
|
874
1052
|
__props__.__dict__["resource_type"] = resource_type
|
|
875
1053
|
__props__.__dict__["route_table_association_enabled"] = route_table_association_enabled
|
|
876
1054
|
__props__.__dict__["route_table_propagation_enabled"] = route_table_propagation_enabled
|
|
877
1055
|
__props__.__dict__["status"] = status
|
|
1056
|
+
__props__.__dict__["tags"] = tags
|
|
878
1057
|
__props__.__dict__["transit_router_attachment_description"] = transit_router_attachment_description
|
|
879
1058
|
__props__.__dict__["transit_router_attachment_id"] = transit_router_attachment_id
|
|
880
1059
|
__props__.__dict__["transit_router_attachment_name"] = transit_router_attachment_name
|
|
881
1060
|
__props__.__dict__["transit_router_id"] = transit_router_id
|
|
1061
|
+
__props__.__dict__["transit_router_peer_attachment_name"] = transit_router_peer_attachment_name
|
|
882
1062
|
return TransitRouterPeerAttachment(resource_name, opts=opts, __props__=__props__)
|
|
883
1063
|
|
|
884
1064
|
@property
|
|
885
1065
|
@pulumi.getter(name="autoPublishRouteEnabled")
|
|
886
1066
|
def auto_publish_route_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
887
1067
|
"""
|
|
888
|
-
|
|
1068
|
+
Specifies whether to enable the local Enterprise Edition transit router to automatically advertise the routes of the inter-region connection to the peer transit router. Valid values:
|
|
889
1069
|
"""
|
|
890
1070
|
return pulumi.get(self, "auto_publish_route_enabled")
|
|
891
1071
|
|
|
@@ -893,7 +1073,10 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
893
1073
|
@pulumi.getter
|
|
894
1074
|
def bandwidth(self) -> pulumi.Output[Optional[int]]:
|
|
895
1075
|
"""
|
|
896
|
-
The bandwidth of the
|
|
1076
|
+
The bandwidth value of the inter-region connection. Unit: Mbit/s.
|
|
1077
|
+
|
|
1078
|
+
- This parameter specifies the maximum bandwidth value for the inter-region connection if you set `BandwidthType` to `BandwidthPackage`.
|
|
1079
|
+
- This parameter specifies the bandwidth throttling threshold for the inter-region connection if you set `BandwidthType` to `DataTransfer`.
|
|
897
1080
|
"""
|
|
898
1081
|
return pulumi.get(self, "bandwidth")
|
|
899
1082
|
|
|
@@ -901,9 +1084,10 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
901
1084
|
@pulumi.getter(name="bandwidthType")
|
|
902
1085
|
def bandwidth_type(self) -> pulumi.Output[str]:
|
|
903
1086
|
"""
|
|
904
|
-
The method that is used to allocate bandwidth to the
|
|
905
|
-
|
|
906
|
-
|
|
1087
|
+
The method that is used to allocate bandwidth to the inter-region connection. Valid values:
|
|
1088
|
+
|
|
1089
|
+
- `BandwidthPackage`: allocates bandwidth from a bandwidth plan.
|
|
1090
|
+
- `DataTransfer`: bandwidth is billed based on the pay-by-data-transfer metering method.
|
|
907
1091
|
"""
|
|
908
1092
|
return pulumi.get(self, "bandwidth_type")
|
|
909
1093
|
|
|
@@ -911,15 +1095,17 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
911
1095
|
@pulumi.getter(name="cenBandwidthPackageId")
|
|
912
1096
|
def cen_bandwidth_package_id(self) -> pulumi.Output[Optional[str]]:
|
|
913
1097
|
"""
|
|
914
|
-
The ID of the bandwidth
|
|
1098
|
+
The ID of the bandwidth plan that is used to allocate bandwidth to the inter-region connection.
|
|
1099
|
+
|
|
1100
|
+
> **NOTE:** If you set `BandwidthType` to `DataTransfer`, you do not need to set this parameter.
|
|
915
1101
|
"""
|
|
916
1102
|
return pulumi.get(self, "cen_bandwidth_package_id")
|
|
917
1103
|
|
|
918
1104
|
@property
|
|
919
1105
|
@pulumi.getter(name="cenId")
|
|
920
|
-
def cen_id(self) -> pulumi.Output[str]:
|
|
1106
|
+
def cen_id(self) -> pulumi.Output[Optional[str]]:
|
|
921
1107
|
"""
|
|
922
|
-
The ID of the CEN.
|
|
1108
|
+
The ID of the Cloud Enterprise Network (CEN) instance.
|
|
923
1109
|
"""
|
|
924
1110
|
return pulumi.get(self, "cen_id")
|
|
925
1111
|
|
|
@@ -927,7 +1113,7 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
927
1113
|
@pulumi.getter(name="createTime")
|
|
928
1114
|
def create_time(self) -> pulumi.Output[str]:
|
|
929
1115
|
"""
|
|
930
|
-
The creation time of the resource
|
|
1116
|
+
The creation time of the resource
|
|
931
1117
|
"""
|
|
932
1118
|
return pulumi.get(self, "create_time")
|
|
933
1119
|
|
|
@@ -935,7 +1121,9 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
935
1121
|
@pulumi.getter(name="defaultLinkType")
|
|
936
1122
|
def default_link_type(self) -> pulumi.Output[str]:
|
|
937
1123
|
"""
|
|
938
|
-
|
|
1124
|
+
The default line type.
|
|
1125
|
+
Valid values: Platinum and Gold.
|
|
1126
|
+
Platinum is supported only when BandwidthType is set to DataTransfer.
|
|
939
1127
|
"""
|
|
940
1128
|
return pulumi.get(self, "default_link_type")
|
|
941
1129
|
|
|
@@ -943,7 +1131,7 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
943
1131
|
@pulumi.getter(name="dryRun")
|
|
944
1132
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
945
1133
|
"""
|
|
946
|
-
Whether to perform
|
|
1134
|
+
Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
|
|
947
1135
|
"""
|
|
948
1136
|
return pulumi.get(self, "dry_run")
|
|
949
1137
|
|
|
@@ -957,17 +1145,27 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
957
1145
|
|
|
958
1146
|
@property
|
|
959
1147
|
@pulumi.getter(name="peerTransitRouterRegionId")
|
|
960
|
-
def peer_transit_router_region_id(self) -> pulumi.Output[str]:
|
|
1148
|
+
def peer_transit_router_region_id(self) -> pulumi.Output[Optional[str]]:
|
|
961
1149
|
"""
|
|
962
|
-
The
|
|
1150
|
+
The ID of the region where the peer transit router is deployed.
|
|
963
1151
|
"""
|
|
964
1152
|
return pulumi.get(self, "peer_transit_router_region_id")
|
|
965
1153
|
|
|
1154
|
+
@property
|
|
1155
|
+
@pulumi.getter(name="regionId")
|
|
1156
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
1157
|
+
"""
|
|
1158
|
+
The ID of the region where the local Enterprise Edition transit router is deployed.
|
|
1159
|
+
"""
|
|
1160
|
+
return pulumi.get(self, "region_id")
|
|
1161
|
+
|
|
966
1162
|
@property
|
|
967
1163
|
@pulumi.getter(name="resourceType")
|
|
968
1164
|
def resource_type(self) -> pulumi.Output[Optional[str]]:
|
|
969
1165
|
"""
|
|
970
1166
|
The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
1167
|
+
|
|
1168
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
971
1169
|
"""
|
|
972
1170
|
return pulumi.get(self, "resource_type")
|
|
973
1171
|
|
|
@@ -993,15 +1191,24 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
993
1191
|
@pulumi.getter
|
|
994
1192
|
def status(self) -> pulumi.Output[str]:
|
|
995
1193
|
"""
|
|
996
|
-
The status of the resource
|
|
1194
|
+
The status of the resource
|
|
997
1195
|
"""
|
|
998
1196
|
return pulumi.get(self, "status")
|
|
999
1197
|
|
|
1198
|
+
@property
|
|
1199
|
+
@pulumi.getter
|
|
1200
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
1201
|
+
"""
|
|
1202
|
+
The tag of the resource
|
|
1203
|
+
"""
|
|
1204
|
+
return pulumi.get(self, "tags")
|
|
1205
|
+
|
|
1000
1206
|
@property
|
|
1001
1207
|
@pulumi.getter(name="transitRouterAttachmentDescription")
|
|
1002
1208
|
def transit_router_attachment_description(self) -> pulumi.Output[Optional[str]]:
|
|
1003
1209
|
"""
|
|
1004
|
-
The description of
|
|
1210
|
+
The new description of the inter-region connection.
|
|
1211
|
+
This parameter is optional. If you enter a description, it must be 1 to 256 characters in length, and cannot start with http:// or https://.
|
|
1005
1212
|
"""
|
|
1006
1213
|
return pulumi.get(self, "transit_router_attachment_description")
|
|
1007
1214
|
|
|
@@ -1009,15 +1216,16 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
1009
1216
|
@pulumi.getter(name="transitRouterAttachmentId")
|
|
1010
1217
|
def transit_router_attachment_id(self) -> pulumi.Output[str]:
|
|
1011
1218
|
"""
|
|
1012
|
-
The ID of
|
|
1219
|
+
The ID of the inter-region connection.
|
|
1013
1220
|
"""
|
|
1014
1221
|
return pulumi.get(self, "transit_router_attachment_id")
|
|
1015
1222
|
|
|
1016
1223
|
@property
|
|
1017
1224
|
@pulumi.getter(name="transitRouterAttachmentName")
|
|
1018
|
-
|
|
1225
|
+
@_utilities.deprecated("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.""")
|
|
1226
|
+
def transit_router_attachment_name(self) -> pulumi.Output[str]:
|
|
1019
1227
|
"""
|
|
1020
|
-
|
|
1228
|
+
. Field 'transit_router_attachment_name' has been deprecated from provider version 1.247.0. New field 'transit_router_peer_attachment_name' instead.
|
|
1021
1229
|
"""
|
|
1022
1230
|
return pulumi.get(self, "transit_router_attachment_name")
|
|
1023
1231
|
|
|
@@ -1025,7 +1233,16 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
1025
1233
|
@pulumi.getter(name="transitRouterId")
|
|
1026
1234
|
def transit_router_id(self) -> pulumi.Output[Optional[str]]:
|
|
1027
1235
|
"""
|
|
1028
|
-
The ID of the transit router
|
|
1236
|
+
The ID of the local Enterprise Edition transit router.
|
|
1029
1237
|
"""
|
|
1030
1238
|
return pulumi.get(self, "transit_router_id")
|
|
1031
1239
|
|
|
1240
|
+
@property
|
|
1241
|
+
@pulumi.getter(name="transitRouterPeerAttachmentName")
|
|
1242
|
+
def transit_router_peer_attachment_name(self) -> pulumi.Output[str]:
|
|
1243
|
+
"""
|
|
1244
|
+
The new name of the inter-region connection.
|
|
1245
|
+
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
|
|
1246
|
+
"""
|
|
1247
|
+
return pulumi.get(self, "transit_router_peer_attachment_name")
|
|
1248
|
+
|