Azure / azure-spring-apps-landing-zone-accelerator

The Azure Spring Apps landing zone accelerator is an open-source collection of architectural guidance and reference implementation to accelerate deployment of Azure Spring Apps at scale.
MIT License
80 stars 76 forks source link

Input parameters - syntax restrictions #53

Closed selvasingh closed 3 years ago

selvasingh commented 3 years ago

Shall we document the syntax restrictions by referencing relevant published documents on docs.microsoft.com? Particularly for:

VM admin name VM admin password MySQL admin name MySQL admin password

Here is a sample output of Azure CLI script run:

{- Finished ..
  "dnsName": "bst-792b9eda-e643-4ac5-8fb6-22f6aed909a2.bastion.azure.com",
  "etag": "W/\"a2854bdc-e636-424a-9be6-da89b2ec9898\"",
  "id": "/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/sc-corp-rg/providers/Microsoft.Network/bastionHosts/corp-bastion-svc",
  "ipConfigurations": [
    {
      "etag": "W/\"a2854bdc-e636-424a-9be6-da89b2ec9898\"",
      "id": "/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/sc-corp-rg/providers/Microsoft.Network/bastionHosts/corp-bastion-svc/bastionHostIpConfigurations/bastion_ip_config",
      "name": "bastion_ip_config",
      "privateIpAllocationMethod": "Dynamic",
      "provisioningState": "Succeeded",
      "publicIpAddress": {
        "id": "/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/sc-corp-rg/providers/Microsoft.Network/publicIPAddresses/azure-bastion-ip",
        "resourceGroup": "sc-corp-rg"
      },
      "resourceGroup": "sc-corp-rg",
      "subnet": {
        "id": "/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/sc-corp-rg/providers/Microsoft.Network/virtualNetworks/vnet-hub/subnets/AzureBastionSubnet",
        "resourceGroup": "sc-corp-rg"
      },
      "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations"
    }
  ],
  "location": "eastus2",
  "name": "corp-bastion-svc",
  "provisioningState": "Succeeded",
  "resourceGroup": "sc-corp-rg",
  "tags": null,
  "type": "Microsoft.Network/bastionHosts"
}
The password length must be between 12 and 123. Password must have the 3 of the following: 1 lower case character, 1 upper case character, 1 number and 1 special character.
djr1991 commented 3 years ago

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/faq#are-there-any-computer-name-requirements can be used for VM's. Cant find any admin user or password syntax for MySQL Db. Do you have one you want us to link to?

selvasingh commented 3 years ago

image

Buried in at https://docs.microsoft.com/en-us/azure/mysql/quickstart-create-mysql-server-database-using-azure-cli#create-an-azure-database-for-mysql-server

djr1991 commented 3 years ago

Added syntax links to readme