Skip to content

Commit 6c96c67

Browse files
committed
Added const resource types
1 parent ce6ab21 commit 6c96c67

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Metric/v1/Gnocchi/Models/Resource.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@
1212
class Resource extends OperatorResource implements Retrievable
1313
{
1414
const RESOURCE_TYPE_GENERIC = 'generic';
15+
const RESOURCE_TYPE_CEPH_ACCOUNT = 'ceph_account';
16+
const RESOURCE_TYPE_HOST = 'host';
17+
const RESOURCE_TYPE_HOST_DISK = 'host_disk';
18+
const RESOURCE_TYPE_HOST_NETWORK_INTERFACE = 'host_network_interface';
19+
const RESOURCE_TYPE_IDENTITY = 'identity';
20+
const RESOURCE_TYPE_IMAGE = 'image';
21+
const RESOURCE_TYPE_INSTANCE = 'instance';
22+
const RESOURCE_TYPE_INSTANCE_DISK = 'instance_disk';
23+
const RESOURCE_TYPE_INSTANCE_NETWORK_INTERFACE = 'instance_network_interface';
24+
const RESOURCE_TYPE_IPMI = 'ipmi';
25+
const RESOURCE_TYPE_NETWORK = 'network';
26+
const RESOURCE_TYPE_STACK = 'stack';
27+
const RESOURCE_TYPE_SWIFT_ACCOUNT = 'swift_account';
28+
const RESOURCE_TYPE_VOLUME = 'volume';
1529

1630
/** @var string */
1731
public $createdByUserId;

0 commit comments

Comments
 (0)