Share via


SelfHelpExtensions.GetSelfHelpDiagnostics Method

Definition

Gets a collection of SelfHelpDiagnosticResources in the ArmClient. MockingTo mock this method, please mock GetSelfHelpDiagnostics(ResourceIdentifier) instead.

public static Azure.ResourceManager.SelfHelp.SelfHelpDiagnosticCollection GetSelfHelpDiagnostics (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetSelfHelpDiagnostics : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SelfHelp.SelfHelpDiagnosticCollection
<Extension()>
Public Function GetSelfHelpDiagnostics (client As ArmClient, scope As ResourceIdentifier) As SelfHelpDiagnosticCollection

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

An object representing collection of SelfHelpDiagnosticResources and their operations over a SelfHelpDiagnosticResource.

Exceptions

client is null.

Applies to