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
OK. The Automanage best practice version was returned successfully.
| 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 |
properties | object | Properties of the best practice. (title: Properties) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. For example, Microsoft.Automanage/bestPractices |
OK. List of Automanage bestPractices configuration profile versions.
| 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 |
properties | object | Properties of the best practice. (title: Properties) |
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 | bestPracticeName, versionName | Get information about a Automanage best practice version | |
list_by_tenant | select | bestPracticeName | 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 |
|---|---|---|
bestPracticeName | string | The Automanage best practice name. |
versionName | string | The Automanage best practice version name. |
SELECT examples
- get
- list_by_tenant
Get information about a Automanage best practice version
SELECT
id,
name,
properties,
systemData,
type
FROM azure.automanage.best_practices_versions
WHERE bestPracticeName = '{{ bestPracticeName }}' -- required
AND versionName = '{{ versionName }}' -- required
;
Retrieve a list of Automanage best practices versions
SELECT
id,
name,
properties,
systemData,
type
FROM azure.automanage.best_practices_versions
WHERE bestPracticeName = '{{ bestPracticeName }}' -- required
;