@Beta(value=V1_8_0) public interface DiagnosticSettings extends SupportsCreating<DiagnosticSetting.DefinitionStages.Blank>, SupportsBatchCreation<DiagnosticSetting>, SupportsGettingById<DiagnosticSetting>, SupportsDeletingById, SupportsBatchDeletion, HasManager<com.microsoft.azure.management.monitor.implementation.MonitorManager>, HasInner<com.microsoft.azure.management.monitor.implementation.DiagnosticSettingsInner>
| 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.
|
rx.Completable |
deleteAsync(String resourceId,
String name)
Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resourceId and name.
|
ServiceFuture<Void> |
deleteAsync(String resourceId,
String name,
ServiceCallback<Void> callback)
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.
|
rx.Observable<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.
|
rx.Observable<DiagnosticSettingsCategory> |
getCategoryAsync(String resourceId,
String name)
Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource.
|
PagedList<DiagnosticSetting> |
listByResource(String resourceId)
Lists all the diagnostic settings in the currently selected subscription for a specific resource.
|
rx.Observable<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.
|
rx.Observable<DiagnosticSettingsCategory> |
listCategoriesByResourceAsync(String resourceId)
Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.
|
definecreate, create, createAsync, createAsync, createAsync, createAsyncgetById, getByIdAsync, getByIdAsyncdeleteById, deleteByIdAsync, deleteByIdAsyncdeleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncmanagerList<DiagnosticSettingsCategory> listCategoriesByResource(String resourceId)
resourceId - of the requested resource.rx.Observable<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.rx.Observable<DiagnosticSettingsCategory> getCategoryAsync(String resourceId, String name)
resourceId - of the requested resource.name - of the Log or Metric category.PagedList<DiagnosticSetting> listByResource(String resourceId)
resourceId - that Diagnostic Setting is associated with.rx.Observable<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.ServiceFuture<Void> deleteAsync(String resourceId, String name, ServiceCallback<Void> callback)
resourceId - that Diagnostic Setting is associated with.name - the name of Diagnostic Setting.callback - the callback on success or failurerx.Completable 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.rx.Observable<DiagnosticSetting> getAsync(String resourceId, String name)
resourceId - that Diagnostic Setting is associated with.name - the name of Diagnostic Setting.Copyright © 2019. All rights reserved.