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,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,30 @@ 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
 
108
+ @pulumi.type_token("vsphere:index/customAttribute:CustomAttribute")
107
109
  class CustomAttribute(pulumi.CustomResource):
108
110
  @overload
109
111
  def __init__(__self__,
110
112
  resource_name: str,
111
113
  opts: Optional[pulumi.ResourceOptions] = None,
112
- managed_object_type: Optional[pulumi.Input[str]] = None,
113
- name: Optional[pulumi.Input[str]] = None,
114
+ managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
115
+ name: Optional[pulumi.Input[builtins.str]] = None,
114
116
  __props__=None):
115
117
  """
116
118
  The `CustomAttribute` resource can be used to create and manage custom
@@ -151,10 +153,10 @@ class CustomAttribute(pulumi.CustomResource):
151
153
 
152
154
  :param str resource_name: The name of the resource.
153
155
  :param pulumi.ResourceOptions opts: Options for the resource.
154
- :param pulumi.Input[str] managed_object_type: The object type that this attribute may be
156
+ :param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
155
157
  applied to. If not set, the custom attribute may be applied to any object
156
158
  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.
159
+ :param pulumi.Input[builtins.str] name: The name of the custom attribute.
158
160
  """
159
161
  ...
160
162
  @overload
@@ -214,8 +216,8 @@ class CustomAttribute(pulumi.CustomResource):
214
216
  def _internal_init(__self__,
215
217
  resource_name: str,
216
218
  opts: Optional[pulumi.ResourceOptions] = None,
217
- managed_object_type: Optional[pulumi.Input[str]] = None,
218
- name: Optional[pulumi.Input[str]] = None,
219
+ managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
220
+ name: Optional[pulumi.Input[builtins.str]] = None,
219
221
  __props__=None):
220
222
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
221
223
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -237,8 +239,8 @@ class CustomAttribute(pulumi.CustomResource):
237
239
  def get(resource_name: str,
238
240
  id: pulumi.Input[str],
239
241
  opts: Optional[pulumi.ResourceOptions] = None,
240
- managed_object_type: Optional[pulumi.Input[str]] = None,
241
- name: Optional[pulumi.Input[str]] = None) -> 'CustomAttribute':
242
+ managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
243
+ name: Optional[pulumi.Input[builtins.str]] = None) -> 'CustomAttribute':
242
244
  """
243
245
  Get an existing CustomAttribute resource's state with the given name, id, and optional extra
244
246
  properties used to qualify the lookup.
@@ -246,10 +248,10 @@ class CustomAttribute(pulumi.CustomResource):
246
248
  :param str resource_name: The unique name of the resulting resource.
247
249
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
248
250
  :param pulumi.ResourceOptions opts: Options for the resource.
249
- :param pulumi.Input[str] managed_object_type: The object type that this attribute may be
251
+ :param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
250
252
  applied to. If not set, the custom attribute may be applied to any object
251
253
  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.
254
+ :param pulumi.Input[builtins.str] name: The name of the custom attribute.
253
255
  """
254
256
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
255
257
 
@@ -261,7 +263,7 @@ class CustomAttribute(pulumi.CustomResource):
261
263
 
262
264
  @property
263
265
  @pulumi.getter(name="managedObjectType")
264
- def managed_object_type(self) -> pulumi.Output[Optional[str]]:
266
+ def managed_object_type(self) -> pulumi.Output[Optional[builtins.str]]:
265
267
  """
266
268
  The object type that this attribute may be
267
269
  applied to. If not set, the custom attribute may be applied to any object
@@ -271,7 +273,7 @@ class CustomAttribute(pulumi.CustomResource):
271
273
 
272
274
  @property
273
275
  @pulumi.getter
274
- def name(self) -> pulumi.Output[str]:
276
+ def name(self) -> pulumi.Output[builtins.str]:
275
277
  """
276
278
  The name of the custom attribute.
277
279
  """
@@ -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,32 @@ 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
 
220
+ @pulumi.type_token("vsphere:index/datacenter:Datacenter")
219
221
  class Datacenter(pulumi.CustomResource):
220
222
  @overload
221
223
  def __init__(__self__,
222
224
  resource_name: str,
223
225
  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,
226
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
227
+ folder: Optional[pulumi.Input[builtins.str]] = None,
228
+ name: Optional[pulumi.Input[builtins.str]] = None,
229
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
228
230
  __props__=None):
229
231
  """
230
232
  Provides a VMware vSphere datacenter resource. This can be used as the primary
@@ -268,7 +270,7 @@ class Datacenter(pulumi.CustomResource):
268
270
 
269
271
  :param str resource_name: The name of the resource.
270
272
  :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
273
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
272
274
  strings to set for datacenter resource. See
273
275
  [here][docs-setting-custom-attributes] for a reference on how to set values
274
276
  for custom attributes.
@@ -277,11 +279,11 @@ class Datacenter(pulumi.CustomResource):
277
279
 
278
280
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
279
281
  and require vCenter.
280
- :param pulumi.Input[str] folder: The folder where the datacenter should be created.
282
+ :param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
281
283
  Forces a new resource if changed.
282
- :param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
284
+ :param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
283
285
  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.
286
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
285
287
  """
286
288
  ...
287
289
  @overload
@@ -344,10 +346,10 @@ class Datacenter(pulumi.CustomResource):
344
346
  def _internal_init(__self__,
345
347
  resource_name: str,
346
348
  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,
349
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
350
+ folder: Optional[pulumi.Input[builtins.str]] = None,
351
+ name: Optional[pulumi.Input[builtins.str]] = None,
352
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
351
353
  __props__=None):
352
354
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
353
355
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -372,11 +374,11 @@ class Datacenter(pulumi.CustomResource):
372
374
  def get(resource_name: str,
373
375
  id: pulumi.Input[str],
374
376
  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':
377
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
378
+ folder: Optional[pulumi.Input[builtins.str]] = None,
379
+ moid: Optional[pulumi.Input[builtins.str]] = None,
380
+ name: Optional[pulumi.Input[builtins.str]] = None,
381
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'Datacenter':
380
382
  """
381
383
  Get an existing Datacenter resource's state with the given name, id, and optional extra
382
384
  properties used to qualify the lookup.
@@ -384,7 +386,7 @@ class Datacenter(pulumi.CustomResource):
384
386
  :param str resource_name: The unique name of the resulting resource.
385
387
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
386
388
  :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
389
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
388
390
  strings to set for datacenter resource. See
389
391
  [here][docs-setting-custom-attributes] for a reference on how to set values
390
392
  for custom attributes.
@@ -393,12 +395,12 @@ class Datacenter(pulumi.CustomResource):
393
395
 
394
396
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
395
397
  and require vCenter.
396
- :param pulumi.Input[str] folder: The folder where the datacenter should be created.
398
+ :param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
397
399
  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
400
+ :param pulumi.Input[builtins.str] moid: Managed object ID of this datacenter.
401
+ :param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
400
402
  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.
403
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
402
404
  """
403
405
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
404
406
 
@@ -413,7 +415,7 @@ class Datacenter(pulumi.CustomResource):
413
415
 
414
416
  @property
415
417
  @pulumi.getter(name="customAttributes")
416
- def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
418
+ def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
417
419
  """
418
420
  Map of custom attribute ids to value
419
421
  strings to set for datacenter resource. See
@@ -429,7 +431,7 @@ class Datacenter(pulumi.CustomResource):
429
431
 
430
432
  @property
431
433
  @pulumi.getter
432
- def folder(self) -> pulumi.Output[Optional[str]]:
434
+ def folder(self) -> pulumi.Output[Optional[builtins.str]]:
433
435
  """
434
436
  The folder where the datacenter should be created.
435
437
  Forces a new resource if changed.
@@ -438,7 +440,7 @@ class Datacenter(pulumi.CustomResource):
438
440
 
439
441
  @property
440
442
  @pulumi.getter
441
- def moid(self) -> pulumi.Output[str]:
443
+ def moid(self) -> pulumi.Output[builtins.str]:
442
444
  """
443
445
  Managed object ID of this datacenter.
444
446
  """
@@ -446,7 +448,7 @@ class Datacenter(pulumi.CustomResource):
446
448
 
447
449
  @property
448
450
  @pulumi.getter
449
- def name(self) -> pulumi.Output[str]:
451
+ def name(self) -> pulumi.Output[builtins.str]:
450
452
  """
451
453
  The name of the datacenter. This name needs to be unique
452
454
  within the folder. Forces a new resource if changed.
@@ -455,7 +457,7 @@ class Datacenter(pulumi.CustomResource):
455
457
 
456
458
  @property
457
459
  @pulumi.getter
458
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
460
+ def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
459
461
  """
460
462
  The IDs of any tags to attach to this resource.
461
463
  """