All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::Aligreen::BizType

Last Updated:Apr 28, 2025

ALIYUN::Aligreen::BizType is used to create a business scenario.

Syntax

{
  "Type": "ALIYUN::Aligreen::BizType",
  "Properties": {
    "BizTypeName": String,
    "CiteTemplate": Boolean,
    "BizTypeImport": String,
    "Description": String,
    "IndustryInfo": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

BizTypeName

String

Yes

No

The name of the business scenario to be created.

The name can contain only letters, underscores (_), and digits.

CiteTemplate

Boolean

Yes

No

Specifies whether to import the configuration of an industry template.

Valid values:

  • true

  • false (default)

Note

IndustryInfo must be specified when CiteTemplate is set to true.

BizTypeImport

String

No

No

The name of an existing business scenario to be imported.

None.

Description

String

No

Yes

The description.

None.

IndustryInfo

String

No

No

The industry classification.

The following classifications are supported:

  • Social-Registration information-Profile picture

  • Social-Registration information-Nickname

  • Social-Registration information-Signature

  • Social-Instant messaging-Chat

  • Social-Instant messaging-Group chat

  • Social-Instant messaging-Chat room

  • Social-Forums&Communities-Post

  • Social-Forums&Communities-Comment

  • Social-Forums&Communities-Tag

  • Social-Forums&Communities-Recommendation

  • Multimedia-Registration information-Profile picture

  • Multimedia-Registration information-Nickname

  • Multimedia-Registration information-Signature

  • Multimedia-Instant messaging-Chat

  • Multimedia-Live streaming-Heading

  • Multimedia-Live streaming-Cover

  • Multimedia-Live streaming-Content

  • Multimedia-Live streaming-Comment

  • Multimedia-Online storage-Storage content

  • Multimedia-Online storage-Shared content

  • Gaming-Registration information-Nickname

  • Gaming-Registration information-Profile picture

  • Gaming-Registration information-Signature

  • Gaming-Instant messaging-Chat

  • Gaming-Instant messaging-Group chat

  • Gaming-Instant messaging-Chat room

  • Gaming-Forums&Communities-Post

  • Gaming-Forums&Communities-Comment

  • Gaming-Forums&Communities-Tag

  • Gaming-Forums&Communities-Recommendation

  • New retail-Goods-Heading

  • New retail-Goods-Description

  • Reading-Books-Title

  • Reading-Books-Heading

  • Reading-Books-Cover

  • Reading-Books-Content

  • Media-News content-News content

  • Education-Registration information-Nickname

  • Education-Registration information-Profile picture

  • Education-Registration information-Signature

  • Education-Instant messaging-Chat

  • Education-Forums&Communities-Post

  • Education-Forums&Communities-Comment

  • Education-Forums&Communities-Tag

  • Education-Forums&Communities-Recommendation

  • Education-Customer service-Voice call

  • Others

Return values

Fn::GetAtt

  • BizTypeName: the name of the created business scenario.

  • Description: the description.

  • CiteTemplate: indicates whether the configuration of an industry template is imported.

  • IndustryInfo: the industry classification.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  BizTypeName:
    Type: String
    Description:
      en: The name of the business scenario defined by the customer. It can contain no more than 32 characters in English, numbers, and underscores.
    Required: true
  CiteTemplate:
    Type: Boolean
    Description:
      en: |-
        Specifies whether to import the configuration of an industry template. Default value: false. Valid values:
        true: imports the configuration of an industry template.
        false: does not import the configuration of an industry template. If the value is true, you must specify the industryInfo parameter.
    Required: true
Resources:
  ExtensionResource:
    Type: ALIYUN::Aligreen::BizType
    Properties:
      BizTypeName:
        Ref: BizTypeName
      CiteTemplate:
        Ref: CiteTemplate
Outputs:
  BizTypeName:
    Description: The name of the business scenario defined by the customer.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - BizTypeName
  Description:
    Description: The description of the business scenario defined by the customer.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Description
  CiteTemplate:
    Description: 'Specifies whether to import the configuration of an industry template. Default value: false.'
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CiteTemplate
  IndustryInfo:
    Description: The industry classification.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - IndustryInfo
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "BizTypeName": {
      "Type": "String",
      "Description": {
        "en": "The name of the business scenario defined by the customer. It can contain no more than 32 characters in English, numbers, and underscores."
      },
      "Required": true
    },
    "CiteTemplate": {
      "Type": "Boolean",
      "Description": {
        "en": "Specifies whether to import the configuration of an industry template. Default value: false. Valid values:\ntrue: imports the configuration of an industry template.\nfalse: does not import the configuration of an industry template. If the value is true, you must specify the industryInfo parameter."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::Aligreen::BizType",
      "Properties": {
        "BizTypeName": {
          "Ref": "BizTypeName"
        },
        "CiteTemplate": {
          "Ref": "CiteTemplate"
        }
      }
    }
  },
  "Outputs": {
    "BizTypeName": {
      "Description": "The name of the business scenario defined by the customer.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "BizTypeName"
        ]
      }
    },
    "Description": {
      "Description": "The description of the business scenario defined by the customer.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Description"
        ]
      }
    },
    "CiteTemplate": {
      "Description": "Specifies whether to import the configuration of an industry template. Default value: false.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CiteTemplate"
        ]
      }
    },
    "IndustryInfo": {
      "Description": "The industry classification.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "IndustryInfo"
        ]
      }
    }
  }
}