pulumi-alicloud 3.84.0a1757017465__py3-none-any.whl → 3.85.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.

Files changed (54) hide show
  1. pulumi_alicloud/__init__.py +64 -0
  2. pulumi_alicloud/amqp/get_instances.py +49 -20
  3. pulumi_alicloud/amqp/outputs.py +20 -20
  4. pulumi_alicloud/amqp/virtual_host.py +46 -20
  5. pulumi_alicloud/cloudsso/__init__.py +1 -0
  6. pulumi_alicloud/cloudsso/delegate_account.py +218 -0
  7. pulumi_alicloud/cs/node_pool.py +7 -0
  8. pulumi_alicloud/ddos/bgp_ip.py +57 -48
  9. pulumi_alicloud/ddos/ddos_bgp_instance.py +246 -106
  10. pulumi_alicloud/dms/__init__.py +1 -0
  11. pulumi_alicloud/dms/enterprise_workspace.py +354 -0
  12. pulumi_alicloud/dns/ddos_bgp_instance.py +246 -106
  13. pulumi_alicloud/eflo/node.py +54 -7
  14. pulumi_alicloud/esa/__init__.py +3 -0
  15. pulumi_alicloud/esa/kv_account.py +145 -0
  16. pulumi_alicloud/esa/routine_related_record.py +226 -0
  17. pulumi_alicloud/esa/url_observation.py +352 -0
  18. pulumi_alicloud/fc/get_service.py +2 -2
  19. pulumi_alicloud/hologram/instance.py +35 -0
  20. pulumi_alicloud/kms/instance.py +47 -0
  21. pulumi_alicloud/log/oss_export.py +6 -0
  22. pulumi_alicloud/message/service_subscription.py +48 -1
  23. pulumi_alicloud/mongodb/sharding_instance.py +338 -0
  24. pulumi_alicloud/nlb/server_group.py +28 -21
  25. pulumi_alicloud/oss/bucket.py +56 -0
  26. pulumi_alicloud/privatelink/vpc_endpoint.py +21 -7
  27. pulumi_alicloud/pulumi-plugin.json +1 -1
  28. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  29. pulumi_alicloud/resourcemanager/delegated_administrator.py +22 -50
  30. pulumi_alicloud/resourcemanager/folder.py +106 -29
  31. pulumi_alicloud/resourcemanager/get_accounts.py +35 -18
  32. pulumi_alicloud/resourcemanager/message_contact.py +572 -0
  33. pulumi_alicloud/resourcemanager/outputs.py +31 -20
  34. pulumi_alicloud/resourcemanager/resource_directory.py +137 -46
  35. pulumi_alicloud/resourcemanager/shared_resource.py +81 -45
  36. pulumi_alicloud/resourcemanager/shared_target.py +60 -24
  37. pulumi_alicloud/sls/__init__.py +4 -0
  38. pulumi_alicloud/sls/_inputs.py +128 -0
  39. pulumi_alicloud/sls/get_logtail_configs.py +395 -0
  40. pulumi_alicloud/sls/get_machine_groups.py +229 -0
  41. pulumi_alicloud/sls/logtail_config.py +692 -0
  42. pulumi_alicloud/sls/machine_group.py +502 -0
  43. pulumi_alicloud/sls/outputs.py +172 -0
  44. pulumi_alicloud/vpc/_inputs.py +87 -54
  45. pulumi_alicloud/vpc/dhcp_options_set.py +97 -58
  46. pulumi_alicloud/vpc/flow_log.py +25 -25
  47. pulumi_alicloud/vpc/ha_vip_attachment.py +41 -60
  48. pulumi_alicloud/vpc/ha_vipv2.py +100 -88
  49. pulumi_alicloud/vpc/network_acl.py +34 -23
  50. pulumi_alicloud/vpc/outputs.py +58 -36
  51. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0.dist-info}/METADATA +1 -1
  52. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0.dist-info}/RECORD +54 -44
  53. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0.dist-info}/WHEEL +0 -0
  54. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,502 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
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__ = ['MachineGroupArgs', 'MachineGroup']
20
+
21
+ @pulumi.input_type
22
+ class MachineGroupArgs:
23
+ def __init__(__self__, *,
24
+ group_name: pulumi.Input[_builtins.str],
25
+ machine_identify_type: pulumi.Input[_builtins.str],
26
+ machine_lists: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
27
+ project_name: pulumi.Input[_builtins.str],
28
+ group_attribute: Optional[pulumi.Input['MachineGroupGroupAttributeArgs']] = None,
29
+ group_type: Optional[pulumi.Input[_builtins.str]] = None):
30
+ """
31
+ The set of arguments for constructing a MachineGroup resource.
32
+ :param pulumi.Input[_builtins.str] group_name: Machine Group name
33
+ :param pulumi.Input[_builtins.str] machine_identify_type: Machine identification type.
34
+ - ip: ip address Machine Group.
35
+ - userdefined: user-defined identity Machine Group.
36
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] machine_lists: The identification information of the machine group.
37
+ - If machineidentifiytype is configured to ip, enter the ip address of the server.
38
+ - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
39
+ :param pulumi.Input[_builtins.str] project_name: Project name
40
+ :param pulumi.Input['MachineGroupGroupAttributeArgs'] group_attribute: Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `group_attribute` below.
41
+ :param pulumi.Input[_builtins.str] group_type: Machine group type, optional value is empty.
42
+ """
43
+ pulumi.set(__self__, "group_name", group_name)
44
+ pulumi.set(__self__, "machine_identify_type", machine_identify_type)
45
+ pulumi.set(__self__, "machine_lists", machine_lists)
46
+ pulumi.set(__self__, "project_name", project_name)
47
+ if group_attribute is not None:
48
+ pulumi.set(__self__, "group_attribute", group_attribute)
49
+ if group_type is not None:
50
+ pulumi.set(__self__, "group_type", group_type)
51
+
52
+ @_builtins.property
53
+ @pulumi.getter(name="groupName")
54
+ def group_name(self) -> pulumi.Input[_builtins.str]:
55
+ """
56
+ Machine Group name
57
+ """
58
+ return pulumi.get(self, "group_name")
59
+
60
+ @group_name.setter
61
+ def group_name(self, value: pulumi.Input[_builtins.str]):
62
+ pulumi.set(self, "group_name", value)
63
+
64
+ @_builtins.property
65
+ @pulumi.getter(name="machineIdentifyType")
66
+ def machine_identify_type(self) -> pulumi.Input[_builtins.str]:
67
+ """
68
+ Machine identification type.
69
+ - ip: ip address Machine Group.
70
+ - userdefined: user-defined identity Machine Group.
71
+ """
72
+ return pulumi.get(self, "machine_identify_type")
73
+
74
+ @machine_identify_type.setter
75
+ def machine_identify_type(self, value: pulumi.Input[_builtins.str]):
76
+ pulumi.set(self, "machine_identify_type", value)
77
+
78
+ @_builtins.property
79
+ @pulumi.getter(name="machineLists")
80
+ def machine_lists(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
81
+ """
82
+ The identification information of the machine group.
83
+ - If machineidentifiytype is configured to ip, enter the ip address of the server.
84
+ - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
85
+ """
86
+ return pulumi.get(self, "machine_lists")
87
+
88
+ @machine_lists.setter
89
+ def machine_lists(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
90
+ pulumi.set(self, "machine_lists", value)
91
+
92
+ @_builtins.property
93
+ @pulumi.getter(name="projectName")
94
+ def project_name(self) -> pulumi.Input[_builtins.str]:
95
+ """
96
+ Project name
97
+ """
98
+ return pulumi.get(self, "project_name")
99
+
100
+ @project_name.setter
101
+ def project_name(self, value: pulumi.Input[_builtins.str]):
102
+ pulumi.set(self, "project_name", value)
103
+
104
+ @_builtins.property
105
+ @pulumi.getter(name="groupAttribute")
106
+ def group_attribute(self) -> Optional[pulumi.Input['MachineGroupGroupAttributeArgs']]:
107
+ """
108
+ Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `group_attribute` below.
109
+ """
110
+ return pulumi.get(self, "group_attribute")
111
+
112
+ @group_attribute.setter
113
+ def group_attribute(self, value: Optional[pulumi.Input['MachineGroupGroupAttributeArgs']]):
114
+ pulumi.set(self, "group_attribute", value)
115
+
116
+ @_builtins.property
117
+ @pulumi.getter(name="groupType")
118
+ def group_type(self) -> Optional[pulumi.Input[_builtins.str]]:
119
+ """
120
+ Machine group type, optional value is empty.
121
+ """
122
+ return pulumi.get(self, "group_type")
123
+
124
+ @group_type.setter
125
+ def group_type(self, value: Optional[pulumi.Input[_builtins.str]]):
126
+ pulumi.set(self, "group_type", value)
127
+
128
+
129
+ @pulumi.input_type
130
+ class _MachineGroupState:
131
+ def __init__(__self__, *,
132
+ group_attribute: Optional[pulumi.Input['MachineGroupGroupAttributeArgs']] = None,
133
+ group_name: Optional[pulumi.Input[_builtins.str]] = None,
134
+ group_type: Optional[pulumi.Input[_builtins.str]] = None,
135
+ machine_identify_type: Optional[pulumi.Input[_builtins.str]] = None,
136
+ machine_lists: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
137
+ project_name: Optional[pulumi.Input[_builtins.str]] = None):
138
+ """
139
+ Input properties used for looking up and filtering MachineGroup resources.
140
+ :param pulumi.Input['MachineGroupGroupAttributeArgs'] group_attribute: Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `group_attribute` below.
141
+ :param pulumi.Input[_builtins.str] group_name: Machine Group name
142
+ :param pulumi.Input[_builtins.str] group_type: Machine group type, optional value is empty.
143
+ :param pulumi.Input[_builtins.str] machine_identify_type: Machine identification type.
144
+ - ip: ip address Machine Group.
145
+ - userdefined: user-defined identity Machine Group.
146
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] machine_lists: The identification information of the machine group.
147
+ - If machineidentifiytype is configured to ip, enter the ip address of the server.
148
+ - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
149
+ :param pulumi.Input[_builtins.str] project_name: Project name
150
+ """
151
+ if group_attribute is not None:
152
+ pulumi.set(__self__, "group_attribute", group_attribute)
153
+ if group_name is not None:
154
+ pulumi.set(__self__, "group_name", group_name)
155
+ if group_type is not None:
156
+ pulumi.set(__self__, "group_type", group_type)
157
+ if machine_identify_type is not None:
158
+ pulumi.set(__self__, "machine_identify_type", machine_identify_type)
159
+ if machine_lists is not None:
160
+ pulumi.set(__self__, "machine_lists", machine_lists)
161
+ if project_name is not None:
162
+ pulumi.set(__self__, "project_name", project_name)
163
+
164
+ @_builtins.property
165
+ @pulumi.getter(name="groupAttribute")
166
+ def group_attribute(self) -> Optional[pulumi.Input['MachineGroupGroupAttributeArgs']]:
167
+ """
168
+ Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `group_attribute` below.
169
+ """
170
+ return pulumi.get(self, "group_attribute")
171
+
172
+ @group_attribute.setter
173
+ def group_attribute(self, value: Optional[pulumi.Input['MachineGroupGroupAttributeArgs']]):
174
+ pulumi.set(self, "group_attribute", value)
175
+
176
+ @_builtins.property
177
+ @pulumi.getter(name="groupName")
178
+ def group_name(self) -> Optional[pulumi.Input[_builtins.str]]:
179
+ """
180
+ Machine Group name
181
+ """
182
+ return pulumi.get(self, "group_name")
183
+
184
+ @group_name.setter
185
+ def group_name(self, value: Optional[pulumi.Input[_builtins.str]]):
186
+ pulumi.set(self, "group_name", value)
187
+
188
+ @_builtins.property
189
+ @pulumi.getter(name="groupType")
190
+ def group_type(self) -> Optional[pulumi.Input[_builtins.str]]:
191
+ """
192
+ Machine group type, optional value is empty.
193
+ """
194
+ return pulumi.get(self, "group_type")
195
+
196
+ @group_type.setter
197
+ def group_type(self, value: Optional[pulumi.Input[_builtins.str]]):
198
+ pulumi.set(self, "group_type", value)
199
+
200
+ @_builtins.property
201
+ @pulumi.getter(name="machineIdentifyType")
202
+ def machine_identify_type(self) -> Optional[pulumi.Input[_builtins.str]]:
203
+ """
204
+ Machine identification type.
205
+ - ip: ip address Machine Group.
206
+ - userdefined: user-defined identity Machine Group.
207
+ """
208
+ return pulumi.get(self, "machine_identify_type")
209
+
210
+ @machine_identify_type.setter
211
+ def machine_identify_type(self, value: Optional[pulumi.Input[_builtins.str]]):
212
+ pulumi.set(self, "machine_identify_type", value)
213
+
214
+ @_builtins.property
215
+ @pulumi.getter(name="machineLists")
216
+ def machine_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
217
+ """
218
+ The identification information of the machine group.
219
+ - If machineidentifiytype is configured to ip, enter the ip address of the server.
220
+ - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
221
+ """
222
+ return pulumi.get(self, "machine_lists")
223
+
224
+ @machine_lists.setter
225
+ def machine_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
226
+ pulumi.set(self, "machine_lists", value)
227
+
228
+ @_builtins.property
229
+ @pulumi.getter(name="projectName")
230
+ def project_name(self) -> Optional[pulumi.Input[_builtins.str]]:
231
+ """
232
+ Project name
233
+ """
234
+ return pulumi.get(self, "project_name")
235
+
236
+ @project_name.setter
237
+ def project_name(self, value: Optional[pulumi.Input[_builtins.str]]):
238
+ pulumi.set(self, "project_name", value)
239
+
240
+
241
+ @pulumi.type_token("alicloud:sls/machineGroup:MachineGroup")
242
+ class MachineGroup(pulumi.CustomResource):
243
+ @overload
244
+ def __init__(__self__,
245
+ resource_name: str,
246
+ opts: Optional[pulumi.ResourceOptions] = None,
247
+ group_attribute: Optional[pulumi.Input[Union['MachineGroupGroupAttributeArgs', 'MachineGroupGroupAttributeArgsDict']]] = None,
248
+ group_name: Optional[pulumi.Input[_builtins.str]] = None,
249
+ group_type: Optional[pulumi.Input[_builtins.str]] = None,
250
+ machine_identify_type: Optional[pulumi.Input[_builtins.str]] = None,
251
+ machine_lists: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
252
+ project_name: Optional[pulumi.Input[_builtins.str]] = None,
253
+ __props__=None):
254
+ """
255
+ Provides a Log Service (SLS) Machine Group resource.
256
+
257
+ For information about Log Service (SLS) Machine Group and how to use it, see [What is Machine Group](https://next.api.alibabacloud.com/document/Sls/2020-12-30/CreateMachineGroup).
258
+
259
+ > **NOTE:** Available since v1.259.0.
260
+
261
+ ## Example Usage
262
+
263
+ Basic Usage
264
+
265
+ ```python
266
+ import pulumi
267
+ import pulumi_alicloud as alicloud
268
+
269
+ config = pulumi.Config()
270
+ name = config.get("name")
271
+ if name is None:
272
+ name = "terraform-example"
273
+ project_name = config.get("projectName")
274
+ if project_name is None:
275
+ project_name = "project-for-machine-group-terraform"
276
+ defaulty_jqrue = alicloud.log.Project("defaultyJqrue",
277
+ description="for terraform example",
278
+ name=project_name)
279
+ default = alicloud.sls.MachineGroup("default",
280
+ group_name="group1",
281
+ project_name=project_name,
282
+ machine_identify_type="ip",
283
+ group_attribute={
284
+ "group_topic": "example",
285
+ "external_name": "example",
286
+ },
287
+ machine_lists=["192.168.1.1"])
288
+ ```
289
+
290
+ ## Import
291
+
292
+ Log Service (SLS) Machine Group can be imported using the id, e.g.
293
+
294
+ ```sh
295
+ $ pulumi import alicloud:sls/machineGroup:MachineGroup example <project_name>:<group_name>
296
+ ```
297
+
298
+ :param str resource_name: The name of the resource.
299
+ :param pulumi.ResourceOptions opts: Options for the resource.
300
+ :param pulumi.Input[Union['MachineGroupGroupAttributeArgs', 'MachineGroupGroupAttributeArgsDict']] group_attribute: Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `group_attribute` below.
301
+ :param pulumi.Input[_builtins.str] group_name: Machine Group name
302
+ :param pulumi.Input[_builtins.str] group_type: Machine group type, optional value is empty.
303
+ :param pulumi.Input[_builtins.str] machine_identify_type: Machine identification type.
304
+ - ip: ip address Machine Group.
305
+ - userdefined: user-defined identity Machine Group.
306
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] machine_lists: The identification information of the machine group.
307
+ - If machineidentifiytype is configured to ip, enter the ip address of the server.
308
+ - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
309
+ :param pulumi.Input[_builtins.str] project_name: Project name
310
+ """
311
+ ...
312
+ @overload
313
+ def __init__(__self__,
314
+ resource_name: str,
315
+ args: MachineGroupArgs,
316
+ opts: Optional[pulumi.ResourceOptions] = None):
317
+ """
318
+ Provides a Log Service (SLS) Machine Group resource.
319
+
320
+ For information about Log Service (SLS) Machine Group and how to use it, see [What is Machine Group](https://next.api.alibabacloud.com/document/Sls/2020-12-30/CreateMachineGroup).
321
+
322
+ > **NOTE:** Available since v1.259.0.
323
+
324
+ ## Example Usage
325
+
326
+ Basic Usage
327
+
328
+ ```python
329
+ import pulumi
330
+ import pulumi_alicloud as alicloud
331
+
332
+ config = pulumi.Config()
333
+ name = config.get("name")
334
+ if name is None:
335
+ name = "terraform-example"
336
+ project_name = config.get("projectName")
337
+ if project_name is None:
338
+ project_name = "project-for-machine-group-terraform"
339
+ defaulty_jqrue = alicloud.log.Project("defaultyJqrue",
340
+ description="for terraform example",
341
+ name=project_name)
342
+ default = alicloud.sls.MachineGroup("default",
343
+ group_name="group1",
344
+ project_name=project_name,
345
+ machine_identify_type="ip",
346
+ group_attribute={
347
+ "group_topic": "example",
348
+ "external_name": "example",
349
+ },
350
+ machine_lists=["192.168.1.1"])
351
+ ```
352
+
353
+ ## Import
354
+
355
+ Log Service (SLS) Machine Group can be imported using the id, e.g.
356
+
357
+ ```sh
358
+ $ pulumi import alicloud:sls/machineGroup:MachineGroup example <project_name>:<group_name>
359
+ ```
360
+
361
+ :param str resource_name: The name of the resource.
362
+ :param MachineGroupArgs args: The arguments to use to populate this resource's properties.
363
+ :param pulumi.ResourceOptions opts: Options for the resource.
364
+ """
365
+ ...
366
+ def __init__(__self__, resource_name: str, *args, **kwargs):
367
+ resource_args, opts = _utilities.get_resource_args_opts(MachineGroupArgs, pulumi.ResourceOptions, *args, **kwargs)
368
+ if resource_args is not None:
369
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
370
+ else:
371
+ __self__._internal_init(resource_name, *args, **kwargs)
372
+
373
+ def _internal_init(__self__,
374
+ resource_name: str,
375
+ opts: Optional[pulumi.ResourceOptions] = None,
376
+ group_attribute: Optional[pulumi.Input[Union['MachineGroupGroupAttributeArgs', 'MachineGroupGroupAttributeArgsDict']]] = None,
377
+ group_name: Optional[pulumi.Input[_builtins.str]] = None,
378
+ group_type: Optional[pulumi.Input[_builtins.str]] = None,
379
+ machine_identify_type: Optional[pulumi.Input[_builtins.str]] = None,
380
+ machine_lists: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
381
+ project_name: Optional[pulumi.Input[_builtins.str]] = None,
382
+ __props__=None):
383
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
384
+ if not isinstance(opts, pulumi.ResourceOptions):
385
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
386
+ if opts.id is None:
387
+ if __props__ is not None:
388
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
389
+ __props__ = MachineGroupArgs.__new__(MachineGroupArgs)
390
+
391
+ __props__.__dict__["group_attribute"] = group_attribute
392
+ if group_name is None and not opts.urn:
393
+ raise TypeError("Missing required property 'group_name'")
394
+ __props__.__dict__["group_name"] = group_name
395
+ __props__.__dict__["group_type"] = group_type
396
+ if machine_identify_type is None and not opts.urn:
397
+ raise TypeError("Missing required property 'machine_identify_type'")
398
+ __props__.__dict__["machine_identify_type"] = machine_identify_type
399
+ if machine_lists is None and not opts.urn:
400
+ raise TypeError("Missing required property 'machine_lists'")
401
+ __props__.__dict__["machine_lists"] = machine_lists
402
+ if project_name is None and not opts.urn:
403
+ raise TypeError("Missing required property 'project_name'")
404
+ __props__.__dict__["project_name"] = project_name
405
+ super(MachineGroup, __self__).__init__(
406
+ 'alicloud:sls/machineGroup:MachineGroup',
407
+ resource_name,
408
+ __props__,
409
+ opts)
410
+
411
+ @staticmethod
412
+ def get(resource_name: str,
413
+ id: pulumi.Input[str],
414
+ opts: Optional[pulumi.ResourceOptions] = None,
415
+ group_attribute: Optional[pulumi.Input[Union['MachineGroupGroupAttributeArgs', 'MachineGroupGroupAttributeArgsDict']]] = None,
416
+ group_name: Optional[pulumi.Input[_builtins.str]] = None,
417
+ group_type: Optional[pulumi.Input[_builtins.str]] = None,
418
+ machine_identify_type: Optional[pulumi.Input[_builtins.str]] = None,
419
+ machine_lists: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
420
+ project_name: Optional[pulumi.Input[_builtins.str]] = None) -> 'MachineGroup':
421
+ """
422
+ Get an existing MachineGroup resource's state with the given name, id, and optional extra
423
+ properties used to qualify the lookup.
424
+
425
+ :param str resource_name: The unique name of the resulting resource.
426
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
427
+ :param pulumi.ResourceOptions opts: Options for the resource.
428
+ :param pulumi.Input[Union['MachineGroupGroupAttributeArgs', 'MachineGroupGroupAttributeArgsDict']] group_attribute: Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `group_attribute` below.
429
+ :param pulumi.Input[_builtins.str] group_name: Machine Group name
430
+ :param pulumi.Input[_builtins.str] group_type: Machine group type, optional value is empty.
431
+ :param pulumi.Input[_builtins.str] machine_identify_type: Machine identification type.
432
+ - ip: ip address Machine Group.
433
+ - userdefined: user-defined identity Machine Group.
434
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] machine_lists: The identification information of the machine group.
435
+ - If machineidentifiytype is configured to ip, enter the ip address of the server.
436
+ - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
437
+ :param pulumi.Input[_builtins.str] project_name: Project name
438
+ """
439
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
440
+
441
+ __props__ = _MachineGroupState.__new__(_MachineGroupState)
442
+
443
+ __props__.__dict__["group_attribute"] = group_attribute
444
+ __props__.__dict__["group_name"] = group_name
445
+ __props__.__dict__["group_type"] = group_type
446
+ __props__.__dict__["machine_identify_type"] = machine_identify_type
447
+ __props__.__dict__["machine_lists"] = machine_lists
448
+ __props__.__dict__["project_name"] = project_name
449
+ return MachineGroup(resource_name, opts=opts, __props__=__props__)
450
+
451
+ @_builtins.property
452
+ @pulumi.getter(name="groupAttribute")
453
+ def group_attribute(self) -> pulumi.Output[Optional['outputs.MachineGroupGroupAttribute']]:
454
+ """
455
+ Properties of machine groups. For details, please refer to the groupAttribute parameter description in the following table. See `group_attribute` below.
456
+ """
457
+ return pulumi.get(self, "group_attribute")
458
+
459
+ @_builtins.property
460
+ @pulumi.getter(name="groupName")
461
+ def group_name(self) -> pulumi.Output[_builtins.str]:
462
+ """
463
+ Machine Group name
464
+ """
465
+ return pulumi.get(self, "group_name")
466
+
467
+ @_builtins.property
468
+ @pulumi.getter(name="groupType")
469
+ def group_type(self) -> pulumi.Output[Optional[_builtins.str]]:
470
+ """
471
+ Machine group type, optional value is empty.
472
+ """
473
+ return pulumi.get(self, "group_type")
474
+
475
+ @_builtins.property
476
+ @pulumi.getter(name="machineIdentifyType")
477
+ def machine_identify_type(self) -> pulumi.Output[_builtins.str]:
478
+ """
479
+ Machine identification type.
480
+ - ip: ip address Machine Group.
481
+ - userdefined: user-defined identity Machine Group.
482
+ """
483
+ return pulumi.get(self, "machine_identify_type")
484
+
485
+ @_builtins.property
486
+ @pulumi.getter(name="machineLists")
487
+ def machine_lists(self) -> pulumi.Output[Sequence[_builtins.str]]:
488
+ """
489
+ The identification information of the machine group.
490
+ - If machineidentifiytype is configured to ip, enter the ip address of the server.
491
+ - If machineidentifiytype is configured to userdefined, enter a custom identifier here.
492
+ """
493
+ return pulumi.get(self, "machine_lists")
494
+
495
+ @_builtins.property
496
+ @pulumi.getter(name="projectName")
497
+ def project_name(self) -> pulumi.Output[_builtins.str]:
498
+ """
499
+ Project name
500
+ """
501
+ return pulumi.get(self, "project_name")
502
+