SharedKeysOperationsClient Interface

public interface SharedKeysOperationsClient

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

Method Summary

Modifier and Type Method and Description
abstract SharedKeysInner getSharedKeys(String resourceGroupName, String workspaceName)

Gets the shared keys for a workspace.

abstract Response<SharedKeysInner> getSharedKeysWithResponse(String resourceGroupName, String workspaceName, Context context)

Gets the shared keys for a workspace.

abstract SharedKeysInner regenerate(String resourceGroupName, String workspaceName)

Regenerates the shared keys for a Log Analytics Workspace.

abstract Response<SharedKeysInner> regenerateWithResponse(String resourceGroupName, String workspaceName, Context context)

Regenerates the shared keys for a Log Analytics Workspace.

Method Details

getSharedKeys

public abstract SharedKeysInner getSharedKeys(String resourceGroupName, String workspaceName)

Gets the shared keys for a workspace.

Parameters:

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

Returns:

the shared keys for a workspace.

getSharedKeysWithResponse

public abstract Response getSharedKeysWithResponse(String resourceGroupName, String workspaceName, Context context)

Gets the shared keys for a workspace.

Parameters:

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

Returns:

the shared keys for a workspace along with Response<T>.

regenerate

public abstract SharedKeysInner regenerate(String resourceGroupName, String workspaceName)

Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace.

Parameters:

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

Returns:

the shared keys for a workspace.

regenerateWithResponse

public abstract Response regenerateWithResponse(String resourceGroupName, String workspaceName, Context context)

Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace.

Parameters:

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

Returns:

the shared keys for a workspace along with Response<T>.

Applies to

Azure SDK for Java

Preview