日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

文檔

EnableResourceDirectory - 開通資源目錄

更新時間:

調用EnableResourceDirectory開通資源目錄。

接口說明

您可以使用當前登錄賬號或新創建管理賬號兩種方式開通資源目錄。更多信息,請參見開通資源目錄

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

當前API暫無授權信息透出。

請求參數

名稱類型必填描述示例值
MANamestring

新管理賬號名稱。

格式:<前綴>@rdadmin.aliyunid.com。其中,<前綴>允許輸入英文字母、數字、特殊字符_.-,且必須以英文字母或數字開頭和結尾,不能輸入連續特殊字符。<前綴>的長度為 2~50 個字符。

user01@rdadmin.aliyunid.com
MASecureMobilePhonestring

新創建管理賬號的安全手機號碼。

置空表示采用當前登錄賬號的安全手機號碼。該手機號碼必須與 SendVerificationCodeForEnableRD 中獲取驗證碼時使用的手機號碼一致。

格式:<國家碼>-<手機號碼>

說明 僅支持填寫86-<手機號碼>的中國內地手機號碼。
xx-13900001234
VerificationCodestring

驗證碼。

您可以調用 SendVerificationCodeForEnableRD 獲取驗證碼。

123456
EnableModestring

開通方式。取值:

  • CurrentAccount:使用當前登錄賬號開通資源目錄。
  • NewManagementAccount:新創建管理賬號開通資源目錄。該方式下,您需要配置MANameMASecureMobilePhoneVerificationCode
CurrentAccount
DryRunboolean

是否只預檢此次請求。取值:

  • true:開通資源目錄檢查,不會實際開通資源目錄。
  • false(默認值):開通資源目錄。
false

返回參數

名稱類型描述示例值
object

返回結果。

ResourceDirectoryobject

資源目錄信息。

ResourceDirectoryIdstring

資源目錄 ID。

rd-54****
MasterAccountIdstring

管理賬號 ID。

507408460615****
MasterAccountNamestring

管理賬號名稱。

alice@example.com
RootFolderIdstring

Root 資源夾 ID。

r-G9****
CreateTimestring

資源目錄開通時間。

2021-12-08T02:15:31.744Z
RequestIdstring

請求 ID。

EC2FE94D-A4A2-51A1-A493-5C273A36C46A

示例

正常返回示例

JSON格式

{
  "ResourceDirectory": {
    "ResourceDirectoryId": "rd-54****",
    "MasterAccountId": "507408460615****",
    "MasterAccountName": "alice@example.com",
    "RootFolderId": "r-G9****",
    "CreateTime": "2021-12-08T02:15:31.744Z"
  },
  "RequestId": "EC2FE94D-A4A2-51A1-A493-5C273A36C46A"
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
409NotSupport.AccountInAnotherResourceDirectoryThe specified account is an Alibaba Cloud account or already exists in another resource directory.您的賬號是另一個資源目錄的管理賬號或是另一個資源目錄內的成員。
409Invalid.EnterpriseNameYou must specify the enterprise name.賬號未設置企業名稱,請您先完成企業名稱設置。
409EnterpriseRealNameVerificationErrorThe specified account does not pass enterprise real-name verification. We recommend you first complete enterprise real-name verification for the account.當前賬號未經過企業實名認證。請您先完成企業實名認證。
409EntityAlreadyExists.ResourceDirectoryThe resource directory for the account is already enabled. We recommend that you do not enable the resource directory again.賬號已開通資源目錄,請勿重復開通。
409InvalidParameter.ManagementAccountName.AlreadyUsedThe ManagementAccountName has been used.管理賬號名稱已被占用,請更換其他名稱。
409Invalid.VerificationCodeThe verification code is invalid.驗證碼無效。
409InvalidParameter.ManagementAccountNameThe management account name is in the wrong format.管理賬號名稱格式錯誤。
409InvalidParameter.ManagementAccountSecurityInfoThe parameter management account secure mobile phone is invalid.安全手機號碼格式不正確。
409MissingSecureMobilePhoneSecure mobile phone is missing.缺少安全手機號碼。
409MissingSecurityInfoSecurity info is missing.缺少安全信息。
409NotSupport.Account.SiteThe caller is not a China site account, which is not supported.當前賬號所屬站點錯誤,請更換為中國站賬號。
409Invalid.AccountTypeThe specified profile type of account is invalid.賬號類型無效,請您使用企業類型賬號。

訪問錯誤中心查看更多錯誤碼。

變更歷史

變更時間變更內容概要操作
2023-12-21OpenAPI 錯誤碼發生變更、OpenAPI 入參發生變更看變更集
變更項變更內容
錯誤碼OpenAPI 錯誤碼發生變更
    錯誤碼 409 變更
入參OpenAPI 入參發生變更
    新增入參:DryRun