語言

NetworkSecurityExtensions.GetNeuroShieldsAsync Method

Definition

Gets all NeuroShield resources in a subscription. <item> Mocking. To mock this method, please mock GetNeuroShieldsAsync(Nullable<Int32>, String, CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.NetworkSecurity.NeuroShieldResource> GetNeuroShieldsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, int? maxCount = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetNeuroShieldsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkSecurity.NeuroShieldResource>
<Extension()>
Public Function GetNeuroShieldsAsync (subscriptionResource As SubscriptionResource, Optional maxCount As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NeuroShieldResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

maxCount
Nullable<Int32>

The maximum number of items to return.

skipToken
String

The continuation token used to retrieve the next page.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NeuroShieldResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to