Azure Analysis Services Server
This page shows how to write Terraform and Azure Resource Manager for Analysis Services Server and write them securely.
azurerm_analysis_services_server (Terraform)
The Server in Analysis Services can be configured in Terraform with the resource name azurerm_analysis_services_server
. The following sections describe 9 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_analysis_services_server" "module" {
name = var.analysis_name
location = var.analysis_location
resource_group_name = var.rg_name
sku = var.analysis_sku
admin_users = var.analysis_admins
resource "azurerm_analysis_services_server" "server" {
name = var.analysis_service_name
location = data.azurerm_resource_group.rg.location
resource_group_name = data.azurerm_resource_group.rg.name
sku = var.sku
backup_blob_container_uri = var.backup_container_url
resource "azurerm_analysis_services_server" "server" {
name = "analysisservicesserver"
location = azurerm_resource_group.tfimportarticle.location
resource_group_name = azurerm_resource_group.tfimportarticle.name
sku = "S0"
admin_users = ["myuser@domain.tld"]
resource "azurerm_analysis_services_server" "default" {
name = var.name
location = var.location
resource_group_name = var.resource_group_name
sku = var.sku
admin_users = var.admin_users
resource "azurerm_analysis_services_server" "this" {
admin_users = var.admin_users
backup_blob_container_uri = var.backup_blob_container_uri
enable_power_bi_service = var.enable_power_bi_service
location = var.location
name = var.name
resource "azurerm_analysis_services_server" "analysis_services_server" {
count = length(var.analysis_services_server)
location = element(var.location, lookup(var.analysis_services_server[count.index], "location_id"))
name = lookup(var.analysis_services_server[count.index], "name")
resource_group_name = element(var.resource_group_name, lookup(var.analysis_services_server[count.index], "resource_group_id"))
sku = lookup(var.analysis_services_server[count.index], "sku")
resource "azurerm_analysis_services_server" "server" {
name = var.analysis_services_server_full_name
location = var.location
resource_group_name = var.resource_group_name
sku = var.analysis_services_server_sku
admin_users = var.analysis_services_server_admin_users
resource "azurerm_analysis_services_server" "this" {
admin_users = var.admin_users
backup_blob_container_uri = var.backup_blob_container_uri
enable_power_bi_service = var.enable_power_bi_service
location = var.location
name = var.name
resource "azurerm_analysis_services_server" "serveranalisys" {
name = "analysisservicesserver"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
sku = "S0"
enable_power_bi_service = true
Parameters
-
admin_users
optional - set of string -
backup_blob_container_uri
optional - string -
enable_power_bi_service
optional - bool -
id
optional computed - string -
location
required - string -
name
required - string -
querypool_connection_mode
optional computed - string -
resource_group_name
required - string -
server_full_name
optional computed - string -
sku
required - string -
tags
optional - map from string to string -
ipv4_firewall_rule
set block-
name
required - string -
range_end
required - string -
range_start
required - string
-
-
timeouts
single block
Explanation in Terraform Registry
Manages an Analysis Services Server.
Microsoft.AnalysisServices/servers (Azure Resource Manager)
The servers in Microsoft.AnalysisServices can be configured in Azure Resource Manager with the resource name Microsoft.AnalysisServices/servers
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersion
required - stringlocation
required - stringLocation of the Analysis Services resource.
name
required - stringThe name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.
properties
requiredasAdministrators
optionalmembers
optional - arrayAn array of administrator user identities.
backupBlobContainerUri
optional - stringThe SAS container URI to the backup container.
gatewayDetails
optionalgatewayResourceId
optional - stringGateway resource to be associated with the server.
ipV4FirewallSettings
optionalenablePowerBIService
optional - booleanThe indicator of enabling PBI service.
firewallRules
optional arrayfirewallRuleName
optional - stringThe rule name.
rangeEnd
optional - stringThe end range of IPv4.
rangeStart
optional - stringThe start range of IPv4.
managedMode
optional - integerThe managed mode of the server (0 = not managed, 1 = managed).
querypoolConnectionMode
optional - stringHow the read-write server's participation in the query pool is controlled.<br/>It can have the following values: <ul><li>readOnly - indicates that the read-write server is intended not to participate in query operations</li><li>all - indicates that the read-write server can participate in query operations</li></ul>Specifying readOnly when capacity is 1 results in error.
serverMonitorMode
optional - integerThe server monitor mode for AS server
sku
optionalcapacity
optional - integerThe number of instances in the read only query pool.
name
required - stringName of the SKU level.
tier
optional - stringThe name of the Azure pricing tier to which the SKU applies.
sku
requiredcapacity
optional - integerThe number of instances in the read only query pool.
name
required - stringName of the SKU level.
tier
optional - stringThe name of the Azure pricing tier to which the SKU applies.
tags
optional - stringKey-value pairs of additional resource provisioning properties.
type
required - string
Frequently asked questions
What is Azure Analysis Services Server?
Azure Analysis Services Server is a resource for Analysis Services of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Analysis Services Server?
For Terraform, the jessewilk/terraform, chaitanya867/KPMG-a.txt and charotAmine/AzureCostEstimator-back source code examples are useful. See the Terraform Example section for further details.