Skip to main content

virtual_networks_ddos_protection_status

Creates, updates, deletes, gets or lists a virtual_networks_ddos_protection_status resource.

Overview

Namevirtual_networks_ddos_protection_status
TypeResource
Idazure.network.virtual_networks_ddos_protection_status

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the Ddos Protection Status of all IP Addresses under this Virtual Network.

NameDatatypeDescription
ddosProtectionPlanIdstring DDoS protection plan Resource Id of a if IP address is protected through a plan.
isWorkloadProtectedstringValue indicating whether the IP address is DDoS workload protected or not.
publicIpAddressstringIP Address of the Public IP Resource
publicIpAddressIdstringPublic IP ARM resource ID

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, virtualNetworkName, subscriptionIdtop, skipTokenGets the Ddos Protection Status of all IP Addresses under the Virtual Network

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
virtualNetworkNamestringThe name of the virtual network.
skipTokenstringThe skipToken that is given with nextLink.
topinteger (int32)The max number of ip addresses to return.

SELECT examples

Gets the Ddos Protection Status of all IP Addresses under the Virtual Network

SELECT
ddosProtectionPlanId,
isWorkloadProtected,
publicIpAddress,
publicIpAddressId
FROM azure.network.virtual_networks_ddos_protection_status
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND virtualNetworkName = '{{ virtualNetworkName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND top = '{{ top }}'
AND skipToken = '{{ skipToken }}'
;