Resource Center/Network Resource/OSPF Operations
POSTOSPF OperationsSince 3.4.0SynchronousAuth Required
CreateVRouterOspfArea
CreateVRouterOspfArea
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
areaIdStringRequiredThe area ID.
areaAuthStringOptional. The authentication mode of the OSPF area.
areaTypeStringOptional. The area type.
passwordStringOptional. The password when the authentication mode is plaintext.
keyIdIntegerOptional. The key ID when the authentication mode is MD5 checksum.
resourceUuidStringOptional. The area resource UUID.
tagUuidsListOptional. The tag UUID list.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/routerArea
/zstack/v1/routerArea
Request Example
curl -X POST 'http://{host}/zstack/v1/routerArea' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"areaId":"<areaId>","areaAuth":"<areaAuth>","areaType":"<areaType>","password":"<password>","keyId":1,"resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"]},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "d82d2b6108b0331b90161b939987e5ae", "areaId": "1", "type": "Stub", "authentication": "Plaintext", "password": "password", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } }Change History
This API has no change history records yet.
