{
"dp_dfs_snapshot_policy": {
"retain_time": "string",
"dp_gateway_id": 0,
"description": "string",
"name": "string",
"cron_expr": "string"
}
}curl --location --request POST 'http://10.16.11.91:6012/sddc/v1/v1/dp-dfs-snapshot-policies/' \
--header 'x-sddc-token: 78ce2df0c80e4b10a28c7779af4dc10f' \
--header 'Content-Type: application/json' \
--data-raw '{
"dp_dfs_snapshot_policy": {
"retain_time": "string",
"dp_gateway_id": 0,
"description": "string",
"name": "string",
"cron_expr": "string"
}
}'{
"dp_dfs_snapshot_policy": {
"status": "string",
"description": "string",
"protected_path_num": 0,
"create": "2019-08-24T14:15:22Z",
"update": "2019-08-24T14:15:22Z",
"cluster": {
"os_gateway_oplog_switch": true,
"action_status": "string",
"is_skip_partition": true,
"maintained": true,
"metadata_partition_num": 0,
"osp_gateway_is_connected": "string",
"journal_partition_num": 0,
"gateway_network": "string",
"admin_network": "string",
"private_network": "string",
"id": 0,
"snmp_enabled": true,
"create": "2019-08-24T14:15:22Z",
"is_set_topology": true,
"osp_gateway_network": "string",
"version": "string",
"is_set_partition": true,
"type": "string",
"host_num": 0,
"status": "string",
"public_network": "string",
"down_out_interval": 0,
"update": "2019-08-24T14:15:22Z",
"contain_os_osd": true,
"fs_id": "string",
"elasticsearch_enabled": true,
"name": "string",
"host_num_in_dc": 0,
"access_token": {
"used": true,
"description": "string",
"roles": [
"string"
],
"create": "2019-08-24T14:15:22Z",
"update": "2019-08-24T14:15:22Z",
"user": {
"skip_guide": true,
"display_name": "string",
"id": 0,
"name": "string"
},
"id": 0,
"name": "string"
},
"disk_lighting_mode": "string",
"default": true,
"admin_access_token_num": 0,
"osp_cluster_network": "string",
"boot_node": {
"status": "string",
"public_network": "string",
"cluster": {
"status": "string",
"type": "string",
"id": 0,
"fs_id": "string",
"name": "string"
},
"host": {
"gateway_ips": "string",
"name": "string",
"up": true,
"numa_nodes": "string",
"admin_ip": "string",
"id": 0
},
"gateway_network": "string",
"admin_network": "string",
"private_network": "string",
"id": 0
},
"access_url": "string",
"stats_reserved_days": 0
},
"cron_expr": "string",
"id": 0,
"retain_time": "string",
"name": "string"
}
}