Skip to content

Latest commit

 

History

History
99 lines (64 loc) · 3.49 KB

analysis_services_server.html.markdown

File metadata and controls

99 lines (64 loc) · 3.49 KB
subcategory layout page_title description
Analysis Services
azurerm
Azure Resource Manager: azurerm_analysis_services_server
Manages an Analysis Services Server.

azurerm_analysis_services_server

Manages an Analysis Services Server.

Example Usage

resource "azurerm_resource_group" "rg" {
  name     = "analysis-services-server-test"
  location = "northeurope"
}

resource "azurerm_analysis_services_server" "server" {
  name                    = "analysisservicesserver"
  location                = "northeurope"
  resource_group_name     = azurerm_resource_group.rg.name
  sku                     = "S0"
  admin_users             = ["myuser@domain.tld"]
  enable_power_bi_service = true

  ipv4_firewall_rule {
    name        = "myRule1"
    range_start = "210.117.252.0"
    range_end   = "210.117.252.255"
  }

  tags = {
    abc = 123
  }
}

-> NOTE: The server resource will automatically be started and stopped during an update if it is in paused state.

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the Analysis Services Server. Changing this forces a new resource to be created.

  • location - (Required) The Azure location where the Analysis Services Server exists. Changing this forces a new resource to be created.

  • resource_group_name - (Required) The name of the Resource Group in which the Analysis Services Server should be exist. Changing this forces a new resource to be created.

  • sku - (Required) SKU for the Analysis Services Server. Possible values are: D1, B1, B2, S0, S1, S2, S4, S8 and S9

  • admin_users - (Optional) List of email addresses of admin users.

  • querypool_connection_mode - (Optional) Controls how the read-write server is used in the query pool. If this value is set to All then read-write servers are also used for queries. Otherwise with ReadOnly these servers do not participate in query operations.

  • backup_blob_container_uri - (Optional) URI and SAS token for a blob container to store backups.

  • enable_power_bi_service - (Optional) Indicates if the Power BI service is allowed to access or not.

  • ipv4_firewall_rule - (Optional) One or more ipv4_firewall_rule block(s) as defined below.


A ipv4_firewall_rule block supports the following:

  • name - (Required) Specifies the name of the firewall rule.

  • range_start - (Required) Start of the firewall rule range as IPv4 address.

  • range_end - (Required) End of the firewall rule range as IPv4 address.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The ID of the Analysis Services Server.

  • server_full_name - The full name of the Analysis Services Server.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 30 minutes) Used when creating the Analysis Services Server.
  • update - (Defaults to 30 minutes) Used when updating the Analysis Services Server.
  • read - (Defaults to 5 minutes) Used when retrieving the Analysis Services Server.
  • delete - (Defaults to 30 minutes) Used when deleting the Analysis Services Server.

Import

Analysis Services Server can be imported using the resource id, e.g.

terraform import azurerm_analysis_services_server.server /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup1/providers/Microsoft.AnalysisServices/servers/server1