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
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 |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The blob container Uri for backup the Analysis Services server
| Type: | String |
| Position: | 6 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Prompts user to confirm whether to perform the operation
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Default connection mode of an Analysis service server
| Type: | String |
| Accepted values: | All, Readonly |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Firewall config of an Analysis server
| Type: | PsAzureAnalysisServicesFirewallConfig |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Gateway resource Id to associate to an Analysis server
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The Azure region where the Analysis Services server is hosted
| Type: | String |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Name of the Analysis Services server
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Read only replica count of an Analysis service server
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Name of the Azure resource group to which the server belongs
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
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 |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Key-value pairs in the form of a hash table set as tags on the server.
| Type: | Hashtable |
| Position: | 4 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Describes the actions the current operation will perform without actually performing them
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
PsAzureAnalysisServicesFirewallConfig
Outputs
Notes
Alias: New-AzAs
Related Links
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ