Set-AzAnalysisServicesServer
修改 Analysis Services 伺服器的實例
語法
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
Set-AzAnalysisServicesServer Cmdlet 會修改 Analysis Services 伺服器的實例
範例
範例 1
Set-AzAnalysisServicesServer -Name "testserver" -ResourceGroupName "testgroup" -Tag @{key1 = "value1"; key2 ="value2"} -Administrator "testuser1@contoso.com"
修改 resourcegroup testgroup 中名為 testerver 的伺服器,將標籤設定為 key1:value1 和 key2:value2,並將系統管理員設定為 testuser1@contoso.com
參數
-Administrator
字串,表示要設定為伺服器上系統管理員的使用者或群組逗號分隔清單。 使用者或群組必須指定UPN格式,例如 user@contoso.com 或 groups@contoso.com
類型: | String |
Position: | 4 |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-BackupBlobContainerUri
備份 Analysis Services 伺服器的 Blob 容器 URI
類型: | String |
Position: | 5 |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-Confirm
提示使用者確認是否要執行作業
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultConnectionMode
Analysis Service 伺服器的預設連接模式
類型: | String |
接受的值: | All, Readonly |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DisableBackup
要停用備份 Blob 容器的切換。 若要重新啟用備份 Blob 容器,請提供備份 Blob 容器 Uri 作為 -BackupBlobContainerUri。
類型: | SwitchParameter |
Position: | 5 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-DisassociateGateway
將閘道資源與 Analysis Server 解除關聯
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-FirewallConfig
Analysis 伺服器的防火牆設定
類型: | PsAzureAnalysisServicesFirewallConfig |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-GatewayResourceId
要與 Analysis 伺服器建立關聯的閘道資源標識碼
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-Name
Analysis Services 伺服器的名稱
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-PassThru
如果作業順利完成,將會傳回已刪除的伺服器詳細數據
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ReadonlyReplicaCount
Analysis Service 伺服器的唯讀複本計數
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-ResourceGroupName
伺服器所屬的 Azure 資源群組名稱
類型: | String |
Position: | 1 |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-Sku
伺服器 SKU 的名稱。 支援的值為標準層的 'S0'、'S1'、'S2'、'S4'、'S8'、'S9'、'S8v2'、'S9v2';基本層的 『B1』、『B2』 和開發層的 『D1』。
類型: | String |
Position: | 2 |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-Tag
索引鍵/值組,格式為伺服器上設定為標籤的哈希表。
類型: | Hashtable |
Position: | 3 |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-WhatIf
描述目前作業將執行的動作,而不需要實際執行它們
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
輸出
備註
別名:Set-AzAs