如何使用ROS自动开通服务?

ROS支持自动化开通单个或多个云服务。本文为您介绍如何自动开通服务。

支持自动化开通的云服务,请参见ALIYUN::ROS::AutoEnableService中的ServiceName参数取值。

模板示例

您可以使用ALIYUN::ROS::AutoEnableService资源自动开通服务。

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
Resources:
 AutoEnableService:
  Type: 'ALIYUN::ROS::AutoEnableService'
  Properties:
   ServiceName:
    Ref: ServiceName