features
Creates, updates, deletes, gets or lists a features resource.
Overview
| Name | features |
| Type | Resource |
| Id | azure_stack.compute_admin.features |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | ID of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource. |
properties | object | Feature properties. |
type | string | Type of Resource. |
| Name | Datatype | Description |
|---|---|---|
id | string | ID of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource. |
properties | object | Feature properties. |
type | string | Type of Resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, location, featureName | Get an existing feature. | |
list | select | subscriptionId, location | Get a list of existing features. |
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 |
|---|---|---|
featureName | string | Name of the feature. |
location | string | The name of Azure region. |
subscriptionId | string | The ID of the target subscription. |
SELECT examples
- get
- list
Get an existing feature.
SELECT
id,
name,
location,
properties,
type
FROM azure_stack.compute_admin.features
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND featureName = '{{ featureName }}' -- required
;
Get a list of existing features.
SELECT
id,
name,
location,
properties,
type
FROM azure_stack.compute_admin.features
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;