pulumi-alicloud 3.71.0a1735362939__py3-none-any.whl → 3.72.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 +83 -0
- pulumi_alicloud/_inputs.py +471 -0
- pulumi_alicloud/adb/cluster.py +68 -0
- pulumi_alicloud/adb/db_cluster.py +94 -0
- pulumi_alicloud/adb/get_db_cluster_lake_versions.py +39 -4
- pulumi_alicloud/adb/outputs.py +106 -2
- pulumi_alicloud/apig/__init__.py +12 -0
- pulumi_alicloud/apig/_inputs.py +263 -0
- pulumi_alicloud/apig/environment.py +317 -0
- pulumi_alicloud/apig/gateway.py +645 -0
- pulumi_alicloud/apig/http_api.py +465 -0
- pulumi_alicloud/apig/outputs.py +213 -0
- pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
- pulumi_alicloud/cfg/get_aggregate_deliveries.py +16 -2
- pulumi_alicloud/cfg/get_aggregators.py +2 -2
- pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_configuration_recorders.py +2 -6
- pulumi_alicloud/cfg/get_deliveries.py +11 -2
- pulumi_alicloud/cfg/get_delivery_channels.py +0 -4
- pulumi_alicloud/cfg/get_rules.py +3 -7
- pulumi_alicloud/cfg/outputs.py +28 -20
- pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
- pulumi_alicloud/cloudfirewall/get_instances.py +23 -6
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +32 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +1 -1
- pulumi_alicloud/cloudfirewall/outputs.py +16 -4
- pulumi_alicloud/config/__init__.pyi +2 -0
- pulumi_alicloud/config/outputs.py +284 -0
- pulumi_alicloud/config/vars.py +4 -0
- pulumi_alicloud/cr/_inputs.py +128 -0
- pulumi_alicloud/cr/outputs.py +93 -0
- pulumi_alicloud/cr/registry_enterprise_instance.py +86 -63
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +331 -38
- pulumi_alicloud/dcdn/get_domains.py +2 -2
- pulumi_alicloud/dcdn/get_ipa_domains.py +14 -2
- pulumi_alicloud/dcdn/get_waf_domains.py +5 -2
- pulumi_alicloud/dcdn/get_waf_policies.py +8 -2
- pulumi_alicloud/dcdn/outputs.py +6 -6
- pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +8 -2
- pulumi_alicloud/ddos/get_ddos_coo_ports.py +16 -4
- pulumi_alicloud/ddos/outputs.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +9 -0
- pulumi_alicloud/ecs/ecs_snapshot.py +65 -9
- pulumi_alicloud/ecs/get_ecs_disks.py +103 -14
- pulumi_alicloud/ecs/get_instance_types.py +1 -1
- pulumi_alicloud/ecs/outputs.py +168 -37
- pulumi_alicloud/ecs/security_group.py +161 -81
- pulumi_alicloud/ecs/snapshot.py +40 -0
- pulumi_alicloud/eds/ram_directory.py +4 -0
- pulumi_alicloud/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +456 -0
- pulumi_alicloud/esa/outputs.py +321 -0
- pulumi_alicloud/esa/record.py +798 -0
- pulumi_alicloud/ess/get_scaling_configurations.py +116 -10
- pulumi_alicloud/ess/notification.py +50 -3
- pulumi_alicloud/ess/outputs.py +104 -8
- pulumi_alicloud/ess/scheduled_task.py +7 -7
- pulumi_alicloud/expressconnect/__init__.py +1 -0
- pulumi_alicloud/expressconnect/router_grant_association.py +477 -0
- pulumi_alicloud/fc/v3_trigger.py +1 -1
- pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +11 -2
- pulumi_alicloud/ga/get_acls.py +14 -2
- pulumi_alicloud/ga/get_additional_certificates.py +11 -2
- pulumi_alicloud/ga/get_bandwidth_packages.py +14 -2
- pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
- pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
- pulumi_alicloud/ga/get_domains.py +2 -2
- pulumi_alicloud/ga/get_forwarding_rules.py +8 -2
- pulumi_alicloud/ga/get_ip_sets.py +8 -2
- pulumi_alicloud/ga/get_listeners.py +11 -2
- pulumi_alicloud/ga/outputs.py +64 -32
- pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
- pulumi_alicloud/get_msc_sub_contacts.py +8 -2
- pulumi_alicloud/get_msc_sub_subscriptions.py +5 -2
- pulumi_alicloud/get_msc_sub_webhooks.py +8 -2
- pulumi_alicloud/kms/key.py +108 -28
- pulumi_alicloud/kvstore/backup_policy.py +32 -24
- pulumi_alicloud/kvstore/get_instances.py +14 -3
- pulumi_alicloud/kvstore/outputs.py +48 -4
- pulumi_alicloud/marketplace/order.py +2 -2
- pulumi_alicloud/mongodb/__init__.py +1 -0
- pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
- pulumi_alicloud/oss/__init__.py +2 -0
- pulumi_alicloud/oss/_inputs.py +68 -0
- pulumi_alicloud/oss/access_point.py +463 -0
- pulumi_alicloud/oss/bucket_worm.py +327 -0
- pulumi_alicloud/oss/outputs.py +74 -0
- pulumi_alicloud/polardb/cluster.py +47 -0
- pulumi_alicloud/privatelink/get_service.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +14 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +8 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +23 -2
- pulumi_alicloud/privatelink/outputs.py +6 -6
- pulumi_alicloud/privatelink/vpc_endpoint.py +143 -69
- pulumi_alicloud/privatelink/vpc_endpoint_service.py +47 -0
- pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +2 -2
- pulumi_alicloud/provider.py +20 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_policies.py +66 -8
- pulumi_alicloud/rds/instance.py +211 -14
- pulumi_alicloud/redis/tair_instance.py +47 -0
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/schedulerx/__init__.py +3 -0
- pulumi_alicloud/schedulerx/_inputs.py +542 -0
- pulumi_alicloud/schedulerx/app_group.py +952 -0
- pulumi_alicloud/schedulerx/job.py +1454 -0
- pulumi_alicloud/schedulerx/namespace.py +64 -51
- pulumi_alicloud/schedulerx/outputs.py +425 -0
- pulumi_alicloud/sddp/get_configs.py +5 -2
- pulumi_alicloud/sddp/get_data_limits.py +11 -2
- pulumi_alicloud/sddp/get_instances.py +5 -2
- pulumi_alicloud/sddp/get_rules.py +29 -2
- pulumi_alicloud/sddp/outputs.py +14 -14
- pulumi_alicloud/vpc/get_peer_connections.py +17 -2
- pulumi_alicloud/vpc/network.py +293 -40
- pulumi_alicloud/vpc/outputs.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +239 -132
- pulumi_alicloud/vpc/peer_connection_accepter.py +85 -6
- pulumi_alicloud/waf/domain.py +2 -2
- pulumi_alicloud/waf/get_certificates.py +14 -2
- pulumi_alicloud/waf/get_domains.py +6 -4
- pulumi_alicloud/waf/get_instances.py +2 -2
- pulumi_alicloud/waf/instance.py +0 -64
- pulumi_alicloud/waf/outputs.py +2 -4
- pulumi_alicloud/wafv3/get_instances.py +10 -4
- {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/RECORD +142 -126
- {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/top_level.txt +0 -0
|
@@ -384,9 +384,11 @@ class GetInstancesInstanceResult(dict):
|
|
|
384
384
|
zone_id: str):
|
|
385
385
|
"""
|
|
386
386
|
:param str architecture_type: The type of the architecture. Valid values: `cluster`, `standard` and `SplitRW`.
|
|
387
|
+
:param bool auto_renew: Indicates whether auto-renewal is enabled for the instance.
|
|
388
|
+
:param int auto_renew_period: The duration for which the instance is automatically renewed. Unit: months.
|
|
387
389
|
:param str availability_zone: It has been deprecated from provider version 1.101.0 and `zone_id` instead.
|
|
388
390
|
:param int bandwidth: Instance bandwidth limit. Unit: Mbit/s.
|
|
389
|
-
:param int capacity: Capacity of the applied Tair (Redis OSS-Compatible) And
|
|
391
|
+
:param int capacity: Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
|
|
390
392
|
:param str charge_type: It has been deprecated from provider version 1.101.0 and `payment_type` instead.
|
|
391
393
|
:param Mapping[str, str] config: The parameter configuration of the instance.
|
|
392
394
|
:param str connection_domain: Instance connection domain (only Intranet access supported).
|
|
@@ -402,8 +404,11 @@ class GetInstancesInstanceResult(dict):
|
|
|
402
404
|
:param bool has_renew_change_order: Indicates whether there was an order of renewal with configuration change that had not taken effect.
|
|
403
405
|
:param str id: The ID of the instance.
|
|
404
406
|
:param str instance_class: Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see [Instance type table](https://help.aliyun.com/zh/redis/developer-reference/instance-types).
|
|
407
|
+
:param bool instance_release_protection: Indicates whether the release protection feature is enabled for the instance.
|
|
405
408
|
:param str instance_type: The engine type of the KVStore DBInstance. Options are `Memcache`, and `Redis`. If no value is specified, all types are returned.
|
|
406
409
|
:param bool is_rds: Indicates whether the instance is managed by Relational Database Service (RDS).
|
|
410
|
+
:param str maintain_end_time: The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
|
|
411
|
+
:param str maintain_start_time: The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
|
|
407
412
|
:param int max_connections: Instance connection quantity limit. Unit: count.
|
|
408
413
|
:param str name: It has been deprecated from provider version 1.101.0 and `db_instance_name` instead.
|
|
409
414
|
:param str network_type: The type of the network. Valid values: `CLASSIC`, `VPC`.
|
|
@@ -417,10 +422,16 @@ class GetInstancesInstanceResult(dict):
|
|
|
417
422
|
:param str replacate_id: The logical ID of the replica instance.
|
|
418
423
|
:param str resource_group_id: The ID of the resource group.
|
|
419
424
|
:param str search_key: The name of the instance.
|
|
420
|
-
:param str secondary_zone_id:
|
|
425
|
+
:param str secondary_zone_id: The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
|
|
426
|
+
:param str security_group_id: The ID of the security group associated with the instance.
|
|
427
|
+
:param str security_ip_group_attribute: By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
|
|
428
|
+
:param str security_ip_group_name: The name of the IP address whitelist.
|
|
429
|
+
:param Sequence[str] security_ips: The IP addresses in the whitelist.
|
|
430
|
+
:param str ssl_enable: Indicates whether SSL encryption is enabled.
|
|
421
431
|
:param str status: The status of the KVStore DBInstance. Valid values: `Changing`, `CleaningUpExpiredData`, `Creating`, `Flushing`, `HASwitching`, `Inactive`, `MajorVersionUpgrading`, `Migrating`, `NetworkModifying`, `Normal`, `Rebooting`, `SSLModifying`, `Transforming`, `ZoneMigrating`.
|
|
422
432
|
:param Mapping[str, str] tags: Query the instance bound to the tag. The format of the incoming value is `json` string, including `TagKey` and `TagValue`. `TagKey` cannot be null, and `TagValue` can be empty. Format example `{"key1":"value1"}`.
|
|
423
433
|
:param str user_name: The username of the instance.
|
|
434
|
+
:param str vpc_auth_mode: Indicates whether password authentication is enabled. Valid values: Open, Close.
|
|
424
435
|
:param str vpc_cloud_instance_id: Connection port of the instance.
|
|
425
436
|
:param str vpc_id: Used to retrieve instances belong to specified VPC.
|
|
426
437
|
:param str vswitch_id: Used to retrieve instances belong to specified `vswitch` resources.
|
|
@@ -491,11 +502,17 @@ class GetInstancesInstanceResult(dict):
|
|
|
491
502
|
@property
|
|
492
503
|
@pulumi.getter(name="autoRenew")
|
|
493
504
|
def auto_renew(self) -> bool:
|
|
505
|
+
"""
|
|
506
|
+
Indicates whether auto-renewal is enabled for the instance.
|
|
507
|
+
"""
|
|
494
508
|
return pulumi.get(self, "auto_renew")
|
|
495
509
|
|
|
496
510
|
@property
|
|
497
511
|
@pulumi.getter(name="autoRenewPeriod")
|
|
498
512
|
def auto_renew_period(self) -> int:
|
|
513
|
+
"""
|
|
514
|
+
The duration for which the instance is automatically renewed. Unit: months.
|
|
515
|
+
"""
|
|
499
516
|
return pulumi.get(self, "auto_renew_period")
|
|
500
517
|
|
|
501
518
|
@property
|
|
@@ -518,7 +535,7 @@ class GetInstancesInstanceResult(dict):
|
|
|
518
535
|
@pulumi.getter
|
|
519
536
|
def capacity(self) -> int:
|
|
520
537
|
"""
|
|
521
|
-
Capacity of the applied Tair (Redis OSS-Compatible) And
|
|
538
|
+
Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
|
|
522
539
|
"""
|
|
523
540
|
return pulumi.get(self, "capacity")
|
|
524
541
|
|
|
@@ -645,6 +662,9 @@ class GetInstancesInstanceResult(dict):
|
|
|
645
662
|
@property
|
|
646
663
|
@pulumi.getter(name="instanceReleaseProtection")
|
|
647
664
|
def instance_release_protection(self) -> bool:
|
|
665
|
+
"""
|
|
666
|
+
Indicates whether the release protection feature is enabled for the instance.
|
|
667
|
+
"""
|
|
648
668
|
return pulumi.get(self, "instance_release_protection")
|
|
649
669
|
|
|
650
670
|
@property
|
|
@@ -666,11 +686,17 @@ class GetInstancesInstanceResult(dict):
|
|
|
666
686
|
@property
|
|
667
687
|
@pulumi.getter(name="maintainEndTime")
|
|
668
688
|
def maintain_end_time(self) -> str:
|
|
689
|
+
"""
|
|
690
|
+
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
|
|
691
|
+
"""
|
|
669
692
|
return pulumi.get(self, "maintain_end_time")
|
|
670
693
|
|
|
671
694
|
@property
|
|
672
695
|
@pulumi.getter(name="maintainStartTime")
|
|
673
696
|
def maintain_start_time(self) -> str:
|
|
697
|
+
"""
|
|
698
|
+
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
|
|
699
|
+
"""
|
|
674
700
|
return pulumi.get(self, "maintain_start_time")
|
|
675
701
|
|
|
676
702
|
@property
|
|
@@ -781,33 +807,48 @@ class GetInstancesInstanceResult(dict):
|
|
|
781
807
|
@pulumi.getter(name="secondaryZoneId")
|
|
782
808
|
def secondary_zone_id(self) -> str:
|
|
783
809
|
"""
|
|
784
|
-
|
|
810
|
+
The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
|
|
785
811
|
"""
|
|
786
812
|
return pulumi.get(self, "secondary_zone_id")
|
|
787
813
|
|
|
788
814
|
@property
|
|
789
815
|
@pulumi.getter(name="securityGroupId")
|
|
790
816
|
def security_group_id(self) -> str:
|
|
817
|
+
"""
|
|
818
|
+
The ID of the security group associated with the instance.
|
|
819
|
+
"""
|
|
791
820
|
return pulumi.get(self, "security_group_id")
|
|
792
821
|
|
|
793
822
|
@property
|
|
794
823
|
@pulumi.getter(name="securityIpGroupAttribute")
|
|
795
824
|
def security_ip_group_attribute(self) -> str:
|
|
825
|
+
"""
|
|
826
|
+
By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
|
|
827
|
+
"""
|
|
796
828
|
return pulumi.get(self, "security_ip_group_attribute")
|
|
797
829
|
|
|
798
830
|
@property
|
|
799
831
|
@pulumi.getter(name="securityIpGroupName")
|
|
800
832
|
def security_ip_group_name(self) -> str:
|
|
833
|
+
"""
|
|
834
|
+
The name of the IP address whitelist.
|
|
835
|
+
"""
|
|
801
836
|
return pulumi.get(self, "security_ip_group_name")
|
|
802
837
|
|
|
803
838
|
@property
|
|
804
839
|
@pulumi.getter(name="securityIps")
|
|
805
840
|
def security_ips(self) -> Sequence[str]:
|
|
841
|
+
"""
|
|
842
|
+
The IP addresses in the whitelist.
|
|
843
|
+
"""
|
|
806
844
|
return pulumi.get(self, "security_ips")
|
|
807
845
|
|
|
808
846
|
@property
|
|
809
847
|
@pulumi.getter(name="sslEnable")
|
|
810
848
|
def ssl_enable(self) -> str:
|
|
849
|
+
"""
|
|
850
|
+
Indicates whether SSL encryption is enabled.
|
|
851
|
+
"""
|
|
811
852
|
return pulumi.get(self, "ssl_enable")
|
|
812
853
|
|
|
813
854
|
@property
|
|
@@ -837,6 +878,9 @@ class GetInstancesInstanceResult(dict):
|
|
|
837
878
|
@property
|
|
838
879
|
@pulumi.getter(name="vpcAuthMode")
|
|
839
880
|
def vpc_auth_mode(self) -> str:
|
|
881
|
+
"""
|
|
882
|
+
Indicates whether password authentication is enabled. Valid values: Open, Close.
|
|
883
|
+
"""
|
|
840
884
|
return pulumi.get(self, "vpc_auth_mode")
|
|
841
885
|
|
|
842
886
|
@property
|
|
@@ -310,7 +310,7 @@ class Order(pulumi.CustomResource):
|
|
|
310
310
|
|
|
311
311
|
order = alicloud.marketplace.Order("order",
|
|
312
312
|
product_code="cmapi033136",
|
|
313
|
-
pay_type="
|
|
313
|
+
pay_type="PrePaid",
|
|
314
314
|
quantity=1,
|
|
315
315
|
duration=1,
|
|
316
316
|
pricing_cycle="Month",
|
|
@@ -354,7 +354,7 @@ class Order(pulumi.CustomResource):
|
|
|
354
354
|
|
|
355
355
|
order = alicloud.marketplace.Order("order",
|
|
356
356
|
product_code="cmapi033136",
|
|
357
|
-
pay_type="
|
|
357
|
+
pay_type="PrePaid",
|
|
358
358
|
quantity=1,
|
|
359
359
|
duration=1,
|
|
360
360
|
pricing_cycle="Month",
|
|
@@ -15,6 +15,7 @@ from .get_sharding_network_private_addresses import *
|
|
|
15
15
|
from .get_sharding_network_public_addresses import *
|
|
16
16
|
from .get_zones import *
|
|
17
17
|
from .instance import *
|
|
18
|
+
from .private_srv_network_address import *
|
|
18
19
|
from .serverless_instance import *
|
|
19
20
|
from .sharding_instance import *
|
|
20
21
|
from .sharding_network_private_address import *
|
|
@@ -0,0 +1,283 @@
|
|
|
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
|
+
|
|
17
|
+
__all__ = ['PrivateSrvNetworkAddressArgs', 'PrivateSrvNetworkAddress']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class PrivateSrvNetworkAddressArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
db_instance_id: pulumi.Input[str]):
|
|
23
|
+
"""
|
|
24
|
+
The set of arguments for constructing a PrivateSrvNetworkAddress resource.
|
|
25
|
+
:param pulumi.Input[str] db_instance_id: The instance ID.
|
|
26
|
+
"""
|
|
27
|
+
pulumi.set(__self__, "db_instance_id", db_instance_id)
|
|
28
|
+
|
|
29
|
+
@property
|
|
30
|
+
@pulumi.getter(name="dbInstanceId")
|
|
31
|
+
def db_instance_id(self) -> pulumi.Input[str]:
|
|
32
|
+
"""
|
|
33
|
+
The instance ID.
|
|
34
|
+
"""
|
|
35
|
+
return pulumi.get(self, "db_instance_id")
|
|
36
|
+
|
|
37
|
+
@db_instance_id.setter
|
|
38
|
+
def db_instance_id(self, value: pulumi.Input[str]):
|
|
39
|
+
pulumi.set(self, "db_instance_id", value)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@pulumi.input_type
|
|
43
|
+
class _PrivateSrvNetworkAddressState:
|
|
44
|
+
def __init__(__self__, *,
|
|
45
|
+
db_instance_id: Optional[pulumi.Input[str]] = None,
|
|
46
|
+
private_srv_connection_string_uri: Optional[pulumi.Input[str]] = None):
|
|
47
|
+
"""
|
|
48
|
+
Input properties used for looking up and filtering PrivateSrvNetworkAddress resources.
|
|
49
|
+
:param pulumi.Input[str] db_instance_id: The instance ID.
|
|
50
|
+
:param pulumi.Input[str] private_srv_connection_string_uri: Private network SRV highly available connection address
|
|
51
|
+
"""
|
|
52
|
+
if db_instance_id is not None:
|
|
53
|
+
pulumi.set(__self__, "db_instance_id", db_instance_id)
|
|
54
|
+
if private_srv_connection_string_uri is not None:
|
|
55
|
+
pulumi.set(__self__, "private_srv_connection_string_uri", private_srv_connection_string_uri)
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
@pulumi.getter(name="dbInstanceId")
|
|
59
|
+
def db_instance_id(self) -> Optional[pulumi.Input[str]]:
|
|
60
|
+
"""
|
|
61
|
+
The instance ID.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "db_instance_id")
|
|
64
|
+
|
|
65
|
+
@db_instance_id.setter
|
|
66
|
+
def db_instance_id(self, value: Optional[pulumi.Input[str]]):
|
|
67
|
+
pulumi.set(self, "db_instance_id", value)
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="privateSrvConnectionStringUri")
|
|
71
|
+
def private_srv_connection_string_uri(self) -> Optional[pulumi.Input[str]]:
|
|
72
|
+
"""
|
|
73
|
+
Private network SRV highly available connection address
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "private_srv_connection_string_uri")
|
|
76
|
+
|
|
77
|
+
@private_srv_connection_string_uri.setter
|
|
78
|
+
def private_srv_connection_string_uri(self, value: Optional[pulumi.Input[str]]):
|
|
79
|
+
pulumi.set(self, "private_srv_connection_string_uri", value)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class PrivateSrvNetworkAddress(pulumi.CustomResource):
|
|
83
|
+
@overload
|
|
84
|
+
def __init__(__self__,
|
|
85
|
+
resource_name: str,
|
|
86
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
87
|
+
db_instance_id: Optional[pulumi.Input[str]] = None,
|
|
88
|
+
__props__=None):
|
|
89
|
+
"""
|
|
90
|
+
Provides a Mongo D B Private Srv Network Address resource.
|
|
91
|
+
|
|
92
|
+
Private network SRV highly available link address.
|
|
93
|
+
|
|
94
|
+
For information about Mongo D B Private Srv Network Address and how to use it, see [What is Private Srv Network Address](https://www.alibabacloud.com/help/en/).
|
|
95
|
+
|
|
96
|
+
> **NOTE:** Available since v1.240.0.
|
|
97
|
+
|
|
98
|
+
## Example Usage
|
|
99
|
+
|
|
100
|
+
Basic Usage
|
|
101
|
+
|
|
102
|
+
```python
|
|
103
|
+
import pulumi
|
|
104
|
+
import pulumi_alicloud as alicloud
|
|
105
|
+
|
|
106
|
+
config = pulumi.Config()
|
|
107
|
+
name = config.get("name")
|
|
108
|
+
if name is None:
|
|
109
|
+
name = "terraform-example"
|
|
110
|
+
zone_id = config.get("zoneId")
|
|
111
|
+
if zone_id is None:
|
|
112
|
+
zone_id = "cn-shanghai-b"
|
|
113
|
+
region_id = config.get("regionId")
|
|
114
|
+
if region_id is None:
|
|
115
|
+
region_id = "cn-shanghai"
|
|
116
|
+
defaultie35_cw = alicloud.vpc.Network("defaultie35CW",
|
|
117
|
+
cidr_block="10.0.0.0/8",
|
|
118
|
+
vpc_name=name)
|
|
119
|
+
defaultg0_dcar = alicloud.vpc.Switch("defaultg0DCAR",
|
|
120
|
+
vpc_id=defaultie35_cw.id,
|
|
121
|
+
zone_id=zone_id,
|
|
122
|
+
cidr_block="10.0.0.0/24")
|
|
123
|
+
default_hr_zmx_c = alicloud.mongodb.Instance("defaultHrZmxC",
|
|
124
|
+
engine_version="4.4",
|
|
125
|
+
storage_type="cloud_essd1",
|
|
126
|
+
vswitch_id=defaultg0_dcar.id,
|
|
127
|
+
db_instance_storage=20,
|
|
128
|
+
vpc_id=defaultie35_cw.id,
|
|
129
|
+
db_instance_class="mdb.shard.4x.large.d",
|
|
130
|
+
storage_engine="WiredTiger",
|
|
131
|
+
network_type="VPC",
|
|
132
|
+
zone_id=zone_id)
|
|
133
|
+
default = alicloud.mongodb.PrivateSrvNetworkAddress("default", db_instance_id=default_hr_zmx_c.id)
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Import
|
|
137
|
+
|
|
138
|
+
Mongo D B Private Srv Network Address can be imported using the id, e.g.
|
|
139
|
+
|
|
140
|
+
```sh
|
|
141
|
+
$ pulumi import alicloud:mongodb/privateSrvNetworkAddress:PrivateSrvNetworkAddress example <id>
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
:param str resource_name: The name of the resource.
|
|
145
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
146
|
+
:param pulumi.Input[str] db_instance_id: The instance ID.
|
|
147
|
+
"""
|
|
148
|
+
...
|
|
149
|
+
@overload
|
|
150
|
+
def __init__(__self__,
|
|
151
|
+
resource_name: str,
|
|
152
|
+
args: PrivateSrvNetworkAddressArgs,
|
|
153
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
154
|
+
"""
|
|
155
|
+
Provides a Mongo D B Private Srv Network Address resource.
|
|
156
|
+
|
|
157
|
+
Private network SRV highly available link address.
|
|
158
|
+
|
|
159
|
+
For information about Mongo D B Private Srv Network Address and how to use it, see [What is Private Srv Network Address](https://www.alibabacloud.com/help/en/).
|
|
160
|
+
|
|
161
|
+
> **NOTE:** Available since v1.240.0.
|
|
162
|
+
|
|
163
|
+
## Example Usage
|
|
164
|
+
|
|
165
|
+
Basic Usage
|
|
166
|
+
|
|
167
|
+
```python
|
|
168
|
+
import pulumi
|
|
169
|
+
import pulumi_alicloud as alicloud
|
|
170
|
+
|
|
171
|
+
config = pulumi.Config()
|
|
172
|
+
name = config.get("name")
|
|
173
|
+
if name is None:
|
|
174
|
+
name = "terraform-example"
|
|
175
|
+
zone_id = config.get("zoneId")
|
|
176
|
+
if zone_id is None:
|
|
177
|
+
zone_id = "cn-shanghai-b"
|
|
178
|
+
region_id = config.get("regionId")
|
|
179
|
+
if region_id is None:
|
|
180
|
+
region_id = "cn-shanghai"
|
|
181
|
+
defaultie35_cw = alicloud.vpc.Network("defaultie35CW",
|
|
182
|
+
cidr_block="10.0.0.0/8",
|
|
183
|
+
vpc_name=name)
|
|
184
|
+
defaultg0_dcar = alicloud.vpc.Switch("defaultg0DCAR",
|
|
185
|
+
vpc_id=defaultie35_cw.id,
|
|
186
|
+
zone_id=zone_id,
|
|
187
|
+
cidr_block="10.0.0.0/24")
|
|
188
|
+
default_hr_zmx_c = alicloud.mongodb.Instance("defaultHrZmxC",
|
|
189
|
+
engine_version="4.4",
|
|
190
|
+
storage_type="cloud_essd1",
|
|
191
|
+
vswitch_id=defaultg0_dcar.id,
|
|
192
|
+
db_instance_storage=20,
|
|
193
|
+
vpc_id=defaultie35_cw.id,
|
|
194
|
+
db_instance_class="mdb.shard.4x.large.d",
|
|
195
|
+
storage_engine="WiredTiger",
|
|
196
|
+
network_type="VPC",
|
|
197
|
+
zone_id=zone_id)
|
|
198
|
+
default = alicloud.mongodb.PrivateSrvNetworkAddress("default", db_instance_id=default_hr_zmx_c.id)
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
## Import
|
|
202
|
+
|
|
203
|
+
Mongo D B Private Srv Network Address can be imported using the id, e.g.
|
|
204
|
+
|
|
205
|
+
```sh
|
|
206
|
+
$ pulumi import alicloud:mongodb/privateSrvNetworkAddress:PrivateSrvNetworkAddress example <id>
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
:param str resource_name: The name of the resource.
|
|
210
|
+
:param PrivateSrvNetworkAddressArgs args: The arguments to use to populate this resource's properties.
|
|
211
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
212
|
+
"""
|
|
213
|
+
...
|
|
214
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
215
|
+
resource_args, opts = _utilities.get_resource_args_opts(PrivateSrvNetworkAddressArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
216
|
+
if resource_args is not None:
|
|
217
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
218
|
+
else:
|
|
219
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
220
|
+
|
|
221
|
+
def _internal_init(__self__,
|
|
222
|
+
resource_name: str,
|
|
223
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
224
|
+
db_instance_id: Optional[pulumi.Input[str]] = None,
|
|
225
|
+
__props__=None):
|
|
226
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
227
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
228
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
229
|
+
if opts.id is None:
|
|
230
|
+
if __props__ is not None:
|
|
231
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
232
|
+
__props__ = PrivateSrvNetworkAddressArgs.__new__(PrivateSrvNetworkAddressArgs)
|
|
233
|
+
|
|
234
|
+
if db_instance_id is None and not opts.urn:
|
|
235
|
+
raise TypeError("Missing required property 'db_instance_id'")
|
|
236
|
+
__props__.__dict__["db_instance_id"] = db_instance_id
|
|
237
|
+
__props__.__dict__["private_srv_connection_string_uri"] = None
|
|
238
|
+
super(PrivateSrvNetworkAddress, __self__).__init__(
|
|
239
|
+
'alicloud:mongodb/privateSrvNetworkAddress:PrivateSrvNetworkAddress',
|
|
240
|
+
resource_name,
|
|
241
|
+
__props__,
|
|
242
|
+
opts)
|
|
243
|
+
|
|
244
|
+
@staticmethod
|
|
245
|
+
def get(resource_name: str,
|
|
246
|
+
id: pulumi.Input[str],
|
|
247
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
248
|
+
db_instance_id: Optional[pulumi.Input[str]] = None,
|
|
249
|
+
private_srv_connection_string_uri: Optional[pulumi.Input[str]] = None) -> 'PrivateSrvNetworkAddress':
|
|
250
|
+
"""
|
|
251
|
+
Get an existing PrivateSrvNetworkAddress resource's state with the given name, id, and optional extra
|
|
252
|
+
properties used to qualify the lookup.
|
|
253
|
+
|
|
254
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
255
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
256
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
257
|
+
:param pulumi.Input[str] db_instance_id: The instance ID.
|
|
258
|
+
:param pulumi.Input[str] private_srv_connection_string_uri: Private network SRV highly available connection address
|
|
259
|
+
"""
|
|
260
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
261
|
+
|
|
262
|
+
__props__ = _PrivateSrvNetworkAddressState.__new__(_PrivateSrvNetworkAddressState)
|
|
263
|
+
|
|
264
|
+
__props__.__dict__["db_instance_id"] = db_instance_id
|
|
265
|
+
__props__.__dict__["private_srv_connection_string_uri"] = private_srv_connection_string_uri
|
|
266
|
+
return PrivateSrvNetworkAddress(resource_name, opts=opts, __props__=__props__)
|
|
267
|
+
|
|
268
|
+
@property
|
|
269
|
+
@pulumi.getter(name="dbInstanceId")
|
|
270
|
+
def db_instance_id(self) -> pulumi.Output[str]:
|
|
271
|
+
"""
|
|
272
|
+
The instance ID.
|
|
273
|
+
"""
|
|
274
|
+
return pulumi.get(self, "db_instance_id")
|
|
275
|
+
|
|
276
|
+
@property
|
|
277
|
+
@pulumi.getter(name="privateSrvConnectionStringUri")
|
|
278
|
+
def private_srv_connection_string_uri(self) -> pulumi.Output[str]:
|
|
279
|
+
"""
|
|
280
|
+
Private network SRV highly available connection address
|
|
281
|
+
"""
|
|
282
|
+
return pulumi.get(self, "private_srv_connection_string_uri")
|
|
283
|
+
|
pulumi_alicloud/oss/__init__.py
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
from .. import _utilities
|
|
6
6
|
import typing
|
|
7
7
|
# Export this package's modules as members:
|
|
8
|
+
from .access_point import *
|
|
8
9
|
from .account_public_access_block import *
|
|
9
10
|
from .bucket import *
|
|
10
11
|
from .bucket_access_monitor import *
|
|
@@ -27,6 +28,7 @@ from .bucket_transfer_acceleration import *
|
|
|
27
28
|
from .bucket_user_defined_log_fields import *
|
|
28
29
|
from .bucket_versioning import *
|
|
29
30
|
from .bucket_website import *
|
|
31
|
+
from .bucket_worm import *
|
|
30
32
|
from .get_bucket_objects import *
|
|
31
33
|
from .get_buckets import *
|
|
32
34
|
from .get_instance_attachments import *
|
pulumi_alicloud/oss/_inputs.py
CHANGED
|
@@ -15,6 +15,10 @@ else:
|
|
|
15
15
|
from .. import _utilities
|
|
16
16
|
|
|
17
17
|
__all__ = [
|
|
18
|
+
'AccessPointPublicAccessBlockConfigurationArgs',
|
|
19
|
+
'AccessPointPublicAccessBlockConfigurationArgsDict',
|
|
20
|
+
'AccessPointVpcConfigurationArgs',
|
|
21
|
+
'AccessPointVpcConfigurationArgsDict',
|
|
18
22
|
'BucketAccessMonitorArgs',
|
|
19
23
|
'BucketAccessMonitorArgsDict',
|
|
20
24
|
'BucketCnameCertificateArgs',
|
|
@@ -103,6 +107,70 @@ __all__ = [
|
|
|
103
107
|
|
|
104
108
|
MYPY = False
|
|
105
109
|
|
|
110
|
+
if not MYPY:
|
|
111
|
+
class AccessPointPublicAccessBlockConfigurationArgsDict(TypedDict):
|
|
112
|
+
block_public_access: NotRequired[pulumi.Input[bool]]
|
|
113
|
+
"""
|
|
114
|
+
Block public access enabled for access point
|
|
115
|
+
"""
|
|
116
|
+
elif False:
|
|
117
|
+
AccessPointPublicAccessBlockConfigurationArgsDict: TypeAlias = Mapping[str, Any]
|
|
118
|
+
|
|
119
|
+
@pulumi.input_type
|
|
120
|
+
class AccessPointPublicAccessBlockConfigurationArgs:
|
|
121
|
+
def __init__(__self__, *,
|
|
122
|
+
block_public_access: Optional[pulumi.Input[bool]] = None):
|
|
123
|
+
"""
|
|
124
|
+
:param pulumi.Input[bool] block_public_access: Block public access enabled for access point
|
|
125
|
+
"""
|
|
126
|
+
if block_public_access is not None:
|
|
127
|
+
pulumi.set(__self__, "block_public_access", block_public_access)
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
@pulumi.getter(name="blockPublicAccess")
|
|
131
|
+
def block_public_access(self) -> Optional[pulumi.Input[bool]]:
|
|
132
|
+
"""
|
|
133
|
+
Block public access enabled for access point
|
|
134
|
+
"""
|
|
135
|
+
return pulumi.get(self, "block_public_access")
|
|
136
|
+
|
|
137
|
+
@block_public_access.setter
|
|
138
|
+
def block_public_access(self, value: Optional[pulumi.Input[bool]]):
|
|
139
|
+
pulumi.set(self, "block_public_access", value)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
if not MYPY:
|
|
143
|
+
class AccessPointVpcConfigurationArgsDict(TypedDict):
|
|
144
|
+
vpc_id: NotRequired[pulumi.Input[str]]
|
|
145
|
+
"""
|
|
146
|
+
The vpc ID is required only when the value of NetworkOrigin is VPC.
|
|
147
|
+
"""
|
|
148
|
+
elif False:
|
|
149
|
+
AccessPointVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any]
|
|
150
|
+
|
|
151
|
+
@pulumi.input_type
|
|
152
|
+
class AccessPointVpcConfigurationArgs:
|
|
153
|
+
def __init__(__self__, *,
|
|
154
|
+
vpc_id: Optional[pulumi.Input[str]] = None):
|
|
155
|
+
"""
|
|
156
|
+
:param pulumi.Input[str] vpc_id: The vpc ID is required only when the value of NetworkOrigin is VPC.
|
|
157
|
+
"""
|
|
158
|
+
if vpc_id is not None:
|
|
159
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
@pulumi.getter(name="vpcId")
|
|
163
|
+
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
164
|
+
"""
|
|
165
|
+
The vpc ID is required only when the value of NetworkOrigin is VPC.
|
|
166
|
+
"""
|
|
167
|
+
return pulumi.get(self, "vpc_id")
|
|
168
|
+
|
|
169
|
+
@vpc_id.setter
|
|
170
|
+
def vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
171
|
+
pulumi.set(self, "vpc_id", value)
|
|
172
|
+
|
|
173
|
+
|
|
106
174
|
if not MYPY:
|
|
107
175
|
class BucketAccessMonitorArgsDict(TypedDict):
|
|
108
176
|
status: NotRequired[pulumi.Input[str]]
|