pulumi-alicloud 3.71.0a1735584773__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 +75 -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/get_ecs_disks.py +103 -14
- pulumi_alicloud/ecs/outputs.py +90 -36
- 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/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/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/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/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/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.0a1735584773.dist-info → pulumi_alicloud-3.72.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.71.0a1735584773.dist-info → pulumi_alicloud-3.72.0.dist-info}/RECORD +129 -114
- {pulumi_alicloud-3.71.0a1735584773.dist-info → pulumi_alicloud-3.72.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.71.0a1735584773.dist-info → pulumi_alicloud-3.72.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,327 @@
|
|
|
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__ = ['BucketWormArgs', 'BucketWorm']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class BucketWormArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
bucket: pulumi.Input[str],
|
|
23
|
+
retention_period_in_days: Optional[pulumi.Input[int]] = None,
|
|
24
|
+
status: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a BucketWorm resource.
|
|
27
|
+
:param pulumi.Input[str] bucket: The name of the bucket
|
|
28
|
+
:param pulumi.Input[int] retention_period_in_days: The specified number of days to retain the Object.
|
|
29
|
+
:param pulumi.Input[str] status: The status of the compliance retention policy. Optional values:
|
|
30
|
+
- `InProgress`: After a compliance retention policy is created, the policy is in the InProgress status by default, and the validity period of this status is 24 hours.
|
|
31
|
+
- `Locked`: The compliance retention policy is Locked.
|
|
32
|
+
"""
|
|
33
|
+
pulumi.set(__self__, "bucket", bucket)
|
|
34
|
+
if retention_period_in_days is not None:
|
|
35
|
+
pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
|
|
36
|
+
if status is not None:
|
|
37
|
+
pulumi.set(__self__, "status", status)
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
@pulumi.getter
|
|
41
|
+
def bucket(self) -> pulumi.Input[str]:
|
|
42
|
+
"""
|
|
43
|
+
The name of the bucket
|
|
44
|
+
"""
|
|
45
|
+
return pulumi.get(self, "bucket")
|
|
46
|
+
|
|
47
|
+
@bucket.setter
|
|
48
|
+
def bucket(self, value: pulumi.Input[str]):
|
|
49
|
+
pulumi.set(self, "bucket", value)
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter(name="retentionPeriodInDays")
|
|
53
|
+
def retention_period_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
54
|
+
"""
|
|
55
|
+
The specified number of days to retain the Object.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "retention_period_in_days")
|
|
58
|
+
|
|
59
|
+
@retention_period_in_days.setter
|
|
60
|
+
def retention_period_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
61
|
+
pulumi.set(self, "retention_period_in_days", value)
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
@pulumi.getter
|
|
65
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
66
|
+
"""
|
|
67
|
+
The status of the compliance retention policy. Optional values:
|
|
68
|
+
- `InProgress`: After a compliance retention policy is created, the policy is in the InProgress status by default, and the validity period of this status is 24 hours.
|
|
69
|
+
- `Locked`: The compliance retention policy is Locked.
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "status")
|
|
72
|
+
|
|
73
|
+
@status.setter
|
|
74
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
75
|
+
pulumi.set(self, "status", value)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
@pulumi.input_type
|
|
79
|
+
class _BucketWormState:
|
|
80
|
+
def __init__(__self__, *,
|
|
81
|
+
bucket: Optional[pulumi.Input[str]] = None,
|
|
82
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
83
|
+
retention_period_in_days: Optional[pulumi.Input[int]] = None,
|
|
84
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
85
|
+
worm_id: Optional[pulumi.Input[str]] = None):
|
|
86
|
+
"""
|
|
87
|
+
Input properties used for looking up and filtering BucketWorm resources.
|
|
88
|
+
:param pulumi.Input[str] bucket: The name of the bucket
|
|
89
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
90
|
+
:param pulumi.Input[int] retention_period_in_days: The specified number of days to retain the Object.
|
|
91
|
+
:param pulumi.Input[str] status: The status of the compliance retention policy. Optional values:
|
|
92
|
+
- `InProgress`: After a compliance retention policy is created, the policy is in the InProgress status by default, and the validity period of this status is 24 hours.
|
|
93
|
+
- `Locked`: The compliance retention policy is Locked.
|
|
94
|
+
:param pulumi.Input[str] worm_id: The ID of the retention policy.
|
|
95
|
+
"""
|
|
96
|
+
if bucket is not None:
|
|
97
|
+
pulumi.set(__self__, "bucket", bucket)
|
|
98
|
+
if create_time is not None:
|
|
99
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
100
|
+
if retention_period_in_days is not None:
|
|
101
|
+
pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
|
|
102
|
+
if status is not None:
|
|
103
|
+
pulumi.set(__self__, "status", status)
|
|
104
|
+
if worm_id is not None:
|
|
105
|
+
pulumi.set(__self__, "worm_id", worm_id)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter
|
|
109
|
+
def bucket(self) -> Optional[pulumi.Input[str]]:
|
|
110
|
+
"""
|
|
111
|
+
The name of the bucket
|
|
112
|
+
"""
|
|
113
|
+
return pulumi.get(self, "bucket")
|
|
114
|
+
|
|
115
|
+
@bucket.setter
|
|
116
|
+
def bucket(self, value: Optional[pulumi.Input[str]]):
|
|
117
|
+
pulumi.set(self, "bucket", value)
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter(name="createTime")
|
|
121
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
122
|
+
"""
|
|
123
|
+
The creation time of the resource
|
|
124
|
+
"""
|
|
125
|
+
return pulumi.get(self, "create_time")
|
|
126
|
+
|
|
127
|
+
@create_time.setter
|
|
128
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
129
|
+
pulumi.set(self, "create_time", value)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter(name="retentionPeriodInDays")
|
|
133
|
+
def retention_period_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
134
|
+
"""
|
|
135
|
+
The specified number of days to retain the Object.
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "retention_period_in_days")
|
|
138
|
+
|
|
139
|
+
@retention_period_in_days.setter
|
|
140
|
+
def retention_period_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
141
|
+
pulumi.set(self, "retention_period_in_days", value)
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter
|
|
145
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
146
|
+
"""
|
|
147
|
+
The status of the compliance retention policy. Optional values:
|
|
148
|
+
- `InProgress`: After a compliance retention policy is created, the policy is in the InProgress status by default, and the validity period of this status is 24 hours.
|
|
149
|
+
- `Locked`: The compliance retention policy is Locked.
|
|
150
|
+
"""
|
|
151
|
+
return pulumi.get(self, "status")
|
|
152
|
+
|
|
153
|
+
@status.setter
|
|
154
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
pulumi.set(self, "status", value)
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
@pulumi.getter(name="wormId")
|
|
159
|
+
def worm_id(self) -> Optional[pulumi.Input[str]]:
|
|
160
|
+
"""
|
|
161
|
+
The ID of the retention policy.
|
|
162
|
+
"""
|
|
163
|
+
return pulumi.get(self, "worm_id")
|
|
164
|
+
|
|
165
|
+
@worm_id.setter
|
|
166
|
+
def worm_id(self, value: Optional[pulumi.Input[str]]):
|
|
167
|
+
pulumi.set(self, "worm_id", value)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
class BucketWorm(pulumi.CustomResource):
|
|
171
|
+
@overload
|
|
172
|
+
def __init__(__self__,
|
|
173
|
+
resource_name: str,
|
|
174
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
175
|
+
bucket: Optional[pulumi.Input[str]] = None,
|
|
176
|
+
retention_period_in_days: Optional[pulumi.Input[int]] = None,
|
|
177
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
178
|
+
__props__=None):
|
|
179
|
+
"""
|
|
180
|
+
## Import
|
|
181
|
+
|
|
182
|
+
OSS Bucket Worm can be imported using the id, e.g.
|
|
183
|
+
|
|
184
|
+
```sh
|
|
185
|
+
$ pulumi import alicloud:oss/bucketWorm:BucketWorm example <bucket>:<worm_id>
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
:param str resource_name: The name of the resource.
|
|
189
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
190
|
+
:param pulumi.Input[str] bucket: The name of the bucket
|
|
191
|
+
:param pulumi.Input[int] retention_period_in_days: The specified number of days to retain the Object.
|
|
192
|
+
:param pulumi.Input[str] status: The status of the compliance retention policy. Optional values:
|
|
193
|
+
- `InProgress`: After a compliance retention policy is created, the policy is in the InProgress status by default, and the validity period of this status is 24 hours.
|
|
194
|
+
- `Locked`: The compliance retention policy is Locked.
|
|
195
|
+
"""
|
|
196
|
+
...
|
|
197
|
+
@overload
|
|
198
|
+
def __init__(__self__,
|
|
199
|
+
resource_name: str,
|
|
200
|
+
args: BucketWormArgs,
|
|
201
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
202
|
+
"""
|
|
203
|
+
## Import
|
|
204
|
+
|
|
205
|
+
OSS Bucket Worm can be imported using the id, e.g.
|
|
206
|
+
|
|
207
|
+
```sh
|
|
208
|
+
$ pulumi import alicloud:oss/bucketWorm:BucketWorm example <bucket>:<worm_id>
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
:param str resource_name: The name of the resource.
|
|
212
|
+
:param BucketWormArgs args: The arguments to use to populate this resource's properties.
|
|
213
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
214
|
+
"""
|
|
215
|
+
...
|
|
216
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
217
|
+
resource_args, opts = _utilities.get_resource_args_opts(BucketWormArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
218
|
+
if resource_args is not None:
|
|
219
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
220
|
+
else:
|
|
221
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
222
|
+
|
|
223
|
+
def _internal_init(__self__,
|
|
224
|
+
resource_name: str,
|
|
225
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
226
|
+
bucket: Optional[pulumi.Input[str]] = None,
|
|
227
|
+
retention_period_in_days: Optional[pulumi.Input[int]] = None,
|
|
228
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
229
|
+
__props__=None):
|
|
230
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
231
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
232
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
233
|
+
if opts.id is None:
|
|
234
|
+
if __props__ is not None:
|
|
235
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
236
|
+
__props__ = BucketWormArgs.__new__(BucketWormArgs)
|
|
237
|
+
|
|
238
|
+
if bucket is None and not opts.urn:
|
|
239
|
+
raise TypeError("Missing required property 'bucket'")
|
|
240
|
+
__props__.__dict__["bucket"] = bucket
|
|
241
|
+
__props__.__dict__["retention_period_in_days"] = retention_period_in_days
|
|
242
|
+
__props__.__dict__["status"] = status
|
|
243
|
+
__props__.__dict__["create_time"] = None
|
|
244
|
+
__props__.__dict__["worm_id"] = None
|
|
245
|
+
super(BucketWorm, __self__).__init__(
|
|
246
|
+
'alicloud:oss/bucketWorm:BucketWorm',
|
|
247
|
+
resource_name,
|
|
248
|
+
__props__,
|
|
249
|
+
opts)
|
|
250
|
+
|
|
251
|
+
@staticmethod
|
|
252
|
+
def get(resource_name: str,
|
|
253
|
+
id: pulumi.Input[str],
|
|
254
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
255
|
+
bucket: Optional[pulumi.Input[str]] = None,
|
|
256
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
257
|
+
retention_period_in_days: Optional[pulumi.Input[int]] = None,
|
|
258
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
259
|
+
worm_id: Optional[pulumi.Input[str]] = None) -> 'BucketWorm':
|
|
260
|
+
"""
|
|
261
|
+
Get an existing BucketWorm resource's state with the given name, id, and optional extra
|
|
262
|
+
properties used to qualify the lookup.
|
|
263
|
+
|
|
264
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
265
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
266
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
267
|
+
:param pulumi.Input[str] bucket: The name of the bucket
|
|
268
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
269
|
+
:param pulumi.Input[int] retention_period_in_days: The specified number of days to retain the Object.
|
|
270
|
+
:param pulumi.Input[str] status: The status of the compliance retention policy. Optional values:
|
|
271
|
+
- `InProgress`: After a compliance retention policy is created, the policy is in the InProgress status by default, and the validity period of this status is 24 hours.
|
|
272
|
+
- `Locked`: The compliance retention policy is Locked.
|
|
273
|
+
:param pulumi.Input[str] worm_id: The ID of the retention policy.
|
|
274
|
+
"""
|
|
275
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
276
|
+
|
|
277
|
+
__props__ = _BucketWormState.__new__(_BucketWormState)
|
|
278
|
+
|
|
279
|
+
__props__.__dict__["bucket"] = bucket
|
|
280
|
+
__props__.__dict__["create_time"] = create_time
|
|
281
|
+
__props__.__dict__["retention_period_in_days"] = retention_period_in_days
|
|
282
|
+
__props__.__dict__["status"] = status
|
|
283
|
+
__props__.__dict__["worm_id"] = worm_id
|
|
284
|
+
return BucketWorm(resource_name, opts=opts, __props__=__props__)
|
|
285
|
+
|
|
286
|
+
@property
|
|
287
|
+
@pulumi.getter
|
|
288
|
+
def bucket(self) -> pulumi.Output[str]:
|
|
289
|
+
"""
|
|
290
|
+
The name of the bucket
|
|
291
|
+
"""
|
|
292
|
+
return pulumi.get(self, "bucket")
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
@pulumi.getter(name="createTime")
|
|
296
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
297
|
+
"""
|
|
298
|
+
The creation time of the resource
|
|
299
|
+
"""
|
|
300
|
+
return pulumi.get(self, "create_time")
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
@pulumi.getter(name="retentionPeriodInDays")
|
|
304
|
+
def retention_period_in_days(self) -> pulumi.Output[Optional[int]]:
|
|
305
|
+
"""
|
|
306
|
+
The specified number of days to retain the Object.
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "retention_period_in_days")
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
@pulumi.getter
|
|
312
|
+
def status(self) -> pulumi.Output[str]:
|
|
313
|
+
"""
|
|
314
|
+
The status of the compliance retention policy. Optional values:
|
|
315
|
+
- `InProgress`: After a compliance retention policy is created, the policy is in the InProgress status by default, and the validity period of this status is 24 hours.
|
|
316
|
+
- `Locked`: The compliance retention policy is Locked.
|
|
317
|
+
"""
|
|
318
|
+
return pulumi.get(self, "status")
|
|
319
|
+
|
|
320
|
+
@property
|
|
321
|
+
@pulumi.getter(name="wormId")
|
|
322
|
+
def worm_id(self) -> pulumi.Output[str]:
|
|
323
|
+
"""
|
|
324
|
+
The ID of the retention policy.
|
|
325
|
+
"""
|
|
326
|
+
return pulumi.get(self, "worm_id")
|
|
327
|
+
|
pulumi_alicloud/oss/outputs.py
CHANGED
|
@@ -16,6 +16,8 @@ from .. import _utilities
|
|
|
16
16
|
from . import outputs
|
|
17
17
|
|
|
18
18
|
__all__ = [
|
|
19
|
+
'AccessPointPublicAccessBlockConfiguration',
|
|
20
|
+
'AccessPointVpcConfiguration',
|
|
19
21
|
'BucketAccessMonitor',
|
|
20
22
|
'BucketCnameCertificate',
|
|
21
23
|
'BucketCorsCorsRule',
|
|
@@ -75,6 +77,78 @@ __all__ = [
|
|
|
75
77
|
'GetTablesTablePrimaryKeyResult',
|
|
76
78
|
]
|
|
77
79
|
|
|
80
|
+
@pulumi.output_type
|
|
81
|
+
class AccessPointPublicAccessBlockConfiguration(dict):
|
|
82
|
+
@staticmethod
|
|
83
|
+
def __key_warning(key: str):
|
|
84
|
+
suggest = None
|
|
85
|
+
if key == "blockPublicAccess":
|
|
86
|
+
suggest = "block_public_access"
|
|
87
|
+
|
|
88
|
+
if suggest:
|
|
89
|
+
pulumi.log.warn(f"Key '{key}' not found in AccessPointPublicAccessBlockConfiguration. Access the value via the '{suggest}' property getter instead.")
|
|
90
|
+
|
|
91
|
+
def __getitem__(self, key: str) -> Any:
|
|
92
|
+
AccessPointPublicAccessBlockConfiguration.__key_warning(key)
|
|
93
|
+
return super().__getitem__(key)
|
|
94
|
+
|
|
95
|
+
def get(self, key: str, default = None) -> Any:
|
|
96
|
+
AccessPointPublicAccessBlockConfiguration.__key_warning(key)
|
|
97
|
+
return super().get(key, default)
|
|
98
|
+
|
|
99
|
+
def __init__(__self__, *,
|
|
100
|
+
block_public_access: Optional[bool] = None):
|
|
101
|
+
"""
|
|
102
|
+
:param bool block_public_access: Block public access enabled for access point
|
|
103
|
+
"""
|
|
104
|
+
if block_public_access is not None:
|
|
105
|
+
pulumi.set(__self__, "block_public_access", block_public_access)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter(name="blockPublicAccess")
|
|
109
|
+
def block_public_access(self) -> Optional[bool]:
|
|
110
|
+
"""
|
|
111
|
+
Block public access enabled for access point
|
|
112
|
+
"""
|
|
113
|
+
return pulumi.get(self, "block_public_access")
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
@pulumi.output_type
|
|
117
|
+
class AccessPointVpcConfiguration(dict):
|
|
118
|
+
@staticmethod
|
|
119
|
+
def __key_warning(key: str):
|
|
120
|
+
suggest = None
|
|
121
|
+
if key == "vpcId":
|
|
122
|
+
suggest = "vpc_id"
|
|
123
|
+
|
|
124
|
+
if suggest:
|
|
125
|
+
pulumi.log.warn(f"Key '{key}' not found in AccessPointVpcConfiguration. Access the value via the '{suggest}' property getter instead.")
|
|
126
|
+
|
|
127
|
+
def __getitem__(self, key: str) -> Any:
|
|
128
|
+
AccessPointVpcConfiguration.__key_warning(key)
|
|
129
|
+
return super().__getitem__(key)
|
|
130
|
+
|
|
131
|
+
def get(self, key: str, default = None) -> Any:
|
|
132
|
+
AccessPointVpcConfiguration.__key_warning(key)
|
|
133
|
+
return super().get(key, default)
|
|
134
|
+
|
|
135
|
+
def __init__(__self__, *,
|
|
136
|
+
vpc_id: Optional[str] = None):
|
|
137
|
+
"""
|
|
138
|
+
:param str vpc_id: The vpc ID is required only when the value of NetworkOrigin is VPC.
|
|
139
|
+
"""
|
|
140
|
+
if vpc_id is not None:
|
|
141
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter(name="vpcId")
|
|
145
|
+
def vpc_id(self) -> Optional[str]:
|
|
146
|
+
"""
|
|
147
|
+
The vpc ID is required only when the value of NetworkOrigin is VPC.
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "vpc_id")
|
|
150
|
+
|
|
151
|
+
|
|
78
152
|
@pulumi.output_type
|
|
79
153
|
class BucketAccessMonitor(dict):
|
|
80
154
|
def __init__(__self__, *,
|
|
@@ -77,7 +77,7 @@ def get_service(enable: Optional[str] = None,
|
|
|
77
77
|
|
|
78
78
|
For information about Privatelink and how to use it, see [What is Privatelink](https://www.alibabacloud.com/help/en/product/120462.htm).
|
|
79
79
|
|
|
80
|
-
> **NOTE:** Available
|
|
80
|
+
> **NOTE:** Available since v1.113.0.
|
|
81
81
|
|
|
82
82
|
## Example Usage
|
|
83
83
|
|
|
@@ -109,7 +109,7 @@ def get_service_output(enable: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
109
109
|
|
|
110
110
|
For information about Privatelink and how to use it, see [What is Privatelink](https://www.alibabacloud.com/help/en/product/120462.htm).
|
|
111
111
|
|
|
112
|
-
> **NOTE:** Available
|
|
112
|
+
> **NOTE:** Available since v1.113.0.
|
|
113
113
|
|
|
114
114
|
## Example Usage
|
|
115
115
|
|
|
@@ -56,11 +56,17 @@ class GetVpcEndpointConnectionsResult:
|
|
|
56
56
|
@property
|
|
57
57
|
@pulumi.getter
|
|
58
58
|
def connections(self) -> Sequence['outputs.GetVpcEndpointConnectionsConnectionResult']:
|
|
59
|
+
"""
|
|
60
|
+
A list of Privatelink Vpc Endpoint Connections. Each element contains the following attributes:
|
|
61
|
+
"""
|
|
59
62
|
return pulumi.get(self, "connections")
|
|
60
63
|
|
|
61
64
|
@property
|
|
62
65
|
@pulumi.getter(name="endpointId")
|
|
63
66
|
def endpoint_id(self) -> Optional[str]:
|
|
67
|
+
"""
|
|
68
|
+
The ID of the Vpc Endpoint.
|
|
69
|
+
"""
|
|
64
70
|
return pulumi.get(self, "endpoint_id")
|
|
65
71
|
|
|
66
72
|
@property
|
|
@@ -79,6 +85,9 @@ class GetVpcEndpointConnectionsResult:
|
|
|
79
85
|
@property
|
|
80
86
|
@pulumi.getter
|
|
81
87
|
def ids(self) -> Sequence[str]:
|
|
88
|
+
"""
|
|
89
|
+
A list of Vpc Endpoint Connection IDs.
|
|
90
|
+
"""
|
|
82
91
|
return pulumi.get(self, "ids")
|
|
83
92
|
|
|
84
93
|
@property
|
|
@@ -94,6 +103,9 @@ class GetVpcEndpointConnectionsResult:
|
|
|
94
103
|
@property
|
|
95
104
|
@pulumi.getter
|
|
96
105
|
def status(self) -> Optional[str]:
|
|
106
|
+
"""
|
|
107
|
+
The status of Vpc Endpoint Connection.
|
|
108
|
+
"""
|
|
97
109
|
return pulumi.get(self, "status")
|
|
98
110
|
|
|
99
111
|
|
|
@@ -122,7 +134,7 @@ def get_vpc_endpoint_connections(endpoint_id: Optional[str] = None,
|
|
|
122
134
|
"""
|
|
123
135
|
This data source provides the Privatelink Vpc Endpoint Connections of the current Alibaba Cloud user.
|
|
124
136
|
|
|
125
|
-
> **NOTE:** Available
|
|
137
|
+
> **NOTE:** Available since v1.110.0.
|
|
126
138
|
|
|
127
139
|
## Example Usage
|
|
128
140
|
|
|
@@ -171,7 +183,7 @@ def get_vpc_endpoint_connections_output(endpoint_id: Optional[pulumi.Input[Optio
|
|
|
171
183
|
"""
|
|
172
184
|
This data source provides the Privatelink Vpc Endpoint Connections of the current Alibaba Cloud user.
|
|
173
185
|
|
|
174
|
-
> **NOTE:** Available
|
|
186
|
+
> **NOTE:** Available since v1.110.0.
|
|
175
187
|
|
|
176
188
|
## Example Usage
|
|
177
189
|
|
|
@@ -55,6 +55,9 @@ class GetVpcEndpointServiceResourcesResult:
|
|
|
55
55
|
@property
|
|
56
56
|
@pulumi.getter
|
|
57
57
|
def ids(self) -> Sequence[str]:
|
|
58
|
+
"""
|
|
59
|
+
A list of Vpc Endpoint Service Resource IDs.
|
|
60
|
+
"""
|
|
58
61
|
return pulumi.get(self, "ids")
|
|
59
62
|
|
|
60
63
|
@property
|
|
@@ -65,6 +68,9 @@ class GetVpcEndpointServiceResourcesResult:
|
|
|
65
68
|
@property
|
|
66
69
|
@pulumi.getter
|
|
67
70
|
def resources(self) -> Sequence['outputs.GetVpcEndpointServiceResourcesResourceResult']:
|
|
71
|
+
"""
|
|
72
|
+
A list of Privatelink Vpc Endpoint Service Resources. Each element contains the following attributes:
|
|
73
|
+
"""
|
|
68
74
|
return pulumi.get(self, "resources")
|
|
69
75
|
|
|
70
76
|
@property
|
|
@@ -92,7 +98,7 @@ def get_vpc_endpoint_service_resources(output_file: Optional[str] = None,
|
|
|
92
98
|
"""
|
|
93
99
|
This data source provides the Privatelink Vpc Endpoint Service Resources of the current Alibaba Cloud user.
|
|
94
100
|
|
|
95
|
-
> **NOTE:** Available
|
|
101
|
+
> **NOTE:** Available since v1.110.0.
|
|
96
102
|
|
|
97
103
|
## Example Usage
|
|
98
104
|
|
|
@@ -128,7 +134,7 @@ def get_vpc_endpoint_service_resources_output(output_file: Optional[pulumi.Input
|
|
|
128
134
|
"""
|
|
129
135
|
This data source provides the Privatelink Vpc Endpoint Service Resources of the current Alibaba Cloud user.
|
|
130
136
|
|
|
131
|
-
> **NOTE:** Available
|
|
137
|
+
> **NOTE:** Available since v1.110.0.
|
|
132
138
|
|
|
133
139
|
## Example Usage
|
|
134
140
|
|
|
@@ -58,6 +58,9 @@ class GetVpcEndpointServiceUsersResult:
|
|
|
58
58
|
@property
|
|
59
59
|
@pulumi.getter
|
|
60
60
|
def ids(self) -> Sequence[str]:
|
|
61
|
+
"""
|
|
62
|
+
A list of Vpc Endpoint Service User IDs.
|
|
63
|
+
"""
|
|
61
64
|
return pulumi.get(self, "ids")
|
|
62
65
|
|
|
63
66
|
@property
|
|
@@ -73,11 +76,17 @@ class GetVpcEndpointServiceUsersResult:
|
|
|
73
76
|
@property
|
|
74
77
|
@pulumi.getter(name="userId")
|
|
75
78
|
def user_id(self) -> Optional[str]:
|
|
79
|
+
"""
|
|
80
|
+
The Id of Ram User.
|
|
81
|
+
"""
|
|
76
82
|
return pulumi.get(self, "user_id")
|
|
77
83
|
|
|
78
84
|
@property
|
|
79
85
|
@pulumi.getter
|
|
80
86
|
def users(self) -> Sequence['outputs.GetVpcEndpointServiceUsersUserResult']:
|
|
87
|
+
"""
|
|
88
|
+
A list of Privatelink Vpc Endpoint Service Users. Each element contains the following attributes:
|
|
89
|
+
"""
|
|
81
90
|
return pulumi.get(self, "users")
|
|
82
91
|
|
|
83
92
|
|
|
@@ -102,7 +111,7 @@ def get_vpc_endpoint_service_users(output_file: Optional[str] = None,
|
|
|
102
111
|
"""
|
|
103
112
|
This data source provides the Privatelink Vpc Endpoint Service Users of the current Alibaba Cloud user.
|
|
104
113
|
|
|
105
|
-
> **NOTE:** Available
|
|
114
|
+
> **NOTE:** Available since v1.110.0.
|
|
106
115
|
|
|
107
116
|
## Example Usage
|
|
108
117
|
|
|
@@ -142,7 +151,7 @@ def get_vpc_endpoint_service_users_output(output_file: Optional[pulumi.Input[Opt
|
|
|
142
151
|
"""
|
|
143
152
|
This data source provides the Privatelink Vpc Endpoint Service Users of the current Alibaba Cloud user.
|
|
144
153
|
|
|
145
|
-
> **NOTE:** Available
|
|
154
|
+
> **NOTE:** Available since v1.110.0.
|
|
146
155
|
|
|
147
156
|
## Example Usage
|
|
148
157
|
|
|
@@ -63,6 +63,9 @@ class GetVpcEndpointZonesResult:
|
|
|
63
63
|
@property
|
|
64
64
|
@pulumi.getter
|
|
65
65
|
def ids(self) -> Sequence[str]:
|
|
66
|
+
"""
|
|
67
|
+
A list of Vpc Endpoint Zone IDs.
|
|
68
|
+
"""
|
|
66
69
|
return pulumi.get(self, "ids")
|
|
67
70
|
|
|
68
71
|
@property
|
|
@@ -73,11 +76,17 @@ class GetVpcEndpointZonesResult:
|
|
|
73
76
|
@property
|
|
74
77
|
@pulumi.getter
|
|
75
78
|
def status(self) -> Optional[str]:
|
|
79
|
+
"""
|
|
80
|
+
The Status of Vpc Endpoint Zone..
|
|
81
|
+
"""
|
|
76
82
|
return pulumi.get(self, "status")
|
|
77
83
|
|
|
78
84
|
@property
|
|
79
85
|
@pulumi.getter
|
|
80
86
|
def zones(self) -> Sequence['outputs.GetVpcEndpointZonesZoneResult']:
|
|
87
|
+
"""
|
|
88
|
+
A list of Privatelink Vpc Endpoint Zones. Each element contains the following attributes:
|
|
89
|
+
"""
|
|
81
90
|
return pulumi.get(self, "zones")
|
|
82
91
|
|
|
83
92
|
|
|
@@ -102,7 +111,7 @@ def get_vpc_endpoint_zones(endpoint_id: Optional[str] = None,
|
|
|
102
111
|
"""
|
|
103
112
|
This data source provides the Privatelink Vpc Endpoint Zones of the current Alibaba Cloud user.
|
|
104
113
|
|
|
105
|
-
> **NOTE:** Available
|
|
114
|
+
> **NOTE:** Available since v1.111.0.
|
|
106
115
|
|
|
107
116
|
## Example Usage
|
|
108
117
|
|
|
@@ -142,7 +151,7 @@ def get_vpc_endpoint_zones_output(endpoint_id: Optional[pulumi.Input[str]] = Non
|
|
|
142
151
|
"""
|
|
143
152
|
This data source provides the Privatelink Vpc Endpoint Zones of the current Alibaba Cloud user.
|
|
144
153
|
|
|
145
|
-
> **NOTE:** Available
|
|
154
|
+
> **NOTE:** Available since v1.111.0.
|
|
146
155
|
|
|
147
156
|
## Example Usage
|
|
148
157
|
|