pulumi-vsphere 4.16.0a1753339697__py3-none-any.whl → 4.16.0a1753512455__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 -1
  2. pulumi_vsphere/_inputs.py +1171 -1172
  3. pulumi_vsphere/compute_cluster.py +1127 -1128
  4. pulumi_vsphere/compute_cluster_host_group.py +52 -53
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
  8. pulumi_vsphere/compute_cluster_vm_group.py +52 -53
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
  10. pulumi_vsphere/config/__init__.py +1 -1
  11. pulumi_vsphere/config/__init__.pyi +1 -2
  12. pulumi_vsphere/config/vars.py +14 -15
  13. pulumi_vsphere/content_library.py +58 -59
  14. pulumi_vsphere/content_library_item.py +103 -104
  15. pulumi_vsphere/custom_attribute.py +35 -36
  16. pulumi_vsphere/datacenter.py +78 -79
  17. pulumi_vsphere/datastore_cluster.py +426 -427
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
  19. pulumi_vsphere/distributed_port_group.py +787 -788
  20. pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
  22. pulumi_vsphere/dpm_host_override.py +69 -70
  23. pulumi_vsphere/drs_vm_override.py +69 -70
  24. pulumi_vsphere/entity_permissions.py +38 -39
  25. pulumi_vsphere/file.py +120 -121
  26. pulumi_vsphere/folder.py +86 -87
  27. pulumi_vsphere/get_compute_cluster.py +17 -18
  28. pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
  29. pulumi_vsphere/get_content_library.py +9 -10
  30. pulumi_vsphere/get_content_library_item.py +21 -22
  31. pulumi_vsphere/get_custom_attribute.py +11 -12
  32. pulumi_vsphere/get_datacenter.py +11 -12
  33. pulumi_vsphere/get_datastore.py +21 -22
  34. pulumi_vsphere/get_datastore_cluster.py +17 -18
  35. pulumi_vsphere/get_datastore_stats.py +21 -22
  36. pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
  37. pulumi_vsphere/get_dynamic.py +21 -22
  38. pulumi_vsphere/get_folder.py +9 -10
  39. pulumi_vsphere/get_guest_os_customization.py +18 -19
  40. pulumi_vsphere/get_host.py +17 -18
  41. pulumi_vsphere/get_host_base_images.py +5 -6
  42. pulumi_vsphere/get_host_pci_device.py +29 -30
  43. pulumi_vsphere/get_host_thumbprint.py +21 -22
  44. pulumi_vsphere/get_host_vgpu_profile.py +16 -17
  45. pulumi_vsphere/get_license.py +19 -20
  46. pulumi_vsphere/get_network.py +42 -43
  47. pulumi_vsphere/get_ovf_vm_template.py +121 -122
  48. pulumi_vsphere/get_policy.py +9 -10
  49. pulumi_vsphere/get_resource_pool.py +21 -22
  50. pulumi_vsphere/get_role.py +25 -26
  51. pulumi_vsphere/get_tag.py +17 -18
  52. pulumi_vsphere/get_tag_category.py +15 -16
  53. pulumi_vsphere/get_vapp_container.py +15 -16
  54. pulumi_vsphere/get_virtual_machine.py +272 -273
  55. pulumi_vsphere/get_vmfs_disks.py +23 -24
  56. pulumi_vsphere/guest_os_customization.py +73 -74
  57. pulumi_vsphere/ha_vm_override.py +256 -257
  58. pulumi_vsphere/host.py +242 -243
  59. pulumi_vsphere/host_port_group.py +310 -311
  60. pulumi_vsphere/host_virtual_switch.py +358 -359
  61. pulumi_vsphere/license.py +71 -72
  62. pulumi_vsphere/nas_datastore.py +260 -261
  63. pulumi_vsphere/offline_software_depot.py +20 -21
  64. pulumi_vsphere/outputs.py +981 -982
  65. pulumi_vsphere/provider.py +120 -121
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +256 -257
  68. pulumi_vsphere/role.py +44 -45
  69. pulumi_vsphere/storage_drs_vm_override.py +86 -87
  70. pulumi_vsphere/supervisor.py +206 -207
  71. pulumi_vsphere/tag.py +52 -53
  72. pulumi_vsphere/tag_category.py +69 -70
  73. pulumi_vsphere/vapp_container.py +256 -257
  74. pulumi_vsphere/vapp_entity.py +171 -172
  75. pulumi_vsphere/virtual_disk.py +120 -121
  76. pulumi_vsphere/virtual_machine.py +1293 -1294
  77. pulumi_vsphere/virtual_machine_class.py +103 -104
  78. pulumi_vsphere/virtual_machine_snapshot.py +120 -121
  79. pulumi_vsphere/vm_storage_policy.py +38 -39
  80. pulumi_vsphere/vmfs_datastore.py +183 -184
  81. pulumi_vsphere/vnic.py +143 -144
  82. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/METADATA +1 -1
  83. pulumi_vsphere-4.16.0a1753512455.dist-info/RECORD +87 -0
  84. pulumi_vsphere-4.16.0a1753339697.dist-info/RECORD +0 -87
  85. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/WHEEL +0 -0
  86. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,84 +19,84 @@ __all__ = ['DistributedVirtualSwitchPvlanMappingInitArgs', 'DistributedVirtualSw
20
19
  @pulumi.input_type
21
20
  class DistributedVirtualSwitchPvlanMappingInitArgs:
22
21
  def __init__(__self__, *,
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]):
22
+ distributed_virtual_switch_id: pulumi.Input[_builtins.str],
23
+ primary_vlan_id: pulumi.Input[_builtins.int],
24
+ pvlan_type: pulumi.Input[_builtins.str],
25
+ secondary_vlan_id: pulumi.Input[_builtins.int]):
27
26
  """
28
27
  The set of arguments for constructing a DistributedVirtualSwitchPvlanMapping resource.
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.
28
+ :param pulumi.Input[_builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
29
+ :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.
30
+ :param pulumi.Input[_builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
31
+ :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.
33
32
  """
34
33
  pulumi.set(__self__, "distributed_virtual_switch_id", distributed_virtual_switch_id)
35
34
  pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
36
35
  pulumi.set(__self__, "pvlan_type", pvlan_type)
37
36
  pulumi.set(__self__, "secondary_vlan_id", secondary_vlan_id)
38
37
 
39
- @property
38
+ @_builtins.property
40
39
  @pulumi.getter(name="distributedVirtualSwitchId")
41
- def distributed_virtual_switch_id(self) -> pulumi.Input[builtins.str]:
40
+ def distributed_virtual_switch_id(self) -> pulumi.Input[_builtins.str]:
42
41
  """
43
42
  The ID of the distributed virtual switch to attach this mapping to.
44
43
  """
45
44
  return pulumi.get(self, "distributed_virtual_switch_id")
46
45
 
47
46
  @distributed_virtual_switch_id.setter
48
- def distributed_virtual_switch_id(self, value: pulumi.Input[builtins.str]):
47
+ def distributed_virtual_switch_id(self, value: pulumi.Input[_builtins.str]):
49
48
  pulumi.set(self, "distributed_virtual_switch_id", value)
50
49
 
51
- @property
50
+ @_builtins.property
52
51
  @pulumi.getter(name="primaryVlanId")
53
- def primary_vlan_id(self) -> pulumi.Input[builtins.int]:
52
+ def primary_vlan_id(self) -> pulumi.Input[_builtins.int]:
54
53
  """
55
54
  The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
56
55
  """
57
56
  return pulumi.get(self, "primary_vlan_id")
58
57
 
59
58
  @primary_vlan_id.setter
60
- def primary_vlan_id(self, value: pulumi.Input[builtins.int]):
59
+ def primary_vlan_id(self, value: pulumi.Input[_builtins.int]):
61
60
  pulumi.set(self, "primary_vlan_id", value)
62
61
 
63
- @property
62
+ @_builtins.property
64
63
  @pulumi.getter(name="pvlanType")
65
- def pvlan_type(self) -> pulumi.Input[builtins.str]:
64
+ def pvlan_type(self) -> pulumi.Input[_builtins.str]:
66
65
  """
67
66
  The private VLAN type. Valid values are promiscuous, community and isolated.
68
67
  """
69
68
  return pulumi.get(self, "pvlan_type")
70
69
 
71
70
  @pvlan_type.setter
72
- def pvlan_type(self, value: pulumi.Input[builtins.str]):
71
+ def pvlan_type(self, value: pulumi.Input[_builtins.str]):
73
72
  pulumi.set(self, "pvlan_type", value)
74
73
 
75
- @property
74
+ @_builtins.property
76
75
  @pulumi.getter(name="secondaryVlanId")
77
- def secondary_vlan_id(self) -> pulumi.Input[builtins.int]:
76
+ def secondary_vlan_id(self) -> pulumi.Input[_builtins.int]:
78
77
  """
79
78
  The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
80
79
  """
81
80
  return pulumi.get(self, "secondary_vlan_id")
82
81
 
83
82
  @secondary_vlan_id.setter
84
- def secondary_vlan_id(self, value: pulumi.Input[builtins.int]):
83
+ def secondary_vlan_id(self, value: pulumi.Input[_builtins.int]):
85
84
  pulumi.set(self, "secondary_vlan_id", value)
86
85
 
87
86
 
88
87
  @pulumi.input_type
89
88
  class _DistributedVirtualSwitchPvlanMappingState:
90
89
  def __init__(__self__, *,
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):
90
+ distributed_virtual_switch_id: Optional[pulumi.Input[_builtins.str]] = None,
91
+ primary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
92
+ pvlan_type: Optional[pulumi.Input[_builtins.str]] = None,
93
+ secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None):
95
94
  """
96
95
  Input properties used for looking up and filtering DistributedVirtualSwitchPvlanMapping resources.
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.
96
+ :param pulumi.Input[_builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
97
+ :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.
98
+ :param pulumi.Input[_builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
99
+ :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.
101
100
  """
102
101
  if distributed_virtual_switch_id is not None:
103
102
  pulumi.set(__self__, "distributed_virtual_switch_id", distributed_virtual_switch_id)
@@ -108,52 +107,52 @@ class _DistributedVirtualSwitchPvlanMappingState:
108
107
  if secondary_vlan_id is not None:
109
108
  pulumi.set(__self__, "secondary_vlan_id", secondary_vlan_id)
110
109
 
111
- @property
110
+ @_builtins.property
112
111
  @pulumi.getter(name="distributedVirtualSwitchId")
113
- def distributed_virtual_switch_id(self) -> Optional[pulumi.Input[builtins.str]]:
112
+ def distributed_virtual_switch_id(self) -> Optional[pulumi.Input[_builtins.str]]:
114
113
  """
115
114
  The ID of the distributed virtual switch to attach this mapping to.
116
115
  """
117
116
  return pulumi.get(self, "distributed_virtual_switch_id")
118
117
 
119
118
  @distributed_virtual_switch_id.setter
120
- def distributed_virtual_switch_id(self, value: Optional[pulumi.Input[builtins.str]]):
119
+ def distributed_virtual_switch_id(self, value: Optional[pulumi.Input[_builtins.str]]):
121
120
  pulumi.set(self, "distributed_virtual_switch_id", value)
122
121
 
123
- @property
122
+ @_builtins.property
124
123
  @pulumi.getter(name="primaryVlanId")
125
- def primary_vlan_id(self) -> Optional[pulumi.Input[builtins.int]]:
124
+ def primary_vlan_id(self) -> Optional[pulumi.Input[_builtins.int]]:
126
125
  """
127
126
  The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
128
127
  """
129
128
  return pulumi.get(self, "primary_vlan_id")
130
129
 
131
130
  @primary_vlan_id.setter
132
- def primary_vlan_id(self, value: Optional[pulumi.Input[builtins.int]]):
131
+ def primary_vlan_id(self, value: Optional[pulumi.Input[_builtins.int]]):
133
132
  pulumi.set(self, "primary_vlan_id", value)
134
133
 
135
- @property
134
+ @_builtins.property
136
135
  @pulumi.getter(name="pvlanType")
137
- def pvlan_type(self) -> Optional[pulumi.Input[builtins.str]]:
136
+ def pvlan_type(self) -> Optional[pulumi.Input[_builtins.str]]:
138
137
  """
139
138
  The private VLAN type. Valid values are promiscuous, community and isolated.
140
139
  """
141
140
  return pulumi.get(self, "pvlan_type")
142
141
 
143
142
  @pvlan_type.setter
144
- def pvlan_type(self, value: Optional[pulumi.Input[builtins.str]]):
143
+ def pvlan_type(self, value: Optional[pulumi.Input[_builtins.str]]):
145
144
  pulumi.set(self, "pvlan_type", value)
146
145
 
147
- @property
146
+ @_builtins.property
148
147
  @pulumi.getter(name="secondaryVlanId")
149
- def secondary_vlan_id(self) -> Optional[pulumi.Input[builtins.int]]:
148
+ def secondary_vlan_id(self) -> Optional[pulumi.Input[_builtins.int]]:
150
149
  """
151
150
  The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
152
151
  """
153
152
  return pulumi.get(self, "secondary_vlan_id")
154
153
 
155
154
  @secondary_vlan_id.setter
156
- def secondary_vlan_id(self, value: Optional[pulumi.Input[builtins.int]]):
155
+ def secondary_vlan_id(self, value: Optional[pulumi.Input[_builtins.int]]):
157
156
  pulumi.set(self, "secondary_vlan_id", value)
158
157
 
159
158
 
@@ -163,19 +162,19 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
163
162
  def __init__(__self__,
164
163
  resource_name: str,
165
164
  opts: Optional[pulumi.ResourceOptions] = 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,
165
+ distributed_virtual_switch_id: Optional[pulumi.Input[_builtins.str]] = None,
166
+ primary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
167
+ pvlan_type: Optional[pulumi.Input[_builtins.str]] = None,
168
+ secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
170
169
  __props__=None):
171
170
  """
172
171
  Create a DistributedVirtualSwitchPvlanMapping resource with the given unique name, props, and options.
173
172
  :param str resource_name: The name of the resource.
174
173
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
174
+ :param pulumi.Input[_builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
175
+ :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.
176
+ :param pulumi.Input[_builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
177
+ :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.
179
178
  """
180
179
  ...
181
180
  @overload
@@ -200,10 +199,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
200
199
  def _internal_init(__self__,
201
200
  resource_name: str,
202
201
  opts: Optional[pulumi.ResourceOptions] = 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,
202
+ distributed_virtual_switch_id: Optional[pulumi.Input[_builtins.str]] = None,
203
+ primary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
204
+ pvlan_type: Optional[pulumi.Input[_builtins.str]] = None,
205
+ secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
207
206
  __props__=None):
208
207
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
209
208
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -235,10 +234,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
235
234
  def get(resource_name: str,
236
235
  id: pulumi.Input[str],
237
236
  opts: Optional[pulumi.ResourceOptions] = None,
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':
237
+ distributed_virtual_switch_id: Optional[pulumi.Input[_builtins.str]] = None,
238
+ primary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
239
+ pvlan_type: Optional[pulumi.Input[_builtins.str]] = None,
240
+ secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None) -> 'DistributedVirtualSwitchPvlanMapping':
242
241
  """
243
242
  Get an existing DistributedVirtualSwitchPvlanMapping resource's state with the given name, id, and optional extra
244
243
  properties used to qualify the lookup.
@@ -246,10 +245,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
246
245
  :param str resource_name: The unique name of the resulting resource.
247
246
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
248
247
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
248
+ :param pulumi.Input[_builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
249
+ :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.
250
+ :param pulumi.Input[_builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
251
+ :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.
253
252
  """
254
253
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
255
254
 
@@ -261,33 +260,33 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
261
260
  __props__.__dict__["secondary_vlan_id"] = secondary_vlan_id
262
261
  return DistributedVirtualSwitchPvlanMapping(resource_name, opts=opts, __props__=__props__)
263
262
 
264
- @property
263
+ @_builtins.property
265
264
  @pulumi.getter(name="distributedVirtualSwitchId")
266
- def distributed_virtual_switch_id(self) -> pulumi.Output[builtins.str]:
265
+ def distributed_virtual_switch_id(self) -> pulumi.Output[_builtins.str]:
267
266
  """
268
267
  The ID of the distributed virtual switch to attach this mapping to.
269
268
  """
270
269
  return pulumi.get(self, "distributed_virtual_switch_id")
271
270
 
272
- @property
271
+ @_builtins.property
273
272
  @pulumi.getter(name="primaryVlanId")
274
- def primary_vlan_id(self) -> pulumi.Output[builtins.int]:
273
+ def primary_vlan_id(self) -> pulumi.Output[_builtins.int]:
275
274
  """
276
275
  The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
277
276
  """
278
277
  return pulumi.get(self, "primary_vlan_id")
279
278
 
280
- @property
279
+ @_builtins.property
281
280
  @pulumi.getter(name="pvlanType")
282
- def pvlan_type(self) -> pulumi.Output[builtins.str]:
281
+ def pvlan_type(self) -> pulumi.Output[_builtins.str]:
283
282
  """
284
283
  The private VLAN type. Valid values are promiscuous, community and isolated.
285
284
  """
286
285
  return pulumi.get(self, "pvlan_type")
287
286
 
288
- @property
287
+ @_builtins.property
289
288
  @pulumi.getter(name="secondaryVlanId")
290
- def secondary_vlan_id(self) -> pulumi.Output[builtins.int]:
289
+ def secondary_vlan_id(self) -> pulumi.Output[_builtins.int]:
291
290
  """
292
291
  The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
293
292
  """
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,24 +19,24 @@ __all__ = ['DpmHostOverrideArgs', 'DpmHostOverride']
20
19
  @pulumi.input_type
21
20
  class DpmHostOverrideArgs:
22
21
  def __init__(__self__, *,
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):
22
+ compute_cluster_id: pulumi.Input[_builtins.str],
23
+ host_system_id: pulumi.Input[_builtins.str],
24
+ dpm_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
25
+ dpm_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
27
26
  """
28
27
  The set of arguments for constructing a DpmHostOverride resource.
29
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
28
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
30
29
  ID of the cluster to put the override in. Forces a new
31
30
  resource if changed.
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
31
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of the host.
32
+ :param pulumi.Input[_builtins.str] dpm_automation_level: The automation level for host power
34
33
  operations on this host. Can be one of `manual` or `automated`. Default:
35
34
  `manual`.
36
35
 
37
36
  > **NOTE:** Using this resource _always_ implies an override, even if one of
38
37
  `dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
39
38
  for both options.
40
- :param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
39
+ :param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
41
40
  `false`.
42
41
  """
43
42
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -47,9 +46,9 @@ class DpmHostOverrideArgs:
47
46
  if dpm_enabled is not None:
48
47
  pulumi.set(__self__, "dpm_enabled", dpm_enabled)
49
48
 
50
- @property
49
+ @_builtins.property
51
50
  @pulumi.getter(name="computeClusterId")
52
- def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
51
+ def compute_cluster_id(self) -> pulumi.Input[_builtins.str]:
53
52
  """
54
53
  The managed object reference
55
54
  ID of the cluster to put the override in. Forces a new
@@ -58,24 +57,24 @@ class DpmHostOverrideArgs:
58
57
  return pulumi.get(self, "compute_cluster_id")
59
58
 
60
59
  @compute_cluster_id.setter
61
- def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
60
+ def compute_cluster_id(self, value: pulumi.Input[_builtins.str]):
62
61
  pulumi.set(self, "compute_cluster_id", value)
63
62
 
64
- @property
63
+ @_builtins.property
65
64
  @pulumi.getter(name="hostSystemId")
66
- def host_system_id(self) -> pulumi.Input[builtins.str]:
65
+ def host_system_id(self) -> pulumi.Input[_builtins.str]:
67
66
  """
68
67
  The managed object ID of the host.
69
68
  """
70
69
  return pulumi.get(self, "host_system_id")
71
70
 
72
71
  @host_system_id.setter
73
- def host_system_id(self, value: pulumi.Input[builtins.str]):
72
+ def host_system_id(self, value: pulumi.Input[_builtins.str]):
74
73
  pulumi.set(self, "host_system_id", value)
75
74
 
76
- @property
75
+ @_builtins.property
77
76
  @pulumi.getter(name="dpmAutomationLevel")
78
- def dpm_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
77
+ def dpm_automation_level(self) -> Optional[pulumi.Input[_builtins.str]]:
79
78
  """
80
79
  The automation level for host power
81
80
  operations on this host. Can be one of `manual` or `automated`. Default:
@@ -88,12 +87,12 @@ class DpmHostOverrideArgs:
88
87
  return pulumi.get(self, "dpm_automation_level")
89
88
 
90
89
  @dpm_automation_level.setter
91
- def dpm_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
90
+ def dpm_automation_level(self, value: Optional[pulumi.Input[_builtins.str]]):
92
91
  pulumi.set(self, "dpm_automation_level", value)
93
92
 
94
- @property
93
+ @_builtins.property
95
94
  @pulumi.getter(name="dpmEnabled")
96
- def dpm_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
95
+ def dpm_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
97
96
  """
98
97
  Enable DPM support for this host. Default:
99
98
  `false`.
@@ -101,32 +100,32 @@ class DpmHostOverrideArgs:
101
100
  return pulumi.get(self, "dpm_enabled")
102
101
 
103
102
  @dpm_enabled.setter
104
- def dpm_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
103
+ def dpm_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
105
104
  pulumi.set(self, "dpm_enabled", value)
106
105
 
107
106
 
108
107
  @pulumi.input_type
109
108
  class _DpmHostOverrideState:
110
109
  def __init__(__self__, *,
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):
110
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
111
+ dpm_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
112
+ dpm_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
113
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None):
115
114
  """
116
115
  Input properties used for looking up and filtering DpmHostOverride resources.
117
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
116
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
118
117
  ID of the cluster to put the override in. Forces a new
119
118
  resource if changed.
120
- :param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
119
+ :param pulumi.Input[_builtins.str] dpm_automation_level: The automation level for host power
121
120
  operations on this host. Can be one of `manual` or `automated`. Default:
122
121
  `manual`.
123
122
 
124
123
  > **NOTE:** Using this resource _always_ implies an override, even if one of
125
124
  `dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
126
125
  for both options.
127
- :param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
126
+ :param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
128
127
  `false`.
129
- :param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
128
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of the host.
130
129
  """
131
130
  if compute_cluster_id is not None:
132
131
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -137,9 +136,9 @@ class _DpmHostOverrideState:
137
136
  if host_system_id is not None:
138
137
  pulumi.set(__self__, "host_system_id", host_system_id)
139
138
 
140
- @property
139
+ @_builtins.property
141
140
  @pulumi.getter(name="computeClusterId")
142
- def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
141
+ def compute_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
143
142
  """
144
143
  The managed object reference
145
144
  ID of the cluster to put the override in. Forces a new
@@ -148,12 +147,12 @@ class _DpmHostOverrideState:
148
147
  return pulumi.get(self, "compute_cluster_id")
149
148
 
150
149
  @compute_cluster_id.setter
151
- def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
150
+ def compute_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
152
151
  pulumi.set(self, "compute_cluster_id", value)
153
152
 
154
- @property
153
+ @_builtins.property
155
154
  @pulumi.getter(name="dpmAutomationLevel")
156
- def dpm_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
155
+ def dpm_automation_level(self) -> Optional[pulumi.Input[_builtins.str]]:
157
156
  """
158
157
  The automation level for host power
159
158
  operations on this host. Can be one of `manual` or `automated`. Default:
@@ -166,12 +165,12 @@ class _DpmHostOverrideState:
166
165
  return pulumi.get(self, "dpm_automation_level")
167
166
 
168
167
  @dpm_automation_level.setter
169
- def dpm_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
168
+ def dpm_automation_level(self, value: Optional[pulumi.Input[_builtins.str]]):
170
169
  pulumi.set(self, "dpm_automation_level", value)
171
170
 
172
- @property
171
+ @_builtins.property
173
172
  @pulumi.getter(name="dpmEnabled")
174
- def dpm_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
173
+ def dpm_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
175
174
  """
176
175
  Enable DPM support for this host. Default:
177
176
  `false`.
@@ -179,19 +178,19 @@ class _DpmHostOverrideState:
179
178
  return pulumi.get(self, "dpm_enabled")
180
179
 
181
180
  @dpm_enabled.setter
182
- def dpm_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
181
+ def dpm_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
183
182
  pulumi.set(self, "dpm_enabled", value)
184
183
 
185
- @property
184
+ @_builtins.property
186
185
  @pulumi.getter(name="hostSystemId")
187
- def host_system_id(self) -> Optional[pulumi.Input[builtins.str]]:
186
+ def host_system_id(self) -> Optional[pulumi.Input[_builtins.str]]:
188
187
  """
189
188
  The managed object ID of the host.
190
189
  """
191
190
  return pulumi.get(self, "host_system_id")
192
191
 
193
192
  @host_system_id.setter
194
- def host_system_id(self, value: Optional[pulumi.Input[builtins.str]]):
193
+ def host_system_id(self, value: Optional[pulumi.Input[_builtins.str]]):
195
194
  pulumi.set(self, "host_system_id", value)
196
195
 
197
196
 
@@ -201,10 +200,10 @@ class DpmHostOverride(pulumi.CustomResource):
201
200
  def __init__(__self__,
202
201
  resource_name: str,
203
202
  opts: Optional[pulumi.ResourceOptions] = 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,
203
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
204
+ dpm_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
205
+ dpm_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
206
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
208
207
  __props__=None):
209
208
  """
210
209
  The `DpmHostOverride` resource can be used to add a DPM override to a
@@ -282,19 +281,19 @@ class DpmHostOverride(pulumi.CustomResource):
282
281
 
283
282
  :param str resource_name: The name of the resource.
284
283
  :param pulumi.ResourceOptions opts: Options for the resource.
285
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
284
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
286
285
  ID of the cluster to put the override in. Forces a new
287
286
  resource if changed.
288
- :param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
287
+ :param pulumi.Input[_builtins.str] dpm_automation_level: The automation level for host power
289
288
  operations on this host. Can be one of `manual` or `automated`. Default:
290
289
  `manual`.
291
290
 
292
291
  > **NOTE:** Using this resource _always_ implies an override, even if one of
293
292
  `dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
294
293
  for both options.
295
- :param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
294
+ :param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
296
295
  `false`.
297
- :param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
296
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of the host.
298
297
  """
299
298
  ...
300
299
  @overload
@@ -391,10 +390,10 @@ class DpmHostOverride(pulumi.CustomResource):
391
390
  def _internal_init(__self__,
392
391
  resource_name: str,
393
392
  opts: Optional[pulumi.ResourceOptions] = None,
394
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
395
- dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
396
- dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
397
- host_system_id: Optional[pulumi.Input[builtins.str]] = None,
393
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
394
+ dpm_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
395
+ dpm_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
396
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
398
397
  __props__=None):
399
398
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
400
399
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -422,10 +421,10 @@ class DpmHostOverride(pulumi.CustomResource):
422
421
  def get(resource_name: str,
423
422
  id: pulumi.Input[str],
424
423
  opts: Optional[pulumi.ResourceOptions] = None,
425
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
426
- dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
427
- dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
428
- host_system_id: Optional[pulumi.Input[builtins.str]] = None) -> 'DpmHostOverride':
424
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
425
+ dpm_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
426
+ dpm_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
427
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'DpmHostOverride':
429
428
  """
430
429
  Get an existing DpmHostOverride resource's state with the given name, id, and optional extra
431
430
  properties used to qualify the lookup.
@@ -433,19 +432,19 @@ class DpmHostOverride(pulumi.CustomResource):
433
432
  :param str resource_name: The unique name of the resulting resource.
434
433
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
435
434
  :param pulumi.ResourceOptions opts: Options for the resource.
436
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
435
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
437
436
  ID of the cluster to put the override in. Forces a new
438
437
  resource if changed.
439
- :param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
438
+ :param pulumi.Input[_builtins.str] dpm_automation_level: The automation level for host power
440
439
  operations on this host. Can be one of `manual` or `automated`. Default:
441
440
  `manual`.
442
441
 
443
442
  > **NOTE:** Using this resource _always_ implies an override, even if one of
444
443
  `dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
445
444
  for both options.
446
- :param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
445
+ :param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
447
446
  `false`.
448
- :param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
447
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of the host.
449
448
  """
450
449
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
451
450
 
@@ -457,9 +456,9 @@ class DpmHostOverride(pulumi.CustomResource):
457
456
  __props__.__dict__["host_system_id"] = host_system_id
458
457
  return DpmHostOverride(resource_name, opts=opts, __props__=__props__)
459
458
 
460
- @property
459
+ @_builtins.property
461
460
  @pulumi.getter(name="computeClusterId")
462
- def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
461
+ def compute_cluster_id(self) -> pulumi.Output[_builtins.str]:
463
462
  """
464
463
  The managed object reference
465
464
  ID of the cluster to put the override in. Forces a new
@@ -467,9 +466,9 @@ class DpmHostOverride(pulumi.CustomResource):
467
466
  """
468
467
  return pulumi.get(self, "compute_cluster_id")
469
468
 
470
- @property
469
+ @_builtins.property
471
470
  @pulumi.getter(name="dpmAutomationLevel")
472
- def dpm_automation_level(self) -> pulumi.Output[Optional[builtins.str]]:
471
+ def dpm_automation_level(self) -> pulumi.Output[Optional[_builtins.str]]:
473
472
  """
474
473
  The automation level for host power
475
474
  operations on this host. Can be one of `manual` or `automated`. Default:
@@ -481,18 +480,18 @@ class DpmHostOverride(pulumi.CustomResource):
481
480
  """
482
481
  return pulumi.get(self, "dpm_automation_level")
483
482
 
484
- @property
483
+ @_builtins.property
485
484
  @pulumi.getter(name="dpmEnabled")
486
- def dpm_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
485
+ def dpm_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
487
486
  """
488
487
  Enable DPM support for this host. Default:
489
488
  `false`.
490
489
  """
491
490
  return pulumi.get(self, "dpm_enabled")
492
491
 
493
- @property
492
+ @_builtins.property
494
493
  @pulumi.getter(name="hostSystemId")
495
- def host_system_id(self) -> pulumi.Output[builtins.str]:
494
+ def host_system_id(self) -> pulumi.Output[_builtins.str]:
496
495
  """
497
496
  The managed object ID of the host.
498
497
  """