DiagnosticSettings.getCategory(String resourceId, String name) Method

Definition

Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource.

public abstract DiagnosticSettingsCategory getCategory(String resourceId, String name)

Parameters

resourceId
java.lang.String

of the requested resource.

name
java.lang.String

of the Log or Metric category.

Returns

Diagnostic Setting category available for the resource.

Applies to