github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/providers/azurerm/r/search_service.html.markdown (about)

     1  ---
     2  layout: "azurerm"
     3  page_title: "Azure Resource Manager: azurerm_search_service"
     4  sidebar_current: "docs-azurerm-resource-search-service"
     5  description: |-
     6    Manage a Search Service.
     7  ---
     8  
     9  # azurerm\_search\_service
    10  
    11  Allows you to manage an Azure Search Service
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "azurerm_resource_group" "test" {
    17     name = "acceptanceTestResourceGroup1"
    18     location = "West US"
    19  }
    20  resource "azurerm_search_service" "test" {
    21      name = "acceptanceTestSearchService1"
    22      resource_group_name = "${azurerm_resource_group.test.name}"
    23      location = "West US"
    24      sku = "standard"
    25  
    26      tags {
    27      	environment = "staging"
    28      	database = "test"
    29      }
    30  }
    31  ```
    32  ## Argument Reference
    33  
    34  The following arguments are supported:
    35  
    36  * `name` - (Required) The name of the Search Service.
    37  
    38  * `resource_group_name` - (Required) The name of the resource group in which to
    39      create the Search Service.
    40  
    41  * `location` - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    42  
    43  * `sku` - (Required) Valid values are `free` and `standard`. `standard2` is also valid, but can only be used when it's enabled on the backend by Microsoft support. `free` provisions the service in shared clusters. `standard` provisions the service in dedicated clusters
    44  
    45  * `replica_count` - (Optional) Default is 1. Valid values include 1 through 12. Valid only when `sku` is `standard`.
    46  
    47  * `partition_count` - (Optional) Default is 1. Valid values include 1, 2, 3, 4, 6, or 12. Valid only when `sku` is `standard`.
    48  
    49  * `tags` - (Optional) A mapping of tags to assign to the resource. 
    50  
    51  ## Attributes Reference
    52  
    53  The following attributes are exported:
    54  
    55  * `id` - The Search Service ID.