{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-hdr/change-recovery-point":{"post":{"operationId":"cloud_aliyun_hdr_change_recovery_point","summary":"Changes a recovery point","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"ID of the protected server"},"RecoveryInstanceName":{"type":"string","description":"Name of the recovered instance"},"RecoveryCpu":{"type":"integer","description":"Number of vCPUs for the recovered instance"},"RecoveryMemory":{"type":"integer","description":"Memory size (bytes) for the recovered instance"},"RecoveryInstanceType":{"type":"string","description":"Instance type of the recovered instance"},"RecoveryUseSsd":{"type":"string","description":"Whether the recovered instance uses SSD storage"},"RecoveryUseEssd":{"type":"string","description":"Whether the recovered instance uses ESSD storage"},"RecoveryNetwork":{"type":"string","description":"VSwitch ID for the recovered instance"},"RecoveryReserveIp":{"type":"string","description":"Whether the recovered instance retains the source server's IP address"},"RecoveryUseDhcp":{"type":"string","description":"Whether the recovered instance uses DHCP to assign an IP address"},"RecoveryIpAddress":{"type":"string","description":"Manually specified IP address for the recovered instance"},"RecoveryPostScriptType":{"type":"string","description":"Type of script to run after the recovered instance starts"},"RecoveryPostScriptContent":{"type":"string","description":"Content of the script to run after the recovered instance starts"},"RecoveryPointId":{"type":"string","description":"ID of the recovery point"},"RecoveryPointTime":{"type":"integer","description":"Timestamp of the recovery point"},"EipAddressId":{"type":"string","description":"Elastic Network Interface (ENI) ID attached to the recovered instance"},"RecoveryEssdPerformanceLevel":{"type":"string","enum":["PL0","PL1","PL2","PL3"],"description":"Performance level (PL) of the ESSD disk. Valid PL levels depend on the minimum disk size"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/commit-failover":{"post":{"operationId":"cloud_aliyun_hdr_commit_failover","summary":"Confirm the failover","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"The ID of the protected server"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/create-recovery-plan":{"post":{"operationId":"cloud_aliyun_hdr_create_recovery_plan","summary":"Creates a recovery plan","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairId":{"type":"string","description":"The site pair ID"},"Name":{"type":"string","description":"The recovery plan name"},"Direction":{"type":"string","description":"The direction of the recovery plan. Supports forward"},"Content":{"type":"string","description":"The recovery plan details"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/create-site-pair":{"post":{"operationId":"cloud_aliyun_hdr_create_site_pair","summary":"Creates a disaster recovery site pair","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairType":{"type":"string","description":"The type of the site pair"},"PrimarySiteName":{"type":"string","description":"The name of the primary site"},"PrimarySiteType":{"type":"string","description":"The type of the primary site"},"PrimarySiteRegionId":{"type":"string","description":"The region ID of the primary site"},"PrimarySiteVpcId":{"type":"string","description":"The virtual private cloud (VPC) ID of the primary site"},"PrimarySiteZoneId":{"type":"string","description":"The zone ID of the primary site. This parameter is valid only when the site pair type is cross-zone disaster recovery"},"SecondarySiteName":{"type":"string","description":"The name of the secondary site"},"SecondarySiteType":{"type":"string","description":"The type of the secondary site"},"SecondarySiteRegionId":{"type":"string","description":"The region ID of the secondary site"},"SecondarySiteVpcId":{"type":"string","description":"The VPC ID of the secondary site"},"SecondarySiteZoneId":{"type":"string","description":"The zone ID of the secondary site. This parameter is valid only when the site pair type is cross-zone disaster recovery"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/delete-recovery-plan":{"post":{"operationId":"cloud_aliyun_hdr_delete_recovery_plan","summary":"Delete a recovery plan by its ID","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"RecoveryPlanId":{"type":"string","description":"The ID of the recovery plan"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/delete-site-pair":{"post":{"operationId":"cloud_aliyun_hdr_delete_site_pair","summary":"Deletes a site pair","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SitePairId"],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairId":{"type":"string","description":"ID of the site pair"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-available-instance-types":{"post":{"operationId":"cloud_aliyun_hdr_describe_available_instance_types","summary":"Queries the available instance types for scenarios such as disaster recovery drills, failovers, and failbacks","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Region","ZoneId","DiskType"],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"Region":{"type":"string","description":"The region ID"},"ZoneId":{"type":"string","description":"The zone ID"},"DiskType":{"type":"string","description":"The disk type"},"ChargeType":{"type":"string","enum":["PostPaid","PrePaid"],"description":"The billing method"},"Network":{"type":"string","description":"The network type"},"IoOptimized":{"type":"string","description":"Specifies whether the instance is I/O optimized"},"SortBy":{"type":"string","description":"The field to sort by"},"Order":{"type":"string","enum":["asc","desc"],"description":"The sort order"},"Filter":{"type":"string","description":"The filter expression for the query. Separate multiple expressions with semicolons (;). An expression consists of a key, an operator, and…"},"PageNumber":{"type":"integer","description":"The page number"},"PageSize":{"type":"integer","description":"The number of entries per page"},"UserClient":{"type":"string","description":"Specifies whether to use your user role to query for available instance types. By default, the query is performed using the Hybrid…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-infrastructures":{"post":{"operationId":"cloud_aliyun_hdr_describe_infrastructures","summary":"Queries infrastructure information for a site. Hybrid Disaster Recovery supports disaster recovery across…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SiteId":{"type":"string","description":"Site ID"},"PageNumber":{"type":"integer","description":"Page number of the current page"},"PageSize":{"type":"integer","description":"Number of entries per page"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-recovery-plan":{"post":{"operationId":"cloud_aliyun_hdr_describe_recovery_plan","summary":"Query the details of a recovery plan","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"RecoveryPlanId":{"type":"string","description":"The ID of the recovery plan"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-recovery-plans":{"post":{"operationId":"cloud_aliyun_hdr_describe_recovery_plans","summary":"Lists recovery plans for a site pair","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairId":{"type":"string","description":"ID of the site pair"},"PageNumber":{"type":"integer","description":"Page number for the paged query. Default value: 1"},"PageSize":{"type":"integer","description":"Number of entries per page for the paged query. Default value: 10"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-recovery-points":{"post":{"operationId":"cloud_aliyun_hdr_describe_recovery_points","summary":"List the available recovery points","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"ID of the protected server"},"StartTime":{"type":"integer","description":"Start time for the query. List recovery points created on or after this time"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-server":{"post":{"operationId":"cloud_aliyun_hdr_describe_server","summary":"Query information about a protected server","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"ID of the protected server"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-servers":{"post":{"operationId":"cloud_aliyun_hdr_describe_servers","summary":"Queries protected servers","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairId":{"type":"string","description":"Site pair ID"},"ServerIds":{"type":"string","description":"List of protected server IDs"},"PageNumber":{"type":"integer","description":"Page number"},"PageSize":{"type":"integer","description":"Number of entries per page"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-site":{"post":{"operationId":"cloud_aliyun_hdr_describe_site","summary":"Queries information about a site","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SiteId"],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SiteId":{"type":"string","description":"The ID of the site"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-site-pair":{"post":{"operationId":"cloud_aliyun_hdr_describe_site_pair","summary":"Query information about a site pair","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SitePairId"],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairId":{"type":"string","description":"ID of the site pair"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-site-pair-statistics":{"post":{"operationId":"cloud_aliyun_hdr_describe_site_pair_statistics","summary":"Query performance statistics for a site","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairId":{"type":"string","description":"ID of the site pair"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-site-pairs":{"post":{"operationId":"cloud_aliyun_hdr_describe_site_pairs","summary":"Query site pair information","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairType":{"type":"string","description":"Site pair type"},"PageNumber":{"type":"integer","description":"Current page number."},"PageSize":{"type":"integer","description":"Number of entries per page for paged query. Default value is 10."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-summary":{"post":{"operationId":"cloud_aliyun_hdr_describe_summary","summary":"Queries overview information","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-task":{"post":{"operationId":"cloud_aliyun_hdr_describe_task","summary":"Queries the details of a task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"TaskId":{"type":"string","description":"The task ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/describe-tasks":{"post":{"operationId":"cloud_aliyun_hdr_describe_tasks","summary":"Lists tasks","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairId":{"type":"string","description":"ID of the site pair"},"PageNumber":{"type":"integer","description":"Page number of the paged query"},"PageSize":{"type":"integer","description":"Number of entries per page"},"SortBy":{"type":"string","description":"Sort by creation time or update time"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/disable-replication":{"post":{"operationId":"cloud_aliyun_hdr_disable_replication","summary":"Stop replication","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"Protected server ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/enable-replication":{"post":{"operationId":"cloud_aliyun_hdr_enable_replication","summary":"Enables replication","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"The ID of the protected server"},"ReplicationUseSsd":{"type":"string","description":"Specifies whether the replication instance uses standard SSDs"},"ReplicationUseEssd":{"type":"string","description":"Specifies whether the replication instance uses ESSDs"},"ReplicationNetwork":{"type":"string","description":"The ID of the VSwitch for the replication network"},"RecoveryNetwork":{"type":"string","description":"The ID of the VSwitch for the recovery network"},"CrashConsistentPointPolicy":{"type":"string","description":"The recovery point policy"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/failback":{"post":{"operationId":"cloud_aliyun_hdr_failback","summary":"Failback","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"Protected server ID"},"RecoveryInfrastructureId":{"type":"string","description":"Recovery site infrastructure ID"},"RecoveryInstanceName":{"type":"string","description":"Instance name for disaster recovery"},"RecoveryCpu":{"type":"integer","description":"Number of CPU cores for the disaster recovery instance"},"RecoveryMemory":{"type":"integer","description":"Memory size for the disaster recovery instance, in MB"},"RecoveryInstanceType":{"type":"string","description":"Instance type for disaster recovery. If not specified, the system automatically selects an available instance type based on the number of…"},"RecoveryNetwork":{"type":"string","description":"VSwitch ID of the failback instance"},"RecoveryReserveIp":{"type":"string","description":"Retain the original IP address for the failback instance"},"RecoveryUseDhcp":{"type":"string","description":"Use DHCP to assign an IP address to the failback instance"},"RecoveryIpAddress":{"type":"string","description":"Manually set the IP address for the failback instance"},"RecoveryPostScriptType":{"type":"string","description":"Script type to run after the failback instance starts"},"RecoveryPostScriptContent":{"type":"string","description":"Script content to run after the failback instance starts"},"RecoveryPointId":{"type":"string","description":"Recovery point ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/forced-failover":{"post":{"operationId":"cloud_aliyun_hdr_forced_failover","summary":"Performs a forced failover","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"The ID of the protected server"},"RecoveryInstanceName":{"type":"string","description":"The name of the failover instance"},"RecoveryCpu":{"type":"integer","description":"The number of vCPUs for the failover instance"},"RecoveryMemory":{"type":"integer","description":"The memory size of the failover instance"},"RecoveryInstanceType":{"type":"string","description":"The instance type of the failover instance"},"RecoveryUseSsd":{"type":"string","description":"Indicates whether the cloud disks of the failover instance are solid-state drives (SSDs)"},"RecoveryUseEssd":{"type":"string","description":"Indicates whether the cloud disks of the failover instance are Enhanced SSDs (ESSDs)"},"RecoveryNetwork":{"type":"string","description":"The ID of the vSwitch where the failover instance is located"},"RecoveryReserveIp":{"type":"string","description":"Indicates whether the failover instance retains the IP address of the source server"},"RecoveryUseDhcp":{"type":"string","description":"Indicates whether the failover instance uses Dynamic Host Configuration Protocol (DHCP) to assign an IP address"},"RecoveryIpAddress":{"type":"string","description":"The IP address that is manually specified for the failover instance"},"RecoveryPostScriptType":{"type":"string","description":"The type of the script to execute after the failover instance starts"},"RecoveryPostScriptContent":{"type":"string","description":"The content of the script to execute after the failover instance starts"},"RecoveryPointId":{"type":"string","description":"The recovery point ID"},"RecoveryPointTime":{"type":"integer","description":"The time of the recovery point"},"EipAddressId":{"type":"string","description":"The ID of the elastic network interface (ENI) that is attached to the instance for failover"},"RecoveryEssdPerformanceLevel":{"type":"string","enum":["PL0","PL1","PL2","PL3"],"description":"The performance level (PL) of the ESSD. The supported PL is determined by the minimum cloud disk size"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/register-servers":{"post":{"operationId":"cloud_aliyun_hdr_register_servers","summary":"Add servers to protection","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"SitePairId":{"type":"string","description":"Site pair ID"},"ServerInstancesInfo":{"type":"string","description":"Server registration information"},"AgentPort":{"type":"integer","description":"Agent service port. Default is 9080"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/reversed-disable-replication":{"post":{"operationId":"cloud_aliyun_hdr_reversed_disable_replication","summary":"Stops reverse replication","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"ID of the protected server"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/reversed-enable-replication":{"post":{"operationId":"cloud_aliyun_hdr_reversed_enable_replication","summary":"Start reverse replication","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"Protected server ID"},"ReplicationUseOriginalInstance":{"type":"string","description":"Use the source instance for reverse replication"},"ReplicationInfrastructureId":{"type":"string","description":"Target site infrastructure ID"},"ReplicationLocation":{"type":"string","description":"-"},"ReplicationComputeResource":{"type":"string","description":"-"},"ReplicationDatastore":{"type":"string","description":"-"},"ReplicationNetwork":{"type":"string","description":"VSwitch ID of the replication network for reverse replication"},"ReplicationUseDhcp":{"type":"string","description":"-"},"ReplicationIpAddress":{"type":"string","description":"-"},"ReplicationNetMask":{"type":"string","description":"-"},"ReplicationDns":{"type":"string","description":"-"},"ReplicationGateway":{"type":"string","description":"-"},"RecoveryNetwork":{"type":"string","description":"VSwitch ID of the recovery network for reverse replication"},"CrashConsistentPointPolicy":{"type":"string","description":"-"},"AppConsistentPointPolicy":{"type":"string","description":"-"},"ShadowInstanceType":{"type":"string","description":"-"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/test-cleanup":{"post":{"operationId":"cloud_aliyun_hdr_test_cleanup","summary":"Cleans up the disaster recovery drills environment","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"Protected server ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/test-failover":{"post":{"operationId":"cloud_aliyun_hdr_test_failover","summary":"Performs a disaster recovery drill","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"Protected server ID"},"RecoveryInstanceName":{"type":"string","description":"Instance name for the drill"},"RecoveryCpu":{"type":"integer","description":"Number of CPU cores for the drill instance"},"RecoveryMemory":{"type":"integer","description":"Memory size of the drill instance, in MB"},"RecoveryInstanceType":{"type":"string","description":"Instance type for the drill. If not specified, the system automatically finds an available instance type based on the specified number of…"},"RecoveryUseSsd":{"type":"string","description":"Whether the drill instance uses SSD cloud disks"},"RecoveryUseEssd":{"type":"string","description":"Whether the drill instance uses ESSD cloud disks"},"RecoveryNetwork":{"type":"string","description":"VSwitch ID where the drill instance resides"},"RecoveryReserveIp":{"type":"string","description":"Whether the drill instance retains the source machine's IP address (requires the VSwitch where the drill runs to include the corresponding…"},"RecoveryUseDhcp":{"type":"string","description":"Whether the drill instance uses DHCP to assign an IP address"},"RecoveryIpAddress":{"type":"string","description":"IP address of the drill instance"},"RecoveryPostScriptType":{"type":"string","description":"Script type to execute after the drill instance starts. Options: SHELL"},"RecoveryPostScriptContent":{"type":"string","description":"Script to execute after the drill instance starts"},"RecoveryPointId":{"type":"string","description":"Recovery point ID used by the drill instance"},"RecoveryPointTime":{"type":"integer","description":"Recovery point time. If the recovery point ID is not specified, query available recovery points based on the recovery point time"},"EipAddressId":{"type":"string","description":"Elastic IP Address ID bound to the drill instance"},"RecoveryEssdPerformanceLevel":{"type":"string","enum":["PL0","PL1","PL2","PL3"],"description":"PL level of the ESSD disk. Supported PL levels are determined by the minimum cloud disk size"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/trigger-reversed-register":{"post":{"operationId":"cloud_aliyun_hdr_trigger_reversed_register","summary":"Reverse register the instance that completed failover. This operation registers the instance from the…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"ID of the protected server"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/unregister-server":{"post":{"operationId":"cloud_aliyun_hdr_unregister_server","summary":"Removes a protected server from the backup service","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ServerId"],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"ServerId":{"type":"string","description":"The ID of the protected server"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/update-recovery-plan":{"post":{"operationId":"cloud_aliyun_hdr_update_recovery_plan","summary":"Modifies the content of a recovery plan","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"},"RecoveryPlanId":{"type":"string","description":"The ID of the recovery plan"},"Name":{"type":"string","description":"The name of the recovery plan"},"Content":{"type":"string","description":"The details of the recovery plan"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-hdr/version":{"post":{"operationId":"cloud_aliyun_hdr_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://hdr.cn-shanghai.aliyuncs.com","https://hdr.cn-zhangjiakou.aliyuncs.com"],"default":"https://hdr.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://hdr.cn-shanghai.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}