AzureSqlDatabaseAdapter.CreateDatabaseModelFromResponse 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.
Overloads
CreateDatabaseModelFromResponse(String, String, Database) |
Converts the response from the service to a powershell database object |
CreateDatabaseModelFromResponse(String, String, Database) |
Converts the response from the service to a powershell database object |
CreateDatabaseModelFromResponse(String, String, Database)
Converts the response from the service to a powershell database object
public static Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel CreateDatabaseModelFromResponse (string resourceGroup, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.Database database);
static member CreateDatabaseModelFromResponse : string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.Database -> Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel
Public Shared Function CreateDatabaseModelFromResponse (resourceGroup As String, serverName As String, database As Database) As AzureSqlDatabaseModel
Parameters
- resourceGroup
- String
The resource group the server is in
- serverName
- String
The name of the Azure Sql Database Server
- database
- Database
The service response
Returns
The converted model
Applies to
CreateDatabaseModelFromResponse(String, String, Database)
Converts the response from the service to a powershell database object
public static Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel CreateDatabaseModelFromResponse (string resourceGroup, string serverName, Microsoft.Azure.Management.Sql.Models.Database database);
static member CreateDatabaseModelFromResponse : string * string * Microsoft.Azure.Management.Sql.Models.Database -> Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel
Public Shared Function CreateDatabaseModelFromResponse (resourceGroup As String, serverName As String, database As Database) As AzureSqlDatabaseModel
Parameters
- resourceGroup
- String
The resource group the server is in
- serverName
- String
The name of the Azure Sql Database Server
- database
- Database
The service response
Returns
The converted model