pulumi-vsphere 4.13.1a1738773193__py3-none-any.whl → 4.13.2__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/_utilities.py +8 -4
- pulumi_vsphere/compute_cluster.py +918 -917
- pulumi_vsphere/compute_cluster_host_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +85 -84
- pulumi_vsphere/compute_cluster_vm_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +99 -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 +43 -42
- pulumi_vsphere/content_library_item.py +85 -84
- pulumi_vsphere/custom_attribute.py +29 -28
- pulumi_vsphere/datacenter.py +64 -63
- pulumi_vsphere/datastore_cluster.py +351 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/distributed_port_group.py +645 -644
- pulumi_vsphere/distributed_virtual_switch.py +1282 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +57 -56
- pulumi_vsphere/dpm_host_override.py +57 -56
- pulumi_vsphere/drs_vm_override.py +57 -56
- pulumi_vsphere/entity_permissions.py +29 -28
- pulumi_vsphere/file.py +95 -94
- pulumi_vsphere/folder.py +71 -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 +57 -56
- pulumi_vsphere/ha_vm_override.py +211 -210
- pulumi_vsphere/host.py +197 -196
- pulumi_vsphere/host_port_group.py +253 -252
- pulumi_vsphere/host_virtual_switch.py +295 -294
- pulumi_vsphere/license.py +57 -56
- pulumi_vsphere/nas_datastore.py +211 -210
- pulumi_vsphere/offline_software_depot.py +15 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +98 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +211 -210
- pulumi_vsphere/role.py +36 -35
- pulumi_vsphere/storage_drs_vm_override.py +71 -70
- pulumi_vsphere/supervisor.py +155 -154
- pulumi_vsphere/tag.py +43 -42
- pulumi_vsphere/tag_category.py +57 -56
- pulumi_vsphere/vapp_container.py +211 -210
- pulumi_vsphere/vapp_entity.py +141 -140
- pulumi_vsphere/virtual_disk.py +99 -98
- pulumi_vsphere/virtual_machine.py +1040 -1039
- pulumi_vsphere/virtual_machine_class.py +85 -84
- pulumi_vsphere/virtual_machine_snapshot.py +99 -98
- pulumi_vsphere/vm_storage_policy.py +29 -28
- pulumi_vsphere/vmfs_datastore.py +148 -147
- pulumi_vsphere/vnic.py +113 -112
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.13.2.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.13.1a1738773193.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2.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,50 +110,50 @@ 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
|
|
|
@@ -161,19 +162,19 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
161
162
|
def __init__(__self__,
|
|
162
163
|
resource_name: str,
|
|
163
164
|
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,
|
|
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,
|
|
168
169
|
__props__=None):
|
|
169
170
|
"""
|
|
170
171
|
Create a DistributedVirtualSwitchPvlanMapping resource with the given unique name, props, and options.
|
|
171
172
|
:param str resource_name: The name of the resource.
|
|
172
173
|
: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.
|
|
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.
|
|
177
178
|
"""
|
|
178
179
|
...
|
|
179
180
|
@overload
|
|
@@ -198,10 +199,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
198
199
|
def _internal_init(__self__,
|
|
199
200
|
resource_name: str,
|
|
200
201
|
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,
|
|
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,
|
|
205
206
|
__props__=None):
|
|
206
207
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
207
208
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -233,10 +234,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
233
234
|
def get(resource_name: str,
|
|
234
235
|
id: pulumi.Input[str],
|
|
235
236
|
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':
|
|
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':
|
|
240
241
|
"""
|
|
241
242
|
Get an existing DistributedVirtualSwitchPvlanMapping resource's state with the given name, id, and optional extra
|
|
242
243
|
properties used to qualify the lookup.
|
|
@@ -244,10 +245,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
244
245
|
:param str resource_name: The unique name of the resulting resource.
|
|
245
246
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
246
247
|
: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.
|
|
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.
|
|
251
252
|
"""
|
|
252
253
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
253
254
|
|
|
@@ -261,7 +262,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
261
262
|
|
|
262
263
|
@property
|
|
263
264
|
@pulumi.getter(name="distributedVirtualSwitchId")
|
|
264
|
-
def distributed_virtual_switch_id(self) -> pulumi.Output[str]:
|
|
265
|
+
def distributed_virtual_switch_id(self) -> pulumi.Output[builtins.str]:
|
|
265
266
|
"""
|
|
266
267
|
The ID of the distributed virtual switch to attach this mapping to.
|
|
267
268
|
"""
|
|
@@ -269,7 +270,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
269
270
|
|
|
270
271
|
@property
|
|
271
272
|
@pulumi.getter(name="primaryVlanId")
|
|
272
|
-
def primary_vlan_id(self) -> pulumi.Output[int]:
|
|
273
|
+
def primary_vlan_id(self) -> pulumi.Output[builtins.int]:
|
|
273
274
|
"""
|
|
274
275
|
The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
275
276
|
"""
|
|
@@ -277,7 +278,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
277
278
|
|
|
278
279
|
@property
|
|
279
280
|
@pulumi.getter(name="pvlanType")
|
|
280
|
-
def pvlan_type(self) -> pulumi.Output[str]:
|
|
281
|
+
def pvlan_type(self) -> pulumi.Output[builtins.str]:
|
|
281
282
|
"""
|
|
282
283
|
The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
283
284
|
"""
|
|
@@ -285,7 +286,7 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
285
286
|
|
|
286
287
|
@property
|
|
287
288
|
@pulumi.getter(name="secondaryVlanId")
|
|
288
|
-
def secondary_vlan_id(self) -> pulumi.Output[int]:
|
|
289
|
+
def secondary_vlan_id(self) -> pulumi.Output[builtins.int]:
|
|
289
290
|
"""
|
|
290
291
|
The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
291
292
|
"""
|
|
@@ -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,19 +179,19 @@ 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
|
|
|
@@ -199,10 +200,10 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
199
200
|
def __init__(__self__,
|
|
200
201
|
resource_name: str,
|
|
201
202
|
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,
|
|
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,
|
|
206
207
|
__props__=None):
|
|
207
208
|
"""
|
|
208
209
|
The `DpmHostOverride` resource can be used to add a DPM override to a
|
|
@@ -236,19 +237,19 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
236
237
|
|
|
237
238
|
:param str resource_name: The name of the resource.
|
|
238
239
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
239
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
240
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
240
241
|
ID of the cluster to put the override in. Forces a new
|
|
241
242
|
resource if changed.
|
|
242
|
-
:param pulumi.Input[str] dpm_automation_level: The automation level for host power
|
|
243
|
+
:param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
|
|
243
244
|
operations on this host. Can be one of `manual` or `automated`. Default:
|
|
244
245
|
`manual`.
|
|
245
246
|
|
|
246
247
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
247
248
|
`dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
|
|
248
249
|
for both options.
|
|
249
|
-
:param pulumi.Input[bool] dpm_enabled: Enable DPM support for this host. Default:
|
|
250
|
+
:param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
|
|
250
251
|
`false`.
|
|
251
|
-
:param pulumi.Input[str] host_system_id: The managed object ID of the host.
|
|
252
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
|
|
252
253
|
"""
|
|
253
254
|
...
|
|
254
255
|
@overload
|
|
@@ -301,10 +302,10 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
301
302
|
def _internal_init(__self__,
|
|
302
303
|
resource_name: str,
|
|
303
304
|
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,
|
|
305
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
306
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
307
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
308
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
308
309
|
__props__=None):
|
|
309
310
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
310
311
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -332,10 +333,10 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
332
333
|
def get(resource_name: str,
|
|
333
334
|
id: pulumi.Input[str],
|
|
334
335
|
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':
|
|
336
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
337
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
338
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
339
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None) -> 'DpmHostOverride':
|
|
339
340
|
"""
|
|
340
341
|
Get an existing DpmHostOverride resource's state with the given name, id, and optional extra
|
|
341
342
|
properties used to qualify the lookup.
|
|
@@ -343,19 +344,19 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
343
344
|
:param str resource_name: The unique name of the resulting resource.
|
|
344
345
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
345
346
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
346
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
347
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
347
348
|
ID of the cluster to put the override in. Forces a new
|
|
348
349
|
resource if changed.
|
|
349
|
-
:param pulumi.Input[str] dpm_automation_level: The automation level for host power
|
|
350
|
+
:param pulumi.Input[builtins.str] dpm_automation_level: The automation level for host power
|
|
350
351
|
operations on this host. Can be one of `manual` or `automated`. Default:
|
|
351
352
|
`manual`.
|
|
352
353
|
|
|
353
354
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
354
355
|
`dpm_enabled` or `dpm_automation_level` is omitted. Take note of the defaults
|
|
355
356
|
for both options.
|
|
356
|
-
:param pulumi.Input[bool] dpm_enabled: Enable DPM support for this host. Default:
|
|
357
|
+
:param pulumi.Input[builtins.bool] dpm_enabled: Enable DPM support for this host. Default:
|
|
357
358
|
`false`.
|
|
358
|
-
:param pulumi.Input[str] host_system_id: The managed object ID of the host.
|
|
359
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of the host.
|
|
359
360
|
"""
|
|
360
361
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
361
362
|
|
|
@@ -369,7 +370,7 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
369
370
|
|
|
370
371
|
@property
|
|
371
372
|
@pulumi.getter(name="computeClusterId")
|
|
372
|
-
def compute_cluster_id(self) -> pulumi.Output[str]:
|
|
373
|
+
def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
373
374
|
"""
|
|
374
375
|
The managed object reference
|
|
375
376
|
ID of the cluster to put the override in. Forces a new
|
|
@@ -379,7 +380,7 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
379
380
|
|
|
380
381
|
@property
|
|
381
382
|
@pulumi.getter(name="dpmAutomationLevel")
|
|
382
|
-
def dpm_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
383
|
+
def dpm_automation_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
383
384
|
"""
|
|
384
385
|
The automation level for host power
|
|
385
386
|
operations on this host. Can be one of `manual` or `automated`. Default:
|
|
@@ -393,7 +394,7 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
393
394
|
|
|
394
395
|
@property
|
|
395
396
|
@pulumi.getter(name="dpmEnabled")
|
|
396
|
-
def dpm_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
397
|
+
def dpm_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
397
398
|
"""
|
|
398
399
|
Enable DPM support for this host. Default:
|
|
399
400
|
`false`.
|
|
@@ -402,7 +403,7 @@ class DpmHostOverride(pulumi.CustomResource):
|
|
|
402
403
|
|
|
403
404
|
@property
|
|
404
405
|
@pulumi.getter(name="hostSystemId")
|
|
405
|
-
def host_system_id(self) -> pulumi.Output[str]:
|
|
406
|
+
def host_system_id(self) -> pulumi.Output[builtins.str]:
|
|
406
407
|
"""
|
|
407
408
|
The managed object ID of the host.
|
|
408
409
|
"""
|