Module Class
- java.
lang. Object - RegistryIdentity
- com.
microsoft. azure. sdk. iot. service. registry. Module
- com.
public class Module extends RegistryIdentity
Constructor Summary
Constructor | Description | |
---|---|---|
Module(String deviceId, String moduleId) |
Creates a device using the given id. The device will use Symmetric Key for authentication. |
|
Module(String deviceId, String moduleId, AuthenticationType authenticationType) |
Inherited Members
RegistryIdentity.getAuthenticationType()
RegistryIdentity.getPrimaryKey()
RegistryIdentity.getPrimaryThumbprint()
RegistryIdentity.getSecondaryKey()
RegistryIdentity.getSecondaryThumbprint()
RegistryIdentity.getSymmetricKey()
RegistryIdentity.setSymmetricKey(SymmetricKey symmetricKey)
RegistryIdentity.setThumbprint(String primaryThumbprint, String secondaryThumbprint)
Constructor Details
Module
public Module(String deviceId, String moduleId)
Creates a device using the given id. The device will use Symmetric Key for authentication.
Parameters:
deviceId
- String containing the device name.
moduleId
Module
public Module(String deviceId, String moduleId, AuthenticationType authenticationType)
Parameters:
deviceId
moduleId
authenticationType
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java