pulumi-alicloud 3.74.0a1737782319__py3-none-any.whl → 3.74.0a1737989015__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 +80 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +907 -244
- 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_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +716 -218
- pulumi_alicloud/alb/server_group.py +532 -122
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cs/_inputs.py +349 -1
- pulumi_alicloud/cs/kubernetes.py +15 -15
- pulumi_alicloud/cs/node_pool.py +77 -2
- pulumi_alicloud/cs/outputs.py +265 -1
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- 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/outputs.py +50 -50
- pulumi_alicloud/fc/v3_function.py +53 -6
- 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/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/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +68 -0
- pulumi_alicloud/vpc/__init__.py +1 -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-3.74.0a1737782319.dist-info → pulumi_alicloud-3.74.0a1737989015.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.74.0a1737989015.dist-info}/RECORD +56 -45
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.74.0a1737989015.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.74.0a1737989015.dist-info}/top_level.txt +0 -0
|
@@ -34,12 +34,13 @@ class FileSystemArgs:
|
|
|
34
34
|
"""
|
|
35
35
|
The set of arguments for constructing a FileSystem resource.
|
|
36
36
|
:param pulumi.Input[str] file_system_name: The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
|
|
37
|
-
:param pulumi.Input[str] protocol_type: The protocol type.
|
|
37
|
+
:param pulumi.Input[str] protocol_type: The protocol type. Value: `HDFS`, `PANGU`.
|
|
38
38
|
:param pulumi.Input[int] space_capacity: File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
|
|
39
39
|
:param pulumi.Input[str] storage_type: The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
|
|
40
40
|
:param pulumi.Input[str] data_redundancy_type: Redundancy mode of the file system. Value:
|
|
41
41
|
- LRS (default): Local redundancy.
|
|
42
42
|
- ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
|
|
43
|
+
:param pulumi.Input[str] dedicated_cluster_id: Dedicated cluster id, which is used to support scenarios such as group cloud migration.
|
|
43
44
|
:param pulumi.Input[str] description: The description of the file system resource. No more than 32 characters in length.
|
|
44
45
|
:param pulumi.Input[int] partition_number: Save set sequence number, the user selects the content of the specified sequence number in the Save set.
|
|
45
46
|
:param pulumi.Input[int] provisioned_throughput_in_mi_bps: Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
|
|
@@ -84,7 +85,7 @@ class FileSystemArgs:
|
|
|
84
85
|
@pulumi.getter(name="protocolType")
|
|
85
86
|
def protocol_type(self) -> pulumi.Input[str]:
|
|
86
87
|
"""
|
|
87
|
-
The protocol type.
|
|
88
|
+
The protocol type. Value: `HDFS`, `PANGU`.
|
|
88
89
|
"""
|
|
89
90
|
return pulumi.get(self, "protocol_type")
|
|
90
91
|
|
|
@@ -133,6 +134,9 @@ class FileSystemArgs:
|
|
|
133
134
|
@property
|
|
134
135
|
@pulumi.getter(name="dedicatedClusterId")
|
|
135
136
|
def dedicated_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
137
|
+
"""
|
|
138
|
+
Dedicated cluster id, which is used to support scenarios such as group cloud migration.
|
|
139
|
+
"""
|
|
136
140
|
return pulumi.get(self, "dedicated_cluster_id")
|
|
137
141
|
|
|
138
142
|
@dedicated_cluster_id.setter
|
|
@@ -223,6 +227,7 @@ class _FileSystemState:
|
|
|
223
227
|
partition_number: Optional[pulumi.Input[int]] = None,
|
|
224
228
|
protocol_type: Optional[pulumi.Input[str]] = None,
|
|
225
229
|
provisioned_throughput_in_mi_bps: Optional[pulumi.Input[int]] = None,
|
|
230
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
226
231
|
space_capacity: Optional[pulumi.Input[int]] = None,
|
|
227
232
|
storage_set_name: Optional[pulumi.Input[str]] = None,
|
|
228
233
|
storage_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -234,11 +239,13 @@ class _FileSystemState:
|
|
|
234
239
|
:param pulumi.Input[str] data_redundancy_type: Redundancy mode of the file system. Value:
|
|
235
240
|
- LRS (default): Local redundancy.
|
|
236
241
|
- ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
|
|
242
|
+
:param pulumi.Input[str] dedicated_cluster_id: Dedicated cluster id, which is used to support scenarios such as group cloud migration.
|
|
237
243
|
:param pulumi.Input[str] description: The description of the file system resource. No more than 32 characters in length.
|
|
238
244
|
:param pulumi.Input[str] file_system_name: The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
|
|
239
245
|
:param pulumi.Input[int] partition_number: Save set sequence number, the user selects the content of the specified sequence number in the Save set.
|
|
240
|
-
:param pulumi.Input[str] protocol_type: The protocol type.
|
|
246
|
+
:param pulumi.Input[str] protocol_type: The protocol type. Value: `HDFS`, `PANGU`.
|
|
241
247
|
:param pulumi.Input[int] provisioned_throughput_in_mi_bps: Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
|
|
248
|
+
:param pulumi.Input[str] region_id: (Available since v1.242.0) The region ID of the File System.
|
|
242
249
|
:param pulumi.Input[int] space_capacity: File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
|
|
243
250
|
:param pulumi.Input[str] storage_set_name: Save set identity, used to select a user-specified save set.
|
|
244
251
|
:param pulumi.Input[str] storage_type: The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
|
|
@@ -261,6 +268,8 @@ class _FileSystemState:
|
|
|
261
268
|
pulumi.set(__self__, "protocol_type", protocol_type)
|
|
262
269
|
if provisioned_throughput_in_mi_bps is not None:
|
|
263
270
|
pulumi.set(__self__, "provisioned_throughput_in_mi_bps", provisioned_throughput_in_mi_bps)
|
|
271
|
+
if region_id is not None:
|
|
272
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
264
273
|
if space_capacity is not None:
|
|
265
274
|
pulumi.set(__self__, "space_capacity", space_capacity)
|
|
266
275
|
if storage_set_name is not None:
|
|
@@ -301,6 +310,9 @@ class _FileSystemState:
|
|
|
301
310
|
@property
|
|
302
311
|
@pulumi.getter(name="dedicatedClusterId")
|
|
303
312
|
def dedicated_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
313
|
+
"""
|
|
314
|
+
Dedicated cluster id, which is used to support scenarios such as group cloud migration.
|
|
315
|
+
"""
|
|
304
316
|
return pulumi.get(self, "dedicated_cluster_id")
|
|
305
317
|
|
|
306
318
|
@dedicated_cluster_id.setter
|
|
@@ -347,7 +359,7 @@ class _FileSystemState:
|
|
|
347
359
|
@pulumi.getter(name="protocolType")
|
|
348
360
|
def protocol_type(self) -> Optional[pulumi.Input[str]]:
|
|
349
361
|
"""
|
|
350
|
-
The protocol type.
|
|
362
|
+
The protocol type. Value: `HDFS`, `PANGU`.
|
|
351
363
|
"""
|
|
352
364
|
return pulumi.get(self, "protocol_type")
|
|
353
365
|
|
|
@@ -367,6 +379,18 @@ class _FileSystemState:
|
|
|
367
379
|
def provisioned_throughput_in_mi_bps(self, value: Optional[pulumi.Input[int]]):
|
|
368
380
|
pulumi.set(self, "provisioned_throughput_in_mi_bps", value)
|
|
369
381
|
|
|
382
|
+
@property
|
|
383
|
+
@pulumi.getter(name="regionId")
|
|
384
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
385
|
+
"""
|
|
386
|
+
(Available since v1.242.0) The region ID of the File System.
|
|
387
|
+
"""
|
|
388
|
+
return pulumi.get(self, "region_id")
|
|
389
|
+
|
|
390
|
+
@region_id.setter
|
|
391
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
392
|
+
pulumi.set(self, "region_id", value)
|
|
393
|
+
|
|
370
394
|
@property
|
|
371
395
|
@pulumi.getter(name="spaceCapacity")
|
|
372
396
|
def space_capacity(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -447,9 +471,9 @@ class FileSystem(pulumi.CustomResource):
|
|
|
447
471
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
448
472
|
__props__=None):
|
|
449
473
|
"""
|
|
450
|
-
Provides a DFS File System resource.
|
|
474
|
+
Provides a Apsara File Storage for HDFS (DFS) File System resource.
|
|
451
475
|
|
|
452
|
-
For information about DFS File System and how to use it, see [What is File System](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).
|
|
476
|
+
For information about Apsara File Storage for HDFS (DFS) File System and how to use it, see [What is File System](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).
|
|
453
477
|
|
|
454
478
|
> **NOTE:** Available since v1.140.0.
|
|
455
479
|
|
|
@@ -465,11 +489,10 @@ class FileSystem(pulumi.CustomResource):
|
|
|
465
489
|
name = config.get("name")
|
|
466
490
|
if name is None:
|
|
467
491
|
name = "tf-example"
|
|
468
|
-
default = alicloud.dfs.
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
protocol_type="HDFS",
|
|
492
|
+
default = alicloud.dfs.FileSystem("default",
|
|
493
|
+
storage_type="PERFORMANCE",
|
|
494
|
+
zone_id="cn-hangzhou-b",
|
|
495
|
+
protocol_type="PANGU",
|
|
473
496
|
description=name,
|
|
474
497
|
file_system_name=name,
|
|
475
498
|
throughput_mode="Provisioned",
|
|
@@ -479,7 +502,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
479
502
|
|
|
480
503
|
## Import
|
|
481
504
|
|
|
482
|
-
DFS File System can be imported using the id, e.g.
|
|
505
|
+
Apsara File Storage for HDFS (DFS) File System can be imported using the id, e.g.
|
|
483
506
|
|
|
484
507
|
```sh
|
|
485
508
|
$ pulumi import alicloud:dfs/fileSystem:FileSystem example <id>
|
|
@@ -490,10 +513,11 @@ class FileSystem(pulumi.CustomResource):
|
|
|
490
513
|
:param pulumi.Input[str] data_redundancy_type: Redundancy mode of the file system. Value:
|
|
491
514
|
- LRS (default): Local redundancy.
|
|
492
515
|
- ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
|
|
516
|
+
:param pulumi.Input[str] dedicated_cluster_id: Dedicated cluster id, which is used to support scenarios such as group cloud migration.
|
|
493
517
|
:param pulumi.Input[str] description: The description of the file system resource. No more than 32 characters in length.
|
|
494
518
|
:param pulumi.Input[str] file_system_name: The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
|
|
495
519
|
:param pulumi.Input[int] partition_number: Save set sequence number, the user selects the content of the specified sequence number in the Save set.
|
|
496
|
-
:param pulumi.Input[str] protocol_type: The protocol type.
|
|
520
|
+
:param pulumi.Input[str] protocol_type: The protocol type. Value: `HDFS`, `PANGU`.
|
|
497
521
|
:param pulumi.Input[int] provisioned_throughput_in_mi_bps: Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
|
|
498
522
|
:param pulumi.Input[int] space_capacity: File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
|
|
499
523
|
:param pulumi.Input[str] storage_set_name: Save set identity, used to select a user-specified save set.
|
|
@@ -508,9 +532,9 @@ class FileSystem(pulumi.CustomResource):
|
|
|
508
532
|
args: FileSystemArgs,
|
|
509
533
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
510
534
|
"""
|
|
511
|
-
Provides a DFS File System resource.
|
|
535
|
+
Provides a Apsara File Storage for HDFS (DFS) File System resource.
|
|
512
536
|
|
|
513
|
-
For information about DFS File System and how to use it, see [What is File System](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).
|
|
537
|
+
For information about Apsara File Storage for HDFS (DFS) File System and how to use it, see [What is File System](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).
|
|
514
538
|
|
|
515
539
|
> **NOTE:** Available since v1.140.0.
|
|
516
540
|
|
|
@@ -526,11 +550,10 @@ class FileSystem(pulumi.CustomResource):
|
|
|
526
550
|
name = config.get("name")
|
|
527
551
|
if name is None:
|
|
528
552
|
name = "tf-example"
|
|
529
|
-
default = alicloud.dfs.
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
protocol_type="HDFS",
|
|
553
|
+
default = alicloud.dfs.FileSystem("default",
|
|
554
|
+
storage_type="PERFORMANCE",
|
|
555
|
+
zone_id="cn-hangzhou-b",
|
|
556
|
+
protocol_type="PANGU",
|
|
534
557
|
description=name,
|
|
535
558
|
file_system_name=name,
|
|
536
559
|
throughput_mode="Provisioned",
|
|
@@ -540,7 +563,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
540
563
|
|
|
541
564
|
## Import
|
|
542
565
|
|
|
543
|
-
DFS File System can be imported using the id, e.g.
|
|
566
|
+
Apsara File Storage for HDFS (DFS) File System can be imported using the id, e.g.
|
|
544
567
|
|
|
545
568
|
```sh
|
|
546
569
|
$ pulumi import alicloud:dfs/fileSystem:FileSystem example <id>
|
|
@@ -603,6 +626,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
603
626
|
__props__.__dict__["throughput_mode"] = throughput_mode
|
|
604
627
|
__props__.__dict__["zone_id"] = zone_id
|
|
605
628
|
__props__.__dict__["create_time"] = None
|
|
629
|
+
__props__.__dict__["region_id"] = None
|
|
606
630
|
super(FileSystem, __self__).__init__(
|
|
607
631
|
'alicloud:dfs/fileSystem:FileSystem',
|
|
608
632
|
resource_name,
|
|
@@ -621,6 +645,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
621
645
|
partition_number: Optional[pulumi.Input[int]] = None,
|
|
622
646
|
protocol_type: Optional[pulumi.Input[str]] = None,
|
|
623
647
|
provisioned_throughput_in_mi_bps: Optional[pulumi.Input[int]] = None,
|
|
648
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
624
649
|
space_capacity: Optional[pulumi.Input[int]] = None,
|
|
625
650
|
storage_set_name: Optional[pulumi.Input[str]] = None,
|
|
626
651
|
storage_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -637,11 +662,13 @@ class FileSystem(pulumi.CustomResource):
|
|
|
637
662
|
:param pulumi.Input[str] data_redundancy_type: Redundancy mode of the file system. Value:
|
|
638
663
|
- LRS (default): Local redundancy.
|
|
639
664
|
- ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
|
|
665
|
+
:param pulumi.Input[str] dedicated_cluster_id: Dedicated cluster id, which is used to support scenarios such as group cloud migration.
|
|
640
666
|
:param pulumi.Input[str] description: The description of the file system resource. No more than 32 characters in length.
|
|
641
667
|
:param pulumi.Input[str] file_system_name: The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
|
|
642
668
|
:param pulumi.Input[int] partition_number: Save set sequence number, the user selects the content of the specified sequence number in the Save set.
|
|
643
|
-
:param pulumi.Input[str] protocol_type: The protocol type.
|
|
669
|
+
:param pulumi.Input[str] protocol_type: The protocol type. Value: `HDFS`, `PANGU`.
|
|
644
670
|
:param pulumi.Input[int] provisioned_throughput_in_mi_bps: Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
|
|
671
|
+
:param pulumi.Input[str] region_id: (Available since v1.242.0) The region ID of the File System.
|
|
645
672
|
:param pulumi.Input[int] space_capacity: File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
|
|
646
673
|
:param pulumi.Input[str] storage_set_name: Save set identity, used to select a user-specified save set.
|
|
647
674
|
:param pulumi.Input[str] storage_type: The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
|
|
@@ -660,6 +687,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
660
687
|
__props__.__dict__["partition_number"] = partition_number
|
|
661
688
|
__props__.__dict__["protocol_type"] = protocol_type
|
|
662
689
|
__props__.__dict__["provisioned_throughput_in_mi_bps"] = provisioned_throughput_in_mi_bps
|
|
690
|
+
__props__.__dict__["region_id"] = region_id
|
|
663
691
|
__props__.__dict__["space_capacity"] = space_capacity
|
|
664
692
|
__props__.__dict__["storage_set_name"] = storage_set_name
|
|
665
693
|
__props__.__dict__["storage_type"] = storage_type
|
|
@@ -688,6 +716,9 @@ class FileSystem(pulumi.CustomResource):
|
|
|
688
716
|
@property
|
|
689
717
|
@pulumi.getter(name="dedicatedClusterId")
|
|
690
718
|
def dedicated_cluster_id(self) -> pulumi.Output[Optional[str]]:
|
|
719
|
+
"""
|
|
720
|
+
Dedicated cluster id, which is used to support scenarios such as group cloud migration.
|
|
721
|
+
"""
|
|
691
722
|
return pulumi.get(self, "dedicated_cluster_id")
|
|
692
723
|
|
|
693
724
|
@property
|
|
@@ -718,7 +749,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
718
749
|
@pulumi.getter(name="protocolType")
|
|
719
750
|
def protocol_type(self) -> pulumi.Output[str]:
|
|
720
751
|
"""
|
|
721
|
-
The protocol type.
|
|
752
|
+
The protocol type. Value: `HDFS`, `PANGU`.
|
|
722
753
|
"""
|
|
723
754
|
return pulumi.get(self, "protocol_type")
|
|
724
755
|
|
|
@@ -730,6 +761,14 @@ class FileSystem(pulumi.CustomResource):
|
|
|
730
761
|
"""
|
|
731
762
|
return pulumi.get(self, "provisioned_throughput_in_mi_bps")
|
|
732
763
|
|
|
764
|
+
@property
|
|
765
|
+
@pulumi.getter(name="regionId")
|
|
766
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
767
|
+
"""
|
|
768
|
+
(Available since v1.242.0) The region ID of the File System.
|
|
769
|
+
"""
|
|
770
|
+
return pulumi.get(self, "region_id")
|
|
771
|
+
|
|
733
772
|
@property
|
|
734
773
|
@pulumi.getter(name="spaceCapacity")
|
|
735
774
|
def space_capacity(self) -> pulumi.Output[int]:
|
|
@@ -157,6 +157,7 @@ class _MountPointState:
|
|
|
157
157
|
file_system_id: Optional[pulumi.Input[str]] = None,
|
|
158
158
|
mount_point_id: Optional[pulumi.Input[str]] = None,
|
|
159
159
|
network_type: Optional[pulumi.Input[str]] = None,
|
|
160
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
160
161
|
status: Optional[pulumi.Input[str]] = None,
|
|
161
162
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
162
163
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
@@ -169,6 +170,7 @@ class _MountPointState:
|
|
|
169
170
|
:param pulumi.Input[str] file_system_id: Unique file system identifier, used to retrieve specified file system resources.
|
|
170
171
|
:param pulumi.Input[str] mount_point_id: The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
|
|
171
172
|
:param pulumi.Input[str] network_type: The network type of the Mount point. Only VPC (VPC) is supported.
|
|
173
|
+
:param pulumi.Input[str] region_id: (Available since v1.242.0) The region ID of the Mount Point.
|
|
172
174
|
:param pulumi.Input[str] status: Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
|
|
173
175
|
:param pulumi.Input[str] vpc_id: The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
|
|
174
176
|
:param pulumi.Input[str] vswitch_id: VSwitch ID, which specifies the VSwitch resource used to create the mount point.
|
|
@@ -187,6 +189,8 @@ class _MountPointState:
|
|
|
187
189
|
pulumi.set(__self__, "mount_point_id", mount_point_id)
|
|
188
190
|
if network_type is not None:
|
|
189
191
|
pulumi.set(__self__, "network_type", network_type)
|
|
192
|
+
if region_id is not None:
|
|
193
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
190
194
|
if status is not None:
|
|
191
195
|
pulumi.set(__self__, "status", status)
|
|
192
196
|
if vpc_id is not None:
|
|
@@ -278,6 +282,18 @@ class _MountPointState:
|
|
|
278
282
|
def network_type(self, value: Optional[pulumi.Input[str]]):
|
|
279
283
|
pulumi.set(self, "network_type", value)
|
|
280
284
|
|
|
285
|
+
@property
|
|
286
|
+
@pulumi.getter(name="regionId")
|
|
287
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
288
|
+
"""
|
|
289
|
+
(Available since v1.242.0) The region ID of the Mount Point.
|
|
290
|
+
"""
|
|
291
|
+
return pulumi.get(self, "region_id")
|
|
292
|
+
|
|
293
|
+
@region_id.setter
|
|
294
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
295
|
+
pulumi.set(self, "region_id", value)
|
|
296
|
+
|
|
281
297
|
@property
|
|
282
298
|
@pulumi.getter
|
|
283
299
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -330,9 +346,9 @@ class MountPoint(pulumi.CustomResource):
|
|
|
330
346
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
331
347
|
__props__=None):
|
|
332
348
|
"""
|
|
333
|
-
Provides a DFS Mount Point resource.
|
|
349
|
+
Provides a Apsara File Storage for HDFS (DFS) Mount Point resource.
|
|
334
350
|
|
|
335
|
-
For information about DFS Mount Point and how to use it, see [What is Mount Point](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).
|
|
351
|
+
For information about Apsara File Storage for HDFS (DFS) Mount Point and how to use it, see [What is Mount Point](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).
|
|
336
352
|
|
|
337
353
|
> **NOTE:** Available since v1.140.0.
|
|
338
354
|
|
|
@@ -348,19 +364,18 @@ class MountPoint(pulumi.CustomResource):
|
|
|
348
364
|
name = config.get("name")
|
|
349
365
|
if name is None:
|
|
350
366
|
name = "tf-example"
|
|
351
|
-
default = alicloud.
|
|
352
|
-
default_network = alicloud.vpc.Network("default",
|
|
367
|
+
default = alicloud.vpc.Network("default",
|
|
353
368
|
vpc_name=name,
|
|
354
369
|
cidr_block="10.4.0.0/16")
|
|
355
370
|
default_switch = alicloud.vpc.Switch("default",
|
|
356
371
|
vswitch_name=name,
|
|
357
372
|
cidr_block="10.4.0.0/24",
|
|
358
|
-
vpc_id=
|
|
359
|
-
zone_id=
|
|
373
|
+
vpc_id=default.id,
|
|
374
|
+
zone_id="cn-hangzhou-e")
|
|
360
375
|
default_file_system = alicloud.dfs.FileSystem("default",
|
|
361
|
-
storage_type=
|
|
362
|
-
zone_id=
|
|
363
|
-
protocol_type="
|
|
376
|
+
storage_type="STANDARD",
|
|
377
|
+
zone_id="cn-hangzhou-e",
|
|
378
|
+
protocol_type="PANGU",
|
|
364
379
|
description=name,
|
|
365
380
|
file_system_name=name,
|
|
366
381
|
throughput_mode="Provisioned",
|
|
@@ -372,7 +387,7 @@ class MountPoint(pulumi.CustomResource):
|
|
|
372
387
|
network_type="VPC")
|
|
373
388
|
default_mount_point = alicloud.dfs.MountPoint("default",
|
|
374
389
|
description=name,
|
|
375
|
-
vpc_id=
|
|
390
|
+
vpc_id=default.id,
|
|
376
391
|
file_system_id=default_file_system.id,
|
|
377
392
|
access_group_id=default_access_group.id,
|
|
378
393
|
network_type="VPC",
|
|
@@ -381,7 +396,7 @@ class MountPoint(pulumi.CustomResource):
|
|
|
381
396
|
|
|
382
397
|
## Import
|
|
383
398
|
|
|
384
|
-
DFS Mount Point can be imported using the id, e.g.
|
|
399
|
+
Apsara File Storage for HDFS (DFS) Mount Point can be imported using the id, e.g.
|
|
385
400
|
|
|
386
401
|
```sh
|
|
387
402
|
$ pulumi import alicloud:dfs/mountPoint:MountPoint example <file_system_id>:<mount_point_id>
|
|
@@ -405,9 +420,9 @@ class MountPoint(pulumi.CustomResource):
|
|
|
405
420
|
args: MountPointArgs,
|
|
406
421
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
407
422
|
"""
|
|
408
|
-
Provides a DFS Mount Point resource.
|
|
423
|
+
Provides a Apsara File Storage for HDFS (DFS) Mount Point resource.
|
|
409
424
|
|
|
410
|
-
For information about DFS Mount Point and how to use it, see [What is Mount Point](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).
|
|
425
|
+
For information about Apsara File Storage for HDFS (DFS) Mount Point and how to use it, see [What is Mount Point](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).
|
|
411
426
|
|
|
412
427
|
> **NOTE:** Available since v1.140.0.
|
|
413
428
|
|
|
@@ -423,19 +438,18 @@ class MountPoint(pulumi.CustomResource):
|
|
|
423
438
|
name = config.get("name")
|
|
424
439
|
if name is None:
|
|
425
440
|
name = "tf-example"
|
|
426
|
-
default = alicloud.
|
|
427
|
-
default_network = alicloud.vpc.Network("default",
|
|
441
|
+
default = alicloud.vpc.Network("default",
|
|
428
442
|
vpc_name=name,
|
|
429
443
|
cidr_block="10.4.0.0/16")
|
|
430
444
|
default_switch = alicloud.vpc.Switch("default",
|
|
431
445
|
vswitch_name=name,
|
|
432
446
|
cidr_block="10.4.0.0/24",
|
|
433
|
-
vpc_id=
|
|
434
|
-
zone_id=
|
|
447
|
+
vpc_id=default.id,
|
|
448
|
+
zone_id="cn-hangzhou-e")
|
|
435
449
|
default_file_system = alicloud.dfs.FileSystem("default",
|
|
436
|
-
storage_type=
|
|
437
|
-
zone_id=
|
|
438
|
-
protocol_type="
|
|
450
|
+
storage_type="STANDARD",
|
|
451
|
+
zone_id="cn-hangzhou-e",
|
|
452
|
+
protocol_type="PANGU",
|
|
439
453
|
description=name,
|
|
440
454
|
file_system_name=name,
|
|
441
455
|
throughput_mode="Provisioned",
|
|
@@ -447,7 +461,7 @@ class MountPoint(pulumi.CustomResource):
|
|
|
447
461
|
network_type="VPC")
|
|
448
462
|
default_mount_point = alicloud.dfs.MountPoint("default",
|
|
449
463
|
description=name,
|
|
450
|
-
vpc_id=
|
|
464
|
+
vpc_id=default.id,
|
|
451
465
|
file_system_id=default_file_system.id,
|
|
452
466
|
access_group_id=default_access_group.id,
|
|
453
467
|
network_type="VPC",
|
|
@@ -456,7 +470,7 @@ class MountPoint(pulumi.CustomResource):
|
|
|
456
470
|
|
|
457
471
|
## Import
|
|
458
472
|
|
|
459
|
-
DFS Mount Point can be imported using the id, e.g.
|
|
473
|
+
Apsara File Storage for HDFS (DFS) Mount Point can be imported using the id, e.g.
|
|
460
474
|
|
|
461
475
|
```sh
|
|
462
476
|
$ pulumi import alicloud:dfs/mountPoint:MountPoint example <file_system_id>:<mount_point_id>
|
|
@@ -514,6 +528,7 @@ class MountPoint(pulumi.CustomResource):
|
|
|
514
528
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
515
529
|
__props__.__dict__["create_time"] = None
|
|
516
530
|
__props__.__dict__["mount_point_id"] = None
|
|
531
|
+
__props__.__dict__["region_id"] = None
|
|
517
532
|
super(MountPoint, __self__).__init__(
|
|
518
533
|
'alicloud:dfs/mountPoint:MountPoint',
|
|
519
534
|
resource_name,
|
|
@@ -531,6 +546,7 @@ class MountPoint(pulumi.CustomResource):
|
|
|
531
546
|
file_system_id: Optional[pulumi.Input[str]] = None,
|
|
532
547
|
mount_point_id: Optional[pulumi.Input[str]] = None,
|
|
533
548
|
network_type: Optional[pulumi.Input[str]] = None,
|
|
549
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
534
550
|
status: Optional[pulumi.Input[str]] = None,
|
|
535
551
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
536
552
|
vswitch_id: Optional[pulumi.Input[str]] = None) -> 'MountPoint':
|
|
@@ -548,6 +564,7 @@ class MountPoint(pulumi.CustomResource):
|
|
|
548
564
|
:param pulumi.Input[str] file_system_id: Unique file system identifier, used to retrieve specified file system resources.
|
|
549
565
|
:param pulumi.Input[str] mount_point_id: The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
|
|
550
566
|
:param pulumi.Input[str] network_type: The network type of the Mount point. Only VPC (VPC) is supported.
|
|
567
|
+
:param pulumi.Input[str] region_id: (Available since v1.242.0) The region ID of the Mount Point.
|
|
551
568
|
:param pulumi.Input[str] status: Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
|
|
552
569
|
:param pulumi.Input[str] vpc_id: The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
|
|
553
570
|
:param pulumi.Input[str] vswitch_id: VSwitch ID, which specifies the VSwitch resource used to create the mount point.
|
|
@@ -563,6 +580,7 @@ class MountPoint(pulumi.CustomResource):
|
|
|
563
580
|
__props__.__dict__["file_system_id"] = file_system_id
|
|
564
581
|
__props__.__dict__["mount_point_id"] = mount_point_id
|
|
565
582
|
__props__.__dict__["network_type"] = network_type
|
|
583
|
+
__props__.__dict__["region_id"] = region_id
|
|
566
584
|
__props__.__dict__["status"] = status
|
|
567
585
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
568
586
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
@@ -624,6 +642,14 @@ class MountPoint(pulumi.CustomResource):
|
|
|
624
642
|
"""
|
|
625
643
|
return pulumi.get(self, "network_type")
|
|
626
644
|
|
|
645
|
+
@property
|
|
646
|
+
@pulumi.getter(name="regionId")
|
|
647
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
648
|
+
"""
|
|
649
|
+
(Available since v1.242.0) The region ID of the Mount Point.
|
|
650
|
+
"""
|
|
651
|
+
return pulumi.get(self, "region_id")
|
|
652
|
+
|
|
627
653
|
@property
|
|
628
654
|
@pulumi.getter
|
|
629
655
|
def status(self) -> pulumi.Output[str]:
|
pulumi_alicloud/esa/__init__.py
CHANGED
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
from .. import _utilities
|
|
6
6
|
import typing
|
|
7
7
|
# Export this package's modules as members:
|
|
8
|
+
from .http_request_header_modification_rule import *
|
|
9
|
+
from .list import *
|
|
10
|
+
from .page import *
|
|
8
11
|
from .rate_plan_instance import *
|
|
9
12
|
from .record import *
|
|
10
13
|
from .site import *
|
pulumi_alicloud/esa/_inputs.py
CHANGED
|
@@ -15,6 +15,8 @@ else:
|
|
|
15
15
|
from .. import _utilities
|
|
16
16
|
|
|
17
17
|
__all__ = [
|
|
18
|
+
'HttpRequestHeaderModificationRuleRequestHeaderModificationArgs',
|
|
19
|
+
'HttpRequestHeaderModificationRuleRequestHeaderModificationArgsDict',
|
|
18
20
|
'RecordAuthConfArgs',
|
|
19
21
|
'RecordAuthConfArgsDict',
|
|
20
22
|
'RecordDataArgs',
|
|
@@ -23,6 +25,85 @@ __all__ = [
|
|
|
23
25
|
|
|
24
26
|
MYPY = False
|
|
25
27
|
|
|
28
|
+
if not MYPY:
|
|
29
|
+
class HttpRequestHeaderModificationRuleRequestHeaderModificationArgsDict(TypedDict):
|
|
30
|
+
name: pulumi.Input[str]
|
|
31
|
+
"""
|
|
32
|
+
Request Header Name.
|
|
33
|
+
"""
|
|
34
|
+
operation: pulumi.Input[str]
|
|
35
|
+
"""
|
|
36
|
+
Mode of operation. Value range:
|
|
37
|
+
add: add.
|
|
38
|
+
del: delete
|
|
39
|
+
modify: change.
|
|
40
|
+
"""
|
|
41
|
+
value: NotRequired[pulumi.Input[str]]
|
|
42
|
+
"""
|
|
43
|
+
Request header value
|
|
44
|
+
"""
|
|
45
|
+
elif False:
|
|
46
|
+
HttpRequestHeaderModificationRuleRequestHeaderModificationArgsDict: TypeAlias = Mapping[str, Any]
|
|
47
|
+
|
|
48
|
+
@pulumi.input_type
|
|
49
|
+
class HttpRequestHeaderModificationRuleRequestHeaderModificationArgs:
|
|
50
|
+
def __init__(__self__, *,
|
|
51
|
+
name: pulumi.Input[str],
|
|
52
|
+
operation: pulumi.Input[str],
|
|
53
|
+
value: Optional[pulumi.Input[str]] = None):
|
|
54
|
+
"""
|
|
55
|
+
:param pulumi.Input[str] name: Request Header Name.
|
|
56
|
+
:param pulumi.Input[str] operation: Mode of operation. Value range:
|
|
57
|
+
add: add.
|
|
58
|
+
del: delete
|
|
59
|
+
modify: change.
|
|
60
|
+
:param pulumi.Input[str] value: Request header value
|
|
61
|
+
"""
|
|
62
|
+
pulumi.set(__self__, "name", name)
|
|
63
|
+
pulumi.set(__self__, "operation", operation)
|
|
64
|
+
if value is not None:
|
|
65
|
+
pulumi.set(__self__, "value", value)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def name(self) -> pulumi.Input[str]:
|
|
70
|
+
"""
|
|
71
|
+
Request Header Name.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "name")
|
|
74
|
+
|
|
75
|
+
@name.setter
|
|
76
|
+
def name(self, value: pulumi.Input[str]):
|
|
77
|
+
pulumi.set(self, "name", value)
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter
|
|
81
|
+
def operation(self) -> pulumi.Input[str]:
|
|
82
|
+
"""
|
|
83
|
+
Mode of operation. Value range:
|
|
84
|
+
add: add.
|
|
85
|
+
del: delete
|
|
86
|
+
modify: change.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "operation")
|
|
89
|
+
|
|
90
|
+
@operation.setter
|
|
91
|
+
def operation(self, value: pulumi.Input[str]):
|
|
92
|
+
pulumi.set(self, "operation", value)
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter
|
|
96
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
|
97
|
+
"""
|
|
98
|
+
Request header value
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "value")
|
|
101
|
+
|
|
102
|
+
@value.setter
|
|
103
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
|
104
|
+
pulumi.set(self, "value", value)
|
|
105
|
+
|
|
106
|
+
|
|
26
107
|
if not MYPY:
|
|
27
108
|
class RecordAuthConfArgsDict(TypedDict):
|
|
28
109
|
access_key: NotRequired[pulumi.Input[str]]
|