XML_CloudStorage

XML message about access parameters 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><!--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><!--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>
  <protocolType> <!--required, xs:string, cloud storage protocol type: "V1.0", "V2.0", "Image and Video Cloud"--></protocolType>
  <cloudStorageType><!--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><!--required, this node in valid only when the vaule of protocolType is V2.0-->
    <enabled><!--required, xs:integer, whether to enable--></enabled>
    <addressingFormatType><!--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><!--required, xs:integer, port No.--></port>
    <accessKeyLen><!--dependent, access key length, it is valid only when the value of isSupportAccessKey "true"--></accessKeyLen>
    <secretKeyLen><!--dependent, secret key length, it is valid only when the value of isSupportSecretKey "true"--></secretKeyLen>
    <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>
    <resourceID><!--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>
    <port><!--required, xs:integer, port No.--></port>
    <accessKeyLen><!--dependent, access key length, it is valid only when the value of isSupportAccessKey "true"--></accessKeyLen>
    <secretKeyLen><!--dependent, secret key length, it is valid only when the value of isSupportSecretKey "true"--></secretKeyLen>
    <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>
  </ImageAndVideoCloud>
  <bucketName><!--optional, xs:string, bucket name of cloud storage --></bucketName>
</CloudStorage>