endpoints
Create a new environment(endpoint)
Create a new environment(endpoint) that will be used to manage an environment(endpoint). Access policy: administrator
post/endpoints
Response
Success
Example response
{
"Agent": {
"Version": "1.0.0"
},
"AzureCredentials": {
"ApplicationID": "eag7cdo9-o09l-9i83-9dO9-f0b23oe78db4",
"AuthenticationKey": "cOrXoK/1D35w8YQ8nH1/8ZGwzz45JIYD5jxHKXEQknk=",
"TenantID": "34ddc78d-4fel-2358-8cc1-df84c8o839f5"
},
"ComposeSyntaxMaxVersion": "3.8",
"ContainerEngine": "docker",
"Edge": {
"CommandInterval": 60,
"PingInterval": 60,
"SnapshotInterval": 60
},
"EdgeCheckinInterval": 5,
"Gpus": [
{
"name": "name",
"value": "value"
}
],
"GroupId": 1,
"Heartbeat": true,
"Id": 1,
"Name": "my-environment",
"PublicURL": "docker.mydomain.tld:2375",
"SecuritySettings": {
"allowContainerCapabilitiesForRegularUsers": true,
"allowDeviceMappingForRegularUsers": true,
"allowHostNamespaceForRegularUsers": true,
"allowSecurityOptForRegularUsers": true,
"allowStackManagementForRegularUsers": true,
"allowSysctlSettingForRegularUsers": true,
"allowVolumeBrowserForRegularUsers": true,
"enableHostManagementFeatures": true
},
"TLSConfig": {
"TLS": true,
"TLSCACert": "/data/tls/ca.pem",
"TLSCert": "/data/tls/cert.pem",
"TLSKey": "/data/tls/key.pem"
},
"URL": "docker.mydomain.tld:2375"
}