Interface DiagnosticSettings
- All Superinterfaces:
HasInner<com.microsoft.azure.management.monitor.implementation.DiagnosticSettingsInner>
,HasManager<com.microsoft.azure.management.monitor.implementation.MonitorManager>
,SupportsBatchCreation<DiagnosticSetting>
,SupportsBatchDeletion
,SupportsCreating<DiagnosticSetting.DefinitionStages.Blank>
,SupportsDeletingById
,SupportsGettingById<DiagnosticSetting>
@Beta(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>
Entry point for diagnostic settings management API.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.com.microsoft.rest.ServiceFuture<Void>
deleteAsync
(String resourceId, String name, com.microsoft.rest.ServiceCallback<Void> callback) Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resourceId and name.Gets the information about Diagnostic Setting from Azure based on the resource id and setting name.rx.Observable<DiagnosticSetting>
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.rx.Observable<DiagnosticSettingsCategory>
getCategoryAsync
(String resourceId, String name) Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource.com.microsoft.azure.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.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.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync, createAsync, createAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
define
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
-
Method Details
-
listCategoriesByResource
Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.- Parameters:
resourceId
- of the requested resource.- Returns:
- list of Diagnostic Settings category available for the resource.
-
listCategoriesByResourceAsync
Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.- Parameters:
resourceId
- of the requested resource.- Returns:
- list of Diagnostic Settings category available for the resource.
-
getCategory
Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource.- Parameters:
resourceId
- of the requested resource.name
- of the Log or Metric category.- Returns:
- Diagnostic Setting category available for the resource.
-
getCategoryAsync
Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource.- Parameters:
resourceId
- of the requested resource.name
- of the Log or Metric category.- Returns:
- Diagnostic Setting category available for the resource.
-
listByResource
Lists all the diagnostic settings in the currently selected subscription for a specific resource.- Parameters:
resourceId
- that Diagnostic Setting is associated with.- Returns:
- list of resources
-
listByResourceAsync
Lists all the diagnostic settings in the currently selected subscription for a specific resource.- Parameters:
resourceId
- that Diagnostic Setting is associated with.- Returns:
- list of resources
-
delete
Deletes a Diagnostic Setting from Azure, identifying it by its resourceId and name.- Parameters:
resourceId
- that Diagnostic Setting is associated with.name
- the name of Diagnostic Setting.
-
deleteAsync
com.microsoft.rest.ServiceFuture<Void> deleteAsync(String resourceId, String name, com.microsoft.rest.ServiceCallback<Void> callback) Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resourceId and name.- Parameters:
resourceId
- that Diagnostic Setting is associated with.name
- the name of Diagnostic Setting.callback
- the callback on success or failure- Returns:
- a handle to cancel the request
-
deleteAsync
Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resourceId and name.- Parameters:
resourceId
- that Diagnostic Setting is associated with.name
- the name of Diagnostic Setting.- Returns:
- a representation of the deferred computation of this call
-
get
Gets the information about Diagnostic Setting from Azure based on the resource id and setting name.- Parameters:
resourceId
- that Diagnostic Setting is associated with.name
- the name of Diagnostic Setting.- Returns:
- an immutable representation of the resource
-
getAsync
Gets the information about Diagnostic Setting from Azure based on the resource id and setting name.- Parameters:
resourceId
- that Diagnostic Setting is associated with.name
- the name of Diagnostic Setting.- Returns:
- an immutable representation of the resource
-