MockableSecurityInsightsArmClient.GetWorkspaceManagerConfigurationAsync Method

Definition

Gets a workspace manager configuration.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.WorkspaceManagerConfigurationResource>> GetWorkspaceManagerConfigurationAsync(Azure.Core.ResourceIdentifier scope, string workspaceManagerConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkspaceManagerConfigurationAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.WorkspaceManagerConfigurationResource>>
override this.GetWorkspaceManagerConfigurationAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.WorkspaceManagerConfigurationResource>>
Public Overridable Function GetWorkspaceManagerConfigurationAsync (scope As ResourceIdentifier, workspaceManagerConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WorkspaceManagerConfigurationResource))

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

workspaceManagerConfigurationName
String

The name of the workspace manager configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

workspaceManagerConfigurationName is null.

workspaceManagerConfigurationName is an empty string, and was expected to be non-empty.

Applies to