共用方式為


OperationalInsightsWorkspaceResource.GetSharedKeys(CancellationToken) Method

Definition

Gets the shared keys for a workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/sharedKeys
  • Operation Id: SharedKeys_GetSharedKeys
  • Default Api Version: 2020-08-01
public virtual Azure.Response<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceSharedKeys> GetSharedKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSharedKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceSharedKeys>
override this.GetSharedKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceSharedKeys>
Public Overridable Function GetSharedKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of OperationalInsightsWorkspaceSharedKeys)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to