C# 클래스 Microsoft.Azure.Commands.Sql.ReplicationLink.Services.AzureSqlDatabaseReplicationAdapter

Adapter for database operations
파일 보기 프로젝트 열기: Azure/azure-powershell

Private Properties

프로퍼티 타입 설명
CheckPartnerResourceGroupValid void
CopyDatabase Microsoft.Azure.Commands.Sql.Replication.Model.AzureSqlDatabaseCopyModel
CreateDatabaseCopyModelFromDatabaseCreateOrUpdateResponse Microsoft.Azure.Commands.Sql.Replication.Model.AzureSqlDatabaseCopyModel
CreateLink Microsoft.Azure.Commands.Sql.Replication.Model.AzureReplicationLinkModel
CreateReplicationLinkModelFromReplicationLinkResponse Microsoft.Azure.Commands.Sql.Replication.Model.AzureReplicationLinkModel
FailoverLink Microsoft.Azure.Commands.Sql.Replication.Model.AzureReplicationLinkModel
GetDatabase Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel
GetLink Microsoft.Azure.Commands.Sql.Replication.Model.AzureReplicationLinkModel
GetLink Microsoft.Azure.Commands.Sql.Replication.Model.AzureReplicationLinkModel
GetServerLocation string
ListLinks ICollection
RemoveLink void

공개 메소드들

메소드 설명
AzureSqlDatabaseReplicationAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models

Constructs a database adapter

비공개 메소드들

메소드 설명
CheckPartnerResourceGroupValid ( string partnerResourceGroupName ) : void
CopyDatabase ( string copyResourceGroup, string copyServerName, AzureSqlDatabaseCopyModel model ) : AzureSqlDatabaseCopyModel

Creates an Azure SQL Database Copy

CreateDatabaseCopyModelFromDatabaseCreateOrUpdateResponse ( string copyResourceGroupName, string copyServerName, string copyDatabaseName, string resourceGroupName, string serverName, string databaseName, Management response ) : AzureSqlDatabaseCopyModel

Converts the response from the service to a powershell DatabaseCopy object

CreateLink ( string resourceGroupName, string serverName, AzureReplicationLinkModel model ) : AzureReplicationLinkModel

Creates an Azure SQL Database Secondary

CreateReplicationLinkModelFromReplicationLinkResponse ( string resourceGroupName, string serverName, string databaseName, string partnerResourceGroupName, Management resp ) : AzureReplicationLinkModel

Converts the response from the service to a powershell Secondary Link object

FailoverLink ( string resourceGroupName, string serverName, string databaseName, string partnerResourceGroupName, bool allowDataLoss ) : AzureReplicationLinkModel

Finds and removes the Secondary Link by the secondary resource group and Azure SQL Server

GetDatabase ( string resourceGroupName, string serverName, string databaseName ) : AzureSqlDatabaseModel

Gets an Azure SQL Database by name

GetLink ( string resourceGroupName, string serverName, string databaseName, string partnerResourceGroupName, System.Guid linkId ) : AzureReplicationLinkModel

Gets the Secondary Link by linkId

GetLink ( string resourceGroupName, string serverName, string databaseName, string partnerResourceGroupName, string partnerServerName ) : AzureReplicationLinkModel

Gets the Secondary Link by the secondary resource group and Azure SQL Server

GetServerLocation ( string resourceGroupName, string serverName ) : string

Gets the Location of the Azure SQL Server

ListLinks ( string resourceGroupName, string serverName, string databaseName, string partnerResourceGroupName ) : ICollection

Lists Azure SQL Database Secondaries for the specified primary for the specified partner resource group

RemoveLink ( string resourceGroupName, string serverName, string databaseName, string partnerResourceGroupName, string partnerServerName ) : void

Finds and removes the Secondary Link by the secondary resource group and Azure SQL Server

메소드 상세

AzureSqlDatabaseReplicationAdapter() 공개 메소드

Constructs a database adapter
public AzureSqlDatabaseReplicationAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
리턴 Microsoft.Azure.Commands.Common.Authentication.Models