All Products
Search
Document Center

Resource Orchestration Service:Resource pengguna

Last Updated:Mar 17, 2026

Nilai AssociationProperty

Deskripsi

AssociationPropertyMetadata yang Sesuai

ALIYUN::User::Account::AccountIds

ID pengguna.

Contoh:

  • Kode contoh

    Contoh JSON:

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

    Contoh YAML:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      AccountIds:
        Type: String
        AssociationProperty: ALIYUN::User::Account::AccountIds
  • Deskripsi contoh

    Contoh ini menetapkan parameter AssociationProperty dari parameter AccountIds ke ALIYUN::User::Account::AccountIds untuk mengambil ID akun pengguna.

ALIYUN::User::AccountId

Mengambil ID akun Alibaba Cloud.

Kode contoh

Contoh JSON:

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

Contoh YAML:

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

ALIYUN::User::UserId

Mengambil ID pengguna Alibaba Cloud saat ini.

Kode contoh

Contoh JSON:

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

Contoh YAML:

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