use selected subscriptions (#12691)

* working version

* pr feedback
This commit is contained in:
Arvind Ranasaria
2020-10-01 09:08:04 -07:00
committed by GitHub
parent 02afd2dc39
commit 39e43d2401
7 changed files with 51 additions and 19 deletions

View File

@@ -63,7 +63,7 @@ declare module 'azurecore' {
}
export interface IExtension {
getSubscriptions(account?: azdata.Account, ignoreErrors?: boolean): Thenable<GetSubscriptionsResult>;
getSubscriptions(account?: azdata.Account, ignoreErrors?: boolean, selectedOnly?: boolean): Thenable<GetSubscriptionsResult>;
getResourceGroups(account?: azdata.Account, subscription?: azureResource.AzureResourceSubscription, ignoreErrors?: boolean): Thenable<GetResourceGroupsResult>;
/**
* Converts a region value (@see AzureRegion) into the localized Display Name