Udostępnij za pośrednictwem


PublicIPAddressesOperationsExtensions.DdosProtectionStatusAsync Method

Definition

Gets the Ddos Protection Status of a Public IP Address

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.PublicIpDdosProtectionStatusResult> DdosProtectionStatusAsync (this Microsoft.Azure.Management.Network.IPublicIPAddressesOperations operations, string resourceGroupName, string publicIpAddressName, System.Threading.CancellationToken cancellationToken = default);
static member DdosProtectionStatusAsync : Microsoft.Azure.Management.Network.IPublicIPAddressesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.PublicIpDdosProtectionStatusResult>
<Extension()>
Public Function DdosProtectionStatusAsync (operations As IPublicIPAddressesOperations, resourceGroupName As String, publicIpAddressName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PublicIpDdosProtectionStatusResult)

Parameters

operations
IPublicIPAddressesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

publicIpAddressName
String

The name of the public IP address.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to