external help file | Module Name | online version | schema |
---|---|---|---|
Jagabata.psm.dll-Help.xml |
Jagabata.psm |
2.0.0 |
Approve requests for WorkflowApproval.
Approve-AnsibleWorkflowApprovalRequest [-Id] <UInt64> [<CommonParameters>]
Approve requests for pending WorkflowApprovals. And output the results for jobs of those.
Implements following Rest API:
/api/v2/workflow_approvals/{id}/approve/
PS C:\> Approve-AnsibleWorkflowApprovalRequest -Id 1
Approve the WorkflowApproval of ID 1.
PS C:\> Find-AnsibleWorkflowApprovalRequest -Status pending | Approve-AnsibleWorkflowApprovalRequest
Approve all pending WorkflowApprovals.
Database ID for the WorkflowApproval.
Type: UInt64
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Input by Type
property in the pipeline object.
Acceptable values: WorkflowApproval
(only)
Input by Id
property in the pipeline object.
Database ID for WorkflowApproval