Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Commands/network/ddos-custom-policy/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network ddos-custom-policy create_

Create a DDoS custom policy.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{} 2025-03-01 -->

#### examples

- Create DDoS custom policy
```bash
network ddos-custom-policy create --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy --location centraluseuap --detection-rules "[{name:detectionRuleTcp,detection-mode:TrafficThreshold,traffic-detection-rule:{traffic-type:Tcp,packets-per-second:1000000}}]"
```
16 changes: 16 additions & 0 deletions Commands/network/ddos-custom-policy/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network ddos-custom-policy delete_

Delete the specified DDoS custom policy.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{} 2025-03-01 -->

#### examples

- Delete DDoS custom policy
```bash
network ddos-custom-policy delete --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy
```
16 changes: 16 additions & 0 deletions Commands/network/ddos-custom-policy/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network ddos-custom-policy show_

Get information about the specified DDoS custom policy.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{} 2025-03-01 -->

#### examples

- Get DDoS custom policy
```bash
network ddos-custom-policy show --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy
```
16 changes: 16 additions & 0 deletions Commands/network/ddos-custom-policy/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network ddos-custom-policy update_

Update a DDoS custom policy.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{} 2025-03-01 -->

#### examples

- Create DDoS custom policy
```bash
network ddos-custom-policy update --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy --location centraluseuap --detection-rules "[{name:detectionRuleTcp,detection-mode:TrafficThreshold,traffic-detection-rule:{traffic-type:Tcp,packets-per-second:1000000}}]"
```
17 changes: 17 additions & 0 deletions Commands/network/ddos-custom-policy/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Group] _network ddos-custom-policy_

Manage Ddos Custom Policy

## Commands

- [create](/Commands/network/ddos-custom-policy/_create.md)
: Create a DDoS custom policy.

- [delete](/Commands/network/ddos-custom-policy/_delete.md)
: Delete the specified DDoS custom policy.

- [show](/Commands/network/ddos-custom-policy/_show.md)
: Get information about the specified DDoS custom policy.

- [update](/Commands/network/ddos-custom-policy/_update.md)
: Update a DDoS custom policy.
3 changes: 3 additions & 0 deletions Commands/network/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ Manage Azure Network resources.
- [custom-ip](/Commands/network/custom-ip/readme.md)
: Manage custom IP.

- [ddos-custom-policy](/Commands/network/ddos-custom-policy/readme.md)
: Manage Ddos Custom Policy

- [ddos-protection](/Commands/network/ddos-protection/readme.md)
: Manage DDoS Protection Plans.

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.