pulumi-vsphere 4.14.0a1741243116__py3-none-any.whl → 4.14.0a1745952392__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741243116.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
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,45 @@ 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
|
|
|
626
627
|
class VappContainer(pulumi.CustomResource):
|
|
628
|
+
|
|
629
|
+
pulumi_type = "vsphere:index/vappContainer:VappContainer"
|
|
630
|
+
|
|
627
631
|
@overload
|
|
628
632
|
def __init__(__self__,
|
|
629
633
|
resource_name: str,
|
|
630
634
|
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,
|
|
635
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
636
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
637
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
638
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
639
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
640
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
641
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
642
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
643
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
644
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
645
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
646
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
647
|
+
parent_folder_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
648
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
649
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
646
650
|
__props__=None):
|
|
647
651
|
"""
|
|
648
652
|
The `VappContainer` resource can be used to create and manage
|
|
@@ -726,49 +730,49 @@ class VappContainer(pulumi.CustomResource):
|
|
|
726
730
|
|
|
727
731
|
:param str resource_name: The name of the resource.
|
|
728
732
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
729
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a vApp
|
|
733
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a vApp
|
|
730
734
|
container can grow beyond the specified value if the parent resource pool has
|
|
731
735
|
unreserved resources. Default: `true`
|
|
732
|
-
:param pulumi.Input[int] cpu_limit: The CPU utilization of a vApp container will not
|
|
736
|
+
:param pulumi.Input[builtins.int] cpu_limit: The CPU utilization of a vApp container will not
|
|
733
737
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
734
738
|
unlimited.
|
|
735
739
|
Default: `-1`
|
|
736
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
740
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
737
741
|
available to the vApp container. Default: `0`
|
|
738
|
-
:param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
|
|
742
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The CPU allocation level. The level is a
|
|
739
743
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
740
744
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
741
745
|
`low`, `normal`, or `high` are specified values in `cpu_shares` will be
|
|
742
746
|
ignored. Default: `normal`
|
|
743
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
747
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
744
748
|
determine resource allocation in case of resource contention. If this is set,
|
|
745
749
|
`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
|
|
750
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
751
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a vApp
|
|
748
752
|
container can grow beyond the specified value if the parent resource pool has
|
|
749
753
|
unreserved resources. Default: `true`
|
|
750
|
-
:param pulumi.Input[int] memory_limit: The CPU utilization of a vApp container will not
|
|
754
|
+
:param pulumi.Input[builtins.int] memory_limit: The CPU utilization of a vApp container will not
|
|
751
755
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
752
756
|
unlimited. Default: `-1`
|
|
753
|
-
:param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
757
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
754
758
|
available to the vApp container. Default: `0`
|
|
755
|
-
:param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
|
|
759
|
+
:param pulumi.Input[builtins.str] memory_share_level: The CPU allocation level. The level is a
|
|
756
760
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
757
761
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
758
762
|
`low`, `normal`, or `high` are specified values in `memory_shares` will be
|
|
759
763
|
ignored. Default: `normal`
|
|
760
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
|
|
764
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated for CPU. Used to
|
|
761
765
|
determine resource allocation in case of resource contention. If this is set,
|
|
762
766
|
`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
|
|
767
|
+
:param pulumi.Input[builtins.str] name: The name of the vApp container.
|
|
768
|
+
:param pulumi.Input[builtins.str] parent_folder_id: The managed object ID of
|
|
765
769
|
the vApp container's parent folder.
|
|
766
|
-
:param pulumi.Input[str] parent_resource_pool_id: The managed object ID
|
|
770
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The managed object ID
|
|
767
771
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
768
772
|
or standalone host, or a resource pool itself. When moving a vApp container
|
|
769
773
|
from one parent resource pool to another, both must share a common root
|
|
770
774
|
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.
|
|
775
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
772
776
|
"""
|
|
773
777
|
...
|
|
774
778
|
@overload
|
|
@@ -871,21 +875,21 @@ class VappContainer(pulumi.CustomResource):
|
|
|
871
875
|
def _internal_init(__self__,
|
|
872
876
|
resource_name: str,
|
|
873
877
|
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,
|
|
878
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
879
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
880
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
881
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
882
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
883
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
884
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
885
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
886
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
887
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
888
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
889
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
890
|
+
parent_folder_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
891
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
892
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
889
893
|
__props__=None):
|
|
890
894
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
891
895
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -922,21 +926,21 @@ class VappContainer(pulumi.CustomResource):
|
|
|
922
926
|
def get(resource_name: str,
|
|
923
927
|
id: pulumi.Input[str],
|
|
924
928
|
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':
|
|
929
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
930
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
931
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
932
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
933
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
934
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
935
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
936
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
937
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
938
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
939
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
940
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
941
|
+
parent_folder_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
942
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
943
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'VappContainer':
|
|
940
944
|
"""
|
|
941
945
|
Get an existing VappContainer resource's state with the given name, id, and optional extra
|
|
942
946
|
properties used to qualify the lookup.
|
|
@@ -944,49 +948,49 @@ class VappContainer(pulumi.CustomResource):
|
|
|
944
948
|
:param str resource_name: The unique name of the resulting resource.
|
|
945
949
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
946
950
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
947
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a vApp
|
|
951
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a vApp
|
|
948
952
|
container can grow beyond the specified value if the parent resource pool has
|
|
949
953
|
unreserved resources. Default: `true`
|
|
950
|
-
:param pulumi.Input[int] cpu_limit: The CPU utilization of a vApp container will not
|
|
954
|
+
:param pulumi.Input[builtins.int] cpu_limit: The CPU utilization of a vApp container will not
|
|
951
955
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
952
956
|
unlimited.
|
|
953
957
|
Default: `-1`
|
|
954
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
958
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
|
|
955
959
|
available to the vApp container. Default: `0`
|
|
956
|
-
:param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
|
|
960
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The CPU allocation level. The level is a
|
|
957
961
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
958
962
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
959
963
|
`low`, `normal`, or `high` are specified values in `cpu_shares` will be
|
|
960
964
|
ignored. Default: `normal`
|
|
961
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
965
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated for CPU. Used to
|
|
962
966
|
determine resource allocation in case of resource contention. If this is set,
|
|
963
967
|
`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
|
|
968
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
969
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a vApp
|
|
966
970
|
container can grow beyond the specified value if the parent resource pool has
|
|
967
971
|
unreserved resources. Default: `true`
|
|
968
|
-
:param pulumi.Input[int] memory_limit: The CPU utilization of a vApp container will not
|
|
972
|
+
:param pulumi.Input[builtins.int] memory_limit: The CPU utilization of a vApp container will not
|
|
969
973
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
970
974
|
unlimited. Default: `-1`
|
|
971
|
-
:param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
975
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of CPU (MHz) that is guaranteed
|
|
972
976
|
available to the vApp container. Default: `0`
|
|
973
|
-
:param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
|
|
977
|
+
:param pulumi.Input[builtins.str] memory_share_level: The CPU allocation level. The level is a
|
|
974
978
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
975
979
|
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
|
|
976
980
|
`low`, `normal`, or `high` are specified values in `memory_shares` will be
|
|
977
981
|
ignored. Default: `normal`
|
|
978
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
|
|
982
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated for CPU. Used to
|
|
979
983
|
determine resource allocation in case of resource contention. If this is set,
|
|
980
984
|
`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
|
|
985
|
+
:param pulumi.Input[builtins.str] name: The name of the vApp container.
|
|
986
|
+
:param pulumi.Input[builtins.str] parent_folder_id: The managed object ID of
|
|
983
987
|
the vApp container's parent folder.
|
|
984
|
-
:param pulumi.Input[str] parent_resource_pool_id: The managed object ID
|
|
988
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The managed object ID
|
|
985
989
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
986
990
|
or standalone host, or a resource pool itself. When moving a vApp container
|
|
987
991
|
from one parent resource pool to another, both must share a common root
|
|
988
992
|
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.
|
|
993
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
990
994
|
"""
|
|
991
995
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
992
996
|
|
|
@@ -1011,7 +1015,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1011
1015
|
|
|
1012
1016
|
@property
|
|
1013
1017
|
@pulumi.getter(name="cpuExpandable")
|
|
1014
|
-
def cpu_expandable(self) -> pulumi.Output[Optional[bool]]:
|
|
1018
|
+
def cpu_expandable(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1015
1019
|
"""
|
|
1016
1020
|
Determines if the reservation on a vApp
|
|
1017
1021
|
container can grow beyond the specified value if the parent resource pool has
|
|
@@ -1021,7 +1025,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1021
1025
|
|
|
1022
1026
|
@property
|
|
1023
1027
|
@pulumi.getter(name="cpuLimit")
|
|
1024
|
-
def cpu_limit(self) -> pulumi.Output[Optional[int]]:
|
|
1028
|
+
def cpu_limit(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1025
1029
|
"""
|
|
1026
1030
|
The CPU utilization of a vApp container will not
|
|
1027
1031
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
@@ -1032,7 +1036,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1032
1036
|
|
|
1033
1037
|
@property
|
|
1034
1038
|
@pulumi.getter(name="cpuReservation")
|
|
1035
|
-
def cpu_reservation(self) -> pulumi.Output[Optional[int]]:
|
|
1039
|
+
def cpu_reservation(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1036
1040
|
"""
|
|
1037
1041
|
Amount of CPU (MHz) that is guaranteed
|
|
1038
1042
|
available to the vApp container. Default: `0`
|
|
@@ -1041,7 +1045,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1041
1045
|
|
|
1042
1046
|
@property
|
|
1043
1047
|
@pulumi.getter(name="cpuShareLevel")
|
|
1044
|
-
def cpu_share_level(self) -> pulumi.Output[Optional[str]]:
|
|
1048
|
+
def cpu_share_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1045
1049
|
"""
|
|
1046
1050
|
The CPU allocation level. The level is a
|
|
1047
1051
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -1053,7 +1057,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1053
1057
|
|
|
1054
1058
|
@property
|
|
1055
1059
|
@pulumi.getter(name="cpuShares")
|
|
1056
|
-
def cpu_shares(self) -> pulumi.Output[int]:
|
|
1060
|
+
def cpu_shares(self) -> pulumi.Output[builtins.int]:
|
|
1057
1061
|
"""
|
|
1058
1062
|
The number of shares allocated for CPU. Used to
|
|
1059
1063
|
determine resource allocation in case of resource contention. If this is set,
|
|
@@ -1063,7 +1067,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1063
1067
|
|
|
1064
1068
|
@property
|
|
1065
1069
|
@pulumi.getter(name="customAttributes")
|
|
1066
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
1070
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
1067
1071
|
"""
|
|
1068
1072
|
A list of custom attributes to set on this resource.
|
|
1069
1073
|
"""
|
|
@@ -1071,7 +1075,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1071
1075
|
|
|
1072
1076
|
@property
|
|
1073
1077
|
@pulumi.getter(name="memoryExpandable")
|
|
1074
|
-
def memory_expandable(self) -> pulumi.Output[Optional[bool]]:
|
|
1078
|
+
def memory_expandable(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1075
1079
|
"""
|
|
1076
1080
|
Determines if the reservation on a vApp
|
|
1077
1081
|
container can grow beyond the specified value if the parent resource pool has
|
|
@@ -1081,7 +1085,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1081
1085
|
|
|
1082
1086
|
@property
|
|
1083
1087
|
@pulumi.getter(name="memoryLimit")
|
|
1084
|
-
def memory_limit(self) -> pulumi.Output[Optional[int]]:
|
|
1088
|
+
def memory_limit(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1085
1089
|
"""
|
|
1086
1090
|
The CPU utilization of a vApp container will not
|
|
1087
1091
|
exceed this limit, even if there are available resources. Set to `-1` for
|
|
@@ -1091,7 +1095,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1091
1095
|
|
|
1092
1096
|
@property
|
|
1093
1097
|
@pulumi.getter(name="memoryReservation")
|
|
1094
|
-
def memory_reservation(self) -> pulumi.Output[Optional[int]]:
|
|
1098
|
+
def memory_reservation(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1095
1099
|
"""
|
|
1096
1100
|
Amount of CPU (MHz) that is guaranteed
|
|
1097
1101
|
available to the vApp container. Default: `0`
|
|
@@ -1100,7 +1104,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1100
1104
|
|
|
1101
1105
|
@property
|
|
1102
1106
|
@pulumi.getter(name="memoryShareLevel")
|
|
1103
|
-
def memory_share_level(self) -> pulumi.Output[Optional[str]]:
|
|
1107
|
+
def memory_share_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1104
1108
|
"""
|
|
1105
1109
|
The CPU allocation level. The level is a
|
|
1106
1110
|
simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -1112,7 +1116,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1112
1116
|
|
|
1113
1117
|
@property
|
|
1114
1118
|
@pulumi.getter(name="memoryShares")
|
|
1115
|
-
def memory_shares(self) -> pulumi.Output[int]:
|
|
1119
|
+
def memory_shares(self) -> pulumi.Output[builtins.int]:
|
|
1116
1120
|
"""
|
|
1117
1121
|
The number of shares allocated for CPU. Used to
|
|
1118
1122
|
determine resource allocation in case of resource contention. If this is set,
|
|
@@ -1122,7 +1126,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1122
1126
|
|
|
1123
1127
|
@property
|
|
1124
1128
|
@pulumi.getter
|
|
1125
|
-
def name(self) -> pulumi.Output[str]:
|
|
1129
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1126
1130
|
"""
|
|
1127
1131
|
The name of the vApp container.
|
|
1128
1132
|
"""
|
|
@@ -1130,7 +1134,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1130
1134
|
|
|
1131
1135
|
@property
|
|
1132
1136
|
@pulumi.getter(name="parentFolderId")
|
|
1133
|
-
def parent_folder_id(self) -> pulumi.Output[Optional[str]]:
|
|
1137
|
+
def parent_folder_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1134
1138
|
"""
|
|
1135
1139
|
The managed object ID of
|
|
1136
1140
|
the vApp container's parent folder.
|
|
@@ -1139,7 +1143,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1139
1143
|
|
|
1140
1144
|
@property
|
|
1141
1145
|
@pulumi.getter(name="parentResourcePoolId")
|
|
1142
|
-
def parent_resource_pool_id(self) -> pulumi.Output[str]:
|
|
1146
|
+
def parent_resource_pool_id(self) -> pulumi.Output[builtins.str]:
|
|
1143
1147
|
"""
|
|
1144
1148
|
The managed object ID
|
|
1145
1149
|
of the parent resource pool. This can be the root resource pool for a cluster
|
|
@@ -1151,7 +1155,7 @@ class VappContainer(pulumi.CustomResource):
|
|
|
1151
1155
|
|
|
1152
1156
|
@property
|
|
1153
1157
|
@pulumi.getter
|
|
1154
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1158
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1155
1159
|
"""
|
|
1156
1160
|
The IDs of any tags to attach to this resource.
|
|
1157
1161
|
"""
|