Edit

Share via


Get-AzDevCenterUserDevCenterApproval

Gets a list of Dev Box creations that are pending approval.

Syntax

List (Default)

Get-AzDevCenterUserDevCenterApproval
    -Endpoint <String>
    -ProjectName <String>
    [-Maxpagesize <Int32>]
    [-Select <String[]>]
    [-Skip <Int32>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

ListByDevCenter

Get-AzDevCenterUserDevCenterApproval
    -DevCenterName <String>
    -ProjectName <String>
    [-Maxpagesize <Int32>]
    [-Select <String[]>]
    [-Skip <Int32>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Gets a list of Dev Box creations that are pending approval.

Examples

Example 1: Get all pending Dev Box approvals by endpoint

Get-AzDevCenterUserDevCenterApproval `
  -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" `
  -ProjectName "DevProject"

This command gets all pending Dev Box creation approvals for the project "DevProject" using the specified endpoint.

Example 2: Get all pending Dev Box approvals by dev center name

Get-AzDevCenterUserDevCenterApproval `
  -DevCenterName "ContosoDevCenter" `
  -ProjectName "DevProject"

This command gets all pending Dev Box creation approvals for the project "DevProject" using the dev center name.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DevCenterName

The DevCenter upon which to execute operations.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:DevCenter

Parameter sets

ListByDevCenter
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Endpoint

The DevCenter-specific URI to operate on.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Maxpagesize

The maximum number of result items per page.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProjectName

Name of the project.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Select

Select the specified fields to be included in the response.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Skip

The number of result items to skip.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Outputs

IApproval