調(diào)用ResendPromoteResourceAccountEmail重新發(fā)送資源賬號升級為云賬號的確認(rèn)郵件。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。

請求參數(shù)

名稱 類型 是否必選 示例值 描述
Action String ResendPromoteResourceAccountEmail

要執(zhí)行的操作。取值:ResendPromoteResourceAccountEmail。

RecordId String 06950264-3f0d-4ca9-82dd-6ee7a3d33d6b

賬號記錄ID。

返回?cái)?shù)據(jù)

名稱 類型 示例值 描述
Account Struct

成員信息。

AccountId String 12323344****

賬號ID。

AccountName String someone@example.com

賬號名稱。

DisplayName String admin

成員名稱。

FolderId String fd-bVaRIG****

資源夾ID。

JoinMethod String created

成員加入方式。

  • invited:邀請。
  • created:創(chuàng)建。
JoinTime String 2015-01-23T12:33:18Z

成員加入時(shí)間。

ModifyTime String 2015-01-23T12:33:18Z

成員修改時(shí)間。

RecordId String 16950264-3f0d-4ca9-82dd-6ee7a3d33d6b

賬號記錄ID。

ResourceDirectoryId String rd-k3****

資源目錄ID。

Status String PromoteVerifying

成員加入狀態(tài)。

  • CreateSuccess:創(chuàng)建成功。
  • CreateVerifying:創(chuàng)建確認(rèn)中。
  • CreateFailed:創(chuàng)建失敗。
  • CreateExpired:創(chuàng)建過期。
  • CreateCancelled:創(chuàng)建取消。
  • PromoteVerifying:升級確認(rèn)中。
  • PromoteFailed:升級失敗。
  • PromoteExpired:升級過期。
  • PromoteCancelled:升級取消。
  • PromoteSuccess:升級成功。
  • InviteSuccess:邀請成功。
  • Removed:已移出。
Type String ResourceAccount

成員類型。

  • CloudAccount:云賬號。
  • ResourceAccount:資源賬號。
RequestId String 9B34724D-54B0-4A51-B34D-4512372FE1BE

請求ID。

示例

請求示例

https://resourcemanager.aliyuncs.com/?Action=ResendPromoteResourceAccountEmail
&RecordId=06950264-3f0d-4ca9-82dd-6ee7a3d33d6b
&<公共請求參數(shù)>

正常返回示例

XML 格式

<ResendPromoteResourceAccountEmailResponse>
      <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>
      <Account>
            <ResourceDirectoryId>rd-k3****</ResourceDirectoryId>
            <AccountId>12323344****</AccountId>
            <DisplayName>admin</DisplayName>
            <FolderId>fd-bVaRIG****</FolderId>
            <JoinMethod>created</JoinMethod>
            <JoinTime>2015-01-23T12:33:18Z</JoinTime>
            <Type>ResourceAccount</Type>
            <Status>PromoteVerifying</Status>
            <RecordId>16950264-3f0d-4ca9-82dd-6ee7a3d33d6b</RecordId>
            <ModifyTime>2015-01-23T12:33:18Z</ModifyTime>
      </Account>
</ResendPromoteResourceAccountEmailResponse>

JSON 格式

{
    "RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE",
    "Account": {
        "ResourceDirectoryId":"rd-k3****",
        "AccountId": "12323344****",
        "DisplayName": "admin",
        "FolderId": "fd-bVaRIG****",
        "JoinMethod": "created",
        "JoinTime": "2015-01-23T12:33:18Z",
        "Type":"ResourceAccount",
        "Status":"PromoteVerifying",
        "RecordId":"16950264-3f0d-4ca9-82dd-6ee7a3d33d6b",
        "ModifyTime":"2015-01-23T12:33:18Z"
    }
}

錯(cuò)誤碼

HttpCode 錯(cuò)誤碼 錯(cuò)誤信息 描述
409 AccountTypeOrStatusMismatch You cannot perform the action on the member account. 成員類型或狀態(tài)不匹配。
404 EntityNotExists.ResourceDirectory The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. 當(dāng)前賬號未啟用資源目錄,請先啟用資源目錄。
400 MissingParameter.RecordId You must specify RecordId. 記錄ID缺失,請指定目標(biāo)ID。
404 EntityNotExists.AccountRecord This resource directory account recordId does not exist. 記錄ID不存在或已被刪除。
409 LimitExceeded.Frequency The frequency of request exceeds limit. 請求頻率過高,請稍后重試。

訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。