az sql server outbound-firewall-rule
Manage a server's outbound firewall rules.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sql server outbound-firewall-rule create |
Create a new outbound firewall rule. |
Core | GA |
az sql server outbound-firewall-rule delete |
Delete the outbound firewall rule. |
Core | GA |
az sql server outbound-firewall-rule list |
List a server's outbound firewall rules. |
Core | GA |
az sql server outbound-firewall-rule show |
Show the details for an outbound firewall rule. |
Core | GA |
az sql server outbound-firewall-rule create
Create a new outbound firewall rule.
az sql server outbound-firewall-rule create --outbound-rule-fqdn
--resource-group
--server
Examples
Create a new outbound firewall rule
az sql server outbound-firewall-rule create -g mygroup -s myserver -n allowedFQDN
Create a new outbound firewall rule
az sql server outbound-firewall-rule create -g mygroup -s myserver --outbound-rule-fqdn allowedFQDN
Required Parameters
The allowed FQDN for the outbound firewall rule.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure SQL Server. You can configure the default using az configure --defaults sql-server=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sql server outbound-firewall-rule delete
Delete the outbound firewall rule.
az sql server outbound-firewall-rule delete --outbound-rule-fqdn
[--ids]
[--resource-group]
[--server]
[--subscription]
Examples
Delete the outbound firewall rule
az sql server outbound-firewall-rule delete -g mygroup -s myserver -n myrule
Delete the outbound firewall rule
az sql server outbound-firewall-rule delete -g mygroup -s myserver --outbound-rule-fqdn allowedFQDN
Required Parameters
The allowed FQDN for the outbound firewall rule.
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure SQL Server. You can configure the default using az configure --defaults sql-server=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sql server outbound-firewall-rule list
List a server's outbound firewall rules.
az sql server outbound-firewall-rule list [--ids]
[--resource-group]
[--server]
[--subscription]
Examples
List a server's outbound firewall rules
az sql server outbound-firewall-rule list -g mygroup -s myserver
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure SQL Server. You can configure the default using az configure --defaults sql-server=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sql server outbound-firewall-rule show
Show the details for an outbound firewall rule.
az sql server outbound-firewall-rule show --outbound-rule-fqdn
[--ids]
[--resource-group]
[--server]
[--subscription]
Examples
Show the outbound firewall rule
az sql server outbound-firewall-rule show -g mygroup -s myserver -n myrule
Show the outbound firewall rule
az sql server outbound-firewall-rule show -g mygroup -s myserver --outbound-rule-fqdn allowedFQDN
Required Parameters
The allowed FQDN for the outbound firewall rule.
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure SQL Server. You can configure the default using az configure --defaults sql-server=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.