| { |
| "op":"add_or_update", |
| "serviceName": "cl1_hive", |
| "tagDefinitions": { |
| "1": { |
| "name": "EXPIRES_ON", |
| "source": "Internal", |
| "attributeDefs": [ |
| { |
| "name": "expiry_date", |
| "type": "datetime" |
| } |
| ], |
| "id": 1, |
| "guid": "tagdefinition-1-guid" |
| } |
| }, |
| "tags": { |
| "1": { |
| "type": "EXPIRES_ON", |
| "attributes": { |
| "expiry_date": "2014/12/31" |
| }, |
| "id": 1, |
| "guid": "tag-1-guid", |
| "owner":0 |
| } |
| }, |
| "serviceResources": [ |
| { |
| "serviceName": "cl1_hive", |
| "resourceElements": { |
| "table": { |
| "values": [ |
| "tax_2010" |
| ], |
| "isExcludes": false, |
| "isRecursive": false |
| }, |
| "database": { |
| "values": [ |
| "finance" |
| ], |
| "isExcludes": false, |
| "isRecursive": false |
| } |
| }, |
| "id": 1, |
| "guid": "serviceresource-1-guid" |
| } |
| ], |
| "resourceToTagIds": { |
| "1": [ |
| 1 |
| ] |
| } |
| } |
| |