ServerArgs

data class ServerArgs(val adminUsers: Output<List<String>>? = null, val backupBlobContainerUri: Output<String>? = null, val enablePowerBiService: Output<Boolean>? = null, val ipv4FirewallRules: Output<List<ServerIpv4FirewallRuleArgs>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val querypoolConnectionMode: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ServerArgs>

Manages an Analysis Services Server.

Example Usage

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()
.location("West Europe")
.build());
var server = new Server("server", ServerArgs.builder()
.location(example.location())
.resourceGroupName(example.name())
.sku("S0")
.adminUsers("myuser@domain.tld")
.enablePowerBiService(true)
.ipv4FirewallRules(ServerIpv4FirewallRuleArgs.builder()
.name("myRule1")
.rangeStart("210.117.252.0")
.rangeEnd("210.117.252.255")
.build())
.tags(Map.of("abc", 123))
.build());
}
}

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

Constructors

Link copied to clipboard
fun ServerArgs(adminUsers: Output<List<String>>? = null, backupBlobContainerUri: Output<String>? = null, enablePowerBiService: Output<Boolean>? = null, ipv4FirewallRules: Output<List<ServerIpv4FirewallRuleArgs>>? = null, location: Output<String>? = null, name: Output<String>? = null, querypoolConnectionMode: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ServerArgs

Properties

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

List of email addresses of admin users.

Link copied to clipboard
val backupBlobContainerUri: Output<String>? = null

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

Link copied to clipboard
val enablePowerBiService: Output<Boolean>? = null

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

Link copied to clipboard

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

Link copied to clipboard
val location: Output<String>? = null

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>? = null

Specifies the name of the firewall rule.

Link copied to clipboard
val querypoolConnectionMode: Output<String>? = null

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.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

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 sku: Output<String>? = null

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>>? = null

A mapping of tags to assign to the resource.