github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/website/source/docs/providers/azure/r/sql_database_service.html.markdown (about)

     1  ---
     2  layout: "azure"
     3  page_title: "Azure: azure_sql_database_service"
     4  sidebar_current: "docs-azure-sql-database-service"
     5  description: |-
     6      Creates a new SQL Database Service on an Azure Database Server.
     7  ---
     8  
     9  # azure\_sql\_database\_service
    10  
    11  Creates a new SQL database service on an Azure database server.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "azure_sql_database_service" "sql-server" {
    17      name = "terraform-testing-db-renamed"
    18      database_server_name = "flibberflabber"
    19      edition = "Standard"
    20      collation = "SQL_Latin1_General_CP1_CI_AS"
    21      max_size_bytes = "5368709120"
    22      service_level_id = "f1173c43-91bd-4aaa-973c-54e79e15235b"
    23  }
    24  
    25  ```
    26  
    27  ## Argument Reference
    28  
    29  The following arguments are supported:
    30  
    31  * `name` - (Required) The name of the database service.
    32  
    33  * `database_server_name` - (Required) The name of the database server this service
    34      should run on. Changes here force the creation of a new resource.
    35  
    36  * `edition` - (Optional) The edition of the database service. For more information
    37      on each variant, please view [this](https://msdn.microsoft.com/library/azure/dn741340.aspx) link.
    38  
    39  * `collation` - (Optional) The collation to be used within the database service.
    40      Defaults to the standard Latin charset.
    41  
    42  * `max_size_bytes` - (Optional) The maximum size in bytes the database service
    43      should be allowed to expand to. Range depends on the database `edition`
    44      selected above.
    45  
    46  * `service_level_id` - (Optional) The ID corresponding to the service level per
    47      edition. Please refer to [this](https://msdn.microsoft.com/en-us/library/azure/dn505701.aspx) link for more details.
    48  
    49  ## Attributes Reference
    50  
    51  The following attributes are exported:
    52  
    53  * `id` - The database service ID. Coincides with the given `name`.