你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureSqlServerDisasterRecoveryConfigurationAdapter.CreateServerDisasterRecoveryConfigurationModelFromResponse Method

Definition

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

public static Microsoft.Azure.Commands.Sql.ServerDisasterRecoveryConfiguration.Model.AzureSqlServerDisasterRecoveryConfigurationModel CreateServerDisasterRecoveryConfigurationModelFromResponse (string resourceGroup, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfiguration serverDisasterRecoveryConfiguration);
static member CreateServerDisasterRecoveryConfigurationModelFromResponse : string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfiguration -> Microsoft.Azure.Commands.Sql.ServerDisasterRecoveryConfiguration.Model.AzureSqlServerDisasterRecoveryConfigurationModel
Public Shared Function CreateServerDisasterRecoveryConfigurationModelFromResponse (resourceGroup As String, serverName As String, serverDisasterRecoveryConfiguration As ServerDisasterRecoveryConfiguration) As AzureSqlServerDisasterRecoveryConfigurationModel

Parameters

resourceGroup
String

The resource group the server is in

serverName
String

The name of the Azure Sql Server

serverDisasterRecoveryConfiguration
ServerDisasterRecoveryConfiguration

The service response

Returns

The converted model

Applies to