external help file | Module Name | online version | schema |
---|---|---|---|
AzDevOps-help.xml |
AzDevOps |
2.0.0 |
Gets an operation from the the operationId using the given pluginId.
Get-AdoOperation [-OperationId] <Guid> [[-ApiVersion] <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Operations provide a way to monitor the process of an async task. This function gets an operation from the the operationId using the given pluginId. Some scenarios don't require a pluginId. If a pluginId is not included in the call then just the operationId will be used to find an operation.
EXAMPLES
PS C:\> Get-AdoOperations -OperationId 'c92521c2-5599-4a87-aec6-58afe7b14444'
id status url _links
-- ------ --- ------
c92521c2-5599-4a87-aec6-58afe7b14444 succeeded https://dev.azure.com/patton-tech/_apis/operations/c92521c2-5599-4a87-aec6-58afe7b14444 @{self=}
Get the status of a running operation
A valid API Version for this endpoint
Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: 5.1, 7.1-preview.1, 7.2-preview.1
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This is a GUID that is returned from some Post/Patch/Delete method
Type: System.Guid
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: System.Management.Automation.ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.