CreateDeviceRequest: {
    allowInsecure: boolean;
    allowMultipleConnections: boolean;
    description?: string;
    hubId: string;
    messageFilters?: DeviceMessageFilters;
    name?: string;
    region?: Region;
}

Type declaration

  • allowInsecure: boolean

    Defines whether to allow plain and server-authenticated SSL connections in addition to mutually-authenticated ones.

  • allowMultipleConnections: boolean

    Defines whether to allow multiple physical devices to connect with this device's credentials.

  • Optionaldescription?: string

    Device description.

  • hubId: string

    Hub ID of the device.

  • OptionalmessageFilters?: DeviceMessageFilters

    Filter-sets to authorize or deny the device to publish/subscribe to specific topics.

  • Optionalname?: string

    Device name.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.