mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-10 18:22:36 -05:00
Allow the arm baseURI to be set dynamically (#920)
* Allow the arm baseURI to be set dynamically * Defensive programming
This commit is contained in:
@@ -6,6 +6,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.SqlTools.ResourceProvider.Core;
|
||||
using Microsoft.SqlTools.ResourceProvider.Core.Authentication;
|
||||
using Microsoft.SqlTools.ResourceProvider.Core.Contracts;
|
||||
|
||||
namespace Microsoft.SqlTools.ResourceProvider.DefaultImpl
|
||||
{
|
||||
@@ -39,6 +40,7 @@ namespace Microsoft.SqlTools.ResourceProvider.DefaultImpl
|
||||
this.TenantId = azureUserAccount.TenantId;
|
||||
this.AllTenants = azureUserAccount.AllTenants;
|
||||
this.UniqueId = azureUserAccount.UniqueId;
|
||||
this.UnderlyingAccount = azureUserAccount.UnderlyingAccount;
|
||||
AzureUserAccount account = azureUserAccount as AzureUserAccount;
|
||||
}
|
||||
/// <summary>
|
||||
@@ -99,5 +101,11 @@ namespace Microsoft.SqlTools.ResourceProvider.DefaultImpl
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public Account UnderlyingAccount
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user