This method is supported by POA starting from version 2.3.
This method creates new database for specified subscription with specific type and default user. Please note, the process of creation a MS SQL database has peculiarities and contains the following sequence of methods calls: txn.Begin, pem.createDatabase, pem.mssql.setQuota, txn.Commit.
The method has the following input parameters:
Name |
Type |
Short Description |
|
int |
The ID of the Subscription. |
|
string |
Name for Database to create. |
|
string |
Which RDBMS use to host a Database. Possible values:
|
|
string |
Name of Database User. |
|
string |
Password for Database User. |
|
int |
ID of Resource Type, which should be used for Database provisioning. If not specified, first suitable Resource Type is used. |
The method has the following output parameters:
Name |
Type |
Short Description |
|
int |
ID of created Database. |
|
string |
Name of created Database. |
|
string |
Name of host where Database will be located. |