DiagnosticSettings Interface

Definition

Entry point for diagnostic settings management API.

public interface DiagnosticSettings extends SupportsCreating<DiagnosticSetting.DefinitionStages.Blank>, SupportsBatchCreation<DiagnosticSetting>, SupportsGettingById<DiagnosticSetting>, SupportsDeletingById, SupportsBatchDeletion, HasManager<MonitorManager>
Implements

Methods

delete(String resourceId, String name)

Deletes a Diagnostic Setting from Azure, identifying it by its resourceId and name.

deleteAsync(String resourceId, String name)

Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resourceId and name.

get(String resourceId, String name)

Gets the information about Diagnostic Setting from Azure based on the resource id and setting name.

getAsync(String resourceId, String name)

Gets the information about Diagnostic Setting from Azure based on the resource id and setting name.

getCategory(String resourceId, String name)

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

getCategoryAsync(String resourceId, String name)

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

listByResource(String resourceId)

Lists all the diagnostic settings in the currently selected subscription for a specific resource.

listByResourceAsync(String resourceId)

Lists all the diagnostic settings in the currently selected subscription for a specific resource.

listCategoriesByResource(String resourceId)

Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.

listCategoriesByResourceAsync(String resourceId)

Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.

Applies to