Server Details
Represents an instance of an Analysis Services resource. 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 = "Standard",
},
Tags =
{
{ "testKey", "testValue" },
},
});
});
Content copied to clipboard
package main
import (
analysisservices "github.com/pulumi/pulumi-azure-native-sdk/analysisservices"
"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("Standard"),
},
Tags: pulumi.StringMap{
"testKey": pulumi.String("testValue"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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 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(Map.of("members",
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"))
.location("West US")
.resourceGroupName("TestRG")
.serverName("azsdktest")
.sku(Map.ofEntries(
Map.entry("capacity", 1),
Map.entry("name", "S1"),
Map.entry("tier", "Standard")
))
.tags(Map.of("testKey", "testValue"))
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:analysisservices:ServerDetails azsdktest /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.AnalysisServices/servers/azsdktest
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard