Exemple #1
0
        private void PlotAzureMetadataInAsciiTable(AzureLandscape azureLandscape)
        {
            var asciiTable = CreateAzureMetadataAsciiTable();

            var rawSubscriptions = "- " + string.Join($"{Environment.NewLine} - ", azureLandscape.Subscriptions);

            asciiTable.AddRow(azureLandscape.TenantId, azureLandscape.Cloud.Humanize(LetterCasing.Title), rawSubscriptions);

            AnsiConsole.Render(asciiTable);
        }
Exemple #2
0
 public AzureLandscapeValidationStep(IOptions <AzureLandscape> azureLandscape, ILogger <AzureLandscapeValidationStep> logger) : base(logger)
 {
     _azureLandscape = azureLandscape.Value;
 }