Miguel Veloso b3a0c86e8f | 5 years ago | |
---|---|---|
.. | ||
readme.md | 5 years ago | |
sqldeploy.json | 5 years ago | |
sqldeploy.parameters.json | 5 years ago |
The ARM template sqldeploy.json
and its parameter file (sqldeploy.parameters.json
) are used to deploy following resources:
You must edit the sqldeploy.parameters.json
file to set login and password of the admin user.
sql_server
is a object parameter that contains the sql server name and the database names. You can leave default values if you want.admin
is a string with the admin logon. You MUST provide a valid valueadminpwd
is a string with the admin password. You MUST provide a valid valueARM script ensures uniqueness of the SQL server created by appending one unique string in its name (defined in the sql_server.name
parameter).
Once parameter file is edited you can deploy it using create-resources script.
i. e. if you are in windows, to deploy sql databases in a new resourcegroup located in westus, go to deploy\az
folder and type:
create-resources.cmd sql\sqldeploy newResourceGroup -c westus