From 6ed83afe43af275584ef9812f891a951b83411e3 Mon Sep 17 00:00:00 2001 From: JingnanXu Date: Tue, 23 Jun 2026 07:27:01 +0800 Subject: [PATCH] Update AFD security policy to 2026-04-01-preview --- Commands/afd/security-policy/_create.md | 15 +- Commands/afd/security-policy/_delete.md | 18 + Commands/afd/security-policy/_list.md | 18 + Commands/afd/security-policy/_show.md | 18 + Commands/afd/security-policy/_update.md | 15 +- .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 139 ++++ .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 660 ++++++++++++++++++ 9 files changed, 881 insertions(+), 4 deletions(-) create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.xml diff --git a/Commands/afd/security-policy/_create.md b/Commands/afd/security-policy/_create.md index 924d5980c..b9f6a4a71 100644 --- a/Commands/afd/security-policy/_create.md +++ b/Commands/afd/security-policy/_create.md @@ -43,9 +43,9 @@ Create a new security policy within the specified profile. #### examples -- Creates a security policy to apply the specified WAF policy to an endpoint's default domain and a custom domain. +- SecurityPolicies_Create ```bash - afd security-policy create -g group --profile-name profile --security-policy-name sp1 --domains /subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1 /subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Cdn/profiles/profile1/customDomains/customDomain1 --waf-policy /subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf1 + afd security-policy create --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 ``` ### [2025-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2025-09-01-preview.xml) **Stable** @@ -58,3 +58,14 @@ Create a new security policy within the specified profile. ```bash afd security-policy create --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 ``` + +### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.xml) **Stable** + + + +#### examples + +- SecurityPolicies_Create + ```bash + afd security-policy create --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 + ``` diff --git a/Commands/afd/security-policy/_delete.md b/Commands/afd/security-policy/_delete.md index 523a6a54f..e12245eca 100644 --- a/Commands/afd/security-policy/_delete.md +++ b/Commands/afd/security-policy/_delete.md @@ -20,6 +20,13 @@ Delete an existing security policy within profile. +#### examples + +- SecurityPolicies_Delete + ```bash + afd security-policy delete --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 + ``` + ### [2025-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2025-09-01-preview.xml) **Stable** @@ -30,3 +37,14 @@ Delete an existing security policy within profile. ```bash afd security-policy delete --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 ``` + +### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.xml) **Stable** + + + +#### examples + +- SecurityPolicies_Delete + ```bash + afd security-policy delete --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 + ``` diff --git a/Commands/afd/security-policy/_list.md b/Commands/afd/security-policy/_list.md index 6fb3f4b8c..2e160a916 100644 --- a/Commands/afd/security-policy/_list.md +++ b/Commands/afd/security-policy/_list.md @@ -20,6 +20,13 @@ List security policies associated with the profile +#### examples + +- SecurityPolicies_ListByProfile + ```bash + afd security-policy list --resource-group RG --profile-name profile1 + ``` + ### [2025-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2025-09-01-preview.xml) **Stable** @@ -30,3 +37,14 @@ List security policies associated with the profile ```bash afd security-policy list --resource-group RG --profile-name profile1 ``` + +### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2026-04-01-preview.xml) **Stable** + + + +#### examples + +- SecurityPolicies_ListByProfile + ```bash + afd security-policy list --resource-group RG --profile-name profile1 + ``` diff --git a/Commands/afd/security-policy/_show.md b/Commands/afd/security-policy/_show.md index d06ed0874..502f0f546 100644 --- a/Commands/afd/security-policy/_show.md +++ b/Commands/afd/security-policy/_show.md @@ -20,6 +20,13 @@ Get an existing security policy within a profile. +#### examples + +- SecurityPolicies_Get + ```bash + afd security-policy show --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 + ``` + ### [2025-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2025-09-01-preview.xml) **Stable** @@ -30,3 +37,14 @@ Get an existing security policy within a profile. ```bash afd security-policy show --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 ``` + +### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.xml) **Stable** + + + +#### examples + +- SecurityPolicies_Get + ```bash + afd security-policy show --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 + ``` diff --git a/Commands/afd/security-policy/_update.md b/Commands/afd/security-policy/_update.md index 80534f9e8..5c35faed8 100644 --- a/Commands/afd/security-policy/_update.md +++ b/Commands/afd/security-policy/_update.md @@ -43,9 +43,9 @@ Update a new security policy within the specified profile. #### examples -- Update the specified security policy's domain list. +- SecurityPolicies_Create ```bash - afd security-policy update -g group --security-policy-name sp1 --profile-name profile --domains /subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Cdn/profiles/profile1/customDomains/customDomain1 + afd security-policy update --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 ``` ### [2025-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2025-09-01-preview.xml) **Stable** @@ -58,3 +58,14 @@ Update a new security policy within the specified profile. ```bash afd security-policy update --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 ``` + +### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.xml) **Stable** + + + +#### examples + +- SecurityPolicies_Create + ```bash + afd security-policy update --resource-group RG --profile-name profile1 --security-policy-name securityPolicy1 + ``` diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2026-04-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2026-04-01-preview.json new file mode 100644 index 000000000..27338d3e0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/securitypolicies", "version": "2026-04-01-preview", "swagger": "mgmt-plane/cdn/ResourceProviders/Microsoft.Cdn/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2RuL3Byb2ZpbGVzL3twcm9maWxlTmFtZX0vc2VjdXJpdHlQb2xpY2llcw==/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "afd security-policy", "commands": [{"name": "list", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/securitypolicies", "version": "2026-04-01-preview", "swagger": "mgmt-plane/cdn/ResourceProviders/Microsoft.Cdn/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2RuL3Byb2ZpbGVzL3twcm9maWxlTmFtZX0vc2VjdXJpdHlQb2xpY2llcw==/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.profileName", "options": ["profile-name"], "required": true, "idPart": "name", "help": {"short": "Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group."}, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"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": "SecurityPolicies_ListByProfile", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"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": "2026-04-01-preview"}, "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": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Cdn/profiles/{}/securityPolicies/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "deploymentStatus", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "NotStarted"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "parameters", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "WebApplicationFirewall"}]}}], "discriminators": [{"property": "type", "value": "WebApplicationFirewall", "props": [{"type": "array", "name": "associations", "item": {"type": "object", "props": [{"type": "array", "name": "domains", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "boolean", "name": "isActive"}]}}, {"type": "array", "name": "patternsToMatch", "item": {"type": "string"}}, {"type": "array<@ResourceReference_read>", "name": "routes", "item": {"type": "@ResourceReference_read"}}]}}, {"type": "boolean", "name": "isProfileLevel"}, {"type": "object", "name": "wafPolicy", "props": [{"type": "string", "name": "id"}], "cls": "ResourceReference_read"}]}]}, {"readOnly": true, "type": "string", "name": "profileName"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2026-04-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2026-04-01-preview.xml new file mode 100644 index 000000000..65568dd2a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcw==/2026-04-01-preview.xml @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.json new file mode 100644 index 000000000..bc75c3895 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/securitypolicies/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/cdn/ResourceProviders/Microsoft.Cdn/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2RuL3Byb2ZpbGVzL3twcm9maWxlTmFtZX0vc2VjdXJpdHlQb2xpY2llcy97c2VjdXJpdHlQb2xpY3lOYW1lfQ==/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "afd security-policy", "commands": [{"name": "show", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/securitypolicies/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/cdn/ResourceProviders/Microsoft.Cdn/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2RuL3Byb2ZpbGVzL3twcm9maWxlTmFtZX0vc2VjdXJpdHlQb2xpY2llcy97c2VjdXJpdHlQb2xpY3lOYW1lfQ==/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.profileName", "options": ["profile-name"], "required": true, "idPart": "name", "help": {"short": "Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group."}, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.securityPolicyName", "options": ["n", "name", "security-policy-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the security policy under the profile."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "SecurityPolicies_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "securityPolicyName", "arg": "$Path.securityPolicyName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Cdn/profiles/{}/securityPolicies/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "deploymentStatus", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "NotStarted"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "parameters", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "WebApplicationFirewall"}]}}], "discriminators": [{"property": "type", "value": "WebApplicationFirewall", "props": [{"type": "array", "name": "associations", "item": {"type": "object", "props": [{"type": "array", "name": "domains", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "boolean", "name": "isActive"}]}}, {"type": "array", "name": "patternsToMatch", "item": {"type": "string"}}, {"type": "array<@ResourceReference_read>", "name": "routes", "item": {"type": "@ResourceReference_read"}}]}}, {"type": "boolean", "name": "isProfileLevel"}, {"type": "object", "name": "wafPolicy", "props": [{"type": "string", "name": "id"}], "cls": "ResourceReference_read"}]}]}, {"readOnly": true, "type": "string", "name": "profileName"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/securitypolicies/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/cdn/ResourceProviders/Microsoft.Cdn/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2RuL3Byb2ZpbGVzL3twcm9maWxlTmFtZX0vc2VjdXJpdHlQb2xpY2llcy97c2VjdXJpdHlQb2xpY3lOYW1lfQ==/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.profileName", "options": ["profile-name"], "required": true, "idPart": "name", "help": {"short": "Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group."}, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.securityPolicyName", "options": ["n", "name", "security-policy-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the security policy under the profile."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "SecurityPolicies_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "securityPolicyName", "arg": "$Path.securityPolicyName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/securitypolicies/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/cdn/ResourceProviders/Microsoft.Cdn/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2RuL3Byb2ZpbGVzL3twcm9maWxlTmFtZX0vc2VjdXJpdHlQb2xpY2llcy97c2VjdXJpdHlQb2xpY3lOYW1lfQ==/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.profileName", "options": ["profile-name"], "required": true, "idPart": "name", "help": {"short": "Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group."}, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.securityPolicyName", "options": ["n", "name", "security-policy-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the security policy under the profile."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall", "options": ["web-application-firewall"], "group": "Parameters", "args": [{"type": "array", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations", "options": ["associations"], "group": "WebApplicationFirewall", "help": {"short": "Waf associations"}, "item": {"type": "object", "args": [{"type": "array", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].domains", "options": ["domains"], "help": {"short": "List of domains."}, "item": {"type": "object", "args": [{"type": "string", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].domains[].id", "options": ["id"], "help": {"short": "Resource ID."}}]}}, {"type": "array", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].patternsToMatch", "options": ["patterns-to-match"], "help": {"short": "List of paths"}, "item": {"type": "string"}}, {"type": "array<@ResourceReference_create>", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].routes", "options": ["routes"], "help": {"short": "List of routes."}, "item": {"type": "@ResourceReference_create"}}]}}, {"type": "boolean", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.isProfileLevel", "options": ["is-profile-level"], "help": {"short": "Indicates if this is a profile-level WAF policy."}}, {"type": "object", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.wafPolicy", "options": ["waf-policy"], "help": {"short": "Resource ID."}, "args": [{"type": "string", "var": "@ResourceReference_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "ResourceReference_create"}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "SecurityPolicies_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "securityPolicyName", "arg": "$Path.securityPolicyName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "securityPolicy", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "parameters", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$securityPolicy.properties.parameters.WebApplicationFirewall", "value": "WebApplicationFirewall"}]}}], "discriminators": [{"property": "type", "value": "WebApplicationFirewall", "props": [{"type": "array", "name": "associations", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations", "item": {"type": "object", "props": [{"type": "array", "name": "domains", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].domains", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].domains[].id"}]}}, {"type": "array", "name": "patternsToMatch", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].patternsToMatch", "item": {"type": "string"}}, {"type": "array<@ResourceReference_create>", "name": "routes", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].routes", "item": {"type": "@ResourceReference_create"}}]}}, {"type": "boolean", "name": "isProfileLevel", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.isProfileLevel"}, {"type": "object", "name": "wafPolicy", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.wafPolicy", "props": [{"type": "string", "name": "id", "arg": "@ResourceReference_create.id"}], "cls": "ResourceReference_create"}]}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Cdn/profiles/{}/securityPolicies/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "deploymentStatus", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "NotStarted"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "parameters", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "WebApplicationFirewall"}]}}], "discriminators": [{"property": "type", "value": "WebApplicationFirewall", "props": [{"type": "array", "name": "associations", "item": {"type": "object", "props": [{"type": "array", "name": "domains", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "boolean", "name": "isActive"}]}}, {"type": "array", "name": "patternsToMatch", "item": {"type": "string"}}, {"type": "array<@ResourceReference_read>", "name": "routes", "item": {"type": "@ResourceReference_read"}}]}}, {"type": "boolean", "name": "isProfileLevel"}, {"type": "object", "name": "wafPolicy", "props": [{"type": "string", "name": "id"}], "cls": "ResourceReference_read"}]}]}, {"readOnly": true, "type": "string", "name": "profileName"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SecurityPolicy_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@SecurityPolicy_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/securitypolicies/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/cdn/ResourceProviders/Microsoft.Cdn/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2RuL3Byb2ZpbGVzL3twcm9maWxlTmFtZX0vc2VjdXJpdHlQb2xpY2llcy97c2VjdXJpdHlQb2xpY3lOYW1lfQ==/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.profileName", "options": ["profile-name"], "required": true, "idPart": "name", "help": {"short": "Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group."}, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.securityPolicyName", "options": ["n", "name", "security-policy-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the security policy under the profile."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall", "options": ["web-application-firewall"], "group": "Parameters", "args": [{"nullable": true, "type": "array", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations", "options": ["associations"], "group": "WebApplicationFirewall", "help": {"short": "Waf associations"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].domains", "options": ["domains"], "help": {"short": "List of domains."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].domains[].id", "options": ["id"], "help": {"short": "Resource ID."}}]}}, {"nullable": true, "type": "array", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].patternsToMatch", "options": ["patterns-to-match"], "help": {"short": "List of paths"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array<@ResourceReference_update>", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].routes", "options": ["routes"], "help": {"short": "List of routes."}, "item": {"nullable": true, "type": "@ResourceReference_update"}}]}}, {"nullable": true, "type": "boolean", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.isProfileLevel", "options": ["is-profile-level"], "help": {"short": "Indicates if this is a profile-level WAF policy."}}, {"nullable": true, "type": "object", "var": "$securityPolicy.properties.parameters.WebApplicationFirewall.wafPolicy", "options": ["waf-policy"], "help": {"short": "Resource ID."}, "args": [{"nullable": true, "type": "string", "var": "@ResourceReference_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "ResourceReference_update"}]}]}], "operations": [{"operationId": "SecurityPolicies_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "securityPolicyName", "arg": "$Path.securityPolicyName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Cdn/profiles/{}/securityPolicies/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "deploymentStatus", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "NotStarted"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "parameters", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "WebApplicationFirewall"}]}}], "discriminators": [{"property": "type", "value": "WebApplicationFirewall", "props": [{"type": "array", "name": "associations", "item": {"type": "object", "props": [{"type": "array", "name": "domains", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "boolean", "name": "isActive"}]}}, {"type": "array", "name": "patternsToMatch", "item": {"type": "string"}}, {"type": "array<@ResourceReference_read>", "name": "routes", "item": {"type": "@ResourceReference_read"}}]}}, {"type": "boolean", "name": "isProfileLevel"}, {"type": "object", "name": "wafPolicy", "props": [{"type": "string", "name": "id"}], "cls": "ResourceReference_read"}]}]}, {"readOnly": true, "type": "string", "name": "profileName"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SecurityPolicy_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "securityPolicy", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "parameters", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$securityPolicy.properties.parameters.WebApplicationFirewall", "value": "WebApplicationFirewall"}]}}], "discriminators": [{"property": "type", "value": "WebApplicationFirewall", "props": [{"type": "array", "name": "associations", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations", "item": {"type": "object", "props": [{"type": "array", "name": "domains", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].domains", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].domains[].id"}]}}, {"type": "array", "name": "patternsToMatch", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].patternsToMatch", "item": {"type": "string"}}, {"type": "array<@ResourceReference_update>", "name": "routes", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.associations[].routes", "item": {"type": "@ResourceReference_update"}}]}}, {"type": "boolean", "name": "isProfileLevel", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.isProfileLevel"}, {"type": "object", "name": "wafPolicy", "arg": "$securityPolicy.properties.parameters.WebApplicationFirewall.wafPolicy", "props": [{"type": "string", "name": "id", "arg": "@ResourceReference_update.id"}], "cls": "ResourceReference_update"}]}]}], "clientFlatten": true}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "SecurityPolicies_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", "maxLength": 260, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "securityPolicyName", "arg": "$Path.securityPolicyName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@SecurityPolicy_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@SecurityPolicy_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.xml new file mode 100644 index 000000000..067afb93c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vc2VjdXJpdHlwb2xpY2llcy97fQ==/2026-04-01-preview.xml @@ -0,0 +1,660 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + +
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + +
+ + + + + + + +
+
+ +
+
+