< Back
Remove-AzureRmSqlServerDnsAlias
Post
NAME Remove-AzureRmSqlServerDnsAlias
SYNOPSIS
Removes Azure SQL Server DNS Alias.
SYNTAX
Remove-AzureRmSqlServerDnsAlias [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -InputObject <AzureSqlServerDnsAliasModel> [-Confirm]
[-WhatIf] [<CommonParameters>]
Remove-AzureRmSqlServerDnsAlias [-ResourceGroupName] <String> [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -Name <String>
-ServerName <String> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-AzureRmSqlServerDnsAlias [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -ResourceId <String> [-Confirm] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
This commands remove Azure SQL Server DNS Alias from the server leaving server intact.
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
-Force [<SwitchParameter>]
Skip confirmation message for performing the action
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <AzureSqlServerDnsAliasModel>
The Server Dns Alias object to remove
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
Azure Sql Server Dns Alias name
Required? true
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? False
Accept wildcard characters? false
-ResourceId <String>
The resource id of Server Dns Alias object to remove
Required? true
Position? named
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
-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
Microsoft.Azure.Commands.Sql.ServerDnsAlias.Model.AzureSqlServerDnsAliasModel
OUTPUTS
Microsoft.Azure.Commands.Sql.ServerDnsAlias.Model.AzureSqlServerDnsAliasModel
NOTES
Example 1
PS C:\\> Remove-AzureRmSqlServerDnsAlias -DnsAliasName aliasName -ServerName serverName -ResourceGroupName rg
Removes Azure SQL Server DNS Alias with the name aliasName from the server with the name serverName
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... erdnsalias
SYNOPSIS
Removes Azure SQL Server DNS Alias.
SYNTAX
Remove-AzureRmSqlServerDnsAlias [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -InputObject <AzureSqlServerDnsAliasModel> [-Confirm]
[-WhatIf] [<CommonParameters>]
Remove-AzureRmSqlServerDnsAlias [-ResourceGroupName] <String> [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -Name <String>
-ServerName <String> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-AzureRmSqlServerDnsAlias [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -ResourceId <String> [-Confirm] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
This commands remove Azure SQL Server DNS Alias from the server leaving server intact.
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
-Force [<SwitchParameter>]
Skip confirmation message for performing the action
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <AzureSqlServerDnsAliasModel>
The Server Dns Alias object to remove
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
Azure Sql Server Dns Alias name
Required? true
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? False
Accept wildcard characters? false
-ResourceId <String>
The resource id of Server Dns Alias object to remove
Required? true
Position? named
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
-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
Microsoft.Azure.Commands.Sql.ServerDnsAlias.Model.AzureSqlServerDnsAliasModel
OUTPUTS
Microsoft.Azure.Commands.Sql.ServerDnsAlias.Model.AzureSqlServerDnsAliasModel
NOTES
Example 1
PS C:\\> Remove-AzureRmSqlServerDnsAlias -DnsAliasName aliasName -ServerName serverName -ResourceGroupName rg
Removes Azure SQL Server DNS Alias with the name aliasName from the server with the name serverName
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... erdnsalias