github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/azure/r/sql_database_server.html.markdown (about)

     1  ---
     2  layout: "azure"
     3  page_title: "Azure: azure_sql_database_server"
     4  sidebar_current: "docs-azure-sql-database-server"
     5  description: |-
     6      Allocates a new SQL Database Server on Azure.
     7  ---
     8  
     9  # azure\_sql\_database\_server
    10  
    11  Allocates a new SQL Database Server on Azure.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "azure_sql_database_server" "sql-serv" {
    17      name = "<computed>"
    18      location = "West US"
    19      username = "SuperUser"
    20      password = "SuperSEKR3T"
    21      version = "2.0"
    22      url = "<computed>"
    23  }
    24  ```
    25  
    26  ## Argument Reference
    27  
    28  The following arguments are supported:
    29  
    30  * `name` - (Computed) The name of the database server. It is determined upon
    31      creation as it is randomly-generated per server.
    32  
    33  * `location` - (Required) The location where the database server should be created.
    34      For a list of all Azure locations, please consult [this link](http://azure.microsoft.com/en-us/regions/).
    35  
    36  * `username` - (Required) The username for the administrator of the database server.
    37  
    38  * `password` - (Required) The password for the administrator of the database server.
    39  
    40  * `version` - (Optional) The version of the database server to be used. Can be any
    41      one of `2.0` or `12.0`.
    42  
    43  * `url` - (Computed) The fully qualified domain name of the database server.
    44      Will be of the form `<name>.database.windows.net`.
    45  
    46  ## Attributes Reference
    47  
    48  The following attributes are exported:
    49  
    50  * `id` - The database server ID. Coincides with the randomly-generated `name`.