public interface DiagnosticSettings extends SupportsCreating<DiagnosticSetting.DefinitionStages.Blank>, SupportsBatchCreation<DiagnosticSetting>, SupportsGettingById<DiagnosticSetting>, SupportsDeletingById, SupportsBatchDeletion, HasManager<MonitorManager>
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String resourceId,
String name)
Deletes a Diagnostic Setting from Azure, identifying it by its resourceId and name.
|
Mono<Void> |
deleteAsync(String resourceId,
String name)
Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resourceId and name.
|
DiagnosticSetting |
get(String resourceId,
String name)
Gets the information about Diagnostic Setting from Azure based on the resource id and setting name.
|
Mono<DiagnosticSetting> |
getAsync(String resourceId,
String name)
Gets the information about Diagnostic Setting from Azure based on the resource id and setting name.
|
DiagnosticSettingsCategory |
getCategory(String resourceId,
String name)
Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource.
|
Mono<DiagnosticSettingsCategory> |
getCategoryAsync(String resourceId,
String name)
Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource.
|
com.azure.core.http.rest.PagedIterable<DiagnosticSetting> |
listByResource(String resourceId)
Lists all the diagnostic settings in the currently selected subscription for a specific resource.
|
com.azure.core.http.rest.PagedFlux<DiagnosticSetting> |
listByResourceAsync(String resourceId)
Lists all the diagnostic settings in the currently selected subscription for a specific resource.
|
List<DiagnosticSettingsCategory> |
listCategoriesByResource(String resourceId)
Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.
|
com.azure.core.http.rest.PagedFlux<DiagnosticSettingsCategory> |
listCategoriesByResourceAsync(String resourceId)
Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.
|
definecreate, create, createAsync, createAsyncgetById, getByIdAsyncdeleteById, deleteByIdAsyncdeleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncmanagerList<DiagnosticSettingsCategory> listCategoriesByResource(String resourceId)
resourceId - of the requested resource.com.azure.core.http.rest.PagedFlux<DiagnosticSettingsCategory> listCategoriesByResourceAsync(String resourceId)
resourceId - of the requested resource.DiagnosticSettingsCategory getCategory(String resourceId, String name)
resourceId - of the requested resource.name - of the Log or Metric category.Mono<DiagnosticSettingsCategory> getCategoryAsync(String resourceId, String name)
resourceId - of the requested resource.name - of the Log or Metric category.com.azure.core.http.rest.PagedIterable<DiagnosticSetting> listByResource(String resourceId)
resourceId - that Diagnostic Setting is associated with.com.azure.core.http.rest.PagedFlux<DiagnosticSetting> listByResourceAsync(String resourceId)
resourceId - that Diagnostic Setting is associated with.void delete(String resourceId, String name)
resourceId - that Diagnostic Setting is associated with.name - the name of Diagnostic Setting.Mono<Void> deleteAsync(String resourceId, String name)
resourceId - that Diagnostic Setting is associated with.name - the name of Diagnostic Setting.DiagnosticSetting get(String resourceId, String name)
resourceId - that Diagnostic Setting is associated with.name - the name of Diagnostic Setting.Mono<DiagnosticSetting> getAsync(String resourceId, String name)
resourceId - that Diagnostic Setting is associated with.name - the name of Diagnostic Setting.Copyright © 2020 Microsoft Corporation. All rights reserved.