{
"os_bucket": {
"object_storage_class": {
"matching_info": {
"matching_rules": [
{
"class_id": "string",
"class_name": "string",
"matching_condition": {
"cond_operator": "string",
"conditions": [
{
"value": "string",
"min_size": 0,
"key": "string",
"operator": "string",
"max_size": 0,
"size": 0
}
]
},
"prior": 0
}
],
"mismatching_action": "string"
},
"x_amz_storage_class_enabled": true,
"type": "string"
},
"specification_objects": 0,
"all_user_permission": "string",
"external_quota_max_size": 0,
"policy_id": 0,
"quota_max_size": 0,
"auth_user_permission": "string",
"quota_max_objects": 0,
"delete_archive_storage_class": "string",
"name": "string",
"local_quota_max_size": 0,
"flag": {
"delete_trigger_archive_tier": true,
"get_trigger_restore": true,
"versioned": true,
"tier_retain_external_object": true,
"versions_suspended": true,
"worm": true,
"tier_cache": true,
"readonly": true,
"recycle": true,
"tier_worm": true
},
"owner_permission": "string",
"restore_days": 0,
"log_delivery_permission": "string",
"external_quota_max_objects": 0,
"local_quota_max_objects": 0,
"owner_id": 0,
"object_cover": {
"expiration_seconds": 0,
"cover_quota": true
},
"description": "string"
}
}curl --location --request POST 'http://10.16.11.91:6012/sddc/v1/v1/os-buckets/' \
--header 'x-sddc-token: 78ce2df0c80e4b10a28c7779af4dc10f' \
--header 'Content-Type: application/json' \
--data-raw '{
"os_bucket": {
"object_storage_class": {
"matching_info": {
"matching_rules": [
{
"class_id": "string",
"class_name": "string",
"matching_condition": {
"cond_operator": "string",
"conditions": [
{
"value": "string",
"min_size": 0,
"key": "string",
"operator": "string",
"max_size": 0,
"size": 0
}
]
},
"prior": 0
}
],
"mismatching_action": "string"
},
"x_amz_storage_class_enabled": true,
"type": "string"
},
"specification_objects": 0,
"all_user_permission": "string",
"external_quota_max_size": 0,
"policy_id": 0,
"quota_max_size": 0,
"auth_user_permission": "string",
"quota_max_objects": 0,
"delete_archive_storage_class": "string",
"name": "string",
"local_quota_max_size": 0,
"flag": {
"delete_trigger_archive_tier": true,
"get_trigger_restore": true,
"versioned": true,
"tier_retain_external_object": true,
"versions_suspended": true,
"worm": true,
"tier_cache": true,
"readonly": true,
"recycle": true,
"tier_worm": true
},
"owner_permission": "string",
"restore_days": 0,
"log_delivery_permission": "string",
"external_quota_max_objects": 0,
"local_quota_max_objects": 0,
"owner_id": 0,
"object_cover": {
"expiration_seconds": 0,
"cover_quota": true
},
"description": "string"
}
}'