Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZengTaoxu committed Dec 18, 2023
1 parent 6ed8c96 commit 02fb405
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ List the regional application gateway waf manifest.
```bash
network application-gateway waf-config list-dynamic-rule-sets -l westus
```

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

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/locations/{}/applicationgatewaywafdynamicmanifests 2023-06-01 -->

#### examples

- List application gateway waf manifest in the regional.
```bash
network application-gateway waf-config list-dynamic-rule-sets -l westus
```
18 changes: 18 additions & 0 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -51297,6 +51297,24 @@
"version": "2022-05-01"
}
]
},
{
"examples": [
{
"commands": [
"network application-gateway waf-config list-dynamic-rule-sets -l westus"
],
"name": "List application gateway waf manifest in the regional."
}
],
"name": "2023-06-01",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.network/locations/{}/applicationgatewaywafdynamicmanifests",
"plane": "mgmt-plane",
"version": "2023-06-01"
}
]
}
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/locations/{}/applicationgatewaywafdynamicmanifests", "version": "2023-06-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbG9jYXRpb25zL3tsb2NhdGlvbn0vYXBwbGljYXRpb25HYXRld2F5V2FmRHluYW1pY01hbmlmZXN0cw==/V/MjAyMy0wNi0wMQ=="}], "commandGroups": [{"name": "network application-gateway waf-config", "commands": [{"name": "list-dynamic-rule-sets", "version": "2023-06-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/locations/{}/applicationgatewaywafdynamicmanifests", "version": "2023-06-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbG9jYXRpb25zL3tsb2NhdGlvbn0vYXBwbGljYXRpb25HYXRld2F5V2FmRHluYW1pY01hbmlmZXN0cw==/V/MjAyMy0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ApplicationGatewayWafDynamicManifests_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-06-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<object>", "name": "availableRuleSets", "item": {"type": "object", "props": [{"type": "array<object>", "name": "ruleGroups", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "ruleGroupName", "required": true}, {"type": "array<object>", "name": "rules", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Allow"}, {"value": "AnomalyScoring"}, {"value": "Block"}, {"value": "Log"}, {"value": "None"}]}}, {"type": "string", "name": "description"}, {"type": "integer32", "name": "ruleId", "required": true}, {"type": "string", "name": "ruleIdString"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}}]}}, {"type": "string", "name": "ruleSetType", "required": true}, {"type": "string", "name": "ruleSetVersion", "required": true}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Deprecated"}, {"value": "GA"}, {"value": "Preview"}, {"value": "Supported"}]}}, {"type": "array<string>", "name": "tiers", "item": {"type": "string", "enum": {"items": [{"value": "Standard"}, {"value": "Standard_v2"}, {"value": "WAF"}, {"value": "WAF_v2"}]}}}]}}, {"type": "object", "name": "defaultRuleSet", "props": [{"type": "string", "name": "ruleSetType"}, {"type": "string", "name": "ruleSetVersion"}], "clientFlatten": true}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.network/locations/{}/applicationgatewaywafdynamicmanifests" version="2023-06-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbG9jYXRpb25zL3tsb2NhdGlvbn0vYXBwbGljYXRpb25HYXRld2F5V2FmRHluYW1pY01hbmlmZXN0cw==/V/MjAyMy0wNi0wMQ=="/>
<commandGroup name="network application-gateway waf-config">
<command name="list-dynamic-rule-sets" version="2023-06-01" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.network/locations/{}/applicationgatewaywafdynamicmanifests" version="2023-06-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbG9jYXRpb25zL3tsb2NhdGlvbn0vYXBwbGljYXRpb25HYXRld2F5V2FmRHluYW1pY01hbmlmZXN0cw==/V/MjAyMy0wNi0wMQ=="/>
<argGroup name="">
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True" idPart="name"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="ApplicationGatewayWafDynamicManifests_Get">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests">
<request method="get">
<path>
<param type="string" name="location" arg="$Path.location" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2023-06-01&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="array<object>" name="availableRuleSets">
<item type="object">
<prop type="array<object>" name="ruleGroups" required="True">
<item type="object">
<prop type="string" name="description"/>
<prop type="string" name="ruleGroupName" required="True"/>
<prop type="array<object>" name="rules" required="True">
<item type="object">
<prop type="string" name="action">
<enum>
<item value="&quot;Allow&quot;"/>
<item value="&quot;AnomalyScoring&quot;"/>
<item value="&quot;Block&quot;"/>
<item value="&quot;Log&quot;"/>
<item value="&quot;None&quot;"/>
</enum>
</prop>
<prop type="string" name="description"/>
<prop type="integer32" name="ruleId" required="True"/>
<prop type="string" name="ruleIdString"/>
<prop type="string" name="state">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
</item>
</prop>
</item>
</prop>
<prop type="string" name="ruleSetType" required="True"/>
<prop type="string" name="ruleSetVersion" required="True"/>
<prop type="string" name="status">
<enum>
<item value="&quot;Deprecated&quot;"/>
<item value="&quot;GA&quot;"/>
<item value="&quot;Preview&quot;"/>
<item value="&quot;Supported&quot;"/>
</enum>
</prop>
<prop type="array<string>" name="tiers">
<item type="string">
<enum>
<item value="&quot;Standard&quot;"/>
<item value="&quot;Standard_v2&quot;"/>
<item value="&quot;WAF&quot;"/>
<item value="&quot;WAF_v2&quot;"/>
</enum>
</item>
</prop>
</item>
</prop>
<prop type="object" name="defaultRuleSet" clientFlatten="True">
<prop type="string" name="ruleSetType"/>
<prop type="string" name="ruleSetVersion"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

0 comments on commit 02fb405

Please sign in to comment.