SharedKeysOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
LogAnalyticsManagementClient's
<xref:shared_keys> attribute.
Constructor
SharedKeysOperations(*args, **kwargs)
Methods
| get_shared_keys |
Gets the shared keys for a workspace. |
| regenerate |
Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace. |
get_shared_keys
Gets the shared keys for a workspace.
get_shared_keys(resource_group_name: str, workspace_name: str, **kwargs: Any) -> SharedKeys
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
workspace_name
Required
|
The name of the workspace. Required. |
Returns
| Type | Description |
|---|---|
|
SharedKeys. The SharedKeys is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
regenerate
Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace.
regenerate(resource_group_name: str, workspace_name: str, **kwargs: Any) -> SharedKeys
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
workspace_name
Required
|
The name of the workspace. Required. |
Returns
| Type | Description |
|---|---|
|
SharedKeys. The SharedKeys is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|