Dela via


SharedKeysOperationsExtensions.GetSharedKeysAsync Method

Definition

Gets the shared keys for a workspace.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.SharedKeys> GetSharedKeysAsync (this Microsoft.Azure.Management.OperationalInsights.ISharedKeysOperations operations, string resourceGroupName, string workspaceName, System.Threading.CancellationToken cancellationToken = default);
static member GetSharedKeysAsync : Microsoft.Azure.Management.OperationalInsights.ISharedKeysOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.SharedKeys>
<Extension()>
Public Function GetSharedKeysAsync (operations As ISharedKeysOperations, resourceGroupName As String, workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharedKeys)

Parameters

operations
ISharedKeysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to