Bewerken

Delen via


Set-AzAnalysisServicesServer

Modifies an instance of Analysis Services server

Syntax

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

Type:String
Position:4
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:5
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

-DisableBackup

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

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

-DisassociateGateway

Disassociate Gateway resource from an Analysis server

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
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

-Name

Name of the Analysis Services server

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

-PassThru

Will return the deleted server details if the operation completes successfully

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
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:1
Default value:None
Required:False
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:2
Default value:None
Required:False
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:3
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

SwitchParameter

Int32

PsAzureAnalysisServicesFirewallConfig

Outputs

AzureAnalysisServicesServer

Notes

Alias: Set-AzAs