Share via


ComputeRecommenderExtensions.GetComputeRecommenderDiagnosticResource Method

Definition

Gets an object representing a ComputeRecommenderDiagnosticResource along with the instance operations that can be performed on it but with no data.

public static Azure.ResourceManager.Compute.Recommender.ComputeRecommenderDiagnosticResource GetComputeRecommenderDiagnosticResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetComputeRecommenderDiagnosticResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.Recommender.ComputeRecommenderDiagnosticResource
<Extension()>
Public Function GetComputeRecommenderDiagnosticResource (client As ArmClient, id As ResourceIdentifier) As ComputeRecommenderDiagnosticResource

Parameters

client
ArmClient

The ArmClient the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ComputeRecommenderDiagnosticResource object.

Exceptions

client is null.

Applies to