ServerDetailsArgs

data class ServerDetailsArgs(val asAdministrators: Output<ServerAdministratorsArgs>? = null, val backupBlobContainerUri: Output<String>? = null, val gatewayDetails: Output<GatewayDetailsArgs>? = null, val ipV4FirewallSettings: Output<IPv4FirewallSettingsArgs>? = null, val location: Output<String>? = null, val managedMode: Output<Int>? = null, val querypoolConnectionMode: Output<ConnectionMode>? = null, val resourceGroupName: Output<String>? = null, val serverMonitorMode: Output<Int>? = null, val serverName: Output<String>? = null, val sku: Output<ResourceSkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ServerDetailsArgs>

Represents an instance of an Analysis Services resource. Uses Azure REST API version 2017-08-01. In version 2.x of the Azure Native provider, it used API version 2017-08-01.

Example Usage

Create a server.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var serverDetails = new AzureNative.AnalysisServices.ServerDetails("serverDetails", new()
{
AsAdministrators = new AzureNative.AnalysisServices.Inputs.ServerAdministratorsArgs
{
Members = new[]
{
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com",
},
},
Location = "West US",
ResourceGroupName = "TestRG",
ServerName = "azsdktest",
Sku = new AzureNative.AnalysisServices.Inputs.ResourceSkuArgs
{
Capacity = 1,
Name = "S1",
Tier = AzureNative.AnalysisServices.SkuTier.Standard,
},
Tags =
{
{ "testKey", "testValue" },
},
});
});
package main
import (
analysisservices "github.com/pulumi/pulumi-azure-native-sdk/analysisservices/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := analysisservices.NewServerDetails(ctx, "serverDetails", &analysisservices.ServerDetailsArgs{
AsAdministrators: &analysisservices.ServerAdministratorsArgs{
Members: pulumi.StringArray{
pulumi.String("azsdktest@microsoft.com"),
pulumi.String("azsdktest2@microsoft.com"),
},
},
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("TestRG"),
ServerName: pulumi.String("azsdktest"),
Sku: &analysisservices.ResourceSkuArgs{
Capacity: pulumi.Int(1),
Name: pulumi.String("S1"),
Tier: pulumi.String(analysisservices.SkuTierStandard),
},
Tags: pulumi.StringMap{
"testKey": pulumi.String("testValue"),
},
})
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.azurenative.analysisservices.ServerDetails;
import com.pulumi.azurenative.analysisservices.ServerDetailsArgs;
import com.pulumi.azurenative.analysisservices.inputs.ServerAdministratorsArgs;
import com.pulumi.azurenative.analysisservices.inputs.ResourceSkuArgs;
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 serverDetails = new ServerDetails("serverDetails", ServerDetailsArgs.builder()
.asAdministrators(ServerAdministratorsArgs.builder()
.members(
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com")
.build())
.location("West US")
.resourceGroupName("TestRG")
.serverName("azsdktest")
.sku(ResourceSkuArgs.builder()
.capacity(1)
.name("S1")
.tier("Standard")
.build())
.tags(Map.of("testKey", "testValue"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:analysisservices:ServerDetails azsdktest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}

Constructors

Link copied to clipboard
constructor(asAdministrators: Output<ServerAdministratorsArgs>? = null, backupBlobContainerUri: Output<String>? = null, gatewayDetails: Output<GatewayDetailsArgs>? = null, ipV4FirewallSettings: Output<IPv4FirewallSettingsArgs>? = null, location: Output<String>? = null, managedMode: Output<Int>? = null, querypoolConnectionMode: Output<ConnectionMode>? = null, resourceGroupName: Output<String>? = null, serverMonitorMode: Output<Int>? = null, serverName: Output<String>? = null, sku: Output<ResourceSkuArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard

A collection of AS server administrators

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

The SAS container URI to the backup container.

Link copied to clipboard
val gatewayDetails: Output<GatewayDetailsArgs>? = null

The gateway details configured for the AS server.

Link copied to clipboard

The firewall settings for the AS server.

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

Location of the Analysis Services resource.

Link copied to clipboard
val managedMode: Output<Int>? = null

The managed mode of the server (0 = not managed, 1 = managed).

Link copied to clipboard

How the read-write server's participation in the query pool is controlled.
It can have the following values:

  • readOnly - indicates that the read-write server is intended not to participate in query operations
  • all - indicates that the read-write server can participate in query operations
Specifying readOnly when capacity is 1 results in error.

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

The name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90.

Link copied to clipboard
val serverMonitorMode: Output<Int>? = null

The server monitor mode for AS server

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

The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.

Link copied to clipboard
val sku: Output<ResourceSkuArgs>? = null

The SKU of the Analysis Services resource.

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

Key-value pairs of additional resource provisioning properties.

Functions

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