Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Network} az network public-ip ddos-protection-statu: Deprecation pre-announcement #585

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
11 changes: 0 additions & 11 deletions Commands/network/public-ip/ddos-protection-statu/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,3 @@ Get the Ddos Protection Status of a Public IP Address
```bash
network public-ip show-ddos-protection-statu -n MyPublicIp -g MyResourceGroup
```

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9L2Rkb3Nwcm90ZWN0aW9uc3RhdHVz/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus 2023-09-01 -->

#### examples

- Gets the Ddos Protection Status of a Public IP Address
```bash
network public-ip show-ddos-protection-statu -n MyPublicIp -g MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/network/public-ip/ddos-protection/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network public-ip ddos-protection show_

Get the DDoS protection status of a public IP address.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9L2Rkb3Nwcm90ZWN0aW9uc3RhdHVz/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus 2023-09-01 -->

#### examples

- Get the DDoS protection status of a public IP address.
```bash
network public-ip ddos-protection show -n MyPublicIp -g MyResourceGroup
```
8 changes: 8 additions & 0 deletions Commands/network/public-ip/ddos-protection/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _network public-ip ddos-protection_

Manage public IP DDoS protection.

## Commands

- [show](/Commands/network/public-ip/ddos-protection/_show.md)
: Get the DDoS protection status of a public IP address.
3 changes: 3 additions & 0 deletions Commands/network/public-ip/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ To learn more about public IP addresses visit https://docs.microsoft.com/azure/v

## Subgroups

- [ddos-protection](/Commands/network/public-ip/ddos-protection/readme.md)
: Manage public IP DDoS protection.

- [ddos-protection-statu](/Commands/network/public-ip/ddos-protection-statu/readme.md)
: Manage public IP ddos protection statu.

Expand Down
45 changes: 35 additions & 10 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -121329,37 +121329,62 @@
},
"public-ip": {
"commandGroups": {
"ddos-protection-statu": {
"ddos-protection": {
"commands": {
"show": {
"help": {
"short": "Get the Ddos Protection Status of a Public IP Address"
"short": "Get the DDoS protection status of a public IP address."
},
"names": [
"network",
"public-ip",
"ddos-protection-statu",
"ddos-protection",
"show"
],
"versions": [
{
"examples": [
{
"commands": [
"network public-ip show-ddos-protection-statu -n MyPublicIp -g MyResourceGroup"
"network public-ip ddos-protection show -n MyPublicIp -g MyResourceGroup"
],
"name": "Gets the Ddos Protection Status of a Public IP Address"
"name": "Get the DDoS protection status of a public IP address."
}
],
"name": "2023-06-01",
"name": "2023-09-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus",
"plane": "mgmt-plane",
"version": "2023-06-01"
"version": "2023-09-01"
}
]
},
}
]
}
},
"help": {
"short": "Manage public IP DDoS protection."
},
"names": [
"network",
"public-ip",
"ddos-protection"
]
},
"ddos-protection-statu": {
"commands": {
"show": {
"help": {
"short": "Get the Ddos Protection Status of a Public IP Address"
},
"names": [
"network",
"public-ip",
"ddos-protection-statu",
"show"
],
"versions": [
{
"examples": [
{
Expand All @@ -121369,12 +121394,12 @@
"name": "Gets the Ddos Protection Status of a Public IP Address"
}
],
"name": "2023-09-01",
"name": "2023-06-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus",
"plane": "mgmt-plane",
"version": "2023-09-01"
"version": "2023-06-01"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus", "version": "2023-09-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9wdWJsaWNJUEFkZHJlc3Nlcy97cHVibGljSXBBZGRyZXNzTmFtZX0vZGRvc1Byb3RlY3Rpb25TdGF0dXM=/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "network public-ip ddos-protection-statu", "commands": [{"name": "show", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus", "version": "2023-09-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9wdWJsaWNJUEFkZHJlc3Nlcy97cHVibGljSXBBZGRyZXNzTmFtZX0vZGRvc1Byb3RlY3Rpb25TdGF0dXM=/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.publicIpAddressName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the public IP address."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "PublicIPAddresses_DdosProtectionStatus", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "publicIpAddressName", "arg": "$Path.publicIpAddressName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "ddosProtectionPlanId"}, {"type": "string", "name": "isWorkloadProtected", "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus", "version": "2023-09-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9wdWJsaWNJUEFkZHJlc3Nlcy97cHVibGljSXBBZGRyZXNzTmFtZX0vZGRvc1Byb3RlY3Rpb25TdGF0dXM=/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "network public-ip ddos-protection", "commands": [{"name": "show", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus", "version": "2023-09-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9wdWJsaWNJUEFkZHJlc3Nlcy97cHVibGljSXBBZGRyZXNzTmFtZX0vZGRvc1Byb3RlY3Rpb25TdGF0dXM=/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.publicIpAddressName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the public IP address."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "PublicIPAddresses_DdosProtectionStatus", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "publicIpAddressName", "arg": "$Path.publicIpAddressName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "ddosProtectionPlanId"}, {"type": "string", "name": "isWorkloadProtected", "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus" version="2023-09-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9wdWJsaWNJUEFkZHJlc3Nlcy97cHVibGljSXBBZGRyZXNzTmFtZX0vZGRvc1Byb3RlY3Rpb25TdGF0dXM=/V/MjAyMy0wOS0wMQ=="/>
<commandGroup name="network public-ip ddos-protection-statu">
<commandGroup name="network public-ip ddos-protection">
<command name="show" version="2023-09-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}/ddosprotectionstatus" version="2023-09-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9wdWJsaWNJUEFkZHJlc3Nlcy97cHVibGljSXBBZGRyZXNzTmFtZX0vZGRvc1Byb3RlY3Rpb25TdGF0dXM=/V/MjAyMy0wOS0wMQ=="/>
<argGroup name="">
Expand Down
Loading