analysisservices

package
v5.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	pulumi.CustomResourceState

	// List of email addresses of admin users.
	AdminUsers pulumi.StringArrayOutput `pulumi:"adminUsers"`
	// URI and SAS token for a blob container to store backups.
	BackupBlobContainerUri pulumi.StringPtrOutput `pulumi:"backupBlobContainerUri"`
	// Indicates if the Power BI service is allowed to access or not.
	EnablePowerBiService pulumi.BoolPtrOutput `pulumi:"enablePowerBiService"`
	// One or more `ipv4FirewallRule` block(s) as defined below.
	Ipv4FirewallRules ServerIpv4FirewallRuleArrayOutput `pulumi:"ipv4FirewallRules"`
	// The Azure location where the Analysis Services Server exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the firewall rule.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	QuerypoolConnectionMode pulumi.StringOutput `pulumi:"querypoolConnectionMode"`
	// 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.StringOutput `pulumi:"resourceGroupName"`
	// The full name of the Analysis Services Server.
	ServerFullName pulumi.StringOutput `pulumi:"serverFullName"`
	// SKU for the Analysis Services Server. Possible values are: `D1`, `B1`, `B2`, `S0`, `S1`, `S2`, `S4`, `S8`, `S9`, `S8v2` and `S9v2`.
	Sku  pulumi.StringOutput    `pulumi:"sku"`
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Analysis Services Server.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/analysisservices"
"github.com/pulumi/pulumi-azure/sdk/v5/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{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = analysisservices.NewServer(ctx, "server", &analysisservices.ServerArgs{
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("S0"),
			AdminUsers: pulumi.StringArray{
				pulumi.String("myuser@domain.tld"),
			},
			EnablePowerBiService: 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
	})
}

```

> **NOTE:** The server resource will automatically be started and stopped during an update if it is in `paused` state.

## 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

```

func GetServer

func GetServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)

GetServer gets an existing Server resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServer

func NewServer(ctx *pulumi.Context,
	name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)

NewServer registers a new resource with the given unique name, arguments, and options.

func (*Server) ElementType

func (*Server) ElementType() reflect.Type

func (*Server) ToServerOutput

func (i *Server) ToServerOutput() ServerOutput

func (*Server) ToServerOutputWithContext

func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput

type ServerArgs

type ServerArgs struct {
	// List of email addresses of admin users.
	AdminUsers pulumi.StringArrayInput
	// URI and SAS token for a blob container to store backups.
	BackupBlobContainerUri pulumi.StringPtrInput
	// Indicates if the Power BI service is allowed to access or not.
	EnablePowerBiService pulumi.BoolPtrInput
	// One or more `ipv4FirewallRule` block(s) as defined below.
	Ipv4FirewallRules ServerIpv4FirewallRuleArrayInput
	// The Azure location where the Analysis Services Server exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the firewall rule.
	Name pulumi.StringPtrInput
	// 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.
	QuerypoolConnectionMode pulumi.StringPtrInput
	// 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.StringInput
	// SKU for the Analysis Services Server. Possible values are: `D1`, `B1`, `B2`, `S0`, `S1`, `S2`, `S4`, `S8`, `S9`, `S8v2` and `S9v2`.
	Sku  pulumi.StringInput
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Server resource.

func (ServerArgs) ElementType

func (ServerArgs) ElementType() reflect.Type

type ServerArray

type ServerArray []ServerInput

func (ServerArray) ElementType

func (ServerArray) ElementType() reflect.Type

func (ServerArray) ToServerArrayOutput

func (i ServerArray) ToServerArrayOutput() ServerArrayOutput

func (ServerArray) ToServerArrayOutputWithContext

func (i ServerArray) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput

type ServerArrayInput

type ServerArrayInput interface {
	pulumi.Input

	ToServerArrayOutput() ServerArrayOutput
	ToServerArrayOutputWithContext(context.Context) ServerArrayOutput
}

ServerArrayInput is an input type that accepts ServerArray and ServerArrayOutput values. You can construct a concrete instance of `ServerArrayInput` via:

ServerArray{ ServerArgs{...} }

type ServerArrayOutput

type ServerArrayOutput struct{ *pulumi.OutputState }

func (ServerArrayOutput) ElementType

func (ServerArrayOutput) ElementType() reflect.Type

func (ServerArrayOutput) Index

func (ServerArrayOutput) ToServerArrayOutput

func (o ServerArrayOutput) ToServerArrayOutput() ServerArrayOutput

func (ServerArrayOutput) ToServerArrayOutputWithContext

func (o ServerArrayOutput) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput

type ServerInput

type ServerInput interface {
	pulumi.Input

	ToServerOutput() ServerOutput
	ToServerOutputWithContext(ctx context.Context) ServerOutput
}

type ServerIpv4FirewallRule

type ServerIpv4FirewallRule struct {
	// Specifies the name of the firewall rule.
	Name string `pulumi:"name"`
	// End of the firewall rule range as IPv4 address.
	RangeEnd string `pulumi:"rangeEnd"`
	// Start of the firewall rule range as IPv4 address.
	RangeStart string `pulumi:"rangeStart"`
}

type ServerIpv4FirewallRuleArgs

type ServerIpv4FirewallRuleArgs struct {
	// Specifies the name of the firewall rule.
	Name pulumi.StringInput `pulumi:"name"`
	// End of the firewall rule range as IPv4 address.
	RangeEnd pulumi.StringInput `pulumi:"rangeEnd"`
	// Start of the firewall rule range as IPv4 address.
	RangeStart pulumi.StringInput `pulumi:"rangeStart"`
}

func (ServerIpv4FirewallRuleArgs) ElementType

func (ServerIpv4FirewallRuleArgs) ElementType() reflect.Type

func (ServerIpv4FirewallRuleArgs) ToServerIpv4FirewallRuleOutput

func (i ServerIpv4FirewallRuleArgs) ToServerIpv4FirewallRuleOutput() ServerIpv4FirewallRuleOutput

func (ServerIpv4FirewallRuleArgs) ToServerIpv4FirewallRuleOutputWithContext

func (i ServerIpv4FirewallRuleArgs) ToServerIpv4FirewallRuleOutputWithContext(ctx context.Context) ServerIpv4FirewallRuleOutput

type ServerIpv4FirewallRuleArray

type ServerIpv4FirewallRuleArray []ServerIpv4FirewallRuleInput

func (ServerIpv4FirewallRuleArray) ElementType

func (ServerIpv4FirewallRuleArray) ToServerIpv4FirewallRuleArrayOutput

func (i ServerIpv4FirewallRuleArray) ToServerIpv4FirewallRuleArrayOutput() ServerIpv4FirewallRuleArrayOutput

func (ServerIpv4FirewallRuleArray) ToServerIpv4FirewallRuleArrayOutputWithContext

func (i ServerIpv4FirewallRuleArray) ToServerIpv4FirewallRuleArrayOutputWithContext(ctx context.Context) ServerIpv4FirewallRuleArrayOutput

type ServerIpv4FirewallRuleArrayInput

type ServerIpv4FirewallRuleArrayInput interface {
	pulumi.Input

	ToServerIpv4FirewallRuleArrayOutput() ServerIpv4FirewallRuleArrayOutput
	ToServerIpv4FirewallRuleArrayOutputWithContext(context.Context) ServerIpv4FirewallRuleArrayOutput
}

ServerIpv4FirewallRuleArrayInput is an input type that accepts ServerIpv4FirewallRuleArray and ServerIpv4FirewallRuleArrayOutput values. You can construct a concrete instance of `ServerIpv4FirewallRuleArrayInput` via:

ServerIpv4FirewallRuleArray{ ServerIpv4FirewallRuleArgs{...} }

type ServerIpv4FirewallRuleArrayOutput

type ServerIpv4FirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (ServerIpv4FirewallRuleArrayOutput) ElementType

func (ServerIpv4FirewallRuleArrayOutput) Index

func (ServerIpv4FirewallRuleArrayOutput) ToServerIpv4FirewallRuleArrayOutput

func (o ServerIpv4FirewallRuleArrayOutput) ToServerIpv4FirewallRuleArrayOutput() ServerIpv4FirewallRuleArrayOutput

func (ServerIpv4FirewallRuleArrayOutput) ToServerIpv4FirewallRuleArrayOutputWithContext

func (o ServerIpv4FirewallRuleArrayOutput) ToServerIpv4FirewallRuleArrayOutputWithContext(ctx context.Context) ServerIpv4FirewallRuleArrayOutput

type ServerIpv4FirewallRuleInput

type ServerIpv4FirewallRuleInput interface {
	pulumi.Input

	ToServerIpv4FirewallRuleOutput() ServerIpv4FirewallRuleOutput
	ToServerIpv4FirewallRuleOutputWithContext(context.Context) ServerIpv4FirewallRuleOutput
}

ServerIpv4FirewallRuleInput is an input type that accepts ServerIpv4FirewallRuleArgs and ServerIpv4FirewallRuleOutput values. You can construct a concrete instance of `ServerIpv4FirewallRuleInput` via:

ServerIpv4FirewallRuleArgs{...}

type ServerIpv4FirewallRuleOutput

type ServerIpv4FirewallRuleOutput struct{ *pulumi.OutputState }

func (ServerIpv4FirewallRuleOutput) ElementType

func (ServerIpv4FirewallRuleOutput) Name

Specifies the name of the firewall rule.

func (ServerIpv4FirewallRuleOutput) RangeEnd

End of the firewall rule range as IPv4 address.

func (ServerIpv4FirewallRuleOutput) RangeStart

Start of the firewall rule range as IPv4 address.

func (ServerIpv4FirewallRuleOutput) ToServerIpv4FirewallRuleOutput

func (o ServerIpv4FirewallRuleOutput) ToServerIpv4FirewallRuleOutput() ServerIpv4FirewallRuleOutput

func (ServerIpv4FirewallRuleOutput) ToServerIpv4FirewallRuleOutputWithContext

func (o ServerIpv4FirewallRuleOutput) ToServerIpv4FirewallRuleOutputWithContext(ctx context.Context) ServerIpv4FirewallRuleOutput

type ServerMap

type ServerMap map[string]ServerInput

func (ServerMap) ElementType

func (ServerMap) ElementType() reflect.Type

func (ServerMap) ToServerMapOutput

func (i ServerMap) ToServerMapOutput() ServerMapOutput

func (ServerMap) ToServerMapOutputWithContext

func (i ServerMap) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput

type ServerMapInput

type ServerMapInput interface {
	pulumi.Input

	ToServerMapOutput() ServerMapOutput
	ToServerMapOutputWithContext(context.Context) ServerMapOutput
}

ServerMapInput is an input type that accepts ServerMap and ServerMapOutput values. You can construct a concrete instance of `ServerMapInput` via:

ServerMap{ "key": ServerArgs{...} }

type ServerMapOutput

type ServerMapOutput struct{ *pulumi.OutputState }

func (ServerMapOutput) ElementType

func (ServerMapOutput) ElementType() reflect.Type

func (ServerMapOutput) MapIndex

func (ServerMapOutput) ToServerMapOutput

func (o ServerMapOutput) ToServerMapOutput() ServerMapOutput

func (ServerMapOutput) ToServerMapOutputWithContext

func (o ServerMapOutput) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput

type ServerOutput

type ServerOutput struct{ *pulumi.OutputState }

func (ServerOutput) AdminUsers added in v5.5.0

func (o ServerOutput) AdminUsers() pulumi.StringArrayOutput

List of email addresses of admin users.

func (ServerOutput) BackupBlobContainerUri added in v5.5.0

func (o ServerOutput) BackupBlobContainerUri() pulumi.StringPtrOutput

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

func (ServerOutput) ElementType

func (ServerOutput) ElementType() reflect.Type

func (ServerOutput) EnablePowerBiService added in v5.5.0

func (o ServerOutput) EnablePowerBiService() pulumi.BoolPtrOutput

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

func (ServerOutput) Ipv4FirewallRules added in v5.5.0

func (o ServerOutput) Ipv4FirewallRules() ServerIpv4FirewallRuleArrayOutput

One or more `ipv4FirewallRule` block(s) as defined below.

func (ServerOutput) Location added in v5.5.0

func (o ServerOutput) Location() pulumi.StringOutput

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

func (ServerOutput) Name added in v5.5.0

func (o ServerOutput) Name() pulumi.StringOutput

Specifies the name of the firewall rule.

func (ServerOutput) QuerypoolConnectionMode added in v5.5.0

func (o ServerOutput) QuerypoolConnectionMode() pulumi.StringOutput

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.

func (ServerOutput) ResourceGroupName added in v5.5.0

func (o ServerOutput) ResourceGroupName() pulumi.StringOutput

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

func (ServerOutput) ServerFullName added in v5.5.0

func (o ServerOutput) ServerFullName() pulumi.StringOutput

The full name of the Analysis Services Server.

func (ServerOutput) Sku added in v5.5.0

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

func (ServerOutput) Tags added in v5.5.0

func (ServerOutput) ToServerOutput

func (o ServerOutput) ToServerOutput() ServerOutput

func (ServerOutput) ToServerOutputWithContext

func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput

type ServerState

type ServerState struct {
	// List of email addresses of admin users.
	AdminUsers pulumi.StringArrayInput
	// URI and SAS token for a blob container to store backups.
	BackupBlobContainerUri pulumi.StringPtrInput
	// Indicates if the Power BI service is allowed to access or not.
	EnablePowerBiService pulumi.BoolPtrInput
	// One or more `ipv4FirewallRule` block(s) as defined below.
	Ipv4FirewallRules ServerIpv4FirewallRuleArrayInput
	// The Azure location where the Analysis Services Server exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the firewall rule.
	Name pulumi.StringPtrInput
	// 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.
	QuerypoolConnectionMode pulumi.StringPtrInput
	// 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.StringPtrInput
	// The full name of the Analysis Services Server.
	ServerFullName pulumi.StringPtrInput
	// SKU for the Analysis Services Server. Possible values are: `D1`, `B1`, `B2`, `S0`, `S1`, `S2`, `S4`, `S8`, `S9`, `S8v2` and `S9v2`.
	Sku  pulumi.StringPtrInput
	Tags pulumi.StringMapInput
}

func (ServerState) ElementType

func (ServerState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL