pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1745952392__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 +921 -917
  4. pulumi_vsphere/compute_cluster_host_group.py +46 -42
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
  8. pulumi_vsphere/compute_cluster_vm_group.py +46 -42
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -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 +46 -42
  14. pulumi_vsphere/content_library_item.py +88 -84
  15. pulumi_vsphere/custom_attribute.py +32 -28
  16. pulumi_vsphere/datacenter.py +67 -63
  17. pulumi_vsphere/datastore_cluster.py +354 -350
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
  19. pulumi_vsphere/distributed_port_group.py +648 -644
  20. pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
  22. pulumi_vsphere/dpm_host_override.py +60 -56
  23. pulumi_vsphere/drs_vm_override.py +60 -56
  24. pulumi_vsphere/entity_permissions.py +32 -28
  25. pulumi_vsphere/file.py +98 -94
  26. pulumi_vsphere/folder.py +74 -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 +60 -56
  57. pulumi_vsphere/ha_vm_override.py +214 -210
  58. pulumi_vsphere/host.py +200 -196
  59. pulumi_vsphere/host_port_group.py +256 -252
  60. pulumi_vsphere/host_virtual_switch.py +298 -294
  61. pulumi_vsphere/license.py +60 -56
  62. pulumi_vsphere/nas_datastore.py +214 -210
  63. pulumi_vsphere/offline_software_depot.py +18 -14
  64. pulumi_vsphere/outputs.py +721 -720
  65. pulumi_vsphere/provider.py +101 -97
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +214 -210
  68. pulumi_vsphere/role.py +39 -35
  69. pulumi_vsphere/storage_drs_vm_override.py +74 -70
  70. pulumi_vsphere/supervisor.py +158 -154
  71. pulumi_vsphere/tag.py +46 -42
  72. pulumi_vsphere/tag_category.py +60 -56
  73. pulumi_vsphere/vapp_container.py +214 -210
  74. pulumi_vsphere/vapp_entity.py +144 -140
  75. pulumi_vsphere/virtual_disk.py +102 -98
  76. pulumi_vsphere/virtual_machine.py +1043 -1039
  77. pulumi_vsphere/virtual_machine_class.py +88 -84
  78. pulumi_vsphere/virtual_machine_snapshot.py +102 -98
  79. pulumi_vsphere/vm_storage_policy.py +32 -28
  80. pulumi_vsphere/vmfs_datastore.py +151 -147
  81. pulumi_vsphere/vnic.py +116 -112
  82. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
  83. pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
  84. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.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.0a1745952392.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,14 +20,14 @@ __all__ = ['CustomAttributeArgs', 'CustomAttribute']
19
20
  @pulumi.input_type
20
21
  class CustomAttributeArgs:
21
22
  def __init__(__self__, *,
22
- managed_object_type: Optional[pulumi.Input[str]] = None,
23
- name: Optional[pulumi.Input[str]] = None):
23
+ managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
24
+ name: Optional[pulumi.Input[builtins.str]] = None):
24
25
  """
25
26
  The set of arguments for constructing a CustomAttribute resource.
26
- :param pulumi.Input[str] managed_object_type: The object type that this attribute may be
27
+ :param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
27
28
  applied to. If not set, the custom attribute may be applied to any object
28
29
  type. For a full list, review the Managed Object Types. Forces a new resource if changed.
29
- :param pulumi.Input[str] name: The name of the custom attribute.
30
+ :param pulumi.Input[builtins.str] name: The name of the custom attribute.
30
31
  """
31
32
  if managed_object_type is not None:
32
33
  pulumi.set(__self__, "managed_object_type", managed_object_type)
@@ -35,7 +36,7 @@ class CustomAttributeArgs:
35
36
 
36
37
  @property
37
38
  @pulumi.getter(name="managedObjectType")
38
- def managed_object_type(self) -> Optional[pulumi.Input[str]]:
39
+ def managed_object_type(self) -> Optional[pulumi.Input[builtins.str]]:
39
40
  """
40
41
  The object type that this attribute may be
41
42
  applied to. If not set, the custom attribute may be applied to any object
@@ -44,33 +45,33 @@ class CustomAttributeArgs:
44
45
  return pulumi.get(self, "managed_object_type")
45
46
 
46
47
  @managed_object_type.setter
47
- def managed_object_type(self, value: Optional[pulumi.Input[str]]):
48
+ def managed_object_type(self, value: Optional[pulumi.Input[builtins.str]]):
48
49
  pulumi.set(self, "managed_object_type", value)
49
50
 
50
51
  @property
51
52
  @pulumi.getter
52
- def name(self) -> Optional[pulumi.Input[str]]:
53
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
53
54
  """
54
55
  The name of the custom attribute.
55
56
  """
56
57
  return pulumi.get(self, "name")
57
58
 
58
59
  @name.setter
59
- def name(self, value: Optional[pulumi.Input[str]]):
60
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
60
61
  pulumi.set(self, "name", value)
61
62
 
62
63
 
63
64
  @pulumi.input_type
64
65
  class _CustomAttributeState:
65
66
  def __init__(__self__, *,
66
- managed_object_type: Optional[pulumi.Input[str]] = None,
67
- name: Optional[pulumi.Input[str]] = None):
67
+ managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
68
+ name: Optional[pulumi.Input[builtins.str]] = None):
68
69
  """
69
70
  Input properties used for looking up and filtering CustomAttribute resources.
70
- :param pulumi.Input[str] managed_object_type: The object type that this attribute may be
71
+ :param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
71
72
  applied to. If not set, the custom attribute may be applied to any object
72
73
  type. For a full list, review the Managed Object Types. Forces a new resource if changed.
73
- :param pulumi.Input[str] name: The name of the custom attribute.
74
+ :param pulumi.Input[builtins.str] name: The name of the custom attribute.
74
75
  """
75
76
  if managed_object_type is not None:
76
77
  pulumi.set(__self__, "managed_object_type", managed_object_type)
@@ -79,7 +80,7 @@ class _CustomAttributeState:
79
80
 
80
81
  @property
81
82
  @pulumi.getter(name="managedObjectType")
82
- def managed_object_type(self) -> Optional[pulumi.Input[str]]:
83
+ def managed_object_type(self) -> Optional[pulumi.Input[builtins.str]]:
83
84
  """
84
85
  The object type that this attribute may be
85
86
  applied to. If not set, the custom attribute may be applied to any object
@@ -88,29 +89,32 @@ class _CustomAttributeState:
88
89
  return pulumi.get(self, "managed_object_type")
89
90
 
90
91
  @managed_object_type.setter
91
- def managed_object_type(self, value: Optional[pulumi.Input[str]]):
92
+ def managed_object_type(self, value: Optional[pulumi.Input[builtins.str]]):
92
93
  pulumi.set(self, "managed_object_type", value)
93
94
 
94
95
  @property
95
96
  @pulumi.getter
96
- def name(self) -> Optional[pulumi.Input[str]]:
97
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
97
98
  """
98
99
  The name of the custom attribute.
99
100
  """
100
101
  return pulumi.get(self, "name")
101
102
 
102
103
  @name.setter
103
- def name(self, value: Optional[pulumi.Input[str]]):
104
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
104
105
  pulumi.set(self, "name", value)
105
106
 
106
107
 
107
108
  class CustomAttribute(pulumi.CustomResource):
109
+
110
+ pulumi_type = "vsphere:index/customAttribute:CustomAttribute"
111
+
108
112
  @overload
109
113
  def __init__(__self__,
110
114
  resource_name: str,
111
115
  opts: Optional[pulumi.ResourceOptions] = None,
112
- managed_object_type: Optional[pulumi.Input[str]] = None,
113
- name: Optional[pulumi.Input[str]] = None,
116
+ managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
117
+ name: Optional[pulumi.Input[builtins.str]] = None,
114
118
  __props__=None):
115
119
  """
116
120
  The `CustomAttribute` resource can be used to create and manage custom
@@ -151,10 +155,10 @@ class CustomAttribute(pulumi.CustomResource):
151
155
 
152
156
  :param str resource_name: The name of the resource.
153
157
  :param pulumi.ResourceOptions opts: Options for the resource.
154
- :param pulumi.Input[str] managed_object_type: The object type that this attribute may be
158
+ :param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
155
159
  applied to. If not set, the custom attribute may be applied to any object
156
160
  type. For a full list, review the Managed Object Types. Forces a new resource if changed.
157
- :param pulumi.Input[str] name: The name of the custom attribute.
161
+ :param pulumi.Input[builtins.str] name: The name of the custom attribute.
158
162
  """
159
163
  ...
160
164
  @overload
@@ -214,8 +218,8 @@ class CustomAttribute(pulumi.CustomResource):
214
218
  def _internal_init(__self__,
215
219
  resource_name: str,
216
220
  opts: Optional[pulumi.ResourceOptions] = None,
217
- managed_object_type: Optional[pulumi.Input[str]] = None,
218
- name: Optional[pulumi.Input[str]] = None,
221
+ managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
222
+ name: Optional[pulumi.Input[builtins.str]] = None,
219
223
  __props__=None):
220
224
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
221
225
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -237,8 +241,8 @@ class CustomAttribute(pulumi.CustomResource):
237
241
  def get(resource_name: str,
238
242
  id: pulumi.Input[str],
239
243
  opts: Optional[pulumi.ResourceOptions] = None,
240
- managed_object_type: Optional[pulumi.Input[str]] = None,
241
- name: Optional[pulumi.Input[str]] = None) -> 'CustomAttribute':
244
+ managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
245
+ name: Optional[pulumi.Input[builtins.str]] = None) -> 'CustomAttribute':
242
246
  """
243
247
  Get an existing CustomAttribute resource's state with the given name, id, and optional extra
244
248
  properties used to qualify the lookup.
@@ -246,10 +250,10 @@ class CustomAttribute(pulumi.CustomResource):
246
250
  :param str resource_name: The unique name of the resulting resource.
247
251
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
248
252
  :param pulumi.ResourceOptions opts: Options for the resource.
249
- :param pulumi.Input[str] managed_object_type: The object type that this attribute may be
253
+ :param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
250
254
  applied to. If not set, the custom attribute may be applied to any object
251
255
  type. For a full list, review the Managed Object Types. Forces a new resource if changed.
252
- :param pulumi.Input[str] name: The name of the custom attribute.
256
+ :param pulumi.Input[builtins.str] name: The name of the custom attribute.
253
257
  """
254
258
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
255
259
 
@@ -261,7 +265,7 @@ class CustomAttribute(pulumi.CustomResource):
261
265
 
262
266
  @property
263
267
  @pulumi.getter(name="managedObjectType")
264
- def managed_object_type(self) -> pulumi.Output[Optional[str]]:
268
+ def managed_object_type(self) -> pulumi.Output[Optional[builtins.str]]:
265
269
  """
266
270
  The object type that this attribute may be
267
271
  applied to. If not set, the custom attribute may be applied to any object
@@ -271,7 +275,7 @@ class CustomAttribute(pulumi.CustomResource):
271
275
 
272
276
  @property
273
277
  @pulumi.getter
274
- def name(self) -> pulumi.Output[str]:
278
+ def name(self) -> pulumi.Output[builtins.str]:
275
279
  """
276
280
  The name of the custom attribute.
277
281
  """
@@ -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,13 +20,13 @@ __all__ = ['DatacenterArgs', 'Datacenter']
19
20
  @pulumi.input_type
20
21
  class DatacenterArgs:
21
22
  def __init__(__self__, *,
22
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
23
- folder: Optional[pulumi.Input[str]] = None,
24
- name: Optional[pulumi.Input[str]] = None,
25
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
23
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
24
+ folder: Optional[pulumi.Input[builtins.str]] = None,
25
+ name: Optional[pulumi.Input[builtins.str]] = None,
26
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
26
27
  """
27
28
  The set of arguments for constructing a Datacenter resource.
28
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
29
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
29
30
  strings to set for datacenter resource. See
30
31
  [here][docs-setting-custom-attributes] for a reference on how to set values
31
32
  for custom attributes.
@@ -34,11 +35,11 @@ class DatacenterArgs:
34
35
 
35
36
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
36
37
  and require vCenter.
37
- :param pulumi.Input[str] folder: The folder where the datacenter should be created.
38
+ :param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
38
39
  Forces a new resource if changed.
39
- :param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
40
+ :param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
40
41
  within the folder. Forces a new resource if changed.
41
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
42
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
42
43
  """
43
44
  if custom_attributes is not None:
44
45
  pulumi.set(__self__, "custom_attributes", custom_attributes)
@@ -51,7 +52,7 @@ class DatacenterArgs:
51
52
 
52
53
  @property
53
54
  @pulumi.getter(name="customAttributes")
54
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
55
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
55
56
  """
56
57
  Map of custom attribute ids to value
57
58
  strings to set for datacenter resource. See
@@ -66,12 +67,12 @@ class DatacenterArgs:
66
67
  return pulumi.get(self, "custom_attributes")
67
68
 
68
69
  @custom_attributes.setter
69
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
70
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
70
71
  pulumi.set(self, "custom_attributes", value)
71
72
 
72
73
  @property
73
74
  @pulumi.getter
74
- def folder(self) -> Optional[pulumi.Input[str]]:
75
+ def folder(self) -> Optional[pulumi.Input[builtins.str]]:
75
76
  """
76
77
  The folder where the datacenter should be created.
77
78
  Forces a new resource if changed.
@@ -79,12 +80,12 @@ class DatacenterArgs:
79
80
  return pulumi.get(self, "folder")
80
81
 
81
82
  @folder.setter
82
- def folder(self, value: Optional[pulumi.Input[str]]):
83
+ def folder(self, value: Optional[pulumi.Input[builtins.str]]):
83
84
  pulumi.set(self, "folder", value)
84
85
 
85
86
  @property
86
87
  @pulumi.getter
87
- def name(self) -> Optional[pulumi.Input[str]]:
88
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
88
89
  """
89
90
  The name of the datacenter. This name needs to be unique
90
91
  within the folder. Forces a new resource if changed.
@@ -92,33 +93,33 @@ class DatacenterArgs:
92
93
  return pulumi.get(self, "name")
93
94
 
94
95
  @name.setter
95
- def name(self, value: Optional[pulumi.Input[str]]):
96
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
96
97
  pulumi.set(self, "name", value)
97
98
 
98
99
  @property
99
100
  @pulumi.getter
100
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
101
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
101
102
  """
102
103
  The IDs of any tags to attach to this resource.
103
104
  """
104
105
  return pulumi.get(self, "tags")
105
106
 
106
107
  @tags.setter
107
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
108
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
108
109
  pulumi.set(self, "tags", value)
109
110
 
110
111
 
111
112
  @pulumi.input_type
112
113
  class _DatacenterState:
113
114
  def __init__(__self__, *,
114
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
115
- folder: Optional[pulumi.Input[str]] = None,
116
- moid: Optional[pulumi.Input[str]] = None,
117
- name: Optional[pulumi.Input[str]] = None,
118
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
115
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
116
+ folder: Optional[pulumi.Input[builtins.str]] = None,
117
+ moid: Optional[pulumi.Input[builtins.str]] = None,
118
+ name: Optional[pulumi.Input[builtins.str]] = None,
119
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
119
120
  """
120
121
  Input properties used for looking up and filtering Datacenter resources.
121
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
122
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
122
123
  strings to set for datacenter resource. See
123
124
  [here][docs-setting-custom-attributes] for a reference on how to set values
124
125
  for custom attributes.
@@ -127,12 +128,12 @@ class _DatacenterState:
127
128
 
128
129
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
129
130
  and require vCenter.
130
- :param pulumi.Input[str] folder: The folder where the datacenter should be created.
131
+ :param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
131
132
  Forces a new resource if changed.
132
- :param pulumi.Input[str] moid: Managed object ID of this datacenter.
133
- :param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
133
+ :param pulumi.Input[builtins.str] moid: Managed object ID of this datacenter.
134
+ :param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
134
135
  within the folder. Forces a new resource if changed.
135
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
136
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
136
137
  """
137
138
  if custom_attributes is not None:
138
139
  pulumi.set(__self__, "custom_attributes", custom_attributes)
@@ -147,7 +148,7 @@ class _DatacenterState:
147
148
 
148
149
  @property
149
150
  @pulumi.getter(name="customAttributes")
150
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
151
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
151
152
  """
152
153
  Map of custom attribute ids to value
153
154
  strings to set for datacenter resource. See
@@ -162,12 +163,12 @@ class _DatacenterState:
162
163
  return pulumi.get(self, "custom_attributes")
163
164
 
164
165
  @custom_attributes.setter
165
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
166
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
166
167
  pulumi.set(self, "custom_attributes", value)
167
168
 
168
169
  @property
169
170
  @pulumi.getter
170
- def folder(self) -> Optional[pulumi.Input[str]]:
171
+ def folder(self) -> Optional[pulumi.Input[builtins.str]]:
171
172
  """
172
173
  The folder where the datacenter should be created.
173
174
  Forces a new resource if changed.
@@ -175,24 +176,24 @@ class _DatacenterState:
175
176
  return pulumi.get(self, "folder")
176
177
 
177
178
  @folder.setter
178
- def folder(self, value: Optional[pulumi.Input[str]]):
179
+ def folder(self, value: Optional[pulumi.Input[builtins.str]]):
179
180
  pulumi.set(self, "folder", value)
180
181
 
181
182
  @property
182
183
  @pulumi.getter
183
- def moid(self) -> Optional[pulumi.Input[str]]:
184
+ def moid(self) -> Optional[pulumi.Input[builtins.str]]:
184
185
  """
185
186
  Managed object ID of this datacenter.
186
187
  """
187
188
  return pulumi.get(self, "moid")
188
189
 
189
190
  @moid.setter
190
- def moid(self, value: Optional[pulumi.Input[str]]):
191
+ def moid(self, value: Optional[pulumi.Input[builtins.str]]):
191
192
  pulumi.set(self, "moid", value)
192
193
 
193
194
  @property
194
195
  @pulumi.getter
195
- def name(self) -> Optional[pulumi.Input[str]]:
196
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
196
197
  """
197
198
  The name of the datacenter. This name needs to be unique
198
199
  within the folder. Forces a new resource if changed.
@@ -200,31 +201,34 @@ class _DatacenterState:
200
201
  return pulumi.get(self, "name")
201
202
 
202
203
  @name.setter
203
- def name(self, value: Optional[pulumi.Input[str]]):
204
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
204
205
  pulumi.set(self, "name", value)
205
206
 
206
207
  @property
207
208
  @pulumi.getter
208
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
209
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
209
210
  """
210
211
  The IDs of any tags to attach to this resource.
211
212
  """
212
213
  return pulumi.get(self, "tags")
213
214
 
214
215
  @tags.setter
215
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
216
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
216
217
  pulumi.set(self, "tags", value)
217
218
 
218
219
 
219
220
  class Datacenter(pulumi.CustomResource):
221
+
222
+ pulumi_type = "vsphere:index/datacenter:Datacenter"
223
+
220
224
  @overload
221
225
  def __init__(__self__,
222
226
  resource_name: str,
223
227
  opts: Optional[pulumi.ResourceOptions] = None,
224
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
225
- folder: Optional[pulumi.Input[str]] = None,
226
- name: Optional[pulumi.Input[str]] = None,
227
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
228
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
229
+ folder: Optional[pulumi.Input[builtins.str]] = None,
230
+ name: Optional[pulumi.Input[builtins.str]] = None,
231
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
228
232
  __props__=None):
229
233
  """
230
234
  Provides a VMware vSphere datacenter resource. This can be used as the primary
@@ -268,7 +272,7 @@ class Datacenter(pulumi.CustomResource):
268
272
 
269
273
  :param str resource_name: The name of the resource.
270
274
  :param pulumi.ResourceOptions opts: Options for the resource.
271
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
275
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
272
276
  strings to set for datacenter resource. See
273
277
  [here][docs-setting-custom-attributes] for a reference on how to set values
274
278
  for custom attributes.
@@ -277,11 +281,11 @@ class Datacenter(pulumi.CustomResource):
277
281
 
278
282
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
279
283
  and require vCenter.
280
- :param pulumi.Input[str] folder: The folder where the datacenter should be created.
284
+ :param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
281
285
  Forces a new resource if changed.
282
- :param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
286
+ :param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
283
287
  within the folder. Forces a new resource if changed.
284
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
288
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
285
289
  """
286
290
  ...
287
291
  @overload
@@ -344,10 +348,10 @@ class Datacenter(pulumi.CustomResource):
344
348
  def _internal_init(__self__,
345
349
  resource_name: str,
346
350
  opts: Optional[pulumi.ResourceOptions] = None,
347
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
348
- folder: Optional[pulumi.Input[str]] = None,
349
- name: Optional[pulumi.Input[str]] = None,
350
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
351
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
352
+ folder: Optional[pulumi.Input[builtins.str]] = None,
353
+ name: Optional[pulumi.Input[builtins.str]] = None,
354
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
351
355
  __props__=None):
352
356
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
353
357
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -372,11 +376,11 @@ class Datacenter(pulumi.CustomResource):
372
376
  def get(resource_name: str,
373
377
  id: pulumi.Input[str],
374
378
  opts: Optional[pulumi.ResourceOptions] = None,
375
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
376
- folder: Optional[pulumi.Input[str]] = None,
377
- moid: Optional[pulumi.Input[str]] = None,
378
- name: Optional[pulumi.Input[str]] = None,
379
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'Datacenter':
379
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
380
+ folder: Optional[pulumi.Input[builtins.str]] = None,
381
+ moid: Optional[pulumi.Input[builtins.str]] = None,
382
+ name: Optional[pulumi.Input[builtins.str]] = None,
383
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'Datacenter':
380
384
  """
381
385
  Get an existing Datacenter resource's state with the given name, id, and optional extra
382
386
  properties used to qualify the lookup.
@@ -384,7 +388,7 @@ class Datacenter(pulumi.CustomResource):
384
388
  :param str resource_name: The unique name of the resulting resource.
385
389
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
386
390
  :param pulumi.ResourceOptions opts: Options for the resource.
387
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
391
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
388
392
  strings to set for datacenter resource. See
389
393
  [here][docs-setting-custom-attributes] for a reference on how to set values
390
394
  for custom attributes.
@@ -393,12 +397,12 @@ class Datacenter(pulumi.CustomResource):
393
397
 
394
398
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
395
399
  and require vCenter.
396
- :param pulumi.Input[str] folder: The folder where the datacenter should be created.
400
+ :param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
397
401
  Forces a new resource if changed.
398
- :param pulumi.Input[str] moid: Managed object ID of this datacenter.
399
- :param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
402
+ :param pulumi.Input[builtins.str] moid: Managed object ID of this datacenter.
403
+ :param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
400
404
  within the folder. Forces a new resource if changed.
401
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
405
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
402
406
  """
403
407
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
404
408
 
@@ -413,7 +417,7 @@ class Datacenter(pulumi.CustomResource):
413
417
 
414
418
  @property
415
419
  @pulumi.getter(name="customAttributes")
416
- def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
420
+ def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
417
421
  """
418
422
  Map of custom attribute ids to value
419
423
  strings to set for datacenter resource. See
@@ -429,7 +433,7 @@ class Datacenter(pulumi.CustomResource):
429
433
 
430
434
  @property
431
435
  @pulumi.getter
432
- def folder(self) -> pulumi.Output[Optional[str]]:
436
+ def folder(self) -> pulumi.Output[Optional[builtins.str]]:
433
437
  """
434
438
  The folder where the datacenter should be created.
435
439
  Forces a new resource if changed.
@@ -438,7 +442,7 @@ class Datacenter(pulumi.CustomResource):
438
442
 
439
443
  @property
440
444
  @pulumi.getter
441
- def moid(self) -> pulumi.Output[str]:
445
+ def moid(self) -> pulumi.Output[builtins.str]:
442
446
  """
443
447
  Managed object ID of this datacenter.
444
448
  """
@@ -446,7 +450,7 @@ class Datacenter(pulumi.CustomResource):
446
450
 
447
451
  @property
448
452
  @pulumi.getter
449
- def name(self) -> pulumi.Output[str]:
453
+ def name(self) -> pulumi.Output[builtins.str]:
450
454
  """
451
455
  The name of the datacenter. This name needs to be unique
452
456
  within the folder. Forces a new resource if changed.
@@ -455,7 +459,7 @@ class Datacenter(pulumi.CustomResource):
455
459
 
456
460
  @property
457
461
  @pulumi.getter
458
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
462
+ def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
459
463
  """
460
464
  The IDs of any tags to attach to this resource.
461
465
  """