Skip to content

Latest commit

 

History

History
114 lines (84 loc) · 2.06 KB

Remove-AnsibleJobTemplate.md

File metadata and controls

114 lines (84 loc) · 2.06 KB
external help file Module Name online version schema
Jagabata.psm.dll-Help.xml
Jagabata.psm
2.0.0

Remove-AnsibleJobTemplate

SYNOPSIS

Remove a JobTemplate.

SYNTAX

Remove-AnsibleJobTemplate [-Id] <UInt64> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Remove a JobTemplate.

Implementation of following API:

  • /api/v2/job_templates/{id}/ (DELETE)

EXAMPLES

Example 1

PS C:\> Remove-AnsibleJobTemplate -Id 4

PARAMETERS

-Force

Ignore confirmination.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Id

JobTemplate ID to be removed.

Type: UInt64
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

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.

INPUTS

System.UInt64

OUTPUTS

None

NOTES

RELATED LINKS

Get-AnsibleJobTemplate

Find-AnsibleJobTemplate

New-AnsibleJobtemplate

Update-AnsibleJobTemplate