다음을 통해 공유


AutomanageExtensions.GetAutomanageBestPractices(TenantResource) Method

Definition

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.

Applies to