mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
* feat(aci): show basic details * feat(aci): style container details page * fix(aci): fix container ip * feat(aci): provide functions to get single aci resource * feat(aci): show readable data * feat(aci): style container instance
19 lines
546 B
JavaScript
19 lines
546 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/:id',
|
|
{
|
|
endpointId: EndpointProvider.endpointID,
|
|
'api-version': '2016-06-01',
|
|
},
|
|
{
|
|
query: { method: 'GET' },
|
|
get: { method: 'GET', params: { id: '@id' } },
|
|
}
|
|
);
|
|
},
|
|
]);
|