Get-ActionStatusGet-ActionStatus

摘要Synopsis

为具有指定函数名称的操作获取最新动作的状态。Gets the status of the latest action for the operation with the specified function name.

语法Syntax

Get-ActionStatus [[-ActionType] <Object>] [[-FunctionName] <Object>] [-AsJob]

说明Description

为具有指定函数名称的操作获取最新动作的状态。Gets the status of the latest action for the operation with the specified function name.

示例Examples

示例 1Example 1

Get-ActionStatus -FunctionName "Start-SecretRotation"

parametersParameters

-FunctionName-FunctionName

正在为其查询状态的函数的名称。The name of the function for which the status is being queried.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ActionType-ActionType

操作动作的类型名称。Type name of the operation action.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AsJob-AsJob

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

后续步骤Next steps

有关如何访问和使用特权终结点的信息,请参阅使用 Azure Stack Hub 中的特权终结点For information on how to access and use the privileged endpoint, see Use the privileged endpoint in Azure Stack Hub.