pulumi-alicloud 3.83.0a1752902536__py3-none-any.whl → 3.83.0a1753070854__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.

@@ -25,9 +25,9 @@ class AclEntryAttachmentArgs:
25
25
  entry_description: Optional[pulumi.Input[builtins.str]] = None):
26
26
  """
27
27
  The set of arguments for constructing a AclEntryAttachment resource.
28
- :param pulumi.Input[builtins.str] acl_id: The ID of the global acceleration instance.
29
- :param pulumi.Input[builtins.str] entry: The IP address(192.168.XX.XX) or CIDR(10.0.XX.XX/24) block that you want to add to the network ACL.
30
- :param pulumi.Input[builtins.str] entry_description: The description of the entry. The description must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
28
+ :param pulumi.Input[builtins.str] acl_id: The ID of the Acl.
29
+ :param pulumi.Input[builtins.str] entry: The entry (IP address or CIDR block) that you want to add.
30
+ :param pulumi.Input[builtins.str] entry_description: The description of the entry. The description must be `1` to `256` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
31
31
  """
32
32
  pulumi.set(__self__, "acl_id", acl_id)
33
33
  pulumi.set(__self__, "entry", entry)
@@ -38,7 +38,7 @@ class AclEntryAttachmentArgs:
38
38
  @pulumi.getter(name="aclId")
39
39
  def acl_id(self) -> pulumi.Input[builtins.str]:
40
40
  """
41
- The ID of the global acceleration instance.
41
+ The ID of the Acl.
42
42
  """
43
43
  return pulumi.get(self, "acl_id")
44
44
 
@@ -50,7 +50,7 @@ class AclEntryAttachmentArgs:
50
50
  @pulumi.getter
51
51
  def entry(self) -> pulumi.Input[builtins.str]:
52
52
  """
53
- The IP address(192.168.XX.XX) or CIDR(10.0.XX.XX/24) block that you want to add to the network ACL.
53
+ The entry (IP address or CIDR block) that you want to add.
54
54
  """
55
55
  return pulumi.get(self, "entry")
56
56
 
@@ -62,7 +62,7 @@ class AclEntryAttachmentArgs:
62
62
  @pulumi.getter(name="entryDescription")
63
63
  def entry_description(self) -> Optional[pulumi.Input[builtins.str]]:
64
64
  """
65
- The description of the entry. The description must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
65
+ The description of the entry. The description must be `1` to `256` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
66
66
  """
67
67
  return pulumi.get(self, "entry_description")
68
68
 
@@ -80,10 +80,10 @@ class _AclEntryAttachmentState:
80
80
  status: Optional[pulumi.Input[builtins.str]] = None):
81
81
  """
82
82
  Input properties used for looking up and filtering AclEntryAttachment resources.
83
- :param pulumi.Input[builtins.str] acl_id: The ID of the global acceleration instance.
84
- :param pulumi.Input[builtins.str] entry: The IP address(192.168.XX.XX) or CIDR(10.0.XX.XX/24) block that you want to add to the network ACL.
85
- :param pulumi.Input[builtins.str] entry_description: The description of the entry. The description must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
86
- :param pulumi.Input[builtins.str] status: The status of the network ACL.
83
+ :param pulumi.Input[builtins.str] acl_id: The ID of the Acl.
84
+ :param pulumi.Input[builtins.str] entry: The entry (IP address or CIDR block) that you want to add.
85
+ :param pulumi.Input[builtins.str] entry_description: The description of the entry. The description must be `1` to `256` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
86
+ :param pulumi.Input[builtins.str] status: The status of the Acl Entry Attachment.
87
87
  """
88
88
  if acl_id is not None:
89
89
  pulumi.set(__self__, "acl_id", acl_id)
@@ -98,7 +98,7 @@ class _AclEntryAttachmentState:
98
98
  @pulumi.getter(name="aclId")
99
99
  def acl_id(self) -> Optional[pulumi.Input[builtins.str]]:
100
100
  """
101
- The ID of the global acceleration instance.
101
+ The ID of the Acl.
102
102
  """
103
103
  return pulumi.get(self, "acl_id")
104
104
 
@@ -110,7 +110,7 @@ class _AclEntryAttachmentState:
110
110
  @pulumi.getter
111
111
  def entry(self) -> Optional[pulumi.Input[builtins.str]]:
112
112
  """
113
- The IP address(192.168.XX.XX) or CIDR(10.0.XX.XX/24) block that you want to add to the network ACL.
113
+ The entry (IP address or CIDR block) that you want to add.
114
114
  """
115
115
  return pulumi.get(self, "entry")
116
116
 
@@ -122,7 +122,7 @@ class _AclEntryAttachmentState:
122
122
  @pulumi.getter(name="entryDescription")
123
123
  def entry_description(self) -> Optional[pulumi.Input[builtins.str]]:
124
124
  """
125
- The description of the entry. The description must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
125
+ The description of the entry. The description must be `1` to `256` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
126
126
  """
127
127
  return pulumi.get(self, "entry_description")
128
128
 
@@ -134,7 +134,7 @@ class _AclEntryAttachmentState:
134
134
  @pulumi.getter
135
135
  def status(self) -> Optional[pulumi.Input[builtins.str]]:
136
136
  """
137
- The status of the network ACL.
137
+ The status of the Acl Entry Attachment.
138
138
  """
139
139
  return pulumi.get(self, "status")
140
140
 
@@ -154,9 +154,9 @@ class AclEntryAttachment(pulumi.CustomResource):
154
154
  entry_description: Optional[pulumi.Input[builtins.str]] = None,
155
155
  __props__=None):
156
156
  """
157
- Provides a Global Accelerator (GA) Acl entry attachment resource.
157
+ Provides a Global Accelerator (GA) Acl Entry Attachment resource.
158
158
 
159
- For information about Global Accelerator (GA) Acl entry attachment and how to use it, see [What is Acl entry attachment](https://www.alibabacloud.com/help/en/global-accelerator/latest/api-ga-2019-11-20-addentriestoacl).
159
+ For information about Global Accelerator (GA) Acl Entry Attachment and how to use it, see [What is Acl Entry Attachment](https://www.alibabacloud.com/help/en/global-accelerator/latest/api-ga-2019-11-20-addentriestoacl).
160
160
 
161
161
  > **NOTE:** Available since v1.190.0.
162
162
 
@@ -168,28 +168,32 @@ class AclEntryAttachment(pulumi.CustomResource):
168
168
  import pulumi
169
169
  import pulumi_alicloud as alicloud
170
170
 
171
+ config = pulumi.Config()
172
+ name = config.get("name")
173
+ if name is None:
174
+ name = "terraform-example"
171
175
  default = alicloud.ga.Acl("default",
172
- acl_name="tf-example-value",
173
- address_ip_version="IPv4")
176
+ address_ip_version="IPv4",
177
+ acl_name=name)
174
178
  default_acl_entry_attachment = alicloud.ga.AclEntryAttachment("default",
175
179
  acl_id=default.id,
176
180
  entry="192.168.1.1/32",
177
- entry_description="tf-example-value")
181
+ entry_description=name)
178
182
  ```
179
183
 
180
184
  ## Import
181
185
 
182
- Global Accelerator (GA) Acl entry attachment can be imported using the id.Format to `<acl_id>:<entry>`, e.g.
186
+ Global Accelerator (GA) Acl Entry Attachment can be imported using the id, e.g.
183
187
 
184
188
  ```sh
185
- $ pulumi import alicloud:ga/aclEntryAttachment:AclEntryAttachment example your_acl_id:your_entry
189
+ $ pulumi import alicloud:ga/aclEntryAttachment:AclEntryAttachment example <acl_id>:<entry>
186
190
  ```
187
191
 
188
192
  :param str resource_name: The name of the resource.
189
193
  :param pulumi.ResourceOptions opts: Options for the resource.
190
- :param pulumi.Input[builtins.str] acl_id: The ID of the global acceleration instance.
191
- :param pulumi.Input[builtins.str] entry: The IP address(192.168.XX.XX) or CIDR(10.0.XX.XX/24) block that you want to add to the network ACL.
192
- :param pulumi.Input[builtins.str] entry_description: The description of the entry. The description must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
194
+ :param pulumi.Input[builtins.str] acl_id: The ID of the Acl.
195
+ :param pulumi.Input[builtins.str] entry: The entry (IP address or CIDR block) that you want to add.
196
+ :param pulumi.Input[builtins.str] entry_description: The description of the entry. The description must be `1` to `256` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
193
197
  """
194
198
  ...
195
199
  @overload
@@ -198,9 +202,9 @@ class AclEntryAttachment(pulumi.CustomResource):
198
202
  args: AclEntryAttachmentArgs,
199
203
  opts: Optional[pulumi.ResourceOptions] = None):
200
204
  """
201
- Provides a Global Accelerator (GA) Acl entry attachment resource.
205
+ Provides a Global Accelerator (GA) Acl Entry Attachment resource.
202
206
 
203
- For information about Global Accelerator (GA) Acl entry attachment and how to use it, see [What is Acl entry attachment](https://www.alibabacloud.com/help/en/global-accelerator/latest/api-ga-2019-11-20-addentriestoacl).
207
+ For information about Global Accelerator (GA) Acl Entry Attachment and how to use it, see [What is Acl Entry Attachment](https://www.alibabacloud.com/help/en/global-accelerator/latest/api-ga-2019-11-20-addentriestoacl).
204
208
 
205
209
  > **NOTE:** Available since v1.190.0.
206
210
 
@@ -212,21 +216,25 @@ class AclEntryAttachment(pulumi.CustomResource):
212
216
  import pulumi
213
217
  import pulumi_alicloud as alicloud
214
218
 
219
+ config = pulumi.Config()
220
+ name = config.get("name")
221
+ if name is None:
222
+ name = "terraform-example"
215
223
  default = alicloud.ga.Acl("default",
216
- acl_name="tf-example-value",
217
- address_ip_version="IPv4")
224
+ address_ip_version="IPv4",
225
+ acl_name=name)
218
226
  default_acl_entry_attachment = alicloud.ga.AclEntryAttachment("default",
219
227
  acl_id=default.id,
220
228
  entry="192.168.1.1/32",
221
- entry_description="tf-example-value")
229
+ entry_description=name)
222
230
  ```
223
231
 
224
232
  ## Import
225
233
 
226
- Global Accelerator (GA) Acl entry attachment can be imported using the id.Format to `<acl_id>:<entry>`, e.g.
234
+ Global Accelerator (GA) Acl Entry Attachment can be imported using the id, e.g.
227
235
 
228
236
  ```sh
229
- $ pulumi import alicloud:ga/aclEntryAttachment:AclEntryAttachment example your_acl_id:your_entry
237
+ $ pulumi import alicloud:ga/aclEntryAttachment:AclEntryAttachment example <acl_id>:<entry>
230
238
  ```
231
239
 
232
240
  :param str resource_name: The name of the resource.
@@ -285,10 +293,10 @@ class AclEntryAttachment(pulumi.CustomResource):
285
293
  :param str resource_name: The unique name of the resulting resource.
286
294
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
287
295
  :param pulumi.ResourceOptions opts: Options for the resource.
288
- :param pulumi.Input[builtins.str] acl_id: The ID of the global acceleration instance.
289
- :param pulumi.Input[builtins.str] entry: The IP address(192.168.XX.XX) or CIDR(10.0.XX.XX/24) block that you want to add to the network ACL.
290
- :param pulumi.Input[builtins.str] entry_description: The description of the entry. The description must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
291
- :param pulumi.Input[builtins.str] status: The status of the network ACL.
296
+ :param pulumi.Input[builtins.str] acl_id: The ID of the Acl.
297
+ :param pulumi.Input[builtins.str] entry: The entry (IP address or CIDR block) that you want to add.
298
+ :param pulumi.Input[builtins.str] entry_description: The description of the entry. The description must be `1` to `256` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
299
+ :param pulumi.Input[builtins.str] status: The status of the Acl Entry Attachment.
292
300
  """
293
301
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
294
302
 
@@ -304,7 +312,7 @@ class AclEntryAttachment(pulumi.CustomResource):
304
312
  @pulumi.getter(name="aclId")
305
313
  def acl_id(self) -> pulumi.Output[builtins.str]:
306
314
  """
307
- The ID of the global acceleration instance.
315
+ The ID of the Acl.
308
316
  """
309
317
  return pulumi.get(self, "acl_id")
310
318
 
@@ -312,7 +320,7 @@ class AclEntryAttachment(pulumi.CustomResource):
312
320
  @pulumi.getter
313
321
  def entry(self) -> pulumi.Output[builtins.str]:
314
322
  """
315
- The IP address(192.168.XX.XX) or CIDR(10.0.XX.XX/24) block that you want to add to the network ACL.
323
+ The entry (IP address or CIDR block) that you want to add.
316
324
  """
317
325
  return pulumi.get(self, "entry")
318
326
 
@@ -320,7 +328,7 @@ class AclEntryAttachment(pulumi.CustomResource):
320
328
  @pulumi.getter(name="entryDescription")
321
329
  def entry_description(self) -> pulumi.Output[Optional[builtins.str]]:
322
330
  """
323
- The description of the entry. The description must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
331
+ The description of the entry. The description must be `1` to `256` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
324
332
  """
325
333
  return pulumi.get(self, "entry_description")
326
334
 
@@ -328,7 +336,7 @@ class AclEntryAttachment(pulumi.CustomResource):
328
336
  @pulumi.getter
329
337
  def status(self) -> pulumi.Output[builtins.str]:
330
338
  """
331
- The status of the network ACL.
339
+ The status of the Acl Entry Attachment.
332
340
  """
333
341
  return pulumi.get(self, "status")
334
342
 
@@ -116,7 +116,7 @@ if not MYPY:
116
116
  """
117
117
  permission: NotRequired[pulumi.Input[builtins.str]]
118
118
  """
119
- POSIX permission.
119
+ The Portable Operating System Interface for UNIX (POSIX) permission.
120
120
  """
121
121
  elif False:
122
122
  AccessPointRootPathPermissionArgsDict: TypeAlias = Mapping[str, Any]
@@ -130,7 +130,7 @@ class AccessPointRootPathPermissionArgs:
130
130
  """
131
131
  :param pulumi.Input[builtins.int] owner_group_id: The ID of the primary user group.
132
132
  :param pulumi.Input[builtins.int] owner_user_id: The owner user ID.
133
- :param pulumi.Input[builtins.str] permission: POSIX permission.
133
+ :param pulumi.Input[builtins.str] permission: The Portable Operating System Interface for UNIX (POSIX) permission.
134
134
  """
135
135
  if owner_group_id is not None:
136
136
  pulumi.set(__self__, "owner_group_id", owner_group_id)
@@ -167,7 +167,7 @@ class AccessPointRootPathPermissionArgs:
167
167
  @pulumi.getter
168
168
  def permission(self) -> Optional[pulumi.Input[builtins.str]]:
169
169
  """
170
- POSIX permission.
170
+ The Portable Operating System Interface for UNIX (POSIX) permission.
171
171
  """
172
172
  return pulumi.get(self, "permission")
173
173
 
@@ -33,14 +33,14 @@ class AccessPointArgs:
33
33
  root_path_permission: Optional[pulumi.Input['AccessPointRootPathPermissionArgs']] = None):
34
34
  """
35
35
  The set of arguments for constructing a AccessPoint resource.
36
- :param pulumi.Input[builtins.str] access_group: The permission group name.
36
+ :param pulumi.Input[builtins.str] access_group: The name of the permission group.
37
37
  :param pulumi.Input[builtins.str] file_system_id: The ID of the file system.
38
38
  :param pulumi.Input[builtins.str] vpc_id: The ID of the VPC.
39
39
  :param pulumi.Input[builtins.str] vswitch_id: The vSwitch ID.
40
- :param pulumi.Input[builtins.str] access_point_name: The Access Point Name.
41
- :param pulumi.Input[builtins.bool] enabled_ram: Whether to enable the RAM policy.
40
+ :param pulumi.Input[builtins.str] access_point_name: The name of the access point.
41
+ :param pulumi.Input[builtins.bool] enabled_ram: Specifies whether to enable the RAM policy. Default value: `false`. Valid values:
42
42
  :param pulumi.Input['AccessPointPosixUserArgs'] posix_user: The Posix user. See `posix_user` below.
43
- :param pulumi.Input[builtins.str] root_path: The root directory.
43
+ :param pulumi.Input[builtins.str] root_path: The root directory of the access point.
44
44
  :param pulumi.Input['AccessPointRootPathPermissionArgs'] root_path_permission: Root permissions. See `root_path_permission` below.
45
45
  """
46
46
  pulumi.set(__self__, "access_group", access_group)
@@ -62,7 +62,7 @@ class AccessPointArgs:
62
62
  @pulumi.getter(name="accessGroup")
63
63
  def access_group(self) -> pulumi.Input[builtins.str]:
64
64
  """
65
- The permission group name.
65
+ The name of the permission group.
66
66
  """
67
67
  return pulumi.get(self, "access_group")
68
68
 
@@ -110,7 +110,7 @@ class AccessPointArgs:
110
110
  @pulumi.getter(name="accessPointName")
111
111
  def access_point_name(self) -> Optional[pulumi.Input[builtins.str]]:
112
112
  """
113
- The Access Point Name.
113
+ The name of the access point.
114
114
  """
115
115
  return pulumi.get(self, "access_point_name")
116
116
 
@@ -122,7 +122,7 @@ class AccessPointArgs:
122
122
  @pulumi.getter(name="enabledRam")
123
123
  def enabled_ram(self) -> Optional[pulumi.Input[builtins.bool]]:
124
124
  """
125
- Whether to enable the RAM policy.
125
+ Specifies whether to enable the RAM policy. Default value: `false`. Valid values:
126
126
  """
127
127
  return pulumi.get(self, "enabled_ram")
128
128
 
@@ -146,7 +146,7 @@ class AccessPointArgs:
146
146
  @pulumi.getter(name="rootPath")
147
147
  def root_path(self) -> Optional[pulumi.Input[builtins.str]]:
148
148
  """
149
- The root directory.
149
+ The root directory of the access point.
150
150
  """
151
151
  return pulumi.get(self, "root_path")
152
152
 
@@ -177,6 +177,7 @@ class _AccessPointState:
177
177
  enabled_ram: Optional[pulumi.Input[builtins.bool]] = None,
178
178
  file_system_id: Optional[pulumi.Input[builtins.str]] = None,
179
179
  posix_user: Optional[pulumi.Input['AccessPointPosixUserArgs']] = None,
180
+ region_id: Optional[pulumi.Input[builtins.str]] = None,
180
181
  root_path: Optional[pulumi.Input[builtins.str]] = None,
181
182
  root_path_permission: Optional[pulumi.Input['AccessPointRootPathPermissionArgs']] = None,
182
183
  status: Optional[pulumi.Input[builtins.str]] = None,
@@ -184,16 +185,17 @@ class _AccessPointState:
184
185
  vswitch_id: Optional[pulumi.Input[builtins.str]] = None):
185
186
  """
186
187
  Input properties used for looking up and filtering AccessPoint resources.
187
- :param pulumi.Input[builtins.str] access_group: The permission group name.
188
- :param pulumi.Input[builtins.str] access_point_id: Access point ID.
189
- :param pulumi.Input[builtins.str] access_point_name: The Access Point Name.
190
- :param pulumi.Input[builtins.str] create_time: Creation time.
191
- :param pulumi.Input[builtins.bool] enabled_ram: Whether to enable the RAM policy.
188
+ :param pulumi.Input[builtins.str] access_group: The name of the permission group.
189
+ :param pulumi.Input[builtins.str] access_point_id: The ID of the access point.
190
+ :param pulumi.Input[builtins.str] access_point_name: The name of the access point.
191
+ :param pulumi.Input[builtins.str] create_time: The time when the access point was created.
192
+ :param pulumi.Input[builtins.bool] enabled_ram: Specifies whether to enable the RAM policy. Default value: `false`. Valid values:
192
193
  :param pulumi.Input[builtins.str] file_system_id: The ID of the file system.
193
194
  :param pulumi.Input['AccessPointPosixUserArgs'] posix_user: The Posix user. See `posix_user` below.
194
- :param pulumi.Input[builtins.str] root_path: The root directory.
195
+ :param pulumi.Input[builtins.str] region_id: (Available since v1.254.0) The region ID.
196
+ :param pulumi.Input[builtins.str] root_path: The root directory of the access point.
195
197
  :param pulumi.Input['AccessPointRootPathPermissionArgs'] root_path_permission: Root permissions. See `root_path_permission` below.
196
- :param pulumi.Input[builtins.str] status: Current access point state.
198
+ :param pulumi.Input[builtins.str] status: The status of the access point.
197
199
  :param pulumi.Input[builtins.str] vpc_id: The ID of the VPC.
198
200
  :param pulumi.Input[builtins.str] vswitch_id: The vSwitch ID.
199
201
  """
@@ -211,6 +213,8 @@ class _AccessPointState:
211
213
  pulumi.set(__self__, "file_system_id", file_system_id)
212
214
  if posix_user is not None:
213
215
  pulumi.set(__self__, "posix_user", posix_user)
216
+ if region_id is not None:
217
+ pulumi.set(__self__, "region_id", region_id)
214
218
  if root_path is not None:
215
219
  pulumi.set(__self__, "root_path", root_path)
216
220
  if root_path_permission is not None:
@@ -226,7 +230,7 @@ class _AccessPointState:
226
230
  @pulumi.getter(name="accessGroup")
227
231
  def access_group(self) -> Optional[pulumi.Input[builtins.str]]:
228
232
  """
229
- The permission group name.
233
+ The name of the permission group.
230
234
  """
231
235
  return pulumi.get(self, "access_group")
232
236
 
@@ -238,7 +242,7 @@ class _AccessPointState:
238
242
  @pulumi.getter(name="accessPointId")
239
243
  def access_point_id(self) -> Optional[pulumi.Input[builtins.str]]:
240
244
  """
241
- Access point ID.
245
+ The ID of the access point.
242
246
  """
243
247
  return pulumi.get(self, "access_point_id")
244
248
 
@@ -250,7 +254,7 @@ class _AccessPointState:
250
254
  @pulumi.getter(name="accessPointName")
251
255
  def access_point_name(self) -> Optional[pulumi.Input[builtins.str]]:
252
256
  """
253
- The Access Point Name.
257
+ The name of the access point.
254
258
  """
255
259
  return pulumi.get(self, "access_point_name")
256
260
 
@@ -262,7 +266,7 @@ class _AccessPointState:
262
266
  @pulumi.getter(name="createTime")
263
267
  def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
264
268
  """
265
- Creation time.
269
+ The time when the access point was created.
266
270
  """
267
271
  return pulumi.get(self, "create_time")
268
272
 
@@ -274,7 +278,7 @@ class _AccessPointState:
274
278
  @pulumi.getter(name="enabledRam")
275
279
  def enabled_ram(self) -> Optional[pulumi.Input[builtins.bool]]:
276
280
  """
277
- Whether to enable the RAM policy.
281
+ Specifies whether to enable the RAM policy. Default value: `false`. Valid values:
278
282
  """
279
283
  return pulumi.get(self, "enabled_ram")
280
284
 
@@ -306,11 +310,23 @@ class _AccessPointState:
306
310
  def posix_user(self, value: Optional[pulumi.Input['AccessPointPosixUserArgs']]):
307
311
  pulumi.set(self, "posix_user", value)
308
312
 
313
+ @property
314
+ @pulumi.getter(name="regionId")
315
+ def region_id(self) -> Optional[pulumi.Input[builtins.str]]:
316
+ """
317
+ (Available since v1.254.0) The region ID.
318
+ """
319
+ return pulumi.get(self, "region_id")
320
+
321
+ @region_id.setter
322
+ def region_id(self, value: Optional[pulumi.Input[builtins.str]]):
323
+ pulumi.set(self, "region_id", value)
324
+
309
325
  @property
310
326
  @pulumi.getter(name="rootPath")
311
327
  def root_path(self) -> Optional[pulumi.Input[builtins.str]]:
312
328
  """
313
- The root directory.
329
+ The root directory of the access point.
314
330
  """
315
331
  return pulumi.get(self, "root_path")
316
332
 
@@ -334,7 +350,7 @@ class _AccessPointState:
334
350
  @pulumi.getter
335
351
  def status(self) -> Optional[pulumi.Input[builtins.str]]:
336
352
  """
337
- Current access point state.
353
+ The status of the access point.
338
354
  """
339
355
  return pulumi.get(self, "status")
340
356
 
@@ -384,7 +400,7 @@ class AccessPoint(pulumi.CustomResource):
384
400
  vswitch_id: Optional[pulumi.Input[builtins.str]] = None,
385
401
  __props__=None):
386
402
  """
387
- Provides a NAS Access Point resource.
403
+ Provides a File Storage (NAS) Access Point resource.
388
404
 
389
405
  For information about NAS Access Point and how to use it, see [What is Access Point](https://www.alibabacloud.com/help/zh/nas/developer-reference/api-nas-2017-06-26-createaccesspoint).
390
406
 
@@ -403,13 +419,13 @@ class AccessPoint(pulumi.CustomResource):
403
419
  name = config.get("name")
404
420
  if name is None:
405
421
  name = "terraform-example"
406
- region_id = config.get("regionId")
407
- if region_id is None:
408
- region_id = "cn-hangzhou"
409
422
  azone = config.get("azone")
410
423
  if azone is None:
411
424
  azone = "cn-hangzhou-g"
412
425
  default = alicloud.get_zones(available_resource_creation="VSwitch")
426
+ default_integer = random.index.Integer("default",
427
+ min=10000,
428
+ max=99999)
413
429
  defaultky_vc70 = alicloud.vpc.Network("defaultkyVC70",
414
430
  cidr_block="172.16.0.0/12",
415
431
  description="接入点测试noRootDirectory")
@@ -417,9 +433,6 @@ class AccessPoint(pulumi.CustomResource):
417
433
  vpc_id=defaultky_vc70.id,
418
434
  zone_id=default.zones[0].id,
419
435
  cidr_block="172.16.0.0/24")
420
- default_integer = random.index.Integer("default",
421
- min=10000,
422
- max=99999)
423
436
  default_bbc7ev = alicloud.nas.AccessGroup("defaultBbc7ev",
424
437
  access_group_type="Vpc",
425
438
  access_group_name=f"{name}-{default_integer['result']}",
@@ -450,7 +463,7 @@ class AccessPoint(pulumi.CustomResource):
450
463
 
451
464
  ## Import
452
465
 
453
- NAS Access Point can be imported using the id, e.g.
466
+ File Storage (NAS) Access Point can be imported using the id, e.g.
454
467
 
455
468
  ```sh
456
469
  $ pulumi import alicloud:nas/accessPoint:AccessPoint example <file_system_id>:<access_point_id>
@@ -458,12 +471,12 @@ class AccessPoint(pulumi.CustomResource):
458
471
 
459
472
  :param str resource_name: The name of the resource.
460
473
  :param pulumi.ResourceOptions opts: Options for the resource.
461
- :param pulumi.Input[builtins.str] access_group: The permission group name.
462
- :param pulumi.Input[builtins.str] access_point_name: The Access Point Name.
463
- :param pulumi.Input[builtins.bool] enabled_ram: Whether to enable the RAM policy.
474
+ :param pulumi.Input[builtins.str] access_group: The name of the permission group.
475
+ :param pulumi.Input[builtins.str] access_point_name: The name of the access point.
476
+ :param pulumi.Input[builtins.bool] enabled_ram: Specifies whether to enable the RAM policy. Default value: `false`. Valid values:
464
477
  :param pulumi.Input[builtins.str] file_system_id: The ID of the file system.
465
478
  :param pulumi.Input[Union['AccessPointPosixUserArgs', 'AccessPointPosixUserArgsDict']] posix_user: The Posix user. See `posix_user` below.
466
- :param pulumi.Input[builtins.str] root_path: The root directory.
479
+ :param pulumi.Input[builtins.str] root_path: The root directory of the access point.
467
480
  :param pulumi.Input[Union['AccessPointRootPathPermissionArgs', 'AccessPointRootPathPermissionArgsDict']] root_path_permission: Root permissions. See `root_path_permission` below.
468
481
  :param pulumi.Input[builtins.str] vpc_id: The ID of the VPC.
469
482
  :param pulumi.Input[builtins.str] vswitch_id: The vSwitch ID.
@@ -475,7 +488,7 @@ class AccessPoint(pulumi.CustomResource):
475
488
  args: AccessPointArgs,
476
489
  opts: Optional[pulumi.ResourceOptions] = None):
477
490
  """
478
- Provides a NAS Access Point resource.
491
+ Provides a File Storage (NAS) Access Point resource.
479
492
 
480
493
  For information about NAS Access Point and how to use it, see [What is Access Point](https://www.alibabacloud.com/help/zh/nas/developer-reference/api-nas-2017-06-26-createaccesspoint).
481
494
 
@@ -494,13 +507,13 @@ class AccessPoint(pulumi.CustomResource):
494
507
  name = config.get("name")
495
508
  if name is None:
496
509
  name = "terraform-example"
497
- region_id = config.get("regionId")
498
- if region_id is None:
499
- region_id = "cn-hangzhou"
500
510
  azone = config.get("azone")
501
511
  if azone is None:
502
512
  azone = "cn-hangzhou-g"
503
513
  default = alicloud.get_zones(available_resource_creation="VSwitch")
514
+ default_integer = random.index.Integer("default",
515
+ min=10000,
516
+ max=99999)
504
517
  defaultky_vc70 = alicloud.vpc.Network("defaultkyVC70",
505
518
  cidr_block="172.16.0.0/12",
506
519
  description="接入点测试noRootDirectory")
@@ -508,9 +521,6 @@ class AccessPoint(pulumi.CustomResource):
508
521
  vpc_id=defaultky_vc70.id,
509
522
  zone_id=default.zones[0].id,
510
523
  cidr_block="172.16.0.0/24")
511
- default_integer = random.index.Integer("default",
512
- min=10000,
513
- max=99999)
514
524
  default_bbc7ev = alicloud.nas.AccessGroup("defaultBbc7ev",
515
525
  access_group_type="Vpc",
516
526
  access_group_name=f"{name}-{default_integer['result']}",
@@ -541,7 +551,7 @@ class AccessPoint(pulumi.CustomResource):
541
551
 
542
552
  ## Import
543
553
 
544
- NAS Access Point can be imported using the id, e.g.
554
+ File Storage (NAS) Access Point can be imported using the id, e.g.
545
555
 
546
556
  ```sh
547
557
  $ pulumi import alicloud:nas/accessPoint:AccessPoint example <file_system_id>:<access_point_id>
@@ -599,6 +609,7 @@ class AccessPoint(pulumi.CustomResource):
599
609
  __props__.__dict__["vswitch_id"] = vswitch_id
600
610
  __props__.__dict__["access_point_id"] = None
601
611
  __props__.__dict__["create_time"] = None
612
+ __props__.__dict__["region_id"] = None
602
613
  __props__.__dict__["status"] = None
603
614
  super(AccessPoint, __self__).__init__(
604
615
  'alicloud:nas/accessPoint:AccessPoint',
@@ -617,6 +628,7 @@ class AccessPoint(pulumi.CustomResource):
617
628
  enabled_ram: Optional[pulumi.Input[builtins.bool]] = None,
618
629
  file_system_id: Optional[pulumi.Input[builtins.str]] = None,
619
630
  posix_user: Optional[pulumi.Input[Union['AccessPointPosixUserArgs', 'AccessPointPosixUserArgsDict']]] = None,
631
+ region_id: Optional[pulumi.Input[builtins.str]] = None,
620
632
  root_path: Optional[pulumi.Input[builtins.str]] = None,
621
633
  root_path_permission: Optional[pulumi.Input[Union['AccessPointRootPathPermissionArgs', 'AccessPointRootPathPermissionArgsDict']]] = None,
622
634
  status: Optional[pulumi.Input[builtins.str]] = None,
@@ -629,16 +641,17 @@ class AccessPoint(pulumi.CustomResource):
629
641
  :param str resource_name: The unique name of the resulting resource.
630
642
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
631
643
  :param pulumi.ResourceOptions opts: Options for the resource.
632
- :param pulumi.Input[builtins.str] access_group: The permission group name.
633
- :param pulumi.Input[builtins.str] access_point_id: Access point ID.
634
- :param pulumi.Input[builtins.str] access_point_name: The Access Point Name.
635
- :param pulumi.Input[builtins.str] create_time: Creation time.
636
- :param pulumi.Input[builtins.bool] enabled_ram: Whether to enable the RAM policy.
644
+ :param pulumi.Input[builtins.str] access_group: The name of the permission group.
645
+ :param pulumi.Input[builtins.str] access_point_id: The ID of the access point.
646
+ :param pulumi.Input[builtins.str] access_point_name: The name of the access point.
647
+ :param pulumi.Input[builtins.str] create_time: The time when the access point was created.
648
+ :param pulumi.Input[builtins.bool] enabled_ram: Specifies whether to enable the RAM policy. Default value: `false`. Valid values:
637
649
  :param pulumi.Input[builtins.str] file_system_id: The ID of the file system.
638
650
  :param pulumi.Input[Union['AccessPointPosixUserArgs', 'AccessPointPosixUserArgsDict']] posix_user: The Posix user. See `posix_user` below.
639
- :param pulumi.Input[builtins.str] root_path: The root directory.
651
+ :param pulumi.Input[builtins.str] region_id: (Available since v1.254.0) The region ID.
652
+ :param pulumi.Input[builtins.str] root_path: The root directory of the access point.
640
653
  :param pulumi.Input[Union['AccessPointRootPathPermissionArgs', 'AccessPointRootPathPermissionArgsDict']] root_path_permission: Root permissions. See `root_path_permission` below.
641
- :param pulumi.Input[builtins.str] status: Current access point state.
654
+ :param pulumi.Input[builtins.str] status: The status of the access point.
642
655
  :param pulumi.Input[builtins.str] vpc_id: The ID of the VPC.
643
656
  :param pulumi.Input[builtins.str] vswitch_id: The vSwitch ID.
644
657
  """
@@ -653,6 +666,7 @@ class AccessPoint(pulumi.CustomResource):
653
666
  __props__.__dict__["enabled_ram"] = enabled_ram
654
667
  __props__.__dict__["file_system_id"] = file_system_id
655
668
  __props__.__dict__["posix_user"] = posix_user
669
+ __props__.__dict__["region_id"] = region_id
656
670
  __props__.__dict__["root_path"] = root_path
657
671
  __props__.__dict__["root_path_permission"] = root_path_permission
658
672
  __props__.__dict__["status"] = status
@@ -664,7 +678,7 @@ class AccessPoint(pulumi.CustomResource):
664
678
  @pulumi.getter(name="accessGroup")
665
679
  def access_group(self) -> pulumi.Output[builtins.str]:
666
680
  """
667
- The permission group name.
681
+ The name of the permission group.
668
682
  """
669
683
  return pulumi.get(self, "access_group")
670
684
 
@@ -672,7 +686,7 @@ class AccessPoint(pulumi.CustomResource):
672
686
  @pulumi.getter(name="accessPointId")
673
687
  def access_point_id(self) -> pulumi.Output[builtins.str]:
674
688
  """
675
- Access point ID.
689
+ The ID of the access point.
676
690
  """
677
691
  return pulumi.get(self, "access_point_id")
678
692
 
@@ -680,7 +694,7 @@ class AccessPoint(pulumi.CustomResource):
680
694
  @pulumi.getter(name="accessPointName")
681
695
  def access_point_name(self) -> pulumi.Output[Optional[builtins.str]]:
682
696
  """
683
- The Access Point Name.
697
+ The name of the access point.
684
698
  """
685
699
  return pulumi.get(self, "access_point_name")
686
700
 
@@ -688,7 +702,7 @@ class AccessPoint(pulumi.CustomResource):
688
702
  @pulumi.getter(name="createTime")
689
703
  def create_time(self) -> pulumi.Output[builtins.str]:
690
704
  """
691
- Creation time.
705
+ The time when the access point was created.
692
706
  """
693
707
  return pulumi.get(self, "create_time")
694
708
 
@@ -696,7 +710,7 @@ class AccessPoint(pulumi.CustomResource):
696
710
  @pulumi.getter(name="enabledRam")
697
711
  def enabled_ram(self) -> pulumi.Output[Optional[builtins.bool]]:
698
712
  """
699
- Whether to enable the RAM policy.
713
+ Specifies whether to enable the RAM policy. Default value: `false`. Valid values:
700
714
  """
701
715
  return pulumi.get(self, "enabled_ram")
702
716
 
@@ -716,11 +730,19 @@ class AccessPoint(pulumi.CustomResource):
716
730
  """
717
731
  return pulumi.get(self, "posix_user")
718
732
 
733
+ @property
734
+ @pulumi.getter(name="regionId")
735
+ def region_id(self) -> pulumi.Output[builtins.str]:
736
+ """
737
+ (Available since v1.254.0) The region ID.
738
+ """
739
+ return pulumi.get(self, "region_id")
740
+
719
741
  @property
720
742
  @pulumi.getter(name="rootPath")
721
743
  def root_path(self) -> pulumi.Output[builtins.str]:
722
744
  """
723
- The root directory.
745
+ The root directory of the access point.
724
746
  """
725
747
  return pulumi.get(self, "root_path")
726
748
 
@@ -736,7 +758,7 @@ class AccessPoint(pulumi.CustomResource):
736
758
  @pulumi.getter
737
759
  def status(self) -> pulumi.Output[builtins.str]:
738
760
  """
739
- Current access point state.
761
+ The status of the access point.
740
762
  """
741
763
  return pulumi.get(self, "status")
742
764