MockableNetworkSubscriptionResource.GetAvailableWafRuleSetsAsync 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.
Lists all available web application firewall rule sets.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets.
- Operation Id. : ApplicationGatewaysOperationGroup_ListAvailableWafRuleSets.
- Default Api Version. : 2025-07-01.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ApplicationGatewayAvailableWafRuleSetsResult>> GetAvailableWafRuleSetsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableWafRuleSetsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ApplicationGatewayAvailableWafRuleSetsResult>>
override this.GetAvailableWafRuleSetsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ApplicationGatewayAvailableWafRuleSetsResult>>
Public Overridable Function GetAvailableWafRuleSetsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationGatewayAvailableWafRuleSetsResult))
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.