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