pulumi-vsphere 4.13.1a1738773193__py3-none-any.whl → 4.13.2a1744198820__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-vsphere might be problematic. Click here for more details.

Files changed (87) hide show
  1. pulumi_vsphere/__init__.py +1 -0
  2. pulumi_vsphere/_inputs.py +969 -968
  3. pulumi_vsphere/_utilities.py +8 -4
  4. pulumi_vsphere/compute_cluster.py +918 -917
  5. pulumi_vsphere/compute_cluster_host_group.py +43 -42
  6. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +71 -70
  7. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +71 -70
  8. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +85 -84
  9. pulumi_vsphere/compute_cluster_vm_group.py +43 -42
  10. pulumi_vsphere/compute_cluster_vm_host_rule.py +99 -98
  11. pulumi_vsphere/config/__init__.py +1 -0
  12. pulumi_vsphere/config/__init__.pyi +1 -0
  13. pulumi_vsphere/config/vars.py +1 -0
  14. pulumi_vsphere/content_library.py +43 -42
  15. pulumi_vsphere/content_library_item.py +85 -84
  16. pulumi_vsphere/custom_attribute.py +29 -28
  17. pulumi_vsphere/datacenter.py +64 -63
  18. pulumi_vsphere/datastore_cluster.py +351 -350
  19. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +71 -70
  20. pulumi_vsphere/distributed_port_group.py +645 -644
  21. pulumi_vsphere/distributed_virtual_switch.py +1282 -1281
  22. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +57 -56
  23. pulumi_vsphere/dpm_host_override.py +57 -56
  24. pulumi_vsphere/drs_vm_override.py +57 -56
  25. pulumi_vsphere/entity_permissions.py +29 -28
  26. pulumi_vsphere/file.py +95 -94
  27. pulumi_vsphere/folder.py +71 -70
  28. pulumi_vsphere/get_compute_cluster.py +13 -12
  29. pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
  30. pulumi_vsphere/get_content_library.py +7 -6
  31. pulumi_vsphere/get_content_library_item.py +17 -16
  32. pulumi_vsphere/get_custom_attribute.py +8 -7
  33. pulumi_vsphere/get_datacenter.py +8 -7
  34. pulumi_vsphere/get_datastore.py +17 -16
  35. pulumi_vsphere/get_datastore_cluster.py +13 -12
  36. pulumi_vsphere/get_datastore_stats.py +17 -16
  37. pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
  38. pulumi_vsphere/get_dynamic.py +17 -16
  39. pulumi_vsphere/get_folder.py +7 -6
  40. pulumi_vsphere/get_guest_os_customization.py +11 -10
  41. pulumi_vsphere/get_host.py +13 -12
  42. pulumi_vsphere/get_host_base_images.py +3 -2
  43. pulumi_vsphere/get_host_pci_device.py +23 -22
  44. pulumi_vsphere/get_host_thumbprint.py +17 -16
  45. pulumi_vsphere/get_host_vgpu_profile.py +12 -11
  46. pulumi_vsphere/get_license.py +12 -11
  47. pulumi_vsphere/get_network.py +18 -17
  48. pulumi_vsphere/get_ovf_vm_template.py +89 -88
  49. pulumi_vsphere/get_policy.py +7 -6
  50. pulumi_vsphere/get_resource_pool.py +12 -11
  51. pulumi_vsphere/get_role.py +20 -19
  52. pulumi_vsphere/get_tag.py +13 -12
  53. pulumi_vsphere/get_tag_category.py +10 -9
  54. pulumi_vsphere/get_vapp_container.py +12 -11
  55. pulumi_vsphere/get_virtual_machine.py +204 -203
  56. pulumi_vsphere/get_vmfs_disks.py +18 -17
  57. pulumi_vsphere/guest_os_customization.py +57 -56
  58. pulumi_vsphere/ha_vm_override.py +211 -210
  59. pulumi_vsphere/host.py +197 -196
  60. pulumi_vsphere/host_port_group.py +253 -252
  61. pulumi_vsphere/host_virtual_switch.py +295 -294
  62. pulumi_vsphere/license.py +57 -56
  63. pulumi_vsphere/nas_datastore.py +211 -210
  64. pulumi_vsphere/offline_software_depot.py +15 -14
  65. pulumi_vsphere/outputs.py +721 -720
  66. pulumi_vsphere/provider.py +98 -97
  67. pulumi_vsphere/pulumi-plugin.json +1 -1
  68. pulumi_vsphere/resource_pool.py +211 -210
  69. pulumi_vsphere/role.py +36 -35
  70. pulumi_vsphere/storage_drs_vm_override.py +71 -70
  71. pulumi_vsphere/supervisor.py +155 -154
  72. pulumi_vsphere/tag.py +43 -42
  73. pulumi_vsphere/tag_category.py +57 -56
  74. pulumi_vsphere/vapp_container.py +211 -210
  75. pulumi_vsphere/vapp_entity.py +141 -140
  76. pulumi_vsphere/virtual_disk.py +99 -98
  77. pulumi_vsphere/virtual_machine.py +1040 -1039
  78. pulumi_vsphere/virtual_machine_class.py +85 -84
  79. pulumi_vsphere/virtual_machine_snapshot.py +99 -98
  80. pulumi_vsphere/vm_storage_policy.py +29 -28
  81. pulumi_vsphere/vmfs_datastore.py +148 -147
  82. pulumi_vsphere/vnic.py +113 -112
  83. {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/METADATA +2 -2
  84. pulumi_vsphere-4.13.2a1744198820.dist-info/RECORD +87 -0
  85. {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/WHEEL +1 -1
  86. pulumi_vsphere-4.13.1a1738773193.dist-info/RECORD +0 -87
  87. {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -19,26 +20,26 @@ __all__ = ['ComputeClusterVmAntiAffinityRuleArgs', 'ComputeClusterVmAntiAffinity
19
20
  @pulumi.input_type
20
21
  class ComputeClusterVmAntiAffinityRuleArgs:
21
22
  def __init__(__self__, *,
22
- compute_cluster_id: pulumi.Input[str],
23
- virtual_machine_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
24
- enabled: Optional[pulumi.Input[bool]] = None,
25
- mandatory: Optional[pulumi.Input[bool]] = None,
26
- name: Optional[pulumi.Input[str]] = None):
23
+ compute_cluster_id: pulumi.Input[builtins.str],
24
+ virtual_machine_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
25
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
26
+ mandatory: Optional[pulumi.Input[builtins.bool]] = None,
27
+ name: Optional[pulumi.Input[builtins.str]] = None):
27
28
  """
28
29
  The set of arguments for constructing a ComputeClusterVmAntiAffinityRule resource.
29
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
30
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
30
31
  ID of the cluster to put the group in. Forces a new
31
32
  resource if changed.
32
- :param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
33
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
33
34
  on hosts different from each other.
34
- :param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
35
- :param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
35
+ :param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
36
+ :param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
36
37
  machine operations that may violate this rule. Default: `false`.
37
38
 
38
39
  > **NOTE:** The namespace for rule names on this resource (defined by the
39
40
  `name` argument) is shared with all rules in the cluster - consider
40
41
  this when naming your rules.
41
- :param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
42
+ :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
42
43
  """
43
44
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
44
45
  pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
@@ -51,7 +52,7 @@ class ComputeClusterVmAntiAffinityRuleArgs:
51
52
 
52
53
  @property
53
54
  @pulumi.getter(name="computeClusterId")
54
- def compute_cluster_id(self) -> pulumi.Input[str]:
55
+ def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
55
56
  """
56
57
  The managed object reference
57
58
  ID of the cluster to put the group in. Forces a new
@@ -60,12 +61,12 @@ class ComputeClusterVmAntiAffinityRuleArgs:
60
61
  return pulumi.get(self, "compute_cluster_id")
61
62
 
62
63
  @compute_cluster_id.setter
63
- def compute_cluster_id(self, value: pulumi.Input[str]):
64
+ def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
64
65
  pulumi.set(self, "compute_cluster_id", value)
65
66
 
66
67
  @property
67
68
  @pulumi.getter(name="virtualMachineIds")
68
- def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
69
+ def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
69
70
  """
70
71
  The UUIDs of the virtual machines to run
71
72
  on hosts different from each other.
@@ -73,24 +74,24 @@ class ComputeClusterVmAntiAffinityRuleArgs:
73
74
  return pulumi.get(self, "virtual_machine_ids")
74
75
 
75
76
  @virtual_machine_ids.setter
76
- def virtual_machine_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
77
+ def virtual_machine_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
77
78
  pulumi.set(self, "virtual_machine_ids", value)
78
79
 
79
80
  @property
80
81
  @pulumi.getter
81
- def enabled(self) -> Optional[pulumi.Input[bool]]:
82
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
82
83
  """
83
84
  Enable this rule in the cluster. Default: `true`.
84
85
  """
85
86
  return pulumi.get(self, "enabled")
86
87
 
87
88
  @enabled.setter
88
- def enabled(self, value: Optional[pulumi.Input[bool]]):
89
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
89
90
  pulumi.set(self, "enabled", value)
90
91
 
91
92
  @property
92
93
  @pulumi.getter
93
- def mandatory(self) -> Optional[pulumi.Input[bool]]:
94
+ def mandatory(self) -> Optional[pulumi.Input[builtins.bool]]:
94
95
  """
95
96
  When this value is `true`, prevents any virtual
96
97
  machine operations that may violate this rule. Default: `false`.
@@ -102,44 +103,44 @@ class ComputeClusterVmAntiAffinityRuleArgs:
102
103
  return pulumi.get(self, "mandatory")
103
104
 
104
105
  @mandatory.setter
105
- def mandatory(self, value: Optional[pulumi.Input[bool]]):
106
+ def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
106
107
  pulumi.set(self, "mandatory", value)
107
108
 
108
109
  @property
109
110
  @pulumi.getter
110
- def name(self) -> Optional[pulumi.Input[str]]:
111
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
111
112
  """
112
113
  The name of the rule. This must be unique in the cluster.
113
114
  """
114
115
  return pulumi.get(self, "name")
115
116
 
116
117
  @name.setter
117
- def name(self, value: Optional[pulumi.Input[str]]):
118
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
118
119
  pulumi.set(self, "name", value)
119
120
 
120
121
 
121
122
  @pulumi.input_type
122
123
  class _ComputeClusterVmAntiAffinityRuleState:
123
124
  def __init__(__self__, *,
124
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
125
- enabled: Optional[pulumi.Input[bool]] = None,
126
- mandatory: Optional[pulumi.Input[bool]] = None,
127
- name: Optional[pulumi.Input[str]] = None,
128
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
125
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
126
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
127
+ mandatory: Optional[pulumi.Input[builtins.bool]] = None,
128
+ name: Optional[pulumi.Input[builtins.str]] = None,
129
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
129
130
  """
130
131
  Input properties used for looking up and filtering ComputeClusterVmAntiAffinityRule resources.
131
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
132
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
132
133
  ID of the cluster to put the group in. Forces a new
133
134
  resource if changed.
134
- :param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
135
- :param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
135
+ :param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
136
+ :param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
136
137
  machine operations that may violate this rule. Default: `false`.
137
138
 
138
139
  > **NOTE:** The namespace for rule names on this resource (defined by the
139
140
  `name` argument) is shared with all rules in the cluster - consider
140
141
  this when naming your rules.
141
- :param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
142
- :param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
142
+ :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
143
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
143
144
  on hosts different from each other.
144
145
  """
145
146
  if compute_cluster_id is not None:
@@ -155,7 +156,7 @@ class _ComputeClusterVmAntiAffinityRuleState:
155
156
 
156
157
  @property
157
158
  @pulumi.getter(name="computeClusterId")
158
- def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
159
+ def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
159
160
  """
160
161
  The managed object reference
161
162
  ID of the cluster to put the group in. Forces a new
@@ -164,24 +165,24 @@ class _ComputeClusterVmAntiAffinityRuleState:
164
165
  return pulumi.get(self, "compute_cluster_id")
165
166
 
166
167
  @compute_cluster_id.setter
167
- def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
168
+ def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
168
169
  pulumi.set(self, "compute_cluster_id", value)
169
170
 
170
171
  @property
171
172
  @pulumi.getter
172
- def enabled(self) -> Optional[pulumi.Input[bool]]:
173
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
173
174
  """
174
175
  Enable this rule in the cluster. Default: `true`.
175
176
  """
176
177
  return pulumi.get(self, "enabled")
177
178
 
178
179
  @enabled.setter
179
- def enabled(self, value: Optional[pulumi.Input[bool]]):
180
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
180
181
  pulumi.set(self, "enabled", value)
181
182
 
182
183
  @property
183
184
  @pulumi.getter
184
- def mandatory(self) -> Optional[pulumi.Input[bool]]:
185
+ def mandatory(self) -> Optional[pulumi.Input[builtins.bool]]:
185
186
  """
186
187
  When this value is `true`, prevents any virtual
187
188
  machine operations that may violate this rule. Default: `false`.
@@ -193,24 +194,24 @@ class _ComputeClusterVmAntiAffinityRuleState:
193
194
  return pulumi.get(self, "mandatory")
194
195
 
195
196
  @mandatory.setter
196
- def mandatory(self, value: Optional[pulumi.Input[bool]]):
197
+ def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
197
198
  pulumi.set(self, "mandatory", value)
198
199
 
199
200
  @property
200
201
  @pulumi.getter
201
- def name(self) -> Optional[pulumi.Input[str]]:
202
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
202
203
  """
203
204
  The name of the rule. This must be unique in the cluster.
204
205
  """
205
206
  return pulumi.get(self, "name")
206
207
 
207
208
  @name.setter
208
- def name(self, value: Optional[pulumi.Input[str]]):
209
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
209
210
  pulumi.set(self, "name", value)
210
211
 
211
212
  @property
212
213
  @pulumi.getter(name="virtualMachineIds")
213
- def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
214
+ def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
214
215
  """
215
216
  The UUIDs of the virtual machines to run
216
217
  on hosts different from each other.
@@ -218,7 +219,7 @@ class _ComputeClusterVmAntiAffinityRuleState:
218
219
  return pulumi.get(self, "virtual_machine_ids")
219
220
 
220
221
  @virtual_machine_ids.setter
221
- def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
222
+ def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
222
223
  pulumi.set(self, "virtual_machine_ids", value)
223
224
 
224
225
 
@@ -227,11 +228,11 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
227
228
  def __init__(__self__,
228
229
  resource_name: str,
229
230
  opts: Optional[pulumi.ResourceOptions] = None,
230
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
231
- enabled: Optional[pulumi.Input[bool]] = None,
232
- mandatory: Optional[pulumi.Input[bool]] = None,
233
- name: Optional[pulumi.Input[str]] = None,
234
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
231
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
232
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
233
+ mandatory: Optional[pulumi.Input[builtins.bool]] = None,
234
+ name: Optional[pulumi.Input[builtins.str]] = None,
235
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
235
236
  __props__=None):
236
237
  """
237
238
  ## Import
@@ -254,18 +255,18 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
254
255
 
255
256
  :param str resource_name: The name of the resource.
256
257
  :param pulumi.ResourceOptions opts: Options for the resource.
257
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
258
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
258
259
  ID of the cluster to put the group in. Forces a new
259
260
  resource if changed.
260
- :param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
261
- :param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
261
+ :param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
262
+ :param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
262
263
  machine operations that may violate this rule. Default: `false`.
263
264
 
264
265
  > **NOTE:** The namespace for rule names on this resource (defined by the
265
266
  `name` argument) is shared with all rules in the cluster - consider
266
267
  this when naming your rules.
267
- :param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
268
- :param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
268
+ :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
269
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
269
270
  on hosts different from each other.
270
271
  """
271
272
  ...
@@ -308,11 +309,11 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
308
309
  def _internal_init(__self__,
309
310
  resource_name: str,
310
311
  opts: Optional[pulumi.ResourceOptions] = None,
311
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
312
- enabled: Optional[pulumi.Input[bool]] = None,
313
- mandatory: Optional[pulumi.Input[bool]] = None,
314
- name: Optional[pulumi.Input[str]] = None,
315
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
312
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
313
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
314
+ mandatory: Optional[pulumi.Input[builtins.bool]] = None,
315
+ name: Optional[pulumi.Input[builtins.str]] = None,
316
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
316
317
  __props__=None):
317
318
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
318
319
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -341,11 +342,11 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
341
342
  def get(resource_name: str,
342
343
  id: pulumi.Input[str],
343
344
  opts: Optional[pulumi.ResourceOptions] = None,
344
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
345
- enabled: Optional[pulumi.Input[bool]] = None,
346
- mandatory: Optional[pulumi.Input[bool]] = None,
347
- name: Optional[pulumi.Input[str]] = None,
348
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ComputeClusterVmAntiAffinityRule':
345
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
346
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
347
+ mandatory: Optional[pulumi.Input[builtins.bool]] = None,
348
+ name: Optional[pulumi.Input[builtins.str]] = None,
349
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'ComputeClusterVmAntiAffinityRule':
349
350
  """
350
351
  Get an existing ComputeClusterVmAntiAffinityRule resource's state with the given name, id, and optional extra
351
352
  properties used to qualify the lookup.
@@ -353,18 +354,18 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
353
354
  :param str resource_name: The unique name of the resulting resource.
354
355
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
355
356
  :param pulumi.ResourceOptions opts: Options for the resource.
356
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
357
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
357
358
  ID of the cluster to put the group in. Forces a new
358
359
  resource if changed.
359
- :param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
360
- :param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
360
+ :param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
361
+ :param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
361
362
  machine operations that may violate this rule. Default: `false`.
362
363
 
363
364
  > **NOTE:** The namespace for rule names on this resource (defined by the
364
365
  `name` argument) is shared with all rules in the cluster - consider
365
366
  this when naming your rules.
366
- :param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
367
- :param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
367
+ :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
368
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
368
369
  on hosts different from each other.
369
370
  """
370
371
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -380,7 +381,7 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
380
381
 
381
382
  @property
382
383
  @pulumi.getter(name="computeClusterId")
383
- def compute_cluster_id(self) -> pulumi.Output[str]:
384
+ def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
384
385
  """
385
386
  The managed object reference
386
387
  ID of the cluster to put the group in. Forces a new
@@ -390,7 +391,7 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
390
391
 
391
392
  @property
392
393
  @pulumi.getter
393
- def enabled(self) -> pulumi.Output[Optional[bool]]:
394
+ def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
394
395
  """
395
396
  Enable this rule in the cluster. Default: `true`.
396
397
  """
@@ -398,7 +399,7 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
398
399
 
399
400
  @property
400
401
  @pulumi.getter
401
- def mandatory(self) -> pulumi.Output[Optional[bool]]:
402
+ def mandatory(self) -> pulumi.Output[Optional[builtins.bool]]:
402
403
  """
403
404
  When this value is `true`, prevents any virtual
404
405
  machine operations that may violate this rule. Default: `false`.
@@ -411,7 +412,7 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
411
412
 
412
413
  @property
413
414
  @pulumi.getter
414
- def name(self) -> pulumi.Output[str]:
415
+ def name(self) -> pulumi.Output[builtins.str]:
415
416
  """
416
417
  The name of the rule. This must be unique in the cluster.
417
418
  """
@@ -419,7 +420,7 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
419
420
 
420
421
  @property
421
422
  @pulumi.getter(name="virtualMachineIds")
422
- def virtual_machine_ids(self) -> pulumi.Output[Sequence[str]]:
423
+ def virtual_machine_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
423
424
  """
424
425
  The UUIDs of the virtual machines to run
425
426
  on hosts different from each other.