Interface DiagnosticSettings

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<MonitorManager>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<DiagnosticSetting>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<DiagnosticSetting.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<DiagnosticSetting>

public interface DiagnosticSettings extends com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<DiagnosticSetting.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<DiagnosticSetting>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<DiagnosticSetting>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<MonitorManager>
Entry point for diagnostic settings management API.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.
    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>
    Lists all the diagnostic settings in the currently selected subscription for a specific resource.
    Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.
    com.azure.core.http.rest.PagedFlux<DiagnosticSettingsCategory>
    Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation

    create, create, createAsync, createAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion

    deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating

    define

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById

    deleteById, deleteByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById

    getById, getByIdAsync
  • Method Details

    • listCategoriesByResource

      List<DiagnosticSettingsCategory> listCategoriesByResource(String resourceId)
      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

      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.
      Parameters:
      resourceId - of the requested resource.
      Returns:
      list of Diagnostic Settings category available for the resource.
    • getCategory

      DiagnosticSettingsCategory getCategory(String resourceId, String name)
      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

      Mono<DiagnosticSettingsCategory> getCategoryAsync(String resourceId, String name)
      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

      com.azure.core.http.rest.PagedIterable<DiagnosticSetting> listByResource(String resourceId)
      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

      com.azure.core.http.rest.PagedFlux<DiagnosticSetting> listByResourceAsync(String resourceId)
      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

      void delete(String resourceId, String name)
      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

      Mono<Void> deleteAsync(String resourceId, String name)
      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

      DiagnosticSetting get(String resourceId, String name)
      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

      Mono<DiagnosticSetting> getAsync(String resourceId, String name)
      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