| external help file | AzdoAPITools-help.xml |
|---|---|
| Module Name | AzDoAPITools |
| online version | |
| schema | 2.0.0 |
Returns a YAML Prepped PSObject with the triggers of a YAML pipeline based on a(n Array) of Build Definitions
Get-AzDoAPIToolsDefinitionTriggersAsYAMLPrepped [-InputDefinitions] <Array> [<CommonParameters>]
This function takes one or more Build Definition where metadata is present from Get-AzDoAPIToolsDefinitionsTaskGroupsByNamesList or Get-AzDoAPIToolsDefinitionsTaskGroupsByID and extracts the triggers from it and prepare it for conversion use in a YAML Pipeline. If desired use Convert-AzDoAPIToolsYamlObjectToYAMLFile to convert the extracted elements to a seperate yml file.
PS C:\> GGet-AzDoAPIToolsDefinitionTriggersAsYAMLPrepped -InputDefinitions $ArrayOfBuildDefinitionsWill Take The definitions specified in $ArrayOfBuildDefinitions and for each definition will extract the trigger elements from a Build Definition and converts them to a YAML ready PSObject.
Array of Build Definitions with MetaData to be converted to YAML Pipelines
Type: Array
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.