ALIYUN::ROS::AutoEnableService

ALIYUN::ROS::AutoEnableService类型用于自动开通云服务。

语法

{
  "Type": "ALIYUN::ROS::AutoEnableService",
  "Properties": {
    "ServiceName": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

ServiceName

String

云服务名称

取值:

  • AHAS:应用高可用服务。

  • ARMS:应用实时监控服务。

  • ARMS/App:应用实时监控服务-应用监控。

  • ARMS/PrometheusMonitor:应用实时监控服务-可观测监控 Prometheus 版。

  • ARMS/SyntheticPost:应用实时监控服务-云拨测。

  • ARMS/Web:应用实时监控服务-前端监控。

  • ApiGateway:API网关。

  • BatchCompute:批量计算。

  • BrainIndustrial:工业大脑。

  • ControlPolicy:开通资源目录的管控策略。

  • CloudSSO:云SSO服务。

  • CloudStorageGateway:云存储网关。

  • CMS:云监控。

  • Config:配置审计服务。

  • CR:镜像容器服务。

  • CS:容器服务。

  • DCDN:全站加速。

  • DataHub:数据总线。

  • DataWorks:数据工场。

  • EDAS:企业级分布式应用服务。

  • EMAS:移动研发平台。

  • FC:函数计算。

  • FNF:Serverless工作流。

  • HBR:云备份服务。

  • MaxCompute:大数据计算服务。

  • MNS:轻量消息队列(原 MNS)

  • IMM:智能媒体管理。

  • IOT:物联网平台。

  • KMS:密钥管理服务。

  • NAS:文件存储。

  • NLP:自然语言处理。

  • OSS:对象存储服务。

  • OTS:表格存储。

  • PrivateLink:私网连接。

  • PrivateZone:云解析。

  • RocketMQ:消息队列RocketMQ版。

  • SAE:应用引擎。

  • SLS:日志服务。

  • TrafficMirror:流量镜像。

  • TrustedService/ROS: 在资源目录中,开通 ROS的可信服务。

  • VS:视频监控。

  • Xtrace:链路追踪。

  • CDN:CDN内容分发网络。

  • CDT: 云数据传输。

  • CDTCb: 跨境云数据传输。

  • TransitRouter: 开通转发路由器服务。

  • PAI: 人工智能平台 PAI

返回值

Fn::GetAtt

示例

YAML格式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ServiceName:
    Type: String
    Description: |
      Which service to enable. Valid values:
      AHAS: Application High Availability Service
      ARMS: Realtime Monitoring Service
      ApiGateway: API Gateway
      BatchCompute: Batch Compute
      BrainIndustrial: Brain Industrial
      CloudStorageGateway: Cloud Storage Gateway
      CMS: Cloud Monitor Service
      CR: Container Registry
      CS: Container Service
      DataHub: Data Hub
      DataWorks: DataWorks
      DCDN: Dynamic Route for CDN
      EDAS: Enterprise Distributed Application Service
      EMAS: Enterprise Mobile Application Studio
      FC: Function Compute
      FNF: Serverless Workflow
      MaxCompute: MaxCompute
      NAS: Network Attached Storage
      MNS: Message Service (MNS)
      : Hybrid Backup Recovery
      IMM: Intelligent Media Management
      IOT: IoT Platform
      KMS: Key Management Service
      NLP: Natural Language Processing
      OSS: Object Storage Service
      OTS: Table Store
      PrivateLink: Private Link
      PrivateZone: Private Zone
      RocketMQ: RocketMQ
      SAE: Serverless App Engine
      SLS: Log Service
      TrafficMirror: VPC Traffic Mirroring
      VS: Video Surveillance
      Xtrace: Tracing Anlaysis
      CDT: Cloud Data Transfer
      CDTCb: Cloud Data Transfer for Cross Border
      TransitRouter: Cen Transit Router
      PAI: Platform of Artificial Intelligence
    AllowedValues:
      - IOT
      - EMAS
      - MaxCompute
      - BatchCompute
      - IMM
      - Xtrace
      - DataWorks
      - FNF
      - FC
      - KMS
      - CS
      - CR
      - DataHub
      - EDAS
      - CMS
      - RocketMQ
      - ApiGateway
      - NLP
      - SLS
      - NAS
      - OSS
      - MNS
      - TrafficMirror
      - ARMS
      - SAE
      - CloudStorageGateway
      - PrivateZone
      - DCDN
      - VS
      - AHAS
      - BrainIndustrial
      - OTS
      - PrivateLink
      - CDT
      - CDTCb
      - TransitRouter
      - PAI
    AssociationPropertyMetadata:
      AutoChangeType: false
Resources:
  AutoEnableService:
    Type: 'ALIYUN::ROS::AutoEnableService'
    Properties:
      ServiceName:
        Ref: ServiceName

JSON格式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ServiceName": {
      "Type": "String",
      "Description": "Which service to enable. Valid values:\nAHAS: Application High Availability Service\nARMS: Realtime Monitoring Service\nApiGateway: API Gateway\nBatchCompute: Batch Compute\nBrainIndustrial: Brain Industrial\nCloudStorageGateway: Cloud Storage Gateway\nCMS: Cloud Monitor Service\nCR: Container Registry\nCS: Container Service\nDataHub: Data Hub\nDataWorks: DataWorks\nDCDN: Dynamic Route for CDN\nEDAS: Enterprise Distributed Application Service\nEMAS: Enterprise Mobile Application Studio\nFC: Function Compute\nFNF: Serverless Workflow\nMaxCompute: MaxCompute\nNAS: Network Attached Storage\nMNS: Message Service (MNS)\n: Hybrid Backup Recovery\nIMM: Intelligent Media Management\nIOT: IoT Platform\nKMS: Key Management Service\nNLP: Natural Language Processing\nOSS: Object Storage Service\nOTS: Table Store\nPrivateLink: Private Link\nPrivateZone: Private Zone\nRocketMQ: RocketMQ\nSAE: Serverless App Engine\nSLS: Log Service\nTrafficMirror: VPC Traffic Mirroring\nVS: Video Surveillance\nXtrace: Tracing Anlaysis\nCDT: Cloud Data Transfer\nCDTCb: Cloud Data Transfer for Cross Border\nTransitRouter: Cen Transit Router\nPAI: Platform of Artificial Intelligence\n",
      "AllowedValues": [
        "IOT",
        "EMAS",
        "MaxCompute",
        "BatchCompute",
        "IMM",
        "Xtrace",
        "DataWorks",
        "FNF",
        "FC",
        "KMS",
        "CS",
        "CR",
        "DataHub",
        "EDAS",
        "CMS",
        "RocketMQ",
        "ApiGateway",
        "NLP",
        "SLS",
        "NAS",
        "OSS",
        "MNS",
        "TrafficMirror",
        "ARMS",
        "SAE",
        "CloudStorageGateway",
        "PrivateZone",
        "DCDN",
        "VS",
        "AHAS",
        "BrainIndustrial",
        "OTS",
        "PrivateLink",
        "CDT",
        "CDTCb",
        "TransitRouter",
        "PAI"
      ],
      "AssociationPropertyMetadata": {
        "AutoChangeType": false
      }
    }
  },
  "Resources": {
    "AutoEnableService": {
      "Type": "ALIYUN::ROS::AutoEnableService",
      "Properties": {
        "ServiceName": {
          "Ref": "ServiceName"
        }
      }
    }
  }
}