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,16 +20,16 @@ __all__ = ['DistributedVirtualSwitchPvlanMappingInitArgs', 'DistributedVirtualSw
19
20
  @pulumi.input_type
20
21
  class DistributedVirtualSwitchPvlanMappingInitArgs:
21
22
  def __init__(__self__, *,
22
- distributed_virtual_switch_id: pulumi.Input[str],
23
- primary_vlan_id: pulumi.Input[int],
24
- pvlan_type: pulumi.Input[str],
25
- secondary_vlan_id: pulumi.Input[int]):
23
+ distributed_virtual_switch_id: pulumi.Input[builtins.str],
24
+ primary_vlan_id: pulumi.Input[builtins.int],
25
+ pvlan_type: pulumi.Input[builtins.str],
26
+ secondary_vlan_id: pulumi.Input[builtins.int]):
26
27
  """
27
28
  The set of arguments for constructing a DistributedVirtualSwitchPvlanMapping resource.
28
- :param pulumi.Input[str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
29
- :param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
30
- :param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
31
- :param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
29
+ :param pulumi.Input[builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
30
+ :param pulumi.Input[builtins.int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
31
+ :param pulumi.Input[builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
32
+ :param pulumi.Input[builtins.int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
32
33
  """
33
34
  pulumi.set(__self__, "distributed_virtual_switch_id", distributed_virtual_switch_id)
34
35
  pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
@@ -37,66 +38,66 @@ class DistributedVirtualSwitchPvlanMappingInitArgs:
37
38
 
38
39
  @property
39
40
  @pulumi.getter(name="distributedVirtualSwitchId")
40
- def distributed_virtual_switch_id(self) -> pulumi.Input[str]:
41
+ def distributed_virtual_switch_id(self) -> pulumi.Input[builtins.str]:
41
42
  """
42
43
  The ID of the distributed virtual switch to attach this mapping to.
43
44
  """
44
45
  return pulumi.get(self, "distributed_virtual_switch_id")
45
46
 
46
47
  @distributed_virtual_switch_id.setter
47
- def distributed_virtual_switch_id(self, value: pulumi.Input[str]):
48
+ def distributed_virtual_switch_id(self, value: pulumi.Input[builtins.str]):
48
49
  pulumi.set(self, "distributed_virtual_switch_id", value)
49
50
 
50
51
  @property
51
52
  @pulumi.getter(name="primaryVlanId")
52
- def primary_vlan_id(self) -> pulumi.Input[int]:
53
+ def primary_vlan_id(self) -> pulumi.Input[builtins.int]:
53
54
  """
54
55
  The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
55
56
  """
56
57
  return pulumi.get(self, "primary_vlan_id")
57
58
 
58
59
  @primary_vlan_id.setter
59
- def primary_vlan_id(self, value: pulumi.Input[int]):
60
+ def primary_vlan_id(self, value: pulumi.Input[builtins.int]):
60
61
  pulumi.set(self, "primary_vlan_id", value)
61
62
 
62
63
  @property
63
64
  @pulumi.getter(name="pvlanType")
64
- def pvlan_type(self) -> pulumi.Input[str]:
65
+ def pvlan_type(self) -> pulumi.Input[builtins.str]:
65
66
  """
66
67
  The private VLAN type. Valid values are promiscuous, community and isolated.
67
68
  """
68
69
  return pulumi.get(self, "pvlan_type")
69
70
 
70
71
  @pvlan_type.setter
71
- def pvlan_type(self, value: pulumi.Input[str]):
72
+ def pvlan_type(self, value: pulumi.Input[builtins.str]):
72
73
  pulumi.set(self, "pvlan_type", value)
73
74
 
74
75
  @property
75
76
  @pulumi.getter(name="secondaryVlanId")
76
- def secondary_vlan_id(self) -> pulumi.Input[int]:
77
+ def secondary_vlan_id(self) -> pulumi.Input[builtins.int]:
77
78
  """
78
79
  The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
79
80
  """
80
81
  return pulumi.get(self, "secondary_vlan_id")
81
82
 
82
83
  @secondary_vlan_id.setter
83
- def secondary_vlan_id(self, value: pulumi.Input[int]):
84
+ def secondary_vlan_id(self, value: pulumi.Input[builtins.int]):
84
85
  pulumi.set(self, "secondary_vlan_id", value)
85
86
 
86
87
 
87
88
  @pulumi.input_type
88
89
  class _DistributedVirtualSwitchPvlanMappingState:
89
90
  def __init__(__self__, *,
90
- distributed_virtual_switch_id: Optional[pulumi.Input[str]] = None,
91
- primary_vlan_id: Optional[pulumi.Input[int]] = None,
92
- pvlan_type: Optional[pulumi.Input[str]] = None,
93
- secondary_vlan_id: Optional[pulumi.Input[int]] = None):
91
+ distributed_virtual_switch_id: Optional[pulumi.Input[builtins.str]] = None,
92
+ primary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
93
+ pvlan_type: Optional[pulumi.Input[builtins.str]] = None,
94
+ secondary_vlan_id: Optional[pulumi.Input[builtins.int]] = None):
94
95
  """
95
96
  Input properties used for looking up and filtering DistributedVirtualSwitchPvlanMapping resources.
96
- :param pulumi.Input[str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
97
- :param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
98
- :param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
99
- :param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
97
+ :param pulumi.Input[builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
98
+ :param pulumi.Input[builtins.int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
99
+ :param pulumi.Input[builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
100
+ :param pulumi.Input[builtins.int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
100
101
  """
101
102
  if distributed_virtual_switch_id is not None:
102
103
  pulumi.set(__self__, "distributed_virtual_switch_id", distributed_virtual_switch_id)
@@ -109,71 +110,72 @@ class _DistributedVirtualSwitchPvlanMappingState:
109
110
 
110
111
  @property
111
112
  @pulumi.getter(name="distributedVirtualSwitchId")
112
- def distributed_virtual_switch_id(self) -> Optional[pulumi.Input[str]]:
113
+ def distributed_virtual_switch_id(self) -> Optional[pulumi.Input[builtins.str]]:
113
114
  """
114
115
  The ID of the distributed virtual switch to attach this mapping to.
115
116
  """
116
117
  return pulumi.get(self, "distributed_virtual_switch_id")
117
118
 
118
119
  @distributed_virtual_switch_id.setter
119
- def distributed_virtual_switch_id(self, value: Optional[pulumi.Input[str]]):
120
+ def distributed_virtual_switch_id(self, value: Optional[pulumi.Input[builtins.str]]):
120
121
  pulumi.set(self, "distributed_virtual_switch_id", value)
121
122
 
122
123
  @property
123
124
  @pulumi.getter(name="primaryVlanId")
124
- def primary_vlan_id(self) -> Optional[pulumi.Input[int]]:
125
+ def primary_vlan_id(self) -> Optional[pulumi.Input[builtins.int]]:
125
126
  """
126
127
  The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
127
128
  """
128
129
  return pulumi.get(self, "primary_vlan_id")
129
130
 
130
131
  @primary_vlan_id.setter
131
- def primary_vlan_id(self, value: Optional[pulumi.Input[int]]):
132
+ def primary_vlan_id(self, value: Optional[pulumi.Input[builtins.int]]):
132
133
  pulumi.set(self, "primary_vlan_id", value)
133
134
 
134
135
  @property
135
136
  @pulumi.getter(name="pvlanType")
136
- def pvlan_type(self) -> Optional[pulumi.Input[str]]:
137
+ def pvlan_type(self) -> Optional[pulumi.Input[builtins.str]]:
137
138
  """
138
139
  The private VLAN type. Valid values are promiscuous, community and isolated.
139
140
  """
140
141
  return pulumi.get(self, "pvlan_type")
141
142
 
142
143
  @pvlan_type.setter
143
- def pvlan_type(self, value: Optional[pulumi.Input[str]]):
144
+ def pvlan_type(self, value: Optional[pulumi.Input[builtins.str]]):
144
145
  pulumi.set(self, "pvlan_type", value)
145
146
 
146
147
  @property
147
148
  @pulumi.getter(name="secondaryVlanId")
148
- def secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
149
+ def secondary_vlan_id(self) -> Optional[pulumi.Input[builtins.int]]:
149
150
  """
150
151
  The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
151
152
  """
152
153
  return pulumi.get(self, "secondary_vlan_id")
153
154
 
154
155
  @secondary_vlan_id.setter
155
- def secondary_vlan_id(self, value: Optional[pulumi.Input[int]]):
156
+ def secondary_vlan_id(self, value: Optional[pulumi.Input[builtins.int]]):
156
157
  pulumi.set(self, "secondary_vlan_id", value)
157
158
 
158
159
 
160
+ @pulumi.type_token("vsphere:index/distributedVirtualSwitchPvlanMapping:DistributedVirtualSwitchPvlanMapping")
159
161
  class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
160
162
  @overload
161
163
  def __init__(__self__,
162
164
  resource_name: str,
163
165
  opts: Optional[pulumi.ResourceOptions] = None,
164
- distributed_virtual_switch_id: Optional[pulumi.Input[str]] = None,
165
- primary_vlan_id: Optional[pulumi.Input[int]] = None,
166
- pvlan_type: Optional[pulumi.Input[str]] = None,
167
- secondary_vlan_id: Optional[pulumi.Input[int]] = None,
166
+ distributed_virtual_switch_id: Optional[pulumi.Input[builtins.str]] = None,
167
+ primary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
168
+ pvlan_type: Optional[pulumi.Input[builtins.str]] = None,
169
+ secondary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
168
170
  __props__=None):
169
171
  """
170
172
  Create a DistributedVirtualSwitchPvlanMapping resource with the given unique name, props, and options.
171
173
  :param str resource_name: The name of the resource.
172
174
  :param pulumi.ResourceOptions opts: Options for the resource.
173
- :param pulumi.Input[str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
174
- :param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
175
- :param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
176
- :param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
175
+ :param pulumi.Input[builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
176
+ :param pulumi.Input[builtins.int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
177
+ :param pulumi.Input[builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
178
+ :param pulumi.Input[builtins.int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
177
179
  """
178
180
  ...
179
181
  @overload
@@ -198,10 +200,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
198
200
  def _internal_init(__self__,
199
201
  resource_name: str,
200
202
  opts: Optional[pulumi.ResourceOptions] = None,
201
- distributed_virtual_switch_id: Optional[pulumi.Input[str]] = None,
202
- primary_vlan_id: Optional[pulumi.Input[int]] = None,
203
- pvlan_type: Optional[pulumi.Input[str]] = None,
204
- secondary_vlan_id: Optional[pulumi.Input[int]] = None,
203
+ distributed_virtual_switch_id: Optional[pulumi.Input[builtins.str]] = None,
204
+ primary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
205
+ pvlan_type: Optional[pulumi.Input[builtins.str]] = None,
206
+ secondary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
205
207
  __props__=None):
206
208
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
207
209
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -233,10 +235,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
233
235
  def get(resource_name: str,
234
236
  id: pulumi.Input[str],
235
237
  opts: Optional[pulumi.ResourceOptions] = None,
236
- distributed_virtual_switch_id: Optional[pulumi.Input[str]] = None,
237
- primary_vlan_id: Optional[pulumi.Input[int]] = None,
238
- pvlan_type: Optional[pulumi.Input[str]] = None,
239
- secondary_vlan_id: Optional[pulumi.Input[int]] = None) -> 'DistributedVirtualSwitchPvlanMapping':
238
+ distributed_virtual_switch_id: Optional[pulumi.Input[builtins.str]] = None,
239
+ primary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
240
+ pvlan_type: Optional[pulumi.Input[builtins.str]] = None,
241
+ secondary_vlan_id: Optional[pulumi.Input[builtins.int]] = None) -> 'DistributedVirtualSwitchPvlanMapping':
240
242
  """
241
243
  Get an existing DistributedVirtualSwitchPvlanMapping resource's state with the given name, id, and optional extra
242
244
  properties used to qualify the lookup.
@@ -244,10 +246,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
244
246
  :param str resource_name: The unique name of the resulting resource.
245
247
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
246
248
  :param pulumi.ResourceOptions opts: Options for the resource.
247
- :param pulumi.Input[str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
248
- :param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
249
- :param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
250
- :param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
249
+ :param pulumi.Input[builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
250
+ :param pulumi.Input[builtins.int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
251
+ :param pulumi.Input[builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
252
+ :param pulumi.Input[builtins.int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
251
253
  """
252
254
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
253
255
 
@@ -261,7 +263,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
261
263
 
262
264
  @property
263
265
  @pulumi.getter(name="distributedVirtualSwitchId")
264
- def distributed_virtual_switch_id(self) -> pulumi.Output[str]:
266
+ def distributed_virtual_switch_id(self) -> pulumi.Output[builtins.str]:
265
267
  """
266
268
  The ID of the distributed virtual switch to attach this mapping to.
267
269
  """
@@ -269,7 +271,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
269
271
 
270
272
  @property
271
273
  @pulumi.getter(name="primaryVlanId")
272
- def primary_vlan_id(self) -> pulumi.Output[int]:
274
+ def primary_vlan_id(self) -> pulumi.Output[builtins.int]:
273
275
  """
274
276
  The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
275
277
  """
@@ -277,7 +279,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
277
279
 
278
280
  @property
279
281
  @pulumi.getter(name="pvlanType")
280
- def pvlan_type(self) -> pulumi.Output[str]:
282
+ def pvlan_type(self) -> pulumi.Output[builtins.str]:
281
283
  """
282
284
  The private VLAN type. Valid values are promiscuous, community and isolated.
283
285
  """
@@ -285,7 +287,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
285
287
 
286
288
  @property
287
289
  @pulumi.getter(name="secondaryVlanId")
288
- def secondary_vlan_id(self) -> pulumi.Output[int]:
290
+ def secondary_vlan_id(self) -> pulumi.Output[builtins.int]:
289
291
  """
290
292
  The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
291
293
  """
@@ -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,24 +20,24 @@ __all__ = ['DpmHostOverrideArgs', 'DpmHostOverride']
19
20
  @pulumi.input_type
20
21
  class DpmHostOverrideArgs:
21
22
  def __init__(__self__, *,
22
- compute_cluster_id: pulumi.Input[str],
23
- host_system_id: pulumi.Input[str],
24
- dpm_automation_level: Optional[pulumi.Input[str]] = None,
25
- dpm_enabled: Optional[pulumi.Input[bool]] = None):
23
+ compute_cluster_id: pulumi.Input[builtins.str],
24
+ host_system_id: pulumi.Input[builtins.str],
25
+ dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
26
+ dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None):
26
27
  """
27
28
  The set of arguments for constructing a DpmHostOverride resource.
28
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
29
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
29
30
  ID of the cluster to put the override in. Forces a new
30
31
  resource if changed.
31
- :param pulumi.Input[str] host_system_id: The managed object ID of the host.
32
- :param pulumi.Input[str] dpm_automation_level: The automation level for host power
32
+ :param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
33
+ :param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
33
34
  operations on this host. Can be one of `manual` or `automated`. Default:
34
35
  `manual`.
35
36
 
36
37
  > **NOTE:** Using this resource _always_ implies an override, even if one of
37
38
  `dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
38
39
  for both options.
39
- :param pulumi.Input[bool] dpm_enabled: Enable DPM support for this host. Default:
40
+ :param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
40
41
  `false`.
41
42
  """
42
43
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -48,7 +49,7 @@ class DpmHostOverrideArgs:
48
49
 
49
50
  @property
50
51
  @pulumi.getter(name="computeClusterId")
51
- def compute_cluster_id(self) -> pulumi.Input[str]:
52
+ def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
52
53
  """
53
54
  The managed object reference
54
55
  ID of the cluster to put the override in. Forces a new
@@ -57,24 +58,24 @@ class DpmHostOverrideArgs:
57
58
  return pulumi.get(self, "compute_cluster_id")
58
59
 
59
60
  @compute_cluster_id.setter
60
- def compute_cluster_id(self, value: pulumi.Input[str]):
61
+ def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
61
62
  pulumi.set(self, "compute_cluster_id", value)
62
63
 
63
64
  @property
64
65
  @pulumi.getter(name="hostSystemId")
65
- def host_system_id(self) -> pulumi.Input[str]:
66
+ def host_system_id(self) -> pulumi.Input[builtins.str]:
66
67
  """
67
68
  The managed object ID of the host.
68
69
  """
69
70
  return pulumi.get(self, "host_system_id")
70
71
 
71
72
  @host_system_id.setter
72
- def host_system_id(self, value: pulumi.Input[str]):
73
+ def host_system_id(self, value: pulumi.Input[builtins.str]):
73
74
  pulumi.set(self, "host_system_id", value)
74
75
 
75
76
  @property
76
77
  @pulumi.getter(name="dpmAutomationLevel")
77
- def dpm_automation_level(self) -> Optional[pulumi.Input[str]]:
78
+ def dpm_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
78
79
  """
79
80
  The automation level for host power
80
81
  operations on this host. Can be one of `manual` or `automated`. Default:
@@ -87,12 +88,12 @@ class DpmHostOverrideArgs:
87
88
  return pulumi.get(self, "dpm_automation_level")
88
89
 
89
90
  @dpm_automation_level.setter
90
- def dpm_automation_level(self, value: Optional[pulumi.Input[str]]):
91
+ def dpm_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
91
92
  pulumi.set(self, "dpm_automation_level", value)
92
93
 
93
94
  @property
94
95
  @pulumi.getter(name="dpmEnabled")
95
- def dpm_enabled(self) -> Optional[pulumi.Input[bool]]:
96
+ def dpm_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
96
97
  """
97
98
  Enable DPM support for this host. Default:
98
99
  `false`.
@@ -100,32 +101,32 @@ class DpmHostOverrideArgs:
100
101
  return pulumi.get(self, "dpm_enabled")
101
102
 
102
103
  @dpm_enabled.setter
103
- def dpm_enabled(self, value: Optional[pulumi.Input[bool]]):
104
+ def dpm_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
104
105
  pulumi.set(self, "dpm_enabled", value)
105
106
 
106
107
 
107
108
  @pulumi.input_type
108
109
  class _DpmHostOverrideState:
109
110
  def __init__(__self__, *,
110
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
111
- dpm_automation_level: Optional[pulumi.Input[str]] = None,
112
- dpm_enabled: Optional[pulumi.Input[bool]] = None,
113
- host_system_id: Optional[pulumi.Input[str]] = None):
111
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
112
+ dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
113
+ dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
114
+ host_system_id: Optional[pulumi.Input[builtins.str]] = None):
114
115
  """
115
116
  Input properties used for looking up and filtering DpmHostOverride resources.
116
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
117
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
117
118
  ID of the cluster to put the override in. Forces a new
118
119
  resource if changed.
119
- :param pulumi.Input[str] dpm_automation_level: The automation level for host power
120
+ :param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
120
121
  operations on this host. Can be one of `manual` or `automated`. Default:
121
122
  `manual`.
122
123
 
123
124
  > **NOTE:** Using this resource _always_ implies an override, even if one of
124
125
  `dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
125
126
  for both options.
126
- :param pulumi.Input[bool] dpm_enabled: Enable DPM support for this host. Default:
127
+ :param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
127
128
  `false`.
128
- :param pulumi.Input[str] host_system_id: The managed object ID of the host.
129
+ :param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
129
130
  """
130
131
  if compute_cluster_id is not None:
131
132
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -138,7 +139,7 @@ class _DpmHostOverrideState:
138
139
 
139
140
  @property
140
141
  @pulumi.getter(name="computeClusterId")
141
- def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
142
+ def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
142
143
  """
143
144
  The managed object reference
144
145
  ID of the cluster to put the override in. Forces a new
@@ -147,12 +148,12 @@ class _DpmHostOverrideState:
147
148
  return pulumi.get(self, "compute_cluster_id")
148
149
 
149
150
  @compute_cluster_id.setter
150
- def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
151
+ def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
151
152
  pulumi.set(self, "compute_cluster_id", value)
152
153
 
153
154
  @property
154
155
  @pulumi.getter(name="dpmAutomationLevel")
155
- def dpm_automation_level(self) -> Optional[pulumi.Input[str]]:
156
+ def dpm_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
156
157
  """
157
158
  The automation level for host power
158
159
  operations on this host. Can be one of `manual` or `automated`. Default:
@@ -165,12 +166,12 @@ class _DpmHostOverrideState:
165
166
  return pulumi.get(self, "dpm_automation_level")
166
167
 
167
168
  @dpm_automation_level.setter
168
- def dpm_automation_level(self, value: Optional[pulumi.Input[str]]):
169
+ def dpm_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
169
170
  pulumi.set(self, "dpm_automation_level", value)
170
171
 
171
172
  @property
172
173
  @pulumi.getter(name="dpmEnabled")
173
- def dpm_enabled(self) -> Optional[pulumi.Input[bool]]:
174
+ def dpm_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
174
175
  """
175
176
  Enable DPM support for this host. Default:
176
177
  `false`.
@@ -178,31 +179,32 @@ class _DpmHostOverrideState:
178
179
  return pulumi.get(self, "dpm_enabled")
179
180
 
180
181
  @dpm_enabled.setter
181
- def dpm_enabled(self, value: Optional[pulumi.Input[bool]]):
182
+ def dpm_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
182
183
  pulumi.set(self, "dpm_enabled", value)
183
184
 
184
185
  @property
185
186
  @pulumi.getter(name="hostSystemId")
186
- def host_system_id(self) -> Optional[pulumi.Input[str]]:
187
+ def host_system_id(self) -> Optional[pulumi.Input[builtins.str]]:
187
188
  """
188
189
  The managed object ID of the host.
189
190
  """
190
191
  return pulumi.get(self, "host_system_id")
191
192
 
192
193
  @host_system_id.setter
193
- def host_system_id(self, value: Optional[pulumi.Input[str]]):
194
+ def host_system_id(self, value: Optional[pulumi.Input[builtins.str]]):
194
195
  pulumi.set(self, "host_system_id", value)
195
196
 
196
197
 
198
+ @pulumi.type_token("vsphere:index/dpmHostOverride:DpmHostOverride")
197
199
  class DpmHostOverride(pulumi.CustomResource):
198
200
  @overload
199
201
  def __init__(__self__,
200
202
  resource_name: str,
201
203
  opts: Optional[pulumi.ResourceOptions] = None,
202
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
203
- dpm_automation_level: Optional[pulumi.Input[str]] = None,
204
- dpm_enabled: Optional[pulumi.Input[bool]] = None,
205
- host_system_id: Optional[pulumi.Input[str]] = None,
204
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
205
+ dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
206
+ dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
207
+ host_system_id: Optional[pulumi.Input[builtins.str]] = None,
206
208
  __props__=None):
207
209
  """
208
210
  The `DpmHostOverride` resource can be used to add a DPM override to a
@@ -236,19 +238,19 @@ class DpmHostOverride(pulumi.CustomResource):
236
238
 
237
239
  :param str resource_name: The name of the resource.
238
240
  :param pulumi.ResourceOptions opts: Options for the resource.
239
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
241
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
240
242
  ID of the cluster to put the override in. Forces a new
241
243
  resource if changed.
242
- :param pulumi.Input[str] dpm_automation_level: The automation level for host power
244
+ :param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
243
245
  operations on this host. Can be one of `manual` or `automated`. Default:
244
246
  `manual`.
245
247
 
246
248
  > **NOTE:** Using this resource _always_ implies an override, even if one of
247
249
  `dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
248
250
  for both options.
249
- :param pulumi.Input[bool] dpm_enabled: Enable DPM support for this host. Default:
251
+ :param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
250
252
  `false`.
251
- :param pulumi.Input[str] host_system_id: The managed object ID of the host.
253
+ :param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
252
254
  """
253
255
  ...
254
256
  @overload
@@ -301,10 +303,10 @@ class DpmHostOverride(pulumi.CustomResource):
301
303
  def _internal_init(__self__,
302
304
  resource_name: str,
303
305
  opts: Optional[pulumi.ResourceOptions] = None,
304
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
305
- dpm_automation_level: Optional[pulumi.Input[str]] = None,
306
- dpm_enabled: Optional[pulumi.Input[bool]] = None,
307
- host_system_id: Optional[pulumi.Input[str]] = None,
306
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
307
+ dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
308
+ dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
309
+ host_system_id: Optional[pulumi.Input[builtins.str]] = None,
308
310
  __props__=None):
309
311
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
310
312
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -332,10 +334,10 @@ class DpmHostOverride(pulumi.CustomResource):
332
334
  def get(resource_name: str,
333
335
  id: pulumi.Input[str],
334
336
  opts: Optional[pulumi.ResourceOptions] = None,
335
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
336
- dpm_automation_level: Optional[pulumi.Input[str]] = None,
337
- dpm_enabled: Optional[pulumi.Input[bool]] = None,
338
- host_system_id: Optional[pulumi.Input[str]] = None) -> 'DpmHostOverride':
337
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
338
+ dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
339
+ dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
340
+ host_system_id: Optional[pulumi.Input[builtins.str]] = None) -> 'DpmHostOverride':
339
341
  """
340
342
  Get an existing DpmHostOverride resource's state with the given name, id, and optional extra
341
343
  properties used to qualify the lookup.
@@ -343,19 +345,19 @@ class DpmHostOverride(pulumi.CustomResource):
343
345
  :param str resource_name: The unique name of the resulting resource.
344
346
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
345
347
  :param pulumi.ResourceOptions opts: Options for the resource.
346
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
348
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
347
349
  ID of the cluster to put the override in. Forces a new
348
350
  resource if changed.
349
- :param pulumi.Input[str] dpm_automation_level: The automation level for host power
351
+ :param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
350
352
  operations on this host. Can be one of `manual` or `automated`. Default:
351
353
  `manual`.
352
354
 
353
355
  > **NOTE:** Using this resource _always_ implies an override, even if one of
354
356
  `dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
355
357
  for both options.
356
- :param pulumi.Input[bool] dpm_enabled: Enable DPM support for this host. Default:
358
+ :param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
357
359
  `false`.
358
- :param pulumi.Input[str] host_system_id: The managed object ID of the host.
360
+ :param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
359
361
  """
360
362
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
361
363
 
@@ -369,7 +371,7 @@ class DpmHostOverride(pulumi.CustomResource):
369
371
 
370
372
  @property
371
373
  @pulumi.getter(name="computeClusterId")
372
- def compute_cluster_id(self) -> pulumi.Output[str]:
374
+ def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
373
375
  """
374
376
  The managed object reference
375
377
  ID of the cluster to put the override in. Forces a new
@@ -379,7 +381,7 @@ class DpmHostOverride(pulumi.CustomResource):
379
381
 
380
382
  @property
381
383
  @pulumi.getter(name="dpmAutomationLevel")
382
- def dpm_automation_level(self) -> pulumi.Output[Optional[str]]:
384
+ def dpm_automation_level(self) -> pulumi.Output[Optional[builtins.str]]:
383
385
  """
384
386
  The automation level for host power
385
387
  operations on this host. Can be one of `manual` or `automated`. Default:
@@ -393,7 +395,7 @@ class DpmHostOverride(pulumi.CustomResource):
393
395
 
394
396
  @property
395
397
  @pulumi.getter(name="dpmEnabled")
396
- def dpm_enabled(self) -> pulumi.Output[Optional[bool]]:
398
+ def dpm_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
397
399
  """
398
400
  Enable DPM support for this host. Default:
399
401
  `false`.
@@ -402,7 +404,7 @@ class DpmHostOverride(pulumi.CustomResource):
402
404
 
403
405
  @property
404
406
  @pulumi.getter(name="hostSystemId")
405
- def host_system_id(self) -> pulumi.Output[str]:
407
+ def host_system_id(self) -> pulumi.Output[builtins.str]:
406
408
  """
407
409
  The managed object ID of the host.
408
410
  """