WebApplicationFirewallPoliciesOperations.Get(String, String, CancellationToken) Method

Definition

Retrieve protection policy with specified name within a resource group.

public virtual Azure.Response<Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicy> Get (string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicy>
override this.Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicy>
Public Overridable Function Get (resourceGroupName As String, policyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of WebApplicationFirewallPolicy)

Parameters

resourceGroupName
System.String

The name of the resource group.

policyName
System.String

The name of the policy.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response<WebApplicationFirewallPolicy>

Applies to