From c782aa54c5e3947dac55bf5b3e4102e5f3204bc4 Mon Sep 17 00:00:00 2001 From: Jian Hui Date: Thu, 21 May 2026 10:44:49 +0800 Subject: [PATCH] update api version to 2025-07-01 --- .../network/ddos-custom-policy/_create.md | 11 + .../network/ddos-custom-policy/_delete.md | 11 + Commands/network/ddos-custom-policy/_list.md | 9 + Commands/network/ddos-custom-policy/_show.md | 11 + .../network/ddos-custom-policy/_update.md | 11 + Commands/network/ddos-custom-policy/readme.md | 3 + .../2025-07-01.json | 1 + .../2025-07-01.xml | 120 ++++ .../2025-07-01.json | 1 + .../2025-07-01.xml | 624 ++++++++++++++++++ 10 files changed, 802 insertions(+) create mode 100644 Commands/network/ddos-custom-policy/_list.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml diff --git a/Commands/network/ddos-custom-policy/_create.md b/Commands/network/ddos-custom-policy/_create.md index 573248bd5..f51d62d29 100644 --- a/Commands/network/ddos-custom-policy/_create.md +++ b/Commands/network/ddos-custom-policy/_create.md @@ -14,3 +14,14 @@ Create a 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}}]" ``` + +### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml) **Stable** + + + +#### 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}}]" + ``` diff --git a/Commands/network/ddos-custom-policy/_delete.md b/Commands/network/ddos-custom-policy/_delete.md index 2f992cf84..9de504ca4 100644 --- a/Commands/network/ddos-custom-policy/_delete.md +++ b/Commands/network/ddos-custom-policy/_delete.md @@ -14,3 +14,14 @@ Delete the specified DDoS custom policy. ```bash network ddos-custom-policy delete --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy ``` + +### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml) **Stable** + + + +#### examples + +- Delete DDoS custom policy + ```bash + network ddos-custom-policy delete --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy + ``` diff --git a/Commands/network/ddos-custom-policy/_list.md b/Commands/network/ddos-custom-policy/_list.md new file mode 100644 index 000000000..ec1267af0 --- /dev/null +++ b/Commands/network/ddos-custom-policy/_list.md @@ -0,0 +1,9 @@ +# [Command] _network ddos-custom-policy list_ + +List all the DDoS custom policies in a resource group. + +## Versions + +### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.xml) **Stable** + + diff --git a/Commands/network/ddos-custom-policy/_show.md b/Commands/network/ddos-custom-policy/_show.md index 3051fe445..9c234d614 100644 --- a/Commands/network/ddos-custom-policy/_show.md +++ b/Commands/network/ddos-custom-policy/_show.md @@ -14,3 +14,14 @@ Get information about the specified DDoS custom policy. ```bash network ddos-custom-policy show --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy ``` + +### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml) **Stable** + + + +#### examples + +- Get DDoS custom policy + ```bash + network ddos-custom-policy show --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy + ``` diff --git a/Commands/network/ddos-custom-policy/_update.md b/Commands/network/ddos-custom-policy/_update.md index 667ac0080..26694a423 100644 --- a/Commands/network/ddos-custom-policy/_update.md +++ b/Commands/network/ddos-custom-policy/_update.md @@ -14,3 +14,14 @@ Update a 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}}]" ``` + +### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml) **Stable** + + + +#### 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}}]" + ``` diff --git a/Commands/network/ddos-custom-policy/readme.md b/Commands/network/ddos-custom-policy/readme.md index f8888b096..85e856755 100644 --- a/Commands/network/ddos-custom-policy/readme.md +++ b/Commands/network/ddos-custom-policy/readme.md @@ -10,6 +10,9 @@ Manage Ddos Custom Policy - [delete](/Commands/network/ddos-custom-policy/_delete.md) : Delete the specified DDoS custom policy. +- [list](/Commands/network/ddos-custom-policy/_list.md) +: List all the DDoS custom policies in a resource group. + - [show](/Commands/network/ddos-custom-policy/_show.md) : Get information about the specified DDoS custom policy. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.json new file mode 100644 index 000000000..63a02a673 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zQ3VzdG9tUG9saWNpZXM=/V/MjAyNS0wNy0wMQ=="}], "commandGroups": [{"name": "network ddos-custom-policy", "commands": [{"name": "list", "version": "2025-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zQ3VzdG9tUG9saWNpZXM=/V/MjAyNS0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"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": [{"operationId": "DdosCustomPolicies_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ddosCustomPolicies/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "detectionRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "detectionMode", "enum": {"items": [{"value": "TrafficThreshold"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "trafficDetectionRule", "props": [{"type": "integer32", "name": "packetsPerSecond"}, {"type": "string", "name": "trafficType", "enum": {"items": [{"value": "Tcp"}, {"value": "TcpSyn"}, {"value": "Udp"}]}}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "array", "name": "frontEndIpConfiguration", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@CommonSubResource_read>", "name": "publicIPAddresses", "item": {"type": "@CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.xml new file mode 100644 index 000000000..c026af923 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.xml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.json new file mode 100644 index 000000000..c2c34fa64 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{}", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zQ3VzdG9tUG9saWNpZXMve2Rkb3NDdXN0b21Qb2xpY3lOYW1lfQ==/V/MjAyNS0wNy0wMQ=="}], "commandGroups": [{"name": "network ddos-custom-policy", "commands": [{"name": "show", "version": "2025-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{}", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zQ3VzdG9tUG9saWNpZXMve2Rkb3NDdXN0b21Qb2xpY3lOYW1lfQ==/V/MjAyNS0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.ddosCustomPolicyName", "options": ["n", "name", "ddos-custom-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the DDoS custom policy."}}, {"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": [{"operationId": "DdosCustomPolicies_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "ddosCustomPolicyName", "arg": "$Path.ddosCustomPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ddosCustomPolicies/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "detectionRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "detectionMode", "enum": {"items": [{"value": "TrafficThreshold"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "trafficDetectionRule", "props": [{"type": "integer32", "name": "packetsPerSecond"}, {"type": "string", "name": "trafficType", "enum": {"items": [{"value": "Tcp"}, {"value": "TcpSyn"}, {"value": "Udp"}]}}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "array", "name": "frontEndIpConfiguration", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@CommonSubResource_read>", "name": "publicIPAddresses", "item": {"type": "@CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2025-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{}", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zQ3VzdG9tUG9saWNpZXMve2Rkb3NDdXN0b21Qb2xpY3lOYW1lfQ==/V/MjAyNS0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.ddosCustomPolicyName", "options": ["n", "name", "ddos-custom-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the DDoS custom policy."}}, {"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": "DdosCustomPolicies_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "ddosCustomPolicyName", "arg": "$Path.ddosCustomPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2025-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{}", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zQ3VzdG9tUG9saWNpZXMve2Rkb3NDdXN0b21Qb2xpY3lOYW1lfQ==/V/MjAyNS0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.ddosCustomPolicyName", "options": ["n", "name", "ddos-custom-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the DDoS custom policy."}}, {"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"}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ddosCustomPolicies/{}"}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.detectionRules", "options": ["detection-rules"], "group": "Properties", "help": {"short": "The list of DDoS detection rules associated with the custom policy."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.detectionRules[].name", "options": ["name"], "help": {"short": "The name of the DDoS detection rule."}}, {"type": "string", "var": "$parameters.properties.detectionRules[].properties.detectionMode", "options": ["detection-mode"], "group": "Properties", "help": {"short": "The detection mode for the DDoS detection rule."}, "enum": {"items": [{"name": "TrafficThreshold", "value": "TrafficThreshold"}]}}, {"type": "object", "var": "$parameters.properties.detectionRules[].properties.trafficDetectionRule", "options": ["traffic-detection-rule"], "group": "Properties", "help": {"short": "The traffic detection rule details."}, "args": [{"type": "integer32", "var": "$parameters.properties.detectionRules[].properties.trafficDetectionRule.packetsPerSecond", "options": ["packets-per-second"], "help": {"short": "The customized packets per second threshold."}}, {"type": "string", "var": "$parameters.properties.detectionRules[].properties.trafficDetectionRule.trafficType", "options": ["traffic-type"], "help": {"short": "The traffic type (one of Tcp, Udp, TcpSyn) that the detection rule will be applied upon."}, "enum": {"items": [{"name": "Tcp", "value": "Tcp"}, {"name": "TcpSyn", "value": "TcpSyn"}, {"name": "Udp", "value": "Udp"}]}}]}]}}, {"type": "array", "var": "$parameters.properties.frontEndIpConfiguration", "options": ["fip-config", "front-end-ip-configuration"], "group": "Properties", "help": {"short": "The list of frontend IP configurations associated with the custom policy."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.frontEndIpConfiguration[].id", "options": ["id"], "help": {"short": "Resource ID."}}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DdosCustomPolicies_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "ddosCustomPolicyName", "arg": "$Path.ddosCustomPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ddosCustomPolicies/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "detectionRules", "arg": "$parameters.properties.detectionRules", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.detectionRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "detectionMode", "arg": "$parameters.properties.detectionRules[].properties.detectionMode", "enum": {"items": [{"value": "TrafficThreshold"}]}}, {"type": "object", "name": "trafficDetectionRule", "arg": "$parameters.properties.detectionRules[].properties.trafficDetectionRule", "props": [{"type": "integer32", "name": "packetsPerSecond", "arg": "$parameters.properties.detectionRules[].properties.trafficDetectionRule.packetsPerSecond"}, {"type": "string", "name": "trafficType", "arg": "$parameters.properties.detectionRules[].properties.trafficDetectionRule.trafficType", "enum": {"items": [{"value": "Tcp"}, {"value": "TcpSyn"}, {"value": "Udp"}]}}]}], "clientFlatten": true}]}}, {"type": "array", "name": "frontEndIpConfiguration", "arg": "$parameters.properties.frontEndIpConfiguration", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.frontEndIpConfiguration[].id"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ddosCustomPolicies/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "detectionRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "detectionMode", "enum": {"items": [{"value": "TrafficThreshold"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "trafficDetectionRule", "props": [{"type": "integer32", "name": "packetsPerSecond"}, {"type": "string", "name": "trafficType", "enum": {"items": [{"value": "Tcp"}, {"value": "TcpSyn"}, {"value": "Udp"}]}}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "array", "name": "frontEndIpConfiguration", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@CommonSubResource_read>", "name": "publicIPAddresses", "item": {"type": "@CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2025-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{}", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zQ3VzdG9tUG9saWNpZXMve2Rkb3NDdXN0b21Qb2xpY3lOYW1lfQ==/V/MjAyNS0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.ddosCustomPolicyName", "options": ["n", "name", "ddos-custom-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the DDoS custom policy."}}, {"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"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ddosCustomPolicies/{}"}}, {"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.detectionRules", "options": ["detection-rules"], "group": "Properties", "help": {"short": "The list of DDoS detection rules associated with the custom policy."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.detectionRules[].name", "options": ["name"], "help": {"short": "The name of the DDoS detection rule."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.detectionRules[].properties.detectionMode", "options": ["detection-mode"], "group": "Properties", "help": {"short": "The detection mode for the DDoS detection rule."}, "enum": {"items": [{"name": "TrafficThreshold", "value": "TrafficThreshold"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.detectionRules[].properties.trafficDetectionRule", "options": ["traffic-detection-rule"], "group": "Properties", "help": {"short": "The traffic detection rule details."}, "args": [{"nullable": true, "type": "integer32", "var": "$parameters.properties.detectionRules[].properties.trafficDetectionRule.packetsPerSecond", "options": ["packets-per-second"], "help": {"short": "The customized packets per second threshold."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.detectionRules[].properties.trafficDetectionRule.trafficType", "options": ["traffic-type"], "help": {"short": "The traffic type (one of Tcp, Udp, TcpSyn) that the detection rule will be applied upon."}, "enum": {"items": [{"name": "Tcp", "value": "Tcp"}, {"name": "TcpSyn", "value": "TcpSyn"}, {"name": "Udp", "value": "Udp"}]}}]}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.frontEndIpConfiguration", "options": ["fip-config", "front-end-ip-configuration"], "group": "Properties", "help": {"short": "The list of frontend IP configurations associated with the custom policy."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.frontEndIpConfiguration[].id", "options": ["id"], "help": {"short": "Resource ID."}}]}}]}], "operations": [{"operationId": "DdosCustomPolicies_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "ddosCustomPolicyName", "arg": "$Path.ddosCustomPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ddosCustomPolicies/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "detectionRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "detectionMode", "enum": {"items": [{"value": "TrafficThreshold"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "trafficDetectionRule", "props": [{"type": "integer32", "name": "packetsPerSecond"}, {"type": "string", "name": "trafficType", "enum": {"items": [{"value": "Tcp"}, {"value": "TcpSyn"}, {"value": "Udp"}]}}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "array", "name": "frontEndIpConfiguration", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@CommonSubResource_read>", "name": "publicIPAddresses", "item": {"type": "@CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DdosCustomPolicy_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ddosCustomPolicies/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "detectionRules", "arg": "$parameters.properties.detectionRules", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.detectionRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "detectionMode", "arg": "$parameters.properties.detectionRules[].properties.detectionMode", "enum": {"items": [{"value": "TrafficThreshold"}]}}, {"type": "object", "name": "trafficDetectionRule", "arg": "$parameters.properties.detectionRules[].properties.trafficDetectionRule", "props": [{"type": "integer32", "name": "packetsPerSecond", "arg": "$parameters.properties.detectionRules[].properties.trafficDetectionRule.packetsPerSecond"}, {"type": "string", "name": "trafficType", "arg": "$parameters.properties.detectionRules[].properties.trafficDetectionRule.trafficType", "enum": {"items": [{"value": "Tcp"}, {"value": "TcpSyn"}, {"value": "Udp"}]}}]}], "clientFlatten": true}]}}, {"type": "array", "name": "frontEndIpConfiguration", "arg": "$parameters.properties.frontEndIpConfiguration", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.frontEndIpConfiguration[].id"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DdosCustomPolicies_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "ddosCustomPolicyName", "arg": "$Path.ddosCustomPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DdosCustomPolicy_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml new file mode 100644 index 000000000..8532db975 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml @@ -0,0 +1,624 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+