Appendix

BSG

  • API Reference
    • Appendix
    • Baidu Storage Gateway-related APIs
    • Common Headers and Error Responses
    • General Description
    • Overview
    • Permission Group-related APIs
    • Permission-related APIs
    • Service domain
    • Shared Target-related APIs
    • Storage Gateway - Console-API
  • FAQs
  • Operation guide
    • Permission Group Operations
      • Create Permission Group
      • Delete permission group
      • Modify permission group
    • Share File Target Operations
      • Add Permission Group
      • Create New Share File Target
      • Using Share File Target
    • Storage Gateway Operations
      • Create New Storage Gateway
      • Deploy Local Gateway
      • Using Storage Gateway
  • Operation Guide (Archiving & Not Online)
    • Overview
    • Setting Access Permissions
    • Setting Up Storage Gateway and Share Target
    • Using Storage Gateway
    • Version Update Records
  • Product Description
    • Application scenarios
    • Core concepts
    • Product Introduction
    • Product specifications
  • Product pricing
  • Product Updates
  • Quick Start
    • Activating Product Services
    • Quick Start
  • Service Level Agreement (SLA)
All documents
menu
No results found, please re-enter

BSG

  • API Reference
    • Appendix
    • Baidu Storage Gateway-related APIs
    • Common Headers and Error Responses
    • General Description
    • Overview
    • Permission Group-related APIs
    • Permission-related APIs
    • Service domain
    • Shared Target-related APIs
    • Storage Gateway - Console-API
  • FAQs
  • Operation guide
    • Permission Group Operations
      • Create Permission Group
      • Delete permission group
      • Modify permission group
    • Share File Target Operations
      • Add Permission Group
      • Create New Share File Target
      • Using Share File Target
    • Storage Gateway Operations
      • Create New Storage Gateway
      • Deploy Local Gateway
      • Using Storage Gateway
  • Operation Guide (Archiving & Not Online)
    • Overview
    • Setting Access Permissions
    • Setting Up Storage Gateway and Share Target
    • Using Storage Gateway
    • Version Update Records
  • Product Description
    • Application scenarios
    • Core concepts
    • Product Introduction
    • Product specifications
  • Product pricing
  • Product Updates
  • Quick Start
    • Activating Product Services
    • Quick Start
  • Service Level Agreement (SLA)
  • Document center
  • arrow
  • BSG
  • arrow
  • API Reference
  • arrow
  • Appendix
Table of contents on this page
  • Type information
  • Status of Baidu Storage Gateway
  • Shared target status
  • Permission status
  • Data type
  • TargetInfo
  • authGroupInfo
  • authInfo
  • nfsFileShareConfig
  • smbFileShareConfig

Appendix

Updated at:2025-11-12

Type information

Status of Baidu Storage Gateway

Name Types Description
CREATING String Creating
CREATE_FAILED String Creation failed
RUNNING String Normal running (creation succeeded)
DELETED String Deleted
EXPIRED String Expired (payment required)

Shared target status

Name Types Description
CREATING String Creating
CREATE_FAILED String Creation failed
CONFIGURING String Configuring (launching storage service)
RUNNING String Normal running (creation succeeded)
DELETED String Deleted

Permission status

Name Types Description
CREATING String Creating
CREATE_FAILED String Creation failed
CONFIGURING String Configuring
RUNNING String Normal running (active)
DELETED String Deleted

Data type

TargetInfo

Plain Text
1"TargetInfo": {
2   "targetId": targetId,
3   "bucketName": bucketName,
4   "protocolType": protocolType,
5   "groupId": groupId,
6 }
Name Types Description
targetId String Shared target ID
name String Shared target name
protocolType String Protocol type: NFS SMB
bucket String BOS bucket associated with the shared target

authGroupInfo

Plain Text
1"groupInfo": {
2   "authGroupId": authGroupId,
3   "name": name,
4   "protocolType": protocolType,
5 
6   "accounts": [
7       accountId,
8    ]
9 }
Name Types Description
authGroupId String Permission group ID
name String Permission group name
protocolType String Protocol name: NFS SMB
authList List Detailed permission information list

authInfo

Plain Text
1"authInfo": {
2   "authId": authId,
3   "protocolType": protocolType,
4   "nfsFileShareConfig": {
5     "ip": ip,
6     "mode": mode,
7     "squash": squash,
8     "sync": sync,
9   },
10   
11   "smbFileShareConfig": {
12     "userName": userName,
13     "password": password,
14   }    
15 }
Parameter name Types Description
authId String Permission ID
protocolType String Baidu Storage Gateway Protocol
nfsFileShareConfig nfsFileShareConfig NFS protocol configuration
smbFileShareConfig smbFileShareConfig SMB protocol configuration

nfsFileShareConfig

Plain Text
1"nfsFileShareConfig": {
2   “ip“: ip,
3   "mode": mode,
4   "squash": squash,
5   "sync":sync,
6},
Parameter name Types Description
ip String IP information for accessing NFS, supporting single IP and IP segments
mode String Access permission, ro: read-only & rw: read-write
squash String Specify root permission. no_root_squash: unrestricted; root_squash: restrict root user; all_squash: restrict all users
sync String Specify persistent data write method: sync: synchronous & async: asynchronous

smbFileShareConfig

Plain Text
1 "smbFileShareConfig": {
2     "userName": userName,
3     "password": password,
4  }
Parameter name Types Description
userName String Users accessing SMB
password String Password for users accessing SMB

Next
Baidu Storage Gateway-related APIs