mirror of
https://github.com/portainer/portainer.git
synced 2025-07-26 00:39:41 +02:00
7 lines
254 B
JavaScript
7 lines
254 B
JavaScript
function ContainerInstanceProviderViewModel(data) {
|
|
this.Id = data.id;
|
|
this.Namespace = data.namespace;
|
|
|
|
var containerGroupType = _.find(data.resourceTypes, { 'resourceType': 'containerGroups' });
|
|
this.Locations = containerGroupType.locations;
|
|
}
|