mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
* Revert "fix(sidebar): show docker sidebar when needed (#3852)" This reverts commit59da17dde4
. * Revert "refactor(azure): remove Azure ACI endpoint support (#3803)" This reverts commit493de20540
.
18 lines
487 B
JavaScript
18 lines
487 B
JavaScript
angular.module('portainer.azure').factory('Subscription', [
|
|
'$resource',
|
|
'API_ENDPOINT_ENDPOINTS',
|
|
'EndpointProvider',
|
|
function SubscriptionFactory($resource, API_ENDPOINT_ENDPOINTS, EndpointProvider) {
|
|
'use strict';
|
|
return $resource(
|
|
API_ENDPOINT_ENDPOINTS + '/:endpointId/azure/subscriptions',
|
|
{
|
|
endpointId: EndpointProvider.endpointID,
|
|
'api-version': '2016-06-01',
|
|
},
|
|
{
|
|
query: { method: 'GET' },
|
|
}
|
|
);
|
|
},
|
|
]);
|