pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +919 -917
- pulumi_vsphere/compute_cluster_host_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
- pulumi_vsphere/compute_cluster_vm_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -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 +44 -42
- pulumi_vsphere/content_library_item.py +86 -84
- pulumi_vsphere/custom_attribute.py +30 -28
- pulumi_vsphere/datacenter.py +65 -63
- pulumi_vsphere/datastore_cluster.py +352 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/distributed_port_group.py +646 -644
- pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
- pulumi_vsphere/dpm_host_override.py +58 -56
- pulumi_vsphere/drs_vm_override.py +58 -56
- pulumi_vsphere/entity_permissions.py +30 -28
- pulumi_vsphere/file.py +96 -94
- pulumi_vsphere/folder.py +72 -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 +58 -56
- pulumi_vsphere/ha_vm_override.py +212 -210
- pulumi_vsphere/host.py +198 -196
- pulumi_vsphere/host_port_group.py +254 -252
- pulumi_vsphere/host_virtual_switch.py +296 -294
- pulumi_vsphere/license.py +58 -56
- pulumi_vsphere/nas_datastore.py +212 -210
- pulumi_vsphere/offline_software_depot.py +16 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +119 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +212 -210
- pulumi_vsphere/role.py +37 -35
- pulumi_vsphere/storage_drs_vm_override.py +72 -70
- pulumi_vsphere/supervisor.py +156 -154
- pulumi_vsphere/tag.py +44 -42
- pulumi_vsphere/tag_category.py +58 -56
- pulumi_vsphere/vapp_container.py +212 -210
- pulumi_vsphere/vapp_entity.py +142 -140
- pulumi_vsphere/virtual_disk.py +100 -98
- pulumi_vsphere/virtual_machine.py +1041 -1039
- pulumi_vsphere/virtual_machine_class.py +86 -84
- pulumi_vsphere/virtual_machine_snapshot.py +100 -98
- pulumi_vsphere/vm_storage_policy.py +30 -28
- pulumi_vsphere/vmfs_datastore.py +149 -147
- pulumi_vsphere/vnic.py +114 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/top_level.txt +0 -0
pulumi_vsphere/vapp_container.py
CHANGED
|
@@ -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,66 +20,66 @@ __all__ = ['VappContainerArgs', 'VappContainer']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class VappContainerArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
parent_resource_pool_id: pulumi.Input[str],
|
|
23
|
-
cpu_expandable: Optional[pulumi.Input[bool]] = None,
|
|
24
|
-
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
25
|
-
cpu_reservation: Optional[pulumi.Input[int]] = None,
|
|
26
|
-
cpu_share_level: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
cpu_shares: Optional[pulumi.Input[int]] = None,
|
|
28
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
29
|
-
memory_expandable: Optional[pulumi.Input[bool]] = None,
|
|
30
|
-
memory_limit: Optional[pulumi.Input[int]] = None,
|
|
31
|
-
memory_reservation: Optional[pulumi.Input[int]] = None,
|
|
32
|
-
memory_share_level: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
memory_shares: Optional[pulumi.Input[int]] = None,
|
|
34
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
parent_folder_id: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
23
|
+
parent_resource_pool_id: pulumi.Input[builtins.str],
|
|
24
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
25
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
26
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
27
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
29
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
30
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
31
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
32
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
33
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
35
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
parent_folder_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
37
38
|
"""
|
|
38
39
|
The set of arguments for constructing a VappContainer resource.
|
|
39
|
-
:param pulumi.Input[str] parent_resource_pool_id: The managed object ID
|
|
40
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The managed object ID
|
|
40
41
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
41
42
|
or standalone host, or a resource pool itself. When moving a vApp container
|
|
42
43
|
from one parent resource pool to another, both must share a common root
|
|
43
44
|
resource pool or the move will fail.
|
|
44
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a vApp
|
|
45
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a vApp
|
|
45
46
|
container can grow beyond the specified value if the parent resource pool has
|
|
46
47
|
unreserved resources. Default: `true`
|
|
47
|
-
:param pulumi.Input[int] cpu_limit: The CPU utilization of a vApp container will not
|
|
48
|
+
:param pulumi.Input[builtins.int] cpu_limit: The CPU utilization of a vApp container will not
|
|
48
49
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
49
50
|
unlimited.
|
|
50
51
|
Default: `-1`
|
|
51
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
52
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
52
53
|
available to the vApp container. Default: `0`
|
|
53
|
-
:param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
|
|
54
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The CPU allocation level. The level is a
|
|
54
55
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
55
56
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
56
57
|
`low`, `normal`, or `high` are specified values in `cpu_shares` will be
|
|
57
58
|
ignored. Default: `normal`
|
|
58
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
59
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
59
60
|
determine resource allocation in case of resource contention. If this is set,
|
|
60
61
|
`cpu_share_level` must be `custom`.
|
|
61
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
62
|
-
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a vApp
|
|
62
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
63
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a vApp
|
|
63
64
|
container can grow beyond the specified value if the parent resource pool has
|
|
64
65
|
unreserved resources. Default: `true`
|
|
65
|
-
:param pulumi.Input[int] memory_limit: The CPU utilization of a vApp container will not
|
|
66
|
+
:param pulumi.Input[builtins.int] memory_limit: The CPU utilization of a vApp container will not
|
|
66
67
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
67
68
|
unlimited. Default: `-1`
|
|
68
|
-
:param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
69
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
69
70
|
available to the vApp container. Default: `0`
|
|
70
|
-
:param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
|
|
71
|
+
:param pulumi.Input[builtins.str] memory_share_level: The CPU allocation level. The level is a
|
|
71
72
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
72
73
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
73
74
|
`low`, `normal`, or `high` are specified values in `memory_shares` will be
|
|
74
75
|
ignored. Default: `normal`
|
|
75
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
|
|
76
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated for CPU. Used to
|
|
76
77
|
determine resource allocation in case of resource contention. If this is set,
|
|
77
78
|
`memory_share_level` must be `custom`.
|
|
78
|
-
:param pulumi.Input[str] name: The name of the vApp container.
|
|
79
|
-
:param pulumi.Input[str] parent_folder_id: The managed object ID of
|
|
79
|
+
:param pulumi.Input[builtins.str] name: The name of the vApp container.
|
|
80
|
+
:param pulumi.Input[builtins.str] parent_folder_id: The managed object ID of
|
|
80
81
|
the vApp container's parent folder.
|
|
81
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
82
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
82
83
|
"""
|
|
83
84
|
pulumi.set(__self__, "parent_resource_pool_id", parent_resource_pool_id)
|
|
84
85
|
if cpu_expandable is not None:
|
|
@@ -112,7 +113,7 @@ class VappContainerArgs:
|
|
|
112
113
|
|
|
113
114
|
@property
|
|
114
115
|
@pulumi.getter(name="parentResourcePoolId")
|
|
115
|
-
def parent_resource_pool_id(self) -> pulumi.Input[str]:
|
|
116
|
+
def parent_resource_pool_id(self) -> pulumi.Input[builtins.str]:
|
|
116
117
|
"""
|
|
117
118
|
The managed object ID
|
|
118
119
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
@@ -123,12 +124,12 @@ class VappContainerArgs:
|
|
|
123
124
|
return pulumi.get(self, "parent_resource_pool_id")
|
|
124
125
|
|
|
125
126
|
@parent_resource_pool_id.setter
|
|
126
|
-
def parent_resource_pool_id(self, value: pulumi.Input[str]):
|
|
127
|
+
def parent_resource_pool_id(self, value: pulumi.Input[builtins.str]):
|
|
127
128
|
pulumi.set(self, "parent_resource_pool_id", value)
|
|
128
129
|
|
|
129
130
|
@property
|
|
130
131
|
@pulumi.getter(name="cpuExpandable")
|
|
131
|
-
def cpu_expandable(self) -> Optional[pulumi.Input[bool]]:
|
|
132
|
+
def cpu_expandable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
132
133
|
"""
|
|
133
134
|
Determines if the reservation on a vApp
|
|
134
135
|
container can grow beyond the specified value if the parent resource pool has
|
|
@@ -137,12 +138,12 @@ class VappContainerArgs:
|
|
|
137
138
|
return pulumi.get(self, "cpu_expandable")
|
|
138
139
|
|
|
139
140
|
@cpu_expandable.setter
|
|
140
|
-
def cpu_expandable(self, value: Optional[pulumi.Input[bool]]):
|
|
141
|
+
def cpu_expandable(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
141
142
|
pulumi.set(self, "cpu_expandable", value)
|
|
142
143
|
|
|
143
144
|
@property
|
|
144
145
|
@pulumi.getter(name="cpuLimit")
|
|
145
|
-
def cpu_limit(self) -> Optional[pulumi.Input[int]]:
|
|
146
|
+
def cpu_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
146
147
|
"""
|
|
147
148
|
The CPU utilization of a vApp container will not
|
|
148
149
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
@@ -152,12 +153,12 @@ class VappContainerArgs:
|
|
|
152
153
|
return pulumi.get(self, "cpu_limit")
|
|
153
154
|
|
|
154
155
|
@cpu_limit.setter
|
|
155
|
-
def cpu_limit(self, value: Optional[pulumi.Input[int]]):
|
|
156
|
+
def cpu_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
156
157
|
pulumi.set(self, "cpu_limit", value)
|
|
157
158
|
|
|
158
159
|
@property
|
|
159
160
|
@pulumi.getter(name="cpuReservation")
|
|
160
|
-
def cpu_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
161
|
+
def cpu_reservation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
161
162
|
"""
|
|
162
163
|
Amount of CPU (MHz) that is guaranteed
|
|
163
164
|
available to the vApp container. Default: `0`
|
|
@@ -165,12 +166,12 @@ class VappContainerArgs:
|
|
|
165
166
|
return pulumi.get(self, "cpu_reservation")
|
|
166
167
|
|
|
167
168
|
@cpu_reservation.setter
|
|
168
|
-
def cpu_reservation(self, value: Optional[pulumi.Input[int]]):
|
|
169
|
+
def cpu_reservation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
169
170
|
pulumi.set(self, "cpu_reservation", value)
|
|
170
171
|
|
|
171
172
|
@property
|
|
172
173
|
@pulumi.getter(name="cpuShareLevel")
|
|
173
|
-
def cpu_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
174
|
+
def cpu_share_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
174
175
|
"""
|
|
175
176
|
The CPU allocation level. The level is a
|
|
176
177
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -181,12 +182,12 @@ class VappContainerArgs:
|
|
|
181
182
|
return pulumi.get(self, "cpu_share_level")
|
|
182
183
|
|
|
183
184
|
@cpu_share_level.setter
|
|
184
|
-
def cpu_share_level(self, value: Optional[pulumi.Input[str]]):
|
|
185
|
+
def cpu_share_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
185
186
|
pulumi.set(self, "cpu_share_level", value)
|
|
186
187
|
|
|
187
188
|
@property
|
|
188
189
|
@pulumi.getter(name="cpuShares")
|
|
189
|
-
def cpu_shares(self) -> Optional[pulumi.Input[int]]:
|
|
190
|
+
def cpu_shares(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
190
191
|
"""
|
|
191
192
|
The number of shares allocated for CPU. Used to
|
|
192
193
|
determine resource allocation in case of resource contention. If this is set,
|
|
@@ -195,24 +196,24 @@ class VappContainerArgs:
|
|
|
195
196
|
return pulumi.get(self, "cpu_shares")
|
|
196
197
|
|
|
197
198
|
@cpu_shares.setter
|
|
198
|
-
def cpu_shares(self, value: Optional[pulumi.Input[int]]):
|
|
199
|
+
def cpu_shares(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
199
200
|
pulumi.set(self, "cpu_shares", value)
|
|
200
201
|
|
|
201
202
|
@property
|
|
202
203
|
@pulumi.getter(name="customAttributes")
|
|
203
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
204
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
204
205
|
"""
|
|
205
206
|
A list of custom attributes to set on this resource.
|
|
206
207
|
"""
|
|
207
208
|
return pulumi.get(self, "custom_attributes")
|
|
208
209
|
|
|
209
210
|
@custom_attributes.setter
|
|
210
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
211
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
211
212
|
pulumi.set(self, "custom_attributes", value)
|
|
212
213
|
|
|
213
214
|
@property
|
|
214
215
|
@pulumi.getter(name="memoryExpandable")
|
|
215
|
-
def memory_expandable(self) -> Optional[pulumi.Input[bool]]:
|
|
216
|
+
def memory_expandable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
216
217
|
"""
|
|
217
218
|
Determines if the reservation on a vApp
|
|
218
219
|
container can grow beyond the specified value if the parent resource pool has
|
|
@@ -221,12 +222,12 @@ class VappContainerArgs:
|
|
|
221
222
|
return pulumi.get(self, "memory_expandable")
|
|
222
223
|
|
|
223
224
|
@memory_expandable.setter
|
|
224
|
-
def memory_expandable(self, value: Optional[pulumi.Input[bool]]):
|
|
225
|
+
def memory_expandable(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
225
226
|
pulumi.set(self, "memory_expandable", value)
|
|
226
227
|
|
|
227
228
|
@property
|
|
228
229
|
@pulumi.getter(name="memoryLimit")
|
|
229
|
-
def memory_limit(self) -> Optional[pulumi.Input[int]]:
|
|
230
|
+
def memory_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
230
231
|
"""
|
|
231
232
|
The CPU utilization of a vApp container will not
|
|
232
233
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
@@ -235,12 +236,12 @@ class VappContainerArgs:
|
|
|
235
236
|
return pulumi.get(self, "memory_limit")
|
|
236
237
|
|
|
237
238
|
@memory_limit.setter
|
|
238
|
-
def memory_limit(self, value: Optional[pulumi.Input[int]]):
|
|
239
|
+
def memory_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
239
240
|
pulumi.set(self, "memory_limit", value)
|
|
240
241
|
|
|
241
242
|
@property
|
|
242
243
|
@pulumi.getter(name="memoryReservation")
|
|
243
|
-
def memory_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
244
|
+
def memory_reservation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
244
245
|
"""
|
|
245
246
|
Amount of CPU (MHz) that is guaranteed
|
|
246
247
|
available to the vApp container. Default: `0`
|
|
@@ -248,12 +249,12 @@ class VappContainerArgs:
|
|
|
248
249
|
return pulumi.get(self, "memory_reservation")
|
|
249
250
|
|
|
250
251
|
@memory_reservation.setter
|
|
251
|
-
def memory_reservation(self, value: Optional[pulumi.Input[int]]):
|
|
252
|
+
def memory_reservation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
252
253
|
pulumi.set(self, "memory_reservation", value)
|
|
253
254
|
|
|
254
255
|
@property
|
|
255
256
|
@pulumi.getter(name="memoryShareLevel")
|
|
256
|
-
def memory_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
257
|
+
def memory_share_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
257
258
|
"""
|
|
258
259
|
The CPU allocation level. The level is a
|
|
259
260
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -264,12 +265,12 @@ class VappContainerArgs:
|
|
|
264
265
|
return pulumi.get(self, "memory_share_level")
|
|
265
266
|
|
|
266
267
|
@memory_share_level.setter
|
|
267
|
-
def memory_share_level(self, value: Optional[pulumi.Input[str]]):
|
|
268
|
+
def memory_share_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
268
269
|
pulumi.set(self, "memory_share_level", value)
|
|
269
270
|
|
|
270
271
|
@property
|
|
271
272
|
@pulumi.getter(name="memoryShares")
|
|
272
|
-
def memory_shares(self) -> Optional[pulumi.Input[int]]:
|
|
273
|
+
def memory_shares(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
273
274
|
"""
|
|
274
275
|
The number of shares allocated for CPU. Used to
|
|
275
276
|
determine resource allocation in case of resource contention. If this is set,
|
|
@@ -278,24 +279,24 @@ class VappContainerArgs:
|
|
|
278
279
|
return pulumi.get(self, "memory_shares")
|
|
279
280
|
|
|
280
281
|
@memory_shares.setter
|
|
281
|
-
def memory_shares(self, value: Optional[pulumi.Input[int]]):
|
|
282
|
+
def memory_shares(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
282
283
|
pulumi.set(self, "memory_shares", value)
|
|
283
284
|
|
|
284
285
|
@property
|
|
285
286
|
@pulumi.getter
|
|
286
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
287
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
287
288
|
"""
|
|
288
289
|
The name of the vApp container.
|
|
289
290
|
"""
|
|
290
291
|
return pulumi.get(self, "name")
|
|
291
292
|
|
|
292
293
|
@name.setter
|
|
293
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
294
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
294
295
|
pulumi.set(self, "name", value)
|
|
295
296
|
|
|
296
297
|
@property
|
|
297
298
|
@pulumi.getter(name="parentFolderId")
|
|
298
|
-
def parent_folder_id(self) -> Optional[pulumi.Input[str]]:
|
|
299
|
+
def parent_folder_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
299
300
|
"""
|
|
300
301
|
The managed object ID of
|
|
301
302
|
the vApp container's parent folder.
|
|
@@ -303,85 +304,85 @@ class VappContainerArgs:
|
|
|
303
304
|
return pulumi.get(self, "parent_folder_id")
|
|
304
305
|
|
|
305
306
|
@parent_folder_id.setter
|
|
306
|
-
def parent_folder_id(self, value: Optional[pulumi.Input[str]]):
|
|
307
|
+
def parent_folder_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
307
308
|
pulumi.set(self, "parent_folder_id", value)
|
|
308
309
|
|
|
309
310
|
@property
|
|
310
311
|
@pulumi.getter
|
|
311
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
312
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
312
313
|
"""
|
|
313
314
|
The IDs of any tags to attach to this resource.
|
|
314
315
|
"""
|
|
315
316
|
return pulumi.get(self, "tags")
|
|
316
317
|
|
|
317
318
|
@tags.setter
|
|
318
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
319
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
319
320
|
pulumi.set(self, "tags", value)
|
|
320
321
|
|
|
321
322
|
|
|
322
323
|
@pulumi.input_type
|
|
323
324
|
class _VappContainerState:
|
|
324
325
|
def __init__(__self__, *,
|
|
325
|
-
cpu_expandable: Optional[pulumi.Input[bool]] = None,
|
|
326
|
-
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
327
|
-
cpu_reservation: Optional[pulumi.Input[int]] = None,
|
|
328
|
-
cpu_share_level: Optional[pulumi.Input[str]] = None,
|
|
329
|
-
cpu_shares: Optional[pulumi.Input[int]] = None,
|
|
330
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
331
|
-
memory_expandable: Optional[pulumi.Input[bool]] = None,
|
|
332
|
-
memory_limit: Optional[pulumi.Input[int]] = None,
|
|
333
|
-
memory_reservation: Optional[pulumi.Input[int]] = None,
|
|
334
|
-
memory_share_level: Optional[pulumi.Input[str]] = None,
|
|
335
|
-
memory_shares: Optional[pulumi.Input[int]] = None,
|
|
336
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
337
|
-
parent_folder_id: Optional[pulumi.Input[str]] = None,
|
|
338
|
-
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
339
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
326
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
327
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
328
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
329
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
330
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
331
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
332
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
333
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
334
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
335
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
336
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
337
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
338
|
+
parent_folder_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
339
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
340
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
340
341
|
"""
|
|
341
342
|
Input properties used for looking up and filtering VappContainer resources.
|
|
342
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a vApp
|
|
343
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a vApp
|
|
343
344
|
container can grow beyond the specified value if the parent resource pool has
|
|
344
345
|
unreserved resources. Default: `true`
|
|
345
|
-
:param pulumi.Input[int] cpu_limit: The CPU utilization of a vApp container will not
|
|
346
|
+
:param pulumi.Input[builtins.int] cpu_limit: The CPU utilization of a vApp container will not
|
|
346
347
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
347
348
|
unlimited.
|
|
348
349
|
Default: `-1`
|
|
349
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
350
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
350
351
|
available to the vApp container. Default: `0`
|
|
351
|
-
:param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
|
|
352
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The CPU allocation level. The level is a
|
|
352
353
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
353
354
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
354
355
|
`low`, `normal`, or `high` are specified values in `cpu_shares` will be
|
|
355
356
|
ignored. Default: `normal`
|
|
356
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
357
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
357
358
|
determine resource allocation in case of resource contention. If this is set,
|
|
358
359
|
`cpu_share_level` must be `custom`.
|
|
359
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
360
|
-
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a vApp
|
|
360
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
361
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a vApp
|
|
361
362
|
container can grow beyond the specified value if the parent resource pool has
|
|
362
363
|
unreserved resources. Default: `true`
|
|
363
|
-
:param pulumi.Input[int] memory_limit: The CPU utilization of a vApp container will not
|
|
364
|
+
:param pulumi.Input[builtins.int] memory_limit: The CPU utilization of a vApp container will not
|
|
364
365
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
365
366
|
unlimited. Default: `-1`
|
|
366
|
-
:param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
367
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
367
368
|
available to the vApp container. Default: `0`
|
|
368
|
-
:param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
|
|
369
|
+
:param pulumi.Input[builtins.str] memory_share_level: The CPU allocation level. The level is a
|
|
369
370
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
370
371
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
371
372
|
`low`, `normal`, or `high` are specified values in `memory_shares` will be
|
|
372
373
|
ignored. Default: `normal`
|
|
373
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
|
|
374
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated for CPU. Used to
|
|
374
375
|
determine resource allocation in case of resource contention. If this is set,
|
|
375
376
|
`memory_share_level` must be `custom`.
|
|
376
|
-
:param pulumi.Input[str] name: The name of the vApp container.
|
|
377
|
-
:param pulumi.Input[str] parent_folder_id: The managed object ID of
|
|
377
|
+
:param pulumi.Input[builtins.str] name: The name of the vApp container.
|
|
378
|
+
:param pulumi.Input[builtins.str] parent_folder_id: The managed object ID of
|
|
378
379
|
the vApp container's parent folder.
|
|
379
|
-
:param pulumi.Input[str] parent_resource_pool_id: The managed object ID
|
|
380
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The managed object ID
|
|
380
381
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
381
382
|
or standalone host, or a resource pool itself. When moving a vApp container
|
|
382
383
|
from one parent resource pool to another, both must share a common root
|
|
383
384
|
resource pool or the move will fail.
|
|
384
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
385
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
385
386
|
"""
|
|
386
387
|
if cpu_expandable is not None:
|
|
387
388
|
pulumi.set(__self__, "cpu_expandable", cpu_expandable)
|
|
@@ -416,7 +417,7 @@ class _VappContainerState:
|
|
|
416
417
|
|
|
417
418
|
@property
|
|
418
419
|
@pulumi.getter(name="cpuExpandable")
|
|
419
|
-
def cpu_expandable(self) -> Optional[pulumi.Input[bool]]:
|
|
420
|
+
def cpu_expandable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
420
421
|
"""
|
|
421
422
|
Determines if the reservation on a vApp
|
|
422
423
|
container can grow beyond the specified value if the parent resource pool has
|
|
@@ -425,12 +426,12 @@ class _VappContainerState:
|
|
|
425
426
|
return pulumi.get(self, "cpu_expandable")
|
|
426
427
|
|
|
427
428
|
@cpu_expandable.setter
|
|
428
|
-
def cpu_expandable(self, value: Optional[pulumi.Input[bool]]):
|
|
429
|
+
def cpu_expandable(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
429
430
|
pulumi.set(self, "cpu_expandable", value)
|
|
430
431
|
|
|
431
432
|
@property
|
|
432
433
|
@pulumi.getter(name="cpuLimit")
|
|
433
|
-
def cpu_limit(self) -> Optional[pulumi.Input[int]]:
|
|
434
|
+
def cpu_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
434
435
|
"""
|
|
435
436
|
The CPU utilization of a vApp container will not
|
|
436
437
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
@@ -440,12 +441,12 @@ class _VappContainerState:
|
|
|
440
441
|
return pulumi.get(self, "cpu_limit")
|
|
441
442
|
|
|
442
443
|
@cpu_limit.setter
|
|
443
|
-
def cpu_limit(self, value: Optional[pulumi.Input[int]]):
|
|
444
|
+
def cpu_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
444
445
|
pulumi.set(self, "cpu_limit", value)
|
|
445
446
|
|
|
446
447
|
@property
|
|
447
448
|
@pulumi.getter(name="cpuReservation")
|
|
448
|
-
def cpu_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
449
|
+
def cpu_reservation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
449
450
|
"""
|
|
450
451
|
Amount of CPU (MHz) that is guaranteed
|
|
451
452
|
available to the vApp container. Default: `0`
|
|
@@ -453,12 +454,12 @@ class _VappContainerState:
|
|
|
453
454
|
return pulumi.get(self, "cpu_reservation")
|
|
454
455
|
|
|
455
456
|
@cpu_reservation.setter
|
|
456
|
-
def cpu_reservation(self, value: Optional[pulumi.Input[int]]):
|
|
457
|
+
def cpu_reservation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
457
458
|
pulumi.set(self, "cpu_reservation", value)
|
|
458
459
|
|
|
459
460
|
@property
|
|
460
461
|
@pulumi.getter(name="cpuShareLevel")
|
|
461
|
-
def cpu_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
462
|
+
def cpu_share_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
462
463
|
"""
|
|
463
464
|
The CPU allocation level. The level is a
|
|
464
465
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -469,12 +470,12 @@ class _VappContainerState:
|
|
|
469
470
|
return pulumi.get(self, "cpu_share_level")
|
|
470
471
|
|
|
471
472
|
@cpu_share_level.setter
|
|
472
|
-
def cpu_share_level(self, value: Optional[pulumi.Input[str]]):
|
|
473
|
+
def cpu_share_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
473
474
|
pulumi.set(self, "cpu_share_level", value)
|
|
474
475
|
|
|
475
476
|
@property
|
|
476
477
|
@pulumi.getter(name="cpuShares")
|
|
477
|
-
def cpu_shares(self) -> Optional[pulumi.Input[int]]:
|
|
478
|
+
def cpu_shares(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
478
479
|
"""
|
|
479
480
|
The number of shares allocated for CPU. Used to
|
|
480
481
|
determine resource allocation in case of resource contention. If this is set,
|
|
@@ -483,24 +484,24 @@ class _VappContainerState:
|
|
|
483
484
|
return pulumi.get(self, "cpu_shares")
|
|
484
485
|
|
|
485
486
|
@cpu_shares.setter
|
|
486
|
-
def cpu_shares(self, value: Optional[pulumi.Input[int]]):
|
|
487
|
+
def cpu_shares(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
487
488
|
pulumi.set(self, "cpu_shares", value)
|
|
488
489
|
|
|
489
490
|
@property
|
|
490
491
|
@pulumi.getter(name="customAttributes")
|
|
491
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
492
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
492
493
|
"""
|
|
493
494
|
A list of custom attributes to set on this resource.
|
|
494
495
|
"""
|
|
495
496
|
return pulumi.get(self, "custom_attributes")
|
|
496
497
|
|
|
497
498
|
@custom_attributes.setter
|
|
498
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
499
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
499
500
|
pulumi.set(self, "custom_attributes", value)
|
|
500
501
|
|
|
501
502
|
@property
|
|
502
503
|
@pulumi.getter(name="memoryExpandable")
|
|
503
|
-
def memory_expandable(self) -> Optional[pulumi.Input[bool]]:
|
|
504
|
+
def memory_expandable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
504
505
|
"""
|
|
505
506
|
Determines if the reservation on a vApp
|
|
506
507
|
container can grow beyond the specified value if the parent resource pool has
|
|
@@ -509,12 +510,12 @@ class _VappContainerState:
|
|
|
509
510
|
return pulumi.get(self, "memory_expandable")
|
|
510
511
|
|
|
511
512
|
@memory_expandable.setter
|
|
512
|
-
def memory_expandable(self, value: Optional[pulumi.Input[bool]]):
|
|
513
|
+
def memory_expandable(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
513
514
|
pulumi.set(self, "memory_expandable", value)
|
|
514
515
|
|
|
515
516
|
@property
|
|
516
517
|
@pulumi.getter(name="memoryLimit")
|
|
517
|
-
def memory_limit(self) -> Optional[pulumi.Input[int]]:
|
|
518
|
+
def memory_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
518
519
|
"""
|
|
519
520
|
The CPU utilization of a vApp container will not
|
|
520
521
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
@@ -523,12 +524,12 @@ class _VappContainerState:
|
|
|
523
524
|
return pulumi.get(self, "memory_limit")
|
|
524
525
|
|
|
525
526
|
@memory_limit.setter
|
|
526
|
-
def memory_limit(self, value: Optional[pulumi.Input[int]]):
|
|
527
|
+
def memory_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
527
528
|
pulumi.set(self, "memory_limit", value)
|
|
528
529
|
|
|
529
530
|
@property
|
|
530
531
|
@pulumi.getter(name="memoryReservation")
|
|
531
|
-
def memory_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
532
|
+
def memory_reservation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
532
533
|
"""
|
|
533
534
|
Amount of CPU (MHz) that is guaranteed
|
|
534
535
|
available to the vApp container. Default: `0`
|
|
@@ -536,12 +537,12 @@ class _VappContainerState:
|
|
|
536
537
|
return pulumi.get(self, "memory_reservation")
|
|
537
538
|
|
|
538
539
|
@memory_reservation.setter
|
|
539
|
-
def memory_reservation(self, value: Optional[pulumi.Input[int]]):
|
|
540
|
+
def memory_reservation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
540
541
|
pulumi.set(self, "memory_reservation", value)
|
|
541
542
|
|
|
542
543
|
@property
|
|
543
544
|
@pulumi.getter(name="memoryShareLevel")
|
|
544
|
-
def memory_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
545
|
+
def memory_share_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
545
546
|
"""
|
|
546
547
|
The CPU allocation level. The level is a
|
|
547
548
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -552,12 +553,12 @@ class _VappContainerState:
|
|
|
552
553
|
return pulumi.get(self, "memory_share_level")
|
|
553
554
|
|
|
554
555
|
@memory_share_level.setter
|
|
555
|
-
def memory_share_level(self, value: Optional[pulumi.Input[str]]):
|
|
556
|
+
def memory_share_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
556
557
|
pulumi.set(self, "memory_share_level", value)
|
|
557
558
|
|
|
558
559
|
@property
|
|
559
560
|
@pulumi.getter(name="memoryShares")
|
|
560
|
-
def memory_shares(self) -> Optional[pulumi.Input[int]]:
|
|
561
|
+
def memory_shares(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
561
562
|
"""
|
|
562
563
|
The number of shares allocated for CPU. Used to
|
|
563
564
|
determine resource allocation in case of resource contention. If this is set,
|
|
@@ -566,24 +567,24 @@ class _VappContainerState:
|
|
|
566
567
|
return pulumi.get(self, "memory_shares")
|
|
567
568
|
|
|
568
569
|
@memory_shares.setter
|
|
569
|
-
def memory_shares(self, value: Optional[pulumi.Input[int]]):
|
|
570
|
+
def memory_shares(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
570
571
|
pulumi.set(self, "memory_shares", value)
|
|
571
572
|
|
|
572
573
|
@property
|
|
573
574
|
@pulumi.getter
|
|
574
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
575
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
575
576
|
"""
|
|
576
577
|
The name of the vApp container.
|
|
577
578
|
"""
|
|
578
579
|
return pulumi.get(self, "name")
|
|
579
580
|
|
|
580
581
|
@name.setter
|
|
581
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
582
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
582
583
|
pulumi.set(self, "name", value)
|
|
583
584
|
|
|
584
585
|
@property
|
|
585
586
|
@pulumi.getter(name="parentFolderId")
|
|
586
|
-
def parent_folder_id(self) -> Optional[pulumi.Input[str]]:
|
|
587
|
+
def parent_folder_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
587
588
|
"""
|
|
588
589
|
The managed object ID of
|
|
589
590
|
the vApp container's parent folder.
|
|
@@ -591,12 +592,12 @@ class _VappContainerState:
|
|
|
591
592
|
return pulumi.get(self, "parent_folder_id")
|
|
592
593
|
|
|
593
594
|
@parent_folder_id.setter
|
|
594
|
-
def parent_folder_id(self, value: Optional[pulumi.Input[str]]):
|
|
595
|
+
def parent_folder_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
595
596
|
pulumi.set(self, "parent_folder_id", value)
|
|
596
597
|
|
|
597
598
|
@property
|
|
598
599
|
@pulumi.getter(name="parentResourcePoolId")
|
|
599
|
-
def parent_resource_pool_id(self) -> Optional[pulumi.Input[str]]:
|
|
600
|
+
def parent_resource_pool_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
600
601
|
"""
|
|
601
602
|
The managed object ID
|
|
602
603
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
@@ -607,42 +608,43 @@ class _VappContainerState:
|
|
|
607
608
|
return pulumi.get(self, "parent_resource_pool_id")
|
|
608
609
|
|
|
609
610
|
@parent_resource_pool_id.setter
|
|
610
|
-
def parent_resource_pool_id(self, value: Optional[pulumi.Input[str]]):
|
|
611
|
+
def parent_resource_pool_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
611
612
|
pulumi.set(self, "parent_resource_pool_id", value)
|
|
612
613
|
|
|
613
614
|
@property
|
|
614
615
|
@pulumi.getter
|
|
615
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
616
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
616
617
|
"""
|
|
617
618
|
The IDs of any tags to attach to this resource.
|
|
618
619
|
"""
|
|
619
620
|
return pulumi.get(self, "tags")
|
|
620
621
|
|
|
621
622
|
@tags.setter
|
|
622
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
623
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
623
624
|
pulumi.set(self, "tags", value)
|
|
624
625
|
|
|
625
626
|
|
|
627
|
+
@pulumi.type_token("vsphere:index/vappContainer:VappContainer")
|
|
626
628
|
class VappContainer(pulumi.CustomResource):
|
|
627
629
|
@overload
|
|
628
630
|
def __init__(__self__,
|
|
629
631
|
resource_name: str,
|
|
630
632
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
631
|
-
cpu_expandable: Optional[pulumi.Input[bool]] = None,
|
|
632
|
-
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
633
|
-
cpu_reservation: Optional[pulumi.Input[int]] = None,
|
|
634
|
-
cpu_share_level: Optional[pulumi.Input[str]] = None,
|
|
635
|
-
cpu_shares: Optional[pulumi.Input[int]] = None,
|
|
636
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
637
|
-
memory_expandable: Optional[pulumi.Input[bool]] = None,
|
|
638
|
-
memory_limit: Optional[pulumi.Input[int]] = None,
|
|
639
|
-
memory_reservation: Optional[pulumi.Input[int]] = None,
|
|
640
|
-
memory_share_level: Optional[pulumi.Input[str]] = None,
|
|
641
|
-
memory_shares: Optional[pulumi.Input[int]] = None,
|
|
642
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
643
|
-
parent_folder_id: Optional[pulumi.Input[str]] = None,
|
|
644
|
-
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
645
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
633
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
634
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
635
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
636
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
637
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
638
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
639
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
640
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
641
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
642
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
643
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
644
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
645
|
+
parent_folder_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
646
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
647
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
646
648
|
__props__=None):
|
|
647
649
|
"""
|
|
648
650
|
The `VappContainer` resource can be used to create and manage
|
|
@@ -726,49 +728,49 @@ class VappContainer(pulumi.CustomResource):
|
|
|
726
728
|
|
|
727
729
|
:param str resource_name: The name of the resource.
|
|
728
730
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
729
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a vApp
|
|
731
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a vApp
|
|
730
732
|
container can grow beyond the specified value if the parent resource pool has
|
|
731
733
|
unreserved resources. Default: `true`
|
|
732
|
-
:param pulumi.Input[int] cpu_limit: The CPU utilization of a vApp container will not
|
|
734
|
+
:param pulumi.Input[builtins.int] cpu_limit: The CPU utilization of a vApp container will not
|
|
733
735
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
734
736
|
unlimited.
|
|
735
737
|
Default: `-1`
|
|
736
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
738
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
737
739
|
available to the vApp container. Default: `0`
|
|
738
|
-
:param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
|
|
740
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The CPU allocation level. The level is a
|
|
739
741
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
740
742
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
741
743
|
`low`, `normal`, or `high` are specified values in `cpu_shares` will be
|
|
742
744
|
ignored. Default: `normal`
|
|
743
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
745
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
744
746
|
determine resource allocation in case of resource contention. If this is set,
|
|
745
747
|
`cpu_share_level` must be `custom`.
|
|
746
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
747
|
-
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a vApp
|
|
748
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
749
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a vApp
|
|
748
750
|
container can grow beyond the specified value if the parent resource pool has
|
|
749
751
|
unreserved resources. Default: `true`
|
|
750
|
-
:param pulumi.Input[int] memory_limit: The CPU utilization of a vApp container will not
|
|
752
|
+
:param pulumi.Input[builtins.int] memory_limit: The CPU utilization of a vApp container will not
|
|
751
753
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
752
754
|
unlimited. Default: `-1`
|
|
753
|
-
:param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
755
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
754
756
|
available to the vApp container. Default: `0`
|
|
755
|
-
:param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
|
|
757
|
+
:param pulumi.Input[builtins.str] memory_share_level: The CPU allocation level. The level is a
|
|
756
758
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
757
759
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
758
760
|
`low`, `normal`, or `high` are specified values in `memory_shares` will be
|
|
759
761
|
ignored. Default: `normal`
|
|
760
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
|
|
762
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated for CPU. Used to
|
|
761
763
|
determine resource allocation in case of resource contention. If this is set,
|
|
762
764
|
`memory_share_level` must be `custom`.
|
|
763
|
-
:param pulumi.Input[str] name: The name of the vApp container.
|
|
764
|
-
:param pulumi.Input[str] parent_folder_id: The managed object ID of
|
|
765
|
+
:param pulumi.Input[builtins.str] name: The name of the vApp container.
|
|
766
|
+
:param pulumi.Input[builtins.str] parent_folder_id: The managed object ID of
|
|
765
767
|
the vApp container's parent folder.
|
|
766
|
-
:param pulumi.Input[str] parent_resource_pool_id: The managed object ID
|
|
768
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The managed object ID
|
|
767
769
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
768
770
|
or standalone host, or a resource pool itself. When moving a vApp container
|
|
769
771
|
from one parent resource pool to another, both must share a common root
|
|
770
772
|
resource pool or the move will fail.
|
|
771
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
773
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
772
774
|
"""
|
|
773
775
|
...
|
|
774
776
|
@overload
|
|
@@ -871,21 +873,21 @@ class VappContainer(pulumi.CustomResource):
|
|
|
871
873
|
def _internal_init(__self__,
|
|
872
874
|
resource_name: str,
|
|
873
875
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
874
|
-
cpu_expandable: Optional[pulumi.Input[bool]] = None,
|
|
875
|
-
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
876
|
-
cpu_reservation: Optional[pulumi.Input[int]] = None,
|
|
877
|
-
cpu_share_level: Optional[pulumi.Input[str]] = None,
|
|
878
|
-
cpu_shares: Optional[pulumi.Input[int]] = None,
|
|
879
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
880
|
-
memory_expandable: Optional[pulumi.Input[bool]] = None,
|
|
881
|
-
memory_limit: Optional[pulumi.Input[int]] = None,
|
|
882
|
-
memory_reservation: Optional[pulumi.Input[int]] = None,
|
|
883
|
-
memory_share_level: Optional[pulumi.Input[str]] = None,
|
|
884
|
-
memory_shares: Optional[pulumi.Input[int]] = None,
|
|
885
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
886
|
-
parent_folder_id: Optional[pulumi.Input[str]] = None,
|
|
887
|
-
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
888
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
876
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
877
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
878
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
879
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
880
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
881
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
882
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
883
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
884
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
885
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
886
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
887
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
888
|
+
parent_folder_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
889
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
890
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
889
891
|
__props__=None):
|
|
890
892
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
891
893
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -922,21 +924,21 @@ class VappContainer(pulumi.CustomResource):
|
|
|
922
924
|
def get(resource_name: str,
|
|
923
925
|
id: pulumi.Input[str],
|
|
924
926
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
925
|
-
cpu_expandable: Optional[pulumi.Input[bool]] = None,
|
|
926
|
-
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
927
|
-
cpu_reservation: Optional[pulumi.Input[int]] = None,
|
|
928
|
-
cpu_share_level: Optional[pulumi.Input[str]] = None,
|
|
929
|
-
cpu_shares: Optional[pulumi.Input[int]] = None,
|
|
930
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
931
|
-
memory_expandable: Optional[pulumi.Input[bool]] = None,
|
|
932
|
-
memory_limit: Optional[pulumi.Input[int]] = None,
|
|
933
|
-
memory_reservation: Optional[pulumi.Input[int]] = None,
|
|
934
|
-
memory_share_level: Optional[pulumi.Input[str]] = None,
|
|
935
|
-
memory_shares: Optional[pulumi.Input[int]] = None,
|
|
936
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
937
|
-
parent_folder_id: Optional[pulumi.Input[str]] = None,
|
|
938
|
-
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
939
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'VappContainer':
|
|
927
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
928
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
929
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
930
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
931
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
932
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
933
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
934
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
935
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
936
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
937
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
938
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
939
|
+
parent_folder_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
940
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
941
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'VappContainer':
|
|
940
942
|
"""
|
|
941
943
|
Get an existing VappContainer resource's state with the given name, id, and optional extra
|
|
942
944
|
properties used to qualify the lookup.
|
|
@@ -944,49 +946,49 @@ class VappContainer(pulumi.CustomResource):
|
|
|
944
946
|
:param str resource_name: The unique name of the resulting resource.
|
|
945
947
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
946
948
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
947
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a vApp
|
|
949
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a vApp
|
|
948
950
|
container can grow beyond the specified value if the parent resource pool has
|
|
949
951
|
unreserved resources. Default: `true`
|
|
950
|
-
:param pulumi.Input[int] cpu_limit: The CPU utilization of a vApp container will not
|
|
952
|
+
:param pulumi.Input[builtins.int] cpu_limit: The CPU utilization of a vApp container will not
|
|
951
953
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
952
954
|
unlimited.
|
|
953
955
|
Default: `-1`
|
|
954
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
956
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
955
957
|
available to the vApp container. Default: `0`
|
|
956
|
-
:param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
|
|
958
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The CPU allocation level. The level is a
|
|
957
959
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
958
960
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
959
961
|
`low`, `normal`, or `high` are specified values in `cpu_shares` will be
|
|
960
962
|
ignored. Default: `normal`
|
|
961
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
963
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
962
964
|
determine resource allocation in case of resource contention. If this is set,
|
|
963
965
|
`cpu_share_level` must be `custom`.
|
|
964
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
965
|
-
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a vApp
|
|
966
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
967
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a vApp
|
|
966
968
|
container can grow beyond the specified value if the parent resource pool has
|
|
967
969
|
unreserved resources. Default: `true`
|
|
968
|
-
:param pulumi.Input[int] memory_limit: The CPU utilization of a vApp container will not
|
|
970
|
+
:param pulumi.Input[builtins.int] memory_limit: The CPU utilization of a vApp container will not
|
|
969
971
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
970
972
|
unlimited. Default: `-1`
|
|
971
|
-
:param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
973
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
972
974
|
available to the vApp container. Default: `0`
|
|
973
|
-
:param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
|
|
975
|
+
:param pulumi.Input[builtins.str] memory_share_level: The CPU allocation level. The level is a
|
|
974
976
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
975
977
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
976
978
|
`low`, `normal`, or `high` are specified values in `memory_shares` will be
|
|
977
979
|
ignored. Default: `normal`
|
|
978
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
|
|
980
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated for CPU. Used to
|
|
979
981
|
determine resource allocation in case of resource contention. If this is set,
|
|
980
982
|
`memory_share_level` must be `custom`.
|
|
981
|
-
:param pulumi.Input[str] name: The name of the vApp container.
|
|
982
|
-
:param pulumi.Input[str] parent_folder_id: The managed object ID of
|
|
983
|
+
:param pulumi.Input[builtins.str] name: The name of the vApp container.
|
|
984
|
+
:param pulumi.Input[builtins.str] parent_folder_id: The managed object ID of
|
|
983
985
|
the vApp container's parent folder.
|
|
984
|
-
:param pulumi.Input[str] parent_resource_pool_id: The managed object ID
|
|
986
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The managed object ID
|
|
985
987
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
986
988
|
or standalone host, or a resource pool itself. When moving a vApp container
|
|
987
989
|
from one parent resource pool to another, both must share a common root
|
|
988
990
|
resource pool or the move will fail.
|
|
989
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
991
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
990
992
|
"""
|
|
991
993
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
992
994
|
|
|
@@ -1011,7 +1013,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1011
1013
|
|
|
1012
1014
|
@property
|
|
1013
1015
|
@pulumi.getter(name="cpuExpandable")
|
|
1014
|
-
def cpu_expandable(self) -> pulumi.Output[Optional[bool]]:
|
|
1016
|
+
def cpu_expandable(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1015
1017
|
"""
|
|
1016
1018
|
Determines if the reservation on a vApp
|
|
1017
1019
|
container can grow beyond the specified value if the parent resource pool has
|
|
@@ -1021,7 +1023,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1021
1023
|
|
|
1022
1024
|
@property
|
|
1023
1025
|
@pulumi.getter(name="cpuLimit")
|
|
1024
|
-
def cpu_limit(self) -> pulumi.Output[Optional[int]]:
|
|
1026
|
+
def cpu_limit(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1025
1027
|
"""
|
|
1026
1028
|
The CPU utilization of a vApp container will not
|
|
1027
1029
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
@@ -1032,7 +1034,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1032
1034
|
|
|
1033
1035
|
@property
|
|
1034
1036
|
@pulumi.getter(name="cpuReservation")
|
|
1035
|
-
def cpu_reservation(self) -> pulumi.Output[Optional[int]]:
|
|
1037
|
+
def cpu_reservation(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1036
1038
|
"""
|
|
1037
1039
|
Amount of CPU (MHz) that is guaranteed
|
|
1038
1040
|
available to the vApp container. Default: `0`
|
|
@@ -1041,7 +1043,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1041
1043
|
|
|
1042
1044
|
@property
|
|
1043
1045
|
@pulumi.getter(name="cpuShareLevel")
|
|
1044
|
-
def cpu_share_level(self) -> pulumi.Output[Optional[str]]:
|
|
1046
|
+
def cpu_share_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1045
1047
|
"""
|
|
1046
1048
|
The CPU allocation level. The level is a
|
|
1047
1049
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -1053,7 +1055,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1053
1055
|
|
|
1054
1056
|
@property
|
|
1055
1057
|
@pulumi.getter(name="cpuShares")
|
|
1056
|
-
def cpu_shares(self) -> pulumi.Output[int]:
|
|
1058
|
+
def cpu_shares(self) -> pulumi.Output[builtins.int]:
|
|
1057
1059
|
"""
|
|
1058
1060
|
The number of shares allocated for CPU. Used to
|
|
1059
1061
|
determine resource allocation in case of resource contention. If this is set,
|
|
@@ -1063,7 +1065,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1063
1065
|
|
|
1064
1066
|
@property
|
|
1065
1067
|
@pulumi.getter(name="customAttributes")
|
|
1066
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
1068
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
1067
1069
|
"""
|
|
1068
1070
|
A list of custom attributes to set on this resource.
|
|
1069
1071
|
"""
|
|
@@ -1071,7 +1073,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1071
1073
|
|
|
1072
1074
|
@property
|
|
1073
1075
|
@pulumi.getter(name="memoryExpandable")
|
|
1074
|
-
def memory_expandable(self) -> pulumi.Output[Optional[bool]]:
|
|
1076
|
+
def memory_expandable(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1075
1077
|
"""
|
|
1076
1078
|
Determines if the reservation on a vApp
|
|
1077
1079
|
container can grow beyond the specified value if the parent resource pool has
|
|
@@ -1081,7 +1083,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1081
1083
|
|
|
1082
1084
|
@property
|
|
1083
1085
|
@pulumi.getter(name="memoryLimit")
|
|
1084
|
-
def memory_limit(self) -> pulumi.Output[Optional[int]]:
|
|
1086
|
+
def memory_limit(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1085
1087
|
"""
|
|
1086
1088
|
The CPU utilization of a vApp container will not
|
|
1087
1089
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
@@ -1091,7 +1093,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1091
1093
|
|
|
1092
1094
|
@property
|
|
1093
1095
|
@pulumi.getter(name="memoryReservation")
|
|
1094
|
-
def memory_reservation(self) -> pulumi.Output[Optional[int]]:
|
|
1096
|
+
def memory_reservation(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1095
1097
|
"""
|
|
1096
1098
|
Amount of CPU (MHz) that is guaranteed
|
|
1097
1099
|
available to the vApp container. Default: `0`
|
|
@@ -1100,7 +1102,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1100
1102
|
|
|
1101
1103
|
@property
|
|
1102
1104
|
@pulumi.getter(name="memoryShareLevel")
|
|
1103
|
-
def memory_share_level(self) -> pulumi.Output[Optional[str]]:
|
|
1105
|
+
def memory_share_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1104
1106
|
"""
|
|
1105
1107
|
The CPU allocation level. The level is a
|
|
1106
1108
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -1112,7 +1114,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1112
1114
|
|
|
1113
1115
|
@property
|
|
1114
1116
|
@pulumi.getter(name="memoryShares")
|
|
1115
|
-
def memory_shares(self) -> pulumi.Output[int]:
|
|
1117
|
+
def memory_shares(self) -> pulumi.Output[builtins.int]:
|
|
1116
1118
|
"""
|
|
1117
1119
|
The number of shares allocated for CPU. Used to
|
|
1118
1120
|
determine resource allocation in case of resource contention. If this is set,
|
|
@@ -1122,7 +1124,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1122
1124
|
|
|
1123
1125
|
@property
|
|
1124
1126
|
@pulumi.getter
|
|
1125
|
-
def name(self) -> pulumi.Output[str]:
|
|
1127
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1126
1128
|
"""
|
|
1127
1129
|
The name of the vApp container.
|
|
1128
1130
|
"""
|
|
@@ -1130,7 +1132,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1130
1132
|
|
|
1131
1133
|
@property
|
|
1132
1134
|
@pulumi.getter(name="parentFolderId")
|
|
1133
|
-
def parent_folder_id(self) -> pulumi.Output[Optional[str]]:
|
|
1135
|
+
def parent_folder_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1134
1136
|
"""
|
|
1135
1137
|
The managed object ID of
|
|
1136
1138
|
the vApp container's parent folder.
|
|
@@ -1139,7 +1141,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1139
1141
|
|
|
1140
1142
|
@property
|
|
1141
1143
|
@pulumi.getter(name="parentResourcePoolId")
|
|
1142
|
-
def parent_resource_pool_id(self) -> pulumi.Output[str]:
|
|
1144
|
+
def parent_resource_pool_id(self) -> pulumi.Output[builtins.str]:
|
|
1143
1145
|
"""
|
|
1144
1146
|
The managed object ID
|
|
1145
1147
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
@@ -1151,7 +1153,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1151
1153
|
|
|
1152
1154
|
@property
|
|
1153
1155
|
@pulumi.getter
|
|
1154
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1156
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1155
1157
|
"""
|
|
1156
1158
|
The IDs of any tags to attach to this resource.
|
|
1157
1159
|
"""
|