pulumi-vsphere 4.16.0a1753339697__py3-none-any.whl → 4.16.0a1753398270__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 (86) hide show
  1. pulumi_vsphere/__init__.py +1 -1
  2. pulumi_vsphere/_inputs.py +1171 -1172
  3. pulumi_vsphere/compute_cluster.py +1127 -1128
  4. pulumi_vsphere/compute_cluster_host_group.py +52 -53
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
  8. pulumi_vsphere/compute_cluster_vm_group.py +52 -53
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
  10. pulumi_vsphere/config/__init__.py +1 -1
  11. pulumi_vsphere/config/__init__.pyi +1 -2
  12. pulumi_vsphere/config/vars.py +14 -15
  13. pulumi_vsphere/content_library.py +58 -59
  14. pulumi_vsphere/content_library_item.py +103 -104
  15. pulumi_vsphere/custom_attribute.py +35 -36
  16. pulumi_vsphere/datacenter.py +78 -79
  17. pulumi_vsphere/datastore_cluster.py +426 -427
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
  19. pulumi_vsphere/distributed_port_group.py +787 -788
  20. pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
  22. pulumi_vsphere/dpm_host_override.py +69 -70
  23. pulumi_vsphere/drs_vm_override.py +69 -70
  24. pulumi_vsphere/entity_permissions.py +38 -39
  25. pulumi_vsphere/file.py +120 -121
  26. pulumi_vsphere/folder.py +86 -87
  27. pulumi_vsphere/get_compute_cluster.py +17 -18
  28. pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
  29. pulumi_vsphere/get_content_library.py +9 -10
  30. pulumi_vsphere/get_content_library_item.py +21 -22
  31. pulumi_vsphere/get_custom_attribute.py +11 -12
  32. pulumi_vsphere/get_datacenter.py +11 -12
  33. pulumi_vsphere/get_datastore.py +21 -22
  34. pulumi_vsphere/get_datastore_cluster.py +17 -18
  35. pulumi_vsphere/get_datastore_stats.py +21 -22
  36. pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
  37. pulumi_vsphere/get_dynamic.py +21 -22
  38. pulumi_vsphere/get_folder.py +9 -10
  39. pulumi_vsphere/get_guest_os_customization.py +18 -19
  40. pulumi_vsphere/get_host.py +17 -18
  41. pulumi_vsphere/get_host_base_images.py +5 -6
  42. pulumi_vsphere/get_host_pci_device.py +29 -30
  43. pulumi_vsphere/get_host_thumbprint.py +21 -22
  44. pulumi_vsphere/get_host_vgpu_profile.py +16 -17
  45. pulumi_vsphere/get_license.py +19 -20
  46. pulumi_vsphere/get_network.py +42 -43
  47. pulumi_vsphere/get_ovf_vm_template.py +121 -122
  48. pulumi_vsphere/get_policy.py +9 -10
  49. pulumi_vsphere/get_resource_pool.py +21 -22
  50. pulumi_vsphere/get_role.py +25 -26
  51. pulumi_vsphere/get_tag.py +17 -18
  52. pulumi_vsphere/get_tag_category.py +15 -16
  53. pulumi_vsphere/get_vapp_container.py +15 -16
  54. pulumi_vsphere/get_virtual_machine.py +272 -273
  55. pulumi_vsphere/get_vmfs_disks.py +23 -24
  56. pulumi_vsphere/guest_os_customization.py +73 -74
  57. pulumi_vsphere/ha_vm_override.py +256 -257
  58. pulumi_vsphere/host.py +242 -243
  59. pulumi_vsphere/host_port_group.py +310 -311
  60. pulumi_vsphere/host_virtual_switch.py +358 -359
  61. pulumi_vsphere/license.py +71 -72
  62. pulumi_vsphere/nas_datastore.py +260 -261
  63. pulumi_vsphere/offline_software_depot.py +20 -21
  64. pulumi_vsphere/outputs.py +981 -982
  65. pulumi_vsphere/provider.py +120 -121
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +256 -257
  68. pulumi_vsphere/role.py +44 -45
  69. pulumi_vsphere/storage_drs_vm_override.py +86 -87
  70. pulumi_vsphere/supervisor.py +206 -207
  71. pulumi_vsphere/tag.py +52 -53
  72. pulumi_vsphere/tag_category.py +69 -70
  73. pulumi_vsphere/vapp_container.py +256 -257
  74. pulumi_vsphere/vapp_entity.py +171 -172
  75. pulumi_vsphere/virtual_disk.py +120 -121
  76. pulumi_vsphere/virtual_machine.py +1293 -1294
  77. pulumi_vsphere/virtual_machine_class.py +103 -104
  78. pulumi_vsphere/virtual_machine_snapshot.py +120 -121
  79. pulumi_vsphere/vm_storage_policy.py +38 -39
  80. pulumi_vsphere/vmfs_datastore.py +183 -184
  81. pulumi_vsphere/vnic.py +143 -144
  82. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/METADATA +1 -1
  83. pulumi_vsphere-4.16.0a1753398270.dist-info/RECORD +87 -0
  84. pulumi_vsphere-4.16.0a1753339697.dist-info/RECORD +0 -87
  85. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/WHEEL +0 -0
  86. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,26 +19,26 @@ __all__ = ['ComputeClusterVmAffinityRuleArgs', 'ComputeClusterVmAffinityRule']
20
19
  @pulumi.input_type
21
20
  class ComputeClusterVmAffinityRuleArgs:
22
21
  def __init__(__self__, *,
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):
22
+ compute_cluster_id: pulumi.Input[_builtins.str],
23
+ virtual_machine_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
24
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
25
+ mandatory: Optional[pulumi.Input[_builtins.bool]] = None,
26
+ name: Optional[pulumi.Input[_builtins.str]] = None):
28
27
  """
29
28
  The set of arguments for constructing a ComputeClusterVmAffinityRule resource.
30
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
29
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
31
30
  ID of the cluster to put the group in. Forces a new
32
31
  resource if changed.
33
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
32
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
34
33
  on the same host together.
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
34
+ :param pulumi.Input[_builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
35
+ :param pulumi.Input[_builtins.bool] mandatory: When this value is `true`, prevents any virtual
37
36
  machine operations that may violate this rule. Default: `false`.
38
37
 
39
38
  > **NOTE:** The namespace for rule names on this resource (defined by the
40
39
  `name` argument) is shared with all rules in the cluster - consider
41
40
  this when naming your rules.
42
- :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
41
+ :param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the cluster.
43
42
  """
44
43
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
45
44
  pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
@@ -50,9 +49,9 @@ class ComputeClusterVmAffinityRuleArgs:
50
49
  if name is not None:
51
50
  pulumi.set(__self__, "name", name)
52
51
 
53
- @property
52
+ @_builtins.property
54
53
  @pulumi.getter(name="computeClusterId")
55
- def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
54
+ def compute_cluster_id(self) -> pulumi.Input[_builtins.str]:
56
55
  """
57
56
  The managed object reference
58
57
  ID of the cluster to put the group in. Forces a new
@@ -61,12 +60,12 @@ class ComputeClusterVmAffinityRuleArgs:
61
60
  return pulumi.get(self, "compute_cluster_id")
62
61
 
63
62
  @compute_cluster_id.setter
64
- def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
63
+ def compute_cluster_id(self, value: pulumi.Input[_builtins.str]):
65
64
  pulumi.set(self, "compute_cluster_id", value)
66
65
 
67
- @property
66
+ @_builtins.property
68
67
  @pulumi.getter(name="virtualMachineIds")
69
- def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
68
+ def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
70
69
  """
71
70
  The UUIDs of the virtual machines to run
72
71
  on the same host together.
@@ -74,24 +73,24 @@ class ComputeClusterVmAffinityRuleArgs:
74
73
  return pulumi.get(self, "virtual_machine_ids")
75
74
 
76
75
  @virtual_machine_ids.setter
77
- def virtual_machine_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
76
+ def virtual_machine_ids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
78
77
  pulumi.set(self, "virtual_machine_ids", value)
79
78
 
80
- @property
79
+ @_builtins.property
81
80
  @pulumi.getter
82
- def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
81
+ def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
83
82
  """
84
83
  Enable this rule in the cluster. Default: `true`.
85
84
  """
86
85
  return pulumi.get(self, "enabled")
87
86
 
88
87
  @enabled.setter
89
- def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
88
+ def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
90
89
  pulumi.set(self, "enabled", value)
91
90
 
92
- @property
91
+ @_builtins.property
93
92
  @pulumi.getter
94
- def mandatory(self) -> Optional[pulumi.Input[builtins.bool]]:
93
+ def mandatory(self) -> Optional[pulumi.Input[_builtins.bool]]:
95
94
  """
96
95
  When this value is `true`, prevents any virtual
97
96
  machine operations that may violate this rule. Default: `false`.
@@ -103,44 +102,44 @@ class ComputeClusterVmAffinityRuleArgs:
103
102
  return pulumi.get(self, "mandatory")
104
103
 
105
104
  @mandatory.setter
106
- def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
105
+ def mandatory(self, value: Optional[pulumi.Input[_builtins.bool]]):
107
106
  pulumi.set(self, "mandatory", value)
108
107
 
109
- @property
108
+ @_builtins.property
110
109
  @pulumi.getter
111
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
110
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
112
111
  """
113
112
  The name of the rule. This must be unique in the cluster.
114
113
  """
115
114
  return pulumi.get(self, "name")
116
115
 
117
116
  @name.setter
118
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
117
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
119
118
  pulumi.set(self, "name", value)
120
119
 
121
120
 
122
121
  @pulumi.input_type
123
122
  class _ComputeClusterVmAffinityRuleState:
124
123
  def __init__(__self__, *,
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):
124
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
125
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
126
+ mandatory: Optional[pulumi.Input[_builtins.bool]] = None,
127
+ name: Optional[pulumi.Input[_builtins.str]] = None,
128
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
130
129
  """
131
130
  Input properties used for looking up and filtering ComputeClusterVmAffinityRule resources.
132
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
131
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
133
132
  ID of the cluster to put the group in. Forces a new
134
133
  resource if changed.
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
134
+ :param pulumi.Input[_builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
135
+ :param pulumi.Input[_builtins.bool] mandatory: When this value is `true`, prevents any virtual
137
136
  machine operations that may violate this rule. Default: `false`.
138
137
 
139
138
  > **NOTE:** The namespace for rule names on this resource (defined by the
140
139
  `name` argument) is shared with all rules in the cluster - consider
141
140
  this when naming your rules.
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
141
+ :param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the cluster.
142
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
144
143
  on the same host together.
145
144
  """
146
145
  if compute_cluster_id is not None:
@@ -154,9 +153,9 @@ class _ComputeClusterVmAffinityRuleState:
154
153
  if virtual_machine_ids is not None:
155
154
  pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
156
155
 
157
- @property
156
+ @_builtins.property
158
157
  @pulumi.getter(name="computeClusterId")
159
- def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
158
+ def compute_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
160
159
  """
161
160
  The managed object reference
162
161
  ID of the cluster to put the group in. Forces a new
@@ -165,24 +164,24 @@ class _ComputeClusterVmAffinityRuleState:
165
164
  return pulumi.get(self, "compute_cluster_id")
166
165
 
167
166
  @compute_cluster_id.setter
168
- def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
167
+ def compute_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
169
168
  pulumi.set(self, "compute_cluster_id", value)
170
169
 
171
- @property
170
+ @_builtins.property
172
171
  @pulumi.getter
173
- def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
172
+ def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
174
173
  """
175
174
  Enable this rule in the cluster. Default: `true`.
176
175
  """
177
176
  return pulumi.get(self, "enabled")
178
177
 
179
178
  @enabled.setter
180
- def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
179
+ def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
181
180
  pulumi.set(self, "enabled", value)
182
181
 
183
- @property
182
+ @_builtins.property
184
183
  @pulumi.getter
185
- def mandatory(self) -> Optional[pulumi.Input[builtins.bool]]:
184
+ def mandatory(self) -> Optional[pulumi.Input[_builtins.bool]]:
186
185
  """
187
186
  When this value is `true`, prevents any virtual
188
187
  machine operations that may violate this rule. Default: `false`.
@@ -194,24 +193,24 @@ class _ComputeClusterVmAffinityRuleState:
194
193
  return pulumi.get(self, "mandatory")
195
194
 
196
195
  @mandatory.setter
197
- def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
196
+ def mandatory(self, value: Optional[pulumi.Input[_builtins.bool]]):
198
197
  pulumi.set(self, "mandatory", value)
199
198
 
200
- @property
199
+ @_builtins.property
201
200
  @pulumi.getter
202
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
201
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
203
202
  """
204
203
  The name of the rule. This must be unique in the cluster.
205
204
  """
206
205
  return pulumi.get(self, "name")
207
206
 
208
207
  @name.setter
209
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
208
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
210
209
  pulumi.set(self, "name", value)
211
210
 
212
- @property
211
+ @_builtins.property
213
212
  @pulumi.getter(name="virtualMachineIds")
214
- def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
213
+ def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
215
214
  """
216
215
  The UUIDs of the virtual machines to run
217
216
  on the same host together.
@@ -219,7 +218,7 @@ class _ComputeClusterVmAffinityRuleState:
219
218
  return pulumi.get(self, "virtual_machine_ids")
220
219
 
221
220
  @virtual_machine_ids.setter
222
- def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
221
+ def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
223
222
  pulumi.set(self, "virtual_machine_ids", value)
224
223
 
225
224
 
@@ -229,11 +228,11 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
229
228
  def __init__(__self__,
230
229
  resource_name: str,
231
230
  opts: Optional[pulumi.ResourceOptions] = None,
232
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
233
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
234
- mandatory: Optional[pulumi.Input[builtins.bool]] = None,
235
- name: Optional[pulumi.Input[builtins.str]] = None,
236
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.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,
237
236
  __props__=None):
238
237
  """
239
238
  The `ComputeClusterVmAffinityRule` resource can be used to
@@ -342,18 +341,18 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
342
341
 
343
342
  :param str resource_name: The name of the resource.
344
343
  :param pulumi.ResourceOptions opts: Options for the resource.
345
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
344
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
346
345
  ID of the cluster to put the group in. Forces a new
347
346
  resource if changed.
348
- :param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
349
- :param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
347
+ :param pulumi.Input[_builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
348
+ :param pulumi.Input[_builtins.bool] mandatory: When this value is `true`, prevents any virtual
350
349
  machine operations that may violate this rule. Default: `false`.
351
350
 
352
351
  > **NOTE:** The namespace for rule names on this resource (defined by the
353
352
  `name` argument) is shared with all rules in the cluster - consider
354
353
  this when naming your rules.
355
- :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
356
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
354
+ :param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the cluster.
355
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
357
356
  on the same host together.
358
357
  """
359
358
  ...
@@ -482,11 +481,11 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
482
481
  def _internal_init(__self__,
483
482
  resource_name: str,
484
483
  opts: Optional[pulumi.ResourceOptions] = None,
485
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
486
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
487
- mandatory: Optional[pulumi.Input[builtins.bool]] = None,
488
- name: Optional[pulumi.Input[builtins.str]] = None,
489
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
484
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
485
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
486
+ mandatory: Optional[pulumi.Input[_builtins.bool]] = None,
487
+ name: Optional[pulumi.Input[_builtins.str]] = None,
488
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
490
489
  __props__=None):
491
490
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
492
491
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -515,11 +514,11 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
515
514
  def get(resource_name: str,
516
515
  id: pulumi.Input[str],
517
516
  opts: Optional[pulumi.ResourceOptions] = None,
518
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
519
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
520
- mandatory: Optional[pulumi.Input[builtins.bool]] = None,
521
- name: Optional[pulumi.Input[builtins.str]] = None,
522
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'ComputeClusterVmAffinityRule':
517
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
518
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
519
+ mandatory: Optional[pulumi.Input[_builtins.bool]] = None,
520
+ name: Optional[pulumi.Input[_builtins.str]] = None,
521
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None) -> 'ComputeClusterVmAffinityRule':
523
522
  """
524
523
  Get an existing ComputeClusterVmAffinityRule resource's state with the given name, id, and optional extra
525
524
  properties used to qualify the lookup.
@@ -527,18 +526,18 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
527
526
  :param str resource_name: The unique name of the resulting resource.
528
527
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
529
528
  :param pulumi.ResourceOptions opts: Options for the resource.
530
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
529
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
531
530
  ID of the cluster to put the group in. Forces a new
532
531
  resource if changed.
533
- :param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
534
- :param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
532
+ :param pulumi.Input[_builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
533
+ :param pulumi.Input[_builtins.bool] mandatory: When this value is `true`, prevents any virtual
535
534
  machine operations that may violate this rule. Default: `false`.
536
535
 
537
536
  > **NOTE:** The namespace for rule names on this resource (defined by the
538
537
  `name` argument) is shared with all rules in the cluster - consider
539
538
  this when naming your rules.
540
- :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
541
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
539
+ :param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the cluster.
540
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
542
541
  on the same host together.
543
542
  """
544
543
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -552,9 +551,9 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
552
551
  __props__.__dict__["virtual_machine_ids"] = virtual_machine_ids
553
552
  return ComputeClusterVmAffinityRule(resource_name, opts=opts, __props__=__props__)
554
553
 
555
- @property
554
+ @_builtins.property
556
555
  @pulumi.getter(name="computeClusterId")
557
- def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
556
+ def compute_cluster_id(self) -> pulumi.Output[_builtins.str]:
558
557
  """
559
558
  The managed object reference
560
559
  ID of the cluster to put the group in. Forces a new
@@ -562,17 +561,17 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
562
561
  """
563
562
  return pulumi.get(self, "compute_cluster_id")
564
563
 
565
- @property
564
+ @_builtins.property
566
565
  @pulumi.getter
567
- def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
566
+ def enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
568
567
  """
569
568
  Enable this rule in the cluster. Default: `true`.
570
569
  """
571
570
  return pulumi.get(self, "enabled")
572
571
 
573
- @property
572
+ @_builtins.property
574
573
  @pulumi.getter
575
- def mandatory(self) -> pulumi.Output[Optional[builtins.bool]]:
574
+ def mandatory(self) -> pulumi.Output[Optional[_builtins.bool]]:
576
575
  """
577
576
  When this value is `true`, prevents any virtual
578
577
  machine operations that may violate this rule. Default: `false`.
@@ -583,17 +582,17 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
583
582
  """
584
583
  return pulumi.get(self, "mandatory")
585
584
 
586
- @property
585
+ @_builtins.property
587
586
  @pulumi.getter
588
- def name(self) -> pulumi.Output[builtins.str]:
587
+ def name(self) -> pulumi.Output[_builtins.str]:
589
588
  """
590
589
  The name of the rule. This must be unique in the cluster.
591
590
  """
592
591
  return pulumi.get(self, "name")
593
592
 
594
- @property
593
+ @_builtins.property
595
594
  @pulumi.getter(name="virtualMachineIds")
596
- def virtual_machine_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
595
+ def virtual_machine_ids(self) -> pulumi.Output[Sequence[_builtins.str]]:
597
596
  """
598
597
  The UUIDs of the virtual machines to run
599
598
  on the same host together.