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
OK. The Automanage best practice 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.
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 | 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 |
---|---|---|
bestPracticeName | string | The Automanage best practice name. |
SELECT
examples
- get
- list_by_tenant
Get information about a Automanage best practice
SELECT
id,
name,
properties,
systemData,
type
FROM azure.automanage.best_practices
WHERE bestPracticeName = '{{ bestPracticeName }}' -- required
;
Retrieve a list of Automanage best practices
SELECT
id,
name,
properties,
systemData,
type
FROM azure.automanage.best_practices
;