类 IotDmV3Client
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.iotdm.IotDmV3Client
-
public class IotDmV3Client extends AbstractBceClient
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 IotDmV3Client(BceClientConfiguration config)
-
方法概要
-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
IotDmV3Client
public IotDmV3Client(BceClientConfiguration config)
-
-
方法详细资料
-
createDeviceRule
public DeviceRuleResponse createDeviceRule(String deviceName, DeviceRuleRequest request)
Create Device Rule of Device .- 参数:
deviceName- Name of Device .request- Params used for create Device Rule .- 返回:
- Device Rule detail .
-
getDeviceRules
public DeviceRuleResponse getDeviceRules(String deviceName)
Get Device Rules of Device .- 参数:
deviceName- Name of Device .- 返回:
- Device Rule detail .
-
modifyDeviceRule
public DeviceRuleResponse modifyDeviceRule(String deviceName, DeviceRuleRequest request)
Modify Device Rule of Device.- 参数:
deviceName- Name of Device .request- Params used for create Device Rule .- 返回:
- Device Rule detail .
-
removeDeviceRule
public void removeDeviceRule(String deviceName)
Remove Device Rule of Device .- 参数:
deviceName- Name of Device .
-
disableDeviceRule
public void disableDeviceRule(String deviceName)
Close Device Rule of Device .- 参数:
deviceName- Name of Device .
-
enableDeviceRule
public void enableDeviceRule(String deviceName)
Enable Device Rule of Device .- 参数:
deviceName- Name of Device .
-
createTsdbFormatRule
public DeviceFormatRuleResponse createTsdbFormatRule(String deviceName, DeviceFormatRuleRequest request)
Create TSDB format Rule of Device .- 参数:
deviceName- Name of Device .request- Params used for create Device TSDB format Rule .- 返回:
- Device format Rule .
-
getTsdbFormatRule
public DeviceFormatRuleResponse getTsdbFormatRule(String deviceName)
Get TSDB format Rule of Device .- 参数:
deviceName- Name of Device .- 返回:
- Device format Rule .
-
modifyTsdbFormatRule
public DeviceFormatRuleResponse modifyTsdbFormatRule(String deviceName, DeviceFormatRuleRequest request)
Modify TSDB format Rule of Device .- 参数:
deviceName- Name of Device .request- Params used for modify Device TSDB format Rule .- 返回:
- Device format Rule .
-
createDomain
public AccessDetailResponse createDomain(CreateDomainRequest createDomainRequest)
Create Domain of Device.- 参数:
createDomainRequest- Params used for create Domain .- 返回:
- Access detail .
-
removeDomain
public void removeDomain(String domainName)
Remove Domain of Device.- 参数:
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 .- 参数:
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 .- 返回:
- Domain list of Device .
-
getDomainDetail
public DomainDetail getDomainDetail(String domainName)
Get Domain detail .- 参数:
domainName- Name of Domain .- 返回:
- Domain detail .
-
modifyDomainDevices
public UpdateDomainDevicesResponse modifyDomainDevices(String domainName, UpdateDomainDevicesRequest updateDomainDevicesRequest)
Modify Devices in Domain .- 参数:
domainName- Name of Domain .updateDomainDevicesRequest- Params used for Domain Devices .- 返回:
- List of Devices added to Domain and removed from Domain .
-
modifyDomainRegistryInfo
public void modifyDomainRegistryInfo(String domainName, UpdateDomainRegistryInfoRequest updateDomainRegistryInfoRequest)
Modify Domain registery infomation .- 参数:
domainName- Name of Domain .updateDomainRegistryInfoRequest- Params used for update Domain registery infomation.
-
getDomainAccessDetail
public AccessDetailResponse getDomainAccessDetail(String domainName)
Get Access detail .- 参数:
domainName- Name of Domain .- 返回:
- Access detail .
-
updateDomainSecretKey
public AccessDetailResponse updateDomainSecretKey(String domainName)
Update Secret key of Domain .- 参数:
domainName- Name of Domain .- 返回:
- 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 .- 参数:
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 .- 返回:
- 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)
-
-