resource_skus
Creates, updates, deletes, gets or lists a resource_skus resource.
Overview
| Name | resource_skus |
| Type | Resource |
| Id | azure.data_migration.resource_skus |
Fields
The following fields are returned by SELECT queries:
- list_skus
| Name | Datatype | Description |
|---|---|---|
name | string | The name of SKU. |
apiVersions | array | The api versions that support this SKU. |
capabilities | array | A name value pair to describe the capability. |
capacity | object | Not used. |
costs | array | Metadata for retrieving price info. |
family | string | The Family of this particular SKU. |
kind | string | The Kind of resources that are supported in this SKU. |
locations | array | The set of locations that the SKU is available. |
resourceType | string | The type of resource the SKU applies to. |
restrictions | array | The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. |
size | string | The Size of the SKU. |
tier | string | Specifies the tier of DMS (classic) in a scale set. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_skus | select | subscription_id | Get supported SKUs. The skus action returns the list of SKUs that DMS (classic) supports. |
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 |
|---|---|---|
subscription_id | string |
SELECT examples
- list_skus
Get supported SKUs. The skus action returns the list of SKUs that DMS (classic) supports.
SELECT
name,
apiVersions,
capabilities,
capacity,
costs,
family,
kind,
locations,
resourceType,
restrictions,
size,
tier
FROM azure.data_migration.resource_skus
WHERE subscription_id = '{{ subscription_id }}' -- required
;