< Back
Get-AzureRmSqlDatabaseReplicationLink
Post
NAME Get-AzureRmSqlDatabaseReplicationLink
SYNOPSIS
Gets the geo-replication links between an Azure SQL Database and a resource group or SQL Server.
SYNTAX
Get-AzureRmSqlDatabaseReplicationLink [-ResourceGroupName] <String> [-ServerName] <String> [-DatabaseName] <String> [-DefaultProfile
<IAzureContextContainer>] -PartnerResourceGroupName <String> [-PartnerServerName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Get-AzureRMSqlDatabaseReplicationLink cmdlet replaces the Get-AzureSqlDatabaseCopy cmdlet. It gets all geo-replication links between the
specified Azure SQL Database and a resource group or AzureSQL Server.
PARAMETERS
-DatabaseName <String>
Specifies the name of the SQL Database for which to retrieve links.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
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
-PartnerResourceGroupName <String>
Specifies the name of the resource group to which the partner is assigned.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PartnerServerName <String>
Specifies the name of the Azure SQL Server for the partner.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the Azure resource group for the database for which to retrieve links.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ServerName <String>
Specifies the name of the SQL Server for the database to retrieve links for.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
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
This cmdlet accepts instances of the ReplicationLink or the Database object for the primary or secondary database.
OUTPUTS
This cmdlet returns a ReplicationLink object.
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cationlink
SQL Database Documentation https://docs.microsoft.com/azure/sql-database/
SYNOPSIS
Gets the geo-replication links between an Azure SQL Database and a resource group or SQL Server.
SYNTAX
Get-AzureRmSqlDatabaseReplicationLink [-ResourceGroupName] <String> [-ServerName] <String> [-DatabaseName] <String> [-DefaultProfile
<IAzureContextContainer>] -PartnerResourceGroupName <String> [-PartnerServerName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Get-AzureRMSqlDatabaseReplicationLink cmdlet replaces the Get-AzureSqlDatabaseCopy cmdlet. It gets all geo-replication links between the
specified Azure SQL Database and a resource group or AzureSQL Server.
PARAMETERS
-DatabaseName <String>
Specifies the name of the SQL Database for which to retrieve links.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
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
-PartnerResourceGroupName <String>
Specifies the name of the resource group to which the partner is assigned.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PartnerServerName <String>
Specifies the name of the Azure SQL Server for the partner.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the Azure resource group for the database for which to retrieve links.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ServerName <String>
Specifies the name of the SQL Server for the database to retrieve links for.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
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
This cmdlet accepts instances of the ReplicationLink or the Database object for the primary or secondary database.
OUTPUTS
This cmdlet returns a ReplicationLink object.
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cationlink
SQL Database Documentation https://docs.microsoft.com/azure/sql-database/