Get-AzDevCenterUserDevBoxCustomizationTaskDefinition

Gets a customization task.

Syntax

Get-AzDevCenterUserDevBoxCustomizationTaskDefinition
   -Endpoint <String>
   -ProjectName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterUserDevBoxCustomizationTaskDefinition
   -Endpoint <String>
   -ProjectName <String>
   -CatalogName <String>
   -TaskName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterUserDevBoxCustomizationTaskDefinition
   -Endpoint <String>
   -InputObject <IDevCenterdataIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterUserDevBoxCustomizationTaskDefinition
   -DevCenterName <String>
   -InputObject <IDevCenterdataIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterUserDevBoxCustomizationTaskDefinition
   -DevCenterName <String>
   -ProjectName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterUserDevBoxCustomizationTaskDefinition
   -DevCenterName <String>
   -ProjectName <String>
   -CatalogName <String>
   -TaskName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Gets a customization task.

Examples

Example 1: List customization tasks by endpoint

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

This command lists customization tasks in the project "DevProject".

Example 2: List customization tasks by dev center

Get-AzDevCenterUserDevBoxCustomizationTaskDefinition -DevCenterName Contoso -ProjectName DevProject

This command lists customization tasks in the project "DevProject".

Example 3: Get a customization task by endpoint

Get-AzDevCenterUserDevBoxCustomizationTaskDefinition -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -ProjectName DevProject -TaskName choco -CatalogName MyCatalog

This command gets a customization task named "choco" for the catalog "MyCatalog" in the project "DevProject".

Example 4: Get a customization task by dev center

Get-AzDevCenterUserDevBoxCustomizationTaskDefinition -DevCenterName Contoso -ProjectName DevProject -TaskName choco -CatalogName MyCatalog

This command gets a customization task named "choco" for the catalog "MyCatalog" in the project "DevProject".

Example 5: Get a customization task by endpoint and InputObject

$customizationTaskInput = @{"TaskName" = "choco"; "ProjectName" ="DevProject"; "CatalogName" = "MyCatalog" }
Get-AzDevCenterUserDevBoxCustomizationTaskDefinition -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -InputObject $customizationTaskInput

This command gets a customization task named "choco" for the catalog "MyCatalog" in the project "DevProject".

Example 6: Get a customization task by dev center and InputObject

$customizationTaskInput = @{"TaskName" = "choco"; "ProjectName" = "DevProject"; "CatalogName" = "MyCatalog" }
Get-AzDevCenterUserDevBoxCustomizationTaskDefinition -DevCenterName Contoso -InputObject $customizationTaskInput

This command gets a customization task named "choco" for the catalog "MyCatalog" in the project "DevProject".

Parameters

-CatalogName

Name of the catalog.

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

-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

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

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

-ProjectName

Name of the project.

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

-TaskName

Full name of the task: {catalogName}/{taskName}.

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

Inputs

IDevCenterdataIdentity

Outputs

ICustomizationTaskDefinition