Upravit

Sdílet prostřednictvím


New-AzAnalysisServicesServer

Creates a new Analysis Services server

Syntax

New-AzAnalysisServicesServer
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-Location] <String>
   [-Sku] <String>
   [[-Tag] <Hashtable>]
   [[-Administrator] <String>]
   [[-BackupBlobContainerUri] <String>]
   [-ReadonlyReplicaCount <Int32>]
   [-DefaultConnectionMode <String>]
   [-FirewallConfig <PsAzureAnalysisServicesFirewallConfig>]
   [-GatewayResourceId <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-AzAnalysisServicesServer cmdlet creates a new Analysis Services server

Examples

Example 1

New-AzAnalysisServicesServer -ResourceGroupName "testresourcegroup" -Name "testserver" -Location "West-US" -Sku "S1"

Creates a server named testserver in the Azure region West-US and in resource group testresourcegroup. The sku level for the server will be S1.

Example 2

Creates a new Analysis Services server. (autogenerated)

$rule1 = New-AzAnalysisServicesFirewallRule -FirewallRuleName rule1 -RangeStart 0.0.0.0 -RangeEnd 255.255.255.255
$rule2 = New-AzAnalysisServicesFirewallRule -FirewallRuleName rule2 -RangeStart 6.6.6.6 -RangeEnd 7.7.7.7
$config = New-AzAnalysisServicesFirewallConfig -EnablePowerBIService -FirewallRule $rule1,$rule2
New-AzAnalysisServicesServer -Administrator 'testuser1@contoso.com' -FirewallConfig $config -Location 'West-US' -Name 'testserver' -ResourceGroupName 'testresourcegroup' -Sku 'S1'

Parameters

-Administrator

A string representing a comma separated list of users or groups to be set as administrators on the server. The users or groups need to be specified UPN format e.g. user@contoso.com or groups@contoso.com

Type:String
Position:5
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-BackupBlobContainerUri

The blob container Uri for backup the Analysis Services server

Type:String
Position:6
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts user to confirm whether to perform the operation

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultConnectionMode

Default connection mode of an Analysis service server

Type:String
Accepted values:All, Readonly
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FirewallConfig

Firewall config of an Analysis server

Type:PsAzureAnalysisServicesFirewallConfig
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-GatewayResourceId

Gateway resource Id to associate to an Analysis server

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Location

The Azure region where the Analysis Services server is hosted

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Name of the Analysis Services server

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ReadonlyReplicaCount

Read only replica count of an Analysis service server

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Name of the Azure resource group to which the server belongs

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Sku

The name of the Sku for the server. The supported values are 'S0', 'S1', 'S2', 'S4', 'S8', 'S9', 'S8v2', 'S9v2' for the Standard tier; 'B1', 'B2' for the Basic tier and 'D1' for Development tier.

Type:String
Position:3
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Tag

Key-value pairs in the form of a hash table set as tags on the server.

Type:Hashtable
Position:4
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Describes the actions the current operation will perform without actually performing them

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Hashtable

Int32

PsAzureAnalysisServicesFirewallConfig

Outputs

AzureAnalysisServicesServer

Notes

Alias: New-AzAs