Skip to main content

best_practices

Creates, updates, deletes, gets or lists a best_practices resource.

Overview

Namebest_practices
TypeResource
Idazure.automanage.best_practices

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe fully qualified ID for the best practice. For example, /providers/Microsoft.Automanage/bestPractices/azureBestPracticesProduction.
namestringThe name of the best practice. For example, azureBestPracticesProduction.
configurationobjectconfiguration dictionary of the configuration profile.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. For example, Microsoft.Automanage/bestPractices.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbest_practice_nameGet information about a Automanage best practice.
list_by_tenantselectRetrieve 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.

NameDatatypeDescription
best_practice_namestringThe Automanage best practice name. Required.

SELECT examples

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
;