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