DiagnosticSettings Interface
Implements
public interface DiagnosticSettings
extends SupportsCreating<Blank>, SupportsBatchCreation<DiagnosticSetting>, SupportsGettingById<DiagnosticSetting>, SupportsDeletingById, SupportsBatchDeletion, HasManager<MonitorManager>
Entry point for diagnostic settings management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract void |
delete(String resourceId, String name)
Deletes a Diagnostic Setting from Azure, identifying it by its resource |
abstract Mono<Void> |
deleteAsync(String resourceId, String name)
Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resource |
abstract
Diagnostic |
get(String resourceId, String name)
Gets the information about Diagnostic Setting from Azure based on the resource id and setting name. |
abstract
Mono<Diagnostic |
getAsync(String resourceId, String name)
Gets the information about Diagnostic Setting from Azure based on the resource id and setting name. |
abstract
Diagnostic |
getCategory(String resourceId, String name)
Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource. |
abstract
Mono<Diagnostic |
getCategoryAsync(String resourceId, String name)
Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource. |
abstract
Paged |
listByResource(String resourceId)
Lists all the diagnostic settings in the currently selected subscription for a specific resource. |
abstract
Paged |
listByResourceAsync(String resourceId)
Lists all the diagnostic settings in the currently selected subscription for a specific resource. |
abstract
List<Diagnostic |
listCategoriesByResource(String resourceId)
Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource. |
abstract
Paged |
listCategoriesByResourceAsync(String resourceId)
Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource. |
Method Details
delete
public abstract void delete(String resourceId, String name)
Deletes a Diagnostic Setting from Azure, identifying it by its resourceId and name.
Parameters:
deleteAsync
public abstract Mono
Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resourceId and name.
Parameters:
Returns:
get
public abstract DiagnosticSetting get(String resourceId, String name)
Gets the information about Diagnostic Setting from Azure based on the resource id and setting name.
Parameters:
Returns:
getAsync
public abstract Mono
Gets the information about Diagnostic Setting from Azure based on the resource id and setting name.
Parameters:
Returns:
getCategory
public abstract DiagnosticSettingsCategory getCategory(String resourceId, String name)
Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource.
Parameters:
Returns:
getCategoryAsync
public abstract Mono
Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource.
Parameters:
Returns:
listByResource
public abstract PagedIterable
Lists all the diagnostic settings in the currently selected subscription for a specific resource.
Parameters:
Returns:
listByResourceAsync
public abstract PagedFlux
Lists all the diagnostic settings in the currently selected subscription for a specific resource.
Parameters:
Returns:
listCategoriesByResource
public abstract List
Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.
Parameters:
Returns:
listCategoriesByResourceAsync
public abstract PagedFlux
Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.
Parameters:
Returns: