pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1745952392__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
pulumi_vsphere/resource_pool.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,47 +20,47 @@ __all__ = ['ResourcePoolArgs', 'ResourcePool']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class ResourcePoolArgs:
|
|
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
|
-
scale_descendants_shares: 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
|
+
scale_descendants_shares: 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 ResourcePool resource.
|
|
39
|
-
:param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
|
|
40
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
40
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
|
|
41
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
41
42
|
unreserved resources.
|
|
42
|
-
:param pulumi.Input[int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
43
|
+
:param pulumi.Input[builtins.int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
43
44
|
unlimited.
|
|
44
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
45
|
-
:param pulumi.Input[str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
45
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
46
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
46
47
|
shares. Can be one of low, normal, high, or custom.
|
|
47
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
48
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
48
49
|
cpu_share_level must be custom.
|
|
49
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
50
|
-
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
50
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
51
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
51
52
|
unreserved resources.
|
|
52
|
-
:param pulumi.Input[int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
53
|
+
:param pulumi.Input[builtins.int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
53
54
|
unlimited.
|
|
54
|
-
:param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
55
|
-
:param pulumi.Input[str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
55
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
56
|
+
:param pulumi.Input[builtins.str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
56
57
|
shares. Can be one of low, normal, high, or custom.
|
|
57
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
58
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
58
59
|
memory_share_level must be custom.
|
|
59
|
-
:param pulumi.Input[str] name: Name of resource pool.
|
|
60
|
-
:param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
60
|
+
:param pulumi.Input[builtins.str] name: Name of resource pool.
|
|
61
|
+
:param pulumi.Input[builtins.str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
61
62
|
pool are scaled up or down.
|
|
62
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
63
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag IDs to apply to this object.
|
|
63
64
|
"""
|
|
64
65
|
pulumi.set(__self__, "parent_resource_pool_id", parent_resource_pool_id)
|
|
65
66
|
if cpu_expandable is not None:
|
|
@@ -93,19 +94,19 @@ class ResourcePoolArgs:
|
|
|
93
94
|
|
|
94
95
|
@property
|
|
95
96
|
@pulumi.getter(name="parentResourcePoolId")
|
|
96
|
-
def parent_resource_pool_id(self) -> pulumi.Input[str]:
|
|
97
|
+
def parent_resource_pool_id(self) -> pulumi.Input[builtins.str]:
|
|
97
98
|
"""
|
|
98
99
|
The ID of the root resource pool of the compute resource the resource pool is in.
|
|
99
100
|
"""
|
|
100
101
|
return pulumi.get(self, "parent_resource_pool_id")
|
|
101
102
|
|
|
102
103
|
@parent_resource_pool_id.setter
|
|
103
|
-
def parent_resource_pool_id(self, value: pulumi.Input[str]):
|
|
104
|
+
def parent_resource_pool_id(self, value: pulumi.Input[builtins.str]):
|
|
104
105
|
pulumi.set(self, "parent_resource_pool_id", value)
|
|
105
106
|
|
|
106
107
|
@property
|
|
107
108
|
@pulumi.getter(name="cpuExpandable")
|
|
108
|
-
def cpu_expandable(self) -> Optional[pulumi.Input[bool]]:
|
|
109
|
+
def cpu_expandable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
109
110
|
"""
|
|
110
111
|
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
111
112
|
unreserved resources.
|
|
@@ -113,12 +114,12 @@ class ResourcePoolArgs:
|
|
|
113
114
|
return pulumi.get(self, "cpu_expandable")
|
|
114
115
|
|
|
115
116
|
@cpu_expandable.setter
|
|
116
|
-
def cpu_expandable(self, value: Optional[pulumi.Input[bool]]):
|
|
117
|
+
def cpu_expandable(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
117
118
|
pulumi.set(self, "cpu_expandable", value)
|
|
118
119
|
|
|
119
120
|
@property
|
|
120
121
|
@pulumi.getter(name="cpuLimit")
|
|
121
|
-
def cpu_limit(self) -> Optional[pulumi.Input[int]]:
|
|
122
|
+
def cpu_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
122
123
|
"""
|
|
123
124
|
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
124
125
|
unlimited.
|
|
@@ -126,24 +127,24 @@ class ResourcePoolArgs:
|
|
|
126
127
|
return pulumi.get(self, "cpu_limit")
|
|
127
128
|
|
|
128
129
|
@cpu_limit.setter
|
|
129
|
-
def cpu_limit(self, value: Optional[pulumi.Input[int]]):
|
|
130
|
+
def cpu_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
130
131
|
pulumi.set(self, "cpu_limit", value)
|
|
131
132
|
|
|
132
133
|
@property
|
|
133
134
|
@pulumi.getter(name="cpuReservation")
|
|
134
|
-
def cpu_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
135
|
+
def cpu_reservation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
135
136
|
"""
|
|
136
137
|
Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
137
138
|
"""
|
|
138
139
|
return pulumi.get(self, "cpu_reservation")
|
|
139
140
|
|
|
140
141
|
@cpu_reservation.setter
|
|
141
|
-
def cpu_reservation(self, value: Optional[pulumi.Input[int]]):
|
|
142
|
+
def cpu_reservation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
142
143
|
pulumi.set(self, "cpu_reservation", value)
|
|
143
144
|
|
|
144
145
|
@property
|
|
145
146
|
@pulumi.getter(name="cpuShareLevel")
|
|
146
|
-
def cpu_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
147
|
+
def cpu_share_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
147
148
|
"""
|
|
148
149
|
The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
149
150
|
shares. Can be one of low, normal, high, or custom.
|
|
@@ -151,12 +152,12 @@ class ResourcePoolArgs:
|
|
|
151
152
|
return pulumi.get(self, "cpu_share_level")
|
|
152
153
|
|
|
153
154
|
@cpu_share_level.setter
|
|
154
|
-
def cpu_share_level(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
def cpu_share_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
155
156
|
pulumi.set(self, "cpu_share_level", value)
|
|
156
157
|
|
|
157
158
|
@property
|
|
158
159
|
@pulumi.getter(name="cpuShares")
|
|
159
|
-
def cpu_shares(self) -> Optional[pulumi.Input[int]]:
|
|
160
|
+
def cpu_shares(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
160
161
|
"""
|
|
161
162
|
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
162
163
|
cpu_share_level must be custom.
|
|
@@ -164,24 +165,24 @@ class ResourcePoolArgs:
|
|
|
164
165
|
return pulumi.get(self, "cpu_shares")
|
|
165
166
|
|
|
166
167
|
@cpu_shares.setter
|
|
167
|
-
def cpu_shares(self, value: Optional[pulumi.Input[int]]):
|
|
168
|
+
def cpu_shares(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
168
169
|
pulumi.set(self, "cpu_shares", value)
|
|
169
170
|
|
|
170
171
|
@property
|
|
171
172
|
@pulumi.getter(name="customAttributes")
|
|
172
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
173
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
173
174
|
"""
|
|
174
175
|
A list of custom attributes to set on this resource.
|
|
175
176
|
"""
|
|
176
177
|
return pulumi.get(self, "custom_attributes")
|
|
177
178
|
|
|
178
179
|
@custom_attributes.setter
|
|
179
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
180
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
180
181
|
pulumi.set(self, "custom_attributes", value)
|
|
181
182
|
|
|
182
183
|
@property
|
|
183
184
|
@pulumi.getter(name="memoryExpandable")
|
|
184
|
-
def memory_expandable(self) -> Optional[pulumi.Input[bool]]:
|
|
185
|
+
def memory_expandable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
185
186
|
"""
|
|
186
187
|
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
187
188
|
unreserved resources.
|
|
@@ -189,12 +190,12 @@ class ResourcePoolArgs:
|
|
|
189
190
|
return pulumi.get(self, "memory_expandable")
|
|
190
191
|
|
|
191
192
|
@memory_expandable.setter
|
|
192
|
-
def memory_expandable(self, value: Optional[pulumi.Input[bool]]):
|
|
193
|
+
def memory_expandable(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
193
194
|
pulumi.set(self, "memory_expandable", value)
|
|
194
195
|
|
|
195
196
|
@property
|
|
196
197
|
@pulumi.getter(name="memoryLimit")
|
|
197
|
-
def memory_limit(self) -> Optional[pulumi.Input[int]]:
|
|
198
|
+
def memory_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
198
199
|
"""
|
|
199
200
|
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
200
201
|
unlimited.
|
|
@@ -202,24 +203,24 @@ class ResourcePoolArgs:
|
|
|
202
203
|
return pulumi.get(self, "memory_limit")
|
|
203
204
|
|
|
204
205
|
@memory_limit.setter
|
|
205
|
-
def memory_limit(self, value: Optional[pulumi.Input[int]]):
|
|
206
|
+
def memory_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
206
207
|
pulumi.set(self, "memory_limit", value)
|
|
207
208
|
|
|
208
209
|
@property
|
|
209
210
|
@pulumi.getter(name="memoryReservation")
|
|
210
|
-
def memory_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
211
|
+
def memory_reservation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
211
212
|
"""
|
|
212
213
|
Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
213
214
|
"""
|
|
214
215
|
return pulumi.get(self, "memory_reservation")
|
|
215
216
|
|
|
216
217
|
@memory_reservation.setter
|
|
217
|
-
def memory_reservation(self, value: Optional[pulumi.Input[int]]):
|
|
218
|
+
def memory_reservation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
218
219
|
pulumi.set(self, "memory_reservation", value)
|
|
219
220
|
|
|
220
221
|
@property
|
|
221
222
|
@pulumi.getter(name="memoryShareLevel")
|
|
222
|
-
def memory_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
223
|
+
def memory_share_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
223
224
|
"""
|
|
224
225
|
The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
225
226
|
shares. Can be one of low, normal, high, or custom.
|
|
@@ -227,12 +228,12 @@ class ResourcePoolArgs:
|
|
|
227
228
|
return pulumi.get(self, "memory_share_level")
|
|
228
229
|
|
|
229
230
|
@memory_share_level.setter
|
|
230
|
-
def memory_share_level(self, value: Optional[pulumi.Input[str]]):
|
|
231
|
+
def memory_share_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
231
232
|
pulumi.set(self, "memory_share_level", value)
|
|
232
233
|
|
|
233
234
|
@property
|
|
234
235
|
@pulumi.getter(name="memoryShares")
|
|
235
|
-
def memory_shares(self) -> Optional[pulumi.Input[int]]:
|
|
236
|
+
def memory_shares(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
236
237
|
"""
|
|
237
238
|
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
238
239
|
memory_share_level must be custom.
|
|
@@ -240,24 +241,24 @@ class ResourcePoolArgs:
|
|
|
240
241
|
return pulumi.get(self, "memory_shares")
|
|
241
242
|
|
|
242
243
|
@memory_shares.setter
|
|
243
|
-
def memory_shares(self, value: Optional[pulumi.Input[int]]):
|
|
244
|
+
def memory_shares(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
244
245
|
pulumi.set(self, "memory_shares", value)
|
|
245
246
|
|
|
246
247
|
@property
|
|
247
248
|
@pulumi.getter
|
|
248
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
249
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
249
250
|
"""
|
|
250
251
|
Name of resource pool.
|
|
251
252
|
"""
|
|
252
253
|
return pulumi.get(self, "name")
|
|
253
254
|
|
|
254
255
|
@name.setter
|
|
255
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
256
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
256
257
|
pulumi.set(self, "name", value)
|
|
257
258
|
|
|
258
259
|
@property
|
|
259
260
|
@pulumi.getter(name="scaleDescendantsShares")
|
|
260
|
-
def scale_descendants_shares(self) -> Optional[pulumi.Input[str]]:
|
|
261
|
+
def scale_descendants_shares(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
261
262
|
"""
|
|
262
263
|
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
263
264
|
pool are scaled up or down.
|
|
@@ -265,66 +266,66 @@ class ResourcePoolArgs:
|
|
|
265
266
|
return pulumi.get(self, "scale_descendants_shares")
|
|
266
267
|
|
|
267
268
|
@scale_descendants_shares.setter
|
|
268
|
-
def scale_descendants_shares(self, value: Optional[pulumi.Input[str]]):
|
|
269
|
+
def scale_descendants_shares(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
269
270
|
pulumi.set(self, "scale_descendants_shares", value)
|
|
270
271
|
|
|
271
272
|
@property
|
|
272
273
|
@pulumi.getter
|
|
273
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
274
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
274
275
|
"""
|
|
275
276
|
A list of tag IDs to apply to this object.
|
|
276
277
|
"""
|
|
277
278
|
return pulumi.get(self, "tags")
|
|
278
279
|
|
|
279
280
|
@tags.setter
|
|
280
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
281
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
281
282
|
pulumi.set(self, "tags", value)
|
|
282
283
|
|
|
283
284
|
|
|
284
285
|
@pulumi.input_type
|
|
285
286
|
class _ResourcePoolState:
|
|
286
287
|
def __init__(__self__, *,
|
|
287
|
-
cpu_expandable: Optional[pulumi.Input[bool]] = None,
|
|
288
|
-
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
289
|
-
cpu_reservation: Optional[pulumi.Input[int]] = None,
|
|
290
|
-
cpu_share_level: Optional[pulumi.Input[str]] = None,
|
|
291
|
-
cpu_shares: Optional[pulumi.Input[int]] = None,
|
|
292
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
293
|
-
memory_expandable: Optional[pulumi.Input[bool]] = None,
|
|
294
|
-
memory_limit: Optional[pulumi.Input[int]] = None,
|
|
295
|
-
memory_reservation: Optional[pulumi.Input[int]] = None,
|
|
296
|
-
memory_share_level: Optional[pulumi.Input[str]] = None,
|
|
297
|
-
memory_shares: Optional[pulumi.Input[int]] = None,
|
|
298
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
299
|
-
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
300
|
-
scale_descendants_shares: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
288
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
289
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
290
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
291
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
292
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
293
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
294
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
295
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
296
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
297
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
299
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
|
+
scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
302
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
302
303
|
"""
|
|
303
304
|
Input properties used for looking up and filtering ResourcePool resources.
|
|
304
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
305
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
305
306
|
unreserved resources.
|
|
306
|
-
:param pulumi.Input[int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
307
|
+
:param pulumi.Input[builtins.int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
307
308
|
unlimited.
|
|
308
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
309
|
-
:param pulumi.Input[str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
309
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
310
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
310
311
|
shares. Can be one of low, normal, high, or custom.
|
|
311
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
312
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
312
313
|
cpu_share_level must be custom.
|
|
313
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
314
|
-
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
314
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
315
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
315
316
|
unreserved resources.
|
|
316
|
-
:param pulumi.Input[int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
317
|
+
:param pulumi.Input[builtins.int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
317
318
|
unlimited.
|
|
318
|
-
:param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
319
|
-
:param pulumi.Input[str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
319
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
320
|
+
:param pulumi.Input[builtins.str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
320
321
|
shares. Can be one of low, normal, high, or custom.
|
|
321
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
322
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
322
323
|
memory_share_level must be custom.
|
|
323
|
-
:param pulumi.Input[str] name: Name of resource pool.
|
|
324
|
-
:param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
|
|
325
|
-
:param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
324
|
+
:param pulumi.Input[builtins.str] name: Name of resource pool.
|
|
325
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
|
|
326
|
+
:param pulumi.Input[builtins.str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
326
327
|
pool are scaled up or down.
|
|
327
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
328
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag IDs to apply to this object.
|
|
328
329
|
"""
|
|
329
330
|
if cpu_expandable is not None:
|
|
330
331
|
pulumi.set(__self__, "cpu_expandable", cpu_expandable)
|
|
@@ -359,7 +360,7 @@ class _ResourcePoolState:
|
|
|
359
360
|
|
|
360
361
|
@property
|
|
361
362
|
@pulumi.getter(name="cpuExpandable")
|
|
362
|
-
def cpu_expandable(self) -> Optional[pulumi.Input[bool]]:
|
|
363
|
+
def cpu_expandable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
363
364
|
"""
|
|
364
365
|
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
365
366
|
unreserved resources.
|
|
@@ -367,12 +368,12 @@ class _ResourcePoolState:
|
|
|
367
368
|
return pulumi.get(self, "cpu_expandable")
|
|
368
369
|
|
|
369
370
|
@cpu_expandable.setter
|
|
370
|
-
def cpu_expandable(self, value: Optional[pulumi.Input[bool]]):
|
|
371
|
+
def cpu_expandable(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
371
372
|
pulumi.set(self, "cpu_expandable", value)
|
|
372
373
|
|
|
373
374
|
@property
|
|
374
375
|
@pulumi.getter(name="cpuLimit")
|
|
375
|
-
def cpu_limit(self) -> Optional[pulumi.Input[int]]:
|
|
376
|
+
def cpu_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
376
377
|
"""
|
|
377
378
|
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
378
379
|
unlimited.
|
|
@@ -380,24 +381,24 @@ class _ResourcePoolState:
|
|
|
380
381
|
return pulumi.get(self, "cpu_limit")
|
|
381
382
|
|
|
382
383
|
@cpu_limit.setter
|
|
383
|
-
def cpu_limit(self, value: Optional[pulumi.Input[int]]):
|
|
384
|
+
def cpu_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
384
385
|
pulumi.set(self, "cpu_limit", value)
|
|
385
386
|
|
|
386
387
|
@property
|
|
387
388
|
@pulumi.getter(name="cpuReservation")
|
|
388
|
-
def cpu_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
389
|
+
def cpu_reservation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
389
390
|
"""
|
|
390
391
|
Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
391
392
|
"""
|
|
392
393
|
return pulumi.get(self, "cpu_reservation")
|
|
393
394
|
|
|
394
395
|
@cpu_reservation.setter
|
|
395
|
-
def cpu_reservation(self, value: Optional[pulumi.Input[int]]):
|
|
396
|
+
def cpu_reservation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
396
397
|
pulumi.set(self, "cpu_reservation", value)
|
|
397
398
|
|
|
398
399
|
@property
|
|
399
400
|
@pulumi.getter(name="cpuShareLevel")
|
|
400
|
-
def cpu_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
401
|
+
def cpu_share_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
401
402
|
"""
|
|
402
403
|
The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
403
404
|
shares. Can be one of low, normal, high, or custom.
|
|
@@ -405,12 +406,12 @@ class _ResourcePoolState:
|
|
|
405
406
|
return pulumi.get(self, "cpu_share_level")
|
|
406
407
|
|
|
407
408
|
@cpu_share_level.setter
|
|
408
|
-
def cpu_share_level(self, value: Optional[pulumi.Input[str]]):
|
|
409
|
+
def cpu_share_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
409
410
|
pulumi.set(self, "cpu_share_level", value)
|
|
410
411
|
|
|
411
412
|
@property
|
|
412
413
|
@pulumi.getter(name="cpuShares")
|
|
413
|
-
def cpu_shares(self) -> Optional[pulumi.Input[int]]:
|
|
414
|
+
def cpu_shares(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
414
415
|
"""
|
|
415
416
|
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
416
417
|
cpu_share_level must be custom.
|
|
@@ -418,24 +419,24 @@ class _ResourcePoolState:
|
|
|
418
419
|
return pulumi.get(self, "cpu_shares")
|
|
419
420
|
|
|
420
421
|
@cpu_shares.setter
|
|
421
|
-
def cpu_shares(self, value: Optional[pulumi.Input[int]]):
|
|
422
|
+
def cpu_shares(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
422
423
|
pulumi.set(self, "cpu_shares", value)
|
|
423
424
|
|
|
424
425
|
@property
|
|
425
426
|
@pulumi.getter(name="customAttributes")
|
|
426
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
427
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
427
428
|
"""
|
|
428
429
|
A list of custom attributes to set on this resource.
|
|
429
430
|
"""
|
|
430
431
|
return pulumi.get(self, "custom_attributes")
|
|
431
432
|
|
|
432
433
|
@custom_attributes.setter
|
|
433
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
434
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
434
435
|
pulumi.set(self, "custom_attributes", value)
|
|
435
436
|
|
|
436
437
|
@property
|
|
437
438
|
@pulumi.getter(name="memoryExpandable")
|
|
438
|
-
def memory_expandable(self) -> Optional[pulumi.Input[bool]]:
|
|
439
|
+
def memory_expandable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
439
440
|
"""
|
|
440
441
|
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
441
442
|
unreserved resources.
|
|
@@ -443,12 +444,12 @@ class _ResourcePoolState:
|
|
|
443
444
|
return pulumi.get(self, "memory_expandable")
|
|
444
445
|
|
|
445
446
|
@memory_expandable.setter
|
|
446
|
-
def memory_expandable(self, value: Optional[pulumi.Input[bool]]):
|
|
447
|
+
def memory_expandable(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
447
448
|
pulumi.set(self, "memory_expandable", value)
|
|
448
449
|
|
|
449
450
|
@property
|
|
450
451
|
@pulumi.getter(name="memoryLimit")
|
|
451
|
-
def memory_limit(self) -> Optional[pulumi.Input[int]]:
|
|
452
|
+
def memory_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
452
453
|
"""
|
|
453
454
|
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
454
455
|
unlimited.
|
|
@@ -456,24 +457,24 @@ class _ResourcePoolState:
|
|
|
456
457
|
return pulumi.get(self, "memory_limit")
|
|
457
458
|
|
|
458
459
|
@memory_limit.setter
|
|
459
|
-
def memory_limit(self, value: Optional[pulumi.Input[int]]):
|
|
460
|
+
def memory_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
460
461
|
pulumi.set(self, "memory_limit", value)
|
|
461
462
|
|
|
462
463
|
@property
|
|
463
464
|
@pulumi.getter(name="memoryReservation")
|
|
464
|
-
def memory_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
465
|
+
def memory_reservation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
465
466
|
"""
|
|
466
467
|
Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
467
468
|
"""
|
|
468
469
|
return pulumi.get(self, "memory_reservation")
|
|
469
470
|
|
|
470
471
|
@memory_reservation.setter
|
|
471
|
-
def memory_reservation(self, value: Optional[pulumi.Input[int]]):
|
|
472
|
+
def memory_reservation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
472
473
|
pulumi.set(self, "memory_reservation", value)
|
|
473
474
|
|
|
474
475
|
@property
|
|
475
476
|
@pulumi.getter(name="memoryShareLevel")
|
|
476
|
-
def memory_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
477
|
+
def memory_share_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
477
478
|
"""
|
|
478
479
|
The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
479
480
|
shares. Can be one of low, normal, high, or custom.
|
|
@@ -481,12 +482,12 @@ class _ResourcePoolState:
|
|
|
481
482
|
return pulumi.get(self, "memory_share_level")
|
|
482
483
|
|
|
483
484
|
@memory_share_level.setter
|
|
484
|
-
def memory_share_level(self, value: Optional[pulumi.Input[str]]):
|
|
485
|
+
def memory_share_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
485
486
|
pulumi.set(self, "memory_share_level", value)
|
|
486
487
|
|
|
487
488
|
@property
|
|
488
489
|
@pulumi.getter(name="memoryShares")
|
|
489
|
-
def memory_shares(self) -> Optional[pulumi.Input[int]]:
|
|
490
|
+
def memory_shares(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
490
491
|
"""
|
|
491
492
|
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
492
493
|
memory_share_level must be custom.
|
|
@@ -494,36 +495,36 @@ class _ResourcePoolState:
|
|
|
494
495
|
return pulumi.get(self, "memory_shares")
|
|
495
496
|
|
|
496
497
|
@memory_shares.setter
|
|
497
|
-
def memory_shares(self, value: Optional[pulumi.Input[int]]):
|
|
498
|
+
def memory_shares(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
498
499
|
pulumi.set(self, "memory_shares", value)
|
|
499
500
|
|
|
500
501
|
@property
|
|
501
502
|
@pulumi.getter
|
|
502
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
503
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
503
504
|
"""
|
|
504
505
|
Name of resource pool.
|
|
505
506
|
"""
|
|
506
507
|
return pulumi.get(self, "name")
|
|
507
508
|
|
|
508
509
|
@name.setter
|
|
509
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
510
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
510
511
|
pulumi.set(self, "name", value)
|
|
511
512
|
|
|
512
513
|
@property
|
|
513
514
|
@pulumi.getter(name="parentResourcePoolId")
|
|
514
|
-
def parent_resource_pool_id(self) -> Optional[pulumi.Input[str]]:
|
|
515
|
+
def parent_resource_pool_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
515
516
|
"""
|
|
516
517
|
The ID of the root resource pool of the compute resource the resource pool is in.
|
|
517
518
|
"""
|
|
518
519
|
return pulumi.get(self, "parent_resource_pool_id")
|
|
519
520
|
|
|
520
521
|
@parent_resource_pool_id.setter
|
|
521
|
-
def parent_resource_pool_id(self, value: Optional[pulumi.Input[str]]):
|
|
522
|
+
def parent_resource_pool_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
522
523
|
pulumi.set(self, "parent_resource_pool_id", value)
|
|
523
524
|
|
|
524
525
|
@property
|
|
525
526
|
@pulumi.getter(name="scaleDescendantsShares")
|
|
526
|
-
def scale_descendants_shares(self) -> Optional[pulumi.Input[str]]:
|
|
527
|
+
def scale_descendants_shares(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
527
528
|
"""
|
|
528
529
|
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
529
530
|
pool are scaled up or down.
|
|
@@ -531,71 +532,74 @@ class _ResourcePoolState:
|
|
|
531
532
|
return pulumi.get(self, "scale_descendants_shares")
|
|
532
533
|
|
|
533
534
|
@scale_descendants_shares.setter
|
|
534
|
-
def scale_descendants_shares(self, value: Optional[pulumi.Input[str]]):
|
|
535
|
+
def scale_descendants_shares(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
535
536
|
pulumi.set(self, "scale_descendants_shares", value)
|
|
536
537
|
|
|
537
538
|
@property
|
|
538
539
|
@pulumi.getter
|
|
539
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
540
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
540
541
|
"""
|
|
541
542
|
A list of tag IDs to apply to this object.
|
|
542
543
|
"""
|
|
543
544
|
return pulumi.get(self, "tags")
|
|
544
545
|
|
|
545
546
|
@tags.setter
|
|
546
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
547
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
547
548
|
pulumi.set(self, "tags", value)
|
|
548
549
|
|
|
549
550
|
|
|
550
551
|
class ResourcePool(pulumi.CustomResource):
|
|
552
|
+
|
|
553
|
+
pulumi_type = "vsphere:index/resourcePool:ResourcePool"
|
|
554
|
+
|
|
551
555
|
@overload
|
|
552
556
|
def __init__(__self__,
|
|
553
557
|
resource_name: str,
|
|
554
558
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
555
|
-
cpu_expandable: Optional[pulumi.Input[bool]] = None,
|
|
556
|
-
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
557
|
-
cpu_reservation: Optional[pulumi.Input[int]] = None,
|
|
558
|
-
cpu_share_level: Optional[pulumi.Input[str]] = None,
|
|
559
|
-
cpu_shares: Optional[pulumi.Input[int]] = None,
|
|
560
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
561
|
-
memory_expandable: Optional[pulumi.Input[bool]] = None,
|
|
562
|
-
memory_limit: Optional[pulumi.Input[int]] = None,
|
|
563
|
-
memory_reservation: Optional[pulumi.Input[int]] = None,
|
|
564
|
-
memory_share_level: Optional[pulumi.Input[str]] = None,
|
|
565
|
-
memory_shares: Optional[pulumi.Input[int]] = None,
|
|
566
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
567
|
-
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
568
|
-
scale_descendants_shares: Optional[pulumi.Input[str]] = None,
|
|
569
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
559
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
560
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
561
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
562
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
563
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
564
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
565
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
566
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
567
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
568
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
569
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
570
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
571
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
572
|
+
scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
573
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
570
574
|
__props__=None):
|
|
571
575
|
"""
|
|
572
576
|
Create a ResourcePool resource with the given unique name, props, and options.
|
|
573
577
|
:param str resource_name: The name of the resource.
|
|
574
578
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
575
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
579
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
576
580
|
unreserved resources.
|
|
577
|
-
:param pulumi.Input[int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
581
|
+
:param pulumi.Input[builtins.int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
578
582
|
unlimited.
|
|
579
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
580
|
-
:param pulumi.Input[str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
583
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
584
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
581
585
|
shares. Can be one of low, normal, high, or custom.
|
|
582
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
586
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
583
587
|
cpu_share_level must be custom.
|
|
584
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
585
|
-
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
588
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
589
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
586
590
|
unreserved resources.
|
|
587
|
-
:param pulumi.Input[int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
591
|
+
:param pulumi.Input[builtins.int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
588
592
|
unlimited.
|
|
589
|
-
:param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
590
|
-
:param pulumi.Input[str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
593
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
594
|
+
:param pulumi.Input[builtins.str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
591
595
|
shares. Can be one of low, normal, high, or custom.
|
|
592
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
596
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
593
597
|
memory_share_level must be custom.
|
|
594
|
-
:param pulumi.Input[str] name: Name of resource pool.
|
|
595
|
-
:param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
|
|
596
|
-
:param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
598
|
+
:param pulumi.Input[builtins.str] name: Name of resource pool.
|
|
599
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
|
|
600
|
+
:param pulumi.Input[builtins.str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
597
601
|
pool are scaled up or down.
|
|
598
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
602
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag IDs to apply to this object.
|
|
599
603
|
"""
|
|
600
604
|
...
|
|
601
605
|
@overload
|
|
@@ -620,21 +624,21 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
620
624
|
def _internal_init(__self__,
|
|
621
625
|
resource_name: str,
|
|
622
626
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
623
|
-
cpu_expandable: Optional[pulumi.Input[bool]] = None,
|
|
624
|
-
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
625
|
-
cpu_reservation: Optional[pulumi.Input[int]] = None,
|
|
626
|
-
cpu_share_level: Optional[pulumi.Input[str]] = None,
|
|
627
|
-
cpu_shares: Optional[pulumi.Input[int]] = None,
|
|
628
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
629
|
-
memory_expandable: Optional[pulumi.Input[bool]] = None,
|
|
630
|
-
memory_limit: Optional[pulumi.Input[int]] = None,
|
|
631
|
-
memory_reservation: Optional[pulumi.Input[int]] = None,
|
|
632
|
-
memory_share_level: Optional[pulumi.Input[str]] = None,
|
|
633
|
-
memory_shares: Optional[pulumi.Input[int]] = None,
|
|
634
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
635
|
-
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
636
|
-
scale_descendants_shares: Optional[pulumi.Input[str]] = None,
|
|
637
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
627
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
628
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
629
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
630
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
631
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
632
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
633
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
634
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
635
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
636
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
637
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
638
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
639
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
640
|
+
scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
641
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
638
642
|
__props__=None):
|
|
639
643
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
640
644
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -671,21 +675,21 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
671
675
|
def get(resource_name: str,
|
|
672
676
|
id: pulumi.Input[str],
|
|
673
677
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
674
|
-
cpu_expandable: Optional[pulumi.Input[bool]] = None,
|
|
675
|
-
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
676
|
-
cpu_reservation: Optional[pulumi.Input[int]] = None,
|
|
677
|
-
cpu_share_level: Optional[pulumi.Input[str]] = None,
|
|
678
|
-
cpu_shares: Optional[pulumi.Input[int]] = None,
|
|
679
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
680
|
-
memory_expandable: Optional[pulumi.Input[bool]] = None,
|
|
681
|
-
memory_limit: Optional[pulumi.Input[int]] = None,
|
|
682
|
-
memory_reservation: Optional[pulumi.Input[int]] = None,
|
|
683
|
-
memory_share_level: Optional[pulumi.Input[str]] = None,
|
|
684
|
-
memory_shares: Optional[pulumi.Input[int]] = None,
|
|
685
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
686
|
-
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
687
|
-
scale_descendants_shares: Optional[pulumi.Input[str]] = None,
|
|
688
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ResourcePool':
|
|
678
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
679
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
680
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
681
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
682
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
683
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
684
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
685
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
686
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
687
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
688
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
689
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
690
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
691
|
+
scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
692
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'ResourcePool':
|
|
689
693
|
"""
|
|
690
694
|
Get an existing ResourcePool resource's state with the given name, id, and optional extra
|
|
691
695
|
properties used to qualify the lookup.
|
|
@@ -693,30 +697,30 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
693
697
|
:param str resource_name: The unique name of the resulting resource.
|
|
694
698
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
695
699
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
696
|
-
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
700
|
+
:param pulumi.Input[builtins.bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
697
701
|
unreserved resources.
|
|
698
|
-
:param pulumi.Input[int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
702
|
+
:param pulumi.Input[builtins.int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
699
703
|
unlimited.
|
|
700
|
-
:param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
701
|
-
:param pulumi.Input[str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
704
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
705
|
+
:param pulumi.Input[builtins.str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
702
706
|
shares. Can be one of low, normal, high, or custom.
|
|
703
|
-
:param pulumi.Input[int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
707
|
+
:param pulumi.Input[builtins.int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
704
708
|
cpu_share_level must be custom.
|
|
705
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
706
|
-
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
709
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
710
|
+
:param pulumi.Input[builtins.bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
707
711
|
unreserved resources.
|
|
708
|
-
:param pulumi.Input[int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
712
|
+
:param pulumi.Input[builtins.int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
709
713
|
unlimited.
|
|
710
|
-
:param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
711
|
-
:param pulumi.Input[str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
714
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
715
|
+
:param pulumi.Input[builtins.str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
712
716
|
shares. Can be one of low, normal, high, or custom.
|
|
713
|
-
:param pulumi.Input[int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
717
|
+
:param pulumi.Input[builtins.int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
714
718
|
memory_share_level must be custom.
|
|
715
|
-
:param pulumi.Input[str] name: Name of resource pool.
|
|
716
|
-
:param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
|
|
717
|
-
:param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
719
|
+
:param pulumi.Input[builtins.str] name: Name of resource pool.
|
|
720
|
+
:param pulumi.Input[builtins.str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
|
|
721
|
+
:param pulumi.Input[builtins.str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
718
722
|
pool are scaled up or down.
|
|
719
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
723
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag IDs to apply to this object.
|
|
720
724
|
"""
|
|
721
725
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
722
726
|
|
|
@@ -741,7 +745,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
741
745
|
|
|
742
746
|
@property
|
|
743
747
|
@pulumi.getter(name="cpuExpandable")
|
|
744
|
-
def cpu_expandable(self) -> pulumi.Output[Optional[bool]]:
|
|
748
|
+
def cpu_expandable(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
745
749
|
"""
|
|
746
750
|
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
747
751
|
unreserved resources.
|
|
@@ -750,7 +754,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
750
754
|
|
|
751
755
|
@property
|
|
752
756
|
@pulumi.getter(name="cpuLimit")
|
|
753
|
-
def cpu_limit(self) -> pulumi.Output[Optional[int]]:
|
|
757
|
+
def cpu_limit(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
754
758
|
"""
|
|
755
759
|
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
756
760
|
unlimited.
|
|
@@ -759,7 +763,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
759
763
|
|
|
760
764
|
@property
|
|
761
765
|
@pulumi.getter(name="cpuReservation")
|
|
762
|
-
def cpu_reservation(self) -> pulumi.Output[Optional[int]]:
|
|
766
|
+
def cpu_reservation(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
763
767
|
"""
|
|
764
768
|
Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
765
769
|
"""
|
|
@@ -767,7 +771,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
767
771
|
|
|
768
772
|
@property
|
|
769
773
|
@pulumi.getter(name="cpuShareLevel")
|
|
770
|
-
def cpu_share_level(self) -> pulumi.Output[Optional[str]]:
|
|
774
|
+
def cpu_share_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
771
775
|
"""
|
|
772
776
|
The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
773
777
|
shares. Can be one of low, normal, high, or custom.
|
|
@@ -776,7 +780,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
776
780
|
|
|
777
781
|
@property
|
|
778
782
|
@pulumi.getter(name="cpuShares")
|
|
779
|
-
def cpu_shares(self) -> pulumi.Output[int]:
|
|
783
|
+
def cpu_shares(self) -> pulumi.Output[builtins.int]:
|
|
780
784
|
"""
|
|
781
785
|
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
782
786
|
cpu_share_level must be custom.
|
|
@@ -785,7 +789,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
785
789
|
|
|
786
790
|
@property
|
|
787
791
|
@pulumi.getter(name="customAttributes")
|
|
788
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
792
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
789
793
|
"""
|
|
790
794
|
A list of custom attributes to set on this resource.
|
|
791
795
|
"""
|
|
@@ -793,7 +797,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
793
797
|
|
|
794
798
|
@property
|
|
795
799
|
@pulumi.getter(name="memoryExpandable")
|
|
796
|
-
def memory_expandable(self) -> pulumi.Output[Optional[bool]]:
|
|
800
|
+
def memory_expandable(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
797
801
|
"""
|
|
798
802
|
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
799
803
|
unreserved resources.
|
|
@@ -802,7 +806,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
802
806
|
|
|
803
807
|
@property
|
|
804
808
|
@pulumi.getter(name="memoryLimit")
|
|
805
|
-
def memory_limit(self) -> pulumi.Output[Optional[int]]:
|
|
809
|
+
def memory_limit(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
806
810
|
"""
|
|
807
811
|
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
808
812
|
unlimited.
|
|
@@ -811,7 +815,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
811
815
|
|
|
812
816
|
@property
|
|
813
817
|
@pulumi.getter(name="memoryReservation")
|
|
814
|
-
def memory_reservation(self) -> pulumi.Output[Optional[int]]:
|
|
818
|
+
def memory_reservation(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
815
819
|
"""
|
|
816
820
|
Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
817
821
|
"""
|
|
@@ -819,7 +823,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
819
823
|
|
|
820
824
|
@property
|
|
821
825
|
@pulumi.getter(name="memoryShareLevel")
|
|
822
|
-
def memory_share_level(self) -> pulumi.Output[Optional[str]]:
|
|
826
|
+
def memory_share_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
823
827
|
"""
|
|
824
828
|
The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
825
829
|
shares. Can be one of low, normal, high, or custom.
|
|
@@ -828,7 +832,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
828
832
|
|
|
829
833
|
@property
|
|
830
834
|
@pulumi.getter(name="memoryShares")
|
|
831
|
-
def memory_shares(self) -> pulumi.Output[int]:
|
|
835
|
+
def memory_shares(self) -> pulumi.Output[builtins.int]:
|
|
832
836
|
"""
|
|
833
837
|
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
834
838
|
memory_share_level must be custom.
|
|
@@ -837,7 +841,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
837
841
|
|
|
838
842
|
@property
|
|
839
843
|
@pulumi.getter
|
|
840
|
-
def name(self) -> pulumi.Output[str]:
|
|
844
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
841
845
|
"""
|
|
842
846
|
Name of resource pool.
|
|
843
847
|
"""
|
|
@@ -845,7 +849,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
845
849
|
|
|
846
850
|
@property
|
|
847
851
|
@pulumi.getter(name="parentResourcePoolId")
|
|
848
|
-
def parent_resource_pool_id(self) -> pulumi.Output[str]:
|
|
852
|
+
def parent_resource_pool_id(self) -> pulumi.Output[builtins.str]:
|
|
849
853
|
"""
|
|
850
854
|
The ID of the root resource pool of the compute resource the resource pool is in.
|
|
851
855
|
"""
|
|
@@ -853,7 +857,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
853
857
|
|
|
854
858
|
@property
|
|
855
859
|
@pulumi.getter(name="scaleDescendantsShares")
|
|
856
|
-
def scale_descendants_shares(self) -> pulumi.Output[Optional[str]]:
|
|
860
|
+
def scale_descendants_shares(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
857
861
|
"""
|
|
858
862
|
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
859
863
|
pool are scaled up or down.
|
|
@@ -862,7 +866,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
862
866
|
|
|
863
867
|
@property
|
|
864
868
|
@pulumi.getter
|
|
865
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
869
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
866
870
|
"""
|
|
867
871
|
A list of tag IDs to apply to this object.
|
|
868
872
|
"""
|