GeoFabrics

Create GeoFabric

Create a new GeoFabric.

Note: Creating a new GeoFabric is only possible from within the _system fabric.

post/_fabric/_system/_api/database

Request

Request body

namestring required

Has to contain a valid GeoFabric name.

tenantstring

Name of the tenant to associate with GeoFabric. This option is applicable and optional when system tenant _mm invokes the API. Other tenants should not specify this option as the tenant invoking API shall be associated with GeoFabric.

usersstring[]

Enter an array of user ids that has admin access to the new GeoFabric. If this field is left blank, the default user root has admin access.

Example request

{
  "name": "_system",
  "tenant": "_mm",
  "options": {
    "dcList": "datacenter1,datacenter2",
    "spotDc": "datacenter1",
    "metadata": {
      "key": "value"
    }
  },
  "users": [
    "root"
  ]
}

Response

Successfully created the GeoFabric.

codeinteger

HTTP response code.

errorboolean

Flag if there is an error in response. False for this response.

resultboolean

Whether the GeoFabric was created successfully

Example response

{
  "code": 201,
  "result": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.