Skip to content

Get AzDevOpsEnvironmentChecks

github-actions edited this page Sep 17, 2023 · 4 revisions

Get-AzDevOpsEnvironmentChecks

SYNOPSIS

Get all checks for an Azure Pipelines environment

SYNTAX

Get-AzDevOpsEnvironmentChecks [[-PAT] <String>] [[-Organization] <String>] [[-Project] <String>]
 [[-Environment] <String>] [<CommonParameters>]

DESCRIPTION

Get all checks for an Azure Pipelines environment using Azure DevOps Rest API

EXAMPLES

EXAMPLE 1

Get-AzDevOpsEnvironmentChecks -PAT $PAT -Organization $Organization -Project $Project -Environment $Environment

PARAMETERS

-PAT

Personal Access Token (PAT) for Azure DevOps

Type: String
Parameter Sets: (All)
Aliases:

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

-Organization

Organization name for Azure DevOps

Type: String
Parameter Sets: (All)
Aliases:

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

-Project

Project name for Azure DevOps

Type: String
Parameter Sets: (All)
Aliases:

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

-Environment

Environment name for Azure DevOps

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Returns an empty array if no checks are found

RELATED LINKS

https://learn.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/check-configurations/list?view=azure-devops-rest-7.2&tabs=HTTP

Clone this wiki locally