pulumi-alicloud 3.76.0a1743571220__py3-none-any.whl → 3.77.0a1744262757__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (237) hide show
  1. pulumi_alicloud/__init__.py +271 -4
  2. pulumi_alicloud/_inputs.py +20 -0
  3. pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
  4. pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
  5. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
  6. pulumi_alicloud/alb/server_group.py +2 -2
  7. pulumi_alicloud/alikafka/sasl_acl.py +7 -7
  8. pulumi_alicloud/apigateway/_inputs.py +134 -0
  9. pulumi_alicloud/apigateway/group.py +117 -5
  10. pulumi_alicloud/apigateway/instance.py +148 -7
  11. pulumi_alicloud/apigateway/outputs.py +107 -0
  12. pulumi_alicloud/arms/alert_contact.py +2 -2
  13. pulumi_alicloud/arms/alert_contact_group.py +2 -2
  14. pulumi_alicloud/arms/get_prometheus.py +2 -6
  15. pulumi_alicloud/arms/grafana_workspace.py +511 -69
  16. pulumi_alicloud/arms/outputs.py +18 -18
  17. pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
  18. pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
  19. pulumi_alicloud/cdn/domain_new.py +2 -2
  20. pulumi_alicloud/cen/_inputs.py +6 -3
  21. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
  22. pulumi_alicloud/cen/instance.py +101 -59
  23. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
  24. pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
  25. pulumi_alicloud/cen/outputs.py +69 -26
  26. pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
  27. pulumi_alicloud/cen/transit_router.py +127 -53
  28. pulumi_alicloud/cen/transit_router_cidr.py +53 -35
  29. pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
  30. pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
  31. pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
  32. pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
  33. pulumi_alicloud/clickhouse/db_cluster.py +179 -6
  34. pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
  35. pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
  36. pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
  37. pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
  38. pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
  39. pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
  40. pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
  41. pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
  42. pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
  43. pulumi_alicloud/config/outputs.py +12 -0
  44. pulumi_alicloud/cs/__init__.py +1 -0
  45. pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
  46. pulumi_alicloud/cs/managed_kubernetes.py +127 -24
  47. pulumi_alicloud/cs/node_pool.py +42 -42
  48. pulumi_alicloud/cs/outputs.py +1782 -4
  49. pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
  50. pulumi_alicloud/dataworks/data_source.py +2 -2
  51. pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
  52. pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
  53. pulumi_alicloud/dataworks/di_job.py +2 -2
  54. pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
  55. pulumi_alicloud/dataworks/network.py +2 -2
  56. pulumi_alicloud/dataworks/project.py +2 -2
  57. pulumi_alicloud/dataworks/project_member.py +2 -2
  58. pulumi_alicloud/dbs/backup_plan.py +2 -2
  59. pulumi_alicloud/ddos/bgp_policy.py +2 -2
  60. pulumi_alicloud/eais/__init__.py +2 -0
  61. pulumi_alicloud/eais/_inputs.py +75 -0
  62. pulumi_alicloud/eais/client_instance_attachment.py +408 -0
  63. pulumi_alicloud/eais/instance.py +365 -118
  64. pulumi_alicloud/eais/outputs.py +32 -0
  65. pulumi_alicloud/ebs/disk_replica_group.py +512 -30
  66. pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
  67. pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
  68. pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
  69. pulumi_alicloud/ecp/instance.py +2 -2
  70. pulumi_alicloud/ecp/key_pair.py +4 -4
  71. pulumi_alicloud/ecs/_inputs.py +33 -0
  72. pulumi_alicloud/ecs/disk.py +1 -1
  73. pulumi_alicloud/ecs/ecs_disk.py +1 -1
  74. pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
  75. pulumi_alicloud/ecs/instance.py +1 -1
  76. pulumi_alicloud/ecs/outputs.py +26 -2
  77. pulumi_alicloud/eflo/__init__.py +5 -0
  78. pulumi_alicloud/eflo/_inputs.py +1717 -0
  79. pulumi_alicloud/eflo/cluster.py +935 -0
  80. pulumi_alicloud/eflo/invocation.py +1114 -0
  81. pulumi_alicloud/eflo/node.py +1013 -0
  82. pulumi_alicloud/eflo/node_group.py +1101 -0
  83. pulumi_alicloud/eflo/outputs.py +1366 -0
  84. pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
  85. pulumi_alicloud/ens/image.py +81 -34
  86. pulumi_alicloud/esa/__init__.py +4 -0
  87. pulumi_alicloud/esa/_inputs.py +640 -18
  88. pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
  89. pulumi_alicloud/esa/cache_rule.py +193 -179
  90. pulumi_alicloud/esa/certificate.py +99 -92
  91. pulumi_alicloud/esa/compression_rule.py +42 -28
  92. pulumi_alicloud/esa/edge_container_app.py +972 -0
  93. pulumi_alicloud/esa/edge_container_app_record.py +376 -0
  94. pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
  95. pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
  96. pulumi_alicloud/esa/https_application_configuration.py +42 -28
  97. pulumi_alicloud/esa/https_basic_configuration.py +56 -42
  98. pulumi_alicloud/esa/image_transform.py +42 -28
  99. pulumi_alicloud/esa/kv_namespace.py +11 -11
  100. pulumi_alicloud/esa/list.py +28 -28
  101. pulumi_alicloud/esa/network_optimization.py +56 -126
  102. pulumi_alicloud/esa/origin_pool.py +19 -19
  103. pulumi_alicloud/esa/origin_rule.py +67 -39
  104. pulumi_alicloud/esa/outputs.py +536 -12
  105. pulumi_alicloud/esa/page.py +28 -49
  106. pulumi_alicloud/esa/rate_plan_instance.py +86 -159
  107. pulumi_alicloud/esa/redirect_rule.py +42 -28
  108. pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
  109. pulumi_alicloud/esa/site.py +67 -123
  110. pulumi_alicloud/esa/site_delivery_task.py +841 -0
  111. pulumi_alicloud/esa/waiting_room.py +269 -319
  112. pulumi_alicloud/esa/waiting_room_event.py +291 -305
  113. pulumi_alicloud/esa/waiting_room_rule.py +46 -53
  114. pulumi_alicloud/ess/_inputs.py +155 -0
  115. pulumi_alicloud/ess/outputs.py +128 -0
  116. pulumi_alicloud/ess/scaling_group.py +237 -2
  117. pulumi_alicloud/ess/scaling_rule.py +143 -2
  118. pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
  119. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  120. pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
  121. pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
  122. pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
  123. pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
  124. pulumi_alicloud/gpdb/streaming_job.py +2 -2
  125. pulumi_alicloud/ims/oidc_provider.py +24 -13
  126. pulumi_alicloud/kvstore/account.py +9 -9
  127. pulumi_alicloud/kvstore/connection.py +2 -2
  128. pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
  129. pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
  130. pulumi_alicloud/kvstore/instance.py +7 -7
  131. pulumi_alicloud/kvstore/outputs.py +2 -2
  132. pulumi_alicloud/live/caster.py +2 -2
  133. pulumi_alicloud/maxcompute/__init__.py +1 -0
  134. pulumi_alicloud/maxcompute/_inputs.py +232 -3
  135. pulumi_alicloud/maxcompute/outputs.py +183 -2
  136. pulumi_alicloud/maxcompute/project.py +2 -2
  137. pulumi_alicloud/maxcompute/quota.py +438 -0
  138. pulumi_alicloud/nas/mount_target.py +149 -54
  139. pulumi_alicloud/nlb/__init__.py +1 -0
  140. pulumi_alicloud/nlb/_inputs.py +43 -6
  141. pulumi_alicloud/nlb/load_balancer.py +212 -24
  142. pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
  143. pulumi_alicloud/nlb/outputs.py +30 -4
  144. pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
  145. pulumi_alicloud/oss/__init__.py +1 -0
  146. pulumi_alicloud/oss/_inputs.py +20 -0
  147. pulumi_alicloud/oss/access_point.py +2 -2
  148. pulumi_alicloud/oss/bucket_cname.py +2 -2
  149. pulumi_alicloud/oss/bucket_cors.py +2 -2
  150. pulumi_alicloud/oss/bucket_style.py +402 -0
  151. pulumi_alicloud/oss/bucket_website.py +2 -2
  152. pulumi_alicloud/oss/outputs.py +14 -0
  153. pulumi_alicloud/pai/service.py +59 -67
  154. pulumi_alicloud/polardb/cluster.py +75 -28
  155. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
  156. pulumi_alicloud/pulumi-plugin.json +1 -1
  157. pulumi_alicloud/ram/__init__.py +3 -0
  158. pulumi_alicloud/ram/_inputs.py +9 -9
  159. pulumi_alicloud/ram/access_key.py +77 -31
  160. pulumi_alicloud/ram/account_alias.py +18 -45
  161. pulumi_alicloud/ram/get_system_policys.py +189 -0
  162. pulumi_alicloud/ram/group.py +156 -35
  163. pulumi_alicloud/ram/group_policy_attachment.py +51 -29
  164. pulumi_alicloud/ram/login_profile.py +92 -38
  165. pulumi_alicloud/ram/outputs.py +91 -6
  166. pulumi_alicloud/ram/password_policy.py +779 -0
  167. pulumi_alicloud/ram/policy.py +199 -88
  168. pulumi_alicloud/ram/role_policy_attachment.py +51 -29
  169. pulumi_alicloud/ram/saml_provider.py +44 -37
  170. pulumi_alicloud/ram/user_group_attachment.py +273 -0
  171. pulumi_alicloud/ram/user_policy_attachment.py +49 -27
  172. pulumi_alicloud/rds/__init__.py +1 -0
  173. pulumi_alicloud/rds/custom_disk.py +1053 -0
  174. pulumi_alicloud/rds/instance.py +110 -14
  175. pulumi_alicloud/redis/tair_instance.py +14 -14
  176. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  177. pulumi_alicloud/resourcemanager/_inputs.py +53 -0
  178. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
  179. pulumi_alicloud/resourcemanager/outputs.py +50 -0
  180. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  181. pulumi_alicloud/rocketmq/__init__.py +1 -1
  182. pulumi_alicloud/rocketmq/_inputs.py +146 -4
  183. pulumi_alicloud/rocketmq/account.py +452 -0
  184. pulumi_alicloud/rocketmq/acl.py +473 -47
  185. pulumi_alicloud/rocketmq/client_user.py +8 -2
  186. pulumi_alicloud/rocketmq/consumer_group.py +121 -24
  187. pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
  188. pulumi_alicloud/rocketmq/outputs.py +113 -4
  189. pulumi_alicloud/rocketmq/qos.py +8 -2
  190. pulumi_alicloud/rocketmq/qos_car.py +10 -4
  191. pulumi_alicloud/rocketmq/qos_policy.py +6 -0
  192. pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
  193. pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
  194. pulumi_alicloud/rocketmq/snat_entry.py +8 -2
  195. pulumi_alicloud/sag/__init__.py +8 -0
  196. pulumi_alicloud/sag/acl.py +200 -0
  197. pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
  198. pulumi_alicloud/sag/client_user.py +560 -0
  199. pulumi_alicloud/sag/dnat_entry.py +512 -0
  200. pulumi_alicloud/sag/get_acls.py +2 -2
  201. pulumi_alicloud/sag/qos.py +202 -0
  202. pulumi_alicloud/sag/qos_car.py +654 -0
  203. pulumi_alicloud/sag/qos_policy.py +659 -0
  204. pulumi_alicloud/sag/snat_entry.py +313 -0
  205. pulumi_alicloud/securitycenter/group.py +2 -2
  206. pulumi_alicloud/selectdb/db_instance.py +60 -11
  207. pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
  208. pulumi_alicloud/sls/oss_export_sink.py +2 -2
  209. pulumi_alicloud/threatdetection/__init__.py +3 -0
  210. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
  211. pulumi_alicloud/threatdetection/asset_bind.py +209 -0
  212. pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
  213. pulumi_alicloud/threatdetection/instance.py +271 -54
  214. pulumi_alicloud/threatdetection/log_meta.py +351 -0
  215. pulumi_alicloud/vpc/__init__.py +1 -0
  216. pulumi_alicloud/vpc/_inputs.py +281 -0
  217. pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
  218. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
  219. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
  220. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
  221. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
  222. pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
  223. pulumi_alicloud/vpc/ipv6_address.py +85 -5
  224. pulumi_alicloud/vpc/outputs.py +232 -0
  225. pulumi_alicloud/vpc/peer_connection.py +84 -42
  226. pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
  227. pulumi_alicloud/vpc/route_table.py +100 -45
  228. pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
  229. pulumi_alicloud/vpn/_inputs.py +716 -71
  230. pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
  231. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
  232. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  233. pulumi_alicloud/vpn/outputs.py +1963 -998
  234. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/METADATA +1 -1
  235. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/RECORD +237 -197
  236. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/WHEEL +0 -0
  237. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,724 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['VPCRouteEntryArgs', 'VPCRouteEntry']
20
+
21
+ @pulumi.input_type
22
+ class VPCRouteEntryArgs:
23
+ def __init__(__self__, *,
24
+ destination_cidr_block: pulumi.Input[str],
25
+ route_table_id: pulumi.Input[str],
26
+ description: Optional[pulumi.Input[str]] = None,
27
+ next_hops: Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryNextHopArgs']]]] = None,
28
+ nexthop_id: Optional[pulumi.Input[str]] = None,
29
+ nexthop_type: Optional[pulumi.Input[str]] = None,
30
+ route_entry_name: Optional[pulumi.Input[str]] = None,
31
+ route_publish_targets: Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryRoutePublishTargetArgs']]]] = None):
32
+ """
33
+ The set of arguments for constructing a VPCRouteEntry resource.
34
+ :param pulumi.Input[str] destination_cidr_block: The destination network segment of the routing entry.
35
+ :param pulumi.Input[str] route_table_id: Routing table ID
36
+ :param pulumi.Input[str] description: Description of the route entry.
37
+ :param pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryNextHopArgs']]] next_hops: Next jump See `next_hops` below.
38
+ :param pulumi.Input[str] nexthop_id: The ID of the next hop instance of the custom route entry.
39
+ :param pulumi.Input[str] nexthop_type: The type of the next hop of the custom route entry. Valid values:
40
+ - `Instance` (default): The ECS Instance.
41
+ - `HaVip`: a highly available virtual IP address.
42
+ - `RouterInterface`: indicates the router interface.
43
+ - **Network interface**: ENI.
44
+ - `VpnGateway`: the VPN gateway.
45
+ - `IPv6Gateway`:IPv6 gateway.
46
+ - `NatGateway`:NAT gateway.
47
+ - `Attachment`: The forwarding router.
48
+ - `VpcPeer`:VPC peer connection.
49
+ - `Ipv4Gateway`:IPv4 Gateway.
50
+ - `GatewayEndpoint`: the gateway endpoint.
51
+ - `Ecr`: Leased line gateway.
52
+ - `GatewayLoadBalancerEndpoint`: The Gateway-based load balancing endpoint.
53
+ :param pulumi.Input[str] route_entry_name: The name of the route entry.
54
+ :param pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryRoutePublishTargetArgs']]] route_publish_targets: Route publish status and publish target type See `route_publish_targets` below.
55
+ """
56
+ pulumi.set(__self__, "destination_cidr_block", destination_cidr_block)
57
+ pulumi.set(__self__, "route_table_id", route_table_id)
58
+ if description is not None:
59
+ pulumi.set(__self__, "description", description)
60
+ if next_hops is not None:
61
+ pulumi.set(__self__, "next_hops", next_hops)
62
+ if nexthop_id is not None:
63
+ pulumi.set(__self__, "nexthop_id", nexthop_id)
64
+ if nexthop_type is not None:
65
+ pulumi.set(__self__, "nexthop_type", nexthop_type)
66
+ if route_entry_name is not None:
67
+ pulumi.set(__self__, "route_entry_name", route_entry_name)
68
+ if route_publish_targets is not None:
69
+ pulumi.set(__self__, "route_publish_targets", route_publish_targets)
70
+
71
+ @property
72
+ @pulumi.getter(name="destinationCidrBlock")
73
+ def destination_cidr_block(self) -> pulumi.Input[str]:
74
+ """
75
+ The destination network segment of the routing entry.
76
+ """
77
+ return pulumi.get(self, "destination_cidr_block")
78
+
79
+ @destination_cidr_block.setter
80
+ def destination_cidr_block(self, value: pulumi.Input[str]):
81
+ pulumi.set(self, "destination_cidr_block", value)
82
+
83
+ @property
84
+ @pulumi.getter(name="routeTableId")
85
+ def route_table_id(self) -> pulumi.Input[str]:
86
+ """
87
+ Routing table ID
88
+ """
89
+ return pulumi.get(self, "route_table_id")
90
+
91
+ @route_table_id.setter
92
+ def route_table_id(self, value: pulumi.Input[str]):
93
+ pulumi.set(self, "route_table_id", value)
94
+
95
+ @property
96
+ @pulumi.getter
97
+ def description(self) -> Optional[pulumi.Input[str]]:
98
+ """
99
+ Description of the route entry.
100
+ """
101
+ return pulumi.get(self, "description")
102
+
103
+ @description.setter
104
+ def description(self, value: Optional[pulumi.Input[str]]):
105
+ pulumi.set(self, "description", value)
106
+
107
+ @property
108
+ @pulumi.getter(name="nextHops")
109
+ def next_hops(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryNextHopArgs']]]]:
110
+ """
111
+ Next jump See `next_hops` below.
112
+ """
113
+ return pulumi.get(self, "next_hops")
114
+
115
+ @next_hops.setter
116
+ def next_hops(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryNextHopArgs']]]]):
117
+ pulumi.set(self, "next_hops", value)
118
+
119
+ @property
120
+ @pulumi.getter(name="nexthopId")
121
+ def nexthop_id(self) -> Optional[pulumi.Input[str]]:
122
+ """
123
+ The ID of the next hop instance of the custom route entry.
124
+ """
125
+ return pulumi.get(self, "nexthop_id")
126
+
127
+ @nexthop_id.setter
128
+ def nexthop_id(self, value: Optional[pulumi.Input[str]]):
129
+ pulumi.set(self, "nexthop_id", value)
130
+
131
+ @property
132
+ @pulumi.getter(name="nexthopType")
133
+ def nexthop_type(self) -> Optional[pulumi.Input[str]]:
134
+ """
135
+ The type of the next hop of the custom route entry. Valid values:
136
+ - `Instance` (default): The ECS Instance.
137
+ - `HaVip`: a highly available virtual IP address.
138
+ - `RouterInterface`: indicates the router interface.
139
+ - **Network interface**: ENI.
140
+ - `VpnGateway`: the VPN gateway.
141
+ - `IPv6Gateway`:IPv6 gateway.
142
+ - `NatGateway`:NAT gateway.
143
+ - `Attachment`: The forwarding router.
144
+ - `VpcPeer`:VPC peer connection.
145
+ - `Ipv4Gateway`:IPv4 Gateway.
146
+ - `GatewayEndpoint`: the gateway endpoint.
147
+ - `Ecr`: Leased line gateway.
148
+ - `GatewayLoadBalancerEndpoint`: The Gateway-based load balancing endpoint.
149
+ """
150
+ return pulumi.get(self, "nexthop_type")
151
+
152
+ @nexthop_type.setter
153
+ def nexthop_type(self, value: Optional[pulumi.Input[str]]):
154
+ pulumi.set(self, "nexthop_type", value)
155
+
156
+ @property
157
+ @pulumi.getter(name="routeEntryName")
158
+ def route_entry_name(self) -> Optional[pulumi.Input[str]]:
159
+ """
160
+ The name of the route entry.
161
+ """
162
+ return pulumi.get(self, "route_entry_name")
163
+
164
+ @route_entry_name.setter
165
+ def route_entry_name(self, value: Optional[pulumi.Input[str]]):
166
+ pulumi.set(self, "route_entry_name", value)
167
+
168
+ @property
169
+ @pulumi.getter(name="routePublishTargets")
170
+ def route_publish_targets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryRoutePublishTargetArgs']]]]:
171
+ """
172
+ Route publish status and publish target type See `route_publish_targets` below.
173
+ """
174
+ return pulumi.get(self, "route_publish_targets")
175
+
176
+ @route_publish_targets.setter
177
+ def route_publish_targets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryRoutePublishTargetArgs']]]]):
178
+ pulumi.set(self, "route_publish_targets", value)
179
+
180
+
181
+ @pulumi.input_type
182
+ class _VPCRouteEntryState:
183
+ def __init__(__self__, *,
184
+ description: Optional[pulumi.Input[str]] = None,
185
+ destination_cidr_block: Optional[pulumi.Input[str]] = None,
186
+ next_hops: Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryNextHopArgs']]]] = None,
187
+ nexthop_id: Optional[pulumi.Input[str]] = None,
188
+ nexthop_type: Optional[pulumi.Input[str]] = None,
189
+ route_entry_name: Optional[pulumi.Input[str]] = None,
190
+ route_publish_targets: Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryRoutePublishTargetArgs']]]] = None,
191
+ route_table_id: Optional[pulumi.Input[str]] = None,
192
+ status: Optional[pulumi.Input[str]] = None):
193
+ """
194
+ Input properties used for looking up and filtering VPCRouteEntry resources.
195
+ :param pulumi.Input[str] description: Description of the route entry.
196
+ :param pulumi.Input[str] destination_cidr_block: The destination network segment of the routing entry.
197
+ :param pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryNextHopArgs']]] next_hops: Next jump See `next_hops` below.
198
+ :param pulumi.Input[str] nexthop_id: The ID of the next hop instance of the custom route entry.
199
+ :param pulumi.Input[str] nexthop_type: The type of the next hop of the custom route entry. Valid values:
200
+ - `Instance` (default): The ECS Instance.
201
+ - `HaVip`: a highly available virtual IP address.
202
+ - `RouterInterface`: indicates the router interface.
203
+ - **Network interface**: ENI.
204
+ - `VpnGateway`: the VPN gateway.
205
+ - `IPv6Gateway`:IPv6 gateway.
206
+ - `NatGateway`:NAT gateway.
207
+ - `Attachment`: The forwarding router.
208
+ - `VpcPeer`:VPC peer connection.
209
+ - `Ipv4Gateway`:IPv4 Gateway.
210
+ - `GatewayEndpoint`: the gateway endpoint.
211
+ - `Ecr`: Leased line gateway.
212
+ - `GatewayLoadBalancerEndpoint`: The Gateway-based load balancing endpoint.
213
+ :param pulumi.Input[str] route_entry_name: The name of the route entry.
214
+ :param pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryRoutePublishTargetArgs']]] route_publish_targets: Route publish status and publish target type See `route_publish_targets` below.
215
+ :param pulumi.Input[str] route_table_id: Routing table ID
216
+ :param pulumi.Input[str] status: The status of the route entry.
217
+ """
218
+ if description is not None:
219
+ pulumi.set(__self__, "description", description)
220
+ if destination_cidr_block is not None:
221
+ pulumi.set(__self__, "destination_cidr_block", destination_cidr_block)
222
+ if next_hops is not None:
223
+ pulumi.set(__self__, "next_hops", next_hops)
224
+ if nexthop_id is not None:
225
+ pulumi.set(__self__, "nexthop_id", nexthop_id)
226
+ if nexthop_type is not None:
227
+ pulumi.set(__self__, "nexthop_type", nexthop_type)
228
+ if route_entry_name is not None:
229
+ pulumi.set(__self__, "route_entry_name", route_entry_name)
230
+ if route_publish_targets is not None:
231
+ pulumi.set(__self__, "route_publish_targets", route_publish_targets)
232
+ if route_table_id is not None:
233
+ pulumi.set(__self__, "route_table_id", route_table_id)
234
+ if status is not None:
235
+ pulumi.set(__self__, "status", status)
236
+
237
+ @property
238
+ @pulumi.getter
239
+ def description(self) -> Optional[pulumi.Input[str]]:
240
+ """
241
+ Description of the route entry.
242
+ """
243
+ return pulumi.get(self, "description")
244
+
245
+ @description.setter
246
+ def description(self, value: Optional[pulumi.Input[str]]):
247
+ pulumi.set(self, "description", value)
248
+
249
+ @property
250
+ @pulumi.getter(name="destinationCidrBlock")
251
+ def destination_cidr_block(self) -> Optional[pulumi.Input[str]]:
252
+ """
253
+ The destination network segment of the routing entry.
254
+ """
255
+ return pulumi.get(self, "destination_cidr_block")
256
+
257
+ @destination_cidr_block.setter
258
+ def destination_cidr_block(self, value: Optional[pulumi.Input[str]]):
259
+ pulumi.set(self, "destination_cidr_block", value)
260
+
261
+ @property
262
+ @pulumi.getter(name="nextHops")
263
+ def next_hops(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryNextHopArgs']]]]:
264
+ """
265
+ Next jump See `next_hops` below.
266
+ """
267
+ return pulumi.get(self, "next_hops")
268
+
269
+ @next_hops.setter
270
+ def next_hops(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryNextHopArgs']]]]):
271
+ pulumi.set(self, "next_hops", value)
272
+
273
+ @property
274
+ @pulumi.getter(name="nexthopId")
275
+ def nexthop_id(self) -> Optional[pulumi.Input[str]]:
276
+ """
277
+ The ID of the next hop instance of the custom route entry.
278
+ """
279
+ return pulumi.get(self, "nexthop_id")
280
+
281
+ @nexthop_id.setter
282
+ def nexthop_id(self, value: Optional[pulumi.Input[str]]):
283
+ pulumi.set(self, "nexthop_id", value)
284
+
285
+ @property
286
+ @pulumi.getter(name="nexthopType")
287
+ def nexthop_type(self) -> Optional[pulumi.Input[str]]:
288
+ """
289
+ The type of the next hop of the custom route entry. Valid values:
290
+ - `Instance` (default): The ECS Instance.
291
+ - `HaVip`: a highly available virtual IP address.
292
+ - `RouterInterface`: indicates the router interface.
293
+ - **Network interface**: ENI.
294
+ - `VpnGateway`: the VPN gateway.
295
+ - `IPv6Gateway`:IPv6 gateway.
296
+ - `NatGateway`:NAT gateway.
297
+ - `Attachment`: The forwarding router.
298
+ - `VpcPeer`:VPC peer connection.
299
+ - `Ipv4Gateway`:IPv4 Gateway.
300
+ - `GatewayEndpoint`: the gateway endpoint.
301
+ - `Ecr`: Leased line gateway.
302
+ - `GatewayLoadBalancerEndpoint`: The Gateway-based load balancing endpoint.
303
+ """
304
+ return pulumi.get(self, "nexthop_type")
305
+
306
+ @nexthop_type.setter
307
+ def nexthop_type(self, value: Optional[pulumi.Input[str]]):
308
+ pulumi.set(self, "nexthop_type", value)
309
+
310
+ @property
311
+ @pulumi.getter(name="routeEntryName")
312
+ def route_entry_name(self) -> Optional[pulumi.Input[str]]:
313
+ """
314
+ The name of the route entry.
315
+ """
316
+ return pulumi.get(self, "route_entry_name")
317
+
318
+ @route_entry_name.setter
319
+ def route_entry_name(self, value: Optional[pulumi.Input[str]]):
320
+ pulumi.set(self, "route_entry_name", value)
321
+
322
+ @property
323
+ @pulumi.getter(name="routePublishTargets")
324
+ def route_publish_targets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryRoutePublishTargetArgs']]]]:
325
+ """
326
+ Route publish status and publish target type See `route_publish_targets` below.
327
+ """
328
+ return pulumi.get(self, "route_publish_targets")
329
+
330
+ @route_publish_targets.setter
331
+ def route_publish_targets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VPCRouteEntryRoutePublishTargetArgs']]]]):
332
+ pulumi.set(self, "route_publish_targets", value)
333
+
334
+ @property
335
+ @pulumi.getter(name="routeTableId")
336
+ def route_table_id(self) -> Optional[pulumi.Input[str]]:
337
+ """
338
+ Routing table ID
339
+ """
340
+ return pulumi.get(self, "route_table_id")
341
+
342
+ @route_table_id.setter
343
+ def route_table_id(self, value: Optional[pulumi.Input[str]]):
344
+ pulumi.set(self, "route_table_id", value)
345
+
346
+ @property
347
+ @pulumi.getter
348
+ def status(self) -> Optional[pulumi.Input[str]]:
349
+ """
350
+ The status of the route entry.
351
+ """
352
+ return pulumi.get(self, "status")
353
+
354
+ @status.setter
355
+ def status(self, value: Optional[pulumi.Input[str]]):
356
+ pulumi.set(self, "status", value)
357
+
358
+
359
+ class VPCRouteEntry(pulumi.CustomResource):
360
+ @overload
361
+ def __init__(__self__,
362
+ resource_name: str,
363
+ opts: Optional[pulumi.ResourceOptions] = None,
364
+ description: Optional[pulumi.Input[str]] = None,
365
+ destination_cidr_block: Optional[pulumi.Input[str]] = None,
366
+ next_hops: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryNextHopArgs', 'VPCRouteEntryNextHopArgsDict']]]]] = None,
367
+ nexthop_id: Optional[pulumi.Input[str]] = None,
368
+ nexthop_type: Optional[pulumi.Input[str]] = None,
369
+ route_entry_name: Optional[pulumi.Input[str]] = None,
370
+ route_publish_targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryRoutePublishTargetArgs', 'VPCRouteEntryRoutePublishTargetArgsDict']]]]] = None,
371
+ route_table_id: Optional[pulumi.Input[str]] = None,
372
+ __props__=None):
373
+ """
374
+ Provides a VPC Route Entry resource.
375
+
376
+ There are route entries in the routing table, and the next hop is judged based on the route entries.
377
+
378
+ For information about VPC Route Entry and how to use it, see [What is Route Entry](https://www.alibabacloud.com/help/en/vpc/developer-reference/api-vpc-2016-04-28-createrouteentry).
379
+
380
+ > **NOTE:** Available since v1.245.0.
381
+
382
+ ## Example Usage
383
+
384
+ Basic Usage
385
+
386
+ ```python
387
+ import pulumi
388
+ import pulumi_alicloud as alicloud
389
+
390
+ config = pulumi.Config()
391
+ name = config.get("name")
392
+ if name is None:
393
+ name = "terraform-example"
394
+ default = alicloud.get_zones(available_disk_category="cloud_efficiency",
395
+ available_resource_creation="VSwitch")
396
+ default_get_images = alicloud.ecs.get_images(most_recent=True,
397
+ owners="system")
398
+ default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
399
+ image_id=default_get_images.images[0].id)
400
+ default_network = alicloud.vpc.Network("default",
401
+ vpc_name=name,
402
+ cidr_block="192.168.0.0/16")
403
+ default_switch = alicloud.vpc.Switch("default",
404
+ vswitch_name=name,
405
+ vpc_id=default_network.id,
406
+ cidr_block="192.168.192.0/24",
407
+ zone_id=default.zones[0].id)
408
+ default_security_group = alicloud.ecs.SecurityGroup("default",
409
+ name=name,
410
+ vpc_id=default_network.id)
411
+ default_instance = alicloud.ecs.Instance("default",
412
+ image_id=default_get_images.images[0].id,
413
+ instance_type=default_get_instance_types.instance_types[0].id,
414
+ security_groups=[__item.id for __item in [default_security_group]],
415
+ internet_charge_type="PayByTraffic",
416
+ internet_max_bandwidth_out=10,
417
+ availability_zone=default_get_instance_types.instance_types[0].availability_zones[0],
418
+ instance_charge_type="PostPaid",
419
+ system_disk_category="cloud_efficiency",
420
+ vswitch_id=default_switch.id,
421
+ instance_name=name)
422
+ foo = alicloud.vpc.RouteEntry("foo",
423
+ route_table_id=default_network.route_table_id,
424
+ destination_cidrblock="172.11.1.1/32",
425
+ nexthop_type="Instance",
426
+ nexthop_id=default_instance.id)
427
+ ```
428
+
429
+ ## Import
430
+
431
+ VPC Route Entry can be imported using the id, e.g.
432
+
433
+ ```sh
434
+ $ pulumi import alicloud:vpc/vPCRouteEntry:VPCRouteEntry example <route_table_id>:<destination_cidr_block>
435
+ ```
436
+
437
+ :param str resource_name: The name of the resource.
438
+ :param pulumi.ResourceOptions opts: Options for the resource.
439
+ :param pulumi.Input[str] description: Description of the route entry.
440
+ :param pulumi.Input[str] destination_cidr_block: The destination network segment of the routing entry.
441
+ :param pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryNextHopArgs', 'VPCRouteEntryNextHopArgsDict']]]] next_hops: Next jump See `next_hops` below.
442
+ :param pulumi.Input[str] nexthop_id: The ID of the next hop instance of the custom route entry.
443
+ :param pulumi.Input[str] nexthop_type: The type of the next hop of the custom route entry. Valid values:
444
+ - `Instance` (default): The ECS Instance.
445
+ - `HaVip`: a highly available virtual IP address.
446
+ - `RouterInterface`: indicates the router interface.
447
+ - **Network interface**: ENI.
448
+ - `VpnGateway`: the VPN gateway.
449
+ - `IPv6Gateway`:IPv6 gateway.
450
+ - `NatGateway`:NAT gateway.
451
+ - `Attachment`: The forwarding router.
452
+ - `VpcPeer`:VPC peer connection.
453
+ - `Ipv4Gateway`:IPv4 Gateway.
454
+ - `GatewayEndpoint`: the gateway endpoint.
455
+ - `Ecr`: Leased line gateway.
456
+ - `GatewayLoadBalancerEndpoint`: The Gateway-based load balancing endpoint.
457
+ :param pulumi.Input[str] route_entry_name: The name of the route entry.
458
+ :param pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryRoutePublishTargetArgs', 'VPCRouteEntryRoutePublishTargetArgsDict']]]] route_publish_targets: Route publish status and publish target type See `route_publish_targets` below.
459
+ :param pulumi.Input[str] route_table_id: Routing table ID
460
+ """
461
+ ...
462
+ @overload
463
+ def __init__(__self__,
464
+ resource_name: str,
465
+ args: VPCRouteEntryArgs,
466
+ opts: Optional[pulumi.ResourceOptions] = None):
467
+ """
468
+ Provides a VPC Route Entry resource.
469
+
470
+ There are route entries in the routing table, and the next hop is judged based on the route entries.
471
+
472
+ For information about VPC Route Entry and how to use it, see [What is Route Entry](https://www.alibabacloud.com/help/en/vpc/developer-reference/api-vpc-2016-04-28-createrouteentry).
473
+
474
+ > **NOTE:** Available since v1.245.0.
475
+
476
+ ## Example Usage
477
+
478
+ Basic Usage
479
+
480
+ ```python
481
+ import pulumi
482
+ import pulumi_alicloud as alicloud
483
+
484
+ config = pulumi.Config()
485
+ name = config.get("name")
486
+ if name is None:
487
+ name = "terraform-example"
488
+ default = alicloud.get_zones(available_disk_category="cloud_efficiency",
489
+ available_resource_creation="VSwitch")
490
+ default_get_images = alicloud.ecs.get_images(most_recent=True,
491
+ owners="system")
492
+ default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
493
+ image_id=default_get_images.images[0].id)
494
+ default_network = alicloud.vpc.Network("default",
495
+ vpc_name=name,
496
+ cidr_block="192.168.0.0/16")
497
+ default_switch = alicloud.vpc.Switch("default",
498
+ vswitch_name=name,
499
+ vpc_id=default_network.id,
500
+ cidr_block="192.168.192.0/24",
501
+ zone_id=default.zones[0].id)
502
+ default_security_group = alicloud.ecs.SecurityGroup("default",
503
+ name=name,
504
+ vpc_id=default_network.id)
505
+ default_instance = alicloud.ecs.Instance("default",
506
+ image_id=default_get_images.images[0].id,
507
+ instance_type=default_get_instance_types.instance_types[0].id,
508
+ security_groups=[__item.id for __item in [default_security_group]],
509
+ internet_charge_type="PayByTraffic",
510
+ internet_max_bandwidth_out=10,
511
+ availability_zone=default_get_instance_types.instance_types[0].availability_zones[0],
512
+ instance_charge_type="PostPaid",
513
+ system_disk_category="cloud_efficiency",
514
+ vswitch_id=default_switch.id,
515
+ instance_name=name)
516
+ foo = alicloud.vpc.RouteEntry("foo",
517
+ route_table_id=default_network.route_table_id,
518
+ destination_cidrblock="172.11.1.1/32",
519
+ nexthop_type="Instance",
520
+ nexthop_id=default_instance.id)
521
+ ```
522
+
523
+ ## Import
524
+
525
+ VPC Route Entry can be imported using the id, e.g.
526
+
527
+ ```sh
528
+ $ pulumi import alicloud:vpc/vPCRouteEntry:VPCRouteEntry example <route_table_id>:<destination_cidr_block>
529
+ ```
530
+
531
+ :param str resource_name: The name of the resource.
532
+ :param VPCRouteEntryArgs args: The arguments to use to populate this resource's properties.
533
+ :param pulumi.ResourceOptions opts: Options for the resource.
534
+ """
535
+ ...
536
+ def __init__(__self__, resource_name: str, *args, **kwargs):
537
+ resource_args, opts = _utilities.get_resource_args_opts(VPCRouteEntryArgs, pulumi.ResourceOptions, *args, **kwargs)
538
+ if resource_args is not None:
539
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
540
+ else:
541
+ __self__._internal_init(resource_name, *args, **kwargs)
542
+
543
+ def _internal_init(__self__,
544
+ resource_name: str,
545
+ opts: Optional[pulumi.ResourceOptions] = None,
546
+ description: Optional[pulumi.Input[str]] = None,
547
+ destination_cidr_block: Optional[pulumi.Input[str]] = None,
548
+ next_hops: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryNextHopArgs', 'VPCRouteEntryNextHopArgsDict']]]]] = None,
549
+ nexthop_id: Optional[pulumi.Input[str]] = None,
550
+ nexthop_type: Optional[pulumi.Input[str]] = None,
551
+ route_entry_name: Optional[pulumi.Input[str]] = None,
552
+ route_publish_targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryRoutePublishTargetArgs', 'VPCRouteEntryRoutePublishTargetArgsDict']]]]] = None,
553
+ route_table_id: Optional[pulumi.Input[str]] = None,
554
+ __props__=None):
555
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
556
+ if not isinstance(opts, pulumi.ResourceOptions):
557
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
558
+ if opts.id is None:
559
+ if __props__ is not None:
560
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
561
+ __props__ = VPCRouteEntryArgs.__new__(VPCRouteEntryArgs)
562
+
563
+ __props__.__dict__["description"] = description
564
+ if destination_cidr_block is None and not opts.urn:
565
+ raise TypeError("Missing required property 'destination_cidr_block'")
566
+ __props__.__dict__["destination_cidr_block"] = destination_cidr_block
567
+ __props__.__dict__["next_hops"] = next_hops
568
+ __props__.__dict__["nexthop_id"] = nexthop_id
569
+ __props__.__dict__["nexthop_type"] = nexthop_type
570
+ __props__.__dict__["route_entry_name"] = route_entry_name
571
+ __props__.__dict__["route_publish_targets"] = route_publish_targets
572
+ if route_table_id is None and not opts.urn:
573
+ raise TypeError("Missing required property 'route_table_id'")
574
+ __props__.__dict__["route_table_id"] = route_table_id
575
+ __props__.__dict__["status"] = None
576
+ super(VPCRouteEntry, __self__).__init__(
577
+ 'alicloud:vpc/vPCRouteEntry:VPCRouteEntry',
578
+ resource_name,
579
+ __props__,
580
+ opts)
581
+
582
+ @staticmethod
583
+ def get(resource_name: str,
584
+ id: pulumi.Input[str],
585
+ opts: Optional[pulumi.ResourceOptions] = None,
586
+ description: Optional[pulumi.Input[str]] = None,
587
+ destination_cidr_block: Optional[pulumi.Input[str]] = None,
588
+ next_hops: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryNextHopArgs', 'VPCRouteEntryNextHopArgsDict']]]]] = None,
589
+ nexthop_id: Optional[pulumi.Input[str]] = None,
590
+ nexthop_type: Optional[pulumi.Input[str]] = None,
591
+ route_entry_name: Optional[pulumi.Input[str]] = None,
592
+ route_publish_targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryRoutePublishTargetArgs', 'VPCRouteEntryRoutePublishTargetArgsDict']]]]] = None,
593
+ route_table_id: Optional[pulumi.Input[str]] = None,
594
+ status: Optional[pulumi.Input[str]] = None) -> 'VPCRouteEntry':
595
+ """
596
+ Get an existing VPCRouteEntry resource's state with the given name, id, and optional extra
597
+ properties used to qualify the lookup.
598
+
599
+ :param str resource_name: The unique name of the resulting resource.
600
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
601
+ :param pulumi.ResourceOptions opts: Options for the resource.
602
+ :param pulumi.Input[str] description: Description of the route entry.
603
+ :param pulumi.Input[str] destination_cidr_block: The destination network segment of the routing entry.
604
+ :param pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryNextHopArgs', 'VPCRouteEntryNextHopArgsDict']]]] next_hops: Next jump See `next_hops` below.
605
+ :param pulumi.Input[str] nexthop_id: The ID of the next hop instance of the custom route entry.
606
+ :param pulumi.Input[str] nexthop_type: The type of the next hop of the custom route entry. Valid values:
607
+ - `Instance` (default): The ECS Instance.
608
+ - `HaVip`: a highly available virtual IP address.
609
+ - `RouterInterface`: indicates the router interface.
610
+ - **Network interface**: ENI.
611
+ - `VpnGateway`: the VPN gateway.
612
+ - `IPv6Gateway`:IPv6 gateway.
613
+ - `NatGateway`:NAT gateway.
614
+ - `Attachment`: The forwarding router.
615
+ - `VpcPeer`:VPC peer connection.
616
+ - `Ipv4Gateway`:IPv4 Gateway.
617
+ - `GatewayEndpoint`: the gateway endpoint.
618
+ - `Ecr`: Leased line gateway.
619
+ - `GatewayLoadBalancerEndpoint`: The Gateway-based load balancing endpoint.
620
+ :param pulumi.Input[str] route_entry_name: The name of the route entry.
621
+ :param pulumi.Input[Sequence[pulumi.Input[Union['VPCRouteEntryRoutePublishTargetArgs', 'VPCRouteEntryRoutePublishTargetArgsDict']]]] route_publish_targets: Route publish status and publish target type See `route_publish_targets` below.
622
+ :param pulumi.Input[str] route_table_id: Routing table ID
623
+ :param pulumi.Input[str] status: The status of the route entry.
624
+ """
625
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
626
+
627
+ __props__ = _VPCRouteEntryState.__new__(_VPCRouteEntryState)
628
+
629
+ __props__.__dict__["description"] = description
630
+ __props__.__dict__["destination_cidr_block"] = destination_cidr_block
631
+ __props__.__dict__["next_hops"] = next_hops
632
+ __props__.__dict__["nexthop_id"] = nexthop_id
633
+ __props__.__dict__["nexthop_type"] = nexthop_type
634
+ __props__.__dict__["route_entry_name"] = route_entry_name
635
+ __props__.__dict__["route_publish_targets"] = route_publish_targets
636
+ __props__.__dict__["route_table_id"] = route_table_id
637
+ __props__.__dict__["status"] = status
638
+ return VPCRouteEntry(resource_name, opts=opts, __props__=__props__)
639
+
640
+ @property
641
+ @pulumi.getter
642
+ def description(self) -> pulumi.Output[Optional[str]]:
643
+ """
644
+ Description of the route entry.
645
+ """
646
+ return pulumi.get(self, "description")
647
+
648
+ @property
649
+ @pulumi.getter(name="destinationCidrBlock")
650
+ def destination_cidr_block(self) -> pulumi.Output[str]:
651
+ """
652
+ The destination network segment of the routing entry.
653
+ """
654
+ return pulumi.get(self, "destination_cidr_block")
655
+
656
+ @property
657
+ @pulumi.getter(name="nextHops")
658
+ def next_hops(self) -> pulumi.Output[Sequence['outputs.VPCRouteEntryNextHop']]:
659
+ """
660
+ Next jump See `next_hops` below.
661
+ """
662
+ return pulumi.get(self, "next_hops")
663
+
664
+ @property
665
+ @pulumi.getter(name="nexthopId")
666
+ def nexthop_id(self) -> pulumi.Output[str]:
667
+ """
668
+ The ID of the next hop instance of the custom route entry.
669
+ """
670
+ return pulumi.get(self, "nexthop_id")
671
+
672
+ @property
673
+ @pulumi.getter(name="nexthopType")
674
+ def nexthop_type(self) -> pulumi.Output[str]:
675
+ """
676
+ The type of the next hop of the custom route entry. Valid values:
677
+ - `Instance` (default): The ECS Instance.
678
+ - `HaVip`: a highly available virtual IP address.
679
+ - `RouterInterface`: indicates the router interface.
680
+ - **Network interface**: ENI.
681
+ - `VpnGateway`: the VPN gateway.
682
+ - `IPv6Gateway`:IPv6 gateway.
683
+ - `NatGateway`:NAT gateway.
684
+ - `Attachment`: The forwarding router.
685
+ - `VpcPeer`:VPC peer connection.
686
+ - `Ipv4Gateway`:IPv4 Gateway.
687
+ - `GatewayEndpoint`: the gateway endpoint.
688
+ - `Ecr`: Leased line gateway.
689
+ - `GatewayLoadBalancerEndpoint`: The Gateway-based load balancing endpoint.
690
+ """
691
+ return pulumi.get(self, "nexthop_type")
692
+
693
+ @property
694
+ @pulumi.getter(name="routeEntryName")
695
+ def route_entry_name(self) -> pulumi.Output[str]:
696
+ """
697
+ The name of the route entry.
698
+ """
699
+ return pulumi.get(self, "route_entry_name")
700
+
701
+ @property
702
+ @pulumi.getter(name="routePublishTargets")
703
+ def route_publish_targets(self) -> pulumi.Output[Optional[Sequence['outputs.VPCRouteEntryRoutePublishTarget']]]:
704
+ """
705
+ Route publish status and publish target type See `route_publish_targets` below.
706
+ """
707
+ return pulumi.get(self, "route_publish_targets")
708
+
709
+ @property
710
+ @pulumi.getter(name="routeTableId")
711
+ def route_table_id(self) -> pulumi.Output[str]:
712
+ """
713
+ Routing table ID
714
+ """
715
+ return pulumi.get(self, "route_table_id")
716
+
717
+ @property
718
+ @pulumi.getter
719
+ def status(self) -> pulumi.Output[str]:
720
+ """
721
+ The status of the route entry.
722
+ """
723
+ return pulumi.get(self, "status")
724
+