com.baidubce.services.iotdm
Class IotDmV3Client
java.lang.Object
com.baidubce.AbstractBceClient
com.baidubce.services.iotdm.IotDmV3Client
public class IotDmV3Client
- extends AbstractBceClient
|
Method Summary |
DeviceAccessDetailResponse |
createDevice(CreateDeviceRequest createDeviceRequest)
|
DeviceRuleResponse |
createDeviceRule(String deviceName,
DeviceRuleRequest request)
Create Device Rule of Device . |
AccessDetailResponse |
createDomain(CreateDomainRequest createDomainRequest)
Create Domain of Device. |
SchemaCreateResponse |
createSchema(SchemaCreateRequest schemaCreateRequest)
|
DeviceFormatRuleResponse |
createTsdbFormatRule(String deviceName,
DeviceFormatRuleRequest request)
Create TSDB format Rule of Device . |
void |
deleteSchema(String schemaId)
|
void |
disableDeviceRule(String deviceName)
Close Device Rule of Device . |
void |
enableDeviceRule(String deviceName)
Enable Device Rule of Device . |
DeviceAccessDetailResponse |
getDeviceAccessDetail(String deviceName)
|
DeviceProfileResponse |
getDeviceProfile(String deviceName)
|
DeviceProfileListResponse |
getDeviceProfiles(int pageNo,
int pageSize,
String orderBy,
String order,
String name,
String value,
String favourite)
|
DeviceRuleResponse |
getDeviceRules(String deviceName)
Get Device Rules of Device . |
DeviceViewResponse |
getDeviceView(String deviceName)
|
AccessDetailResponse |
getDomainAccessDetail(String domainName)
Get Access detail . |
DomainDetail |
getDomainDetail(String domainName)
Get Domain detail . |
DomainDeviceListResponse |
getDomainDeviceList(String domainName,
int pageNo,
int pageSize,
String orderBy,
String order,
String name,
String value,
String favourite)
Get List of Devices in Domain . |
DomainListResponse |
getDomains(int pageNo,
int pageSize,
String orderBy,
String order,
String key,
String type,
String deviceName)
Get Domain of Device . |
SchemaResponse |
getSchema(String schemaId)
|
SchemaListResponse |
getSchemas(int pageNo,
int pageSize,
String orderBy,
String order,
String key)
|
DeviceFormatRuleResponse |
getTsdbFormatRule(String deviceName)
Get TSDB format Rule of Device . |
DeviceRuleResponse |
modifyDeviceRule(String deviceName,
DeviceRuleRequest request)
Modify Device Rule of Device. |
UpdateDomainDevicesResponse |
modifyDomainDevices(String domainName,
UpdateDomainDevicesRequest updateDomainDevicesRequest)
Modify Devices in Domain . |
void |
modifyDomainRegistryInfo(String domainName,
UpdateDomainRegistryInfoRequest updateDomainRegistryInfoRequest)
Modify Domain registery infomation . |
DeviceFormatRuleResponse |
modifyTsdbFormatRule(String deviceName,
DeviceFormatRuleRequest request)
Modify TSDB format Rule of Device . |
void |
removeDeviceRule(String deviceName)
Remove Device Rule of Device . |
DeviceListResponse |
removeDevices(DeviceListRequest deviceListRequest)
|
void |
removeDomain(String domainName)
Remove Domain of Device. |
DeviceListResponse |
resetDevices(DeviceListRequest request)
|
DeviceProfileResponse |
updateDeviceProfile(String deviceName,
UpdateDeviceProfileRequest updateDeviceProfileRequest)
|
DeviceProfileResponse |
updateDeviceRegistry(String deviceName,
UpdateDeviceRegistryRequest updateDeviceRegistryRequest)
|
DeviceAccessDetailResponse |
updateDeviceSecretKey(String deviceName)
|
DeviceViewResponse |
updateDeviceView(String deviceName,
UpdateDeviceViewRequest updateDeviceViewRequest)
|
AccessDetailResponse |
updateDomainSecretKey(String domainName)
Update Secret key of Domain . |
void |
updateSchema(String schemaId,
SchemaUpdateRequest schemaUpdateRequest)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IotDmV3Client
public IotDmV3Client(BceClientConfiguration config)
createDeviceRule
public DeviceRuleResponse createDeviceRule(String deviceName,
DeviceRuleRequest request)
- Create Device Rule of Device .
- Parameters:
deviceName - Name of Device .request - Params used for create Device Rule .
- Returns:
- Device Rule detail .
getDeviceRules
public DeviceRuleResponse getDeviceRules(String deviceName)
- Get Device Rules of Device .
- Parameters:
deviceName - Name of Device .
- Returns:
- Device Rule detail .
modifyDeviceRule
public DeviceRuleResponse modifyDeviceRule(String deviceName,
DeviceRuleRequest request)
- Modify Device Rule of Device.
- Parameters:
deviceName - Name of Device .request - Params used for create Device Rule .
- Returns:
- Device Rule detail .
removeDeviceRule
public void removeDeviceRule(String deviceName)
- Remove Device Rule of Device .
- Parameters:
deviceName - Name of Device .
disableDeviceRule
public void disableDeviceRule(String deviceName)
- Close Device Rule of Device .
- Parameters:
deviceName - Name of Device .
enableDeviceRule
public void enableDeviceRule(String deviceName)
- Enable Device Rule of Device .
- Parameters:
deviceName - Name of Device .
createTsdbFormatRule
public DeviceFormatRuleResponse createTsdbFormatRule(String deviceName,
DeviceFormatRuleRequest request)
- Create TSDB format Rule of Device .
- Parameters:
deviceName - Name of Device .request - Params used for create Device TSDB format Rule .
- Returns:
- Device format Rule .
getTsdbFormatRule
public DeviceFormatRuleResponse getTsdbFormatRule(String deviceName)
- Get TSDB format Rule of Device .
- Parameters:
deviceName - Name of Device .
- Returns:
- Device format Rule .
modifyTsdbFormatRule
public DeviceFormatRuleResponse modifyTsdbFormatRule(String deviceName,
DeviceFormatRuleRequest request)
- Modify TSDB format Rule of Device .
- Parameters:
deviceName - Name of Device .request - Params used for modify Device TSDB format Rule .
- Returns:
- Device format Rule .
createDomain
public AccessDetailResponse createDomain(CreateDomainRequest createDomainRequest)
- Create Domain of Device.
- Parameters:
createDomainRequest - Params used for create Domain .
- Returns:
- Access detail .
removeDomain
public void removeDomain(String domainName)
- Remove Domain of Device.
- Parameters:
domainName - Name of Domain .
getDomains
public DomainListResponse getDomains(int pageNo,
int pageSize,
String orderBy,
String order,
String key,
String type,
String deviceName)
- Get Domain of Device .
- Parameters:
pageNo - Page number of Domains .pageSize - Page size of Domains .orderBy - Order by field of Domain .order - ASC or DESC .key - Key to filter Domains .type - Type to filter Domains .deviceName - Name of Device .
- Returns:
- Domain list of Device .
getDomainDetail
public DomainDetail getDomainDetail(String domainName)
- Get Domain detail .
- Parameters:
domainName - Name of Domain .
- Returns:
- Domain detail .
modifyDomainDevices
public UpdateDomainDevicesResponse modifyDomainDevices(String domainName,
UpdateDomainDevicesRequest updateDomainDevicesRequest)
- Modify Devices in Domain .
- Parameters:
domainName - Name of Domain .updateDomainDevicesRequest - Params used for Domain Devices .
- Returns:
- List of Devices added to Domain and removed from Domain .
modifyDomainRegistryInfo
public void modifyDomainRegistryInfo(String domainName,
UpdateDomainRegistryInfoRequest updateDomainRegistryInfoRequest)
- Modify Domain registery infomation .
- Parameters:
domainName - Name of Domain .updateDomainRegistryInfoRequest - Params used for update Domain registery infomation.
getDomainAccessDetail
public AccessDetailResponse getDomainAccessDetail(String domainName)
- Get Access detail .
- Parameters:
domainName - Name of Domain .
- Returns:
- Access detail .
updateDomainSecretKey
public AccessDetailResponse updateDomainSecretKey(String domainName)
- Update Secret key of Domain .
- Parameters:
domainName - Name of Domain .
- Returns:
- Access detail .
getDomainDeviceList
public DomainDeviceListResponse getDomainDeviceList(String domainName,
int pageNo,
int pageSize,
String orderBy,
String order,
String name,
String value,
String favourite)
- Get List of Devices in Domain .
- Parameters:
domainName - Name of Domain .pageNo - Page number of Devices in Domain .pageSize - Page size of Devices in Domain .orderBy - Order by field of Device in Domain .order - ASC or DESC .name - Name to filter Device .value - Value to filter Device .favourite - Favourite to filter Device .
- Returns:
- List of Devices in Domain .
createDevice
public DeviceAccessDetailResponse createDevice(CreateDeviceRequest createDeviceRequest)
removeDevices
public DeviceListResponse removeDevices(DeviceListRequest deviceListRequest)
getDeviceProfile
public DeviceProfileResponse getDeviceProfile(String deviceName)
updateDeviceProfile
public DeviceProfileResponse updateDeviceProfile(String deviceName,
UpdateDeviceProfileRequest updateDeviceProfileRequest)
getDeviceProfiles
public DeviceProfileListResponse getDeviceProfiles(int pageNo,
int pageSize,
String orderBy,
String order,
String name,
String value,
String favourite)
getDeviceAccessDetail
public DeviceAccessDetailResponse getDeviceAccessDetail(String deviceName)
updateDeviceRegistry
public DeviceProfileResponse updateDeviceRegistry(String deviceName,
UpdateDeviceRegistryRequest updateDeviceRegistryRequest)
updateDeviceSecretKey
public DeviceAccessDetailResponse updateDeviceSecretKey(String deviceName)
resetDevices
public DeviceListResponse resetDevices(DeviceListRequest request)
getDeviceView
public DeviceViewResponse getDeviceView(String deviceName)
updateDeviceView
public DeviceViewResponse updateDeviceView(String deviceName,
UpdateDeviceViewRequest updateDeviceViewRequest)
createSchema
public SchemaCreateResponse createSchema(SchemaCreateRequest schemaCreateRequest)
getSchema
public SchemaResponse getSchema(String schemaId)
getSchemas
public SchemaListResponse getSchemas(int pageNo,
int pageSize,
String orderBy,
String order,
String key)
updateSchema
public void updateSchema(String schemaId,
SchemaUpdateRequest schemaUpdateRequest)
deleteSchema
public void deleteSchema(String schemaId)
Copyright © 2020. All rights reserved.