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
618 B
JavaScript
19 lines
618 B
JavaScript
angular.module('portainer.azure').factory('ResourceGroup', [
|
|
'$resource',
|
|
'API_ENDPOINT_ENDPOINTS',
|
|
'EndpointProvider',
|
|
function ResourceGroupFactory($resource, API_ENDPOINT_ENDPOINTS, EndpointProvider) {
|
|
'use strict';
|
|
return $resource(
|
|
API_ENDPOINT_ENDPOINTS + '/:endpointId/azure/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName',
|
|
{
|
|
endpointId: EndpointProvider.endpointID,
|
|
'api-version': '2018-02-01',
|
|
},
|
|
{
|
|
query: { method: 'GET', params: { subscriptionId: '@subscriptionId' } },
|
|
get: { method: 'GET' },
|
|
}
|
|
);
|
|
},
|
|
]);
|