{"base_path":"/","components":null,"consumes":"","definitions":{"CreatePtrReq":{"properties":{"description":{"description":"对PTR记录的描述。","type":"string"},"enterprise_project_id":{"description":"反向解析关联的企业项目ID,长度不超过36个字符。","type":"string"},"ptrdname":{"description":"PTR记录对应的域名。","type":"string"},"tags":{"description":"资源标签。","items":{"$ref":"#/definitions/tag"},"type":"array"},"ttl":{"description":"PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。取值范围:1~2147483647","format":"int32","type":"integer"}},"required":["ptrdname"]},"Floatingips":{"properties":{"action":{"description":"对该资源的当前操作。取值范围:CREATE,UPDATE,DELETE,NONE CREATE:表示创建,UPDATE:表示更新,DELETE:表示删除,NONE:表示无操作","type":"string"},"address":{"description":"弹性公网IP的IP地址。","type":"string"},"description":{"description":"对PTR记录的描述。","type":"string"},"enterprise_project_id":{"description":"反向解析关联的企业项目ID,长度不超过36个字符。","type":"string"},"id":{"description":"PTR记录的ID,格式形如{region}:{floatingip_id}。","type":"string"},"links":{"$ref":"#/definitions/pageLink"},"ptrdname":{"description":"PTR记录对应的域名。","type":"string"},"status":{"description":"资源状态。","type":"string"},"ttl":{"description":"PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。","format":"int32","type":"integer"}}},"pageLink":{"description":"指向当前资源或者其他资源的链接。当查询需要分页时,需要包含一个next链接指向下一页。","properties":{"next":{"description":"下一页资源的链接。","type":"string"},"self":{"description":"当前资源的链接。","type":"string"}}},"tag":{"properties":{"key":{"description":"键。最大长度36个unicode字符。 key不能为空。不能包含“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”,且首尾字符不能为空格。","type":"string"},"value":{"description":"值。每个值最大长度43个unicode字符,可以为空字符串。 不能包含“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”,且首尾字符不能为空格。","type":"string"}},"required":["key"]}},"description":null,"group_id":"2ab479966f0f4e20b884fafa72e0161b","host":"dns.cn-north-4.myhuaweicloud.com","id":"82bb8f446ff8486ebbab8f655f725295","info_version":"v2","method":"patch","name":"CreateEipRecordSet","parameters":{"X-Auth-Token":{"description":"用户Token。\n\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."}},"paths":{"/v2/reverse/floatingips/{region}:{floatingip_id}":{"patch":{"description":"设置弹性公网IP的PTR记录","operationId":"CreateEipRecordSet","parameters":[{"description":"租户的区域信息。","in":"path","name":"region","required":true,"type":"string"},{"description":"弹性公网IP(EIP)的ID。","in":"path","name":"floatingip_id","required":true,"type":"string"},{"$ref":"#/parameters/X-Auth-Token"},{"description":"设置弹性公网IP的PTR记录请求。","in":"body","name":"CreatePtrReq","required":true,"schema":{"$ref":"#/definitions/CreatePtrReq"}}],"produces":["application/json"],"responses":{"202":{"description":"设置弹性公网IP的PTR记录响应。","examples":{"application/json":{"action":"CREATE","address":"10.154.52.138","description":"Description for this PTR record","enterprise_project_id":0,"id":"region_id:c5504932-bf23-4171-b655-b87a6bc59334","links":{"self":"https://Endpoint/v2/reverse/floatingips/region_id:c5504932-bf23-4171-b655-b87a6bc59334"},"ptrdname":"www.example.com.","status":"PENDING_CREATE","ttl":300}},"schema":{"$ref":"#/definitions/Floatingips"}}},"summary":"设置弹性公网IP的PTR记录","tags":["PTR Record管理"],"x-is-registered":"Y","x-request-examples-description-1":"设置弹性公网IP的PTR记录,设置TTL为300秒。","x-request-examples-text-1":{"description":"Description for this PTR record","ptrdname":"www.example.com","tags":[{"key":"key1","value":"value1"}],"ttl":300},"x-request-examples-url-1":"PATCH https://{endpoint}/v2/reverse/floatingips/{region}:{floatingip_id}","x-support-sdk":"Y"}}},"product_short":"DNS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"设置弹性公网IP的PTR记录","tags":"PTR Record管理","uri":null,"version":"2.0"}