Help Center/ Object Storage Service/ SDK Reference/ C/ Parameters/ Request parameters for creating a parallel file system
Updated on 2026-08-03 GMT+08:00

Request parameters for creating a parallel file system

Table 1 List of request parameters

Parameter

Type

Mandatory (Yes/No)

Description

options

const obs_options *

Yes

The context of the requested bucket. Refer to Configuring option (SDK for C) to set the AK, SK, endpoint, bucket, timeout, and temporary credentials through obs_options.

canned_acl

obs_canned_acl

Yes

Access control policy

location_constraint

char *

No

Bucket location

handler

obs_response_handler *

Yes

A callback structure where all members are pointers to callback functions, used to set the callback functions that handle response data. You can set a callback function to copy the response data from the server to your custom callback_data.

callback_data

void *

No

Custom callback data.

param

obs_create_bucket_params *

Yes

This field is used only in the create_bucket_with_params interface.

The request body contains:

  • obs_canned_acl canned_acl: permissions control policy
  • obs_az_redundancy az_redundancy: multi-AZ or single-AZ
    • Single-AZ: OBS_REDUNDANCY_1AZ
    • 3AZ: OBS_REDUNDANCY_3AZ
  • const char *location_constraint: region where the bucket is to be created. To create a 3AZ bucket, you need to specify a region that supports 3AZ storage.