Documentation ¶
Index ¶
- type Server
- func (*Server) ElementType() reflect.Type
- func (i *Server) ToServerOutput() ServerOutput
- func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput
- func (i *Server) ToServerPtrOutput() ServerPtrOutput
- func (i *Server) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
- type ServerArgs
- type ServerArray
- type ServerArrayInput
- type ServerArrayOutput
- type ServerInput
- type ServerIpv4FirewallRule
- type ServerIpv4FirewallRuleArgs
- type ServerIpv4FirewallRuleArray
- func (ServerIpv4FirewallRuleArray) ElementType() reflect.Type
- func (i ServerIpv4FirewallRuleArray) ToServerIpv4FirewallRuleArrayOutput() ServerIpv4FirewallRuleArrayOutput
- func (i ServerIpv4FirewallRuleArray) ToServerIpv4FirewallRuleArrayOutputWithContext(ctx context.Context) ServerIpv4FirewallRuleArrayOutput
- type ServerIpv4FirewallRuleArrayInput
- type ServerIpv4FirewallRuleArrayOutput
- func (ServerIpv4FirewallRuleArrayOutput) ElementType() reflect.Type
- func (o ServerIpv4FirewallRuleArrayOutput) Index(i pulumi.IntInput) ServerIpv4FirewallRuleOutput
- func (o ServerIpv4FirewallRuleArrayOutput) ToServerIpv4FirewallRuleArrayOutput() ServerIpv4FirewallRuleArrayOutput
- func (o ServerIpv4FirewallRuleArrayOutput) ToServerIpv4FirewallRuleArrayOutputWithContext(ctx context.Context) ServerIpv4FirewallRuleArrayOutput
- type ServerIpv4FirewallRuleInput
- type ServerIpv4FirewallRuleOutput
- func (ServerIpv4FirewallRuleOutput) ElementType() reflect.Type
- func (o ServerIpv4FirewallRuleOutput) Name() pulumi.StringOutput
- func (o ServerIpv4FirewallRuleOutput) RangeEnd() pulumi.StringOutput
- func (o ServerIpv4FirewallRuleOutput) RangeStart() pulumi.StringOutput
- func (o ServerIpv4FirewallRuleOutput) ToServerIpv4FirewallRuleOutput() ServerIpv4FirewallRuleOutput
- func (o ServerIpv4FirewallRuleOutput) ToServerIpv4FirewallRuleOutputWithContext(ctx context.Context) ServerIpv4FirewallRuleOutput
- type ServerMap
- type ServerMapInput
- type ServerMapOutput
- type ServerOutput
- func (ServerOutput) ElementType() reflect.Type
- func (o ServerOutput) ToServerOutput() ServerOutput
- func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput
- func (o ServerOutput) ToServerPtrOutput() ServerPtrOutput
- func (o ServerOutput) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
- type ServerPtrInput
- type ServerPtrOutput
- type ServerState
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/v4/go/azure/analysisservices" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { rg, err := core.NewResourceGroup(ctx, "rg", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = analysisservices.NewServer(ctx, "server", &analysisservices.ServerArgs{ Location: pulumi.String("northeurope"), ResourceGroupName: rg.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) ToServerOutput ¶
func (i *Server) ToServerOutput() ServerOutput
func (*Server) ToServerOutputWithContext ¶
func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput
func (*Server) ToServerPtrOutput ¶
func (i *Server) ToServerPtrOutput() ServerPtrOutput
func (*Server) ToServerPtrOutputWithContext ¶
func (i *Server) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
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 (o ServerArrayOutput) Index(i pulumi.IntInput) ServerOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ServerIpv4FirewallRuleArrayOutput) Index ¶
func (o ServerIpv4FirewallRuleArrayOutput) Index(i pulumi.IntInput) ServerIpv4FirewallRuleOutput
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) ElementType() reflect.Type
func (ServerIpv4FirewallRuleOutput) Name ¶
func (o ServerIpv4FirewallRuleOutput) Name() pulumi.StringOutput
Specifies the name of the firewall rule.
func (ServerIpv4FirewallRuleOutput) RangeEnd ¶
func (o ServerIpv4FirewallRuleOutput) RangeEnd() pulumi.StringOutput
End of the firewall rule range as IPv4 address.
func (ServerIpv4FirewallRuleOutput) RangeStart ¶
func (o ServerIpv4FirewallRuleOutput) RangeStart() pulumi.StringOutput
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) 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 (o ServerMapOutput) MapIndex(k pulumi.StringInput) ServerOutput
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) ElementType ¶
func (ServerOutput) ElementType() reflect.Type
func (ServerOutput) ToServerOutput ¶
func (o ServerOutput) ToServerOutput() ServerOutput
func (ServerOutput) ToServerOutputWithContext ¶
func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput
func (ServerOutput) ToServerPtrOutput ¶
func (o ServerOutput) ToServerPtrOutput() ServerPtrOutput
func (ServerOutput) ToServerPtrOutputWithContext ¶
func (o ServerOutput) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
type ServerPtrInput ¶
type ServerPtrInput interface { pulumi.Input ToServerPtrOutput() ServerPtrOutput ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput }
type ServerPtrOutput ¶
type ServerPtrOutput struct {
*pulumi.OutputState
}
func (ServerPtrOutput) ElementType ¶
func (ServerPtrOutput) ElementType() reflect.Type
func (ServerPtrOutput) ToServerPtrOutput ¶
func (o ServerPtrOutput) ToServerPtrOutput() ServerPtrOutput
func (ServerPtrOutput) ToServerPtrOutputWithContext ¶
func (o ServerPtrOutput) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
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