すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ユーザーリソース

最終更新日:Mar 17, 2026

AssociationProperty の値

説明

対応する AssociationPropertyMetadata

ALIYUN::User::Account::AccountIds

ユーザー ID。

例:

  • コード例

    JSON 例:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "AccountIds": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::User::Account::AccountIds"
        }
      }
    }

    YAML 例:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      AccountIds:
        Type: String
        AssociationProperty: ALIYUN::User::Account::AccountIds
  • 例の説明

    この例では、ユーザーアカウント ID を取得するために、AccountIds パラメーターの AssociationProperty パラメーターを ALIYUN::User::Account::AccountIds に設定します。

ALIYUN::User::AccountId

Alibaba Cloud アカウント ID を取得します。

コード例

JSON 例:

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "MasterAccountId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::User::AccountId"
    }
  }
}

YAML 例:

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  MasterAccountId:
    Type: String
    AssociationProperty: ALIYUN::User::AccountId

ALIYUN::User::UserId

現在の Alibaba Cloud ユーザー ID を取得します。

コード例

JSON 例:

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "CurrentAccountId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::User::UserId"
    }
  }
}

YAML 例:

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  CurrentAccountId:
    Type: String
    AssociationProperty: ALIYUN::User::UserId