160 строки
10 KiB
YAML
160 строки
10 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.sdk.iot.service.Module"
|
|
fullName: "com.microsoft.azure.sdk.iot.service.Module"
|
|
name: "Module"
|
|
nameWithType: "Module"
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.azure.sdk.iot.service.BaseDevice?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedMembers:
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getAuthenticationType()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getCloudToDeviceMessageCount()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getConnectionState()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getConnectionStateUpdatedTime()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getDeviceId()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getGenerationId()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getLastActivityTime()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getPrimaryKey()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getPrimaryThumbprint()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getSecondaryKey()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getSecondaryThumbprint()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.getSymmetricKey()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.geteTag()"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.setForceUpdate(java.lang.Boolean)"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.setSymmetricKey(com.microsoft.azure.sdk.iot.service.auth.SymmetricKey)"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.setThumbprint(java.lang.String,java.lang.String)"
|
|
- "com.microsoft.azure.sdk.iot.service.BaseDevice.setThumbprintFinal(java.lang.String,java.lang.String)"
|
|
- "java.lang.Object.clone()"
|
|
- "java.lang.Object.equals(java.lang.Object)"
|
|
- "java.lang.Object.finalize()"
|
|
- "java.lang.Object.getClass()"
|
|
- "java.lang.Object.hashCode()"
|
|
- "java.lang.Object.notify()"
|
|
- "java.lang.Object.notifyAll()"
|
|
- "java.lang.Object.toString()"
|
|
- "java.lang.Object.wait()"
|
|
- "java.lang.Object.wait(long)"
|
|
- "java.lang.Object.wait(long,int)"
|
|
syntax: "public class Module extends BaseDevice"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.sdk.iot.service.Module.Module(java.lang.String,java.lang.String,com.microsoft.azure.sdk.iot.service.auth.SymmetricKey)"
|
|
fullName: "com.microsoft.azure.sdk.iot.service.Module.Module(String deviceId, String moduleId, SymmetricKey symmetricKey)"
|
|
name: "Module(String deviceId, String moduleId, SymmetricKey symmetricKey)"
|
|
nameWithType: "Module.Module(String deviceId, String moduleId, SymmetricKey symmetricKey)"
|
|
summary: "Create an Module instance using the given module name"
|
|
modifiers:
|
|
- "protected"
|
|
parameters:
|
|
- description: "Name of the device (used as device id)"
|
|
name: "deviceId"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "- ame of the module (used as module id)"
|
|
name: "moduleId"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "- Device key. If parameter is null, then the key will be auto generated."
|
|
name: "symmetricKey"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.service.auth.SymmetricKey?alt=com.microsoft.azure.sdk.iot.service.auth.SymmetricKey&text=SymmetricKey\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "protected Module(String deviceId, String moduleId, SymmetricKey symmetricKey)"
|
|
exceptions:
|
|
- description: "This exception is thrown if <code>deviceId</code> or <code>moduleId</code> is <code>null</code> or empty."
|
|
type: "<xref href=\"java.lang.IllegalArgumentException?alt=java.lang.IllegalArgumentException&text=IllegalArgumentException\" data-throw-if-not-resolved=\"False\" />"
|
|
desc: "Create an Module instance using the given module name"
|
|
fields:
|
|
- uid: "com.microsoft.azure.sdk.iot.service.Module.id"
|
|
fullName: "com.microsoft.azure.sdk.iot.service.Module.id"
|
|
name: "id"
|
|
nameWithType: "Module.id"
|
|
summary: "Module name A case-sensitive string (up to 128 char long) of ASCII 7-bit alphanumeric chars + \\{'-', ':', '.', '+', '%', '\\_', '\\#', '\\*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''\\}."
|
|
modifiers:
|
|
- "protected"
|
|
field:
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "protected String id"
|
|
desc: "Module name A case-sensitive string (up to 128 char long) of ASCII 7-bit alphanumeric chars + \\{'-', ':', '.', '+', '%', '\\_', '\\#', '\\*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''\\}."
|
|
- uid: "com.microsoft.azure.sdk.iot.service.Module.managedBy"
|
|
fullName: "com.microsoft.azure.sdk.iot.service.Module.managedBy"
|
|
name: "managedBy"
|
|
nameWithType: "Module.managedBy"
|
|
summary: "Specifies the module's managed by owner"
|
|
modifiers:
|
|
- "protected"
|
|
field:
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "protected String managedBy"
|
|
desc: "Specifies the module's managed by owner"
|
|
methods:
|
|
- uid: "com.microsoft.azure.sdk.iot.service.Module.createFromId(java.lang.String,java.lang.String,com.microsoft.azure.sdk.iot.service.auth.SymmetricKey)"
|
|
fullName: "com.microsoft.azure.sdk.iot.service.Module.createFromId(String deviceId, String moduleId, SymmetricKey symmetricKey)"
|
|
name: "createFromId(String deviceId, String moduleId, SymmetricKey symmetricKey)"
|
|
nameWithType: "Module.createFromId(String deviceId, String moduleId, SymmetricKey symmetricKey)"
|
|
summary: "Static create function Creates module object using the given name."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "- String containing the device name"
|
|
name: "deviceId"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "- String containing the module name"
|
|
name: "moduleId"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "- Device key. If parameter is null, then the key will be auto generated."
|
|
name: "symmetricKey"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.service.auth.SymmetricKey?alt=com.microsoft.azure.sdk.iot.service.auth.SymmetricKey&text=SymmetricKey\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static Module createFromId(String deviceId, String moduleId, SymmetricKey symmetricKey)"
|
|
exceptions:
|
|
- description: "This exception is thrown if <code>deviceId</code> is <code>null</code> or empty."
|
|
type: "<xref href=\"java.lang.IllegalArgumentException?alt=java.lang.IllegalArgumentException&text=IllegalArgumentException\" data-throw-if-not-resolved=\"False\" />"
|
|
desc: "Static create function Creates module object using the given name. If input symmetric key are null then they will be auto generated."
|
|
returns:
|
|
description: "Module object"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.service.Module?alt=com.microsoft.azure.sdk.iot.service.Module&text=Module\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.sdk.iot.service.Module.createModule(java.lang.String,java.lang.String,com.microsoft.azure.sdk.iot.service.auth.AuthenticationType)"
|
|
fullName: "com.microsoft.azure.sdk.iot.service.Module.createModule(String deviceId, String moduleId, AuthenticationType authenticationType)"
|
|
name: "createModule(String deviceId, String moduleId, AuthenticationType authenticationType)"
|
|
nameWithType: "Module.createModule(String deviceId, String moduleId, AuthenticationType authenticationType)"
|
|
summary: "Static create function Creates device object using the given name that will use a Certificate Authority signed certificate for authentication."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "- String containing the device name"
|
|
name: "deviceId"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "- String containing the module name"
|
|
name: "moduleId"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "- The type of authentication used by this device."
|
|
name: "authenticationType"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.service.auth.AuthenticationType?alt=com.microsoft.azure.sdk.iot.service.auth.AuthenticationType&text=AuthenticationType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static Module createModule(String deviceId, String moduleId, AuthenticationType authenticationType)"
|
|
exceptions:
|
|
- description: "This exception is thrown if <code>deviceId</code> or <code>moduleId</code> is <code>null</code> or empty."
|
|
type: "<xref href=\"java.lang.IllegalArgumentException?alt=java.lang.IllegalArgumentException&text=IllegalArgumentException\" data-throw-if-not-resolved=\"False\" />"
|
|
desc: "Static create function Creates device object using the given name that will use a Certificate Authority signed certificate for authentication."
|
|
returns:
|
|
description: "Module object"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.service.Module?alt=com.microsoft.azure.sdk.iot.service.Module&text=Module\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.sdk.iot.service.Module.getId()"
|
|
fullName: "com.microsoft.azure.sdk.iot.service.Module.getId()"
|
|
name: "getId()"
|
|
nameWithType: "Module.getId()"
|
|
summary: "Getter for module name"
|
|
syntax: "public String getId()"
|
|
desc: "Getter for module name"
|
|
returns:
|
|
description: "The module string"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.sdk.iot.service.Module.getManagedBy()"
|
|
fullName: "com.microsoft.azure.sdk.iot.service.Module.getManagedBy()"
|
|
name: "getManagedBy()"
|
|
nameWithType: "Module.getManagedBy()"
|
|
summary: "Getter for module's managed by owner"
|
|
syntax: "public String getManagedBy()"
|
|
desc: "Getter for module's managed by owner"
|
|
returns:
|
|
description: "The string containing the managed by owner"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
metadata: {}
|
|
package: "com.microsoft.azure.sdk.iot.service"
|
|
artifact: com.microsoft.azure.sdk.iot:iot-service-client:1.30.0
|