全部產品
Search
文件中心

:ALIYUN::ROS::AutoEnableService

更新時間:Sep 19, 2024

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 Gateway。

  • BatchCompute:批次運算。

  • BrainIndustrial:工業大腦。

  • ControlPolicy:開通資來源目錄的管控策略。

  • CloudSSO:雲SSO服務。

  • CloudStorageGateway:Cloud Storage Gateway。

  • CMS:CloudMonitor。

  • Config:配置審計服務。

  • CR:鏡像Container Service。

  • CS:Container Service。

  • DCDN:全站加速。

  • DataHub:資料匯流排。

  • DataWorks:資料工場。

  • EDAS:Enterprise Distributed Application Service。

  • EMAS:移動研發平台。

  • FC:Function Compute。

  • FNF:Serverless工作流程。

  • HBR:雲備份服務。

  • MaxCompute:MaxCompute。

  • MNS:Simple Message Queue (formerly MNS)

  • IMM:Intelligent Media Management。

  • IOT:物聯網平台。

  • KMS:Key Management Service。

  • NAS:檔案儲存體。

  • NLP:自然語言處理。

  • OSS:Object Storage Service服務。

  • OTS:Table Store。

  • PrivateLink:私網串連。

  • PrivateZone:雲解析。

  • RocketMQ:訊息佇列RocketMQ版。

  • SAE:應用引擎。

  • SLS:Log Service。

  • TrafficMirror:流量鏡像。

  • TrustedService/ROS: 在資來源目錄中,開通 ROS的可信服務。

  • VS:視頻監控。

  • Xtrace:鏈路追蹤。

  • CDN:CDN內容分發網路。

  • CDT: 雲資料轉送。

  • CDTCb: 跨境雲資料轉送。

  • TransitRouter: 開通轉寄路由器服務。

  • PAI: Platform for AI

傳回值

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"
        }
      }
    }
  }
}