共用方式為


PublicIPAddressResource.DdosProtectionStatus Method

Definition

Gets the Ddos Protection Status of a Public IP Address

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus
  • Operation Id: PublicIPAddresses_DdosProtectionStatus
  • Default Api Version: 2024-03-01
  • Resource: PublicIPAddressResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.PublicIPDdosProtectionStatusResult> DdosProtectionStatus (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member DdosProtectionStatus : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.PublicIPDdosProtectionStatusResult>
override this.DdosProtectionStatus : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.PublicIPDdosProtectionStatusResult>
Public Overridable Function DdosProtectionStatus (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of PublicIPDdosProtectionStatusResult)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to