Microsoft.DataMovement.Powershell.Commands.DataGateway.Profile.format.ps1xml
<?xml version="1.0" encoding="utf-8" ?>
<Configuration> <SelectionSets> <SelectionSet> <Name>PowerBIErrorRecords</Name> <Types> <TypeName>Microsoft.DataMovement.Powershell.Commands.DataGateway.Profile.Errors.PowerBIErrorRecord</TypeName> <TypeName>Microsoft.DataMovement.Powershell.Commands.DataGateway.Profile.Errors.PowerBIExceptionRecord</TypeName> <TypeName>Microsoft.DataMovement.Powershell.Commands.DataGateway.Profile.Errors.PowerBIRestExceptionRecord</TypeName> </Types> </SelectionSet> </SelectionSets> <ViewDefinitions> <View> <Name>Microsoft.DataMovement.Powershell.Abstractions.Interfaces.PowerBIProfile</Name> <ViewSelectedBy> <TypeName>Microsoft.DataMovement.Powershell.Abstractions.Interfaces.PowerBIProfile</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <Label>Environment</Label> <ScriptBlock>$_.Environment.ToString()</ScriptBlock> </ListItem> <ListItem> <Label>TenantId</Label> <ScriptBlock>$_.TenantId</ScriptBlock> </ListItem> <ListItem> <ItemSelectionCondition> <ScriptBlock>$_.Password -eq $null -and $_.Thumbprint -eq $null</ScriptBlock> </ItemSelectionCondition> <Label>UserName</Label> <ScriptBlock>$_.UserName</ScriptBlock> </ListItem> <ListItem> <ItemSelectionCondition> <ScriptBlock>$_.Password -ne $null -or $_.Thumbprint -ne $null</ScriptBlock> </ItemSelectionCondition> <Label>ClientId</Label> <ScriptBlock>$_.UserName</ScriptBlock> </ListItem> <ListItem> <ItemSelectionCondition> <ScriptBlock>$_.Password -ne $null</ScriptBlock> </ItemSelectionCondition> <Label>Password</Label> <ScriptBlock>"********"</ScriptBlock> </ListItem> <ListItem> <ItemSelectionCondition> <ScriptBlock>$_.Thumbprint -ne $null</ScriptBlock> </ItemSelectionCondition> <Label>CertificateThumbprint</Label> <ScriptBlock>$_.Thumbprint</ScriptBlock> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> <View> <Name>Microsoft.DataMovement.Powershell.Commands.DataGateway.Profile.Errors.PowerBIErrorRecord</Name> <ViewSelectedBy> <SelectionSetName>PowerBIErrorRecords</SelectionSetName> </ViewSelectedBy> <GroupBy> <ScriptBlock>$_.InvocationInfo.HistoryId</ScriptBlock> <Label>HistoryId</Label> </GroupBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <PropertyName>ErrorCategory</PropertyName> </ListItem> <ListItem> <PropertyName>ErrorDetail</PropertyName> </ListItem> <ListItem> <Label>InvocationInfo</Label> <ScriptBlock>"{" + $_.InvocationInfo.MyCommand + "}"</ScriptBlock> </ListItem> <ListItem> <Label>Line</Label> <ScriptBlock>$_.InvocationInfo.Line</ScriptBlock> </ListItem> <ListItem> <Label>Position</Label> <ScriptBlock>$_.InvocationInfo.PositionMessage</ScriptBlock> </ListItem> <ListItem> <Label>BoundParameters</Label> <ScriptBlock>$_.InvocationInfo.BoundParameters</ScriptBlock> </ListItem> <ListItem> <Label>UnboundParameters</Label> <ScriptBlock>$_.InvocationInfo.UnboundParameters</ScriptBlock> </ListItem> <ListItem> <Label>HistoryId</Label> <ScriptBlock>$_.InvocationInfo.HistoryId</ScriptBlock> </ListItem> </ListItems> </ListEntry> <ListEntry> <EntrySelectedBy> <SelectionCondition> <SelectionSetName>PowerBIErrorRecords</SelectionSetName> <ScriptBlock>$_.GetType() -eq [Microsoft.DataMovement.Powershell.Commands.DataGateway.Profile.Errors.PowerBIRestExceptionRecord]</ScriptBlock> </SelectionCondition> </EntrySelectedBy> <ListItems> <ListItem> <PropertyName>RequestId</PropertyName> </ListItem> <ListItem> <PropertyName>Response</PropertyName> </ListItem> <ListItem> <PropertyName>PowerBIErrorInfo</PropertyName> </ListItem> <ListItem> <PropertyName>ResponseDate</PropertyName> </ListItem> <ListItem> <PropertyName>RequestMethod</PropertyName> </ListItem> <ListItem> <PropertyName>RequestUri</PropertyName> </ListItem> <ListItem> <Label>InvocationInfo</Label> <ScriptBlock>"{" + $_.InvocationInfo.MyCommand + "}"</ScriptBlock> </ListItem> <ListItem> <Label>Line</Label> <ScriptBlock>$_.InvocationInfo.Line</ScriptBlock> </ListItem> <ListItem> <Label>Position</Label> <ScriptBlock>$_.InvocationInfo.PositionMessage</ScriptBlock> </ListItem> <ListItem> <PropertyName>StackTrace</PropertyName> </ListItem> <ListItem> <Label>HistoryId</Label> <ScriptBlock>$_.InvocationInfo.HistoryId</ScriptBlock> </ListItem> </ListItems> </ListEntry> <ListEntry> <EntrySelectedBy> <SelectionCondition> <SelectionSetName>PowerBIErrorRecords</SelectionSetName> <ScriptBlock>$_.GetType() -eq [Microsoft.DataMovement.Powershell.Commands.DataGateway.Profile.Errors.PowerBIExceptionRecord]</ScriptBlock> </SelectionCondition> </EntrySelectedBy> <ListItems> <ListItem> <PropertyName>Message</PropertyName> </ListItem> <ListItem> <PropertyName>StackTrace</PropertyName> </ListItem> <ListItem> <Label>Exception</Label> <ScriptBlock>$_.Exception.GetType()</ScriptBlock> </ListItem> <ListItem> <Label>InvocationInfo</Label> <ScriptBlock>"{" + $_.InvocationInfo.MyCommand + "}"</ScriptBlock> </ListItem> <ListItem> <Label>Line</Label> <ScriptBlock>$_.InvocationInfo.Line</ScriptBlock> </ListItem> <ListItem> <Label>Position</Label> <ScriptBlock>$_.InvocationInfo.PositionMessage</ScriptBlock> </ListItem> <ListItem> <Label>HistoryId</Label> <ScriptBlock>$_.InvocationInfo.HistoryId</ScriptBlock> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> </ViewDefinitions> </Configuration> |