pulumi-alicloud 3.73.0a1736850863__py3-none-any.whl → 3.74.0__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 +139 -0
- pulumi_alicloud/alb/__init__.py +2 -0
- pulumi_alicloud/alb/_inputs.py +913 -250
- pulumi_alicloud/alb/a_script.py +116 -98
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +239 -118
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +303 -0
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +720 -222
- pulumi_alicloud/alb/server_group.py +532 -122
- pulumi_alicloud/alikafka/instance.py +188 -70
- pulumi_alicloud/amqp/instance.py +77 -28
- pulumi_alicloud/bastionhost/_inputs.py +40 -38
- pulumi_alicloud/bastionhost/get_instances.py +6 -22
- pulumi_alicloud/bastionhost/outputs.py +60 -49
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/instance_grant.py +4 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cloudcontrol/__init__.py +12 -0
- pulumi_alicloud/cloudcontrol/get_prices.py +199 -0
- pulumi_alicloud/cloudcontrol/get_products.py +187 -0
- pulumi_alicloud/cloudcontrol/get_resource_types.py +178 -0
- pulumi_alicloud/cloudcontrol/outputs.py +688 -0
- pulumi_alicloud/cloudcontrol/resource.py +407 -0
- pulumi_alicloud/cms/_inputs.py +21 -15
- pulumi_alicloud/cms/alarm.py +7 -7
- pulumi_alicloud/cms/outputs.py +14 -10
- pulumi_alicloud/cs/_inputs.py +349 -1
- pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +4 -2
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +29 -29
- pulumi_alicloud/cs/managed_kubernetes.py +137 -47
- pulumi_alicloud/cs/node_pool.py +77 -2
- pulumi_alicloud/cs/outputs.py +265 -1
- pulumi_alicloud/dataworks/__init__.py +4 -0
- pulumi_alicloud/dataworks/_inputs.py +1534 -0
- pulumi_alicloud/dataworks/di_alarm_rule.py +708 -0
- pulumi_alicloud/dataworks/di_job.py +1005 -0
- pulumi_alicloud/dataworks/dw_resource_group.py +703 -0
- pulumi_alicloud/dataworks/network.py +331 -0
- pulumi_alicloud/dataworks/outputs.py +1247 -0
- pulumi_alicloud/dcdn/waf_rule.py +14 -14
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/dns/get_alidns_domains.py +7 -2
- pulumi_alicloud/dns/outputs.py +8 -0
- pulumi_alicloud/ecs/ecs_launch_template.py +122 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
- pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/launch_template.py +88 -0
- pulumi_alicloud/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +81 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/outputs.py +48 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/custom_domain.py +2 -2
- pulumi_alicloud/fc/function.py +32 -4
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v2_function.py +20 -0
- pulumi_alicloud/fc/v3_function.py +53 -6
- pulumi_alicloud/hbr/__init__.py +1 -0
- pulumi_alicloud/hbr/cross_account.py +338 -0
- pulumi_alicloud/ims/oidc_provider.py +28 -0
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/log/resource_record.py +42 -26
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
- pulumi_alicloud/message/service_queue.py +106 -59
- pulumi_alicloud/message/service_topic.py +182 -37
- pulumi_alicloud/mongodb/account.py +138 -163
- pulumi_alicloud/oos/secret_parameter.py +84 -9
- pulumi_alicloud/oss/bucket.py +1 -1
- pulumi_alicloud/oss/bucket_policy.py +2 -4
- pulumi_alicloud/oss/bucket_referer.py +2 -4
- pulumi_alicloud/oss/get_buckets.py +16 -2
- pulumi_alicloud/oss/outputs.py +18 -17
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +68 -0
- pulumi_alicloud/sae/application.py +84 -7
- pulumi_alicloud/sls/collection_policy.py +2 -2
- pulumi_alicloud/vpc/__init__.py +6 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +295 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +196 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +353 -0
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +333 -0
- pulumi_alicloud/vpc/get_ipam_ipams.py +291 -0
- pulumi_alicloud/vpc/get_networks.py +3 -0
- pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- pulumi_alicloud/vpc/nat_gateway.py +145 -7
- pulumi_alicloud/vpc/outputs.py +777 -0
- pulumi_alicloud/vpc/snat_entry.py +107 -48
- pulumi_alicloud/vpn/_inputs.py +96 -72
- pulumi_alicloud/vpn/connection.py +24 -28
- pulumi_alicloud/vpn/outputs.py +64 -48
- pulumi_alicloud/yundun/_inputs.py +26 -24
- pulumi_alicloud/yundun/outputs.py +37 -22
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/RECORD +123 -95
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/top_level.txt +0 -0
|
@@ -152,7 +152,18 @@ class ApplicationArgs:
|
|
|
152
152
|
**NOTE:** Field `readiness` has been deprecated from provider version 1.211.0. New field `readiness_v2` instead.
|
|
153
153
|
:param pulumi.Input['ApplicationReadinessV2Args'] readiness_v2: The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See `readiness_v2` below.
|
|
154
154
|
:param pulumi.Input[str] security_group_id: Security group ID.
|
|
155
|
-
:param pulumi.Input[str] sls_configs: SLS
|
|
155
|
+
:param pulumi.Input[str] sls_configs: Configuration for log collection to SLS. Valid parameter descriptions are as follows:
|
|
156
|
+
* `projectName`: Configures the project name on SLS.
|
|
157
|
+
* `logDir`: Path to the logs.
|
|
158
|
+
* `logType`: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
|
|
159
|
+
* `logstoreName`: Configures the log store name on SLS.
|
|
160
|
+
* `logtailName`: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
|
|
161
|
+
|
|
162
|
+
If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples:
|
|
163
|
+
- Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
|
|
164
|
+
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
|
|
165
|
+
|
|
166
|
+
**NOTE:** Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE.
|
|
156
167
|
:param pulumi.Input[str] status: The status of the resource. Valid values: `RUNNING`, `STOPPED`, `UNKNOWN`.
|
|
157
168
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
158
169
|
:param pulumi.Input[int] termination_grace_period_seconds: Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
|
|
@@ -1021,7 +1032,18 @@ class ApplicationArgs:
|
|
|
1021
1032
|
@pulumi.getter(name="slsConfigs")
|
|
1022
1033
|
def sls_configs(self) -> Optional[pulumi.Input[str]]:
|
|
1023
1034
|
"""
|
|
1024
|
-
SLS
|
|
1035
|
+
Configuration for log collection to SLS. Valid parameter descriptions are as follows:
|
|
1036
|
+
* `projectName`: Configures the project name on SLS.
|
|
1037
|
+
* `logDir`: Path to the logs.
|
|
1038
|
+
* `logType`: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
|
|
1039
|
+
* `logstoreName`: Configures the log store name on SLS.
|
|
1040
|
+
* `logtailName`: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
|
|
1041
|
+
|
|
1042
|
+
If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples:
|
|
1043
|
+
- Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
|
|
1044
|
+
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
|
|
1045
|
+
|
|
1046
|
+
**NOTE:** Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE.
|
|
1025
1047
|
"""
|
|
1026
1048
|
return pulumi.get(self, "sls_configs")
|
|
1027
1049
|
|
|
@@ -1311,7 +1333,18 @@ class _ApplicationState:
|
|
|
1311
1333
|
:param pulumi.Input['ApplicationReadinessV2Args'] readiness_v2: The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See `readiness_v2` below.
|
|
1312
1334
|
:param pulumi.Input[int] replicas: Initial number of instances.
|
|
1313
1335
|
:param pulumi.Input[str] security_group_id: Security group ID.
|
|
1314
|
-
:param pulumi.Input[str] sls_configs: SLS
|
|
1336
|
+
:param pulumi.Input[str] sls_configs: Configuration for log collection to SLS. Valid parameter descriptions are as follows:
|
|
1337
|
+
* `projectName`: Configures the project name on SLS.
|
|
1338
|
+
* `logDir`: Path to the logs.
|
|
1339
|
+
* `logType`: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
|
|
1340
|
+
* `logstoreName`: Configures the log store name on SLS.
|
|
1341
|
+
* `logtailName`: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
|
|
1342
|
+
|
|
1343
|
+
If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples:
|
|
1344
|
+
- Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
|
|
1345
|
+
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
|
|
1346
|
+
|
|
1347
|
+
**NOTE:** Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE.
|
|
1315
1348
|
:param pulumi.Input[str] status: The status of the resource. Valid values: `RUNNING`, `STOPPED`, `UNKNOWN`.
|
|
1316
1349
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
1317
1350
|
:param pulumi.Input[int] termination_grace_period_seconds: Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
|
|
@@ -2183,7 +2216,18 @@ class _ApplicationState:
|
|
|
2183
2216
|
@pulumi.getter(name="slsConfigs")
|
|
2184
2217
|
def sls_configs(self) -> Optional[pulumi.Input[str]]:
|
|
2185
2218
|
"""
|
|
2186
|
-
SLS
|
|
2219
|
+
Configuration for log collection to SLS. Valid parameter descriptions are as follows:
|
|
2220
|
+
* `projectName`: Configures the project name on SLS.
|
|
2221
|
+
* `logDir`: Path to the logs.
|
|
2222
|
+
* `logType`: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
|
|
2223
|
+
* `logstoreName`: Configures the log store name on SLS.
|
|
2224
|
+
* `logtailName`: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
|
|
2225
|
+
|
|
2226
|
+
If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples:
|
|
2227
|
+
- Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
|
|
2228
|
+
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
|
|
2229
|
+
|
|
2230
|
+
**NOTE:** Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE.
|
|
2187
2231
|
"""
|
|
2188
2232
|
return pulumi.get(self, "sls_configs")
|
|
2189
2233
|
|
|
@@ -2541,7 +2585,18 @@ class Application(pulumi.CustomResource):
|
|
|
2541
2585
|
:param pulumi.Input[Union['ApplicationReadinessV2Args', 'ApplicationReadinessV2ArgsDict']] readiness_v2: The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See `readiness_v2` below.
|
|
2542
2586
|
:param pulumi.Input[int] replicas: Initial number of instances.
|
|
2543
2587
|
:param pulumi.Input[str] security_group_id: Security group ID.
|
|
2544
|
-
:param pulumi.Input[str] sls_configs: SLS
|
|
2588
|
+
:param pulumi.Input[str] sls_configs: Configuration for log collection to SLS. Valid parameter descriptions are as follows:
|
|
2589
|
+
* `projectName`: Configures the project name on SLS.
|
|
2590
|
+
* `logDir`: Path to the logs.
|
|
2591
|
+
* `logType`: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
|
|
2592
|
+
* `logstoreName`: Configures the log store name on SLS.
|
|
2593
|
+
* `logtailName`: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
|
|
2594
|
+
|
|
2595
|
+
If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples:
|
|
2596
|
+
- Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
|
|
2597
|
+
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
|
|
2598
|
+
|
|
2599
|
+
**NOTE:** Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE.
|
|
2545
2600
|
:param pulumi.Input[str] status: The status of the resource. Valid values: `RUNNING`, `STOPPED`, `UNKNOWN`.
|
|
2546
2601
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
2547
2602
|
:param pulumi.Input[int] termination_grace_period_seconds: Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
|
|
@@ -2943,7 +2998,18 @@ class Application(pulumi.CustomResource):
|
|
|
2943
2998
|
:param pulumi.Input[Union['ApplicationReadinessV2Args', 'ApplicationReadinessV2ArgsDict']] readiness_v2: The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See `readiness_v2` below.
|
|
2944
2999
|
:param pulumi.Input[int] replicas: Initial number of instances.
|
|
2945
3000
|
:param pulumi.Input[str] security_group_id: Security group ID.
|
|
2946
|
-
:param pulumi.Input[str] sls_configs: SLS
|
|
3001
|
+
:param pulumi.Input[str] sls_configs: Configuration for log collection to SLS. Valid parameter descriptions are as follows:
|
|
3002
|
+
* `projectName`: Configures the project name on SLS.
|
|
3003
|
+
* `logDir`: Path to the logs.
|
|
3004
|
+
* `logType`: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
|
|
3005
|
+
* `logstoreName`: Configures the log store name on SLS.
|
|
3006
|
+
* `logtailName`: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
|
|
3007
|
+
|
|
3008
|
+
If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples:
|
|
3009
|
+
- Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
|
|
3010
|
+
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
|
|
3011
|
+
|
|
3012
|
+
**NOTE:** Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE.
|
|
2947
3013
|
:param pulumi.Input[str] status: The status of the resource. Valid values: `RUNNING`, `STOPPED`, `UNKNOWN`.
|
|
2948
3014
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
2949
3015
|
:param pulumi.Input[int] termination_grace_period_seconds: Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
|
|
@@ -3497,7 +3563,18 @@ class Application(pulumi.CustomResource):
|
|
|
3497
3563
|
@pulumi.getter(name="slsConfigs")
|
|
3498
3564
|
def sls_configs(self) -> pulumi.Output[Optional[str]]:
|
|
3499
3565
|
"""
|
|
3500
|
-
SLS
|
|
3566
|
+
Configuration for log collection to SLS. Valid parameter descriptions are as follows:
|
|
3567
|
+
* `projectName`: Configures the project name on SLS.
|
|
3568
|
+
* `logDir`: Path to the logs.
|
|
3569
|
+
* `logType`: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
|
|
3570
|
+
* `logstoreName`: Configures the log store name on SLS.
|
|
3571
|
+
* `logtailName`: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
|
|
3572
|
+
|
|
3573
|
+
If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples:
|
|
3574
|
+
- Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
|
|
3575
|
+
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
|
|
3576
|
+
|
|
3577
|
+
**NOTE:** Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE.
|
|
3501
3578
|
"""
|
|
3502
3579
|
return pulumi.get(self, "sls_configs")
|
|
3503
3580
|
|
|
@@ -337,7 +337,7 @@ class CollectionPolicy(pulumi.CustomResource):
|
|
|
337
337
|
|
|
338
338
|
Orchestration policies for cloud product log collection.
|
|
339
339
|
|
|
340
|
-
For information about SLS Collection Policy and how to use it, see [What is Collection Policy](https://www.alibabacloud.com/help/
|
|
340
|
+
For information about SLS Collection Policy and how to use it, see [What is Collection Policy](https://www.alibabacloud.com/help/zh/sls/developer-reference/api-sls-2020-12-30-upsertcollectionpolicy).
|
|
341
341
|
|
|
342
342
|
> **NOTE:** Available since v1.232.0.
|
|
343
343
|
|
|
@@ -372,7 +372,7 @@ class CollectionPolicy(pulumi.CustomResource):
|
|
|
372
372
|
|
|
373
373
|
Orchestration policies for cloud product log collection.
|
|
374
374
|
|
|
375
|
-
For information about SLS Collection Policy and how to use it, see [What is Collection Policy](https://www.alibabacloud.com/help/
|
|
375
|
+
For information about SLS Collection Policy and how to use it, see [What is Collection Policy](https://www.alibabacloud.com/help/zh/sls/developer-reference/api-sls-2020-12-30-upsertcollectionpolicy).
|
|
376
376
|
|
|
377
377
|
> **NOTE:** Available since v1.232.0.
|
|
378
378
|
|
pulumi_alicloud/vpc/__init__.py
CHANGED
|
@@ -26,6 +26,11 @@ from .get_enhanced_nat_available_zones import *
|
|
|
26
26
|
from .get_flow_log_service import *
|
|
27
27
|
from .get_forward_entries import *
|
|
28
28
|
from .get_havips import *
|
|
29
|
+
from .get_ipam_ipam_pool_allocations import *
|
|
30
|
+
from .get_ipam_ipam_pool_cidrs import *
|
|
31
|
+
from .get_ipam_ipam_pools import *
|
|
32
|
+
from .get_ipam_ipam_scopes import *
|
|
33
|
+
from .get_ipam_ipams import *
|
|
29
34
|
from .get_ipsec_servers import *
|
|
30
35
|
from .get_ipv4_gateways import *
|
|
31
36
|
from .get_ipv6_addresses import *
|
|
@@ -63,6 +68,7 @@ from .ipam_ipam_pool import *
|
|
|
63
68
|
from .ipam_ipam_pool_allocation import *
|
|
64
69
|
from .ipam_ipam_pool_cidr import *
|
|
65
70
|
from .ipam_ipam_scope import *
|
|
71
|
+
from .ipam_service import *
|
|
66
72
|
from .ipv4_cidr_block import *
|
|
67
73
|
from .ipv4_gateway import *
|
|
68
74
|
from .ipv6_address import *
|
|
@@ -0,0 +1,295 @@
|
|
|
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
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetIpamIpamPoolAllocationsResult',
|
|
20
|
+
'AwaitableGetIpamIpamPoolAllocationsResult',
|
|
21
|
+
'get_ipam_ipam_pool_allocations',
|
|
22
|
+
'get_ipam_ipam_pool_allocations_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetIpamIpamPoolAllocationsResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getIpamIpamPoolAllocations.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, allocations=None, cidr=None, id=None, ids=None, ipam_pool_allocation_id=None, ipam_pool_allocation_name=None, ipam_pool_id=None, name_regex=None, names=None, output_file=None):
|
|
31
|
+
if allocations and not isinstance(allocations, list):
|
|
32
|
+
raise TypeError("Expected argument 'allocations' to be a list")
|
|
33
|
+
pulumi.set(__self__, "allocations", allocations)
|
|
34
|
+
if cidr and not isinstance(cidr, str):
|
|
35
|
+
raise TypeError("Expected argument 'cidr' to be a str")
|
|
36
|
+
pulumi.set(__self__, "cidr", cidr)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if ids and not isinstance(ids, list):
|
|
41
|
+
raise TypeError("Expected argument 'ids' to be a list")
|
|
42
|
+
pulumi.set(__self__, "ids", ids)
|
|
43
|
+
if ipam_pool_allocation_id and not isinstance(ipam_pool_allocation_id, str):
|
|
44
|
+
raise TypeError("Expected argument 'ipam_pool_allocation_id' to be a str")
|
|
45
|
+
pulumi.set(__self__, "ipam_pool_allocation_id", ipam_pool_allocation_id)
|
|
46
|
+
if ipam_pool_allocation_name and not isinstance(ipam_pool_allocation_name, str):
|
|
47
|
+
raise TypeError("Expected argument 'ipam_pool_allocation_name' to be a str")
|
|
48
|
+
pulumi.set(__self__, "ipam_pool_allocation_name", ipam_pool_allocation_name)
|
|
49
|
+
if ipam_pool_id and not isinstance(ipam_pool_id, str):
|
|
50
|
+
raise TypeError("Expected argument 'ipam_pool_id' to be a str")
|
|
51
|
+
pulumi.set(__self__, "ipam_pool_id", ipam_pool_id)
|
|
52
|
+
if name_regex and not isinstance(name_regex, str):
|
|
53
|
+
raise TypeError("Expected argument 'name_regex' to be a str")
|
|
54
|
+
pulumi.set(__self__, "name_regex", name_regex)
|
|
55
|
+
if names and not isinstance(names, list):
|
|
56
|
+
raise TypeError("Expected argument 'names' to be a list")
|
|
57
|
+
pulumi.set(__self__, "names", names)
|
|
58
|
+
if output_file and not isinstance(output_file, str):
|
|
59
|
+
raise TypeError("Expected argument 'output_file' to be a str")
|
|
60
|
+
pulumi.set(__self__, "output_file", output_file)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter
|
|
64
|
+
def allocations(self) -> Sequence['outputs.GetIpamIpamPoolAllocationsAllocationResult']:
|
|
65
|
+
"""
|
|
66
|
+
A list of Ipam Pool Allocation Entries. Each element contains the following attributes:
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "allocations")
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter
|
|
72
|
+
def cidr(self) -> Optional[str]:
|
|
73
|
+
"""
|
|
74
|
+
The allocated address segment.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "cidr")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def id(self) -> str:
|
|
81
|
+
"""
|
|
82
|
+
The provider-assigned unique ID for this managed resource.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "id")
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter
|
|
88
|
+
def ids(self) -> Sequence[str]:
|
|
89
|
+
"""
|
|
90
|
+
A list of Ipam Pool Allocation IDs.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "ids")
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter(name="ipamPoolAllocationId")
|
|
96
|
+
def ipam_pool_allocation_id(self) -> Optional[str]:
|
|
97
|
+
"""
|
|
98
|
+
The instance ID of the ipam pool allocation.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "ipam_pool_allocation_id")
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter(name="ipamPoolAllocationName")
|
|
104
|
+
def ipam_pool_allocation_name(self) -> Optional[str]:
|
|
105
|
+
"""
|
|
106
|
+
The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "ipam_pool_allocation_name")
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter(name="ipamPoolId")
|
|
112
|
+
def ipam_pool_id(self) -> str:
|
|
113
|
+
"""
|
|
114
|
+
The ID of the IPAM Pool.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "ipam_pool_id")
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter(name="nameRegex")
|
|
120
|
+
def name_regex(self) -> Optional[str]:
|
|
121
|
+
return pulumi.get(self, "name_regex")
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
@pulumi.getter
|
|
125
|
+
def names(self) -> Sequence[str]:
|
|
126
|
+
"""
|
|
127
|
+
A list of name of Ipam Pool Allocations.
|
|
128
|
+
"""
|
|
129
|
+
return pulumi.get(self, "names")
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter(name="outputFile")
|
|
133
|
+
def output_file(self) -> Optional[str]:
|
|
134
|
+
return pulumi.get(self, "output_file")
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class AwaitableGetIpamIpamPoolAllocationsResult(GetIpamIpamPoolAllocationsResult):
|
|
138
|
+
# pylint: disable=using-constant-test
|
|
139
|
+
def __await__(self):
|
|
140
|
+
if False:
|
|
141
|
+
yield self
|
|
142
|
+
return GetIpamIpamPoolAllocationsResult(
|
|
143
|
+
allocations=self.allocations,
|
|
144
|
+
cidr=self.cidr,
|
|
145
|
+
id=self.id,
|
|
146
|
+
ids=self.ids,
|
|
147
|
+
ipam_pool_allocation_id=self.ipam_pool_allocation_id,
|
|
148
|
+
ipam_pool_allocation_name=self.ipam_pool_allocation_name,
|
|
149
|
+
ipam_pool_id=self.ipam_pool_id,
|
|
150
|
+
name_regex=self.name_regex,
|
|
151
|
+
names=self.names,
|
|
152
|
+
output_file=self.output_file)
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
def get_ipam_ipam_pool_allocations(cidr: Optional[str] = None,
|
|
156
|
+
ids: Optional[Sequence[str]] = None,
|
|
157
|
+
ipam_pool_allocation_id: Optional[str] = None,
|
|
158
|
+
ipam_pool_allocation_name: Optional[str] = None,
|
|
159
|
+
ipam_pool_id: Optional[str] = None,
|
|
160
|
+
name_regex: Optional[str] = None,
|
|
161
|
+
output_file: Optional[str] = None,
|
|
162
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpamIpamPoolAllocationsResult:
|
|
163
|
+
"""
|
|
164
|
+
This data source provides Vpc Ipam Ipam Pool Allocation available to the user.[What is Ipam Pool Allocation](https://www.alibabacloud.com/help/en/)
|
|
165
|
+
|
|
166
|
+
> **NOTE:** Available since v1.241.0.
|
|
167
|
+
|
|
168
|
+
## Example Usage
|
|
169
|
+
|
|
170
|
+
```python
|
|
171
|
+
import pulumi
|
|
172
|
+
import pulumi_alicloud as alicloud
|
|
173
|
+
|
|
174
|
+
config = pulumi.Config()
|
|
175
|
+
name = config.get("name")
|
|
176
|
+
if name is None:
|
|
177
|
+
name = "terraform-example"
|
|
178
|
+
default = alicloud.resourcemanager.get_resource_groups()
|
|
179
|
+
default_ipam = alicloud.vpc.IpamIpam("defaultIpam", operating_region_lists=["cn-hangzhou"])
|
|
180
|
+
default_ipam_pool = alicloud.vpc.IpamIpamPool("defaultIpamPool",
|
|
181
|
+
ipam_scope_id=default_ipam.private_default_scope_id,
|
|
182
|
+
pool_region_id="cn-hangzhou")
|
|
183
|
+
default_ipam_pool_cidr = alicloud.vpc.IpamIpamPoolCidr("defaultIpamPoolCidr",
|
|
184
|
+
cidr="10.0.0.0/8",
|
|
185
|
+
ipam_pool_id=default_ipam_pool.id)
|
|
186
|
+
default_ipam_ipam_pool_allocation = alicloud.vpc.IpamIpamPoolAllocation("default",
|
|
187
|
+
ipam_pool_allocation_description="init alloc desc",
|
|
188
|
+
ipam_pool_allocation_name=name,
|
|
189
|
+
cidr="10.0.0.0/20",
|
|
190
|
+
ipam_pool_id=default_ipam_pool_cidr.ipam_pool_id)
|
|
191
|
+
default_get_ipam_ipam_pool_allocations = alicloud.vpc.get_ipam_ipam_pool_allocations_output(ids=[default_ipam_ipam_pool_allocation.id])
|
|
192
|
+
pulumi.export("alicloudVpcIpamIpamPoolAllocationExampleId", default_get_ipam_ipam_pool_allocations.allocations[0].id)
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
:param str cidr: The allocated address segment.
|
|
197
|
+
:param Sequence[str] ids: A list of Ipam Pool Allocation IDs.
|
|
198
|
+
:param str ipam_pool_allocation_id: The instance ID of the ipam pool allocation.
|
|
199
|
+
:param str ipam_pool_allocation_name: The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
|
|
200
|
+
:param str ipam_pool_id: The ID of the IPAM Pool.
|
|
201
|
+
:param str name_regex: A regex string to filter results by Group Metric Rule name.
|
|
202
|
+
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
203
|
+
"""
|
|
204
|
+
__args__ = dict()
|
|
205
|
+
__args__['cidr'] = cidr
|
|
206
|
+
__args__['ids'] = ids
|
|
207
|
+
__args__['ipamPoolAllocationId'] = ipam_pool_allocation_id
|
|
208
|
+
__args__['ipamPoolAllocationName'] = ipam_pool_allocation_name
|
|
209
|
+
__args__['ipamPoolId'] = ipam_pool_id
|
|
210
|
+
__args__['nameRegex'] = name_regex
|
|
211
|
+
__args__['outputFile'] = output_file
|
|
212
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
213
|
+
__ret__ = pulumi.runtime.invoke('alicloud:vpc/getIpamIpamPoolAllocations:getIpamIpamPoolAllocations', __args__, opts=opts, typ=GetIpamIpamPoolAllocationsResult).value
|
|
214
|
+
|
|
215
|
+
return AwaitableGetIpamIpamPoolAllocationsResult(
|
|
216
|
+
allocations=pulumi.get(__ret__, 'allocations'),
|
|
217
|
+
cidr=pulumi.get(__ret__, 'cidr'),
|
|
218
|
+
id=pulumi.get(__ret__, 'id'),
|
|
219
|
+
ids=pulumi.get(__ret__, 'ids'),
|
|
220
|
+
ipam_pool_allocation_id=pulumi.get(__ret__, 'ipam_pool_allocation_id'),
|
|
221
|
+
ipam_pool_allocation_name=pulumi.get(__ret__, 'ipam_pool_allocation_name'),
|
|
222
|
+
ipam_pool_id=pulumi.get(__ret__, 'ipam_pool_id'),
|
|
223
|
+
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
224
|
+
names=pulumi.get(__ret__, 'names'),
|
|
225
|
+
output_file=pulumi.get(__ret__, 'output_file'))
|
|
226
|
+
def get_ipam_ipam_pool_allocations_output(cidr: Optional[pulumi.Input[Optional[str]]] = None,
|
|
227
|
+
ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
228
|
+
ipam_pool_allocation_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
229
|
+
ipam_pool_allocation_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
230
|
+
ipam_pool_id: Optional[pulumi.Input[str]] = None,
|
|
231
|
+
name_regex: Optional[pulumi.Input[Optional[str]]] = None,
|
|
232
|
+
output_file: Optional[pulumi.Input[Optional[str]]] = None,
|
|
233
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIpamIpamPoolAllocationsResult]:
|
|
234
|
+
"""
|
|
235
|
+
This data source provides Vpc Ipam Ipam Pool Allocation available to the user.[What is Ipam Pool Allocation](https://www.alibabacloud.com/help/en/)
|
|
236
|
+
|
|
237
|
+
> **NOTE:** Available since v1.241.0.
|
|
238
|
+
|
|
239
|
+
## Example Usage
|
|
240
|
+
|
|
241
|
+
```python
|
|
242
|
+
import pulumi
|
|
243
|
+
import pulumi_alicloud as alicloud
|
|
244
|
+
|
|
245
|
+
config = pulumi.Config()
|
|
246
|
+
name = config.get("name")
|
|
247
|
+
if name is None:
|
|
248
|
+
name = "terraform-example"
|
|
249
|
+
default = alicloud.resourcemanager.get_resource_groups()
|
|
250
|
+
default_ipam = alicloud.vpc.IpamIpam("defaultIpam", operating_region_lists=["cn-hangzhou"])
|
|
251
|
+
default_ipam_pool = alicloud.vpc.IpamIpamPool("defaultIpamPool",
|
|
252
|
+
ipam_scope_id=default_ipam.private_default_scope_id,
|
|
253
|
+
pool_region_id="cn-hangzhou")
|
|
254
|
+
default_ipam_pool_cidr = alicloud.vpc.IpamIpamPoolCidr("defaultIpamPoolCidr",
|
|
255
|
+
cidr="10.0.0.0/8",
|
|
256
|
+
ipam_pool_id=default_ipam_pool.id)
|
|
257
|
+
default_ipam_ipam_pool_allocation = alicloud.vpc.IpamIpamPoolAllocation("default",
|
|
258
|
+
ipam_pool_allocation_description="init alloc desc",
|
|
259
|
+
ipam_pool_allocation_name=name,
|
|
260
|
+
cidr="10.0.0.0/20",
|
|
261
|
+
ipam_pool_id=default_ipam_pool_cidr.ipam_pool_id)
|
|
262
|
+
default_get_ipam_ipam_pool_allocations = alicloud.vpc.get_ipam_ipam_pool_allocations_output(ids=[default_ipam_ipam_pool_allocation.id])
|
|
263
|
+
pulumi.export("alicloudVpcIpamIpamPoolAllocationExampleId", default_get_ipam_ipam_pool_allocations.allocations[0].id)
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
:param str cidr: The allocated address segment.
|
|
268
|
+
:param Sequence[str] ids: A list of Ipam Pool Allocation IDs.
|
|
269
|
+
:param str ipam_pool_allocation_id: The instance ID of the ipam pool allocation.
|
|
270
|
+
:param str ipam_pool_allocation_name: The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
|
|
271
|
+
:param str ipam_pool_id: The ID of the IPAM Pool.
|
|
272
|
+
:param str name_regex: A regex string to filter results by Group Metric Rule name.
|
|
273
|
+
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
274
|
+
"""
|
|
275
|
+
__args__ = dict()
|
|
276
|
+
__args__['cidr'] = cidr
|
|
277
|
+
__args__['ids'] = ids
|
|
278
|
+
__args__['ipamPoolAllocationId'] = ipam_pool_allocation_id
|
|
279
|
+
__args__['ipamPoolAllocationName'] = ipam_pool_allocation_name
|
|
280
|
+
__args__['ipamPoolId'] = ipam_pool_id
|
|
281
|
+
__args__['nameRegex'] = name_regex
|
|
282
|
+
__args__['outputFile'] = output_file
|
|
283
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
284
|
+
__ret__ = pulumi.runtime.invoke_output('alicloud:vpc/getIpamIpamPoolAllocations:getIpamIpamPoolAllocations', __args__, opts=opts, typ=GetIpamIpamPoolAllocationsResult)
|
|
285
|
+
return __ret__.apply(lambda __response__: GetIpamIpamPoolAllocationsResult(
|
|
286
|
+
allocations=pulumi.get(__response__, 'allocations'),
|
|
287
|
+
cidr=pulumi.get(__response__, 'cidr'),
|
|
288
|
+
id=pulumi.get(__response__, 'id'),
|
|
289
|
+
ids=pulumi.get(__response__, 'ids'),
|
|
290
|
+
ipam_pool_allocation_id=pulumi.get(__response__, 'ipam_pool_allocation_id'),
|
|
291
|
+
ipam_pool_allocation_name=pulumi.get(__response__, 'ipam_pool_allocation_name'),
|
|
292
|
+
ipam_pool_id=pulumi.get(__response__, 'ipam_pool_id'),
|
|
293
|
+
name_regex=pulumi.get(__response__, 'name_regex'),
|
|
294
|
+
names=pulumi.get(__response__, 'names'),
|
|
295
|
+
output_file=pulumi.get(__response__, 'output_file')))
|