resource_pools
Creates, updates, deletes, gets or lists a resource_pools resource.
Overview
| Name | resource_pools |
| Type | Resource |
| Id | azure_isv.connectedvmware.resource_pools |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_resource_group
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the Id. |
name | string | Gets or sets the name. |
cpuCapacityMHz | integer | Gets the max CPU usage across all cores on the pool in MHz. |
cpuLimitMHz | integer | Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources. |
cpuOverallUsageMHz | integer | Gets the used CPU usage across all cores on the pool in MHz. |
cpuReservationMHz | integer | Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available. |
cpuSharesLevel | string | Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers. |
customResourceName | string | Gets the name of the corresponding resource in Kubernetes. |
datastoreIds | array | Gets the datastore ARM ids. |
extendedLocation | object | Gets or sets the extended location. |
inventoryItemId | string | Gets or sets the inventory Item ID for the resource pool. |
kind | string | Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. |
location | string | Gets or sets the location. Required. |
memCapacityGB | integer | Gets the total amount of physical memory on the pool in GB. |
memLimitMB | integer | Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources. |
memOverallUsageGB | integer | Gets the used physical memory on the pool in GB. |
memReservationMB | integer | Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes. |
memSharesLevel | string | Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers. |
moName | string | Gets or sets the vCenter Managed Object name for the resource pool. |
moRefId | string | Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. |
networkIds | array | Gets the network ARM ids. |
provisioningState | string | Gets the provisioning state. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", "Accepted", and "Created". |
statuses | array | The resource status information. |
systemData | object | The system data. |
tags | object | Gets or sets the Resource tags. |
type | string | Gets or sets the type of the resource. |
uuid | string | Gets or sets a unique identifier for this resource. |
vCenterId | string | Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. |
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the Id. |
name | string | Gets or sets the name. |
cpuCapacityMHz | integer | Gets the max CPU usage across all cores on the pool in MHz. |
cpuLimitMHz | integer | Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources. |
cpuOverallUsageMHz | integer | Gets the used CPU usage across all cores on the pool in MHz. |
cpuReservationMHz | integer | Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available. |
cpuSharesLevel | string | Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers. |
customResourceName | string | Gets the name of the corresponding resource in Kubernetes. |
datastoreIds | array | Gets the datastore ARM ids. |
extendedLocation | object | Gets or sets the extended location. |
inventoryItemId | string | Gets or sets the inventory Item ID for the resource pool. |
kind | string | Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. |
location | string | Gets or sets the location. Required. |
memCapacityGB | integer | Gets the total amount of physical memory on the pool in GB. |
memLimitMB | integer | Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources. |
memOverallUsageGB | integer | Gets the used physical memory on the pool in GB. |
memReservationMB | integer | Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes. |
memSharesLevel | string | Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers. |
moName | string | Gets or sets the vCenter Managed Object name for the resource pool. |
moRefId | string | Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. |
networkIds | array | Gets the network ARM ids. |
provisioningState | string | Gets the provisioning state. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", "Accepted", and "Created". |
statuses | array | The resource status information. |
systemData | object | The system data. |
tags | object | Gets or sets the Resource tags. |
type | string | Gets or sets the type of the resource. |
uuid | string | Gets or sets a unique identifier for this resource. |
vCenterId | string | Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. |
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the Id. |
name | string | Gets or sets the name. |
cpuCapacityMHz | integer | Gets the max CPU usage across all cores on the pool in MHz. |
cpuLimitMHz | integer | Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources. |
cpuOverallUsageMHz | integer | Gets the used CPU usage across all cores on the pool in MHz. |
cpuReservationMHz | integer | Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available. |
cpuSharesLevel | string | Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers. |
customResourceName | string | Gets the name of the corresponding resource in Kubernetes. |
datastoreIds | array | Gets the datastore ARM ids. |
extendedLocation | object | Gets or sets the extended location. |
inventoryItemId | string | Gets or sets the inventory Item ID for the resource pool. |
kind | string | Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. |
location | string | Gets or sets the location. Required. |
memCapacityGB | integer | Gets the total amount of physical memory on the pool in GB. |
memLimitMB | integer | Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources. |
memOverallUsageGB | integer | Gets the used physical memory on the pool in GB. |
memReservationMB | integer | Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes. |
memSharesLevel | string | Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers. |
moName | string | Gets or sets the vCenter Managed Object name for the resource pool. |
moRefId | string | Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. |
networkIds | array | Gets the network ARM ids. |
provisioningState | string | Gets the provisioning state. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", "Accepted", and "Created". |
statuses | array | The resource status information. |
systemData | object | The system data. |
tags | object | Gets or sets the Resource tags. |
type | string | Gets or sets the type of the resource. |
uuid | string | Gets or sets a unique identifier for this resource. |
vCenterId | string | Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, resource_pool_name, subscription_id | Gets a resourcePool. Implements resourcePool GET method. | |
list_by_resource_group | select | resource_group_name, subscription_id | Implements GET resourcePools in a resource group. List of resourcePools in a resource group. | |
list | select | subscription_id | Implements GET resourcePools in a subscription. List of resourcePools in a subscription. | |
create | insert | resource_group_name, resource_pool_name, subscription_id, location | Implements resourcePool PUT method. Create Or Update resourcePool. | |
update | update | resource_group_name, resource_pool_name, subscription_id | Updates a resourcePool. API to update certain properties of the resourcePool resource. | |
delete | delete | resource_group_name, resource_pool_name, subscription_id | force | Deletes an resourcePool. Implements resourcePool DELETE method. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
resource_group_name | string | The Resource Group Name. Required. |
resource_pool_name | string | Name of the resourcePool. Required. |
subscription_id | string | |
force | boolean | Whether force delete was specified. Default value is None. |
SELECT examples
- get
- list_by_resource_group
- list
Gets a resourcePool. Implements resourcePool GET method.
SELECT
id,
name,
cpuCapacityMHz,
cpuLimitMHz,
cpuOverallUsageMHz,
cpuReservationMHz,
cpuSharesLevel,
customResourceName,
datastoreIds,
extendedLocation,
inventoryItemId,
kind,
location,
memCapacityGB,
memLimitMB,
memOverallUsageGB,
memReservationMB,
memSharesLevel,
moName,
moRefId,
networkIds,
provisioningState,
statuses,
systemData,
tags,
type,
uuid,
vCenterId
FROM azure_isv.connectedvmware.resource_pools
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_pool_name = '{{ resource_pool_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Implements GET resourcePools in a resource group. List of resourcePools in a resource group.
SELECT
id,
name,
cpuCapacityMHz,
cpuLimitMHz,
cpuOverallUsageMHz,
cpuReservationMHz,
cpuSharesLevel,
customResourceName,
datastoreIds,
extendedLocation,
inventoryItemId,
kind,
location,
memCapacityGB,
memLimitMB,
memOverallUsageGB,
memReservationMB,
memSharesLevel,
moName,
moRefId,
networkIds,
provisioningState,
statuses,
systemData,
tags,
type,
uuid,
vCenterId
FROM azure_isv.connectedvmware.resource_pools
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Implements GET resourcePools in a subscription. List of resourcePools in a subscription.
SELECT
id,
name,
cpuCapacityMHz,
cpuLimitMHz,
cpuOverallUsageMHz,
cpuReservationMHz,
cpuSharesLevel,
customResourceName,
datastoreIds,
extendedLocation,
inventoryItemId,
kind,
location,
memCapacityGB,
memLimitMB,
memOverallUsageGB,
memReservationMB,
memSharesLevel,
moName,
moRefId,
networkIds,
provisioningState,
statuses,
systemData,
tags,
type,
uuid,
vCenterId
FROM azure_isv.connectedvmware.resource_pools
WHERE subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create
- Manifest
Implements resourcePool PUT method. Create Or Update resourcePool.
INSERT INTO azure_isv.connectedvmware.resource_pools (
location,
extendedLocation,
tags,
kind,
properties,
resource_group_name,
resource_pool_name,
subscription_id
)
SELECT
'{{ location }}' /* required */,
'{{ extendedLocation }}',
'{{ tags }}',
'{{ kind }}',
'{{ properties }}',
'{{ resource_group_name }}',
'{{ resource_pool_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
extendedLocation,
kind,
location,
properties,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: resource_pools
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the resource_pools resource.
- name: resource_pool_name
value: "{{ resource_pool_name }}"
description: Required parameter for the resource_pools resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the resource_pools resource.
- name: location
value: "{{ location }}"
description: |
Gets or sets the location. Required.
- name: extendedLocation
description: |
Gets or sets the extended location.
value:
type: "{{ type }}"
name: "{{ name }}"
- name: tags
value: "{{ tags }}"
description: |
Gets or sets the Resource tags.
- name: kind
value: "{{ kind }}"
description: |
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- name: properties
value:
vCenterId: "{{ vCenterId }}"
moRefId: "{{ moRefId }}"
inventoryItemId: "{{ inventoryItemId }}"
UPDATE examples
- update
Updates a resourcePool. API to update certain properties of the resourcePool resource.
UPDATE azure_isv.connectedvmware.resource_pools
SET
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND resource_pool_name = '{{ resource_pool_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
extendedLocation,
kind,
location,
properties,
systemData,
tags,
type;
DELETE examples
- delete
Deletes an resourcePool. Implements resourcePool DELETE method.
DELETE FROM azure_isv.connectedvmware.resource_pools
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND resource_pool_name = '{{ resource_pool_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND force = '{{ force }}'
;