[Azure Core, SQL Migration] Fix wrong endpoints being used for non-public clouds (#20304)

* Add correct host to ARM REST API calls

* Clean up

* Missed a spot

* One more comment

* Expose new function getProviderMetadataForAccount in azurecore API
This commit is contained in:
Raymond Truong
2022-08-15 14:37:41 -07:00
committed by GitHub
parent e57acae79a
commit 10f5b8b76e
5 changed files with 70 additions and 32 deletions

View File

@@ -55,6 +55,9 @@ export class AzurecoreApiStub implements azurecore.IExtension {
getRegionDisplayName(_region?: string | undefined): string {
throw new Error('Method not implemented.');
}
getProviderMetadataForAccount(_account: azurecore.AzureAccount): azurecore.AzureAccountProviderMetadata {
throw new Error('Method not implemented.');
}
provideResources(): azurecore.azureResource.IAzureResourceProvider[] {
throw new Error('Method not implemented.');
}