共用方式為


Suspend-AzureRmPowerBIEmbeddedCapacity

暫停 PowerBI Embedded 容量的實例。

警告

自 2024 年 2 月 29 日起,AzureRM PowerShell 模組已正式淘汰。 建議使用者從 AzureRM 遷移至 Az PowerShell 模組,以確保持續支援和更新。

雖然 AzureRM 模組可能仍可運作,但不再維護或支援它,但會根據用戶的判斷權和風險放置任何繼續使用。 如需轉換至 Az 模組的指引,請參閱我們的 移轉資源

語法

Suspend-AzureRmPowerBIEmbeddedCapacity
       [-Name] <String>
       [-ResourceGroupName <String>]
       [-PassThru]
       [-DefaultProfile <IAzureContextContainer>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Suspend-AzureRmPowerBIEmbeddedCapacity
       [-ResourceId] <String>
       [-PassThru]
       [-DefaultProfile <IAzureContextContainer>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Suspend-AzureRmPowerBIEmbeddedCapacity
       [-InputObject] <PSPowerBIEmbeddedCapacity>
       [-PassThru]
       [-DefaultProfile <IAzureContextContainer>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

Suspend-AzureRmPowerBIEmbeddedCapacity Cmdlet 會暫停 PowerBI Embedded 容量的實例

範例

範例 1

PS C:\> Suspend-AzureRmPowerBIEmbeddedCapacity -Name "testcapacity" -ResourceGroupName "testRG" -PassThru
Type                   : Microsoft.PowerBIDedicated/capacities
Id                     : /subscriptions/78e47976-.../resourceGroups/testRG/providers/Microsoft.PowerBIDedicated/capacities/testcapacity
ResourceGroup          : testRG
Name                   : testcapacity
Location               : West Central US
State                  : Paused
Administrator          : {admin@microsoft.com}
Sku                    : A1
Tier                   : PBIE_Azure
Tag                    : {}

此命令會在 resourcegroup testgroup 中暫停名為 testcapacity 的作用中容量

參數

-Confirm

提示使用者確認是否要執行作業

類型:SwitchParameter
別名:cf
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

Piping 的輸入物件

類型:PSPowerBIEmbeddedCapacity
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Name

PowerBI Embedded 容量的名稱

類型:String
Position:0
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-PassThru

{{Fill PassThru Description}}

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

容量所屬的 Azure 資源群組名稱

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ResourceId

Azure 資源標識碼

類型:String
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-WhatIf

描述目前作業將執行的動作,而不需要實際執行它們

類型:SwitchParameter
別名:wi
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

String

PSPowerBIEmbeddedCapacity

參數:InputObject (ByValue)

輸出

PSPowerBIEmbeddedCapacity