DocumentClient.createDatabase(Database database, RequestOptions options)
Method
Definition
public ResourceResponse<Database> createDatabase(Database database, RequestOptions options)
Parameters
- database
- Database
the database.
- options
- RequestOptions
the request options.
Returns
the resource response with the created database.
Exceptions
DocumentClientException
the document client exception.