Dela via


Grafanas Interface

public interface Grafanas

Resource collection API of Grafanas.

Method Summary

Modifier and Type Method and Description
abstract EnterpriseDetails checkEnterpriseDetails(String resourceGroupName, String workspaceName)

Retrieve enterprise add-on details information.

abstract Response<EnterpriseDetails> checkEnterpriseDetailsWithResponse(String resourceGroupName, String workspaceName, Context context)

Retrieve enterprise add-on details information.

abstract Blank define(String name)

Begins definition for a new ManagedGrafana resource.

abstract void delete(String resourceGroupName, String workspaceName, Context context)

Delete a workspace for Grafana resource.

abstract void deleteById(String id)

Delete a workspace for Grafana resource.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a workspace for Grafana resource.

abstract void deleteByResourceGroup(String resourceGroupName, String workspaceName)

Delete a workspace for Grafana resource.

abstract GrafanaAvailablePluginListResponse fetchAvailablePlugins(String resourceGroupName, String workspaceName)

A synchronous resource action.

abstract Response<GrafanaAvailablePluginListResponse> fetchAvailablePluginsWithResponse(String resourceGroupName, String workspaceName, Context context)

A synchronous resource action.

abstract ManagedGrafana getById(String id)

Get the properties of a specific workspace for Grafana resource.

abstract Response<ManagedGrafana> getByIdWithResponse(String id, Context context)

Get the properties of a specific workspace for Grafana resource.

abstract ManagedGrafana getByResourceGroup(String resourceGroupName, String workspaceName)

Get the properties of a specific workspace for Grafana resource.

abstract Response<ManagedGrafana> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, Context context)

Get the properties of a specific workspace for Grafana resource.

abstract PagedIterable<ManagedGrafana> list()

List all resources of workspaces for Grafana under the specified subscription.

abstract PagedIterable<ManagedGrafana> list(Context context)

List all resources of workspaces for Grafana under the specified subscription.

abstract PagedIterable<ManagedGrafana> listByResourceGroup(String resourceGroupName)

List all resources of workspaces for Grafana under the specified resource group.

abstract PagedIterable<ManagedGrafana> listByResourceGroup(String resourceGroupName, Context context)

List all resources of workspaces for Grafana under the specified resource group.

Method Details

checkEnterpriseDetails

public abstract EnterpriseDetails checkEnterpriseDetails(String resourceGroupName, String workspaceName)

Retrieve enterprise add-on details information.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The workspace name of Azure Managed Grafana.

Returns:

enterprise details of a Grafana instance.

checkEnterpriseDetailsWithResponse

public abstract Response<EnterpriseDetails> checkEnterpriseDetailsWithResponse(String resourceGroupName, String workspaceName, Context context)

Retrieve enterprise add-on details information.

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:

enterprise details of a Grafana instance along with Response<T>.

define

public abstract ManagedGrafana.DefinitionStages.Blank define(String name)

Begins definition for a new ManagedGrafana resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ManagedGrafana definition.

delete

public abstract void delete(String resourceGroupName, String workspaceName, 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.

deleteById

public abstract void deleteById(String id)

Delete a workspace for Grafana resource.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a workspace for Grafana resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract 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.

fetchAvailablePlugins

public abstract GrafanaAvailablePluginListResponse fetchAvailablePlugins(String resourceGroupName, String workspaceName)

A synchronous resource action.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The workspace name of Azure Managed Grafana.

Returns:

the response.

fetchAvailablePluginsWithResponse

public abstract Response<GrafanaAvailablePluginListResponse> fetchAvailablePluginsWithResponse(String resourceGroupName, String workspaceName, Context context)

A synchronous resource action.

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 response body along with Response<T>.

getById

public abstract 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<T>.

getByIdWithResponse

public abstract Response<ManagedGrafana> getByIdWithResponse(String id, 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<T>.

getByResourceGroup

public abstract 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.

getByResourceGroupWithResponse

public abstract Response<ManagedGrafana> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, 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<T>.

list

public abstract PagedIterable<ManagedGrafana> list()

List all resources of workspaces for Grafana under the specified subscription.

Returns:

paged collection of ManagedGrafana items as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ManagedGrafana> list(Context context)

List all resources of workspaces for Grafana under the specified subscription.

Parameters:

context - The context to associate with this operation.

Returns:

paged collection of ManagedGrafana items as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract 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:

paged collection of ManagedGrafana items as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ManagedGrafana> listByResourceGroup(String resourceGroupName, 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:

paged collection of ManagedGrafana items as paginated response with PagedIterable<T>.

Applies to