共用方式為


Get-AzOperationalInsightsOperationStatus

取得長時間執行的 Azure 異步操作狀態。

語法

Get-AzOperationalInsightsOperationStatus
   -Location <String>
   -OperationId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

取得長時間執行的 Azure 異步操作狀態。

範例

範例 1

Get-AzOperationalInsightsOperationStatus -Location "location" -OperationId "op_id"

取得長時間執行的 Azure 異步操作

參數

-DefaultProfile

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

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

-Location

作業的區域名稱。

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

-OperationId

作業的標識碼 (Guid)。

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

輸入

None

輸出

PSOperationStatus