pem.createDatabase
This method is supported by Operations starting from version 2.3.
This method creates new database for specified subscription with specific type and default user.
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. |