mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
remove list filter logic to allow all available DMS regions to be used (#17203)
This commit is contained in:
@@ -44,30 +44,7 @@ export async function getLocations(account: azdata.Account, subscription: Subscr
|
|||||||
return sqlMigrationResourceLocations.includes(loc.displayName);
|
return sqlMigrationResourceLocations.includes(loc.displayName);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Only including the regions that have migration service deployed for public preview.
|
return filteredLocations;
|
||||||
const publicPreviewLocations = [
|
|
||||||
'eastus',
|
|
||||||
'canadaeast',
|
|
||||||
'canadacentral',
|
|
||||||
'centralus',
|
|
||||||
'westus2',
|
|
||||||
'westus',
|
|
||||||
'southcentralus',
|
|
||||||
'westeurope',
|
|
||||||
'uksouth',
|
|
||||||
'australiaeast',
|
|
||||||
'southeastasia',
|
|
||||||
'japaneast',
|
|
||||||
'centralindia',
|
|
||||||
'eastus2',
|
|
||||||
'eastus2euap',
|
|
||||||
'francecentral',
|
|
||||||
'southindia',
|
|
||||||
'australiasoutheast',
|
|
||||||
'northcentralus'
|
|
||||||
];
|
|
||||||
|
|
||||||
return filteredLocations.filter(v => publicPreviewLocations.includes(v.name));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type AzureProduct = azureResource.AzureGraphResource;
|
export type AzureProduct = azureResource.AzureGraphResource;
|
||||||
|
|||||||
Reference in New Issue
Block a user