pulumi-alicloud 3.56.0a1716440817__py3-none-any.whl → 3.56.0a1716959723__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.
- pulumi_alicloud/actiontrail/outputs.py +4 -0
- pulumi_alicloud/adb/db_cluster.py +14 -0
- pulumi_alicloud/adb/get_db_cluster_lake_versions.py +2 -2
- pulumi_alicloud/alb/_inputs.py +34 -0
- pulumi_alicloud/alb/get_acls.py +2 -2
- pulumi_alicloud/alb/get_security_policies.py +4 -4
- pulumi_alicloud/alb/outputs.py +188 -10
- pulumi_alicloud/alb/rule.py +14 -0
- pulumi_alicloud/alb/server_group.py +21 -0
- pulumi_alicloud/amqp/get_instances.py +2 -2
- pulumi_alicloud/apigateway/get_log_configs.py +2 -2
- pulumi_alicloud/apigateway/get_plugins.py +6 -6
- pulumi_alicloud/arms/outputs.py +20 -0
- pulumi_alicloud/bastionhost/get_users.py +4 -4
- pulumi_alicloud/bastionhost/host.py +28 -7
- pulumi_alicloud/bastionhost/instance.py +14 -0
- pulumi_alicloud/cddc/get_dedicated_host_accounts.py +2 -2
- pulumi_alicloud/cddc/get_dedicated_host_groups.py +2 -2
- pulumi_alicloud/cddc/outputs.py +0 -6
- pulumi_alicloud/cdn/get_real_time_log_deliveries.py +0 -2
- pulumi_alicloud/cen/get_traffic_marking_policies.py +2 -4
- pulumi_alicloud/cen/get_transit_router_route_table_associations.py +8 -0
- pulumi_alicloud/cen/outputs.py +6 -0
- pulumi_alicloud/cen/transit_router_peer_attachment.py +14 -0
- pulumi_alicloud/cen/transit_router_prefix_list_association.py +28 -0
- pulumi_alicloud/cfg/aggregator.py +14 -0
- pulumi_alicloud/clickhouse/outputs.py +34 -4
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +12 -4
- pulumi_alicloud/cloudfirewall/instance.py +28 -0
- pulumi_alicloud/cloudsso/get_access_assignments.py +4 -4
- pulumi_alicloud/cloudsso/get_groups.py +2 -2
- pulumi_alicloud/cloudsso/outputs.py +104 -2
- pulumi_alicloud/cloudstoragegateway/get_gateway_block_volumes.py +2 -2
- pulumi_alicloud/cloudstoragegateway/get_gateway_cache_disks.py +2 -2
- pulumi_alicloud/cms/_inputs.py +16 -0
- pulumi_alicloud/cms/get_event_rules.py +2 -2
- pulumi_alicloud/cms/get_group_metric_rules.py +4 -4
- pulumi_alicloud/cms/get_hybrid_monitor_fc_tasks.py +2 -2
- pulumi_alicloud/cms/get_monitor_groups.py +2 -4
- pulumi_alicloud/cms/outputs.py +216 -0
- pulumi_alicloud/cr/get_chart_namespaces.py +2 -2
- pulumi_alicloud/cr/get_chart_repositories.py +2 -2
- pulumi_alicloud/cr/get_endpoint_acl_policies.py +2 -2
- pulumi_alicloud/cr/get_endpoint_acl_service.py +2 -2
- pulumi_alicloud/cr/get_vpc_endpoint_linked_vpcs.py +4 -0
- pulumi_alicloud/cr/outputs.py +4 -0
- pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +14 -0
- pulumi_alicloud/cs/_inputs.py +116 -0
- pulumi_alicloud/cs/node_pool.py +105 -0
- pulumi_alicloud/cs/outputs.py +116 -0
- pulumi_alicloud/databasefilesystem/get_snapshots.py +2 -2
- pulumi_alicloud/databasefilesystem/outputs.py +6 -0
- pulumi_alicloud/dbs/get_backup_plans.py +2 -2
- pulumi_alicloud/dcdn/get_ipa_domains.py +4 -4
- pulumi_alicloud/dcdn/outputs.py +10 -0
- pulumi_alicloud/ddos/domain_resource.py +21 -0
- pulumi_alicloud/ddos/get_ddos_bgp_ips.py +6 -2
- pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +2 -2
- pulumi_alicloud/dfs/outputs.py +10 -0
- pulumi_alicloud/directmail/get_mail_addresses.py +2 -2
- pulumi_alicloud/directmail/get_receivers.py +2 -2
- pulumi_alicloud/dns/_inputs.py +16 -0
- pulumi_alicloud/dns/get_access_strategies.py +6 -2
- pulumi_alicloud/dns/outputs.py +68 -2
- pulumi_alicloud/dns/record.py +4 -0
- pulumi_alicloud/dts/get_subscription_jobs.py +2 -4
- pulumi_alicloud/dts/get_synchronization_jobs.py +2 -2
- pulumi_alicloud/dts/instance.py +21 -0
- pulumi_alicloud/eais/get_instances.py +2 -2
- pulumi_alicloud/ebs/outputs.py +6 -0
- pulumi_alicloud/eci/get_container_groups.py +6 -8
- pulumi_alicloud/eci/get_virtual_nodes.py +6 -8
- pulumi_alicloud/eci/outputs.py +26 -26
- pulumi_alicloud/ecs/_inputs.py +14 -0
- pulumi_alicloud/ecs/disk.py +28 -7
- pulumi_alicloud/ecs/ecs_deployment_set.py +14 -0
- pulumi_alicloud/ecs/ecs_disk.py +28 -7
- pulumi_alicloud/ecs/ecs_instance_set.py +35 -0
- pulumi_alicloud/ecs/eip_address.py +84 -7
- pulumi_alicloud/ecs/get_auto_snapshot_policies.py +2 -2
- pulumi_alicloud/ecs/get_commands.py +4 -4
- pulumi_alicloud/ecs/get_ecs_deployment_sets.py +2 -2
- pulumi_alicloud/ecs/get_ecs_image_components.py +10 -6
- pulumi_alicloud/ecs/get_ecs_key_pairs.py +2 -4
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +0 -2
- pulumi_alicloud/ecs/get_ecs_network_interface_permissions.py +2 -2
- pulumi_alicloud/ecs/get_ecs_snapshots.py +16 -16
- pulumi_alicloud/ecs/get_ecs_storage_capacity_units.py +2 -2
- pulumi_alicloud/ecs/get_eip_addresses.py +12 -12
- pulumi_alicloud/ecs/get_images.py +20 -4
- pulumi_alicloud/ecs/instance.py +56 -0
- pulumi_alicloud/ecs/outputs.py +174 -92
- pulumi_alicloud/eds/ad_connector_office_site.py +21 -0
- pulumi_alicloud/eds/get_ad_connector_office_sites.py +20 -2
- pulumi_alicloud/eds/get_desktop_types.py +4 -4
- pulumi_alicloud/eds/get_desktops.py +2 -4
- pulumi_alicloud/eds/get_images.py +2 -2
- pulumi_alicloud/eds/get_ram_directories.py +2 -2
- pulumi_alicloud/eds/get_simple_office_sites.py +2 -2
- pulumi_alicloud/eds/get_users.py +2 -2
- pulumi_alicloud/eds/outputs.py +58 -4
- pulumi_alicloud/ehpc/cluster.py +70 -0
- pulumi_alicloud/ehpc/outputs.py +112 -2
- pulumi_alicloud/eipanycast/get_anycast_eip_addresses.py +6 -6
- pulumi_alicloud/emr/get_clusters.py +8 -8
- pulumi_alicloud/emr/outputs.py +18 -32
- pulumi_alicloud/emrv2/get_clusters.py +4 -4
- pulumi_alicloud/eventbridge/_inputs.py +4 -0
- pulumi_alicloud/eventbridge/get_rules.py +2 -2
- pulumi_alicloud/eventbridge/outputs.py +4 -0
- pulumi_alicloud/expressconnect/get_access_points.py +2 -2
- pulumi_alicloud/expressconnect/get_physical_connections.py +2 -2
- pulumi_alicloud/expressconnect/get_virtual_border_routers.py +2 -2
- pulumi_alicloud/fnf/get_executions.py +2 -2
- pulumi_alicloud/ga/_inputs.py +12 -0
- pulumi_alicloud/ga/accelerator.py +49 -0
- pulumi_alicloud/ga/bandwidth_package.py +21 -0
- pulumi_alicloud/ga/custom_routing_endpoint.py +21 -0
- pulumi_alicloud/ga/endpoint_group.py +28 -0
- pulumi_alicloud/ga/get_accelerators.py +4 -0
- pulumi_alicloud/ga/get_acls.py +2 -2
- pulumi_alicloud/ga/get_bandwidth_packages.py +4 -4
- pulumi_alicloud/ga/get_ip_sets.py +2 -2
- pulumi_alicloud/ga/get_listeners.py +2 -2
- pulumi_alicloud/ga/listener.py +28 -0
- pulumi_alicloud/ga/outputs.py +14 -2
- pulumi_alicloud/gpdb/get_db_instance_plans.py +2 -2
- pulumi_alicloud/gpdb/get_instances.py +2 -4
- pulumi_alicloud/graphdatabase/outputs.py +14 -0
- pulumi_alicloud/hbr/_inputs.py +2 -0
- pulumi_alicloud/hbr/ecs_backup_plan.py +7 -0
- pulumi_alicloud/hbr/get_backup_jobs.py +4 -4
- pulumi_alicloud/hbr/get_hana_backup_plans.py +2 -4
- pulumi_alicloud/hbr/get_hana_instances.py +12 -4
- pulumi_alicloud/hbr/get_restore_jobs.py +10 -10
- pulumi_alicloud/hbr/get_snapshots.py +14 -14
- pulumi_alicloud/hbr/get_vaults.py +4 -0
- pulumi_alicloud/hbr/hana_backup_plan.py +21 -0
- pulumi_alicloud/hbr/nas_backup_plan.py +7 -0
- pulumi_alicloud/hbr/oss_backup_plan.py +7 -0
- pulumi_alicloud/hbr/ots_backup_plan.py +7 -0
- pulumi_alicloud/hbr/outputs.py +68 -0
- pulumi_alicloud/hbr/server_backup_plan.py +7 -0
- pulumi_alicloud/hbr/vault.py +14 -0
- pulumi_alicloud/imp/get_app_templates.py +2 -2
- pulumi_alicloud/kms/key.py +133 -21
- pulumi_alicloud/kms/secret.py +28 -0
- pulumi_alicloud/kvstore/account.py +21 -7
- pulumi_alicloud/kvstore/get_accounts.py +2 -2
- pulumi_alicloud/kvstore/instance.py +14 -0
- pulumi_alicloud/lindorm/get_instances.py +2 -2
- pulumi_alicloud/log/_inputs.py +28 -6
- pulumi_alicloud/log/get_projects.py +2 -2
- pulumi_alicloud/log/outputs.py +28 -6
- pulumi_alicloud/message/service_subscription.py +14 -0
- pulumi_alicloud/mongodb/get_accounts.py +4 -4
- pulumi_alicloud/mongodb/get_audit_policies.py +2 -2
- pulumi_alicloud/mongodb/instance.py +56 -0
- pulumi_alicloud/mongodb/outputs.py +14 -0
- pulumi_alicloud/mongodb/sharding_instance.py +21 -0
- pulumi_alicloud/mse/cluster.py +28 -0
- pulumi_alicloud/mse/outputs.py +34 -0
- pulumi_alicloud/nas/data_flow.py +14 -0
- pulumi_alicloud/nas/file_system.py +14 -0
- pulumi_alicloud/nas/get_data_flows.py +2 -2
- pulumi_alicloud/nas/get_file_systems.py +4 -0
- pulumi_alicloud/nas/get_filesets.py +2 -2
- pulumi_alicloud/nas/get_snapshots.py +2 -2
- pulumi_alicloud/nas/outputs.py +4 -0
- pulumi_alicloud/nlb/get_load_balancers.py +10 -12
- pulumi_alicloud/nlb/get_security_policies.py +2 -4
- pulumi_alicloud/nlb/get_server_groups.py +4 -6
- pulumi_alicloud/nlb/load_balancer.py +14 -0
- pulumi_alicloud/nlb/server_group.py +56 -7
- pulumi_alicloud/ocean/get_base_instances.py +4 -4
- pulumi_alicloud/oos/get_parameters.py +6 -6
- pulumi_alicloud/oos/get_patch_baselines.py +4 -4
- pulumi_alicloud/oos/get_secret_parameters.py +4 -4
- pulumi_alicloud/oos/parameter.py +28 -0
- pulumi_alicloud/oos/secret_parameter.py +28 -0
- pulumi_alicloud/ots/instance.py +91 -0
- pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +6 -6
- pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_resolver_zones.py +2 -2
- pulumi_alicloud/quotas/_inputs.py +0 -10
- pulumi_alicloud/quotas/outputs.py +10 -10
- pulumi_alicloud/rds/get_accounts.py +2 -2
- pulumi_alicloud/rds/get_cross_region_backups.py +6 -2
- pulumi_alicloud/resourcemanager/get_control_policies.py +2 -2
- pulumi_alicloud/resourcemanager/get_control_policy_attachments.py +2 -2
- pulumi_alicloud/resourcemanager/get_delegated_administrators.py +2 -2
- pulumi_alicloud/resourcemanager/get_resource_shares.py +4 -4
- pulumi_alicloud/resourcemanager/shared_resource.py +35 -0
- pulumi_alicloud/ros/get_change_sets.py +2 -2
- pulumi_alicloud/ros/get_stack_groups.py +2 -2
- pulumi_alicloud/ros/get_stack_instances.py +12 -2
- pulumi_alicloud/ros/get_stacks.py +4 -4
- pulumi_alicloud/ros/get_templates.py +4 -4
- pulumi_alicloud/ros/outputs.py +68 -2
- pulumi_alicloud/ros/stack_instance.py +52 -4
- pulumi_alicloud/sae/get_config_maps.py +2 -2
- pulumi_alicloud/sae/get_ingresses.py +2 -2
- pulumi_alicloud/sae/outputs.py +274 -0
- pulumi_alicloud/scdn/get_domains.py +2 -2
- pulumi_alicloud/sddp/get_data_limits.py +4 -4
- pulumi_alicloud/sddp/get_rules.py +10 -10
- pulumi_alicloud/simpleapplicationserver/get_images.py +0 -8
- pulumi_alicloud/simpleapplicationserver/get_instances.py +4 -4
- pulumi_alicloud/simpleapplicationserver/get_server_disks.py +2 -2
- pulumi_alicloud/simpleapplicationserver/get_server_snapshots.py +2 -2
- pulumi_alicloud/slb/get_tls_cipher_policies.py +2 -2
- pulumi_alicloud/tsdb/get_instances.py +2 -2
- pulumi_alicloud/videosurveillance/get_system_groups.py +2 -2
- pulumi_alicloud/vod/domain.py +14 -0
- pulumi_alicloud/vod/get_domains.py +4 -0
- pulumi_alicloud/vpc/get_bgp_groups.py +4 -4
- pulumi_alicloud/vpc/get_bgp_networks.py +4 -4
- pulumi_alicloud/vpc/get_bgp_peers.py +6 -6
- pulumi_alicloud/vpc/get_havips.py +2 -2
- pulumi_alicloud/vpc/get_ipv4_gateways.py +2 -2
- pulumi_alicloud/vpc/get_ipv6_addresses.py +6 -2
- pulumi_alicloud/vpc/get_ipv6_egress_rules.py +4 -4
- pulumi_alicloud/vpc/get_ipv6_gateways.py +2 -2
- pulumi_alicloud/vpc/get_nat_ip_cidrs.py +6 -6
- pulumi_alicloud/vpc/get_nat_ips.py +6 -6
- pulumi_alicloud/vpc/get_network_acls.py +4 -4
- pulumi_alicloud/vpc/get_peer_connections.py +2 -2
- pulumi_alicloud/vpc/get_public_ip_address_pools.py +6 -6
- pulumi_alicloud/vpc/get_traffic_mirror_filter_egress_rules.py +2 -2
- pulumi_alicloud/vpc/get_traffic_mirror_filter_ingress_rules.py +2 -2
- pulumi_alicloud/vpc/get_traffic_mirror_filters.py +2 -2
- pulumi_alicloud/vpc/get_traffic_mirror_sessions.py +6 -6
- pulumi_alicloud/vpc/get_vpc_flow_logs.py +6 -6
- pulumi_alicloud/vpc/ha_vip.py +8 -0
- pulumi_alicloud/vpc/nat_gateway.py +14 -0
- pulumi_alicloud/vpc/outputs.py +14 -14
- pulumi_alicloud/vpc/route_entry.py +70 -0
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +2 -2
- pulumi_alicloud/vpn/get_gateway_zones.py +16 -0
- pulumi_alicloud/vpn/outputs.py +4 -4
- {pulumi_alicloud-3.56.0a1716440817.dist-info → pulumi_alicloud-3.56.0a1716959723.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.56.0a1716440817.dist-info → pulumi_alicloud-3.56.0a1716959723.dist-info}/RECORD +247 -247
- {pulumi_alicloud-3.56.0a1716440817.dist-info → pulumi_alicloud-3.56.0a1716959723.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.56.0a1716440817.dist-info → pulumi_alicloud-3.56.0a1716959723.dist-info}/top_level.txt +0 -0
pulumi_alicloud/kms/key.py
CHANGED
|
@@ -30,7 +30,10 @@ class KeyArgs:
|
|
|
30
30
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
|
31
31
|
"""
|
|
32
32
|
The set of arguments for constructing a Key resource.
|
|
33
|
-
:param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
33
|
+
:param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
34
|
+
- `Enabled`
|
|
35
|
+
- `Disabled`
|
|
36
|
+
**NOTE**: If you set the origin parameter to EXTERNAL or the key_spec parameter to an asymmetric CMK type, automatic key rotation is unavailable.
|
|
34
37
|
:param pulumi.Input[int] deletion_window_in_days: Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.
|
|
35
38
|
:param pulumi.Input[str] description: The description of the CMK. The description can be 0 to 8,192 characters in length.
|
|
36
39
|
:param pulumi.Input[str] dkms_instance_id: The instance ID of the exclusive KMS instance.
|
|
@@ -42,12 +45,22 @@ class KeyArgs:
|
|
|
42
45
|
:param pulumi.Input[str] key_usage: The usage of the CMK. Default value: `ENCRYPT/DECRYPT`. Valid values:
|
|
43
46
|
- `ENCRYPT/DECRYPT`: encrypts or decrypts data.
|
|
44
47
|
- `SIGN/VERIFY`: generates or verifies a digital signature.
|
|
45
|
-
:param pulumi.Input[str] origin: The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
48
|
+
:param pulumi.Input[str] origin: The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
49
|
+
- `Aliyun_KMS`
|
|
50
|
+
- `EXTERNAL`
|
|
51
|
+
**NOTE**: The value of this parameter is case-sensitive. If you set the `key_spec` to an asymmetric CMK type,
|
|
52
|
+
you are not allowed to set the `origin` to EXTERNAL. If you set the `origin` to EXTERNAL, you must import key material.
|
|
53
|
+
For more information, see [import key material](https://www.alibabacloud.com/help/en/doc-detail/68523.htm).
|
|
46
54
|
:param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted.
|
|
47
55
|
During this period, the CMK is in the PendingDeletion state.
|
|
48
56
|
After this period ends, you cannot cancel the deletion. Valid values: 7 to 366. Unit: days.
|
|
49
57
|
**NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
|
|
50
58
|
:param pulumi.Input[str] protection_level: The protection level of the CMK. Default value: `SOFTWARE`. Valid values:
|
|
59
|
+
- `SOFTWARE`
|
|
60
|
+
- `HSM`
|
|
61
|
+
**NOTE**: The value of this parameter is case-sensitive. Assume that you set this parameter to HSM.
|
|
62
|
+
If you set the origin parameter to Aliyun_KMS, the CMK is created in a managed hardware security module (HSM).
|
|
63
|
+
If you set the origin parameter to EXTERNA, you can import an external key to the managed HSM.
|
|
51
64
|
:param pulumi.Input[str] rotation_interval: The interval for automatic key rotation. Specify the value in the integer[unit] format.
|
|
52
65
|
The following units are supported: d (day), h (hour), m (minute), and s (second).
|
|
53
66
|
For example, you can use either 7d or 604800s to specify a seven-day interval.
|
|
@@ -55,7 +68,10 @@ class KeyArgs:
|
|
|
55
68
|
**NOTE**: It is Required when `automatic_rotation = "Enabled"`
|
|
56
69
|
|
|
57
70
|
> **NOTE:** When the pre-deletion days elapses, the key is permanently deleted and cannot be recovered.
|
|
58
|
-
:param pulumi.Input[str] status: The status of CMK. Default value: `Enabled`. Valid Values:
|
|
71
|
+
:param pulumi.Input[str] status: The status of CMK. Default value: `Enabled`. Valid Values:
|
|
72
|
+
- `Disabled`
|
|
73
|
+
- `Enabled`
|
|
74
|
+
- `PendingDeletion`
|
|
59
75
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
60
76
|
"""
|
|
61
77
|
if automatic_rotation is not None:
|
|
@@ -100,7 +116,10 @@ class KeyArgs:
|
|
|
100
116
|
@pulumi.getter(name="automaticRotation")
|
|
101
117
|
def automatic_rotation(self) -> Optional[pulumi.Input[str]]:
|
|
102
118
|
"""
|
|
103
|
-
Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
119
|
+
Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
120
|
+
- `Enabled`
|
|
121
|
+
- `Disabled`
|
|
122
|
+
**NOTE**: If you set the origin parameter to EXTERNAL or the key_spec parameter to an asymmetric CMK type, automatic key rotation is unavailable.
|
|
104
123
|
"""
|
|
105
124
|
return pulumi.get(self, "automatic_rotation")
|
|
106
125
|
|
|
@@ -209,7 +228,12 @@ class KeyArgs:
|
|
|
209
228
|
@pulumi.getter
|
|
210
229
|
def origin(self) -> Optional[pulumi.Input[str]]:
|
|
211
230
|
"""
|
|
212
|
-
The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
231
|
+
The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
232
|
+
- `Aliyun_KMS`
|
|
233
|
+
- `EXTERNAL`
|
|
234
|
+
**NOTE**: The value of this parameter is case-sensitive. If you set the `key_spec` to an asymmetric CMK type,
|
|
235
|
+
you are not allowed to set the `origin` to EXTERNAL. If you set the `origin` to EXTERNAL, you must import key material.
|
|
236
|
+
For more information, see [import key material](https://www.alibabacloud.com/help/en/doc-detail/68523.htm).
|
|
213
237
|
"""
|
|
214
238
|
return pulumi.get(self, "origin")
|
|
215
239
|
|
|
@@ -237,6 +261,11 @@ class KeyArgs:
|
|
|
237
261
|
def protection_level(self) -> Optional[pulumi.Input[str]]:
|
|
238
262
|
"""
|
|
239
263
|
The protection level of the CMK. Default value: `SOFTWARE`. Valid values:
|
|
264
|
+
- `SOFTWARE`
|
|
265
|
+
- `HSM`
|
|
266
|
+
**NOTE**: The value of this parameter is case-sensitive. Assume that you set this parameter to HSM.
|
|
267
|
+
If you set the origin parameter to Aliyun_KMS, the CMK is created in a managed hardware security module (HSM).
|
|
268
|
+
If you set the origin parameter to EXTERNA, you can import an external key to the managed HSM.
|
|
240
269
|
"""
|
|
241
270
|
return pulumi.get(self, "protection_level")
|
|
242
271
|
|
|
@@ -266,7 +295,10 @@ class KeyArgs:
|
|
|
266
295
|
@pulumi.getter
|
|
267
296
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
268
297
|
"""
|
|
269
|
-
The status of CMK. Default value: `Enabled`. Valid Values:
|
|
298
|
+
The status of CMK. Default value: `Enabled`. Valid Values:
|
|
299
|
+
- `Disabled`
|
|
300
|
+
- `Enabled`
|
|
301
|
+
- `PendingDeletion`
|
|
270
302
|
"""
|
|
271
303
|
return pulumi.get(self, "status")
|
|
272
304
|
|
|
@@ -315,7 +347,10 @@ class _KeyState:
|
|
|
315
347
|
"""
|
|
316
348
|
Input properties used for looking up and filtering Key resources.
|
|
317
349
|
:param pulumi.Input[str] arn: The Alicloud Resource Name (ARN) of the key.
|
|
318
|
-
:param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
350
|
+
:param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
351
|
+
- `Enabled`
|
|
352
|
+
- `Disabled`
|
|
353
|
+
**NOTE**: If you set the origin parameter to EXTERNAL or the key_spec parameter to an asymmetric CMK type, automatic key rotation is unavailable.
|
|
319
354
|
:param pulumi.Input[str] creation_date: The date and time when the CMK was created. The time is displayed in UTC.
|
|
320
355
|
:param pulumi.Input[str] creator: The creator of the CMK.
|
|
321
356
|
:param pulumi.Input[str] delete_date: The scheduled date to delete CMK. The time is displayed in UTC. This value is returned only when the KeyState value is PendingDeletion.
|
|
@@ -333,13 +368,23 @@ class _KeyState:
|
|
|
333
368
|
:param pulumi.Input[str] last_rotation_date: The date and time the last rotation was performed. The time is displayed in UTC.
|
|
334
369
|
:param pulumi.Input[str] material_expire_time: The time and date the key material for the CMK expires. The time is displayed in UTC. If the value is empty, the key material for the CMK does not expire.
|
|
335
370
|
:param pulumi.Input[str] next_rotation_date: The time the next rotation is scheduled for execution.
|
|
336
|
-
:param pulumi.Input[str] origin: The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
371
|
+
:param pulumi.Input[str] origin: The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
372
|
+
- `Aliyun_KMS`
|
|
373
|
+
- `EXTERNAL`
|
|
374
|
+
**NOTE**: The value of this parameter is case-sensitive. If you set the `key_spec` to an asymmetric CMK type,
|
|
375
|
+
you are not allowed to set the `origin` to EXTERNAL. If you set the `origin` to EXTERNAL, you must import key material.
|
|
376
|
+
For more information, see [import key material](https://www.alibabacloud.com/help/en/doc-detail/68523.htm).
|
|
337
377
|
:param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted.
|
|
338
378
|
During this period, the CMK is in the PendingDeletion state.
|
|
339
379
|
After this period ends, you cannot cancel the deletion. Valid values: 7 to 366. Unit: days.
|
|
340
380
|
**NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
|
|
341
381
|
:param pulumi.Input[str] primary_key_version: The ID of the current primary key version of the symmetric CMK.
|
|
342
382
|
:param pulumi.Input[str] protection_level: The protection level of the CMK. Default value: `SOFTWARE`. Valid values:
|
|
383
|
+
- `SOFTWARE`
|
|
384
|
+
- `HSM`
|
|
385
|
+
**NOTE**: The value of this parameter is case-sensitive. Assume that you set this parameter to HSM.
|
|
386
|
+
If you set the origin parameter to Aliyun_KMS, the CMK is created in a managed hardware security module (HSM).
|
|
387
|
+
If you set the origin parameter to EXTERNA, you can import an external key to the managed HSM.
|
|
343
388
|
:param pulumi.Input[str] rotation_interval: The interval for automatic key rotation. Specify the value in the integer[unit] format.
|
|
344
389
|
The following units are supported: d (day), h (hour), m (minute), and s (second).
|
|
345
390
|
For example, you can use either 7d or 604800s to specify a seven-day interval.
|
|
@@ -347,7 +392,10 @@ class _KeyState:
|
|
|
347
392
|
**NOTE**: It is Required when `automatic_rotation = "Enabled"`
|
|
348
393
|
|
|
349
394
|
> **NOTE:** When the pre-deletion days elapses, the key is permanently deleted and cannot be recovered.
|
|
350
|
-
:param pulumi.Input[str] status: The status of CMK. Default value: `Enabled`. Valid Values:
|
|
395
|
+
:param pulumi.Input[str] status: The status of CMK. Default value: `Enabled`. Valid Values:
|
|
396
|
+
- `Disabled`
|
|
397
|
+
- `Enabled`
|
|
398
|
+
- `PendingDeletion`
|
|
351
399
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
352
400
|
"""
|
|
353
401
|
if arn is not None:
|
|
@@ -420,7 +468,10 @@ class _KeyState:
|
|
|
420
468
|
@pulumi.getter(name="automaticRotation")
|
|
421
469
|
def automatic_rotation(self) -> Optional[pulumi.Input[str]]:
|
|
422
470
|
"""
|
|
423
|
-
Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
471
|
+
Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
472
|
+
- `Enabled`
|
|
473
|
+
- `Disabled`
|
|
474
|
+
**NOTE**: If you set the origin parameter to EXTERNAL or the key_spec parameter to an asymmetric CMK type, automatic key rotation is unavailable.
|
|
424
475
|
"""
|
|
425
476
|
return pulumi.get(self, "automatic_rotation")
|
|
426
477
|
|
|
@@ -601,7 +652,12 @@ class _KeyState:
|
|
|
601
652
|
@pulumi.getter
|
|
602
653
|
def origin(self) -> Optional[pulumi.Input[str]]:
|
|
603
654
|
"""
|
|
604
|
-
The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
655
|
+
The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
656
|
+
- `Aliyun_KMS`
|
|
657
|
+
- `EXTERNAL`
|
|
658
|
+
**NOTE**: The value of this parameter is case-sensitive. If you set the `key_spec` to an asymmetric CMK type,
|
|
659
|
+
you are not allowed to set the `origin` to EXTERNAL. If you set the `origin` to EXTERNAL, you must import key material.
|
|
660
|
+
For more information, see [import key material](https://www.alibabacloud.com/help/en/doc-detail/68523.htm).
|
|
605
661
|
"""
|
|
606
662
|
return pulumi.get(self, "origin")
|
|
607
663
|
|
|
@@ -641,6 +697,11 @@ class _KeyState:
|
|
|
641
697
|
def protection_level(self) -> Optional[pulumi.Input[str]]:
|
|
642
698
|
"""
|
|
643
699
|
The protection level of the CMK. Default value: `SOFTWARE`. Valid values:
|
|
700
|
+
- `SOFTWARE`
|
|
701
|
+
- `HSM`
|
|
702
|
+
**NOTE**: The value of this parameter is case-sensitive. Assume that you set this parameter to HSM.
|
|
703
|
+
If you set the origin parameter to Aliyun_KMS, the CMK is created in a managed hardware security module (HSM).
|
|
704
|
+
If you set the origin parameter to EXTERNA, you can import an external key to the managed HSM.
|
|
644
705
|
"""
|
|
645
706
|
return pulumi.get(self, "protection_level")
|
|
646
707
|
|
|
@@ -670,7 +731,10 @@ class _KeyState:
|
|
|
670
731
|
@pulumi.getter
|
|
671
732
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
672
733
|
"""
|
|
673
|
-
The status of CMK. Default value: `Enabled`. Valid Values:
|
|
734
|
+
The status of CMK. Default value: `Enabled`. Valid Values:
|
|
735
|
+
- `Disabled`
|
|
736
|
+
- `Enabled`
|
|
737
|
+
- `PendingDeletion`
|
|
674
738
|
"""
|
|
675
739
|
return pulumi.get(self, "status")
|
|
676
740
|
|
|
@@ -740,7 +804,10 @@ class Key(pulumi.CustomResource):
|
|
|
740
804
|
|
|
741
805
|
:param str resource_name: The name of the resource.
|
|
742
806
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
743
|
-
:param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
807
|
+
:param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
808
|
+
- `Enabled`
|
|
809
|
+
- `Disabled`
|
|
810
|
+
**NOTE**: If you set the origin parameter to EXTERNAL or the key_spec parameter to an asymmetric CMK type, automatic key rotation is unavailable.
|
|
744
811
|
:param pulumi.Input[int] deletion_window_in_days: Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.
|
|
745
812
|
:param pulumi.Input[str] description: The description of the CMK. The description can be 0 to 8,192 characters in length.
|
|
746
813
|
:param pulumi.Input[str] dkms_instance_id: The instance ID of the exclusive KMS instance.
|
|
@@ -752,12 +819,22 @@ class Key(pulumi.CustomResource):
|
|
|
752
819
|
:param pulumi.Input[str] key_usage: The usage of the CMK. Default value: `ENCRYPT/DECRYPT`. Valid values:
|
|
753
820
|
- `ENCRYPT/DECRYPT`: encrypts or decrypts data.
|
|
754
821
|
- `SIGN/VERIFY`: generates or verifies a digital signature.
|
|
755
|
-
:param pulumi.Input[str] origin: The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
822
|
+
:param pulumi.Input[str] origin: The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
823
|
+
- `Aliyun_KMS`
|
|
824
|
+
- `EXTERNAL`
|
|
825
|
+
**NOTE**: The value of this parameter is case-sensitive. If you set the `key_spec` to an asymmetric CMK type,
|
|
826
|
+
you are not allowed to set the `origin` to EXTERNAL. If you set the `origin` to EXTERNAL, you must import key material.
|
|
827
|
+
For more information, see [import key material](https://www.alibabacloud.com/help/en/doc-detail/68523.htm).
|
|
756
828
|
:param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted.
|
|
757
829
|
During this period, the CMK is in the PendingDeletion state.
|
|
758
830
|
After this period ends, you cannot cancel the deletion. Valid values: 7 to 366. Unit: days.
|
|
759
831
|
**NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
|
|
760
832
|
:param pulumi.Input[str] protection_level: The protection level of the CMK. Default value: `SOFTWARE`. Valid values:
|
|
833
|
+
- `SOFTWARE`
|
|
834
|
+
- `HSM`
|
|
835
|
+
**NOTE**: The value of this parameter is case-sensitive. Assume that you set this parameter to HSM.
|
|
836
|
+
If you set the origin parameter to Aliyun_KMS, the CMK is created in a managed hardware security module (HSM).
|
|
837
|
+
If you set the origin parameter to EXTERNA, you can import an external key to the managed HSM.
|
|
761
838
|
:param pulumi.Input[str] rotation_interval: The interval for automatic key rotation. Specify the value in the integer[unit] format.
|
|
762
839
|
The following units are supported: d (day), h (hour), m (minute), and s (second).
|
|
763
840
|
For example, you can use either 7d or 604800s to specify a seven-day interval.
|
|
@@ -765,7 +842,10 @@ class Key(pulumi.CustomResource):
|
|
|
765
842
|
**NOTE**: It is Required when `automatic_rotation = "Enabled"`
|
|
766
843
|
|
|
767
844
|
> **NOTE:** When the pre-deletion days elapses, the key is permanently deleted and cannot be recovered.
|
|
768
|
-
:param pulumi.Input[str] status: The status of CMK. Default value: `Enabled`. Valid Values:
|
|
845
|
+
:param pulumi.Input[str] status: The status of CMK. Default value: `Enabled`. Valid Values:
|
|
846
|
+
- `Disabled`
|
|
847
|
+
- `Enabled`
|
|
848
|
+
- `PendingDeletion`
|
|
769
849
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
770
850
|
"""
|
|
771
851
|
...
|
|
@@ -901,7 +981,10 @@ class Key(pulumi.CustomResource):
|
|
|
901
981
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
902
982
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
903
983
|
:param pulumi.Input[str] arn: The Alicloud Resource Name (ARN) of the key.
|
|
904
|
-
:param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
984
|
+
:param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
985
|
+
- `Enabled`
|
|
986
|
+
- `Disabled`
|
|
987
|
+
**NOTE**: If you set the origin parameter to EXTERNAL or the key_spec parameter to an asymmetric CMK type, automatic key rotation is unavailable.
|
|
905
988
|
:param pulumi.Input[str] creation_date: The date and time when the CMK was created. The time is displayed in UTC.
|
|
906
989
|
:param pulumi.Input[str] creator: The creator of the CMK.
|
|
907
990
|
:param pulumi.Input[str] delete_date: The scheduled date to delete CMK. The time is displayed in UTC. This value is returned only when the KeyState value is PendingDeletion.
|
|
@@ -919,13 +1002,23 @@ class Key(pulumi.CustomResource):
|
|
|
919
1002
|
:param pulumi.Input[str] last_rotation_date: The date and time the last rotation was performed. The time is displayed in UTC.
|
|
920
1003
|
:param pulumi.Input[str] material_expire_time: The time and date the key material for the CMK expires. The time is displayed in UTC. If the value is empty, the key material for the CMK does not expire.
|
|
921
1004
|
:param pulumi.Input[str] next_rotation_date: The time the next rotation is scheduled for execution.
|
|
922
|
-
:param pulumi.Input[str] origin: The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
1005
|
+
:param pulumi.Input[str] origin: The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
1006
|
+
- `Aliyun_KMS`
|
|
1007
|
+
- `EXTERNAL`
|
|
1008
|
+
**NOTE**: The value of this parameter is case-sensitive. If you set the `key_spec` to an asymmetric CMK type,
|
|
1009
|
+
you are not allowed to set the `origin` to EXTERNAL. If you set the `origin` to EXTERNAL, you must import key material.
|
|
1010
|
+
For more information, see [import key material](https://www.alibabacloud.com/help/en/doc-detail/68523.htm).
|
|
923
1011
|
:param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted.
|
|
924
1012
|
During this period, the CMK is in the PendingDeletion state.
|
|
925
1013
|
After this period ends, you cannot cancel the deletion. Valid values: 7 to 366. Unit: days.
|
|
926
1014
|
**NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
|
|
927
1015
|
:param pulumi.Input[str] primary_key_version: The ID of the current primary key version of the symmetric CMK.
|
|
928
1016
|
:param pulumi.Input[str] protection_level: The protection level of the CMK. Default value: `SOFTWARE`. Valid values:
|
|
1017
|
+
- `SOFTWARE`
|
|
1018
|
+
- `HSM`
|
|
1019
|
+
**NOTE**: The value of this parameter is case-sensitive. Assume that you set this parameter to HSM.
|
|
1020
|
+
If you set the origin parameter to Aliyun_KMS, the CMK is created in a managed hardware security module (HSM).
|
|
1021
|
+
If you set the origin parameter to EXTERNA, you can import an external key to the managed HSM.
|
|
929
1022
|
:param pulumi.Input[str] rotation_interval: The interval for automatic key rotation. Specify the value in the integer[unit] format.
|
|
930
1023
|
The following units are supported: d (day), h (hour), m (minute), and s (second).
|
|
931
1024
|
For example, you can use either 7d or 604800s to specify a seven-day interval.
|
|
@@ -933,7 +1026,10 @@ class Key(pulumi.CustomResource):
|
|
|
933
1026
|
**NOTE**: It is Required when `automatic_rotation = "Enabled"`
|
|
934
1027
|
|
|
935
1028
|
> **NOTE:** When the pre-deletion days elapses, the key is permanently deleted and cannot be recovered.
|
|
936
|
-
:param pulumi.Input[str] status: The status of CMK. Default value: `Enabled`. Valid Values:
|
|
1029
|
+
:param pulumi.Input[str] status: The status of CMK. Default value: `Enabled`. Valid Values:
|
|
1030
|
+
- `Disabled`
|
|
1031
|
+
- `Enabled`
|
|
1032
|
+
- `PendingDeletion`
|
|
937
1033
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
938
1034
|
"""
|
|
939
1035
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -976,7 +1072,10 @@ class Key(pulumi.CustomResource):
|
|
|
976
1072
|
@pulumi.getter(name="automaticRotation")
|
|
977
1073
|
def automatic_rotation(self) -> pulumi.Output[str]:
|
|
978
1074
|
"""
|
|
979
|
-
Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
1075
|
+
Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values:
|
|
1076
|
+
- `Enabled`
|
|
1077
|
+
- `Disabled`
|
|
1078
|
+
**NOTE**: If you set the origin parameter to EXTERNAL or the key_spec parameter to an asymmetric CMK type, automatic key rotation is unavailable.
|
|
980
1079
|
"""
|
|
981
1080
|
return pulumi.get(self, "automatic_rotation")
|
|
982
1081
|
|
|
@@ -1101,7 +1200,12 @@ class Key(pulumi.CustomResource):
|
|
|
1101
1200
|
@pulumi.getter
|
|
1102
1201
|
def origin(self) -> pulumi.Output[str]:
|
|
1103
1202
|
"""
|
|
1104
|
-
The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
1203
|
+
The source of key material. Default value: `Aliyun_KMS`. Valid values:
|
|
1204
|
+
- `Aliyun_KMS`
|
|
1205
|
+
- `EXTERNAL`
|
|
1206
|
+
**NOTE**: The value of this parameter is case-sensitive. If you set the `key_spec` to an asymmetric CMK type,
|
|
1207
|
+
you are not allowed to set the `origin` to EXTERNAL. If you set the `origin` to EXTERNAL, you must import key material.
|
|
1208
|
+
For more information, see [import key material](https://www.alibabacloud.com/help/en/doc-detail/68523.htm).
|
|
1105
1209
|
"""
|
|
1106
1210
|
return pulumi.get(self, "origin")
|
|
1107
1211
|
|
|
@@ -1129,6 +1233,11 @@ class Key(pulumi.CustomResource):
|
|
|
1129
1233
|
def protection_level(self) -> pulumi.Output[Optional[str]]:
|
|
1130
1234
|
"""
|
|
1131
1235
|
The protection level of the CMK. Default value: `SOFTWARE`. Valid values:
|
|
1236
|
+
- `SOFTWARE`
|
|
1237
|
+
- `HSM`
|
|
1238
|
+
**NOTE**: The value of this parameter is case-sensitive. Assume that you set this parameter to HSM.
|
|
1239
|
+
If you set the origin parameter to Aliyun_KMS, the CMK is created in a managed hardware security module (HSM).
|
|
1240
|
+
If you set the origin parameter to EXTERNA, you can import an external key to the managed HSM.
|
|
1132
1241
|
"""
|
|
1133
1242
|
return pulumi.get(self, "protection_level")
|
|
1134
1243
|
|
|
@@ -1150,7 +1259,10 @@ class Key(pulumi.CustomResource):
|
|
|
1150
1259
|
@pulumi.getter
|
|
1151
1260
|
def status(self) -> pulumi.Output[str]:
|
|
1152
1261
|
"""
|
|
1153
|
-
The status of CMK. Default value: `Enabled`. Valid Values:
|
|
1262
|
+
The status of CMK. Default value: `Enabled`. Valid Values:
|
|
1263
|
+
- `Disabled`
|
|
1264
|
+
- `Enabled`
|
|
1265
|
+
- `PendingDeletion`
|
|
1154
1266
|
"""
|
|
1155
1267
|
return pulumi.get(self, "status")
|
|
1156
1268
|
|
pulumi_alicloud/kms/secret.py
CHANGED
|
@@ -44,6 +44,10 @@ class SecretArgs:
|
|
|
44
44
|
:param pulumi.Input[str] rotation_interval: The time period of automatic rotation. The format is integer[unit], where integer represents the length of time, and unit represents the unit of time. The legal unit units are: d (day), h (hour), m (minute), s (second). 7d or 604800s both indicate a 7-day cycle.
|
|
45
45
|
:param pulumi.Input[str] secret_data_type: The type of the secret value. Valid values: text, binary. Default to "text".
|
|
46
46
|
:param pulumi.Input[str] secret_type: The type of the secret. Valid values:
|
|
47
|
+
- `Generic`: specifies a generic secret.
|
|
48
|
+
- `Rds`: specifies a managed ApsaraDB RDS secret.
|
|
49
|
+
- `RAMCredentials`: indicates a managed RAM secret.
|
|
50
|
+
- `ECS`: specifies a managed ECS secret.
|
|
47
51
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
48
52
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] version_stages: ) The stage labels that mark the new secret version. If you do not specify this parameter, Secrets Manager marks it with "ACSCurrent".
|
|
49
53
|
"""
|
|
@@ -224,6 +228,10 @@ class SecretArgs:
|
|
|
224
228
|
def secret_type(self) -> Optional[pulumi.Input[str]]:
|
|
225
229
|
"""
|
|
226
230
|
The type of the secret. Valid values:
|
|
231
|
+
- `Generic`: specifies a generic secret.
|
|
232
|
+
- `Rds`: specifies a managed ApsaraDB RDS secret.
|
|
233
|
+
- `RAMCredentials`: indicates a managed RAM secret.
|
|
234
|
+
- `ECS`: specifies a managed ECS secret.
|
|
227
235
|
"""
|
|
228
236
|
return pulumi.get(self, "secret_type")
|
|
229
237
|
|
|
@@ -292,6 +300,10 @@ class _SecretState:
|
|
|
292
300
|
:param pulumi.Input[str] secret_data_type: The type of the secret value. Valid values: text, binary. Default to "text".
|
|
293
301
|
:param pulumi.Input[str] secret_name: The name of the secret.
|
|
294
302
|
:param pulumi.Input[str] secret_type: The type of the secret. Valid values:
|
|
303
|
+
- `Generic`: specifies a generic secret.
|
|
304
|
+
- `Rds`: specifies a managed ApsaraDB RDS secret.
|
|
305
|
+
- `RAMCredentials`: indicates a managed RAM secret.
|
|
306
|
+
- `ECS`: specifies a managed ECS secret.
|
|
295
307
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
296
308
|
:param pulumi.Input[str] version_id: The version number of the initial version. Version numbers are unique in each secret object.
|
|
297
309
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] version_stages: ) The stage labels that mark the new secret version. If you do not specify this parameter, Secrets Manager marks it with "ACSCurrent".
|
|
@@ -492,6 +504,10 @@ class _SecretState:
|
|
|
492
504
|
def secret_type(self) -> Optional[pulumi.Input[str]]:
|
|
493
505
|
"""
|
|
494
506
|
The type of the secret. Valid values:
|
|
507
|
+
- `Generic`: specifies a generic secret.
|
|
508
|
+
- `Rds`: specifies a managed ApsaraDB RDS secret.
|
|
509
|
+
- `RAMCredentials`: indicates a managed RAM secret.
|
|
510
|
+
- `ECS`: specifies a managed ECS secret.
|
|
495
511
|
"""
|
|
496
512
|
return pulumi.get(self, "secret_type")
|
|
497
513
|
|
|
@@ -600,6 +616,10 @@ class Secret(pulumi.CustomResource):
|
|
|
600
616
|
:param pulumi.Input[str] secret_data_type: The type of the secret value. Valid values: text, binary. Default to "text".
|
|
601
617
|
:param pulumi.Input[str] secret_name: The name of the secret.
|
|
602
618
|
:param pulumi.Input[str] secret_type: The type of the secret. Valid values:
|
|
619
|
+
- `Generic`: specifies a generic secret.
|
|
620
|
+
- `Rds`: specifies a managed ApsaraDB RDS secret.
|
|
621
|
+
- `RAMCredentials`: indicates a managed RAM secret.
|
|
622
|
+
- `ECS`: specifies a managed ECS secret.
|
|
603
623
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
604
624
|
:param pulumi.Input[str] version_id: The version number of the initial version. Version numbers are unique in each secret object.
|
|
605
625
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] version_stages: ) The stage labels that mark the new secret version. If you do not specify this parameter, Secrets Manager marks it with "ACSCurrent".
|
|
@@ -751,6 +771,10 @@ class Secret(pulumi.CustomResource):
|
|
|
751
771
|
:param pulumi.Input[str] secret_data_type: The type of the secret value. Valid values: text, binary. Default to "text".
|
|
752
772
|
:param pulumi.Input[str] secret_name: The name of the secret.
|
|
753
773
|
:param pulumi.Input[str] secret_type: The type of the secret. Valid values:
|
|
774
|
+
- `Generic`: specifies a generic secret.
|
|
775
|
+
- `Rds`: specifies a managed ApsaraDB RDS secret.
|
|
776
|
+
- `RAMCredentials`: indicates a managed RAM secret.
|
|
777
|
+
- `ECS`: specifies a managed ECS secret.
|
|
754
778
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
755
779
|
:param pulumi.Input[str] version_id: The version number of the initial version. Version numbers are unique in each secret object.
|
|
756
780
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] version_stages: ) The stage labels that mark the new secret version. If you do not specify this parameter, Secrets Manager marks it with "ACSCurrent".
|
|
@@ -887,6 +911,10 @@ class Secret(pulumi.CustomResource):
|
|
|
887
911
|
def secret_type(self) -> pulumi.Output[str]:
|
|
888
912
|
"""
|
|
889
913
|
The type of the secret. Valid values:
|
|
914
|
+
- `Generic`: specifies a generic secret.
|
|
915
|
+
- `Rds`: specifies a managed ApsaraDB RDS secret.
|
|
916
|
+
- `RAMCredentials`: indicates a managed RAM secret.
|
|
917
|
+
- `ECS`: specifies a managed ECS secret.
|
|
890
918
|
"""
|
|
891
919
|
return pulumi.get(self, "secret_type")
|
|
892
920
|
|
|
@@ -30,7 +30,9 @@ class AccountArgs:
|
|
|
30
30
|
* The name cannot be one of the reserved words in the [Reserved words for Redis account names](https://www.alibabacloud.com/help/zh/doc-detail/92665.htm) section.
|
|
31
31
|
:param pulumi.Input[str] instance_id: The Id of instance in which account belongs (The engine version of instance must be 4.0 or 4.0+).
|
|
32
32
|
:param pulumi.Input[str] account_password: The password of the account. The password must be 8 to 32 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!@ # $ % ^ & * ( ) _ + - =`. You have to specify one of `account_password` and `kms_encrypted_password` fields.
|
|
33
|
-
:param pulumi.Input[str] account_privilege: The privilege of account access database. Default value: `RoleReadWrite`
|
|
33
|
+
:param pulumi.Input[str] account_privilege: The privilege of account access database. Default value: `RoleReadWrite`
|
|
34
|
+
- `RoleReadOnly`: This value is only for Redis and Memcache
|
|
35
|
+
- `RoleReadWrite`: This value is only for Redis and Memcache
|
|
34
36
|
:param pulumi.Input[str] account_type: Privilege type of account.
|
|
35
37
|
- Normal: Common privilege.
|
|
36
38
|
Default to Normal.
|
|
@@ -96,7 +98,9 @@ class AccountArgs:
|
|
|
96
98
|
@pulumi.getter(name="accountPrivilege")
|
|
97
99
|
def account_privilege(self) -> Optional[pulumi.Input[str]]:
|
|
98
100
|
"""
|
|
99
|
-
The privilege of account access database. Default value: `RoleReadWrite`
|
|
101
|
+
The privilege of account access database. Default value: `RoleReadWrite`
|
|
102
|
+
- `RoleReadOnly`: This value is only for Redis and Memcache
|
|
103
|
+
- `RoleReadWrite`: This value is only for Redis and Memcache
|
|
100
104
|
"""
|
|
101
105
|
return pulumi.get(self, "account_privilege")
|
|
102
106
|
|
|
@@ -174,7 +178,9 @@ class _AccountState:
|
|
|
174
178
|
* The name can be up to 100 characters in length.
|
|
175
179
|
* The name cannot be one of the reserved words in the [Reserved words for Redis account names](https://www.alibabacloud.com/help/zh/doc-detail/92665.htm) section.
|
|
176
180
|
:param pulumi.Input[str] account_password: The password of the account. The password must be 8 to 32 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!@ # $ % ^ & * ( ) _ + - =`. You have to specify one of `account_password` and `kms_encrypted_password` fields.
|
|
177
|
-
:param pulumi.Input[str] account_privilege: The privilege of account access database. Default value: `RoleReadWrite`
|
|
181
|
+
:param pulumi.Input[str] account_privilege: The privilege of account access database. Default value: `RoleReadWrite`
|
|
182
|
+
- `RoleReadOnly`: This value is only for Redis and Memcache
|
|
183
|
+
- `RoleReadWrite`: This value is only for Redis and Memcache
|
|
178
184
|
:param pulumi.Input[str] account_type: Privilege type of account.
|
|
179
185
|
- Normal: Common privilege.
|
|
180
186
|
Default to Normal.
|
|
@@ -234,7 +240,9 @@ class _AccountState:
|
|
|
234
240
|
@pulumi.getter(name="accountPrivilege")
|
|
235
241
|
def account_privilege(self) -> Optional[pulumi.Input[str]]:
|
|
236
242
|
"""
|
|
237
|
-
The privilege of account access database. Default value: `RoleReadWrite`
|
|
243
|
+
The privilege of account access database. Default value: `RoleReadWrite`
|
|
244
|
+
- `RoleReadOnly`: This value is only for Redis and Memcache
|
|
245
|
+
- `RoleReadWrite`: This value is only for Redis and Memcache
|
|
238
246
|
"""
|
|
239
247
|
return pulumi.get(self, "account_privilege")
|
|
240
248
|
|
|
@@ -398,7 +406,9 @@ class Account(pulumi.CustomResource):
|
|
|
398
406
|
* The name can be up to 100 characters in length.
|
|
399
407
|
* The name cannot be one of the reserved words in the [Reserved words for Redis account names](https://www.alibabacloud.com/help/zh/doc-detail/92665.htm) section.
|
|
400
408
|
:param pulumi.Input[str] account_password: The password of the account. The password must be 8 to 32 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!@ # $ % ^ & * ( ) _ + - =`. You have to specify one of `account_password` and `kms_encrypted_password` fields.
|
|
401
|
-
:param pulumi.Input[str] account_privilege: The privilege of account access database. Default value: `RoleReadWrite`
|
|
409
|
+
:param pulumi.Input[str] account_privilege: The privilege of account access database. Default value: `RoleReadWrite`
|
|
410
|
+
- `RoleReadOnly`: This value is only for Redis and Memcache
|
|
411
|
+
- `RoleReadWrite`: This value is only for Redis and Memcache
|
|
402
412
|
:param pulumi.Input[str] account_type: Privilege type of account.
|
|
403
413
|
- Normal: Common privilege.
|
|
404
414
|
Default to Normal.
|
|
@@ -551,7 +561,9 @@ class Account(pulumi.CustomResource):
|
|
|
551
561
|
* The name can be up to 100 characters in length.
|
|
552
562
|
* The name cannot be one of the reserved words in the [Reserved words for Redis account names](https://www.alibabacloud.com/help/zh/doc-detail/92665.htm) section.
|
|
553
563
|
:param pulumi.Input[str] account_password: The password of the account. The password must be 8 to 32 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!@ # $ % ^ & * ( ) _ + - =`. You have to specify one of `account_password` and `kms_encrypted_password` fields.
|
|
554
|
-
:param pulumi.Input[str] account_privilege: The privilege of account access database. Default value: `RoleReadWrite`
|
|
564
|
+
:param pulumi.Input[str] account_privilege: The privilege of account access database. Default value: `RoleReadWrite`
|
|
565
|
+
- `RoleReadOnly`: This value is only for Redis and Memcache
|
|
566
|
+
- `RoleReadWrite`: This value is only for Redis and Memcache
|
|
555
567
|
:param pulumi.Input[str] account_type: Privilege type of account.
|
|
556
568
|
- Normal: Common privilege.
|
|
557
569
|
Default to Normal.
|
|
@@ -599,7 +611,9 @@ class Account(pulumi.CustomResource):
|
|
|
599
611
|
@pulumi.getter(name="accountPrivilege")
|
|
600
612
|
def account_privilege(self) -> pulumi.Output[Optional[str]]:
|
|
601
613
|
"""
|
|
602
|
-
The privilege of account access database. Default value: `RoleReadWrite`
|
|
614
|
+
The privilege of account access database. Default value: `RoleReadWrite`
|
|
615
|
+
- `RoleReadOnly`: This value is only for Redis and Memcache
|
|
616
|
+
- `RoleReadWrite`: This value is only for Redis and Memcache
|
|
603
617
|
"""
|
|
604
618
|
return pulumi.get(self, "account_privilege")
|
|
605
619
|
|
|
@@ -144,7 +144,7 @@ def get_accounts(account_name: Optional[str] = None,
|
|
|
144
144
|
:param str account_name: The name of the account.
|
|
145
145
|
:param str instance_id: The Id of instance in which account belongs.
|
|
146
146
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
147
|
-
:param str status: The status of
|
|
147
|
+
:param str status: The status of KVStore Account. Valid Values: `"Available` `Unavailable`
|
|
148
148
|
"""
|
|
149
149
|
__args__ = dict()
|
|
150
150
|
__args__['accountName'] = account_name
|
|
@@ -195,6 +195,6 @@ def get_accounts_output(account_name: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
195
195
|
:param str account_name: The name of the account.
|
|
196
196
|
:param str instance_id: The Id of instance in which account belongs.
|
|
197
197
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
198
|
-
:param str status: The status of
|
|
198
|
+
:param str status: The status of KVStore Account. Valid Values: `"Available` `Unavailable`
|
|
199
199
|
"""
|
|
200
200
|
...
|
|
@@ -93,6 +93,8 @@ class InstanceArgs:
|
|
|
93
93
|
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
94
94
|
:param pulumi.Input[bool] dry_run: Specifies whether to precheck the request. Valid values:
|
|
95
95
|
:param pulumi.Input[str] effective_time: The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
96
|
+
- `Immediately` (Default): The configurations are immediately changed.
|
|
97
|
+
- `MaintainTime`: The configurations are changed within the maintenance window. You can set `maintain_start_time` and `maintain_end_time` to change the maintenance window.
|
|
96
98
|
:param pulumi.Input[int] enable_backup_log: Turn on or off incremental backup. Valid values: `1`, `0`. Default value: `0`
|
|
97
99
|
:param pulumi.Input[bool] enable_public: It has been deprecated from provider version 1.101.0 and resource `kvstore.Connection` instead.
|
|
98
100
|
:param pulumi.Input[str] encryption_key: The Custom key ID, which you can get by calling DescribeEncryptionKeyList.If this parameter is not passed, the key is automatically generated by the key management service. To create a custom key, you can call the CreateKey interface of the key management service.
|
|
@@ -474,6 +476,8 @@ class InstanceArgs:
|
|
|
474
476
|
def effective_time(self) -> Optional[pulumi.Input[str]]:
|
|
475
477
|
"""
|
|
476
478
|
The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
479
|
+
- `Immediately` (Default): The configurations are immediately changed.
|
|
480
|
+
- `MaintainTime`: The configurations are changed within the maintenance window. You can set `maintain_start_time` and `maintain_end_time` to change the maintenance window.
|
|
477
481
|
"""
|
|
478
482
|
return pulumi.get(self, "effective_time")
|
|
479
483
|
|
|
@@ -1108,6 +1112,8 @@ class _InstanceState:
|
|
|
1108
1112
|
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
1109
1113
|
:param pulumi.Input[bool] dry_run: Specifies whether to precheck the request. Valid values:
|
|
1110
1114
|
:param pulumi.Input[str] effective_time: The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
1115
|
+
- `Immediately` (Default): The configurations are immediately changed.
|
|
1116
|
+
- `MaintainTime`: The configurations are changed within the maintenance window. You can set `maintain_start_time` and `maintain_end_time` to change the maintenance window.
|
|
1111
1117
|
:param pulumi.Input[int] enable_backup_log: Turn on or off incremental backup. Valid values: `1`, `0`. Default value: `0`
|
|
1112
1118
|
:param pulumi.Input[bool] enable_public: It has been deprecated from provider version 1.101.0 and resource `kvstore.Connection` instead.
|
|
1113
1119
|
:param pulumi.Input[str] encryption_key: The Custom key ID, which you can get by calling DescribeEncryptionKeyList.If this parameter is not passed, the key is automatically generated by the key management service. To create a custom key, you can call the CreateKey interface of the key management service.
|
|
@@ -1546,6 +1552,8 @@ class _InstanceState:
|
|
|
1546
1552
|
def effective_time(self) -> Optional[pulumi.Input[str]]:
|
|
1547
1553
|
"""
|
|
1548
1554
|
The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
1555
|
+
- `Immediately` (Default): The configurations are immediately changed.
|
|
1556
|
+
- `MaintainTime`: The configurations are changed within the maintenance window. You can set `maintain_start_time` and `maintain_end_time` to change the maintenance window.
|
|
1549
1557
|
"""
|
|
1550
1558
|
return pulumi.get(self, "effective_time")
|
|
1551
1559
|
|
|
@@ -2219,6 +2227,8 @@ class Instance(pulumi.CustomResource):
|
|
|
2219
2227
|
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
2220
2228
|
:param pulumi.Input[bool] dry_run: Specifies whether to precheck the request. Valid values:
|
|
2221
2229
|
:param pulumi.Input[str] effective_time: The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
2230
|
+
- `Immediately` (Default): The configurations are immediately changed.
|
|
2231
|
+
- `MaintainTime`: The configurations are changed within the maintenance window. You can set `maintain_start_time` and `maintain_end_time` to change the maintenance window.
|
|
2222
2232
|
:param pulumi.Input[int] enable_backup_log: Turn on or off incremental backup. Valid values: `1`, `0`. Default value: `0`
|
|
2223
2233
|
:param pulumi.Input[bool] enable_public: It has been deprecated from provider version 1.101.0 and resource `kvstore.Connection` instead.
|
|
2224
2234
|
:param pulumi.Input[str] encryption_key: The Custom key ID, which you can get by calling DescribeEncryptionKeyList.If this parameter is not passed, the key is automatically generated by the key management service. To create a custom key, you can call the CreateKey interface of the key management service.
|
|
@@ -2535,6 +2545,8 @@ class Instance(pulumi.CustomResource):
|
|
|
2535
2545
|
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
2536
2546
|
:param pulumi.Input[bool] dry_run: Specifies whether to precheck the request. Valid values:
|
|
2537
2547
|
:param pulumi.Input[str] effective_time: The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
2548
|
+
- `Immediately` (Default): The configurations are immediately changed.
|
|
2549
|
+
- `MaintainTime`: The configurations are changed within the maintenance window. You can set `maintain_start_time` and `maintain_end_time` to change the maintenance window.
|
|
2538
2550
|
:param pulumi.Input[int] enable_backup_log: Turn on or off incremental backup. Valid values: `1`, `0`. Default value: `0`
|
|
2539
2551
|
:param pulumi.Input[bool] enable_public: It has been deprecated from provider version 1.101.0 and resource `kvstore.Connection` instead.
|
|
2540
2552
|
:param pulumi.Input[str] encryption_key: The Custom key ID, which you can get by calling DescribeEncryptionKeyList.If this parameter is not passed, the key is automatically generated by the key management service. To create a custom key, you can call the CreateKey interface of the key management service.
|
|
@@ -2817,6 +2829,8 @@ class Instance(pulumi.CustomResource):
|
|
|
2817
2829
|
def effective_time(self) -> pulumi.Output[Optional[str]]:
|
|
2818
2830
|
"""
|
|
2819
2831
|
The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
2832
|
+
- `Immediately` (Default): The configurations are immediately changed.
|
|
2833
|
+
- `MaintainTime`: The configurations are changed within the maintenance window. You can set `maintain_start_time` and `maintain_end_time` to change the maintenance window.
|
|
2820
2834
|
"""
|
|
2821
2835
|
return pulumi.get(self, "effective_time")
|
|
2822
2836
|
|
|
@@ -159,7 +159,7 @@ def get_instances(enable_details: Optional[bool] = None,
|
|
|
159
159
|
:param str name_regex: A regex string to filter results by Instance name.
|
|
160
160
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
161
161
|
:param str query_str: The query str, which can use `instance_name` keyword for fuzzy search.
|
|
162
|
-
:param str status:
|
|
162
|
+
:param str status: Instance status, Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`.
|
|
163
163
|
:param int support_engine: The support engine. Valid values: `1` to `7`.
|
|
164
164
|
"""
|
|
165
165
|
__args__ = dict()
|
|
@@ -220,7 +220,7 @@ def get_instances_output(enable_details: Optional[pulumi.Input[Optional[bool]]]
|
|
|
220
220
|
:param str name_regex: A regex string to filter results by Instance name.
|
|
221
221
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
222
222
|
:param str query_str: The query str, which can use `instance_name` keyword for fuzzy search.
|
|
223
|
-
:param str status:
|
|
223
|
+
:param str status: Instance status, Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`.
|
|
224
224
|
:param int support_engine: The support engine. Valid values: `1` to `7`.
|
|
225
225
|
"""
|
|
226
226
|
...
|