pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__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 -0
  2. pulumi_vsphere/_inputs.py +969 -968
  3. pulumi_vsphere/compute_cluster.py +919 -917
  4. pulumi_vsphere/compute_cluster_host_group.py +44 -42
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
  8. pulumi_vsphere/compute_cluster_vm_group.py +44 -42
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -98
  10. pulumi_vsphere/config/__init__.py +1 -0
  11. pulumi_vsphere/config/__init__.pyi +1 -0
  12. pulumi_vsphere/config/vars.py +1 -0
  13. pulumi_vsphere/content_library.py +44 -42
  14. pulumi_vsphere/content_library_item.py +86 -84
  15. pulumi_vsphere/custom_attribute.py +30 -28
  16. pulumi_vsphere/datacenter.py +65 -63
  17. pulumi_vsphere/datastore_cluster.py +352 -350
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
  19. pulumi_vsphere/distributed_port_group.py +646 -644
  20. pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
  22. pulumi_vsphere/dpm_host_override.py +58 -56
  23. pulumi_vsphere/drs_vm_override.py +58 -56
  24. pulumi_vsphere/entity_permissions.py +30 -28
  25. pulumi_vsphere/file.py +96 -94
  26. pulumi_vsphere/folder.py +72 -70
  27. pulumi_vsphere/get_compute_cluster.py +13 -12
  28. pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
  29. pulumi_vsphere/get_content_library.py +7 -6
  30. pulumi_vsphere/get_content_library_item.py +17 -16
  31. pulumi_vsphere/get_custom_attribute.py +8 -7
  32. pulumi_vsphere/get_datacenter.py +8 -7
  33. pulumi_vsphere/get_datastore.py +17 -16
  34. pulumi_vsphere/get_datastore_cluster.py +13 -12
  35. pulumi_vsphere/get_datastore_stats.py +17 -16
  36. pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
  37. pulumi_vsphere/get_dynamic.py +17 -16
  38. pulumi_vsphere/get_folder.py +7 -6
  39. pulumi_vsphere/get_guest_os_customization.py +11 -10
  40. pulumi_vsphere/get_host.py +13 -12
  41. pulumi_vsphere/get_host_base_images.py +3 -2
  42. pulumi_vsphere/get_host_pci_device.py +23 -22
  43. pulumi_vsphere/get_host_thumbprint.py +17 -16
  44. pulumi_vsphere/get_host_vgpu_profile.py +12 -11
  45. pulumi_vsphere/get_license.py +12 -11
  46. pulumi_vsphere/get_network.py +18 -17
  47. pulumi_vsphere/get_ovf_vm_template.py +89 -88
  48. pulumi_vsphere/get_policy.py +7 -6
  49. pulumi_vsphere/get_resource_pool.py +12 -11
  50. pulumi_vsphere/get_role.py +20 -19
  51. pulumi_vsphere/get_tag.py +13 -12
  52. pulumi_vsphere/get_tag_category.py +10 -9
  53. pulumi_vsphere/get_vapp_container.py +12 -11
  54. pulumi_vsphere/get_virtual_machine.py +204 -203
  55. pulumi_vsphere/get_vmfs_disks.py +18 -17
  56. pulumi_vsphere/guest_os_customization.py +58 -56
  57. pulumi_vsphere/ha_vm_override.py +212 -210
  58. pulumi_vsphere/host.py +198 -196
  59. pulumi_vsphere/host_port_group.py +254 -252
  60. pulumi_vsphere/host_virtual_switch.py +296 -294
  61. pulumi_vsphere/license.py +58 -56
  62. pulumi_vsphere/nas_datastore.py +212 -210
  63. pulumi_vsphere/offline_software_depot.py +16 -14
  64. pulumi_vsphere/outputs.py +721 -720
  65. pulumi_vsphere/provider.py +119 -97
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +212 -210
  68. pulumi_vsphere/role.py +37 -35
  69. pulumi_vsphere/storage_drs_vm_override.py +72 -70
  70. pulumi_vsphere/supervisor.py +156 -154
  71. pulumi_vsphere/tag.py +44 -42
  72. pulumi_vsphere/tag_category.py +58 -56
  73. pulumi_vsphere/vapp_container.py +212 -210
  74. pulumi_vsphere/vapp_entity.py +142 -140
  75. pulumi_vsphere/virtual_disk.py +100 -98
  76. pulumi_vsphere/virtual_machine.py +1041 -1039
  77. pulumi_vsphere/virtual_machine_class.py +86 -84
  78. pulumi_vsphere/virtual_machine_snapshot.py +100 -98
  79. pulumi_vsphere/vm_storage_policy.py +30 -28
  80. pulumi_vsphere/vmfs_datastore.py +149 -147
  81. pulumi_vsphere/vnic.py +114 -112
  82. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
  83. pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
  84. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/WHEEL +1 -1
  85. pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
  86. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.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,25 +20,25 @@ __all__ = ['DrsVmOverrideArgs', 'DrsVmOverride']
19
20
  @pulumi.input_type
20
21
  class DrsVmOverrideArgs:
21
22
  def __init__(__self__, *,
22
- compute_cluster_id: pulumi.Input[str],
23
- virtual_machine_id: pulumi.Input[str],
24
- drs_automation_level: Optional[pulumi.Input[str]] = None,
25
- drs_enabled: Optional[pulumi.Input[bool]] = None):
23
+ compute_cluster_id: pulumi.Input[builtins.str],
24
+ virtual_machine_id: pulumi.Input[builtins.str],
25
+ drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
26
+ drs_enabled: Optional[pulumi.Input[builtins.bool]] = None):
26
27
  """
27
28
  The set of arguments for constructing a DrsVmOverride resource.
28
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
29
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
29
30
  ID of the cluster to put the override in. Forces a new
30
31
  resource if changed.
31
- :param pulumi.Input[str] virtual_machine_id: The UUID of the virtual machine to create
32
+ :param pulumi.Input[builtins.str] virtual_machine_id: The UUID of the virtual machine to create
32
33
  the override for. Forces a new resource if changed.
33
- :param pulumi.Input[str] drs_automation_level: Overrides the automation level for this virtual
34
+ :param pulumi.Input[builtins.str] drs_automation_level: Overrides the automation level for this virtual
34
35
  machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
35
36
  `fullyAutomated`. Default: `manual`.
36
37
 
37
38
  > **NOTE:** Using this resource _always_ implies an override, even if one of
38
39
  `drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
39
40
  for both options.
40
- :param pulumi.Input[bool] drs_enabled: Overrides the default DRS setting for this virtual
41
+ :param pulumi.Input[builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
41
42
  machine. Can be either `true` or `false`. Default: `false`.
42
43
  """
43
44
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -49,7 +50,7 @@ class DrsVmOverrideArgs:
49
50
 
50
51
  @property
51
52
  @pulumi.getter(name="computeClusterId")
52
- def compute_cluster_id(self) -> pulumi.Input[str]:
53
+ def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
53
54
  """
54
55
  The managed object reference
55
56
  ID of the cluster to put the override in. Forces a new
@@ -58,12 +59,12 @@ class DrsVmOverrideArgs:
58
59
  return pulumi.get(self, "compute_cluster_id")
59
60
 
60
61
  @compute_cluster_id.setter
61
- def compute_cluster_id(self, value: pulumi.Input[str]):
62
+ def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
62
63
  pulumi.set(self, "compute_cluster_id", value)
63
64
 
64
65
  @property
65
66
  @pulumi.getter(name="virtualMachineId")
66
- def virtual_machine_id(self) -> pulumi.Input[str]:
67
+ def virtual_machine_id(self) -> pulumi.Input[builtins.str]:
67
68
  """
68
69
  The UUID of the virtual machine to create
69
70
  the override for. Forces a new resource if changed.
@@ -71,12 +72,12 @@ class DrsVmOverrideArgs:
71
72
  return pulumi.get(self, "virtual_machine_id")
72
73
 
73
74
  @virtual_machine_id.setter
74
- def virtual_machine_id(self, value: pulumi.Input[str]):
75
+ def virtual_machine_id(self, value: pulumi.Input[builtins.str]):
75
76
  pulumi.set(self, "virtual_machine_id", value)
76
77
 
77
78
  @property
78
79
  @pulumi.getter(name="drsAutomationLevel")
79
- def drs_automation_level(self) -> Optional[pulumi.Input[str]]:
80
+ def drs_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
80
81
  """
81
82
  Overrides the automation level for this virtual
82
83
  machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
@@ -89,12 +90,12 @@ class DrsVmOverrideArgs:
89
90
  return pulumi.get(self, "drs_automation_level")
90
91
 
91
92
  @drs_automation_level.setter
92
- def drs_automation_level(self, value: Optional[pulumi.Input[str]]):
93
+ def drs_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
93
94
  pulumi.set(self, "drs_automation_level", value)
94
95
 
95
96
  @property
96
97
  @pulumi.getter(name="drsEnabled")
97
- def drs_enabled(self) -> Optional[pulumi.Input[bool]]:
98
+ def drs_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
98
99
  """
99
100
  Overrides the default DRS setting for this virtual
100
101
  machine. Can be either `true` or `false`. Default: `false`.
@@ -102,32 +103,32 @@ class DrsVmOverrideArgs:
102
103
  return pulumi.get(self, "drs_enabled")
103
104
 
104
105
  @drs_enabled.setter
105
- def drs_enabled(self, value: Optional[pulumi.Input[bool]]):
106
+ def drs_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
106
107
  pulumi.set(self, "drs_enabled", value)
107
108
 
108
109
 
109
110
  @pulumi.input_type
110
111
  class _DrsVmOverrideState:
111
112
  def __init__(__self__, *,
112
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
113
- drs_automation_level: Optional[pulumi.Input[str]] = None,
114
- drs_enabled: Optional[pulumi.Input[bool]] = None,
115
- virtual_machine_id: Optional[pulumi.Input[str]] = None):
113
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
114
+ drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
115
+ drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
116
+ virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None):
116
117
  """
117
118
  Input properties used for looking up and filtering DrsVmOverride resources.
118
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
119
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
119
120
  ID of the cluster to put the override in. Forces a new
120
121
  resource if changed.
121
- :param pulumi.Input[str] drs_automation_level: Overrides the automation level for this virtual
122
+ :param pulumi.Input[builtins.str] drs_automation_level: Overrides the automation level for this virtual
122
123
  machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
123
124
  `fullyAutomated`. Default: `manual`.
124
125
 
125
126
  > **NOTE:** Using this resource _always_ implies an override, even if one of
126
127
  `drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
127
128
  for both options.
128
- :param pulumi.Input[bool] drs_enabled: Overrides the default DRS setting for this virtual
129
+ :param pulumi.Input[builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
129
130
  machine. Can be either `true` or `false`. Default: `false`.
130
- :param pulumi.Input[str] virtual_machine_id: The UUID of the virtual machine to create
131
+ :param pulumi.Input[builtins.str] virtual_machine_id: The UUID of the virtual machine to create
131
132
  the override for. Forces a new resource if changed.
132
133
  """
133
134
  if compute_cluster_id is not None:
@@ -141,7 +142,7 @@ class _DrsVmOverrideState:
141
142
 
142
143
  @property
143
144
  @pulumi.getter(name="computeClusterId")
144
- def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
145
+ def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
145
146
  """
146
147
  The managed object reference
147
148
  ID of the cluster to put the override in. Forces a new
@@ -150,12 +151,12 @@ class _DrsVmOverrideState:
150
151
  return pulumi.get(self, "compute_cluster_id")
151
152
 
152
153
  @compute_cluster_id.setter
153
- def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
154
+ def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
154
155
  pulumi.set(self, "compute_cluster_id", value)
155
156
 
156
157
  @property
157
158
  @pulumi.getter(name="drsAutomationLevel")
158
- def drs_automation_level(self) -> Optional[pulumi.Input[str]]:
159
+ def drs_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
159
160
  """
160
161
  Overrides the automation level for this virtual
161
162
  machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
@@ -168,12 +169,12 @@ class _DrsVmOverrideState:
168
169
  return pulumi.get(self, "drs_automation_level")
169
170
 
170
171
  @drs_automation_level.setter
171
- def drs_automation_level(self, value: Optional[pulumi.Input[str]]):
172
+ def drs_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
172
173
  pulumi.set(self, "drs_automation_level", value)
173
174
 
174
175
  @property
175
176
  @pulumi.getter(name="drsEnabled")
176
- def drs_enabled(self) -> Optional[pulumi.Input[bool]]:
177
+ def drs_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
177
178
  """
178
179
  Overrides the default DRS setting for this virtual
179
180
  machine. Can be either `true` or `false`. Default: `false`.
@@ -181,12 +182,12 @@ class _DrsVmOverrideState:
181
182
  return pulumi.get(self, "drs_enabled")
182
183
 
183
184
  @drs_enabled.setter
184
- def drs_enabled(self, value: Optional[pulumi.Input[bool]]):
185
+ def drs_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
185
186
  pulumi.set(self, "drs_enabled", value)
186
187
 
187
188
  @property
188
189
  @pulumi.getter(name="virtualMachineId")
189
- def virtual_machine_id(self) -> Optional[pulumi.Input[str]]:
190
+ def virtual_machine_id(self) -> Optional[pulumi.Input[builtins.str]]:
190
191
  """
191
192
  The UUID of the virtual machine to create
192
193
  the override for. Forces a new resource if changed.
@@ -194,19 +195,20 @@ class _DrsVmOverrideState:
194
195
  return pulumi.get(self, "virtual_machine_id")
195
196
 
196
197
  @virtual_machine_id.setter
197
- def virtual_machine_id(self, value: Optional[pulumi.Input[str]]):
198
+ def virtual_machine_id(self, value: Optional[pulumi.Input[builtins.str]]):
198
199
  pulumi.set(self, "virtual_machine_id", value)
199
200
 
200
201
 
202
+ @pulumi.type_token("vsphere:index/drsVmOverride:DrsVmOverride")
201
203
  class DrsVmOverride(pulumi.CustomResource):
202
204
  @overload
203
205
  def __init__(__self__,
204
206
  resource_name: str,
205
207
  opts: Optional[pulumi.ResourceOptions] = None,
206
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
207
- drs_automation_level: Optional[pulumi.Input[str]] = None,
208
- drs_enabled: Optional[pulumi.Input[bool]] = None,
209
- virtual_machine_id: Optional[pulumi.Input[str]] = None,
208
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
209
+ drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
210
+ drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
211
+ virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None,
210
212
  __props__=None):
211
213
  """
212
214
  The `DrsVmOverride` resource can be used to add a DRS override to a
@@ -289,19 +291,19 @@ class DrsVmOverride(pulumi.CustomResource):
289
291
 
290
292
  :param str resource_name: The name of the resource.
291
293
  :param pulumi.ResourceOptions opts: Options for the resource.
292
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
294
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
293
295
  ID of the cluster to put the override in. Forces a new
294
296
  resource if changed.
295
- :param pulumi.Input[str] drs_automation_level: Overrides the automation level for this virtual
297
+ :param pulumi.Input[builtins.str] drs_automation_level: Overrides the automation level for this virtual
296
298
  machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
297
299
  `fullyAutomated`. Default: `manual`.
298
300
 
299
301
  > **NOTE:** Using this resource _always_ implies an override, even if one of
300
302
  `drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
301
303
  for both options.
302
- :param pulumi.Input[bool] drs_enabled: Overrides the default DRS setting for this virtual
304
+ :param pulumi.Input[builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
303
305
  machine. Can be either `true` or `false`. Default: `false`.
304
- :param pulumi.Input[str] virtual_machine_id: The UUID of the virtual machine to create
306
+ :param pulumi.Input[builtins.str] virtual_machine_id: The UUID of the virtual machine to create
305
307
  the override for. Forces a new resource if changed.
306
308
  """
307
309
  ...
@@ -404,10 +406,10 @@ class DrsVmOverride(pulumi.CustomResource):
404
406
  def _internal_init(__self__,
405
407
  resource_name: str,
406
408
  opts: Optional[pulumi.ResourceOptions] = None,
407
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
408
- drs_automation_level: Optional[pulumi.Input[str]] = None,
409
- drs_enabled: Optional[pulumi.Input[bool]] = None,
410
- virtual_machine_id: Optional[pulumi.Input[str]] = None,
409
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
410
+ drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
411
+ drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
412
+ virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None,
411
413
  __props__=None):
412
414
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
413
415
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -435,10 +437,10 @@ class DrsVmOverride(pulumi.CustomResource):
435
437
  def get(resource_name: str,
436
438
  id: pulumi.Input[str],
437
439
  opts: Optional[pulumi.ResourceOptions] = None,
438
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
439
- drs_automation_level: Optional[pulumi.Input[str]] = None,
440
- drs_enabled: Optional[pulumi.Input[bool]] = None,
441
- virtual_machine_id: Optional[pulumi.Input[str]] = None) -> 'DrsVmOverride':
440
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
441
+ drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
442
+ drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
443
+ virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None) -> 'DrsVmOverride':
442
444
  """
443
445
  Get an existing DrsVmOverride resource's state with the given name, id, and optional extra
444
446
  properties used to qualify the lookup.
@@ -446,19 +448,19 @@ class DrsVmOverride(pulumi.CustomResource):
446
448
  :param str resource_name: The unique name of the resulting resource.
447
449
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
448
450
  :param pulumi.ResourceOptions opts: Options for the resource.
449
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
451
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
450
452
  ID of the cluster to put the override in. Forces a new
451
453
  resource if changed.
452
- :param pulumi.Input[str] drs_automation_level: Overrides the automation level for this virtual
454
+ :param pulumi.Input[builtins.str] drs_automation_level: Overrides the automation level for this virtual
453
455
  machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
454
456
  `fullyAutomated`. Default: `manual`.
455
457
 
456
458
  > **NOTE:** Using this resource _always_ implies an override, even if one of
457
459
  `drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
458
460
  for both options.
459
- :param pulumi.Input[bool] drs_enabled: Overrides the default DRS setting for this virtual
461
+ :param pulumi.Input[builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
460
462
  machine. Can be either `true` or `false`. Default: `false`.
461
- :param pulumi.Input[str] virtual_machine_id: The UUID of the virtual machine to create
463
+ :param pulumi.Input[builtins.str] virtual_machine_id: The UUID of the virtual machine to create
462
464
  the override for. Forces a new resource if changed.
463
465
  """
464
466
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -473,7 +475,7 @@ class DrsVmOverride(pulumi.CustomResource):
473
475
 
474
476
  @property
475
477
  @pulumi.getter(name="computeClusterId")
476
- def compute_cluster_id(self) -> pulumi.Output[str]:
478
+ def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
477
479
  """
478
480
  The managed object reference
479
481
  ID of the cluster to put the override in. Forces a new
@@ -483,7 +485,7 @@ class DrsVmOverride(pulumi.CustomResource):
483
485
 
484
486
  @property
485
487
  @pulumi.getter(name="drsAutomationLevel")
486
- def drs_automation_level(self) -> pulumi.Output[Optional[str]]:
488
+ def drs_automation_level(self) -> pulumi.Output[Optional[builtins.str]]:
487
489
  """
488
490
  Overrides the automation level for this virtual
489
491
  machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
@@ -497,7 +499,7 @@ class DrsVmOverride(pulumi.CustomResource):
497
499
 
498
500
  @property
499
501
  @pulumi.getter(name="drsEnabled")
500
- def drs_enabled(self) -> pulumi.Output[Optional[bool]]:
502
+ def drs_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
501
503
  """
502
504
  Overrides the default DRS setting for this virtual
503
505
  machine. Can be either `true` or `false`. Default: `false`.
@@ -506,7 +508,7 @@ class DrsVmOverride(pulumi.CustomResource):
506
508
 
507
509
  @property
508
510
  @pulumi.getter(name="virtualMachineId")
509
- def virtual_machine_id(self) -> pulumi.Output[str]:
511
+ def virtual_machine_id(self) -> pulumi.Output[builtins.str]:
510
512
  """
511
513
  The UUID of the virtual machine to create
512
514
  the override for. Forces a new resource if changed.
@@ -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
@@ -21,14 +22,14 @@ __all__ = ['EntityPermissionsArgs', 'EntityPermissions']
21
22
  @pulumi.input_type
22
23
  class EntityPermissionsArgs:
23
24
  def __init__(__self__, *,
24
- entity_id: pulumi.Input[str],
25
- entity_type: pulumi.Input[str],
25
+ entity_id: pulumi.Input[builtins.str],
26
+ entity_type: pulumi.Input[builtins.str],
26
27
  permissions: pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]]):
27
28
  """
28
29
  The set of arguments for constructing a EntityPermissions resource.
29
- :param pulumi.Input[str] entity_id: The managed object id (uuid for some entities) on
30
+ :param pulumi.Input[builtins.str] entity_id: The managed object id (uuid for some entities) on
30
31
  which permissions are to be created.
31
- :param pulumi.Input[str] entity_type: The managed object type, types can be found in the
32
+ :param pulumi.Input[builtins.str] entity_type: The managed object type, types can be found in the
32
33
  managed object type section
33
34
  [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
34
35
  :param pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]] permissions: The permissions to be given on this entity. Keep
@@ -41,7 +42,7 @@ class EntityPermissionsArgs:
41
42
 
42
43
  @property
43
44
  @pulumi.getter(name="entityId")
44
- def entity_id(self) -> pulumi.Input[str]:
45
+ def entity_id(self) -> pulumi.Input[builtins.str]:
45
46
  """
46
47
  The managed object id (uuid for some entities) on
47
48
  which permissions are to be created.
@@ -49,12 +50,12 @@ class EntityPermissionsArgs:
49
50
  return pulumi.get(self, "entity_id")
50
51
 
51
52
  @entity_id.setter
52
- def entity_id(self, value: pulumi.Input[str]):
53
+ def entity_id(self, value: pulumi.Input[builtins.str]):
53
54
  pulumi.set(self, "entity_id", value)
54
55
 
55
56
  @property
56
57
  @pulumi.getter(name="entityType")
57
- def entity_type(self) -> pulumi.Input[str]:
58
+ def entity_type(self) -> pulumi.Input[builtins.str]:
58
59
  """
59
60
  The managed object type, types can be found in the
60
61
  managed object type section
@@ -63,7 +64,7 @@ class EntityPermissionsArgs:
63
64
  return pulumi.get(self, "entity_type")
64
65
 
65
66
  @entity_type.setter
66
- def entity_type(self, value: pulumi.Input[str]):
67
+ def entity_type(self, value: pulumi.Input[builtins.str]):
67
68
  pulumi.set(self, "entity_type", value)
68
69
 
69
70
  @property
@@ -84,14 +85,14 @@ class EntityPermissionsArgs:
84
85
  @pulumi.input_type
85
86
  class _EntityPermissionsState:
86
87
  def __init__(__self__, *,
87
- entity_id: Optional[pulumi.Input[str]] = None,
88
- entity_type: Optional[pulumi.Input[str]] = None,
88
+ entity_id: Optional[pulumi.Input[builtins.str]] = None,
89
+ entity_type: Optional[pulumi.Input[builtins.str]] = None,
89
90
  permissions: Optional[pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]]] = None):
90
91
  """
91
92
  Input properties used for looking up and filtering EntityPermissions resources.
92
- :param pulumi.Input[str] entity_id: The managed object id (uuid for some entities) on
93
+ :param pulumi.Input[builtins.str] entity_id: The managed object id (uuid for some entities) on
93
94
  which permissions are to be created.
94
- :param pulumi.Input[str] entity_type: The managed object type, types can be found in the
95
+ :param pulumi.Input[builtins.str] entity_type: The managed object type, types can be found in the
95
96
  managed object type section
96
97
  [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
97
98
  :param pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]] permissions: The permissions to be given on this entity. Keep
@@ -107,7 +108,7 @@ class _EntityPermissionsState:
107
108
 
108
109
  @property
109
110
  @pulumi.getter(name="entityId")
110
- def entity_id(self) -> Optional[pulumi.Input[str]]:
111
+ def entity_id(self) -> Optional[pulumi.Input[builtins.str]]:
111
112
  """
112
113
  The managed object id (uuid for some entities) on
113
114
  which permissions are to be created.
@@ -115,12 +116,12 @@ class _EntityPermissionsState:
115
116
  return pulumi.get(self, "entity_id")
116
117
 
117
118
  @entity_id.setter
118
- def entity_id(self, value: Optional[pulumi.Input[str]]):
119
+ def entity_id(self, value: Optional[pulumi.Input[builtins.str]]):
119
120
  pulumi.set(self, "entity_id", value)
120
121
 
121
122
  @property
122
123
  @pulumi.getter(name="entityType")
123
- def entity_type(self) -> Optional[pulumi.Input[str]]:
124
+ def entity_type(self) -> Optional[pulumi.Input[builtins.str]]:
124
125
  """
125
126
  The managed object type, types can be found in the
126
127
  managed object type section
@@ -129,7 +130,7 @@ class _EntityPermissionsState:
129
130
  return pulumi.get(self, "entity_type")
130
131
 
131
132
  @entity_type.setter
132
- def entity_type(self, value: Optional[pulumi.Input[str]]):
133
+ def entity_type(self, value: Optional[pulumi.Input[builtins.str]]):
133
134
  pulumi.set(self, "entity_type", value)
134
135
 
135
136
  @property
@@ -147,22 +148,23 @@ class _EntityPermissionsState:
147
148
  pulumi.set(self, "permissions", value)
148
149
 
149
150
 
151
+ @pulumi.type_token("vsphere:index/entityPermissions:EntityPermissions")
150
152
  class EntityPermissions(pulumi.CustomResource):
151
153
  @overload
152
154
  def __init__(__self__,
153
155
  resource_name: str,
154
156
  opts: Optional[pulumi.ResourceOptions] = None,
155
- entity_id: Optional[pulumi.Input[str]] = None,
156
- entity_type: Optional[pulumi.Input[str]] = None,
157
+ entity_id: Optional[pulumi.Input[builtins.str]] = None,
158
+ entity_type: Optional[pulumi.Input[builtins.str]] = None,
157
159
  permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]]] = None,
158
160
  __props__=None):
159
161
  """
160
162
  Create a EntityPermissions resource with the given unique name, props, and options.
161
163
  :param str resource_name: The name of the resource.
162
164
  :param pulumi.ResourceOptions opts: Options for the resource.
163
- :param pulumi.Input[str] entity_id: The managed object id (uuid for some entities) on
165
+ :param pulumi.Input[builtins.str] entity_id: The managed object id (uuid for some entities) on
164
166
  which permissions are to be created.
165
- :param pulumi.Input[str] entity_type: The managed object type, types can be found in the
167
+ :param pulumi.Input[builtins.str] entity_type: The managed object type, types can be found in the
166
168
  managed object type section
167
169
  [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
168
170
  :param pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]] permissions: The permissions to be given on this entity. Keep
@@ -192,8 +194,8 @@ class EntityPermissions(pulumi.CustomResource):
192
194
  def _internal_init(__self__,
193
195
  resource_name: str,
194
196
  opts: Optional[pulumi.ResourceOptions] = None,
195
- entity_id: Optional[pulumi.Input[str]] = None,
196
- entity_type: Optional[pulumi.Input[str]] = None,
197
+ entity_id: Optional[pulumi.Input[builtins.str]] = None,
198
+ entity_type: Optional[pulumi.Input[builtins.str]] = None,
197
199
  permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]]] = None,
198
200
  __props__=None):
199
201
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -223,8 +225,8 @@ class EntityPermissions(pulumi.CustomResource):
223
225
  def get(resource_name: str,
224
226
  id: pulumi.Input[str],
225
227
  opts: Optional[pulumi.ResourceOptions] = None,
226
- entity_id: Optional[pulumi.Input[str]] = None,
227
- entity_type: Optional[pulumi.Input[str]] = None,
228
+ entity_id: Optional[pulumi.Input[builtins.str]] = None,
229
+ entity_type: Optional[pulumi.Input[builtins.str]] = None,
228
230
  permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]]] = None) -> 'EntityPermissions':
229
231
  """
230
232
  Get an existing EntityPermissions resource's state with the given name, id, and optional extra
@@ -233,9 +235,9 @@ class EntityPermissions(pulumi.CustomResource):
233
235
  :param str resource_name: The unique name of the resulting resource.
234
236
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
235
237
  :param pulumi.ResourceOptions opts: Options for the resource.
236
- :param pulumi.Input[str] entity_id: The managed object id (uuid for some entities) on
238
+ :param pulumi.Input[builtins.str] entity_id: The managed object id (uuid for some entities) on
237
239
  which permissions are to be created.
238
- :param pulumi.Input[str] entity_type: The managed object type, types can be found in the
240
+ :param pulumi.Input[builtins.str] entity_type: The managed object type, types can be found in the
239
241
  managed object type section
240
242
  [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
241
243
  :param pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]] permissions: The permissions to be given on this entity. Keep
@@ -253,7 +255,7 @@ class EntityPermissions(pulumi.CustomResource):
253
255
 
254
256
  @property
255
257
  @pulumi.getter(name="entityId")
256
- def entity_id(self) -> pulumi.Output[str]:
258
+ def entity_id(self) -> pulumi.Output[builtins.str]:
257
259
  """
258
260
  The managed object id (uuid for some entities) on
259
261
  which permissions are to be created.
@@ -262,7 +264,7 @@ class EntityPermissions(pulumi.CustomResource):
262
264
 
263
265
  @property
264
266
  @pulumi.getter(name="entityType")
265
- def entity_type(self) -> pulumi.Output[str]:
267
+ def entity_type(self) -> pulumi.Output[builtins.str]:
266
268
  """
267
269
  The managed object type, types can be found in the
268
270
  managed object type section