C# 클래스 Microsoft.Azure.Commands.Sql.ServerDisasterRecoveryConfiguration.Services.AzureSqlServerDisasterRecoveryConfigurationAdapter

Adapter for Server Disaster Recovery Configuration operations
파일 보기 프로젝트 열기: Azure/azure-powershell

Private Properties

프로퍼티 타입 설명
CreateServerDisasterRecoveryConfiguration Microsoft.Azure.Commands.Sql.ServerDisasterRecoveryConfiguration.Model.AzureSqlServerDisasterRecoveryConfigurationModel
FailoverServerDisasterRecoveryConfiguration void
GetServerDisasterRecoveryConfiguration Microsoft.Azure.Commands.Sql.ServerDisasterRecoveryConfiguration.Model.AzureSqlServerDisasterRecoveryConfigurationModel
ListServerDisasterRecoveryConfigurationActivity IEnumerable
ListServerDisasterRecoveryConfigurations ICollection

공개 메소드들

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

Constructs a Server Disaster Recovery Configuration adapter

CreateServerDisasterRecoveryConfigurationModelFromResponse ( string resourceGroup, string serverName, Management serverDisasterRecoveryConfiguration ) : AzureSqlServerDisasterRecoveryConfigurationModel

Converts the response from the service to a powershell Server Disaster Recovery Configuration object

GetServerLocation ( string resourceGroupName, string serverName ) : string

Gets the Location of the server.

RemoveServerDisasterRecoveryConfiguration ( string resourceGroupName, string serverName, string serverDisasterRecoveryConfigurationName ) : void

Deletes a Server Disaster Recovery Configuration

비공개 메소드들

메소드 설명
CreateServerDisasterRecoveryConfiguration ( string resourceGroup, string serverName, string partnerServerId, AzureSqlServerDisasterRecoveryConfigurationModel model ) : AzureSqlServerDisasterRecoveryConfigurationModel

Creates an Azure Sql Server Disaster Recovery Configuration.

FailoverServerDisasterRecoveryConfiguration ( string resourceGroup, string serverName, AzureSqlServerDisasterRecoveryConfigurationModel model, bool allowDataLoss ) : void

Starts failover for an Azure Sql Server Disaster Recovery Configuration.

GetServerDisasterRecoveryConfiguration ( string resourceGroupName, string serverName, string serverDisasterRecoveryConfigurationName ) : AzureSqlServerDisasterRecoveryConfigurationModel

Gets an Azure Sql Server Disaster Recovery Configuration by name.

ListServerDisasterRecoveryConfigurationActivity ( string resourceGroupName, string serverName, string serverDisasterRecoveryConfigurationName, System.Guid operationId ) : IEnumerable
ListServerDisasterRecoveryConfigurations ( string resourceGroupName, string serverName ) : ICollection

Gets a list of Azure Sql Server DisasterRecoveryConfigurations.

메소드 상세

AzureSqlServerDisasterRecoveryConfigurationAdapter() 공개 메소드

Constructs a Server Disaster Recovery Configuration adapter
public AzureSqlServerDisasterRecoveryConfigurationAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
리턴 Microsoft.Azure.Commands.Common.Authentication.Models

CreateServerDisasterRecoveryConfigurationModelFromResponse() 공개 정적인 메소드

Converts the response from the service to a powershell Server Disaster Recovery Configuration object
public static CreateServerDisasterRecoveryConfigurationModelFromResponse ( string resourceGroup, string serverName, Management serverDisasterRecoveryConfiguration ) : AzureSqlServerDisasterRecoveryConfigurationModel
resourceGroup string The resource group the server is in
serverName string The name of the Azure Sql Server
serverDisasterRecoveryConfiguration Management The service response
리턴 Microsoft.Azure.Commands.Sql.ServerDisasterRecoveryConfiguration.Model.AzureSqlServerDisasterRecoveryConfigurationModel

GetServerLocation() 공개 메소드

Gets the Location of the server.
public GetServerLocation ( string resourceGroupName, string serverName ) : string
resourceGroupName string The resource group the server is in
serverName string The name of the server
리턴 string

RemoveServerDisasterRecoveryConfiguration() 공개 메소드

Deletes a Server Disaster Recovery Configuration
public RemoveServerDisasterRecoveryConfiguration ( string resourceGroupName, string serverName, string serverDisasterRecoveryConfigurationName ) : void
resourceGroupName string The resource group the server is in
serverName string The name of the Azure Sql Server
serverDisasterRecoveryConfigurationName string The name of the Azure Sql Server Disaster Recovery Configuration to delete
리턴 void