create Device
Create a device under a registry
Path Parameters
Subscription ID
Registry ID
Request Body required
application/json
property name*
string
Possible values: >= 3 characters
and <= 256 characters
credentials object[]
publicKey object
Possible values: [RSA_PEM
, ES256_PEM
, RSA_X509_PEM
, ES256_X509_PEM
]
gatewayConfig object
Possible values: [GATEWAY_AUTH_METHOD_UNSPECIFIED
, ASSOCIATION_ONLY
, DEVICE_AUTH_TOKEN_ONLY
, ASSOCIATION_AND_DEVICE_AUTH_TOKEN
]
Possible values: [NON_GATEWAY
, GATEWAY
]
lastErrorStatus object
Possible values: [INFO
, ERROR
]
metadata object
config object
state object
policy object
tcpUdpModelDetails object
image object
tcpDetails object
udpDetails object
- 200
- 400
- 404
- 500
OK
Schema
property name*
string
Possible values: >= 3 characters
and <= 256 characters
credentials object[]
publicKey object
Possible values: [RSA_PEM
, ES256_PEM
, RSA_X509_PEM
, ES256_X509_PEM
]
gatewayConfig object
Possible values: [GATEWAY_AUTH_METHOD_UNSPECIFIED
, ASSOCIATION_ONLY
, DEVICE_AUTH_TOKEN_ONLY
, ASSOCIATION_AND_DEVICE_AUTH_TOKEN
]
Possible values: [NON_GATEWAY
, GATEWAY
]
lastErrorStatus object
Possible values: [INFO
, ERROR
]
metadata object
config object
state object
policy object
tcpUdpModelDetails object
image object
tcpDetails object
udpDetails object
Bad Request
Schema
error object
Not Found
Schema
error object
Internal Server Error