AzureSqlServerDisasterRecoveryConfigurationAdapter.CreateServerDisasterRecoveryConfigurationModelFromResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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