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