|
510 | 510 | <Label>Name</Label>
|
511 | 511 | <PropertyName>name</PropertyName>
|
512 | 512 | </ListItem>
|
513 |
| - <ListItem> |
514 |
| - <Label>ProvisioningState</Label> |
515 |
| - <PropertyName>provisioningState</PropertyName> |
516 |
| - </ListItem> |
517 |
| - <ListItem> |
518 |
| - <Label>Parameters</Label> |
519 |
| - <ItemSelectionCondition> |
520 |
| - <ScriptBlock>$_.Parameters -ne $null -And $_.Parameters.Keys.Count -ne 0</ScriptBlock> |
521 |
| - </ItemSelectionCondition> |
522 |
| - <ScriptBlock>$s = ""; foreach($v in $_.Parameters.Keys) { $n = ""; if ($s -ne "") { $n = "`n"; } $s = $s + $n + "{" + "Name: " + $v + ", Type: " + $_.Parameters[$v].Type + ", " + "Value: " + $_.Parameters[$v].Value + "}"} $s;</ScriptBlock> |
523 |
| - </ListItem> |
524 | 513 | <ListItem>
|
525 |
| - <Label>Tags</Label> |
526 |
| - <ItemSelectionCondition> |
527 |
| - <ScriptBlock>$_.Tags -ne $null -And $_.Tags.Keys.Count -ne 0</ScriptBlock> |
528 |
| - </ItemSelectionCondition> |
529 |
| - <ScriptBlock>$_.Tags</ScriptBlock> |
| 514 | + <Label>ProvisioningState</Label> |
| 515 | + <PropertyName>provisioningState</PropertyName> |
530 | 516 | </ListItem>
|
531 | 517 | <ListItem>
|
532 | 518 | <Label>ResourcesCleanupAction</Label>
|
|
578 | 564 | </ItemSelectionCondition>
|
579 | 565 | <ScriptBlock>$_.snapshotId</ScriptBlock>
|
580 | 566 | </ListItem>
|
581 |
| - <ListItem> |
582 |
| - <Label>Outputs</Label> |
583 |
| - <ItemSelectionCondition> |
584 |
| - <ScriptBlock>$_.Outputs -ne $null -And $_.Outputs.Keys.Count -ne 0</ScriptBlock> |
585 |
| - </ItemSelectionCondition> |
586 |
| - <ScriptBlock>$s = ""; foreach($v in $_.Outputs.Keys) { $n = ""; if ($s -ne "") { $n = "`n"; } $s = $s + $n + "{" + "Name: " + $v + ", Type: " + $_.Outputs[$v].Type + ", " + "Value: " + $_.Outputs[$v].Value + "}"} $s;</ScriptBlock> |
587 |
| - </ListItem> |
588 | 567 | <ListItem>
|
589 | 568 | <Label>Resources</Label>
|
590 | 569 | <ItemSelectionCondition>
|
|
618 | 597 | <ItemSelectionCondition>
|
619 | 598 | <ScriptBlock>$_.error -ne $null</ScriptBlock>
|
620 | 599 | </ItemSelectionCondition>
|
621 |
| - <ScriptBlock>$e=$_.error; while($e.Details -ne $null){$e = $e.Details[0]}$e.Code + " - " +$e.Message</ScriptBlock> |
| 600 | + <ScriptBlock>$_.GetFormattedErrorString()</ScriptBlock> |
| 601 | + </ListItem> |
| 602 | + <ListItem> |
| 603 | + <Label>Tags</Label> |
| 604 | + <ItemSelectionCondition> |
| 605 | + <ScriptBlock>$_.Tags -ne $null -And $_.Tags.Keys.Count -ne 0</ScriptBlock> |
| 606 | + </ItemSelectionCondition> |
| 607 | + <ScriptBlock>$_.GetFormattedTagTable()</ScriptBlock> |
| 608 | + </ListItem> |
| 609 | + <ListItem> |
| 610 | + <Label>Parameters</Label> |
| 611 | + <ItemSelectionCondition> |
| 612 | + <ScriptBlock>$_.Parameters -ne $null -And $_.Parameters.Keys.Count -ne 0</ScriptBlock> |
| 613 | + </ItemSelectionCondition> |
| 614 | + <ScriptBlock>$_.GetFormattedParameterTable()</ScriptBlock> |
| 615 | + </ListItem> |
| 616 | + <ListItem> |
| 617 | + <Label>Outputs</Label> |
| 618 | + <ItemSelectionCondition> |
| 619 | + <ScriptBlock>$_.Outputs -ne $null -And $_.Outputs.Keys.Count -ne 0</ScriptBlock> |
| 620 | + </ItemSelectionCondition> |
| 621 | + <ScriptBlock>$_.GetFormattedOutputTable()</ScriptBlock> |
622 | 622 | </ListItem>
|
623 | 623 | </ListItems>
|
624 | 624 | </ListEntry>
|
|
0 commit comments