pulumi-alicloud 3.72.0a1735837979__py3-none-any.whl → 3.72.0a1735881335__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.

Files changed (129) hide show
  1. pulumi_alicloud/__init__.py +75 -0
  2. pulumi_alicloud/_inputs.py +471 -0
  3. pulumi_alicloud/adb/cluster.py +68 -0
  4. pulumi_alicloud/adb/db_cluster.py +94 -0
  5. pulumi_alicloud/adb/get_db_cluster_lake_versions.py +39 -4
  6. pulumi_alicloud/adb/outputs.py +106 -2
  7. pulumi_alicloud/apig/__init__.py +12 -0
  8. pulumi_alicloud/apig/_inputs.py +263 -0
  9. pulumi_alicloud/apig/environment.py +317 -0
  10. pulumi_alicloud/apig/gateway.py +645 -0
  11. pulumi_alicloud/apig/http_api.py +465 -0
  12. pulumi_alicloud/apig/outputs.py +213 -0
  13. pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
  14. pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
  15. pulumi_alicloud/cfg/get_aggregate_deliveries.py +16 -2
  16. pulumi_alicloud/cfg/get_aggregators.py +2 -2
  17. pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
  18. pulumi_alicloud/cfg/get_configuration_recorders.py +2 -6
  19. pulumi_alicloud/cfg/get_deliveries.py +11 -2
  20. pulumi_alicloud/cfg/get_delivery_channels.py +0 -4
  21. pulumi_alicloud/cfg/get_rules.py +3 -7
  22. pulumi_alicloud/cfg/outputs.py +28 -20
  23. pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
  24. pulumi_alicloud/cloudfirewall/get_instances.py +23 -6
  25. pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
  26. pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +32 -2
  27. pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
  28. pulumi_alicloud/cloudfirewall/instance.py +1 -1
  29. pulumi_alicloud/cloudfirewall/outputs.py +16 -4
  30. pulumi_alicloud/config/__init__.pyi +2 -0
  31. pulumi_alicloud/config/outputs.py +284 -0
  32. pulumi_alicloud/config/vars.py +4 -0
  33. pulumi_alicloud/cr/_inputs.py +128 -0
  34. pulumi_alicloud/cr/outputs.py +93 -0
  35. pulumi_alicloud/cr/registry_enterprise_instance.py +86 -63
  36. pulumi_alicloud/cs/registry_enterprise_sync_rule.py +331 -38
  37. pulumi_alicloud/dcdn/get_domains.py +2 -2
  38. pulumi_alicloud/dcdn/get_ipa_domains.py +14 -2
  39. pulumi_alicloud/dcdn/get_waf_domains.py +5 -2
  40. pulumi_alicloud/dcdn/get_waf_policies.py +8 -2
  41. pulumi_alicloud/dcdn/outputs.py +6 -6
  42. pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +8 -2
  43. pulumi_alicloud/ddos/get_ddos_coo_ports.py +16 -4
  44. pulumi_alicloud/ddos/outputs.py +4 -4
  45. pulumi_alicloud/ecs/_inputs.py +9 -0
  46. pulumi_alicloud/ecs/get_ecs_disks.py +103 -14
  47. pulumi_alicloud/ecs/outputs.py +90 -36
  48. pulumi_alicloud/esa/__init__.py +3 -0
  49. pulumi_alicloud/esa/_inputs.py +456 -0
  50. pulumi_alicloud/esa/outputs.py +321 -0
  51. pulumi_alicloud/esa/record.py +798 -0
  52. pulumi_alicloud/ess/get_scaling_configurations.py +116 -10
  53. pulumi_alicloud/ess/notification.py +50 -3
  54. pulumi_alicloud/ess/outputs.py +104 -8
  55. pulumi_alicloud/ess/scheduled_task.py +7 -7
  56. pulumi_alicloud/fc/v3_trigger.py +1 -1
  57. pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +11 -2
  58. pulumi_alicloud/ga/get_acls.py +14 -2
  59. pulumi_alicloud/ga/get_additional_certificates.py +11 -2
  60. pulumi_alicloud/ga/get_bandwidth_packages.py +14 -2
  61. pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
  62. pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
  63. pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
  64. pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
  65. pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
  66. pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
  67. pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
  68. pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
  69. pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
  70. pulumi_alicloud/ga/get_domains.py +2 -2
  71. pulumi_alicloud/ga/get_forwarding_rules.py +8 -2
  72. pulumi_alicloud/ga/get_ip_sets.py +8 -2
  73. pulumi_alicloud/ga/get_listeners.py +11 -2
  74. pulumi_alicloud/ga/outputs.py +64 -32
  75. pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
  76. pulumi_alicloud/get_msc_sub_contacts.py +8 -2
  77. pulumi_alicloud/get_msc_sub_subscriptions.py +5 -2
  78. pulumi_alicloud/get_msc_sub_webhooks.py +8 -2
  79. pulumi_alicloud/kms/key.py +108 -28
  80. pulumi_alicloud/kvstore/get_instances.py +14 -3
  81. pulumi_alicloud/kvstore/outputs.py +48 -4
  82. pulumi_alicloud/marketplace/order.py +2 -2
  83. pulumi_alicloud/mongodb/__init__.py +1 -0
  84. pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
  85. pulumi_alicloud/oss/__init__.py +2 -0
  86. pulumi_alicloud/oss/_inputs.py +68 -0
  87. pulumi_alicloud/oss/access_point.py +463 -0
  88. pulumi_alicloud/oss/bucket_worm.py +327 -0
  89. pulumi_alicloud/oss/outputs.py +74 -0
  90. pulumi_alicloud/privatelink/get_service.py +2 -2
  91. pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +14 -2
  92. pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +8 -2
  93. pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +11 -2
  94. pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +11 -2
  95. pulumi_alicloud/privatelink/get_vpc_endpoints.py +23 -2
  96. pulumi_alicloud/privatelink/outputs.py +6 -6
  97. pulumi_alicloud/provider.py +20 -0
  98. pulumi_alicloud/pulumi-plugin.json +1 -1
  99. pulumi_alicloud/ram/get_policies.py +66 -8
  100. pulumi_alicloud/rds/instance.py +211 -14
  101. pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
  102. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  103. pulumi_alicloud/schedulerx/__init__.py +3 -0
  104. pulumi_alicloud/schedulerx/_inputs.py +542 -0
  105. pulumi_alicloud/schedulerx/app_group.py +952 -0
  106. pulumi_alicloud/schedulerx/job.py +1454 -0
  107. pulumi_alicloud/schedulerx/namespace.py +64 -51
  108. pulumi_alicloud/schedulerx/outputs.py +425 -0
  109. pulumi_alicloud/sddp/get_configs.py +5 -2
  110. pulumi_alicloud/sddp/get_data_limits.py +11 -2
  111. pulumi_alicloud/sddp/get_instances.py +5 -2
  112. pulumi_alicloud/sddp/get_rules.py +29 -2
  113. pulumi_alicloud/sddp/outputs.py +14 -14
  114. pulumi_alicloud/vpc/get_peer_connections.py +17 -2
  115. pulumi_alicloud/vpc/network.py +293 -40
  116. pulumi_alicloud/vpc/outputs.py +2 -2
  117. pulumi_alicloud/vpc/peer_connection.py +239 -132
  118. pulumi_alicloud/vpc/peer_connection_accepter.py +85 -6
  119. pulumi_alicloud/waf/domain.py +2 -2
  120. pulumi_alicloud/waf/get_certificates.py +14 -2
  121. pulumi_alicloud/waf/get_domains.py +6 -4
  122. pulumi_alicloud/waf/get_instances.py +2 -2
  123. pulumi_alicloud/waf/instance.py +0 -64
  124. pulumi_alicloud/waf/outputs.py +2 -4
  125. pulumi_alicloud/wafv3/get_instances.py +10 -4
  126. {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735881335.dist-info}/METADATA +1 -1
  127. {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735881335.dist-info}/RECORD +129 -114
  128. {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735881335.dist-info}/WHEEL +0 -0
  129. {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735881335.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,463 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['AccessPointArgs', 'AccessPoint']
20
+
21
+ @pulumi.input_type
22
+ class AccessPointArgs:
23
+ def __init__(__self__, *,
24
+ access_point_name: pulumi.Input[str],
25
+ bucket: pulumi.Input[str],
26
+ network_origin: pulumi.Input[str],
27
+ public_access_block_configuration: Optional[pulumi.Input['AccessPointPublicAccessBlockConfigurationArgs']] = None,
28
+ vpc_configuration: Optional[pulumi.Input['AccessPointVpcConfigurationArgs']] = None):
29
+ """
30
+ The set of arguments for constructing a AccessPoint resource.
31
+ :param pulumi.Input[str] access_point_name: The name of the access point
32
+ :param pulumi.Input[str] bucket: The Bucket to which the current access point belongs.
33
+ :param pulumi.Input[str] network_origin: Access point network source. The valid values are as follows:
34
+ - vpc: only the specified VPC ID can be used to access the access point.
35
+ - internet: the access point can be accessed through both external and internal Endpoint.
36
+ :param pulumi.Input['AccessPointPublicAccessBlockConfigurationArgs'] public_access_block_configuration: Configuration of Access Point Blocking Public Access See `public_access_block_configuration` below.
37
+ :param pulumi.Input['AccessPointVpcConfigurationArgs'] vpc_configuration: If the Network Origin is vpc, the VPC source information is saved here. See `vpc_configuration` below.
38
+ """
39
+ pulumi.set(__self__, "access_point_name", access_point_name)
40
+ pulumi.set(__self__, "bucket", bucket)
41
+ pulumi.set(__self__, "network_origin", network_origin)
42
+ if public_access_block_configuration is not None:
43
+ pulumi.set(__self__, "public_access_block_configuration", public_access_block_configuration)
44
+ if vpc_configuration is not None:
45
+ pulumi.set(__self__, "vpc_configuration", vpc_configuration)
46
+
47
+ @property
48
+ @pulumi.getter(name="accessPointName")
49
+ def access_point_name(self) -> pulumi.Input[str]:
50
+ """
51
+ The name of the access point
52
+ """
53
+ return pulumi.get(self, "access_point_name")
54
+
55
+ @access_point_name.setter
56
+ def access_point_name(self, value: pulumi.Input[str]):
57
+ pulumi.set(self, "access_point_name", value)
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def bucket(self) -> pulumi.Input[str]:
62
+ """
63
+ The Bucket to which the current access point belongs.
64
+ """
65
+ return pulumi.get(self, "bucket")
66
+
67
+ @bucket.setter
68
+ def bucket(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "bucket", value)
70
+
71
+ @property
72
+ @pulumi.getter(name="networkOrigin")
73
+ def network_origin(self) -> pulumi.Input[str]:
74
+ """
75
+ Access point network source. The valid values are as follows:
76
+ - vpc: only the specified VPC ID can be used to access the access point.
77
+ - internet: the access point can be accessed through both external and internal Endpoint.
78
+ """
79
+ return pulumi.get(self, "network_origin")
80
+
81
+ @network_origin.setter
82
+ def network_origin(self, value: pulumi.Input[str]):
83
+ pulumi.set(self, "network_origin", value)
84
+
85
+ @property
86
+ @pulumi.getter(name="publicAccessBlockConfiguration")
87
+ def public_access_block_configuration(self) -> Optional[pulumi.Input['AccessPointPublicAccessBlockConfigurationArgs']]:
88
+ """
89
+ Configuration of Access Point Blocking Public Access See `public_access_block_configuration` below.
90
+ """
91
+ return pulumi.get(self, "public_access_block_configuration")
92
+
93
+ @public_access_block_configuration.setter
94
+ def public_access_block_configuration(self, value: Optional[pulumi.Input['AccessPointPublicAccessBlockConfigurationArgs']]):
95
+ pulumi.set(self, "public_access_block_configuration", value)
96
+
97
+ @property
98
+ @pulumi.getter(name="vpcConfiguration")
99
+ def vpc_configuration(self) -> Optional[pulumi.Input['AccessPointVpcConfigurationArgs']]:
100
+ """
101
+ If the Network Origin is vpc, the VPC source information is saved here. See `vpc_configuration` below.
102
+ """
103
+ return pulumi.get(self, "vpc_configuration")
104
+
105
+ @vpc_configuration.setter
106
+ def vpc_configuration(self, value: Optional[pulumi.Input['AccessPointVpcConfigurationArgs']]):
107
+ pulumi.set(self, "vpc_configuration", value)
108
+
109
+
110
+ @pulumi.input_type
111
+ class _AccessPointState:
112
+ def __init__(__self__, *,
113
+ access_point_name: Optional[pulumi.Input[str]] = None,
114
+ bucket: Optional[pulumi.Input[str]] = None,
115
+ network_origin: Optional[pulumi.Input[str]] = None,
116
+ public_access_block_configuration: Optional[pulumi.Input['AccessPointPublicAccessBlockConfigurationArgs']] = None,
117
+ status: Optional[pulumi.Input[str]] = None,
118
+ vpc_configuration: Optional[pulumi.Input['AccessPointVpcConfigurationArgs']] = None):
119
+ """
120
+ Input properties used for looking up and filtering AccessPoint resources.
121
+ :param pulumi.Input[str] access_point_name: The name of the access point
122
+ :param pulumi.Input[str] bucket: The Bucket to which the current access point belongs.
123
+ :param pulumi.Input[str] network_origin: Access point network source. The valid values are as follows:
124
+ - vpc: only the specified VPC ID can be used to access the access point.
125
+ - internet: the access point can be accessed through both external and internal Endpoint.
126
+ :param pulumi.Input['AccessPointPublicAccessBlockConfigurationArgs'] public_access_block_configuration: Configuration of Access Point Blocking Public Access See `public_access_block_configuration` below.
127
+ :param pulumi.Input[str] status: The status of the resource
128
+ :param pulumi.Input['AccessPointVpcConfigurationArgs'] vpc_configuration: If the Network Origin is vpc, the VPC source information is saved here. See `vpc_configuration` below.
129
+ """
130
+ if access_point_name is not None:
131
+ pulumi.set(__self__, "access_point_name", access_point_name)
132
+ if bucket is not None:
133
+ pulumi.set(__self__, "bucket", bucket)
134
+ if network_origin is not None:
135
+ pulumi.set(__self__, "network_origin", network_origin)
136
+ if public_access_block_configuration is not None:
137
+ pulumi.set(__self__, "public_access_block_configuration", public_access_block_configuration)
138
+ if status is not None:
139
+ pulumi.set(__self__, "status", status)
140
+ if vpc_configuration is not None:
141
+ pulumi.set(__self__, "vpc_configuration", vpc_configuration)
142
+
143
+ @property
144
+ @pulumi.getter(name="accessPointName")
145
+ def access_point_name(self) -> Optional[pulumi.Input[str]]:
146
+ """
147
+ The name of the access point
148
+ """
149
+ return pulumi.get(self, "access_point_name")
150
+
151
+ @access_point_name.setter
152
+ def access_point_name(self, value: Optional[pulumi.Input[str]]):
153
+ pulumi.set(self, "access_point_name", value)
154
+
155
+ @property
156
+ @pulumi.getter
157
+ def bucket(self) -> Optional[pulumi.Input[str]]:
158
+ """
159
+ The Bucket to which the current access point belongs.
160
+ """
161
+ return pulumi.get(self, "bucket")
162
+
163
+ @bucket.setter
164
+ def bucket(self, value: Optional[pulumi.Input[str]]):
165
+ pulumi.set(self, "bucket", value)
166
+
167
+ @property
168
+ @pulumi.getter(name="networkOrigin")
169
+ def network_origin(self) -> Optional[pulumi.Input[str]]:
170
+ """
171
+ Access point network source. The valid values are as follows:
172
+ - vpc: only the specified VPC ID can be used to access the access point.
173
+ - internet: the access point can be accessed through both external and internal Endpoint.
174
+ """
175
+ return pulumi.get(self, "network_origin")
176
+
177
+ @network_origin.setter
178
+ def network_origin(self, value: Optional[pulumi.Input[str]]):
179
+ pulumi.set(self, "network_origin", value)
180
+
181
+ @property
182
+ @pulumi.getter(name="publicAccessBlockConfiguration")
183
+ def public_access_block_configuration(self) -> Optional[pulumi.Input['AccessPointPublicAccessBlockConfigurationArgs']]:
184
+ """
185
+ Configuration of Access Point Blocking Public Access See `public_access_block_configuration` below.
186
+ """
187
+ return pulumi.get(self, "public_access_block_configuration")
188
+
189
+ @public_access_block_configuration.setter
190
+ def public_access_block_configuration(self, value: Optional[pulumi.Input['AccessPointPublicAccessBlockConfigurationArgs']]):
191
+ pulumi.set(self, "public_access_block_configuration", value)
192
+
193
+ @property
194
+ @pulumi.getter
195
+ def status(self) -> Optional[pulumi.Input[str]]:
196
+ """
197
+ The status of the resource
198
+ """
199
+ return pulumi.get(self, "status")
200
+
201
+ @status.setter
202
+ def status(self, value: Optional[pulumi.Input[str]]):
203
+ pulumi.set(self, "status", value)
204
+
205
+ @property
206
+ @pulumi.getter(name="vpcConfiguration")
207
+ def vpc_configuration(self) -> Optional[pulumi.Input['AccessPointVpcConfigurationArgs']]:
208
+ """
209
+ If the Network Origin is vpc, the VPC source information is saved here. See `vpc_configuration` below.
210
+ """
211
+ return pulumi.get(self, "vpc_configuration")
212
+
213
+ @vpc_configuration.setter
214
+ def vpc_configuration(self, value: Optional[pulumi.Input['AccessPointVpcConfigurationArgs']]):
215
+ pulumi.set(self, "vpc_configuration", value)
216
+
217
+
218
+ class AccessPoint(pulumi.CustomResource):
219
+ @overload
220
+ def __init__(__self__,
221
+ resource_name: str,
222
+ opts: Optional[pulumi.ResourceOptions] = None,
223
+ access_point_name: Optional[pulumi.Input[str]] = None,
224
+ bucket: Optional[pulumi.Input[str]] = None,
225
+ network_origin: Optional[pulumi.Input[str]] = None,
226
+ public_access_block_configuration: Optional[pulumi.Input[Union['AccessPointPublicAccessBlockConfigurationArgs', 'AccessPointPublicAccessBlockConfigurationArgsDict']]] = None,
227
+ vpc_configuration: Optional[pulumi.Input[Union['AccessPointVpcConfigurationArgs', 'AccessPointVpcConfigurationArgsDict']]] = None,
228
+ __props__=None):
229
+ """
230
+ Provides a OSS Access Point resource.
231
+
232
+ You can create multiple Access points for buckets and configure different Access control permissions and network control policies for different Access points.
233
+
234
+ For information about OSS Access Point and how to use it, see [What is Access Point](https://www.alibabacloud.com/help/en/).
235
+
236
+ > **NOTE:** Available since v1.240.0.
237
+
238
+ ## Example Usage
239
+
240
+ Basic Usage
241
+
242
+ ```python
243
+ import pulumi
244
+ import pulumi_alicloud as alicloud
245
+
246
+ config = pulumi.Config()
247
+ name = config.get("name")
248
+ if name is None:
249
+ name = "terraform-example"
250
+ create_bucket = alicloud.oss.Bucket("CreateBucket", storage_class="Standard")
251
+ default = alicloud.oss.AccessPoint("default",
252
+ access_point_name=name,
253
+ bucket=create_bucket.bucket,
254
+ vpc_configuration={
255
+ "vpc_id": "vpc-abcexample",
256
+ },
257
+ network_origin="vpc",
258
+ public_access_block_configuration={
259
+ "block_public_access": True,
260
+ })
261
+ ```
262
+
263
+ ## Import
264
+
265
+ OSS Access Point can be imported using the id, e.g.
266
+
267
+ ```sh
268
+ $ pulumi import alicloud:oss/accessPoint:AccessPoint example <bucket>:<access_point_name>
269
+ ```
270
+
271
+ :param str resource_name: The name of the resource.
272
+ :param pulumi.ResourceOptions opts: Options for the resource.
273
+ :param pulumi.Input[str] access_point_name: The name of the access point
274
+ :param pulumi.Input[str] bucket: The Bucket to which the current access point belongs.
275
+ :param pulumi.Input[str] network_origin: Access point network source. The valid values are as follows:
276
+ - vpc: only the specified VPC ID can be used to access the access point.
277
+ - internet: the access point can be accessed through both external and internal Endpoint.
278
+ :param pulumi.Input[Union['AccessPointPublicAccessBlockConfigurationArgs', 'AccessPointPublicAccessBlockConfigurationArgsDict']] public_access_block_configuration: Configuration of Access Point Blocking Public Access See `public_access_block_configuration` below.
279
+ :param pulumi.Input[Union['AccessPointVpcConfigurationArgs', 'AccessPointVpcConfigurationArgsDict']] vpc_configuration: If the Network Origin is vpc, the VPC source information is saved here. See `vpc_configuration` below.
280
+ """
281
+ ...
282
+ @overload
283
+ def __init__(__self__,
284
+ resource_name: str,
285
+ args: AccessPointArgs,
286
+ opts: Optional[pulumi.ResourceOptions] = None):
287
+ """
288
+ Provides a OSS Access Point resource.
289
+
290
+ You can create multiple Access points for buckets and configure different Access control permissions and network control policies for different Access points.
291
+
292
+ For information about OSS Access Point and how to use it, see [What is Access Point](https://www.alibabacloud.com/help/en/).
293
+
294
+ > **NOTE:** Available since v1.240.0.
295
+
296
+ ## Example Usage
297
+
298
+ Basic Usage
299
+
300
+ ```python
301
+ import pulumi
302
+ import pulumi_alicloud as alicloud
303
+
304
+ config = pulumi.Config()
305
+ name = config.get("name")
306
+ if name is None:
307
+ name = "terraform-example"
308
+ create_bucket = alicloud.oss.Bucket("CreateBucket", storage_class="Standard")
309
+ default = alicloud.oss.AccessPoint("default",
310
+ access_point_name=name,
311
+ bucket=create_bucket.bucket,
312
+ vpc_configuration={
313
+ "vpc_id": "vpc-abcexample",
314
+ },
315
+ network_origin="vpc",
316
+ public_access_block_configuration={
317
+ "block_public_access": True,
318
+ })
319
+ ```
320
+
321
+ ## Import
322
+
323
+ OSS Access Point can be imported using the id, e.g.
324
+
325
+ ```sh
326
+ $ pulumi import alicloud:oss/accessPoint:AccessPoint example <bucket>:<access_point_name>
327
+ ```
328
+
329
+ :param str resource_name: The name of the resource.
330
+ :param AccessPointArgs args: The arguments to use to populate this resource's properties.
331
+ :param pulumi.ResourceOptions opts: Options for the resource.
332
+ """
333
+ ...
334
+ def __init__(__self__, resource_name: str, *args, **kwargs):
335
+ resource_args, opts = _utilities.get_resource_args_opts(AccessPointArgs, pulumi.ResourceOptions, *args, **kwargs)
336
+ if resource_args is not None:
337
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
338
+ else:
339
+ __self__._internal_init(resource_name, *args, **kwargs)
340
+
341
+ def _internal_init(__self__,
342
+ resource_name: str,
343
+ opts: Optional[pulumi.ResourceOptions] = None,
344
+ access_point_name: Optional[pulumi.Input[str]] = None,
345
+ bucket: Optional[pulumi.Input[str]] = None,
346
+ network_origin: Optional[pulumi.Input[str]] = None,
347
+ public_access_block_configuration: Optional[pulumi.Input[Union['AccessPointPublicAccessBlockConfigurationArgs', 'AccessPointPublicAccessBlockConfigurationArgsDict']]] = None,
348
+ vpc_configuration: Optional[pulumi.Input[Union['AccessPointVpcConfigurationArgs', 'AccessPointVpcConfigurationArgsDict']]] = None,
349
+ __props__=None):
350
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
351
+ if not isinstance(opts, pulumi.ResourceOptions):
352
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
353
+ if opts.id is None:
354
+ if __props__ is not None:
355
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
356
+ __props__ = AccessPointArgs.__new__(AccessPointArgs)
357
+
358
+ if access_point_name is None and not opts.urn:
359
+ raise TypeError("Missing required property 'access_point_name'")
360
+ __props__.__dict__["access_point_name"] = access_point_name
361
+ if bucket is None and not opts.urn:
362
+ raise TypeError("Missing required property 'bucket'")
363
+ __props__.__dict__["bucket"] = bucket
364
+ if network_origin is None and not opts.urn:
365
+ raise TypeError("Missing required property 'network_origin'")
366
+ __props__.__dict__["network_origin"] = network_origin
367
+ __props__.__dict__["public_access_block_configuration"] = public_access_block_configuration
368
+ __props__.__dict__["vpc_configuration"] = vpc_configuration
369
+ __props__.__dict__["status"] = None
370
+ super(AccessPoint, __self__).__init__(
371
+ 'alicloud:oss/accessPoint:AccessPoint',
372
+ resource_name,
373
+ __props__,
374
+ opts)
375
+
376
+ @staticmethod
377
+ def get(resource_name: str,
378
+ id: pulumi.Input[str],
379
+ opts: Optional[pulumi.ResourceOptions] = None,
380
+ access_point_name: Optional[pulumi.Input[str]] = None,
381
+ bucket: Optional[pulumi.Input[str]] = None,
382
+ network_origin: Optional[pulumi.Input[str]] = None,
383
+ public_access_block_configuration: Optional[pulumi.Input[Union['AccessPointPublicAccessBlockConfigurationArgs', 'AccessPointPublicAccessBlockConfigurationArgsDict']]] = None,
384
+ status: Optional[pulumi.Input[str]] = None,
385
+ vpc_configuration: Optional[pulumi.Input[Union['AccessPointVpcConfigurationArgs', 'AccessPointVpcConfigurationArgsDict']]] = None) -> 'AccessPoint':
386
+ """
387
+ Get an existing AccessPoint resource's state with the given name, id, and optional extra
388
+ properties used to qualify the lookup.
389
+
390
+ :param str resource_name: The unique name of the resulting resource.
391
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
392
+ :param pulumi.ResourceOptions opts: Options for the resource.
393
+ :param pulumi.Input[str] access_point_name: The name of the access point
394
+ :param pulumi.Input[str] bucket: The Bucket to which the current access point belongs.
395
+ :param pulumi.Input[str] network_origin: Access point network source. The valid values are as follows:
396
+ - vpc: only the specified VPC ID can be used to access the access point.
397
+ - internet: the access point can be accessed through both external and internal Endpoint.
398
+ :param pulumi.Input[Union['AccessPointPublicAccessBlockConfigurationArgs', 'AccessPointPublicAccessBlockConfigurationArgsDict']] public_access_block_configuration: Configuration of Access Point Blocking Public Access See `public_access_block_configuration` below.
399
+ :param pulumi.Input[str] status: The status of the resource
400
+ :param pulumi.Input[Union['AccessPointVpcConfigurationArgs', 'AccessPointVpcConfigurationArgsDict']] vpc_configuration: If the Network Origin is vpc, the VPC source information is saved here. See `vpc_configuration` below.
401
+ """
402
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
403
+
404
+ __props__ = _AccessPointState.__new__(_AccessPointState)
405
+
406
+ __props__.__dict__["access_point_name"] = access_point_name
407
+ __props__.__dict__["bucket"] = bucket
408
+ __props__.__dict__["network_origin"] = network_origin
409
+ __props__.__dict__["public_access_block_configuration"] = public_access_block_configuration
410
+ __props__.__dict__["status"] = status
411
+ __props__.__dict__["vpc_configuration"] = vpc_configuration
412
+ return AccessPoint(resource_name, opts=opts, __props__=__props__)
413
+
414
+ @property
415
+ @pulumi.getter(name="accessPointName")
416
+ def access_point_name(self) -> pulumi.Output[str]:
417
+ """
418
+ The name of the access point
419
+ """
420
+ return pulumi.get(self, "access_point_name")
421
+
422
+ @property
423
+ @pulumi.getter
424
+ def bucket(self) -> pulumi.Output[str]:
425
+ """
426
+ The Bucket to which the current access point belongs.
427
+ """
428
+ return pulumi.get(self, "bucket")
429
+
430
+ @property
431
+ @pulumi.getter(name="networkOrigin")
432
+ def network_origin(self) -> pulumi.Output[str]:
433
+ """
434
+ Access point network source. The valid values are as follows:
435
+ - vpc: only the specified VPC ID can be used to access the access point.
436
+ - internet: the access point can be accessed through both external and internal Endpoint.
437
+ """
438
+ return pulumi.get(self, "network_origin")
439
+
440
+ @property
441
+ @pulumi.getter(name="publicAccessBlockConfiguration")
442
+ def public_access_block_configuration(self) -> pulumi.Output[Optional['outputs.AccessPointPublicAccessBlockConfiguration']]:
443
+ """
444
+ Configuration of Access Point Blocking Public Access See `public_access_block_configuration` below.
445
+ """
446
+ return pulumi.get(self, "public_access_block_configuration")
447
+
448
+ @property
449
+ @pulumi.getter
450
+ def status(self) -> pulumi.Output[str]:
451
+ """
452
+ The status of the resource
453
+ """
454
+ return pulumi.get(self, "status")
455
+
456
+ @property
457
+ @pulumi.getter(name="vpcConfiguration")
458
+ def vpc_configuration(self) -> pulumi.Output[Optional['outputs.AccessPointVpcConfiguration']]:
459
+ """
460
+ If the Network Origin is vpc, the VPC source information is saved here. See `vpc_configuration` below.
461
+ """
462
+ return pulumi.get(self, "vpc_configuration")
463
+