code: def create_cname(data, **api_opts):
      '''
      Create a cname record.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call infoblox.create_cname data={ \
              "comment": "cname to example server", \
              "name": "example.example.com", \
              "zone": "example.com", \
              "view": "Internal", \
              "canonical": "example-ha-0.example.com" \
          }
      '''
      infoblox = _get_infoblox(**api_opts)
      host = infoblox.create_cname(data=data)
      return hosf create_cname(data, **api_opts):
      '''
      Create a cname record.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call infoblox.create_cname data={ \
              "comment": "cname to example server", \
              "name": "example.example.com", \
              "zone": "example.com", \
              "view": "Internal", \
              "canonical": "example-ha-0.example.com" \
          }
      '''
      infoblox = _get_infoblox(**api_opts)
      host = infoblox.create_cname(data=data)
      return host
docs: Create a cname record.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call infoblox.create_cname data={ \
              "comment": "cname to example server", \
              "name": "example.example.com", \
              "zone": "example.com", \
              "view": "Internal", \
              "canonical": "example-ha-0.example.com" \
          }