RegistrationResult Class

The final result of a completed or failed registration attempt :ivar:request_id: The request id to which the response is being obtained :ivar:operation_id: The id of the operation as returned by the registration request. :ivar status: The status of the registration process as returned by the provisioning service. Values can be "unassigned", "assigning", "assigned", "failed", "disabled" :ivar registration_state : Details like device id, assigned hub , date times etc returned from the provisioning service.

Values can be "unassigned", "assigning", "assigned", "failed", "disabled" :param registration_state : Details like device id, assigned hub , date times etc returned from the provisioning service.

Inheritance
builtins.object
RegistrationResult

Constructor

RegistrationResult(operation_id, status, registration_state=None)

Parameters

Name Description
operation_id
Required

The id of the operation as returned by the initial registration request.

status
Required

The status of the registration process.

registration_state
default value: None

Attributes

operation_id

registration_state

status