virtual_networks_ddos_protection_status
Creates, updates, deletes, gets or lists a virtual_networks_ddos_protection_status
resource.
Overview
Name | virtual_networks_ddos_protection_status |
Type | Resource |
Id | azure.network.virtual_networks_ddos_protection_status |
Fields
The following fields are returned by SELECT
queries:
- list
Request successful. The operation returns the Ddos Protection Status of all IP Addresses under this Virtual Network.
Name | Datatype | Description |
---|---|---|
ddosProtectionPlanId | string | DDoS protection plan Resource Id of a if IP address is protected through a plan. |
isWorkloadProtected | string | Value indicating whether the IP address is DDoS workload protected or not. |
publicIpAddress | string | IP Address of the Public IP Resource |
publicIpAddressId | string | Public IP ARM resource ID |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , virtualNetworkName , subscriptionId | top , skipToken | Gets 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
virtualNetworkName | string | The name of the virtual network. |
skipToken | string | The skipToken that is given with nextLink. |
top | integer (int32) | The max number of ip addresses to return. |
SELECT
examples
- list
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 }}'
;