Server

class Server : KotlinCustomResource

Manages an Analysis Services Server.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "analysis-services-server-test",
location: "West Europe",
});
const server = new azure.analysisservices.Server("server", {
name: "analysisservicesserver",
location: example.location,
resourceGroupName: example.name,
sku: "S0",
adminUsers: ["myuser@domain.tld"],
powerBiServiceEnabled: true,
ipv4FirewallRules: [{
name: "myRule1",
rangeStart: "210.117.252.0",
rangeEnd: "210.117.252.255",
}],
tags: {
abc: "123",
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="analysis-services-server-test",
location="West Europe")
server = azure.analysisservices.Server("server",
name="analysisservicesserver",
location=example.location,
resource_group_name=example.name,
sku="S0",
admin_users=["myuser@domain.tld"],
power_bi_service_enabled=True,
ipv4_firewall_rules=[{
"name": "myRule1",
"range_start": "210.117.252.0",
"range_end": "210.117.252.255",
}],
tags={
"abc": "123",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "analysis-services-server-test",
Location = "West Europe",
});
var server = new Azure.AnalysisServices.Server("server", new()
{
Name = "analysisservicesserver",
Location = example.Location,
ResourceGroupName = example.Name,
Sku = "S0",
AdminUsers = new[]
{
"myuser@domain.tld",
},
PowerBiServiceEnabled = true,
Ipv4FirewallRules = new[]
{
new Azure.AnalysisServices.Inputs.ServerIpv4FirewallRuleArgs
{
Name = "myRule1",
RangeStart = "210.117.252.0",
RangeEnd = "210.117.252.255",
},
},
Tags =
{
{ "abc", "123" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/analysisservices"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("analysis-services-server-test"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = analysisservices.NewServer(ctx, "server", &analysisservices.ServerArgs{
Name: pulumi.String("analysisservicesserver"),
Location: example.Location,
ResourceGroupName: example.Name,
Sku: pulumi.String("S0"),
AdminUsers: pulumi.StringArray{
pulumi.String("myuser@domain.tld"),
},
PowerBiServiceEnabled: pulumi.Bool(true),
Ipv4FirewallRules: analysisservices.ServerIpv4FirewallRuleArray{
&analysisservices.ServerIpv4FirewallRuleArgs{
Name: pulumi.String("myRule1"),
RangeStart: pulumi.String("210.117.252.0"),
RangeEnd: pulumi.String("210.117.252.255"),
},
},
Tags: pulumi.StringMap{
"abc": pulumi.String("123"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.analysisservices.Server;
import com.pulumi.azure.analysisservices.ServerArgs;
import com.pulumi.azure.analysisservices.inputs.ServerIpv4FirewallRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("analysis-services-server-test")
.location("West Europe")
.build());
var server = new Server("server", ServerArgs.builder()
.name("analysisservicesserver")
.location(example.location())
.resourceGroupName(example.name())
.sku("S0")
.adminUsers("myuser@domain.tld")
.powerBiServiceEnabled(true)
.ipv4FirewallRules(ServerIpv4FirewallRuleArgs.builder()
.name("myRule1")
.rangeStart("210.117.252.0")
.rangeEnd("210.117.252.255")
.build())
.tags(Map.of("abc", "123"))
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: analysis-services-server-test
location: West Europe
server:
type: azure:analysisservices:Server
properties:
name: analysisservicesserver
location: ${example.location}
resourceGroupName: ${example.name}
sku: S0
adminUsers:
- myuser@domain.tld
powerBiServiceEnabled: true
ipv4FirewallRules:
- name: myRule1
rangeStart: 210.117.252.0
rangeEnd: 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.

API Providers

This resource uses the following Azure API Providers:

  • Microsoft.AnalysisServices: 2017-08-01

Import

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

$ pulumi import azure:analysisservices/server:Server server /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup1/providers/Microsoft.AnalysisServices/servers/server1

Properties

Link copied to clipboard
val adminUsers: Output<List<String>>?

List of email addresses of admin users.

Link copied to clipboard

URI and SAS token for a blob container to store backups.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

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

Link copied to clipboard
val location: Output<String>

The Azure location where the Analysis Services Server exists. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>

The name of the Analysis Services Server. Only lowercase Alphanumeric characters allowed, starting with a letter. Changing this forces a new resource to be created.

Link copied to clipboard

Indicates if the Power BI service is allowed to access or not.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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. Defaults to All.

Link copied to clipboard

The name of the Resource Group in which the Analysis Services Server should be exist. Changing this forces a new resource to be created.

Link copied to clipboard
val serverFullName: Output<String>

The full name of the Analysis Services Server.

Link copied to clipboard
val sku: Output<String>

SKU for the Analysis Services Server. Possible values are: D1, B1, B2, S0, S1, S2, S4, S8, S9, S8v2 and S9v2.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>