Files
pycadf/doc/source/specification/endpoints.rst
Gordon Chung 1d5428afa7 pycadf documentation
add basic documentation on CADF spec.

Closes-Bug: #1279951
Change-Id: Ie1703d9b5109d8275377857e5362e3b09385f647
Implements: blueprint document-pycadf
2014-03-17 00:28:45 -04:00

1.8 KiB

Endpoints

The Endpoint type is used to provide information about a resource's location on a network.

Property Type Required Description
url xs:anyURI Yes The network address of the endpoint; for IP-based addresses
name xs:string No An optional property to provide a logical name for the endpoint
port xs:string No An optional property to provide the port value separate from the address property

Serialisation

json:

{
 "typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event",
 ...,
 "target": {
    "id": "myscheme://mydomain/resource/id/0001",
    "name": "server_0001",
    "addresses": [{
        "name": "public",
        "url": "http://mydomain/mypath/server-0001/"
     },
    ...
    ],
    ...
 }
}