MockableSecurityInsightsArmClient.GetWorkspaceManagerAssignmentJob Method

Definition

Gets a job.

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

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

jobName
String

The job name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

jobName is null.

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

Applies to