XML_Cap_CloudStorage

XML message about access capability of cloud storage

<CloudStorage version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <id><!--required, xs:string--></id>
  <enabled><!--required, xs:boolean--></enabled>
  <addressingFormatType opt="ipaddress,hostname"><!--required, xs:string, address type: "ipaddress", "hostname"--></addressingFormatType>
  <hostName><!--dependent, xs:string, host name, it is valid only when the value of addressingFormatType is "hostname"--></hostName>
  <ipAddress><!--dependent, xs:string, IPv4 address, it is valid only when the value of addressingFormatType is "ipaddress"--></ipAddress>
  <ipv6Address><!--dependent, xs:string, IPv6 address, it is valid only when the value of addressingFormatType is "ipaddress"--></ipv6Address>
  <port min="" max=""><!--required, xs:integer, port No.--></port>
  <username><!--dependent, xs:string, user name--></username>
  <password><!--dependent, xs:string, password--></password>
  <postPoolID><!--optional, xs:integer, checkpoint picture pool ID--></postPoolID>
  <illegalPoolID><!--optional, xs:integer, violation picture pool ID--></illegalPoolID>
  <vehicleDetectionID><!--optional, xs:integer, ID of vehicle detection picture pool--></vehicleDetectionID>
  <cloudStorageType opt="0,1,2"><!--optional, xs:integer, 0-cloud storage (default), 1-CVR, 2-pcnvr2.0; if this node is empty, it is the cloud storage by default--></cloudStorageType>
  <V2.0>
    <enabled><!--required, xs:integer, whether to enable--></enabled>
    <addressingFormatType opt="ipaddress,hostname"><!--required, xs:string, address type: "ipaddress,hostname"--></addressingFormatType>
    <hostName><!--dependent, xs:string, host name, it is valid only when the value of addressingFormatType is "hostname"--></hostName>
    <ipAddress><!--dependent, xs:string, IPv4 address, it is valid only when the value of addressingFormatType is "ipaddress"--></ipAddress>
    <ipv6Address><!--dependent, xs:string, IPv6 address, it is valid only when the value of addressingFormatType is "ipaddress"--></ipv6Address>
    <port min="" max=""><!--required, xs:integer, port No.--></port>
    <isSupportAccessKey><!--optional, xs:boolean, whether it supports access key configuration; AccessKey is the cloud storage access key generated by cloud storage management system, and it corresponds to the resource pool user,--></isSupportAccessKey>
    <isSupportSecretKey><!--optional, xs:boolean, whether it supports secret key configuration; SecretKey is the cloud storage protocol encryption key generated by cloud storage management system, and it corresponds to the resource pool user--></isSupportSecretKey>
    <postPoolID min="0" max="4294967295"><!--optional, xs:integer, checkpoint picture pool ID--></postPoolID>
    <illegalPoolID><!--optional, xs:integer, violation picture pool ID--></illegalPoolID>
    <vehicleDetectionID><!--optional, xs:integer, ID of vehicle detection picture pool--></vehicleDetectionID>
    <accessKeyLen min="1" max="64"><!--dependent, access key length, it is valid only when the value of isSupportAccessKey "true"--></accessKeyLen>
    <secretKeyLen min="1" max="64"><!--dependent, secret key length, it is valid only when the value of isSupportSecretKey "true"--></secretKeyLen>
    <resourceID min="0" max="32"><!--optional, xs:string, resource pool ID--></resourceID>
  </V2.0>
  <ImageAndVideoCloud>
    <enabled> <!--required, xs:boolean, whether to enable--> </enabled>
    <addressingFormatType opt="ipaddress,hostname"><!--required, xs:string, address type: "ipaddress", "hostname"--></addressingFormatType>
    <hostName><!--dependent, xs:string, host name, it is valid only when the value of addressingFormatType is "hostname"--></hostName>
    <ipAddress><!--dependent, xs:string, IPv4 address, it is valid only when the value of addressingFormatType is "ipaddress"--></ipAddress>
    <ipv6Address><!--dependent, xs:string, IPv6 address, it is valid only when the value of addressingFormatType is "ipaddress"--></ipv6Address>
    <isSupportAccessKey><!--optional, xs:boolean, whether it supports access key configuration; AccessKey is the cloud storage access key generated by cloud storage management system, and it corresponds to the resource pool user,--></isSupportAccessKey>
    <isSupportSecretKey><!--optional, xs:boolean, whether it supports secret key configuration; SecretKey is the cloud storage protocol encryption key generated by cloud storage management system, and it corresponds to the resource pool user--></isSupportSecretKey>
    <postPoolID min="0" max="4294967295"><!--optional, xs:integer, checkpoint picture pool ID--></postPoolID>
    <illegalPoolID><!--optional, xs:integer, violation picture pool ID--></illegalPoolID>
    <vehicleDetectionID><!--optional, xs:integer, ID of vehicle detection picture pool--></vehicleDetectionID>
    <accessKeyLen min="1" max="64"><!--dependent, access key length, it is valid only when the value of isSupportAccessKey "true"--></accessKeyLen>
    <secretKeyLen min="1" max="64"><!--dependent, secret key length, it is valid only when the value of isSupportSecretKey "true"--></secretKeyLen>
  </ImageAndVideoCloud>
  <protocolType opt="V1.0,V2.0,Image and Video Cloud"> <!--required, xs:string, cloud storage protocol type: "V1.0", "V2.0", "Image and Video Cloud"--></protocolType>
  <isSupportCloudStorageServerParam><!--optional, xs:boolean, whether it supports getting the parameters of cloud storage server--></isSupportCloudStorageServerParam>
  <bucketName><!--optional, xs:string, bucket name of cloud storage --></bucketName>
</CloudStorage>