NetworkSecurityExtensions.GetNeuroShieldAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.