你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzOperationalInsightsOperationStatus

获取长时间运行的 Azure 异步操作的状态。

语法

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

说明

获取长时间运行的 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

操作的 ID (Guid)。

类型:String
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

输入

None

输出

PSOperationStatus