Język

NetworkSecurityExtensions.GetNeuroShieldAsync Method

Definition

Gets a NeuroShield resource. <item> Mocking. To mock this method, please mock GetNeuroShieldAsync(String, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkSecurity.NeuroShieldResource>> GetNeuroShieldAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string neuroShieldName, System.Threading.CancellationToken cancellationToken = default);
static member GetNeuroShieldAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkSecurity.NeuroShieldResource>>
<Extension()>
Public Function GetNeuroShieldAsync (resourceGroupResource As ResourceGroupResource, neuroShieldName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NeuroShieldResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

neuroShieldName
String

The name of the NeuroShield resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource is null.

Applies to