Skip to content
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
6 changes: 6 additions & 0 deletions Commands/network/firewall/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,9 @@ Create an Azure Firewall.
```bash
network firewall create -g MyResourceGroup -n MyFirewall --sku AZFW_Hub --tier Basic --vhub MyVHub --public-ip-count 2
```

- Create Azure Firewall With AutoscaleConfiguration
```bash
network firewall create -g MyResourceGroup -n MyFirewall --min-capacity 4
network firewall create -g MyResourceGroup -n MyFirewall --min-capacity 10 --max-capacity 10
```

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -375,18 +375,6 @@
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="object" var="$parameters.extendedLocation" options="extended-location" group="">
<help short="The extended location of type local virtual network gateway."/>
<arg type="string" var="$parameters.extendedLocation.name" options="name">
<help short="The name of the extended location."/>
</arg>
<arg type="string" var="$parameters.extendedLocation.type" options="type">
<help short="The type of the extended location."/>
<enum>
<item name="EdgeZone" value="&quot;EdgeZone&quot;"/>
</enum>
</arg>
</arg>
<arg type="ResourceLocation" var="$parameters.location" options="location l" group="">
<help short="Resource location."/>
</arg>
Expand Down Expand Up @@ -431,6 +419,16 @@
<item type="string"/>
</arg>
</argGroup>
<argGroup name="AutoscaleConfiguration">
<arg nullable="True" type="integer32" var="$parameters.properties.autoscaleConfiguration.maxCapacity" options="max-capacity" group="AutoscaleConfiguration">
<help short="The maximum number of capacity units for this azure firewall. Use null to reset the value to the service default."/>
<format minimum="2"/>
</arg>
<arg nullable="True" type="integer32" var="$parameters.properties.autoscaleConfiguration.minCapacity" options="min-capacity" group="AutoscaleConfiguration">
<help short="The minimum number of capacity units for this azure firewall. Use null to reset the value to the service default."/>
<format minimum="2"/>
</arg>
</argGroup>
<argGroup name="HubIpAddresses">
<arg type="string" var="$parameters.properties.hubIPAddresses.privateIPAddress" options="private-ip-address" hide="True" group="HubIpAddresses">
<help short="Private IP Address associated with azure firewall."/>
Expand Down Expand Up @@ -461,6 +459,18 @@
</arg>
</argGroup>
<argGroup name="Parameters">
<arg type="object" var="$parameters.extendedLocation" options="extended-location" group="Parameters">
<help short="The extended location of type local virtual network gateway."/>
<arg type="string" var="$parameters.extendedLocation.name" options="name">
<help short="The name of the extended location."/>
</arg>
<arg type="string" var="$parameters.extendedLocation.type" options="type">
<help short="The type of the extended location."/>
<enum>
<item name="EdgeZone" value="&quot;EdgeZone&quot;"/>
</enum>
</arg>
</arg>
<arg type="ResourceId" var="$parameters.id" options="id" hide="True" group="Parameters">
<help short="Resource ID."/>
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/azureFirewalls/{}"/>
Expand Down Expand Up @@ -542,17 +552,6 @@
</arg>
</item>
</arg>
<arg type="object" var="$parameters.properties.autoscaleConfiguration" options="autoscale-configuration" hide="True" group="Properties">
<help short="Properties to provide a custom autoscale configuration to this azure firewall."/>
<arg nullable="True" type="integer32" var="$parameters.properties.autoscaleConfiguration.maxCapacity" options="max-capacity">
<help short="The maximum number of capacity units for this azure firewall. Use null to reset the value to the service default."/>
<format minimum="2"/>
</arg>
<arg nullable="True" type="integer32" var="$parameters.properties.autoscaleConfiguration.minCapacity" options="min-capacity">
<help short="The minimum number of capacity units for this azure firewall. Use null to reset the value to the service default."/>
<format minimum="2"/>
</arg>
</arg>
<arg type="array<object>" var="$parameters.properties.ipConfigurations" options="ip-configurations" group="Properties">
<help short="IP configuration of the Azure Firewall resource."/>
<item type="object" cls="AzureFirewallIPConfiguration_create">
Expand Down Expand Up @@ -800,7 +799,7 @@
</prop>
</item>
</prop>
<prop type="object" name="autoscaleConfiguration" arg="$parameters.properties.autoscaleConfiguration">
<prop type="object" name="autoscaleConfiguration">
<prop nullable="True" type="integer32" name="maxCapacity" arg="$parameters.properties.autoscaleConfiguration.maxCapacity">
<format minimum="2"/>
</prop>
Expand Down Expand Up @@ -1294,18 +1293,6 @@
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg nullable="True" type="object" var="$parameters.extendedLocation" options="extended-location" group="">
<help short="The extended location of type local virtual network gateway."/>
<arg nullable="True" type="string" var="$parameters.extendedLocation.name" options="name">
<help short="The name of the extended location."/>
</arg>
<arg nullable="True" type="string" var="$parameters.extendedLocation.type" options="type">
<help short="The type of the extended location."/>
<enum>
<item name="EdgeZone" value="&quot;EdgeZone&quot;"/>
</enum>
</arg>
</arg>
<arg nullable="True" type="ResourceLocation" var="$parameters.location" options="location l" hide="True" group="">
<help short="Resource location."/>
</arg>
Expand Down Expand Up @@ -1349,6 +1336,16 @@
<item nullable="True" type="string"/>
</arg>
</argGroup>
<argGroup name="AutoscaleConfiguration">
<arg nullable="True" type="integer32" var="$parameters.properties.autoscaleConfiguration.maxCapacity" options="max-capacity" group="AutoscaleConfiguration">
<help short="The maximum number of capacity units for this azure firewall. Use null to reset the value to the service default."/>
<format minimum="2"/>
</arg>
<arg nullable="True" type="integer32" var="$parameters.properties.autoscaleConfiguration.minCapacity" options="min-capacity" group="AutoscaleConfiguration">
<help short="The minimum number of capacity units for this azure firewall. Use null to reset the value to the service default."/>
<format minimum="2"/>
</arg>
</argGroup>
<argGroup name="HubIpAddresses">
<arg nullable="True" type="string" var="$parameters.properties.hubIPAddresses.privateIPAddress" options="private-ip-address" hide="True" group="HubIpAddresses">
<help short="Private IP Address associated with azure firewall."/>
Expand All @@ -1363,6 +1360,18 @@
</arg>
</argGroup>
<argGroup name="Parameters">
<arg nullable="True" type="object" var="$parameters.extendedLocation" options="extended-location" group="Parameters">
<help short="The extended location of type local virtual network gateway."/>
<arg nullable="True" type="string" var="$parameters.extendedLocation.name" options="name">
<help short="The name of the extended location."/>
</arg>
<arg nullable="True" type="string" var="$parameters.extendedLocation.type" options="type">
<help short="The type of the extended location."/>
<enum>
<item name="EdgeZone" value="&quot;EdgeZone&quot;"/>
</enum>
</arg>
</arg>
<arg nullable="True" type="ResourceId" var="$parameters.id" options="id" hide="True" group="Parameters">
<help short="Resource ID."/>
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/azureFirewalls/{}"/>
Expand Down Expand Up @@ -1444,17 +1453,6 @@
</arg>
</item>
</arg>
<arg nullable="True" type="object" var="$parameters.properties.autoscaleConfiguration" options="autoscale-configuration" hide="True" group="Properties">
<help short="Properties to provide a custom autoscale configuration to this azure firewall."/>
<arg nullable="True" type="integer32" var="$parameters.properties.autoscaleConfiguration.maxCapacity" options="max-capacity">
<help short="The maximum number of capacity units for this azure firewall. Use null to reset the value to the service default."/>
<format minimum="2"/>
</arg>
<arg nullable="True" type="integer32" var="$parameters.properties.autoscaleConfiguration.minCapacity" options="min-capacity">
<help short="The minimum number of capacity units for this azure firewall. Use null to reset the value to the service default."/>
<format minimum="2"/>
</arg>
</arg>
<arg nullable="True" type="array<object>" var="$parameters.properties.ipConfigurations" options="ip-configurations" hide="True" group="Properties">
<help short="IP configuration of the Azure Firewall resource."/>
<item nullable="True" type="object" cls="AzureFirewallIPConfiguration_update">
Expand Down Expand Up @@ -2009,7 +2007,7 @@
</prop>
</item>
</prop>
<prop type="object" name="autoscaleConfiguration" arg="$parameters.properties.autoscaleConfiguration">
<prop type="object" name="autoscaleConfiguration">
<prop nullable="True" type="integer32" name="maxCapacity" arg="$parameters.properties.autoscaleConfiguration.maxCapacity">
<format minimum="2"/>
</prop>
Expand Down