Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update command models for network #215

Merged
merged 4 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
360 changes: 180 additions & 180 deletions Commands/tree.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,9 @@
<resource id="/subscriptions/{}/providers/microsoft.network/applicationsecuritygroups" version="2021-08-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvYXBwbGljYXRpb25TZWN1cml0eUdyb3Vwcw==/V/MjAyMS0wOC0wMQ=="/>
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/applicationsecuritygroups" version="2021-08-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9hcHBsaWNhdGlvblNlY3VyaXR5R3JvdXBz/V/MjAyMS0wOC0wMQ=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True"/>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<condition var="$Condition_ApplicationSecurityGroups_List">
<operator type="and">
<operator type="hasValue" arg="$Path.resourceGroupName"/>
<operator type="hasValue" arg="$Path.subscriptionId"/>
</operator>
</condition>
<condition var="$Condition_ApplicationSecurityGroups_ListAll">
<operator type="and">
<operator type="hasValue" arg="$Path.subscriptionId"/>
Expand All @@ -24,11 +18,16 @@
</operator>
</operator>
</condition>
<operation when="$Condition_ApplicationSecurityGroups_List" operationId="ApplicationSecurityGroups_List">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups">
<condition var="$Condition_ApplicationSecurityGroups_List">
<operator type="and">
<operator type="hasValue" arg="$Path.resourceGroupName"/>
<operator type="hasValue" arg="$Path.subscriptionId"/>
</operator>
</condition>
<operation when="$Condition_ApplicationSecurityGroups_ListAll" operationId="ApplicationSecurityGroups_ListAll">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups">
<request method="get">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
Expand Down Expand Up @@ -82,10 +81,11 @@
</response>
</http>
</operation>
<operation when="$Condition_ApplicationSecurityGroups_ListAll" operationId="ApplicationSecurityGroups_ListAll">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups">
<operation when="$Condition_ApplicationSecurityGroups_List" operationId="ApplicationSecurityGroups_List">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups">
<request method="get">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<resource id="/subscriptions/{}/providers/microsoft.network/ddosprotectionplans" version="2022-05-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZGRvc1Byb3RlY3Rpb25QbGFucw==/V/MjAyMi0wNS0wMQ=="/>
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddosprotectionplans" version="2022-05-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zUHJvdGVjdGlvblBsYW5z/V/MjAyMi0wNS0wMQ=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True"/>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<condition var="$Condition_DdosProtectionPlans_ListByResourceGroup">
<operator type="and">
Expand Down Expand Up @@ -60,13 +60,13 @@
</enum>
</prop>
<prop readOnly="True" type="array<object>" name="publicIpAddresses">
<item readOnly="True" type="object" cls="SubResource_read">
<prop readOnly="True" type="string" name="id"/>
<item type="object" cls="SubResource_read">
<prop type="string" name="id"/>
</item>
</prop>
<prop readOnly="True" type="string" name="resourceGuid"/>
<prop readOnly="True" type="array<@SubResource_read>" name="virtualNetworks">
<item readOnly="True" type="@SubResource_read"/>
<item type="@SubResource_read"/>
</prop>
</prop>
<prop type="object" name="tags">
Expand Down Expand Up @@ -125,11 +125,11 @@
</enum>
</prop>
<prop readOnly="True" type="array<@SubResource_read>" name="publicIpAddresses">
<item readOnly="True" type="@SubResource_read"/>
<item type="@SubResource_read"/>
</prop>
<prop readOnly="True" type="string" name="resourceGuid"/>
<prop readOnly="True" type="array<@SubResource_read>" name="virtualNetworks">
<item readOnly="True" type="@SubResource_read"/>
<item type="@SubResource_read"/>
</prop>
</prop>
<prop type="object" name="tags">
Expand Down
Loading