best_practices_versions
Creates, updates, deletes, gets or lists a best_practices_versions resource.
Overview
| Name | best_practices_versions |
| Type | Resource |
| Id | azure.automanage.best_practices_versions |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_tenant
| Name | Datatype | Description |
|---|---|---|
id | string | The fully qualified ID for the best practice. For example, /providers/Microsoft.Automanage/bestPractices/azureBestPracticesProduction. |
name | string | The name of the best practice. For example, azureBestPracticesProduction. |
configuration | object | configuration dictionary of the configuration profile. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. For example, Microsoft.Automanage/bestPractices. |
| Name | Datatype | Description |
|---|---|---|
id | string | The fully qualified ID for the best practice. For example, /providers/Microsoft.Automanage/bestPractices/azureBestPracticesProduction. |
name | string | The name of the best practice. For example, azureBestPracticesProduction. |
configuration | object | configuration dictionary of the configuration profile. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. For example, Microsoft.Automanage/bestPractices. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | best_practice_name, version_name | Get information about a Automanage best practice version. | |
list_by_tenant | select | best_practice_name | Retrieve a list of Automanage best practices versions. |
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 |
|---|---|---|
best_practice_name | string | The Automanage best practice name. Required. |
version_name | string | The Automanage best practice version name. Required. |
SELECT examples
- get
- list_by_tenant
Get information about a Automanage best practice version.
SELECT
id,
name,
configuration,
systemData,
type
FROM azure.automanage.best_practices_versions
WHERE best_practice_name = '{{ best_practice_name }}' -- required
AND version_name = '{{ version_name }}' -- required
;
Retrieve a list of Automanage best practices versions.
SELECT
id,
name,
configuration,
systemData,
type
FROM azure.automanage.best_practices_versions
WHERE best_practice_name = '{{ best_practice_name }}' -- required
;