Refactors the gtm datacenter module (#33474)

* Refactors the gtm datacenter module

This module needed to be inline with current f5 coding standards.
This fixes that

* Fixes upstream errors
This commit is contained in:
Tim Rupp
2017-12-01 20:44:39 -08:00
committed by GitHub
parent 76135a500e
commit e1062d1a7b
4 changed files with 618 additions and 272 deletions

View File

@@ -0,0 +1,9 @@
{
"kind": "tm:gtm:datacenter:datacenterstate",
"name": "asd",
"partition": "Common",
"fullPath": "/Common/asd",
"generation": 278,
"selfLink": "https://localhost/mgmt/tm/gtm/datacenter/~Common~asd?ver=12.1.2",
"enabled": true
}

View File

@@ -0,0 +1,12 @@
{
"kind": "tm:gtm:datacenter:datacenterstate",
"name": "foo",
"partition": "Common",
"fullPath": "/Common/foo",
"generation": 303,
"selfLink": "https://localhost/mgmt/tm/gtm/datacenter/~Common~foo?ver=12.1.2",
"contact": "admin@root.local",
"description": "This is a foo description",
"disabled": true,
"location": "New York"
}