pulumi-vsphere 4.14.0a1741243116__py3-none-any.whl → 4.14.0a1745952392__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741243116.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,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,74 @@ 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
|
|
|
159
160
|
class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
161
|
+
|
|
162
|
+
pulumi_type = "vsphere:index/distributedVirtualSwitchPvlanMapping:DistributedVirtualSwitchPvlanMapping"
|
|
163
|
+
|
|
160
164
|
@overload
|
|
161
165
|
def __init__(__self__,
|
|
162
166
|
resource_name: str,
|
|
163
167
|
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,
|
|
168
|
+
distributed_virtual_switch_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
169
|
+
primary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
170
|
+
pvlan_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
171
|
+
secondary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
168
172
|
__props__=None):
|
|
169
173
|
"""
|
|
170
174
|
Create a DistributedVirtualSwitchPvlanMapping resource with the given unique name, props, and options.
|
|
171
175
|
:param str resource_name: The name of the resource.
|
|
172
176
|
: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.
|
|
177
|
+
:param pulumi.Input[builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
178
|
+
: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.
|
|
179
|
+
:param pulumi.Input[builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
180
|
+
: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
181
|
"""
|
|
178
182
|
...
|
|
179
183
|
@overload
|
|
@@ -198,10 +202,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
198
202
|
def _internal_init(__self__,
|
|
199
203
|
resource_name: str,
|
|
200
204
|
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,
|
|
205
|
+
distributed_virtual_switch_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
206
|
+
primary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
207
|
+
pvlan_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
208
|
+
secondary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
205
209
|
__props__=None):
|
|
206
210
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
207
211
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -233,10 +237,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
233
237
|
def get(resource_name: str,
|
|
234
238
|
id: pulumi.Input[str],
|
|
235
239
|
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':
|
|
240
|
+
distributed_virtual_switch_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
241
|
+
primary_vlan_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
242
|
+
pvlan_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
243
|
+
secondary_vlan_id: Optional[pulumi.Input[builtins.int]] = None) -> 'DistributedVirtualSwitchPvlanMapping':
|
|
240
244
|
"""
|
|
241
245
|
Get an existing DistributedVirtualSwitchPvlanMapping resource's state with the given name, id, and optional extra
|
|
242
246
|
properties used to qualify the lookup.
|
|
@@ -244,10 +248,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
244
248
|
:param str resource_name: The unique name of the resulting resource.
|
|
245
249
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
246
250
|
: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.
|
|
251
|
+
:param pulumi.Input[builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
252
|
+
: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.
|
|
253
|
+
:param pulumi.Input[builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
254
|
+
: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
255
|
"""
|
|
252
256
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
253
257
|
|
|
@@ -261,7 +265,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
261
265
|
|
|
262
266
|
@property
|
|
263
267
|
@pulumi.getter(name="distributedVirtualSwitchId")
|
|
264
|
-
def distributed_virtual_switch_id(self) -> pulumi.Output[str]:
|
|
268
|
+
def distributed_virtual_switch_id(self) -> pulumi.Output[builtins.str]:
|
|
265
269
|
"""
|
|
266
270
|
The ID of the distributed virtual switch to attach this mapping to.
|
|
267
271
|
"""
|
|
@@ -269,7 +273,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
269
273
|
|
|
270
274
|
@property
|
|
271
275
|
@pulumi.getter(name="primaryVlanId")
|
|
272
|
-
def primary_vlan_id(self) -> pulumi.Output[int]:
|
|
276
|
+
def primary_vlan_id(self) -> pulumi.Output[builtins.int]:
|
|
273
277
|
"""
|
|
274
278
|
The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
275
279
|
"""
|
|
@@ -277,7 +281,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
277
281
|
|
|
278
282
|
@property
|
|
279
283
|
@pulumi.getter(name="pvlanType")
|
|
280
|
-
def pvlan_type(self) -> pulumi.Output[str]:
|
|
284
|
+
def pvlan_type(self) -> pulumi.Output[builtins.str]:
|
|
281
285
|
"""
|
|
282
286
|
The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
283
287
|
"""
|
|
@@ -285,7 +289,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
285
289
|
|
|
286
290
|
@property
|
|
287
291
|
@pulumi.getter(name="secondaryVlanId")
|
|
288
|
-
def secondary_vlan_id(self) -> pulumi.Output[int]:
|
|
292
|
+
def secondary_vlan_id(self) -> pulumi.Output[builtins.int]:
|
|
289
293
|
"""
|
|
290
294
|
The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
291
295
|
"""
|
|
@@ -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,34 @@ 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
|
|
|
197
198
|
class DpmHostOverride(pulumi.CustomResource):
|
|
199
|
+
|
|
200
|
+
pulumi_type = "vsphere:index/dpmHostOverride:DpmHostOverride"
|
|
201
|
+
|
|
198
202
|
@overload
|
|
199
203
|
def __init__(__self__,
|
|
200
204
|
resource_name: str,
|
|
201
205
|
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,
|
|
206
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
207
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
208
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
209
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
206
210
|
__props__=None):
|
|
207
211
|
"""
|
|
208
212
|
The `DpmHostOverride` resource can be used to add a DPM override to a
|
|
@@ -236,19 +240,19 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
236
240
|
|
|
237
241
|
:param str resource_name: The name of the resource.
|
|
238
242
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
239
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
243
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
240
244
|
ID of the cluster to put the override in. Forces a new
|
|
241
245
|
resource if changed.
|
|
242
|
-
:param pulumi.Input[str] dpm_automation_level: The automation level for host power
|
|
246
|
+
:param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
|
|
243
247
|
operations on this host. Can be one of `manual` or `automated`. Default:
|
|
244
248
|
`manual`.
|
|
245
249
|
|
|
246
250
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
247
251
|
`dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
|
|
248
252
|
for both options.
|
|
249
|
-
:param pulumi.Input[bool] dpm_enabled: Enable DPM support for this host. Default:
|
|
253
|
+
:param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
|
|
250
254
|
`false`.
|
|
251
|
-
:param pulumi.Input[str] host_system_id: The managed object ID of the host.
|
|
255
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
|
|
252
256
|
"""
|
|
253
257
|
...
|
|
254
258
|
@overload
|
|
@@ -301,10 +305,10 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
301
305
|
def _internal_init(__self__,
|
|
302
306
|
resource_name: str,
|
|
303
307
|
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,
|
|
308
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
309
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
310
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
311
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
308
312
|
__props__=None):
|
|
309
313
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
310
314
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -332,10 +336,10 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
332
336
|
def get(resource_name: str,
|
|
333
337
|
id: pulumi.Input[str],
|
|
334
338
|
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':
|
|
339
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
340
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
341
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
342
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None) -> 'DpmHostOverride':
|
|
339
343
|
"""
|
|
340
344
|
Get an existing DpmHostOverride resource's state with the given name, id, and optional extra
|
|
341
345
|
properties used to qualify the lookup.
|
|
@@ -343,19 +347,19 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
343
347
|
:param str resource_name: The unique name of the resulting resource.
|
|
344
348
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
345
349
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
346
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
350
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
347
351
|
ID of the cluster to put the override in. Forces a new
|
|
348
352
|
resource if changed.
|
|
349
|
-
:param pulumi.Input[str] dpm_automation_level: The automation level for host power
|
|
353
|
+
:param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
|
|
350
354
|
operations on this host. Can be one of `manual` or `automated`. Default:
|
|
351
355
|
`manual`.
|
|
352
356
|
|
|
353
357
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
354
358
|
`dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
|
|
355
359
|
for both options.
|
|
356
|
-
:param pulumi.Input[bool] dpm_enabled: Enable DPM support for this host. Default:
|
|
360
|
+
:param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
|
|
357
361
|
`false`.
|
|
358
|
-
:param pulumi.Input[str] host_system_id: The managed object ID of the host.
|
|
362
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
|
|
359
363
|
"""
|
|
360
364
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
361
365
|
|
|
@@ -369,7 +373,7 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
369
373
|
|
|
370
374
|
@property
|
|
371
375
|
@pulumi.getter(name="computeClusterId")
|
|
372
|
-
def compute_cluster_id(self) -> pulumi.Output[str]:
|
|
376
|
+
def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
373
377
|
"""
|
|
374
378
|
The managed object reference
|
|
375
379
|
ID of the cluster to put the override in. Forces a new
|
|
@@ -379,7 +383,7 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
379
383
|
|
|
380
384
|
@property
|
|
381
385
|
@pulumi.getter(name="dpmAutomationLevel")
|
|
382
|
-
def dpm_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
386
|
+
def dpm_automation_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
383
387
|
"""
|
|
384
388
|
The automation level for host power
|
|
385
389
|
operations on this host. Can be one of `manual` or `automated`. Default:
|
|
@@ -393,7 +397,7 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
393
397
|
|
|
394
398
|
@property
|
|
395
399
|
@pulumi.getter(name="dpmEnabled")
|
|
396
|
-
def dpm_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
400
|
+
def dpm_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
397
401
|
"""
|
|
398
402
|
Enable DPM support for this host. Default:
|
|
399
403
|
`false`.
|
|
@@ -402,7 +406,7 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
402
406
|
|
|
403
407
|
@property
|
|
404
408
|
@pulumi.getter(name="hostSystemId")
|
|
405
|
-
def host_system_id(self) -> pulumi.Output[str]:
|
|
409
|
+
def host_system_id(self) -> pulumi.Output[builtins.str]:
|
|
406
410
|
"""
|
|
407
411
|
The managed object ID of the host.
|
|
408
412
|
"""
|