Lingua

NeuroShieldProtectedResource.GetNeuroShieldMitigationAsync Method

Definition

Gets a mitigation under a protected resource.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkSecurity.NeuroShieldMitigationResource>> GetNeuroShieldMitigationAsync(string mitigationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNeuroShieldMitigationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkSecurity.NeuroShieldMitigationResource>>
override this.GetNeuroShieldMitigationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkSecurity.NeuroShieldMitigationResource>>
Public Overridable Function GetNeuroShieldMitigationAsync (mitigationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NeuroShieldMitigationResource))

Parameters

mitigationId
String

The system-generated identifier of the mitigation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

mitigationId is null.

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

Applies to