AutomanageExtensions.GetAutomanageBestPractices(TenantResource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of AutomanageBestPracticeResources in the TenantResource. MockingTo mock this method, please mock GetAutomanageBestPractices() instead.
public static Azure.ResourceManager.Automanage.AutomanageBestPracticeCollection GetAutomanageBestPractices (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetAutomanageBestPractices : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.Automanage.AutomanageBestPracticeCollection
<Extension()>
Public Function GetAutomanageBestPractices (tenantResource As TenantResource) As AutomanageBestPracticeCollection
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
Returns
An object representing collection of AutomanageBestPracticeResources and their operations over a AutomanageBestPracticeResource.
Exceptions
tenantResource
is null.