Edit

Share via


Set-AzAnalysisServicesServer

Modifies an instance of Analysis Services server

Syntax

Default (Default)

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

DisableBackup

Set-AzAnalysisServicesServer
    [-Name] <String>
    [[-ResourceGroupName] <String>]
    [[-Sku] <String>]
    [[-Tag] <Hashtable>]
    [[-Administrator] <String>]
    [-PassThru]
    [-DisableBackup]
    [-ReadonlyReplicaCount <Int32>]
    [-DefaultConnectionMode <String>]
    [-FirewallConfig <PsAzureAnalysisServicesFirewallConfig>]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

DisassociateGateway

Set-AzAnalysisServicesServer
    [-Name] <String>
    [[-ResourceGroupName] <String>]
    [[-Sku] <String>]
    [[-Tag] <Hashtable>]
    [[-Administrator] <String>]
    [-PassThru]
    [-ReadonlyReplicaCount <Int32>]
    [-DefaultConnectionMode <String>]
    [-FirewallConfig <PsAzureAnalysisServicesFirewallConfig>]
    [-DisassociateGateway]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Set-AzAnalysisServicesServer cmdlet modifies an instance of Analysis Services server

Examples

Example 1

Set-AzAnalysisServicesServer -Name "testserver" -ResourceGroupName "testgroup" -Tag @{key1 = "value1"; key2 ="value2"} -Administrator "testuser1@contoso.com"

Modifies the server named testserver in resourcegroup testgroup to set the tags as key1:value1 and key2:value2 and administrator to testuser1@contoso.com

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:4
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-BackupBlobContainerUri

The blob container Uri for backup the Analysis Services server

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Default
Position:5
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Confirm

Prompts user to confirm whether to perform the operation

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultConnectionMode

Default connection mode of an Analysis service server

Parameter properties

Type:String
Default value:None
Accepted values:All, Readonly
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-DefaultProfile

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

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisableBackup

The switch to disable backup blob container. To re-enable the backup blob container, please provide the backup blob container Uri as -BackupBlobContainerUri.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

DisableBackup
Position:5
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-DisassociateGateway

Disassociate Gateway resource from an Analysis server

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

DisassociateGateway
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-FirewallConfig

Firewall config of an Analysis server

Parameter properties

Type:PsAzureAnalysisServicesFirewallConfig
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-GatewayResourceId

Gateway resource Id to associate to an Analysis server

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Default
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Name

Name of the Analysis Services server

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-PassThru

Will return the deleted server details if the operation completes successfully

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReadonlyReplicaCount

Read only replica count of an Analysis service server

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-ResourceGroupName

Name of the Azure resource group to which the server belongs

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments: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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Tag

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

Parameter properties

Type:Hashtable
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:3
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Hashtable

SwitchParameter

Int32

PsAzureAnalysisServicesFirewallConfig

Outputs

AzureAnalysisServicesServer

Notes

Alias: Set-AzAs