pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__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 +919 -917
- pulumi_vsphere/compute_cluster_host_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
- pulumi_vsphere/compute_cluster_vm_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -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 +44 -42
- pulumi_vsphere/content_library_item.py +86 -84
- pulumi_vsphere/custom_attribute.py +30 -28
- pulumi_vsphere/datacenter.py +65 -63
- pulumi_vsphere/datastore_cluster.py +352 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/distributed_port_group.py +646 -644
- pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
- pulumi_vsphere/dpm_host_override.py +58 -56
- pulumi_vsphere/drs_vm_override.py +58 -56
- pulumi_vsphere/entity_permissions.py +30 -28
- pulumi_vsphere/file.py +96 -94
- pulumi_vsphere/folder.py +72 -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 +58 -56
- pulumi_vsphere/ha_vm_override.py +212 -210
- pulumi_vsphere/host.py +198 -196
- pulumi_vsphere/host_port_group.py +254 -252
- pulumi_vsphere/host_virtual_switch.py +296 -294
- pulumi_vsphere/license.py +58 -56
- pulumi_vsphere/nas_datastore.py +212 -210
- pulumi_vsphere/offline_software_depot.py +16 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +119 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +212 -210
- pulumi_vsphere/role.py +37 -35
- pulumi_vsphere/storage_drs_vm_override.py +72 -70
- pulumi_vsphere/supervisor.py +156 -154
- pulumi_vsphere/tag.py +44 -42
- pulumi_vsphere/tag_category.py +58 -56
- pulumi_vsphere/vapp_container.py +212 -210
- pulumi_vsphere/vapp_entity.py +142 -140
- pulumi_vsphere/virtual_disk.py +100 -98
- pulumi_vsphere/virtual_machine.py +1041 -1039
- pulumi_vsphere/virtual_machine_class.py +86 -84
- pulumi_vsphere/virtual_machine_snapshot.py +100 -98
- pulumi_vsphere/vm_storage_policy.py +30 -28
- pulumi_vsphere/vmfs_datastore.py +149 -147
- pulumi_vsphere/vnic.py +114 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.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.0a1746734806.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,72 @@ 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
|
|
|
551
|
+
@pulumi.type_token("vsphere:index/resourcePool:ResourcePool")
|
|
550
552
|
class ResourcePool(pulumi.CustomResource):
|
|
551
553
|
@overload
|
|
552
554
|
def __init__(__self__,
|
|
553
555
|
resource_name: str,
|
|
554
556
|
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,
|
|
557
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
558
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
559
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
560
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
561
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
562
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
563
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
564
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
565
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
566
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
567
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
568
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
569
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
570
|
+
scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
571
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
570
572
|
__props__=None):
|
|
571
573
|
"""
|
|
572
574
|
Create a ResourcePool resource with the given unique name, props, and options.
|
|
573
575
|
:param str resource_name: The name of the resource.
|
|
574
576
|
: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
|
|
577
|
+
: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
578
|
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
|
|
579
|
+
: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
580
|
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
|
|
581
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
582
|
+
: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
583
|
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,
|
|
584
|
+
: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
585
|
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
|
|
586
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
587
|
+
: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
588
|
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
|
|
589
|
+
: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
590
|
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
|
|
591
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
592
|
+
: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
593
|
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,
|
|
594
|
+
: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
595
|
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
|
|
596
|
+
:param pulumi.Input[builtins.str] name: Name of resource pool.
|
|
597
|
+
: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.
|
|
598
|
+
: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
599
|
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.
|
|
600
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag IDs to apply to this object.
|
|
599
601
|
"""
|
|
600
602
|
...
|
|
601
603
|
@overload
|
|
@@ -620,21 +622,21 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
620
622
|
def _internal_init(__self__,
|
|
621
623
|
resource_name: str,
|
|
622
624
|
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,
|
|
625
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
626
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
627
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
628
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
629
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
630
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
631
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
632
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
633
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
634
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
635
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
636
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
637
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
638
|
+
scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
639
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
638
640
|
__props__=None):
|
|
639
641
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
640
642
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -671,21 +673,21 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
671
673
|
def get(resource_name: str,
|
|
672
674
|
id: pulumi.Input[str],
|
|
673
675
|
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':
|
|
676
|
+
cpu_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
677
|
+
cpu_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
678
|
+
cpu_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
679
|
+
cpu_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
680
|
+
cpu_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
681
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
682
|
+
memory_expandable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
683
|
+
memory_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
684
|
+
memory_reservation: Optional[pulumi.Input[builtins.int]] = None,
|
|
685
|
+
memory_share_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
686
|
+
memory_shares: Optional[pulumi.Input[builtins.int]] = None,
|
|
687
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
688
|
+
parent_resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
689
|
+
scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
690
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'ResourcePool':
|
|
689
691
|
"""
|
|
690
692
|
Get an existing ResourcePool resource's state with the given name, id, and optional extra
|
|
691
693
|
properties used to qualify the lookup.
|
|
@@ -693,30 +695,30 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
693
695
|
:param str resource_name: The unique name of the resulting resource.
|
|
694
696
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
695
697
|
: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
|
|
698
|
+
: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
699
|
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
|
|
700
|
+
: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
701
|
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
|
|
702
|
+
:param pulumi.Input[builtins.int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
703
|
+
: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
704
|
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,
|
|
705
|
+
: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
706
|
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
|
|
707
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
708
|
+
: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
709
|
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
|
|
710
|
+
: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
711
|
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
|
|
712
|
+
:param pulumi.Input[builtins.int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
713
|
+
: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
714
|
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,
|
|
715
|
+
: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
716
|
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
|
|
717
|
+
:param pulumi.Input[builtins.str] name: Name of resource pool.
|
|
718
|
+
: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.
|
|
719
|
+
: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
720
|
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.
|
|
721
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag IDs to apply to this object.
|
|
720
722
|
"""
|
|
721
723
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
722
724
|
|
|
@@ -741,7 +743,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
741
743
|
|
|
742
744
|
@property
|
|
743
745
|
@pulumi.getter(name="cpuExpandable")
|
|
744
|
-
def cpu_expandable(self) -> pulumi.Output[Optional[bool]]:
|
|
746
|
+
def cpu_expandable(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
745
747
|
"""
|
|
746
748
|
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
747
749
|
unreserved resources.
|
|
@@ -750,7 +752,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
750
752
|
|
|
751
753
|
@property
|
|
752
754
|
@pulumi.getter(name="cpuLimit")
|
|
753
|
-
def cpu_limit(self) -> pulumi.Output[Optional[int]]:
|
|
755
|
+
def cpu_limit(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
754
756
|
"""
|
|
755
757
|
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
756
758
|
unlimited.
|
|
@@ -759,7 +761,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
759
761
|
|
|
760
762
|
@property
|
|
761
763
|
@pulumi.getter(name="cpuReservation")
|
|
762
|
-
def cpu_reservation(self) -> pulumi.Output[Optional[int]]:
|
|
764
|
+
def cpu_reservation(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
763
765
|
"""
|
|
764
766
|
Amount of CPU (MHz) that is guaranteed available to the resource pool.
|
|
765
767
|
"""
|
|
@@ -767,7 +769,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
767
769
|
|
|
768
770
|
@property
|
|
769
771
|
@pulumi.getter(name="cpuShareLevel")
|
|
770
|
-
def cpu_share_level(self) -> pulumi.Output[Optional[str]]:
|
|
772
|
+
def cpu_share_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
771
773
|
"""
|
|
772
774
|
The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
773
775
|
shares. Can be one of low, normal, high, or custom.
|
|
@@ -776,7 +778,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
776
778
|
|
|
777
779
|
@property
|
|
778
780
|
@pulumi.getter(name="cpuShares")
|
|
779
|
-
def cpu_shares(self) -> pulumi.Output[int]:
|
|
781
|
+
def cpu_shares(self) -> pulumi.Output[builtins.int]:
|
|
780
782
|
"""
|
|
781
783
|
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
782
784
|
cpu_share_level must be custom.
|
|
@@ -785,7 +787,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
785
787
|
|
|
786
788
|
@property
|
|
787
789
|
@pulumi.getter(name="customAttributes")
|
|
788
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
790
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
789
791
|
"""
|
|
790
792
|
A list of custom attributes to set on this resource.
|
|
791
793
|
"""
|
|
@@ -793,7 +795,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
793
795
|
|
|
794
796
|
@property
|
|
795
797
|
@pulumi.getter(name="memoryExpandable")
|
|
796
|
-
def memory_expandable(self) -> pulumi.Output[Optional[bool]]:
|
|
798
|
+
def memory_expandable(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
797
799
|
"""
|
|
798
800
|
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
|
|
799
801
|
unreserved resources.
|
|
@@ -802,7 +804,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
802
804
|
|
|
803
805
|
@property
|
|
804
806
|
@pulumi.getter(name="memoryLimit")
|
|
805
|
-
def memory_limit(self) -> pulumi.Output[Optional[int]]:
|
|
807
|
+
def memory_limit(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
806
808
|
"""
|
|
807
809
|
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
|
|
808
810
|
unlimited.
|
|
@@ -811,7 +813,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
811
813
|
|
|
812
814
|
@property
|
|
813
815
|
@pulumi.getter(name="memoryReservation")
|
|
814
|
-
def memory_reservation(self) -> pulumi.Output[Optional[int]]:
|
|
816
|
+
def memory_reservation(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
815
817
|
"""
|
|
816
818
|
Amount of memory (MB) that is guaranteed available to the resource pool.
|
|
817
819
|
"""
|
|
@@ -819,7 +821,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
819
821
|
|
|
820
822
|
@property
|
|
821
823
|
@pulumi.getter(name="memoryShareLevel")
|
|
822
|
-
def memory_share_level(self) -> pulumi.Output[Optional[str]]:
|
|
824
|
+
def memory_share_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
823
825
|
"""
|
|
824
826
|
The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
|
|
825
827
|
shares. Can be one of low, normal, high, or custom.
|
|
@@ -828,7 +830,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
828
830
|
|
|
829
831
|
@property
|
|
830
832
|
@pulumi.getter(name="memoryShares")
|
|
831
|
-
def memory_shares(self) -> pulumi.Output[int]:
|
|
833
|
+
def memory_shares(self) -> pulumi.Output[builtins.int]:
|
|
832
834
|
"""
|
|
833
835
|
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
|
|
834
836
|
memory_share_level must be custom.
|
|
@@ -837,7 +839,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
837
839
|
|
|
838
840
|
@property
|
|
839
841
|
@pulumi.getter
|
|
840
|
-
def name(self) -> pulumi.Output[str]:
|
|
842
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
841
843
|
"""
|
|
842
844
|
Name of resource pool.
|
|
843
845
|
"""
|
|
@@ -845,7 +847,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
845
847
|
|
|
846
848
|
@property
|
|
847
849
|
@pulumi.getter(name="parentResourcePoolId")
|
|
848
|
-
def parent_resource_pool_id(self) -> pulumi.Output[str]:
|
|
850
|
+
def parent_resource_pool_id(self) -> pulumi.Output[builtins.str]:
|
|
849
851
|
"""
|
|
850
852
|
The ID of the root resource pool of the compute resource the resource pool is in.
|
|
851
853
|
"""
|
|
@@ -853,7 +855,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
853
855
|
|
|
854
856
|
@property
|
|
855
857
|
@pulumi.getter(name="scaleDescendantsShares")
|
|
856
|
-
def scale_descendants_shares(self) -> pulumi.Output[Optional[str]]:
|
|
858
|
+
def scale_descendants_shares(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
857
859
|
"""
|
|
858
860
|
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
|
|
859
861
|
pool are scaled up or down.
|
|
@@ -862,7 +864,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
862
864
|
|
|
863
865
|
@property
|
|
864
866
|
@pulumi.getter
|
|
865
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
867
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
866
868
|
"""
|
|
867
869
|
A list of tag IDs to apply to this object.
|
|
868
870
|
"""
|