編集

次の方法で共有


Get-AzOperationalInsightsOperationStatus

Get the status of a long running azure asynchronous operation.

Syntax

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

Description

Get the status of a long running azure asynchronous operation.

Examples

Example 1

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

gets a long running azure asynchronous operation

Parameters

-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

-Location

The region name of operation.

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

-OperationId

The Id (Guid) of the operation.

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

Inputs

None

Outputs

PSOperationStatus