Templates/Azs-TeamsIntegration-Update-NotRunning.json
{
"type": "AdaptiveCard", "body": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "Container", "spacing": "None", "style": "accent", "items": [ { "type": "TextBlock", "size": "ExtraLarge", "weight": "Bolder", "color": "Light", "text": "${Banner}", "wrap": true }, { "type": "TextBlock", "text": "Duration: ${totalDurationFinal}", "wrap": true, "isVisible": "${showDuration}" }, { "type": "TextBlock", "text": "No running updates", "color": "Light", "isSubtle": true }, { "type": "TextBlock", "text": "[Join Bridge](${BridgeInformation})", "isVisible": "${ShowBridge}", "separator": true } ], "bleed": true, "height": "stretch" } ], "width": 45, "height": "stretch" } ], "height": "stretch" }, { "type": "Container", "isVisible": "${ShowHistory}", "items": [ { "type": "TextBlock", "text": "History", "size": "Large", "weight": "Bolder", "color": "Accent" }, { "type": "ColumnSet", "columns": [ { "type": "Column", "width": "90px", "items": [ { "type": "TextBlock", "text": "Version", "weight": "Bolder" } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "Name", "weight": "Bolder" } ] }, { "type": "Column", "width": "115px", "items": [ { "type": "TextBlock", "text": "State", "weight": "Bolder", "horizontalAlignment": "Right" } ], "horizontalAlignment": "Right" } ] }, { "$data": "${Update.UpdateHistory}", "type": "ColumnSet", "columns": [ { "type": "Column", "width": "90px", "items": [ { "type": "TextBlock", "text": "${VersionNumber}", "weight": "Bolder" } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "${DisplayName}", "weight": "Bolder" } ] }, { "type": "Column", "width": "115px", "items": [ { "type": "TextBlock", "text": "${State}", "weight": "Bolder", "horizontalAlignment": "Right" } ], "horizontalAlignment": "Right" } ] } ], "separator": true }, { "type": "Container", "isVisible": "${ShowStampInfo}", "items": [ { "type": "FactSet", "facts": [ { "title": "Version", "value": "${Stamp.Version}" }, { "title": "Admin Portal", "value": "[${Stamp.AdminPortal}](${Stamp.AdminPortal})" }, { "title": "Tenant Portal", "value": "[${Stamp.TenantPortal}](${Stamp.TenantPortal})" }, { "title": "Stamp Prefix", "value": "${Stamp.Prefix}" }, { "title": "Hardware", "value": "${Stamp.Hardware}" }, { "title": "Nodes", "value": "${Stamp.NumberOfNodes}" }, { "title": "CloudId", "value": "${Stamp.CloudId}" } ], "isVisible": "${ShowEnvDetail}" }, { "type": "FactSet", "facts": [ { "title": "Version", "value": "${Stamp.Version}" }, { "title": "Stamp Name", "value": "${Stamp.Name}" }, { "title": "Last Update Name", "value": "${Update.UpdateName}" } ], "isVisible": "${ShowNoEnvDetail}" }, { "type": "TextBlock", "text": "${moduleName} - ${commandletName} - ${moduleVersion} (Brevity: ${Brief})", "wrap": true, "weight": "Lighter", "color": "Accent", "size": "Small", "isSubtle": true, "horizontalAlignment": "Right" } ], "separator": true } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.2" } |