Remove hostnames API call since we are already passing hostnames through the API
This commit is contained in:
Родитель
1a36f2f170
Коммит
a6cea58585
|
@ -11,7 +11,6 @@ namespace Diagnostics.DataProviders
|
|||
{
|
||||
Task<dynamic> GetSite(string siteName);
|
||||
Task<dynamic> GetSite(string stampName, string siteName);
|
||||
Task<IEnumerable<string>> GetSiteHostNames(string siteName);
|
||||
Task<string> GetSiteResourceGroupName(string siteName);
|
||||
Task<IEnumerable<Dictionary<string, string>>> GetSitesInResourceGroup(string subscriptionName, string resourceGroupName);
|
||||
Task<IEnumerable<Dictionary<string, string>>> GetServerFarmsInResourceGroup(string subscriptionName, string resourceGroupName);
|
||||
|
|
|
@ -77,13 +77,6 @@ namespace Diagnostics.DataProviders
|
|||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<string>> GetSiteHostNames(string siteName)
|
||||
{
|
||||
var response = await GetObserverResource($"sites/{siteName}/hostnames?api-version=2.0");
|
||||
var hostnames = response.Remove(0, 1).Remove(response.Length - 2, 1).Split(new char[] { ',' });
|
||||
return hostnames;
|
||||
}
|
||||
|
||||
public Task<string> GetSiteResourceGroupName(string siteName)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
|
Загрузка…
Ссылка в новой задаче