ALIYUN::GA::BasicEndpoint类型用于为基础型全球加速实例创建终端节点。
语法
{
  "Type": "ALIYUN::GA::BasicEndpoint",
  "Properties": {
    "AcceleratorId": String,
    "EndpointGroupId": String,
    "EndpointAddress": String,
    "EndpointZoneId": String,
    "EndpointType": String,
    "EndpointSubAddressType": String,
    "EndpointSubAddress": String,
    "Name": String
  }
}属性
| 属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 | 
| AcceleratorId | String | 是 | 否 | 基础型全球加速实例ID。 | 无 | 
| EndpointGroupId | String | 是 | 否 | 基础型全球加速实例的终端节点组ID。 | 无 | 
| EndpointAddress | String | 是 | 否 | 终端节点的地址。 | 无 | 
| EndpointZoneId | String | 否 | 否 | 终端节点所在可用区ID。 | 无 | 
| EndpointType | String | 否 | 否 | 终端节点类型。 | 取值: 
 | 
| EndpointSubAddressType | String | 否 | 否 | 终端节点辅助地址的类型。 | 取值: 
 当终端节点类型为ECS、ENI或NLB时,需配置该参数。其中,终端节点类型为NLB时,仅支持primary类型。 | 
| EndpointSubAddress | String | 否 | 否 | 终端节点辅助地址。 | 当终端节点类型为ECS、ENI或NLB时,需配置该参数。 
 | 
| Name | String | 否 | 否 | 基础型全球加速实例终端节点的名称。 | 名称长度为 1~128 个字符,以大小写字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-)。 | 
返回值
Fn::GetAtt
EndpointId:基础型全球加速实例的终端节点ID。
示例
请您根据实际情况更改脱敏的参数取值,例如EndpointGroupId、AcceleratorId、EndpointAddress。
YAML格式
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
  ExtensionResource:
    Type: ALIYUN::GA::BasicEndpoint
    Properties:
      EndpointGroupId: epg-bp1dmlohjjz4kqaun****
      EndpointType: ENI
      EndpointSubAddressType: primary
      EndpointSubAddress: 192.168.0.8
      AcceleratorId: ga-bp17frjjh0udz4qz****
      Name: demo_28911
      EndpointAddress: eni-bp1a05txelswuj8g****
Outputs:
  EndpointId:
    Description: The ID of the endpoint.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - EndpointId
JSON格式
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::GA::BasicEndpoint",
      "Properties": {
        "EndpointGroupId": "epg-bp1dmlohjjz4kqaun****",
        "EndpointType": "ENI",
        "EndpointSubAddressType": "primary",
        "EndpointSubAddress": "192.168.0.8",
        "AcceleratorId": "ga-bp17frjjh0udz4qz****",
        "Name": "demo_28911",
        "EndpointAddress": "eni-bp1a05txelswuj8g****"
      }
    }
  },
  "Outputs": {
    "EndpointId": {
      "Description": "The ID of the endpoint.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "EndpointId"
        ]
      }
    }
  }
}