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

This class is responsible for all the REST communication with the audit REST endpoints
파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

공개 메소드들

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

Creates a communicator for Azure SQL Databases

CreateCopy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DatabaseCreateOrUpdateParameters parameters ) : Management.Sql.Models.DatabaseCreateOrUpdateResponse

Creates a copy of a Azure SQL Database

FailoverLink ( string resourceGroupName, string serverName, string databaseName, System.Guid linkId, string clientRequestId ) : void

Fails over a Replication Link without data loss

FailoverLinkAllowDataLoss ( string resourceGroupName, string serverName, string databaseName, System.Guid linkId, string clientRequestId ) : void

Fails over a Replication Link with data loss

GetLink ( string resourceGroupName, string serverName, string databaseName, System.Guid linkId, string clientRequestId ) : Management.Sql.Models.ReplicationLink

Gets the Azure SQL Database

ListLinks ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : IList

Lists Azure SQL Databases

RemoveLink ( string resourceGroupName, string serverName, string databaseName, System.Guid linkId, string clientRequestId ) : void

Deletes a Replication Link

비공개 메소드들

메소드 설명
GetCurrentSqlClient ( String clientRequestId ) : Microsoft.Azure.Management.Sql.SqlManagementClient

Retrieve the SQL Management client for the currently selected subscription, adding the session and request id tracing headers for the current cmdlet invocation.

메소드 상세

AzureSqlDatabaseReplicationCommunicator() 공개 메소드

Creates a communicator for Azure SQL Databases
public AzureSqlDatabaseReplicationCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
리턴 Microsoft.Azure.Commands.Common.Authentication

CreateCopy() 공개 메소드

Creates a copy of a Azure SQL Database
public CreateCopy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DatabaseCreateOrUpdateParameters parameters ) : Management.Sql.Models.DatabaseCreateOrUpdateResponse
resourceGroupName string
serverName string
databaseName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.DatabaseCreateOrUpdateParameters
리턴 Management.Sql.Models.DatabaseCreateOrUpdateResponse

FailoverLink() 공개 메소드

Fails over a Replication Link without data loss
public FailoverLink ( string resourceGroupName, string serverName, string databaseName, System.Guid linkId, string clientRequestId ) : void
resourceGroupName string
serverName string
databaseName string
linkId System.Guid
clientRequestId string
리턴 void

FailoverLinkAllowDataLoss() 공개 메소드

Fails over a Replication Link with data loss
public FailoverLinkAllowDataLoss ( string resourceGroupName, string serverName, string databaseName, System.Guid linkId, string clientRequestId ) : void
resourceGroupName string
serverName string
databaseName string
linkId System.Guid
clientRequestId string
리턴 void

GetLink() 공개 메소드

Gets the Azure SQL Database
public GetLink ( string resourceGroupName, string serverName, string databaseName, System.Guid linkId, string clientRequestId ) : Management.Sql.Models.ReplicationLink
resourceGroupName string
serverName string
databaseName string
linkId System.Guid
clientRequestId string
리턴 Management.Sql.Models.ReplicationLink

ListLinks() 공개 메소드

Lists Azure SQL Databases
public ListLinks ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : IList
resourceGroupName string
serverName string
databaseName string
clientRequestId string
리턴 IList

RemoveLink() 공개 메소드

Deletes a Replication Link
public RemoveLink ( string resourceGroupName, string serverName, string databaseName, System.Guid linkId, string clientRequestId ) : void
resourceGroupName string
serverName string
databaseName string
linkId System.Guid
clientRequestId string
리턴 void