best_practices
Creates, updates, deletes, gets or lists a best_practices resource.
Overview
| Name | best_practices |
| Type | Resource |
| Id | azure.automanage.best_practices |
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 | Get information about a Automanage best practice. | |
list_by_tenant | select | Retrieve a list of Automanage best practices. |
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. |
SELECT examples
- get
- list_by_tenant
Get information about a Automanage best practice.
SELECT
id,
name,
configuration,
systemData,
type
FROM azure.automanage.best_practices
WHERE best_practice_name = '{{ best_practice_name }}' -- required
;
Retrieve a list of Automanage best practices.
SELECT
id,
name,
configuration,
systemData,
type
FROM azure.automanage.best_practices
;