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
pulumi_vsphere/folder.py 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
@@ -19,14 +20,14 @@ __all__ = ['FolderArgs', 'Folder']
19
20
  @pulumi.input_type
20
21
  class FolderArgs:
21
22
  def __init__(__self__, *,
22
- path: pulumi.Input[str],
23
- type: pulumi.Input[str],
24
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
25
- datacenter_id: Optional[pulumi.Input[str]] = None,
26
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
23
+ path: pulumi.Input[builtins.str],
24
+ type: pulumi.Input[builtins.str],
25
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
26
+ datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
27
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
27
28
  """
28
29
  The set of arguments for constructing a Folder resource.
29
- :param pulumi.Input[str] path: The path of the folder to be created. This is relative to
30
+ :param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
30
31
  the root of the type of folder you are creating, and the supplied datacenter.
31
32
  For example, given a default datacenter of `default-dc`, a folder of type
32
33
  `vm` (denoting a virtual machine folder), and a supplied folder of
@@ -37,11 +38,11 @@ class FolderArgs:
37
38
  what section of `path` you are modifying. If you are modifying the parent (so
38
39
  any part before the last `/`), your folder will be moved to that new parent. If
39
40
  modifying the name (the part after the last `/`), your folder will be renamed.
40
- :param pulumi.Input[str] type: The type of folder to create. Allowed options are
41
+ :param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
41
42
  `datacenter` for datacenter folders, `host` for host and cluster folders,
42
43
  `vm` for virtual machine folders, `datastore` for datastore folders, and
43
44
  `network` for network folders. Forces a new resource if changed.
44
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
45
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
45
46
  value strings to set for folder. See [here][docs-setting-custom-attributes]
46
47
  for a reference on how to set values for custom attributes.
47
48
 
@@ -49,10 +50,10 @@ class FolderArgs:
49
50
 
50
51
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
51
52
  and require vCenter.
52
- :param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
53
+ :param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
53
54
  Required for all folder types except for datacenter folders. Forces a new
54
55
  resource if changed.
55
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
56
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
56
57
  """
57
58
  pulumi.set(__self__, "path", path)
58
59
  pulumi.set(__self__, "type", type)
@@ -65,7 +66,7 @@ class FolderArgs:
65
66
 
66
67
  @property
67
68
  @pulumi.getter
68
- def path(self) -> pulumi.Input[str]:
69
+ def path(self) -> pulumi.Input[builtins.str]:
69
70
  """
70
71
  The path of the folder to be created. This is relative to
71
72
  the root of the type of folder you are creating, and the supplied datacenter.
@@ -82,12 +83,12 @@ class FolderArgs:
82
83
  return pulumi.get(self, "path")
83
84
 
84
85
  @path.setter
85
- def path(self, value: pulumi.Input[str]):
86
+ def path(self, value: pulumi.Input[builtins.str]):
86
87
  pulumi.set(self, "path", value)
87
88
 
88
89
  @property
89
90
  @pulumi.getter
90
- def type(self) -> pulumi.Input[str]:
91
+ def type(self) -> pulumi.Input[builtins.str]:
91
92
  """
92
93
  The type of folder to create. Allowed options are
93
94
  `datacenter` for datacenter folders, `host` for host and cluster folders,
@@ -97,12 +98,12 @@ class FolderArgs:
97
98
  return pulumi.get(self, "type")
98
99
 
99
100
  @type.setter
100
- def type(self, value: pulumi.Input[str]):
101
+ def type(self, value: pulumi.Input[builtins.str]):
101
102
  pulumi.set(self, "type", value)
102
103
 
103
104
  @property
104
105
  @pulumi.getter(name="customAttributes")
105
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
106
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
106
107
  """
107
108
  Map of custom attribute ids to attribute
108
109
  value strings to set for folder. See [here][docs-setting-custom-attributes]
@@ -116,12 +117,12 @@ class FolderArgs:
116
117
  return pulumi.get(self, "custom_attributes")
117
118
 
118
119
  @custom_attributes.setter
119
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
120
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
120
121
  pulumi.set(self, "custom_attributes", value)
121
122
 
122
123
  @property
123
124
  @pulumi.getter(name="datacenterId")
124
- def datacenter_id(self) -> Optional[pulumi.Input[str]]:
125
+ def datacenter_id(self) -> Optional[pulumi.Input[builtins.str]]:
125
126
  """
126
127
  The ID of the datacenter the folder will be created in.
127
128
  Required for all folder types except for datacenter folders. Forces a new
@@ -130,33 +131,33 @@ class FolderArgs:
130
131
  return pulumi.get(self, "datacenter_id")
131
132
 
132
133
  @datacenter_id.setter
133
- def datacenter_id(self, value: Optional[pulumi.Input[str]]):
134
+ def datacenter_id(self, value: Optional[pulumi.Input[builtins.str]]):
134
135
  pulumi.set(self, "datacenter_id", value)
135
136
 
136
137
  @property
137
138
  @pulumi.getter
138
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
139
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
139
140
  """
140
141
  The IDs of any tags to attach to this resource.
141
142
  """
142
143
  return pulumi.get(self, "tags")
143
144
 
144
145
  @tags.setter
145
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
146
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
146
147
  pulumi.set(self, "tags", value)
147
148
 
148
149
 
149
150
  @pulumi.input_type
150
151
  class _FolderState:
151
152
  def __init__(__self__, *,
152
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
153
- datacenter_id: Optional[pulumi.Input[str]] = None,
154
- path: Optional[pulumi.Input[str]] = None,
155
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
156
- type: Optional[pulumi.Input[str]] = None):
153
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
154
+ datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
155
+ path: Optional[pulumi.Input[builtins.str]] = None,
156
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
157
+ type: Optional[pulumi.Input[builtins.str]] = None):
157
158
  """
158
159
  Input properties used for looking up and filtering Folder resources.
159
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
160
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
160
161
  value strings to set for folder. See [here][docs-setting-custom-attributes]
161
162
  for a reference on how to set values for custom attributes.
162
163
 
@@ -164,10 +165,10 @@ class _FolderState:
164
165
 
165
166
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
166
167
  and require vCenter.
167
- :param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
168
+ :param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
168
169
  Required for all folder types except for datacenter folders. Forces a new
169
170
  resource if changed.
170
- :param pulumi.Input[str] path: The path of the folder to be created. This is relative to
171
+ :param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
171
172
  the root of the type of folder you are creating, and the supplied datacenter.
172
173
  For example, given a default datacenter of `default-dc`, a folder of type
173
174
  `vm` (denoting a virtual machine folder), and a supplied folder of
@@ -178,8 +179,8 @@ class _FolderState:
178
179
  what section of `path` you are modifying. If you are modifying the parent (so
179
180
  any part before the last `/`), your folder will be moved to that new parent. If
180
181
  modifying the name (the part after the last `/`), your folder will be renamed.
181
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
182
- :param pulumi.Input[str] type: The type of folder to create. Allowed options are
182
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
183
+ :param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
183
184
  `datacenter` for datacenter folders, `host` for host and cluster folders,
184
185
  `vm` for virtual machine folders, `datastore` for datastore folders, and
185
186
  `network` for network folders. Forces a new resource if changed.
@@ -197,7 +198,7 @@ class _FolderState:
197
198
 
198
199
  @property
199
200
  @pulumi.getter(name="customAttributes")
200
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
201
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
201
202
  """
202
203
  Map of custom attribute ids to attribute
203
204
  value strings to set for folder. See [here][docs-setting-custom-attributes]
@@ -211,12 +212,12 @@ class _FolderState:
211
212
  return pulumi.get(self, "custom_attributes")
212
213
 
213
214
  @custom_attributes.setter
214
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
215
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
215
216
  pulumi.set(self, "custom_attributes", value)
216
217
 
217
218
  @property
218
219
  @pulumi.getter(name="datacenterId")
219
- def datacenter_id(self) -> Optional[pulumi.Input[str]]:
220
+ def datacenter_id(self) -> Optional[pulumi.Input[builtins.str]]:
220
221
  """
221
222
  The ID of the datacenter the folder will be created in.
222
223
  Required for all folder types except for datacenter folders. Forces a new
@@ -225,12 +226,12 @@ class _FolderState:
225
226
  return pulumi.get(self, "datacenter_id")
226
227
 
227
228
  @datacenter_id.setter
228
- def datacenter_id(self, value: Optional[pulumi.Input[str]]):
229
+ def datacenter_id(self, value: Optional[pulumi.Input[builtins.str]]):
229
230
  pulumi.set(self, "datacenter_id", value)
230
231
 
231
232
  @property
232
233
  @pulumi.getter
233
- def path(self) -> Optional[pulumi.Input[str]]:
234
+ def path(self) -> Optional[pulumi.Input[builtins.str]]:
234
235
  """
235
236
  The path of the folder to be created. This is relative to
236
237
  the root of the type of folder you are creating, and the supplied datacenter.
@@ -247,24 +248,24 @@ class _FolderState:
247
248
  return pulumi.get(self, "path")
248
249
 
249
250
  @path.setter
250
- def path(self, value: Optional[pulumi.Input[str]]):
251
+ def path(self, value: Optional[pulumi.Input[builtins.str]]):
251
252
  pulumi.set(self, "path", value)
252
253
 
253
254
  @property
254
255
  @pulumi.getter
255
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
256
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
256
257
  """
257
258
  The IDs of any tags to attach to this resource.
258
259
  """
259
260
  return pulumi.get(self, "tags")
260
261
 
261
262
  @tags.setter
262
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
263
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
263
264
  pulumi.set(self, "tags", value)
264
265
 
265
266
  @property
266
267
  @pulumi.getter
267
- def type(self) -> Optional[pulumi.Input[str]]:
268
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
268
269
  """
269
270
  The type of folder to create. Allowed options are
270
271
  `datacenter` for datacenter folders, `host` for host and cluster folders,
@@ -274,20 +275,21 @@ class _FolderState:
274
275
  return pulumi.get(self, "type")
275
276
 
276
277
  @type.setter
277
- def type(self, value: Optional[pulumi.Input[str]]):
278
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
278
279
  pulumi.set(self, "type", value)
279
280
 
280
281
 
282
+ @pulumi.type_token("vsphere:index/folder:Folder")
281
283
  class Folder(pulumi.CustomResource):
282
284
  @overload
283
285
  def __init__(__self__,
284
286
  resource_name: str,
285
287
  opts: Optional[pulumi.ResourceOptions] = None,
286
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
287
- datacenter_id: Optional[pulumi.Input[str]] = None,
288
- path: Optional[pulumi.Input[str]] = None,
289
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
290
- type: Optional[pulumi.Input[str]] = None,
288
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
289
+ datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
290
+ path: Optional[pulumi.Input[builtins.str]] = None,
291
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
292
+ type: Optional[pulumi.Input[builtins.str]] = None,
291
293
  __props__=None):
292
294
  """
293
295
  The `Folder` resource can be used to manage vSphere inventory folders.
@@ -360,7 +362,7 @@ class Folder(pulumi.CustomResource):
360
362
 
361
363
  :param str resource_name: The name of the resource.
362
364
  :param pulumi.ResourceOptions opts: Options for the resource.
363
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
365
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
364
366
  value strings to set for folder. See [here][docs-setting-custom-attributes]
365
367
  for a reference on how to set values for custom attributes.
366
368
 
@@ -368,10 +370,10 @@ class Folder(pulumi.CustomResource):
368
370
 
369
371
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
370
372
  and require vCenter.
371
- :param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
373
+ :param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
372
374
  Required for all folder types except for datacenter folders. Forces a new
373
375
  resource if changed.
374
- :param pulumi.Input[str] path: The path of the folder to be created. This is relative to
376
+ :param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
375
377
  the root of the type of folder you are creating, and the supplied datacenter.
376
378
  For example, given a default datacenter of `default-dc`, a folder of type
377
379
  `vm` (denoting a virtual machine folder), and a supplied folder of
@@ -382,8 +384,8 @@ class Folder(pulumi.CustomResource):
382
384
  what section of `path` you are modifying. If you are modifying the parent (so
383
385
  any part before the last `/`), your folder will be moved to that new parent. If
384
386
  modifying the name (the part after the last `/`), your folder will be renamed.
385
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
386
- :param pulumi.Input[str] type: The type of folder to create. Allowed options are
387
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
388
+ :param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
387
389
  `datacenter` for datacenter folders, `host` for host and cluster folders,
388
390
  `vm` for virtual machine folders, `datastore` for datastore folders, and
389
391
  `network` for network folders. Forces a new resource if changed.
@@ -478,11 +480,11 @@ class Folder(pulumi.CustomResource):
478
480
  def _internal_init(__self__,
479
481
  resource_name: str,
480
482
  opts: Optional[pulumi.ResourceOptions] = None,
481
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
482
- datacenter_id: Optional[pulumi.Input[str]] = None,
483
- path: Optional[pulumi.Input[str]] = None,
484
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
485
- type: Optional[pulumi.Input[str]] = None,
483
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
484
+ datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
485
+ path: Optional[pulumi.Input[builtins.str]] = None,
486
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
487
+ type: Optional[pulumi.Input[builtins.str]] = None,
486
488
  __props__=None):
487
489
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
488
490
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -511,11 +513,11 @@ class Folder(pulumi.CustomResource):
511
513
  def get(resource_name: str,
512
514
  id: pulumi.Input[str],
513
515
  opts: Optional[pulumi.ResourceOptions] = None,
514
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
515
- datacenter_id: Optional[pulumi.Input[str]] = None,
516
- path: Optional[pulumi.Input[str]] = None,
517
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
518
- type: Optional[pulumi.Input[str]] = None) -> 'Folder':
516
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
517
+ datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
518
+ path: Optional[pulumi.Input[builtins.str]] = None,
519
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
520
+ type: Optional[pulumi.Input[builtins.str]] = None) -> 'Folder':
519
521
  """
520
522
  Get an existing Folder resource's state with the given name, id, and optional extra
521
523
  properties used to qualify the lookup.
@@ -523,7 +525,7 @@ class Folder(pulumi.CustomResource):
523
525
  :param str resource_name: The unique name of the resulting resource.
524
526
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
525
527
  :param pulumi.ResourceOptions opts: Options for the resource.
526
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
528
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
527
529
  value strings to set for folder. See [here][docs-setting-custom-attributes]
528
530
  for a reference on how to set values for custom attributes.
529
531
 
@@ -531,10 +533,10 @@ class Folder(pulumi.CustomResource):
531
533
 
532
534
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
533
535
  and require vCenter.
534
- :param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
536
+ :param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
535
537
  Required for all folder types except for datacenter folders. Forces a new
536
538
  resource if changed.
537
- :param pulumi.Input[str] path: The path of the folder to be created. This is relative to
539
+ :param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
538
540
  the root of the type of folder you are creating, and the supplied datacenter.
539
541
  For example, given a default datacenter of `default-dc`, a folder of type
540
542
  `vm` (denoting a virtual machine folder), and a supplied folder of
@@ -545,8 +547,8 @@ class Folder(pulumi.CustomResource):
545
547
  what section of `path` you are modifying. If you are modifying the parent (so
546
548
  any part before the last `/`), your folder will be moved to that new parent. If
547
549
  modifying the name (the part after the last `/`), your folder will be renamed.
548
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
549
- :param pulumi.Input[str] type: The type of folder to create. Allowed options are
550
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
551
+ :param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
550
552
  `datacenter` for datacenter folders, `host` for host and cluster folders,
551
553
  `vm` for virtual machine folders, `datastore` for datastore folders, and
552
554
  `network` for network folders. Forces a new resource if changed.
@@ -564,7 +566,7 @@ class Folder(pulumi.CustomResource):
564
566
 
565
567
  @property
566
568
  @pulumi.getter(name="customAttributes")
567
- def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
569
+ def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
568
570
  """
569
571
  Map of custom attribute ids to attribute
570
572
  value strings to set for folder. See [here][docs-setting-custom-attributes]
@@ -579,7 +581,7 @@ class Folder(pulumi.CustomResource):
579
581
 
580
582
  @property
581
583
  @pulumi.getter(name="datacenterId")
582
- def datacenter_id(self) -> pulumi.Output[Optional[str]]:
584
+ def datacenter_id(self) -> pulumi.Output[Optional[builtins.str]]:
583
585
  """
584
586
  The ID of the datacenter the folder will be created in.
585
587
  Required for all folder types except for datacenter folders. Forces a new
@@ -589,7 +591,7 @@ class Folder(pulumi.CustomResource):
589
591
 
590
592
  @property
591
593
  @pulumi.getter
592
- def path(self) -> pulumi.Output[str]:
594
+ def path(self) -> pulumi.Output[builtins.str]:
593
595
  """
594
596
  The path of the folder to be created. This is relative to
595
597
  the root of the type of folder you are creating, and the supplied datacenter.
@@ -607,7 +609,7 @@ class Folder(pulumi.CustomResource):
607
609
 
608
610
  @property
609
611
  @pulumi.getter
610
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
612
+ def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
611
613
  """
612
614
  The IDs of any tags to attach to this resource.
613
615
  """
@@ -615,7 +617,7 @@ class Folder(pulumi.CustomResource):
615
617
 
616
618
  @property
617
619
  @pulumi.getter
618
- def type(self) -> pulumi.Output[str]:
620
+ def type(self) -> pulumi.Output[builtins.str]:
619
621
  """
620
622
  The type of folder to create. Allowed options are
621
623
  `datacenter` for datacenter folders, `host` for host and cluster folders,
@@ -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
@@ -42,12 +43,12 @@ class GetComputeClusterResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter(name="datacenterId")
45
- def datacenter_id(self) -> Optional[str]:
46
+ def datacenter_id(self) -> Optional[builtins.str]:
46
47
  return pulumi.get(self, "datacenter_id")
47
48
 
48
49
  @property
49
50
  @pulumi.getter
50
- def id(self) -> str:
51
+ def id(self) -> builtins.str:
51
52
  """
52
53
  The provider-assigned unique ID for this managed resource.
53
54
  """
@@ -55,12 +56,12 @@ class GetComputeClusterResult:
55
56
 
56
57
  @property
57
58
  @pulumi.getter
58
- def name(self) -> str:
59
+ def name(self) -> builtins.str:
59
60
  return pulumi.get(self, "name")
60
61
 
61
62
  @property
62
63
  @pulumi.getter(name="resourcePoolId")
63
- def resource_pool_id(self) -> str:
64
+ def resource_pool_id(self) -> builtins.str:
64
65
  """
65
66
  The managed object reference ID of
66
67
  the root resource pool for the cluster.
@@ -80,8 +81,8 @@ class AwaitableGetComputeClusterResult(GetComputeClusterResult):
80
81
  resource_pool_id=self.resource_pool_id)
81
82
 
82
83
 
83
- def get_compute_cluster(datacenter_id: Optional[str] = None,
84
- name: Optional[str] = None,
84
+ def get_compute_cluster(datacenter_id: Optional[builtins.str] = None,
85
+ name: Optional[builtins.str] = None,
85
86
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeClusterResult:
86
87
  """
87
88
  The `ComputeCluster` data source can be used to discover the ID of a
@@ -106,11 +107,11 @@ def get_compute_cluster(datacenter_id: Optional[str] = None,
106
107
  ```
107
108
 
108
109
 
109
- :param str datacenter_id: The managed object reference ID
110
+ :param builtins.str datacenter_id: The managed object reference ID
110
111
  of the datacenter the cluster is located in. This can be omitted if the
111
112
  search path used in `name` is an absolute path. For default datacenters,
112
113
  use the `id` attribute from an empty `Datacenter` data source.
113
- :param str name: The name or absolute path to the cluster.
114
+ :param builtins.str name: The name or absolute path to the cluster.
114
115
  """
115
116
  __args__ = dict()
116
117
  __args__['datacenterId'] = datacenter_id
@@ -123,8 +124,8 @@ def get_compute_cluster(datacenter_id: Optional[str] = None,
123
124
  id=pulumi.get(__ret__, 'id'),
124
125
  name=pulumi.get(__ret__, 'name'),
125
126
  resource_pool_id=pulumi.get(__ret__, 'resource_pool_id'))
126
- def get_compute_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
127
- name: Optional[pulumi.Input[str]] = None,
127
+ def get_compute_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
128
+ name: Optional[pulumi.Input[builtins.str]] = None,
128
129
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeClusterResult]:
129
130
  """
130
131
  The `ComputeCluster` data source can be used to discover the ID of a
@@ -149,11 +150,11 @@ def get_compute_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[str
149
150
  ```
150
151
 
151
152
 
152
- :param str datacenter_id: The managed object reference ID
153
+ :param builtins.str datacenter_id: The managed object reference ID
153
154
  of the datacenter the cluster is located in. This can be omitted if the
154
155
  search path used in `name` is an absolute path. For default datacenters,
155
156
  use the `id` attribute from an empty `Datacenter` data source.
156
- :param str name: The name or absolute path to the cluster.
157
+ :param builtins.str name: The name or absolute path to the cluster.
157
158
  """
158
159
  __args__ = dict()
159
160
  __args__['datacenterId'] = datacenter_id
@@ -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
@@ -42,12 +43,12 @@ class GetComputeClusterHostGroupResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter(name="computeClusterId")
45
- def compute_cluster_id(self) -> str:
46
+ def compute_cluster_id(self) -> builtins.str:
46
47
  return pulumi.get(self, "compute_cluster_id")
47
48
 
48
49
  @property
49
50
  @pulumi.getter(name="hostSystemIds")
50
- def host_system_ids(self) -> Sequence[str]:
51
+ def host_system_ids(self) -> Sequence[builtins.str]:
51
52
  """
52
53
  The [managed object reference ID][docs-about-morefs] of
53
54
  the ESXi hosts in the host group.
@@ -56,7 +57,7 @@ class GetComputeClusterHostGroupResult:
56
57
 
57
58
  @property
58
59
  @pulumi.getter
59
- def id(self) -> str:
60
+ def id(self) -> builtins.str:
60
61
  """
61
62
  The provider-assigned unique ID for this managed resource.
62
63
  """
@@ -64,7 +65,7 @@ class GetComputeClusterHostGroupResult:
64
65
 
65
66
  @property
66
67
  @pulumi.getter
67
- def name(self) -> str:
68
+ def name(self) -> builtins.str:
68
69
  return pulumi.get(self, "name")
69
70
 
70
71
 
@@ -80,8 +81,8 @@ class AwaitableGetComputeClusterHostGroupResult(GetComputeClusterHostGroupResult
80
81
  name=self.name)
81
82
 
82
83
 
83
- def get_compute_cluster_host_group(compute_cluster_id: Optional[str] = None,
84
- name: Optional[str] = None,
84
+ def get_compute_cluster_host_group(compute_cluster_id: Optional[builtins.str] = None,
85
+ name: Optional[builtins.str] = None,
85
86
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeClusterHostGroupResult:
86
87
  """
87
88
  The `ComputeClusterHostGroup` data source can be used to discover
@@ -107,12 +108,12 @@ def get_compute_cluster_host_group(compute_cluster_id: Optional[str] = None,
107
108
  ```
108
109
 
109
110
 
110
- :param str compute_cluster_id: The
111
+ :param builtins.str compute_cluster_id: The
111
112
  [managed object reference ID][docs-about-morefs] of the compute cluster for
112
113
  the host group.
113
114
 
114
115
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
115
- :param str name: The name of the host group.
116
+ :param builtins.str name: The name of the host group.
116
117
  """
117
118
  __args__ = dict()
118
119
  __args__['computeClusterId'] = compute_cluster_id
@@ -125,8 +126,8 @@ def get_compute_cluster_host_group(compute_cluster_id: Optional[str] = None,
125
126
  host_system_ids=pulumi.get(__ret__, 'host_system_ids'),
126
127
  id=pulumi.get(__ret__, 'id'),
127
128
  name=pulumi.get(__ret__, 'name'))
128
- def get_compute_cluster_host_group_output(compute_cluster_id: Optional[pulumi.Input[str]] = None,
129
- name: Optional[pulumi.Input[str]] = None,
129
+ def get_compute_cluster_host_group_output(compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
130
+ name: Optional[pulumi.Input[builtins.str]] = None,
130
131
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeClusterHostGroupResult]:
131
132
  """
132
133
  The `ComputeClusterHostGroup` data source can be used to discover
@@ -152,12 +153,12 @@ def get_compute_cluster_host_group_output(compute_cluster_id: Optional[pulumi.In
152
153
  ```
153
154
 
154
155
 
155
- :param str compute_cluster_id: The
156
+ :param builtins.str compute_cluster_id: The
156
157
  [managed object reference ID][docs-about-morefs] of the compute cluster for
157
158
  the host group.
158
159
 
159
160
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
160
- :param str name: The name of the host group.
161
+ :param builtins.str name: The name of the host group.
161
162
  """
162
163
  __args__ = dict()
163
164
  __args__['computeClusterId'] = compute_cluster_id
@@ -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
@@ -36,7 +37,7 @@ class GetContentLibraryResult:
36
37
 
37
38
  @property
38
39
  @pulumi.getter
39
- def id(self) -> str:
40
+ def id(self) -> builtins.str:
40
41
  """
41
42
  The provider-assigned unique ID for this managed resource.
42
43
  """
@@ -44,7 +45,7 @@ class GetContentLibraryResult:
44
45
 
45
46
  @property
46
47
  @pulumi.getter
47
- def name(self) -> str:
48
+ def name(self) -> builtins.str:
48
49
  return pulumi.get(self, "name")
49
50
 
50
51
 
@@ -58,7 +59,7 @@ class AwaitableGetContentLibraryResult(GetContentLibraryResult):
58
59
  name=self.name)
59
60
 
60
61
 
61
- def get_content_library(name: Optional[str] = None,
62
+ def get_content_library(name: Optional[builtins.str] = None,
62
63
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContentLibraryResult:
63
64
  """
64
65
  The `ContentLibrary` data source can be used to discover the ID of a
@@ -77,7 +78,7 @@ def get_content_library(name: Optional[str] = None,
77
78
  ```
78
79
 
79
80
 
80
- :param str name: The name of the content library.
81
+ :param builtins.str name: The name of the content library.
81
82
  """
82
83
  __args__ = dict()
83
84
  __args__['name'] = name
@@ -87,7 +88,7 @@ def get_content_library(name: Optional[str] = None,
87
88
  return AwaitableGetContentLibraryResult(
88
89
  id=pulumi.get(__ret__, 'id'),
89
90
  name=pulumi.get(__ret__, 'name'))
90
- def get_content_library_output(name: Optional[pulumi.Input[str]] = None,
91
+ def get_content_library_output(name: Optional[pulumi.Input[builtins.str]] = None,
91
92
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContentLibraryResult]:
92
93
  """
93
94
  The `ContentLibrary` data source can be used to discover the ID of a
@@ -106,7 +107,7 @@ def get_content_library_output(name: Optional[pulumi.Input[str]] = None,
106
107
  ```
107
108
 
108
109
 
109
- :param str name: The name of the content library.
110
+ :param builtins.str name: The name of the content library.
110
111
  """
111
112
  __args__ = dict()
112
113
  __args__['name'] = name