Get-AzDevCenterUserEnvironmentType

Lists all environment types configured for a project.

Syntax

Get-AzDevCenterUserEnvironmentType
   -Endpoint <String>
   -ProjectName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterUserEnvironmentType
   -DevCenterName <String>
   -ProjectName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Lists all environment types configured for a project.

Examples

Example 1: List environment types by endpoint and project

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

This command lists environment types under the project "DevProject".

Example 2: List environment types by dev center and project

Get-AzDevCenterUserEnvironmentType -DevCenterName Contoso -ProjectName DevProject

This command lists environment types under the project "DevProject".

Parameters

-DefaultProfile

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

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DevCenterName

The DevCenter upon which to execute operations.

Type:String
Aliases:DevCenter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Endpoint

The DevCenter-specific URI to operate on.

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

-ProjectName

The DevCenter Project upon which to execute operations.

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

Outputs

IEnvironmentType