GrafanasClient Interface

public interface GrafanasClient

An instance of this class provides access to all the operations defined in GrafanasClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ManagedGrafanaInner>,ManagedGrafanaInner> beginCreate(String resourceGroupName, String workspaceName, ManagedGrafanaInner requestBodyParameters)

Create or update a workspace for Grafana resource.

abstract SyncPoller<PollResult<ManagedGrafanaInner>,ManagedGrafanaInner> beginCreate(String resourceGroupName, String workspaceName, ManagedGrafanaInner requestBodyParameters, Context context)

Create or update a workspace for Grafana resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName)

Delete a workspace for Grafana resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, Context context)

Delete a workspace for Grafana resource.

abstract SyncPoller<PollResult<ManagedGrafanaInner>,ManagedGrafanaInner> beginUpdate(String resourceGroupName, String workspaceName, ManagedGrafanaUpdateParameters requestBodyParameters)

Update a workspace for Grafana resource.

abstract SyncPoller<PollResult<ManagedGrafanaInner>,ManagedGrafanaInner> beginUpdate(String resourceGroupName, String workspaceName, ManagedGrafanaUpdateParameters requestBodyParameters, Context context)

Update a workspace for Grafana resource.

abstract EnterpriseDetailsInner checkEnterpriseDetails(String resourceGroupName, String workspaceName)

Retrieve enterprise add-on details information.

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

Retrieve enterprise add-on details information.

abstract ManagedGrafanaInner create(String resourceGroupName, String workspaceName, ManagedGrafanaInner requestBodyParameters)

Create or update a workspace for Grafana resource.

abstract ManagedGrafanaInner create(String resourceGroupName, String workspaceName, ManagedGrafanaInner requestBodyParameters, Context context)

Create or update a workspace for Grafana resource.

abstract void delete(String resourceGroupName, String workspaceName)

Delete a workspace for Grafana resource.

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

Delete a workspace for Grafana resource.

abstract GrafanaAvailablePluginListResponseInner fetchAvailablePlugins(String resourceGroupName, String workspaceName)

A synchronous resource action.

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

A synchronous resource action.

abstract ManagedGrafanaInner getByResourceGroup(String resourceGroupName, String workspaceName)

Get the properties of a specific workspace for Grafana resource.

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

Get the properties of a specific workspace for Grafana resource.

abstract PagedIterable<ManagedGrafanaInner> list()

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

abstract PagedIterable<ManagedGrafanaInner> list(Context context)

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

abstract PagedIterable<ManagedGrafanaInner> listByResourceGroup(String resourceGroupName)

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

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

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

abstract ManagedGrafanaInner update(String resourceGroupName, String workspaceName, ManagedGrafanaUpdateParameters requestBodyParameters)

Update a workspace for Grafana resource.

abstract ManagedGrafanaInner update(String resourceGroupName, String workspaceName, ManagedGrafanaUpdateParameters requestBodyParameters, Context context)

Update a workspace for Grafana resource.

Method Details

beginCreate

public abstract SyncPoller<PollResult<ManagedGrafanaInner>,ManagedGrafanaInner> beginCreate(String resourceGroupName, String workspaceName, ManagedGrafanaInner requestBodyParameters)

Create or update a workspace for Grafana resource. This API is idempotent, so user can either create a new grafana or update an existing grafana.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of the grafana resource type.

beginCreate

public abstract SyncPoller<PollResult<ManagedGrafanaInner>,ManagedGrafanaInner> beginCreate(String resourceGroupName, String workspaceName, ManagedGrafanaInner requestBodyParameters, Context context)

Create or update a workspace for Grafana resource. This API is idempotent, so user can either create a new grafana or update an existing grafana.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The workspace name of Azure Managed Grafana.
requestBodyParameters - The requestBodyParameters parameter.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the grafana resource type.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<ManagedGrafanaInner>,ManagedGrafanaInner> beginUpdate(String resourceGroupName, String workspaceName, ManagedGrafanaUpdateParameters requestBodyParameters)

Update 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.
requestBodyParameters - The requestBodyParameters parameter.

Returns:

the SyncPoller<T,U> for polling of the grafana resource type.

beginUpdate

public abstract SyncPoller<PollResult<ManagedGrafanaInner>,ManagedGrafanaInner> beginUpdate(String resourceGroupName, String workspaceName, ManagedGrafanaUpdateParameters requestBodyParameters, Context context)

Update 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.
requestBodyParameters - The requestBodyParameters parameter.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the grafana resource type.

checkEnterpriseDetails

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

create

public abstract ManagedGrafanaInner create(String resourceGroupName, String workspaceName, ManagedGrafanaInner requestBodyParameters)

Create or update a workspace for Grafana resource. This API is idempotent, so user can either create a new grafana or update an existing grafana.

Parameters:

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

Returns:

the grafana resource type.

create

public abstract ManagedGrafanaInner create(String resourceGroupName, String workspaceName, ManagedGrafanaInner requestBodyParameters, Context context)

Create or update a workspace for Grafana resource. This API is idempotent, so user can either create a new grafana or update an existing grafana.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The workspace name of Azure Managed Grafana.
requestBodyParameters - The requestBodyParameters parameter.
context - The context to associate with this operation.

Returns:

the grafana resource type.

delete

public abstract void delete(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.

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.

fetchAvailablePlugins

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

getByResourceGroup

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

update

public abstract ManagedGrafanaInner update(String resourceGroupName, String workspaceName, ManagedGrafanaUpdateParameters requestBodyParameters)

Update 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.
requestBodyParameters - The requestBodyParameters parameter.

Returns:

the grafana resource type.

update

public abstract ManagedGrafanaInner update(String resourceGroupName, String workspaceName, ManagedGrafanaUpdateParameters requestBodyParameters, Context context)

Update 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.
requestBodyParameters - The requestBodyParameters parameter.
context - The context to associate with this operation.

Returns:

the grafana resource type.

Applies to