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

Resource Orchestration Service:ALIYUN::GraphDatabase::Account

最終更新日:Jan 16, 2025

ALIYUN::GraphDatabase::Account は、アカウントを作成するために使用されます。

構文

{
  "Type": "ALIYUN::GraphDatabase::Account",
  "Properties": {
    "AccountDescription": String,
    "DbInstanceId": String,
    "AccountPassword": String,
    "AccountName": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

AccountDescription

String

いいえ

いいえ

アカウントの説明。

なし。

DbInstanceId

String

はい

いいえ

Graph Database (GDB) インスタンスの ID。

なし。

AccountPassword

String

はい

はい

アカウントのパスワード。

なし。

AccountName

String

はい

いいえ

アカウントの名前。

なし。

戻り値

Fn::GetAtt

  • AccountDescription: アカウントの説明。

  • AccountType: アカウントのタイプ。

  • AccountName: アカウントの名前。

  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      DbInstanceId:
        Type: String
        Description: Instance Id.  // インスタンス ID
      AccountPassword:
        Type: String
        Description: Account password. // アカウントパスワード
    Resources:
      ExtensionResource:
        Type: ALIYUN::GraphDatabase::Account
        Properties:
          DbInstanceId:
            Ref: DbInstanceId
          AccountPassword:
            Ref: AccountPassword
          AccountName: Demo
    Outputs:
      AccountDescription:
        Description: Account description. // アカウントの説明
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - AccountDescription
      AccountType:
        Description: Account Type. // アカウントタイプ
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - AccountType
      AccountName:
        Description: Account name. // アカウント名
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - AccountName
  • JSON 形式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "DbInstanceId": {
          "Type": "String",
          "Description": "Instance Id." // インスタンス ID
        },
        "AccountPassword": {
          "Type": "String",
          "Description": "Account password." // アカウントパスワード
        }
      },
      "Resources": {
        "ExtensionResource": {
          "Type": "ALIYUN::GraphDatabase::Account",
          "Properties": {
            "DbInstanceId": {
              "Ref": "DbInstanceId"
            },
            "AccountPassword": {
              "Ref": "AccountPassword"
            },
            "AccountName": "Demo"
          }
        }
      },
      "Outputs": {
        "AccountDescription": {
          "Description": "Account description.", // アカウントの説明
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "AccountDescription"
            ]
          }
        },
        "AccountType": {
          "Description": "Account Type.", // アカウントタイプ
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "AccountType"
            ]
          }
        },
        "AccountName": {
          "Description": "Account name.", // アカウント名
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "AccountName"
            ]
          }
        }
      }
    }