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