Sdílet prostřednictvím


AutomanageExtensions.GetAutomanageBestPracticeResource Method

Definition

Gets an object representing an AutomanageBestPracticeResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create an AutomanageBestPracticeResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutomanageBestPracticeResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.Automanage.AutomanageBestPracticeResource GetAutomanageBestPracticeResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetAutomanageBestPracticeResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Automanage.AutomanageBestPracticeResource
<Extension()>
Public Function GetAutomanageBestPracticeResource (client As ArmClient, id As ResourceIdentifier) As AutomanageBestPracticeResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a AutomanageBestPracticeResource object.

Exceptions

client is null.

Applies to