pulumi-alicloud 3.70.0__py3-none-any.whl → 3.70.0a1733788805__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 (35) hide show
  1. pulumi_alicloud/__init__.py +0 -27
  2. pulumi_alicloud/arms/_inputs.py +0 -185
  3. pulumi_alicloud/arms/dispatch_rule.py +1 -70
  4. pulumi_alicloud/arms/get_dispatch_rules.py +2 -2
  5. pulumi_alicloud/arms/get_prometheis.py +2 -2
  6. pulumi_alicloud/arms/get_remote_writes.py +2 -2
  7. pulumi_alicloud/arms/outputs.py +11 -258
  8. pulumi_alicloud/cen/private_zone.py +69 -73
  9. pulumi_alicloud/cen/transit_router_multicast_domain_peer_member.py +2 -2
  10. pulumi_alicloud/cfg/rule.py +2 -2
  11. pulumi_alicloud/ess/_inputs.py +0 -54
  12. pulumi_alicloud/ess/outputs.py +0 -51
  13. pulumi_alicloud/ess/scaling_configuration.py +0 -47
  14. pulumi_alicloud/ess/scaling_group.py +0 -47
  15. pulumi_alicloud/fc/v3_trigger.py +0 -96
  16. pulumi_alicloud/kms/_inputs.py +5 -5
  17. pulumi_alicloud/kms/outputs.py +3 -3
  18. pulumi_alicloud/nas/access_group.py +2 -10
  19. pulumi_alicloud/nas/access_point.py +2 -10
  20. pulumi_alicloud/nas/fileset.py +2 -2
  21. pulumi_alicloud/oos/execution.py +10 -18
  22. pulumi_alicloud/oos/template.py +6 -14
  23. pulumi_alicloud/pai/__init__.py +0 -1
  24. pulumi_alicloud/pulumi-plugin.json +1 -1
  25. pulumi_alicloud/rdc/get_organizations.py +2 -12
  26. pulumi_alicloud/rdc/organization.py +2 -6
  27. pulumi_alicloud/vpc/__init__.py +0 -1
  28. {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733788805.dist-info}/METADATA +3 -3
  29. {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733788805.dist-info}/RECORD +31 -35
  30. pulumi_alicloud/live/__init__.py +0 -8
  31. pulumi_alicloud/live/caster.py +0 -1343
  32. pulumi_alicloud/pai/service.py +0 -501
  33. pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +0 -545
  34. {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733788805.dist-info}/WHEEL +0 -0
  35. {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733788805.dist-info}/top_level.txt +0 -0
@@ -1,545 +0,0 @@
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__ = ['IpamIpamPoolAllocationArgs', 'IpamIpamPoolAllocation']
18
-
19
- @pulumi.input_type
20
- class IpamIpamPoolAllocationArgs:
21
- def __init__(__self__, *,
22
- ipam_pool_id: pulumi.Input[str],
23
- cidr: Optional[pulumi.Input[str]] = None,
24
- cidr_mask: Optional[pulumi.Input[int]] = None,
25
- ipam_pool_allocation_description: Optional[pulumi.Input[str]] = None,
26
- ipam_pool_allocation_name: Optional[pulumi.Input[str]] = None):
27
- """
28
- The set of arguments for constructing a IpamIpamPoolAllocation resource.
29
- :param pulumi.Input[str] ipam_pool_id: The ID of the IPAM Pool.
30
- :param pulumi.Input[str] cidr: The allocated address segment.
31
- :param pulumi.Input[int] cidr_mask: Create a custom reserved network segment from The IPAM address pool by entering a mask.
32
-
33
- > **NOTE:** Enter at least one of `Cidr` or **CidrMask.
34
- :param pulumi.Input[str] ipam_pool_allocation_description: The description of the ipam pool alloctaion.
35
-
36
- It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
37
- :param pulumi.Input[str] ipam_pool_allocation_name: The name of the ipam pool allocation.
38
-
39
- It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
40
- """
41
- pulumi.set(__self__, "ipam_pool_id", ipam_pool_id)
42
- if cidr is not None:
43
- pulumi.set(__self__, "cidr", cidr)
44
- if cidr_mask is not None:
45
- pulumi.set(__self__, "cidr_mask", cidr_mask)
46
- if ipam_pool_allocation_description is not None:
47
- pulumi.set(__self__, "ipam_pool_allocation_description", ipam_pool_allocation_description)
48
- if ipam_pool_allocation_name is not None:
49
- pulumi.set(__self__, "ipam_pool_allocation_name", ipam_pool_allocation_name)
50
-
51
- @property
52
- @pulumi.getter(name="ipamPoolId")
53
- def ipam_pool_id(self) -> pulumi.Input[str]:
54
- """
55
- The ID of the IPAM Pool.
56
- """
57
- return pulumi.get(self, "ipam_pool_id")
58
-
59
- @ipam_pool_id.setter
60
- def ipam_pool_id(self, value: pulumi.Input[str]):
61
- pulumi.set(self, "ipam_pool_id", value)
62
-
63
- @property
64
- @pulumi.getter
65
- def cidr(self) -> Optional[pulumi.Input[str]]:
66
- """
67
- The allocated address segment.
68
- """
69
- return pulumi.get(self, "cidr")
70
-
71
- @cidr.setter
72
- def cidr(self, value: Optional[pulumi.Input[str]]):
73
- pulumi.set(self, "cidr", value)
74
-
75
- @property
76
- @pulumi.getter(name="cidrMask")
77
- def cidr_mask(self) -> Optional[pulumi.Input[int]]:
78
- """
79
- Create a custom reserved network segment from The IPAM address pool by entering a mask.
80
-
81
- > **NOTE:** Enter at least one of `Cidr` or **CidrMask.
82
- """
83
- return pulumi.get(self, "cidr_mask")
84
-
85
- @cidr_mask.setter
86
- def cidr_mask(self, value: Optional[pulumi.Input[int]]):
87
- pulumi.set(self, "cidr_mask", value)
88
-
89
- @property
90
- @pulumi.getter(name="ipamPoolAllocationDescription")
91
- def ipam_pool_allocation_description(self) -> Optional[pulumi.Input[str]]:
92
- """
93
- The description of the ipam pool alloctaion.
94
-
95
- It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
96
- """
97
- return pulumi.get(self, "ipam_pool_allocation_description")
98
-
99
- @ipam_pool_allocation_description.setter
100
- def ipam_pool_allocation_description(self, value: Optional[pulumi.Input[str]]):
101
- pulumi.set(self, "ipam_pool_allocation_description", value)
102
-
103
- @property
104
- @pulumi.getter(name="ipamPoolAllocationName")
105
- def ipam_pool_allocation_name(self) -> Optional[pulumi.Input[str]]:
106
- """
107
- The name of the ipam pool allocation.
108
-
109
- It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
110
- """
111
- return pulumi.get(self, "ipam_pool_allocation_name")
112
-
113
- @ipam_pool_allocation_name.setter
114
- def ipam_pool_allocation_name(self, value: Optional[pulumi.Input[str]]):
115
- pulumi.set(self, "ipam_pool_allocation_name", value)
116
-
117
-
118
- @pulumi.input_type
119
- class _IpamIpamPoolAllocationState:
120
- def __init__(__self__, *,
121
- cidr: Optional[pulumi.Input[str]] = None,
122
- cidr_mask: Optional[pulumi.Input[int]] = None,
123
- create_time: Optional[pulumi.Input[str]] = None,
124
- ipam_pool_allocation_description: Optional[pulumi.Input[str]] = None,
125
- ipam_pool_allocation_name: Optional[pulumi.Input[str]] = None,
126
- ipam_pool_id: Optional[pulumi.Input[str]] = None,
127
- region_id: Optional[pulumi.Input[str]] = None,
128
- status: Optional[pulumi.Input[str]] = None):
129
- """
130
- Input properties used for looking up and filtering IpamIpamPoolAllocation resources.
131
- :param pulumi.Input[str] cidr: The allocated address segment.
132
- :param pulumi.Input[int] cidr_mask: Create a custom reserved network segment from The IPAM address pool by entering a mask.
133
-
134
- > **NOTE:** Enter at least one of `Cidr` or **CidrMask.
135
- :param pulumi.Input[str] create_time: Instance creation time.
136
- :param pulumi.Input[str] ipam_pool_allocation_description: The description of the ipam pool alloctaion.
137
-
138
- It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
139
- :param pulumi.Input[str] ipam_pool_allocation_name: The name of the ipam pool allocation.
140
-
141
- It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
142
- :param pulumi.Input[str] ipam_pool_id: The ID of the IPAM Pool.
143
- :param pulumi.Input[str] region_id: When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.
144
- :param pulumi.Input[str] status: The status of the instance. Value:
145
- """
146
- if cidr is not None:
147
- pulumi.set(__self__, "cidr", cidr)
148
- if cidr_mask is not None:
149
- pulumi.set(__self__, "cidr_mask", cidr_mask)
150
- if create_time is not None:
151
- pulumi.set(__self__, "create_time", create_time)
152
- if ipam_pool_allocation_description is not None:
153
- pulumi.set(__self__, "ipam_pool_allocation_description", ipam_pool_allocation_description)
154
- if ipam_pool_allocation_name is not None:
155
- pulumi.set(__self__, "ipam_pool_allocation_name", ipam_pool_allocation_name)
156
- if ipam_pool_id is not None:
157
- pulumi.set(__self__, "ipam_pool_id", ipam_pool_id)
158
- if region_id is not None:
159
- pulumi.set(__self__, "region_id", region_id)
160
- if status is not None:
161
- pulumi.set(__self__, "status", status)
162
-
163
- @property
164
- @pulumi.getter
165
- def cidr(self) -> Optional[pulumi.Input[str]]:
166
- """
167
- The allocated address segment.
168
- """
169
- return pulumi.get(self, "cidr")
170
-
171
- @cidr.setter
172
- def cidr(self, value: Optional[pulumi.Input[str]]):
173
- pulumi.set(self, "cidr", value)
174
-
175
- @property
176
- @pulumi.getter(name="cidrMask")
177
- def cidr_mask(self) -> Optional[pulumi.Input[int]]:
178
- """
179
- Create a custom reserved network segment from The IPAM address pool by entering a mask.
180
-
181
- > **NOTE:** Enter at least one of `Cidr` or **CidrMask.
182
- """
183
- return pulumi.get(self, "cidr_mask")
184
-
185
- @cidr_mask.setter
186
- def cidr_mask(self, value: Optional[pulumi.Input[int]]):
187
- pulumi.set(self, "cidr_mask", value)
188
-
189
- @property
190
- @pulumi.getter(name="createTime")
191
- def create_time(self) -> Optional[pulumi.Input[str]]:
192
- """
193
- Instance creation time.
194
- """
195
- return pulumi.get(self, "create_time")
196
-
197
- @create_time.setter
198
- def create_time(self, value: Optional[pulumi.Input[str]]):
199
- pulumi.set(self, "create_time", value)
200
-
201
- @property
202
- @pulumi.getter(name="ipamPoolAllocationDescription")
203
- def ipam_pool_allocation_description(self) -> Optional[pulumi.Input[str]]:
204
- """
205
- The description of the ipam pool alloctaion.
206
-
207
- It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
208
- """
209
- return pulumi.get(self, "ipam_pool_allocation_description")
210
-
211
- @ipam_pool_allocation_description.setter
212
- def ipam_pool_allocation_description(self, value: Optional[pulumi.Input[str]]):
213
- pulumi.set(self, "ipam_pool_allocation_description", value)
214
-
215
- @property
216
- @pulumi.getter(name="ipamPoolAllocationName")
217
- def ipam_pool_allocation_name(self) -> Optional[pulumi.Input[str]]:
218
- """
219
- The name of the ipam pool allocation.
220
-
221
- It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
222
- """
223
- return pulumi.get(self, "ipam_pool_allocation_name")
224
-
225
- @ipam_pool_allocation_name.setter
226
- def ipam_pool_allocation_name(self, value: Optional[pulumi.Input[str]]):
227
- pulumi.set(self, "ipam_pool_allocation_name", value)
228
-
229
- @property
230
- @pulumi.getter(name="ipamPoolId")
231
- def ipam_pool_id(self) -> Optional[pulumi.Input[str]]:
232
- """
233
- The ID of the IPAM Pool.
234
- """
235
- return pulumi.get(self, "ipam_pool_id")
236
-
237
- @ipam_pool_id.setter
238
- def ipam_pool_id(self, value: Optional[pulumi.Input[str]]):
239
- pulumi.set(self, "ipam_pool_id", value)
240
-
241
- @property
242
- @pulumi.getter(name="regionId")
243
- def region_id(self) -> Optional[pulumi.Input[str]]:
244
- """
245
- When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.
246
- """
247
- return pulumi.get(self, "region_id")
248
-
249
- @region_id.setter
250
- def region_id(self, value: Optional[pulumi.Input[str]]):
251
- pulumi.set(self, "region_id", value)
252
-
253
- @property
254
- @pulumi.getter
255
- def status(self) -> Optional[pulumi.Input[str]]:
256
- """
257
- The status of the instance. Value:
258
- """
259
- return pulumi.get(self, "status")
260
-
261
- @status.setter
262
- def status(self, value: Optional[pulumi.Input[str]]):
263
- pulumi.set(self, "status", value)
264
-
265
-
266
- class IpamIpamPoolAllocation(pulumi.CustomResource):
267
- @overload
268
- def __init__(__self__,
269
- resource_name: str,
270
- opts: Optional[pulumi.ResourceOptions] = None,
271
- cidr: Optional[pulumi.Input[str]] = None,
272
- cidr_mask: Optional[pulumi.Input[int]] = None,
273
- ipam_pool_allocation_description: Optional[pulumi.Input[str]] = None,
274
- ipam_pool_allocation_name: Optional[pulumi.Input[str]] = None,
275
- ipam_pool_id: Optional[pulumi.Input[str]] = None,
276
- __props__=None):
277
- """
278
- Provides a Vpc Ipam Ipam Pool Allocation resource.
279
-
280
- Allocates or reserves a CIDR from an IPAM address pool.
281
-
282
- For information about Vpc Ipam Ipam Pool Allocation and how to use it, see [What is Ipam Pool Allocation](https://www.alibabacloud.com/help/en/).
283
-
284
- > **NOTE:** Available since v1.238.0.
285
-
286
- ## Example Usage
287
-
288
- Basic Usage
289
-
290
- ```python
291
- import pulumi
292
- import pulumi_alicloud as alicloud
293
-
294
- config = pulumi.Config()
295
- name = config.get("name")
296
- if name is None:
297
- name = "terraform-example"
298
- default_ipam = alicloud.vpc.IpamIpam("defaultIpam", operating_region_lists=["cn-hangzhou"])
299
- default_ipam_pool = alicloud.vpc.IpamIpamPool("defaultIpamPool",
300
- ipam_scope_id=default_ipam.private_default_scope_id,
301
- pool_region_id="cn-hangzhou")
302
- default_ipam_pool_cidr = alicloud.vpc.IpamIpamPoolCidr("defaultIpamPoolCidr",
303
- cidr="10.0.0.0/8",
304
- ipam_pool_id=default_ipam_pool.id)
305
- default = alicloud.vpc.IpamIpamPoolAllocation("default",
306
- ipam_pool_allocation_description="init alloc desc",
307
- ipam_pool_allocation_name=name,
308
- cidr="10.0.0.0/20",
309
- ipam_pool_id=default_ipam_pool_cidr.ipam_pool_id)
310
- ```
311
-
312
- ## Import
313
-
314
- Vpc Ipam Ipam Pool Allocation can be imported using the id, e.g.
315
-
316
- ```sh
317
- $ pulumi import alicloud:vpc/ipamIpamPoolAllocation:IpamIpamPoolAllocation example <id>
318
- ```
319
-
320
- :param str resource_name: The name of the resource.
321
- :param pulumi.ResourceOptions opts: Options for the resource.
322
- :param pulumi.Input[str] cidr: The allocated address segment.
323
- :param pulumi.Input[int] cidr_mask: Create a custom reserved network segment from The IPAM address pool by entering a mask.
324
-
325
- > **NOTE:** Enter at least one of `Cidr` or **CidrMask.
326
- :param pulumi.Input[str] ipam_pool_allocation_description: The description of the ipam pool alloctaion.
327
-
328
- It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
329
- :param pulumi.Input[str] ipam_pool_allocation_name: The name of the ipam pool allocation.
330
-
331
- It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
332
- :param pulumi.Input[str] ipam_pool_id: The ID of the IPAM Pool.
333
- """
334
- ...
335
- @overload
336
- def __init__(__self__,
337
- resource_name: str,
338
- args: IpamIpamPoolAllocationArgs,
339
- opts: Optional[pulumi.ResourceOptions] = None):
340
- """
341
- Provides a Vpc Ipam Ipam Pool Allocation resource.
342
-
343
- Allocates or reserves a CIDR from an IPAM address pool.
344
-
345
- For information about Vpc Ipam Ipam Pool Allocation and how to use it, see [What is Ipam Pool Allocation](https://www.alibabacloud.com/help/en/).
346
-
347
- > **NOTE:** Available since v1.238.0.
348
-
349
- ## Example Usage
350
-
351
- Basic Usage
352
-
353
- ```python
354
- import pulumi
355
- import pulumi_alicloud as alicloud
356
-
357
- config = pulumi.Config()
358
- name = config.get("name")
359
- if name is None:
360
- name = "terraform-example"
361
- default_ipam = alicloud.vpc.IpamIpam("defaultIpam", operating_region_lists=["cn-hangzhou"])
362
- default_ipam_pool = alicloud.vpc.IpamIpamPool("defaultIpamPool",
363
- ipam_scope_id=default_ipam.private_default_scope_id,
364
- pool_region_id="cn-hangzhou")
365
- default_ipam_pool_cidr = alicloud.vpc.IpamIpamPoolCidr("defaultIpamPoolCidr",
366
- cidr="10.0.0.0/8",
367
- ipam_pool_id=default_ipam_pool.id)
368
- default = alicloud.vpc.IpamIpamPoolAllocation("default",
369
- ipam_pool_allocation_description="init alloc desc",
370
- ipam_pool_allocation_name=name,
371
- cidr="10.0.0.0/20",
372
- ipam_pool_id=default_ipam_pool_cidr.ipam_pool_id)
373
- ```
374
-
375
- ## Import
376
-
377
- Vpc Ipam Ipam Pool Allocation can be imported using the id, e.g.
378
-
379
- ```sh
380
- $ pulumi import alicloud:vpc/ipamIpamPoolAllocation:IpamIpamPoolAllocation example <id>
381
- ```
382
-
383
- :param str resource_name: The name of the resource.
384
- :param IpamIpamPoolAllocationArgs args: The arguments to use to populate this resource's properties.
385
- :param pulumi.ResourceOptions opts: Options for the resource.
386
- """
387
- ...
388
- def __init__(__self__, resource_name: str, *args, **kwargs):
389
- resource_args, opts = _utilities.get_resource_args_opts(IpamIpamPoolAllocationArgs, pulumi.ResourceOptions, *args, **kwargs)
390
- if resource_args is not None:
391
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
392
- else:
393
- __self__._internal_init(resource_name, *args, **kwargs)
394
-
395
- def _internal_init(__self__,
396
- resource_name: str,
397
- opts: Optional[pulumi.ResourceOptions] = None,
398
- cidr: Optional[pulumi.Input[str]] = None,
399
- cidr_mask: Optional[pulumi.Input[int]] = None,
400
- ipam_pool_allocation_description: Optional[pulumi.Input[str]] = None,
401
- ipam_pool_allocation_name: Optional[pulumi.Input[str]] = None,
402
- ipam_pool_id: Optional[pulumi.Input[str]] = None,
403
- __props__=None):
404
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
405
- if not isinstance(opts, pulumi.ResourceOptions):
406
- raise TypeError('Expected resource options to be a ResourceOptions instance')
407
- if opts.id is None:
408
- if __props__ is not None:
409
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
410
- __props__ = IpamIpamPoolAllocationArgs.__new__(IpamIpamPoolAllocationArgs)
411
-
412
- __props__.__dict__["cidr"] = cidr
413
- __props__.__dict__["cidr_mask"] = cidr_mask
414
- __props__.__dict__["ipam_pool_allocation_description"] = ipam_pool_allocation_description
415
- __props__.__dict__["ipam_pool_allocation_name"] = ipam_pool_allocation_name
416
- if ipam_pool_id is None and not opts.urn:
417
- raise TypeError("Missing required property 'ipam_pool_id'")
418
- __props__.__dict__["ipam_pool_id"] = ipam_pool_id
419
- __props__.__dict__["create_time"] = None
420
- __props__.__dict__["region_id"] = None
421
- __props__.__dict__["status"] = None
422
- super(IpamIpamPoolAllocation, __self__).__init__(
423
- 'alicloud:vpc/ipamIpamPoolAllocation:IpamIpamPoolAllocation',
424
- resource_name,
425
- __props__,
426
- opts)
427
-
428
- @staticmethod
429
- def get(resource_name: str,
430
- id: pulumi.Input[str],
431
- opts: Optional[pulumi.ResourceOptions] = None,
432
- cidr: Optional[pulumi.Input[str]] = None,
433
- cidr_mask: Optional[pulumi.Input[int]] = None,
434
- create_time: Optional[pulumi.Input[str]] = None,
435
- ipam_pool_allocation_description: Optional[pulumi.Input[str]] = None,
436
- ipam_pool_allocation_name: Optional[pulumi.Input[str]] = None,
437
- ipam_pool_id: Optional[pulumi.Input[str]] = None,
438
- region_id: Optional[pulumi.Input[str]] = None,
439
- status: Optional[pulumi.Input[str]] = None) -> 'IpamIpamPoolAllocation':
440
- """
441
- Get an existing IpamIpamPoolAllocation resource's state with the given name, id, and optional extra
442
- properties used to qualify the lookup.
443
-
444
- :param str resource_name: The unique name of the resulting resource.
445
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
446
- :param pulumi.ResourceOptions opts: Options for the resource.
447
- :param pulumi.Input[str] cidr: The allocated address segment.
448
- :param pulumi.Input[int] cidr_mask: Create a custom reserved network segment from The IPAM address pool by entering a mask.
449
-
450
- > **NOTE:** Enter at least one of `Cidr` or **CidrMask.
451
- :param pulumi.Input[str] create_time: Instance creation time.
452
- :param pulumi.Input[str] ipam_pool_allocation_description: The description of the ipam pool alloctaion.
453
-
454
- It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
455
- :param pulumi.Input[str] ipam_pool_allocation_name: The name of the ipam pool allocation.
456
-
457
- It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
458
- :param pulumi.Input[str] ipam_pool_id: The ID of the IPAM Pool.
459
- :param pulumi.Input[str] region_id: When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.
460
- :param pulumi.Input[str] status: The status of the instance. Value:
461
- """
462
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
463
-
464
- __props__ = _IpamIpamPoolAllocationState.__new__(_IpamIpamPoolAllocationState)
465
-
466
- __props__.__dict__["cidr"] = cidr
467
- __props__.__dict__["cidr_mask"] = cidr_mask
468
- __props__.__dict__["create_time"] = create_time
469
- __props__.__dict__["ipam_pool_allocation_description"] = ipam_pool_allocation_description
470
- __props__.__dict__["ipam_pool_allocation_name"] = ipam_pool_allocation_name
471
- __props__.__dict__["ipam_pool_id"] = ipam_pool_id
472
- __props__.__dict__["region_id"] = region_id
473
- __props__.__dict__["status"] = status
474
- return IpamIpamPoolAllocation(resource_name, opts=opts, __props__=__props__)
475
-
476
- @property
477
- @pulumi.getter
478
- def cidr(self) -> pulumi.Output[str]:
479
- """
480
- The allocated address segment.
481
- """
482
- return pulumi.get(self, "cidr")
483
-
484
- @property
485
- @pulumi.getter(name="cidrMask")
486
- def cidr_mask(self) -> pulumi.Output[Optional[int]]:
487
- """
488
- Create a custom reserved network segment from The IPAM address pool by entering a mask.
489
-
490
- > **NOTE:** Enter at least one of `Cidr` or **CidrMask.
491
- """
492
- return pulumi.get(self, "cidr_mask")
493
-
494
- @property
495
- @pulumi.getter(name="createTime")
496
- def create_time(self) -> pulumi.Output[str]:
497
- """
498
- Instance creation time.
499
- """
500
- return pulumi.get(self, "create_time")
501
-
502
- @property
503
- @pulumi.getter(name="ipamPoolAllocationDescription")
504
- def ipam_pool_allocation_description(self) -> pulumi.Output[Optional[str]]:
505
- """
506
- The description of the ipam pool alloctaion.
507
-
508
- It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
509
- """
510
- return pulumi.get(self, "ipam_pool_allocation_description")
511
-
512
- @property
513
- @pulumi.getter(name="ipamPoolAllocationName")
514
- def ipam_pool_allocation_name(self) -> pulumi.Output[Optional[str]]:
515
- """
516
- The name of the ipam pool allocation.
517
-
518
- It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
519
- """
520
- return pulumi.get(self, "ipam_pool_allocation_name")
521
-
522
- @property
523
- @pulumi.getter(name="ipamPoolId")
524
- def ipam_pool_id(self) -> pulumi.Output[str]:
525
- """
526
- The ID of the IPAM Pool.
527
- """
528
- return pulumi.get(self, "ipam_pool_id")
529
-
530
- @property
531
- @pulumi.getter(name="regionId")
532
- def region_id(self) -> pulumi.Output[str]:
533
- """
534
- When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.
535
- """
536
- return pulumi.get(self, "region_id")
537
-
538
- @property
539
- @pulumi.getter
540
- def status(self) -> pulumi.Output[str]:
541
- """
542
- The status of the instance. Value:
543
- """
544
- return pulumi.get(self, "status")
545
-