Edit

Share via


Get-AzDevCenterUserDevBoxImagingTaskLog

Gets the log for an imaging build task.

Syntax

Get (Default)

Get-AzDevCenterUserDevBoxImagingTaskLog
    -Endpoint <String>
    -ImageBuildLogId <String>
    -ProjectName <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzDevCenterUserDevBoxImagingTaskLog
    -Endpoint <String>
    -InputObject <IDevCenterdataIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetByDevCenter

Get-AzDevCenterUserDevBoxImagingTaskLog
    -DevCenterName <String>
    -ImageBuildLogId <String>
    -ProjectName <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentityByDevCenter

Get-AzDevCenterUserDevBoxImagingTaskLog
    -DevCenterName <String>
    -InputObject <IDevCenterdataIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Gets the log for an imaging build task.

Examples

Example 1: Get the log for an imaging build task by endpoint

Get-AzDevCenterUserDevBoxImagingTaskLog `
  -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" `
  -ProjectName "DevProject" `
  -ImageBuildLogId "12345678-aaaa-bbbb-cccc-1234567890ab"

This command gets the log for the imaging build task with ID "12345678-aaaa-bbbb-cccc-1234567890ab" in the project "DevProject" using the endpoint.

Example 2: Get the log for an imaging build task by dev center name

Get-AzDevCenterUserDevBoxImagingTaskLog `
  -DevCenterName "ContosoDevCenter" `
  -ProjectName "DevProject" `
  -ImageBuildLogId "12345678-aaaa-bbbb-cccc-1234567890ab"

This command gets the log for the imaging build task with ID "12345678-aaaa-bbbb-cccc-1234567890ab" in the project "DevProject" using the dev center name.

Example 3: Get the log for an imaging build task using InputObject and endpoint

$logInput = @{
    ProjectName = "DevProject"
    ImageBuildLogId = "12345678-aaaa-bbbb-cccc-1234567890ab"
}
Get-AzDevCenterUserDevBoxImagingTaskLog `
  -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" `
  -InputObject $logInput

This command gets the log for the imaging build task using the endpoint and an identity object.

Example 4: Get the log for an imaging build task using InputObject and dev center name

$logInput = @{
    ProjectName = "DevProject"
    ImageBuildLogId = "12345678-aaaa-bbbb-cccc-1234567890ab"
}
Get-AzDevCenterUserDevBoxImagingTaskLog `
  -DevCenterName "ContosoDevCenter" `
  -InputObject $logInput

This command gets the log for the imaging build task using the dev center name and an identity object.

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

GetByDevCenter
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GetViaIdentityByDevCenter
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

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

-ImageBuildLogId

An imaging build log id.

Parameter properties

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

Parameter sets

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

-InputObject

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

Parameter properties

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

Parameter sets

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

-ProjectName

The DevCenter Project upon which to execute operations.

Parameter properties

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

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GetByDevCenter
Position:Named
Mandatory:True
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.

Inputs

IDevCenterdataIdentity

Outputs

String