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

文檔

CreateResourceAccount - 創建成員

更新時間:

調用CreateResourceAccount創建資源賬號類型的成員。

接口說明

在資源目錄內,成員作為資源容器,是一種資源分組單位。成員通常用于指代一個項目或應用,每個成員中的資源相對其他成員中的資源是物理隔離的。

本文將提供一個示例,在資源夾fd-r23M55****下創建一個成員,其成員顯示名稱為Dev,賬號名稱前綴為alice。

調試

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

授權信息

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

請求參數

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

成員顯示名稱。

長度范圍:2~50 個字符或漢字。

格式:允許輸入漢字、英文字母、數字、下劃線(_)、半角句號(.)、短劃線(-)和空格。

成員顯示名稱在資源目錄內必須唯一。

Dev
ParentFolderIdstring

父資源夾 ID。

fd-r23M55****
PayerAccountIdstring

結算賬號 ID。置空則采用新創建的成員自主結算。

12323344****
AccountNamePrefixstring

賬號名稱前綴。置空則系統隨機生成。

長度范圍:2~50 個字符或漢字。

格式:允許輸入英文字母、數字和特殊字符_.-,必須以英文字母或數字開頭和結尾,且不能輸入連續的特殊字符_.-。

完整賬號名稱的格式為@.aliyunid.com,例如:alice@rd-3G****.aliyunid.com

賬號名稱在資源目錄內必須唯一。

alice
Tagobject []

成員的標簽。

Keystring

標簽鍵。

k1
Valuestring

標簽值。

v1
ResellAccountTypestring

成員的身份類型。取值:

  • resell(默認值):分銷賬號。創建的成員將自動與您的分銷商建立分銷關系,同時您需要使用管理賬號為新成員付款。
  • non_resell :非分銷賬號。創建的成員為阿里云普通賬號,與您當前的分銷商無關聯關系,該賬號直接從阿里云購買資源,需自主付款。
說明 該參數僅支持國際站分銷客戶。
resell
DryRunboolean

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

  • true:發送檢查請求,不會實際創建成員。檢查項當前包括當前賬號是否允許設置成員的身份類型。如果檢查不通過,則返回對應錯誤碼。
  • false(默認):發送正常請求,通過檢查后直接創建成員。
false

關于公共請求參數的詳情,請參見公共參數

返回參數

名稱類型描述示例值
object

返回參數。

Accountobject

成員信息。

Statusstring

成員加入狀態。取值為 CreateSuccess,表示創建成功。

CreateSuccess
Typestring

成員類型。取值為 ResourceAccount,表示資源賬號。

ResourceAccount
DisplayNamestring

成員顯示名稱。

Dev
FolderIdstring

資源夾 ID。

fd-r23M55****
ResourceDirectoryIdstring

資源目錄 ID。

rd-3G****
JoinTimestring

成員加入時間(UTC 時間)。

2020-12-31T03:37:39.456Z
AccountIdstring

成員 ID。

112730938585****
JoinMethodstring

成員加入方式。取值:

  • invited:邀請。
  • created:創建。
created
ModifyTimestring

成員修改時間(UTC 時間)。

2020-12-31T03:37:39.456Z
AccountNamestring

賬號名稱。

alice@rd-3g****.aliyunid.com
RequestIdstring

請求 ID。

B356A415-D860-43E5-865A-E2193D62BBD6

示例

正常返回示例

JSON格式

{
  "Account": {
    "Status": "CreateSuccess",
    "Type": "ResourceAccount",
    "DisplayName": "Dev",
    "FolderId": "fd-r23M55****",
    "ResourceDirectoryId": "rd-3G****",
    "JoinTime": "2020-12-31T03:37:39.456Z",
    "AccountId": "112730938585****",
    "JoinMethod": "created",
    "ModifyTime": "2020-12-31T03:37:39.456Z",
    "AccountName": "alice@rd-3g****.aliyunid.com"
  },
  "RequestId": "B356A415-D860-43E5-865A-E2193D62BBD6"
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
400MissingParameter.Account.DisplayNameYou must specify DisplayName.顯示名缺失,請指定顯示名。
400InvalidParameter.Account.DisplayNameThe DisplayName of account is invalid.顯示名無效,請輸入字符或漢字,可包含漢字、英文字母、數字、下劃線(_)、半角句號(.)和短劃線(-)。
400InvalidParameter.Account.DisplayName.LengthThe DisplayName of the account exceeds the length limit.顯示名長度超出限制,長度為2~50個字符或漢字。
400InvalidParameter.ParentFolderIdThe ParentFolderId is invalid.父資源夾ID無效,資源夾ID應以“r-”開頭+6位數字或英文字母或以“fd-”開頭+10位數字或英文字母。
400InvalidParameter.Account.AccountNamePrefixThe account name prefix is invalid.-
400InvalidParameter.Account.AccountNamePrefix.LengthThe account name prefix exceeds the length limit.-
400NotSupport.Site.ActionSite does not allow current action.該操作不支持當前站點。
404EntityNotExists.ResourceDirectoryThe resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account.當前賬號未啟用資源目錄,請先啟用資源目錄。
404EntityNotExists.FolderThe resource directory folder does not exist.資源夾不存在,請先創建資源夾。
409LimitExceeded.AccountThe maximum number of member accounts in a resource directory exceeds the limit.資源目錄中的成員數量超出限制。
409InvalidParameter.Account.DisplayName.AlreadyUsedThe displayname of account has been used.顯示名已被占用,請更換其他名稱。
409EntityAlreadyExists.ResourceDirectory.AccountThe email address that the system generates when you create a member account already exists. Try again later.創建成員時系統生成的郵箱已被占用,請重試。
409Invalid.PayRelationFailed to create a member. The specified billing account is unavailable. Please change to another billing account and try again.成員創建失敗。您選擇的結算賬號不可用,請更換后重新嘗試。
409NotSupport.PayerAccountInAnotherResourceDirectoryThe specified settlement account does not exist in the resource directory. You must specify a valid settlement account.-
409CreateAccountDisabledThe specified resource directory cannot create a new account.禁止創建賬號。
409PaymentAccountEnterpriseVerifyErrorThe type of the payment account is not enterprise verified.結算賬號不是企業實名類型。
409PaymentAccountFinancialRelationshipVerifyErrorThe payment account must not be the beneficiary account from other financial relationships.結算賬號不能是其他財務關系的財務子賬號。
409PaymentAccountEnterpriseTypeErrorThe type of the payment account is not enterprise.結算賬號不是企業類型。
409PaymentAccountFinancialRelationshipsChangeFrequencyVerifyErrorThe financial relationship of payment account changes too frequently. Please try again later.結算賬號的財務關系變更太頻繁。請稍后重試。
409MemberAccountVirtualCloudOperatorVerifyErrorThe type of the member account must not be virtual operator.-
409MemberAccountResellerVerifyErrorThe type of the member account must not be reseller.-
409PaymentAccountVirtualCloudOperatorVerifyErrorThe type of the payment account must not be virtual operator.結算賬號不能是虛擬運營商類型。
409PaymentAccountResellerVerifyErrorThe type of the payment account must not be reseller.結算賬號不能是分銷商類型。
409PaymentAccountCreditIdentityTypeErrorThe identity of the payment account is not credit.-
409InconsistentEnterpriseNameErrorThe enterprise name of the payment account and the member account must be consistent.-
409PaymentAccountEnterpriseInvoiceErrorNo enterprise invoice header information is set for the payment account.結算賬號的企業發票抬頭信息未設置。
409UnknownFinancialErrorAn unknown financial error occurred.未知的財資錯誤。
409BusinessRestrictedBusiness is restricted. Please contact your customer service manager.業務受限,請聯系您的客戶經理處理。
409FundAccountHasArrearsAmountThere are arrears in the current payment account. You cannot change the payment account. Please settle the arrears and try again.當前付款賬戶存在欠費,您不可變更付款賬戶,請結清欠費后重試。
409FundAccountOwnerPayedByOthersIf the payment has been made by another account, it is not allowed to be used as the main payment account.已經由其他賬號代付的,不允許再作為代付主賬號。
409UserOwnFundAccountPayForOthersIf the account has been used as the main payment account, it is not allowed to set up payment by others.已經作為代付主賬號的,不允許再設置由他人代付。
409EcoRelationCheckFailedAccounts associated with partners are not allowed to set up agency payment relationships.生態伙伴關聯的賬號,不允許設置代付關系。
409NotSupport.SettingResellAccountTypeThe current account does not support setting the resellAccountType for members.當前賬號不支持設置成員的身份類型。

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

變更歷史

變更時間變更內容概要操作
2024-03-14OpenAPI 錯誤碼發生變更、OpenAPI 入參發生變更看變更集
變更項變更內容
錯誤碼OpenAPI 錯誤碼發生變更。
    錯誤碼 409 變更
    刪除錯誤碼:400
    刪除錯誤碼:404
入參OpenAPI 入參發生變更
    新增入參:DryRun
2024-01-05OpenAPI 錯誤碼發生變更看變更集
變更項變更內容
錯誤碼OpenAPI 錯誤碼發生變更。
    錯誤碼 409 變更
    刪除錯誤碼:400
    刪除錯誤碼:404
2023-04-27OpenAPI 錯誤碼發生變更看變更集
變更項變更內容
錯誤碼OpenAPI 錯誤碼發生變更。
    刪除錯誤碼:400
    刪除錯誤碼:404
    刪除錯誤碼:409