import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Analysis Services Server. * * ## Example Usage * * ```typescript * 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", * }, * }); * ``` * * > **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. * * ```sh * $ pulumi import azure:analysisservices/server:Server server /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup1/providers/Microsoft.AnalysisServices/servers/server1 * ``` */ export declare class Server extends pulumi.CustomResource { /** * Get an existing Server resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ServerState, opts?: pulumi.CustomResourceOptions): Server; /** * Returns true if the given object is an instance of Server. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Server; /** * List of email addresses of admin users. */ readonly adminUsers: pulumi.Output; /** * URI and SAS token for a blob container to store backups. */ readonly backupBlobContainerUri: pulumi.Output; /** * One or more `ipv4FirewallRule` block(s) as defined below. */ readonly ipv4FirewallRules: pulumi.Output; /** * The Azure location where the Analysis Services Server exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * 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. */ readonly name: pulumi.Output; /** * Indicates if the Power BI service is allowed to access or not. * * > **Note:** `powerBiServiceEnabled` is required when `ipv4FirewallRule` is defined. */ readonly powerBiServiceEnabled: pulumi.Output; /** * 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`. */ readonly querypoolConnectionMode: pulumi.Output; /** * The name of the Resource Group in which the Analysis Services Server should be exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The full name of the Analysis Services Server. */ readonly serverFullName: pulumi.Output; /** * SKU for the Analysis Services Server. Possible values are: `D1`, `B1`, `B2`, `S0`, `S1`, `S2`, `S4`, `S8`, `S9`, `S8v2` and `S9v2`. */ readonly sku: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Server resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ServerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Server resources. */ export interface ServerState { /** * List of email addresses of admin users. */ adminUsers?: pulumi.Input[]>; /** * URI and SAS token for a blob container to store backups. */ backupBlobContainerUri?: pulumi.Input; /** * One or more `ipv4FirewallRule` block(s) as defined below. */ ipv4FirewallRules?: pulumi.Input[]>; /** * The Azure location where the Analysis Services Server exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * Indicates if the Power BI service is allowed to access or not. * * > **Note:** `powerBiServiceEnabled` is required when `ipv4FirewallRule` is defined. */ powerBiServiceEnabled?: pulumi.Input; /** * 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`. */ querypoolConnectionMode?: pulumi.Input; /** * The name of the Resource Group in which the Analysis Services Server should be exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The full name of the Analysis Services Server. */ serverFullName?: pulumi.Input; /** * SKU for the Analysis Services Server. Possible values are: `D1`, `B1`, `B2`, `S0`, `S1`, `S2`, `S4`, `S8`, `S9`, `S8v2` and `S9v2`. */ sku?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Server resource. */ export interface ServerArgs { /** * List of email addresses of admin users. */ adminUsers?: pulumi.Input[]>; /** * URI and SAS token for a blob container to store backups. */ backupBlobContainerUri?: pulumi.Input; /** * One or more `ipv4FirewallRule` block(s) as defined below. */ ipv4FirewallRules?: pulumi.Input[]>; /** * The Azure location where the Analysis Services Server exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * Indicates if the Power BI service is allowed to access or not. * * > **Note:** `powerBiServiceEnabled` is required when `ipv4FirewallRule` is defined. */ powerBiServiceEnabled?: pulumi.Input; /** * 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`. */ querypoolConnectionMode?: pulumi.Input; /** * The name of the Resource Group in which the Analysis Services Server should be exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * SKU for the Analysis Services Server. Possible values are: `D1`, `B1`, `B2`, `S0`, `S1`, `S2`, `S4`, `S8`, `S9`, `S8v2` and `S9v2`. */ sku: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }