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