az hack
Commands to manage resources commonly used for student hacks.
Commands
az hack create |
Create resources commonly used for a student hack, including a website, database, and artificial intelligence. |
az hack show |
Display settings for created resources, including database name and password, Git url, and website url. |
az hack create
Create resources commonly used for a student hack, including a website, database, and artificial intelligence.
az hack create --location
--name
--runtime {aspnet, jetty, node, php, python, tomcat}
[--ai]
[--database {cosmosdb, mysql, sql}]
Examples
Create website using Python and MySQL
az hack create --name samplename --runtime python --location westus2 --database mysql
Create website using Node.js, SQL and Cognitive Services key
az hack create --name samplename --runtime node --location westus2 --database sql --ai
Required Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Base name of resources; random charagers will be appended.
Runtime.
Optional Parameters
Enable Azure Cognitive Services.
Database type - { sql | mysql | cosmosdb }.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az hack show
Display settings for created resources, including database name and password, Git url, and website url.
az hack show --name
Examples
Display settings
az hack show --name samplename
Required Parameters
Name of the application.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.