{
"storage_policy": {
"default": true
}
}curl --location --request POST 'http://10.16.11.91:6012/sddc/v1/v2/os/storage-policies/:set-default' \
--header 'x-sddc-token: 78ce2df0c80e4b10a28c7779af4dc10f' \
--header 'Content-Type: application/json' \
--data-raw '{
"storage_policy": {
"default": true
}
}'{
"storage_policy": {
"lifecycle_schedule_period": 0,
"zone_group": {
"id": 0
},
"recycle_bin": "string",
"external_storage_classes": [
{
"status": "string",
"vendor": "DataBackendPlatformInfoAWS = \"AWS\"",
"name": "string",
"balance_mode": "string",
"platform_type": "DataBackendPlatformTypeObj = \"object\"",
"backends": [
{
"id": 0,
"weight": 0,
"targets": [
{
"pool_actual_size": 0,
"pool_actual_used_size": 0,
"resource_name": "string",
"weight": 0,
"resource_id": 0,
"standby": true,
"id": 0,
"max_size": 0
}
]
}
],
"naming_rule": {
"prefix": "string",
"type": "string"
},
"id": 0,
"description": "string"
}
],
"second_cache_storage_class": {
"status": "string",
"vendor": "DataBackendPlatformInfoAWS = \"AWS\"",
"name": "string",
"balance_mode": "string",
"zones": [
{
"backends": [
{
"id": 0,
"weight": 0,
"targets": [
{
"pool_actual_size": 0,
"pool_actual_used_size": 0,
"resource_name": "string",
"weight": 0,
"resource_id": 0,
"standby": true,
"id": 0,
"max_size": 0
}
]
}
],
"id": 0
}
],
"platform_type": "DataBackendPlatformTypeObj = \"object\"",
"naming_rule": {
"prefix": "string",
"type": "string"
},
"id": 0,
"description": "string"
},
"notification_schedule_time": "string",
"id": 0,
"compact": {
"compact_small_obj_max_size": 0,
"compact_small_obj_cache_size": 0,
"compact_big_obj_max_size": 0,
"second_compact_ratio": 0,
"compact_status": "string"
},
"create": "string",
"multi_protocol": true,
"dedup": true,
"lifecycle_zone": 0,
"replication_schedule_period": 0,
"version": "string",
"rebuild_log_bucket": 0,
"status": "string",
"description": "string",
"compress": "string",
"update": "string",
"notification_zone": 0,
"deep_archive": true,
"cache_storage_class": {
"status": "string",
"vendor": "DataBackendPlatformInfoAWS = \"AWS\"",
"name": "string",
"balance_mode": "string",
"zones": [
{
"backends": [
{
"id": 0,
"weight": 0,
"targets": [
{
"pool_actual_size": 0,
"pool_actual_used_size": 0,
"resource_name": "string",
"weight": 0,
"resource_id": 0,
"standby": true,
"id": 0,
"max_size": 0
}
]
}
],
"id": 0
}
],
"platform_type": "DataBackendPlatformTypeObj = \"object\"",
"naming_rule": {
"prefix": "string",
"type": "string"
},
"id": 0,
"description": "string"
},
"data_storage_classes": [
{
"status": "string",
"vendor": "DataBackendPlatformInfoAWS = \"AWS\"",
"name": "string",
"balance_mode": "string",
"zones": [
{
"backends": [
{
"id": 0,
"weight": 0,
"targets": [
{
"pool_actual_size": 0,
"pool_actual_used_size": 0,
"resource_name": "string",
"weight": 0,
"resource_id": 0,
"standby": true,
"id": 0,
"max_size": 0
}
]
}
],
"id": 0
}
],
"platform_type": "DataBackendPlatformTypeObj = \"object\"",
"naming_rule": {
"prefix": "string",
"type": "string"
},
"id": 0,
"description": "string"
}
],
"replication_zone": 0,
"name": "string",
"rebuild_zone": 0,
"default": true,
"bucket_count": 0,
"lifecycle_schedule_time": "string",
"crypto": true,
"replication_schedule_time": "string"
}
}