日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ALIYUN::ECS::ImageComponent

ALIYUN::ECS::ImageComponent類型用于創建一個鏡像組件。

語法

{
  "Type": "ALIYUN::ECS::ImageComponent",
  "Properties": {
    "ComponentType": String,
    "Description": String,
    "ResourceGroupId": String,
    "Content": String,
    "SystemType": String,
    "Tags": List,
    "Name": String
  }
}

屬性

屬性名稱

類型

必須

允許更新

描述

約束

ComponentType

String

組件類型。

目前僅支持鏡像構建組件。

取值:Build。

Description

String

描述信息。

長度為2~256個英文或中文字符,不能以http://https://開頭。

ResourceGroupId

String

企業資源組ID。

Content

String

組件內容。

由多條命令組成,命令最大條數不能超過127條。支持的命令和命令格式詳情,請參見鏡像構建服務(ImageBuilder)指令集

SystemType

String

組件支持的操作系統。

目前僅支持Linux系統。

取值:Linux。

Tags

List

標簽列表。

最多支持20個標簽。更多信息,請參見Tags屬性。

Name

String

組件名稱。

長度為2~128個字符,必須以大小字母或中文開頭,不能以 http://https://開頭??梢园形?、英文、數字、半角冒號(:)、下劃線(_)、半角句號(.)或者短劃線(-)。

說明

不設置Name時,默認使用ImageComponentId返回值。

Tags語法

"Tags": [
  {
    "Value": String,
    "Key": String
  }
]

Tags屬性

屬性名稱

類型

必須

允許更新

描述

約束

Value

String

標簽值。

一旦傳入該值,可以為空字符串。最多支持128個字符,不能以acs:開頭,不能包含http://或者https://。

Key

String

標簽鍵。

一旦傳入該值,則不允許為空字符串。最多支持128個字符,不能以aliyunacs:開頭,不能包含http://或者https://。

返回值

Fn::GetAtt

ImageComponentId:鏡像組件ID。

示例

  • YAML格式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      ComponentType:
        AllowedValues:
        - Build
        Default: Build
        Description:
          en: 'The type of the image component. Only image build components are supported.
            Set the value to Build.Default value: Build.'
        Required: false
        Type: String
      Content:
        Description:
          en: The content of the image component. The content consists of up to 127 commands.
        Required: true
        Type: String
      Description:
        AssociationProperty: TextArea
        Description:
          en: The description. The description must be 2 to 256 characters in length and
            cannot start with http:// or https://.
        Required: false
        Type: String
      Name:
        Description:
          en: 'The component name. The name must be 2 to 128 characters in length. The
            name must start with a letter but cannot start with http:// or https://.The
            name can contain letters, digits, colons (:), underscores (_), periods (.),
            and hyphens (-).
    
            Note If you do not configure Name, the return value of ImageComponentId is
            used.'
        Required: false
        Type: String
      ResourceGroupId:
        AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
        Description:
          en: The ID of the resource group.
        Required: false
        Type: String
      SystemType:
        AllowedValues:
        - Linux
        Default: Linux
        Description:
          en: 'The operating system type supported by the image component. Only Linux
            is supported. Set the value to Linux.Default value: Linux.'
        Required: false
        Type: String
      Tags:
        AssociationProperty: List[Parameters]
        AssociationPropertyMetadata:
          ListMetadata:
            Order:
            - Key
            - Value
          Parameters:
            Key:
              Description:
                en: 'The key of tag N to add to the capacity reservation. Valid values
                  of N: 1 to 20. The tag key cannot be an empty string. The tag key can
                  be up to 128 characters in length and cannot contain http:// or https://.
                  It cannot start with acs: or aliyun.'
              Required: false
              Type: String
            Value:
              Description:
                en: 'The value of tag N to add to the capacity reservation. Valid values
                  of N: 1 to 20. The tag value can be an empty string. The tag value can
                  be up to 128 characters in length and cannot start with acs:. The tag
                  value cannot contain http:// or https://.'
              Required: false
              Type: String
        MaxLength: 20
        Required: false
        Type: Json
    Resources:
      ImageComponent:
        Properties:
          ComponentType:
            Ref: ComponentType
          Content:
            Ref: Content
          Description:
            Ref: Description
          Name:
            Ref: Name
          ResourceGroupId:
            Ref: ResourceGroupId
          SystemType:
            Ref: SystemType
          Tags:
            Ref: Tags
        Type: ALIYUN::ECS::ImageComponent
    Outputs:
      ImageComponentId:
        Description: The ID of the image component.
        Value:
          Fn::GetAtt:
          - ImageComponent
          - ImageComponentId
                            
  • JSON格式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "ComponentType": {
          "Type": "String",
          "Description": {
            "en": "The type of the image component. Only image build components are supported. Set the value to Build.Default value: Build."
          },
          "AllowedValues": [
            "Build"
          ],
          "Required": false,
          "Default": "Build"
        },
        "Description": {
          "AssociationProperty": "TextArea",
          "Type": "String",
          "Description": {
            "en": "The description. The description must be 2 to 256 characters in length and cannot start with http:// or https://."
          },
          "Required": false
        },
        "ResourceGroupId": {
          "AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId",
          "Type": "String",
          "Description": {
            "en": "The ID of the resource group."
          },
          "Required": false
        },
        "Content": {
          "Type": "String",
          "Description": {
            "en": "The content of the image component. The content consists of up to 127 commands."
          },
          "Required": true
        },
        "SystemType": {
          "Type": "String",
          "Description": {
            "en": "The operating system type supported by the image component. Only Linux is supported. Set the value to Linux.Default value: Linux."
          },
          "AllowedValues": [
            "Linux"
          ],
          "Required": false,
          "Default": "Linux"
        },
        "Tags": {
          "AssociationPropertyMetadata": {
            "Parameters": {
              "Value": {
                "Type": "String",
                "Description": {
                  "en": "The value of tag N to add to the capacity reservation. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with acs:. The tag value cannot contain http:// or https://."
                },
                "Required": false
              },
              "Key": {
                "Type": "String",
                "Description": {
                  "en": "The key of tag N to add to the capacity reservation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. It cannot start with acs: or aliyun."
                },
                "Required": false
              }
            },
            "ListMetadata": {
              "Order": [
                "Key",
                "Value"
              ]
            }
          },
          "AssociationProperty": "List[Parameters]",
          "Type": "Json",
          "Required": false,
          "MaxLength": 20
        },
        "Name": {
          "Type": "String",
          "Description": {
            "en": "The component name. The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:// or https://.The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).\nNote If you do not configure Name, the return value of ImageComponentId is used."
          },
          "Required": false
        }
      },
      "Resources": {
        "ImageComponent": {
          "Type": "ALIYUN::ECS::ImageComponent",
          "Properties": {
            "ComponentType": {
              "Ref": "ComponentType"
            },
            "Description": {
              "Ref": "Description"
            },
            "ResourceGroupId": {
              "Ref": "ResourceGroupId"
            },
            "Content": {
              "Ref": "Content"
            },
            "SystemType": {
              "Ref": "SystemType"
            },
            "Tags": {
              "Ref": "Tags"
            },
            "Name": {
              "Ref": "Name"
            }
          }
        }
      },
      "Outputs": {
        "ImageComponentId": {
          "Description": "The ID of the image component.",
          "Value": {
            "Fn::GetAtt": [
              "ImageComponent",
              "ImageComponentId"
            ]
          }
        }
      }
    }