external help file | Module Name | online version | schema |
---|---|---|---|
Jagabata.psm.dll-Help.xml |
Jagabata.psm |
2.0.0 |
Invoke (update) Project.
Start-AnsibleProjectUpdate [-Id] <UInt64> [<CommonParameters>]
Start-AnsibleProjectUpdate [-Id] <UInt64> [-Check] [<CommonParameters>]
Start-AnsibleProjectUpdate [-Project] <IResource> [<CommonParameters>]
Start-AnsibleProjectUpdate [-Project] <IResource> [-Check] [<CommonParameters>]
Update a Project.
This command only sends a request to update Project, not wait for the job is completed.
So, the returned job object will be non-completed status.
Use Wait-AnsibleUnifiedJob
command to wait for the job to complete later.
Implementation of following API:
/api/v2/projects/{id}/update/
PS C:\> Invoke-AnsibleProjectUpdate -Id 8
Id Type Name JobType LaunchType Status Finished Elapsed LaunchedBy Template Note
-- ---- ---- ------- ---------- ------ -------- ------- ---------- -------- ----
100 ProjectUpdate proj_1 Check Manual Pending 2024/08/06 15:34:34 1.888 [user][1]admin [8][git]proj_1 {[Branch, master], [Revision, ***], [Url, ***]}
Update a Project ID 8.
Check wheter a Project can be updated.
Type: SwitchParameter
Parameter Sets: CheckId, CheckProject
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Project ID to be updated.
Type: UInt64
Parameter Sets: Id, CheckId
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Project object to be updated.
Type: IResource
Parameter Sets: Project, CheckProject
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.
Project ID to be updated.
Project object to be updated.
The result job object of updated the Project (non-completed status).
Results of checked wheter the Project can be updated.