Interface Grafanas


public interface Grafanas
Resource collection API of Grafanas.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ManagedGrafana> list()
      List all resources of workspaces for Grafana under the specified subscription.
      Returns:
      the paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<ManagedGrafana> list(com.azure.core.util.Context context)
      List all resources of workspaces for Grafana under the specified subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ManagedGrafana> listByResourceGroup(String resourceGroupName)
      List all resources of workspaces for Grafana under the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ManagedGrafana> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      List all resources of workspaces for Grafana under the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      the paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      ManagedGrafana getByResourceGroup(String resourceGroupName, String workspaceName)
      Get the properties of a specific workspace for Grafana resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      Returns:
      the properties of a specific workspace for Grafana resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<ManagedGrafana> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      Get the properties of a specific workspace for Grafana resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      context - The context to associate with this operation.
      Returns:
      the properties of a specific workspace for Grafana resource along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String workspaceName)
      Delete a workspace for Grafana resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      Delete a workspace for Grafana resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getById

      ManagedGrafana getById(String id)
      Get the properties of a specific workspace for Grafana resource.
      Parameters:
      id - the resource ID.
      Returns:
      the properties of a specific workspace for Grafana resource along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<ManagedGrafana> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get the properties of a specific workspace for Grafana resource.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the properties of a specific workspace for Grafana resource along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteById

      void deleteById(String id)
      Delete a workspace for Grafana resource.
      Parameters:
      id - the resource ID.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete a workspace for Grafana resource.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • define

      Begins definition for a new ManagedGrafana resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new ManagedGrafana definition.