< Back
Remove-AzureRmSqlServerVirtualNetworkRule
Post
NAME Remove-AzureRmSqlServerVirtualNetworkRule
SYNOPSIS
Deletes an Azure SQL Server Virtual Network Rule.
SYNTAX
Remove-AzureRmSqlServerVirtualNetworkRule [-ResourceGroupName] <String> [-AsJob] [-DefaultProfile <IAzureContextContainer>] -ServerName <String>
-VirtualNetworkRuleName <String> [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
This command deletes an Azure SQL Server Virtual Network Rule.
PARAMETERS
-AsJob [<SwitchParameter>]
Run cmdlet in the background
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
The name of the resource group.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ServerName <String>
The Azure Sql Server name.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VirtualNetworkRuleName <String>
Azure Sql Server Virtual Network Rule name
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.Sql.VirtualNetworkRule.Model.AzureSqlServerVirtualNetworkRuleModel
NOTES
Example 1
PS C:\\> $virtualNetworkRule = Remove-AzureRmSqlServerVirtualNetworkRule -ResourceGroupName rg -ServerName serverName -VirtualNetworkRuleName
virtualNetworkRuleName
Deletes an existing Azure SQL Server virtual network rule
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... etworkrule
SYNOPSIS
Deletes an Azure SQL Server Virtual Network Rule.
SYNTAX
Remove-AzureRmSqlServerVirtualNetworkRule [-ResourceGroupName] <String> [-AsJob] [-DefaultProfile <IAzureContextContainer>] -ServerName <String>
-VirtualNetworkRuleName <String> [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
This command deletes an Azure SQL Server Virtual Network Rule.
PARAMETERS
-AsJob [<SwitchParameter>]
Run cmdlet in the background
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
The name of the resource group.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ServerName <String>
The Azure Sql Server name.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VirtualNetworkRuleName <String>
Azure Sql Server Virtual Network Rule name
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.Sql.VirtualNetworkRule.Model.AzureSqlServerVirtualNetworkRuleModel
NOTES
Example 1
PS C:\\> $virtualNetworkRule = Remove-AzureRmSqlServerVirtualNetworkRule -ResourceGroupName rg -ServerName serverName -VirtualNetworkRuleName
virtualNetworkRuleName
Deletes an existing Azure SQL Server virtual network rule
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... etworkrule