本文由簡體中文內容自動轉碼而成。阿里雲不保證此自動轉碼的準確性、完整性及時效性。本文内容請以簡體中文版本為準。

參數取值本地化

更新時間:2024-06-07 19:06

Resource Orchestration Service服務ROS(Resource Orchestration Service)支援對參數取值進行本地化,根據控制台語言環境將參數取值翻譯為對應的語言。目前支援本地化的語言有中文和英文。

模板文法

您可以參考以下格式定義參數,在LocaleKey中定義本地化鍵索引,在AllowedValues中定義參數取值列表,從而在控制台實現根據語言呈現取值列表的顯示效果。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ECSInternetChargeType:
    Type: String
    AllowedValues:
      - PayByBandwidth
      - PayByTraffic
    AssociationPropertyMetadata:
      LocaleKey: InternetChargeType

中文控制台顯示效果:

zh

英文控制台顯示效果:

en

參數取值列表

下表為您列出參數的取值列表和樣本,參數值的中文含義以ROS中文控制台實際顯示為準。

參數

本地化鍵索引

參數值

樣本

參數

本地化鍵索引

參數值

樣本

自動調整類型

AutoScalingType

  • cpu

  • gpu

  • gpushare

  • spot

AutoScalingType:
  Type: String
  AllowedValues:
    - cpu
    - gpu
    - gpushare
    - spot
  AssociationPropertyMetadata:
    LocaleKey: AutoScalingType

CEN網路執行個體的類型

CenChildInstanceType

  • VPC

  • VBR

  • CCN

CenChildInstanceType:
  Type: String
  AllowedValues:
    - VPC
    - VBR
    - CCN
  AssociationPropertyMetadata:
    LocaleKey: CenChildInstanceType

CEN操作Community的模式

CenCommunityOperateMode

  • Additive

  • Replace

CenCommunityOperateMode:
  Type: String
  AllowedValues:
    - Additive
    - Replace
  AssociationPropertyMetadata:
    LocaleKey: CenCommunityOperateMode

CEN網路執行個體所屬的地區

CenGeographicRegionId

  • China

  • North-America

  • Asia-Pacific

  • Europe

CenGeographicRegionId:
  Type: String
  AllowedValues:
    - China
    - North-America
    - Asia-Pacific
    - Europe
  AssociationPropertyMetadata:
    LocaleKey: CenGeographicRegionId

CEN所有匹配條件通過後的策略行為

CenMapResult

  • Permit

  • Deny

CenMapResult:
  Type: String
  AllowedValues:
    - Permit
    - Deny
  AssociationPropertyMetadata:
    LocaleKey: CenMapResult

CEN匹配模式

CenMatchMode

  • Include

  • Complete

CenMatchMode:
  Type: String
  AllowedValues:
    - Include
    - Complete
  AssociationPropertyMetadata:
    LocaleKey: CenMatchMode

CEN路由條目的下一跳類型

CenNextHopType

  • BlackHole

  • Attachment

CenNextHopType:
  Type: String
  AllowedValues:
    - BlackHole
    - Attachment
  AssociationPropertyMetadata:
    LocaleKey: CenNextHopType

CEN匹配路由的類型列表

CenRouteTypes

  • System

  • Custom

  • BGP

CenRouteTypes:
  Type: String
  AllowedValues:
    - System
    - Custom
    - BGP
  AssociationPropertyMetadata:
    LocaleKey: CenRouteTypes

CEN路由策略應用的方向

CenTransmitDirection

  • RegionIn

  • RegionOut

CenTransmitDirection:
  Type: String
  AllowedValues:
    - RegionIn
    - RegionOut
  AssociationPropertyMetadata:
    LocaleKey: CenTransmitDirection

CS節點CPU管理原則

CSCpuPolicy

  • static

  • none

CSCpuPolicy:
  Type: String
  AllowedValues:
    - static
    - none
  AssociationPropertyMetadata:
    LocaleKey: CSCpuPolicy

CS調度策略

CSTaintsEffect

  • NoSchedule

  • NoExecute

  • PreferNoSchedule

CSTaintsEffect:
  Type: String
  AllowedValues:
    - NoSchedule
    - NoExecute
    - PreferNoSchedule
  AssociationPropertyMetadata:
    LocaleKey: CSTaintsEffect

雲端硬碟的效能等級

DiskPerformanceLevel

  • PL0

  • PL1

  • PL2

  • PL3

DiskPerformanceLevel:
  Type: String
  AllowedValues:
    - PL0
    - PL1
    - PL2
    - PL3
  AssociationPropertyMetadata:
    LocaleKey: DiskPerformanceLevel

ECS彈性供應組的交付類型

ECSAutoProvisioningGroupType

  • request

  • maintain

ECSAutoProvisioningGroupType:
  Type: String
  AllowedValues:
    - request
    - maintain
  AssociationPropertyMetadata:
    LocaleKey: ECSAutoProvisioningGroupType

ECS命令的類型

ECSCommandType

  • RunBatScript

  • RunShellScript

ECSCommandType:
  Type: String
  AllowedValues:
    - RunBatScript
    - RunPowerShellScript
    - RunShellScript
  AssociationPropertyMetadata:
    LocaleKey: ECSCommandType

ECS部署集內執行個體宕機遷移後,缺乏可供打散的執行個體庫存的緊急處理方案

ECSOnUnableToRedeployFailedInstance

  • CancelMembershipAndStart

  • KeepStopped

ECSOnUnableToRedeployFailedInstance:
  Type: String
  AllowedValues:
    - CancelMembershipAndStart
    - KeepStopped
  AssociationPropertyMetadata:
    LocaleKey: ECSOnUnableToRedeployFailedInstance

ECS自訂路由下一跳的類型

ECSRouteNextHopType

  • Instance

  • HaVip

  • RouterInterface

  • NetworkInterface

  • VpnGateway

  • IPv6Gateway

  • NatGateway

  • Attachment

ECSRouteNextHopType:
  Type: String
  AllowedValues:
    - Instance
    - HaVip
    - RouterInterface
    - NetworkInterface
    - VpnGateway
    - IPv6Gateway
    - NatGateway
    - Attachment
  AssociationPropertyMetadata:
    LocaleKey: ECSRouteNextHopType

ECS是否啟用安全強化

ECSSecurityEnhancementStrategy

  • Active

  • Deactive

ECSSecurityEnhancementStrategy:
  Type: String
  AllowedValues:
    - Active
    - Deactive
  AssociationPropertyMetadata:
    LocaleKey: ECSSecurityEnhancementStrategy

ECS停止超額搶佔式執行個體後的下一步動作

ECSSpotInstanceInterruptionBehavior

  • stop

  • terminate

ECSSpotInstanceInterruptionBehavior:
  Type: String
  AllowedValues:
    - stop
    - terminate
  AssociationPropertyMetadata:
    LocaleKey: ECSSpotInstanceInterruptionBehavior

ECS搶佔式執行個體的策略

ECSTargetCapacity

  • lowest-price

  • diversified

ECSTargetCapacity:
  Type: String
  AllowedValues:
    - lowest-price
    - diversified
  AssociationPropertyMetadata:
    LocaleKey: ECSTargetCapacity

EIP繫結模式

EIPAssociationMode

  • NAT

  • MULTI_BINDED

  • BINDED

EIPAssociationMode:
  Type: String
  AllowedValues:
    - NAT
    - MULTI_BINDED
    - BINDED
  AssociationPropertyMetadata:
  LocaleKey: EIPAssociationMode

EIP線路類型

EIPIsp

  • BGP

  • BGP_PRO

  • ChinaTelecom

  • ChinaUnicom

  • ChinaMobile

  • BGP_FinanceCloud

EIPIsp:
  Type: String
  AllowedValues:
    - BGP
    - BGP_PRO
    - ChinaTelecom
    - ChinaUnicom
    - ChinaMobile
    - BGP_FinanceCloud
  AssociationPropertyMetadata:
    LocaleKey: EIPIsp

EIPSegment網路類型

EIPSegmentNetmode

  • public

  • hybrid

EIPSegmentNetmode:
  Type: String
  AllowedValues:
    - public
    - hybrid
  AssociationPropertyMetadata:
    LocaleKey: EIPSegmentNetmode

ESS伸縮規則的調整方式

ESSAdjustmentType

  • QuantityChangeInCapacity

  • PercentChangeInCapacity

  • TotalCapacity

ESSAdjustmentType:
  Type: String
  AllowedValues:
    - QuantityChangeInCapacity
    - PercentChangeInCapacity
    - TotalCapacity
  AssociationPropertyMetadata:
    LocaleKey: ESSAdjustmentType

ESS警示類型

ESSAlarmTaskMetricType

  • system

  • custom

ESSAlarmTaskMetricType:
  Type: String
  AllowedValues:
    - system
    - custom
  AssociationPropertyMetadata:
    LocaleKey: ESSAlarmTaskMetricType

ESS警示統計方法

ESSAlarmTaskStatistics

  • Average

  • Minimum

  • Maximum

ESSAlarmTaskStatistics:
  Type: String
  AllowedValues:
    - Average
    - Minimum
    - Maximum
  AssociationPropertyMetadata:
    LocaleKey: ESSAlarmTaskStatistics

ESS生命週期掛鈎

ESSLifecycleHookDefaultResult

  • CONTINUE

  • ABANDON

ESSLifecycleHookDefaultResult:
  Type: String
  AllowedValues:
    - CONTINUE
    - ABANDON
  AssociationPropertyMetadata:
    LocaleKey: ESSLifecycleHookDefaultResult

ESS生命週期掛鈎適用的伸縮活動類型

ESSLifecycleHookLifecycleTransition

  • SCALE_OUT

  • SCALE_IN

ESSLifecycleHookLifecycleTransition:
  Type: String
  AllowedValues:
    - SCALE_OUT
    - SCALE_IN
  AssociationPropertyMetadata:
    LocaleKey: ESSLifecycleHookLifecycleTransition

ESS伸縮規則的預定義監控項

ESSMetricName

  • CpuUtilization

  • ClassicInternetRx

  • ClassicInternetTx

  • VpcInternetRx

  • VpcInternetTx

  • IntranetRx

  • IntranetTx

ESSMetricName:
  Type: String
  AllowedValues:
    - CpuUtilization
    - ClassicInternetRx
    - ClassicInternetTx
    - VpcInternetRx
    - VpcInternetTx
    - IntranetRx
    - IntranetTx
  AssociationPropertyMetadata:
    LocaleKey: ESSMetricName

ESS多可用性區域伸縮組ECS執行個體擴縮容策略

ESSMultiAZPolicy

  • PRIORITY

  • BALANCE

  • COST_OPTIMIZED

ESSMultiAZPolicy:
  Type: String
  AllowedValues:
    - PRIORITY
    - BALANCE
    - COST_OPTIMIZED
  AssociationPropertyMetadata:
    LocaleKey: ESSMultiAZPolicy

ESS預測規則的模式

ESSPredictiveScalingMode

  • PredictAndScale

  • PredictOnly

ESSPredictiveScalingMode:
  Type: String
  AllowedValues:
    - PredictAndScale
    - PredictOnly
  AssociationPropertyMetadata:
    LocaleKey: ESSPredictiveScalingMode

ESS預測規則最大值處理方式

ESSPredictiveValueBehavior

  • MaxOverridePredictiveValue

  • PredictiveValueOverrideMax

  • PredictiveValueOverrideMaxWithBuffer

ESSPredictiveValueBehavior:
  Type: String
  AllowedValues:
    - MaxOverridePredictiveValue
    - PredictiveValueOverrideMax
    - PredictiveValueOverrideMaxWithBuffer
  AssociationPropertyMetadata:
    LocaleKey: ESSPredictiveValueBehavior

ESS伸縮組彈性收縮活動

ESSRemovalPolicys

  • OldestInstance

  • NewestInstance

  • OldestScalingConfiguration

ESSRemovalPolicys:
  Type: String
  AllowedValues:
    - OldestInstance
    - NewestInstance
    - OldestScalingConfiguration
  AssociationPropertyMetadata:
    LocaleKey: ESSRemovalPolicys

ESS伸縮規則類型

ESSScalingRuleType

  • SimpleScalingRule

  • TargetTrackingScalingRule

  • StepScalingRule

  • PredictiveScalingRule

ESSScalingRuleType:
  Type: String
  AllowedValues:
    - SimpleScalingRule
    - TargetTrackingScalingRule
    - StepScalingRule
    - PredictiveScalingRule
  AssociationPropertyMetadata:
    LocaleKey: ESSScalingRuleType

ESS定時任務

ESSScheduledTaskRecurrenceType

  • Daily

  • Weekly

  • Monthly

  • Cron

ESSScheduledTaskRecurrenceType:
  Type: String
  AllowedValues:
    - Daily
    - Weekly
    - Monthly
    - Cron
  AssociationPropertyMetadata:
    LocaleKey: ESSScheduledTaskRecurrenceType

FlowLog要捕獲流量的資源類型

FlowLogResourceType

  • NetworkInterface

  • vSwitch

  • VPC

FlowLogResourceType:
  Type: String
  AllowedValues:
    - NetworkInterface
    - vSwitch
    - VPC
   AssociationPropertyMetadata:
   LocaleKey: FlowLogResourceType

FlowLog採集的流量類型

FlowLogTrafficType

  • All

  • Allow

  • Drop

FlowLogTrafficType:
  Type: String
  AllowedValues:
    - All
    - Allow
    - Drop
  AssociationPropertyMetadata:
    LocaleKey: FlowLogTrafficType

GrantInstanceToCen網路執行個體類型

GrantInstanceToCenInstanceType

  • VPC

  • VBR

  • CCN

GrantInstanceToCenInstanceType:
  Type: String
  AllowedValues:
    - VPC
    - VBR
    - CCN
  AssociationPropertyMetadata:
    LocaleKey: GrantInstanceToCenInstanceType

付費模式

InstanceChargeType

  • PostPaid

  • Postpaid

  • PayOnDemand

  • PayAsYouGo

  • POSTPAY

  • PrePaid

  • Prepaid

  • PrePay

  • Subscription

  • PREPAY

ECSInstanceChargeType:
  Type: String
  AllowedValues:
    - PostPaid
    - PrePaid
  AssociationPropertyMetadata:
    LocaleKey: InstanceChargeType

執行個體的網路類型

InstanceNetworkType

  • vpc

  • VPC

  • classic

  • CLASSIC

  • Classic

RDSNetworkType:
  Type: String
  AllowedValues:
    - VPC
    - CLASSIC
  AssociationPropertyMetadata:
    LocaleKey: InstanceNetworkType

執行個體的競價策略

InstanceSpotStrategy

  • Spot

  • NoSpot

  • SpotWithPriceLimit

  • SpotAsPriceGo

ECSSpotStrategy:
  Type: String
  AllowedValues:
    - Spot
    - NoSpot
  AssociationPropertyMetadata:
    LocaleKey: InstanceSpotStrategy

頻寬計費方式

InternetChargeType

  • PayByBandwidth

  • paybybandwidth

  • PayBySpec

  • PayByTraffic

  • paybytraffic

  • PayByLcu

ECSInternetChargeType:
  Type: String
  AllowedValues:
    - PayByBandwidth
    - PayByTraffic
  AssociationPropertyMetadata:
    LocaleKey: InternetChargeType

MongoDB儲存引擎

MongoDBStorageEngine

  • WiredTiger

  • RocksDB

  • TerarkDB

MongoDBStorageEngine:
  Type: String
  AllowedValues:
    - WiredTiger
    - RocksDB
    - TerarkDB
  AssociationPropertyMetadata:
    LocaleKey: MongoDBStorageEngine

NAS檔案系統類型

NasFileSystemType

  • standard

  • extreme

  • cpfs

NasFileSystemType:
  Type: String
  AllowedValues:
    - standard
    - extreme
    - cpfs
  AssociationPropertyMetadata:
    LocaleKey: NasFileSystemType

NAS儲存類型

NasStorageType

  • Performance

  • Capacity

  • standard

  • advance

NasStorageType:
  Type: String
  AllowedValues:
    - Performance
    - Capacity
  AssociationPropertyMetadata:
    LocaleKey: NasStorageType

NAT Gateway的規格

NatGatewaySpec

  • Small

  • Middle

  • Large

  • XLarge.1

NatGatewaySpec:
  Type: String
  AllowedValues:
    - Small
    - Middle
    - Large
    - XLarge.1
  AssociationPropertyMetadata:
    LocaleKey: NatGatewaySpec

NAT Gateway的類型

NatType

  • Normal

  • Enhanced

NatType:
  Type: String
  AllowedValues:
    - Normal
    - Enhanced
  AssociationPropertyMetadata:
    LocaleKey: NatType

網路類型

NetType

  • Intranet

  • Internet

  • privatenet

  • pubnet

ECSInstanceNetType:
  Type: String
  AllowedValues:
    - Intranet
    - Internet
  AssociationPropertyMetadata:
    LocaleKey: NetType

OOS參數的約束條件

OOSConstraints

  • AllowedValues

  • AllowedPattern

  • MinLength

  • MaxLength

OOSConstraints:
  Type: String
  AllowedValues:
    - MinLength
    - MaxLength
  AssociationPropertyMetadata:
    LocaleKey: OOSConstraints

OSS存取權限

OSSAccessControl

  • private

  • public-read

  • public-read-write

OSSAccessControl:
  Type: String
  AllowedValues:
    - private
    - public-read
    - public-read-write
  AssociationPropertyMetadata:
    LocaleKey: OSSAccessControl

OSS儲存空間類型

OSSStorageClass

  • Standard

  • IA

  • Archive

OSSStorageClass:
  Type: String
  AllowedValues:
    - Standard
    - IA
    - Archive
  AssociationPropertyMetadata:
    LocaleKey: OSSStorageClass

布爾類型的參數

ParameterBoolean

  • True

  • true

  • False

  • false

  • on

  • off

  • ConsoleProtection

  • NonProtection

  • Enable

  • Disabled

  • Enabled

ECSAutoRenew:
  Type: String
  AllowedValues:
    - 'true'
    - 'false'
  AssociationPropertyMetadata:
    LocaleKey: ParameterBoolean

訂用帳戶周期

PricingCycle

  • Week

  • week

  • Month

  • month

  • Year

  • year

ECSPeriodUnit:
  Type: String
  AllowedValues:
    - Week
    - Month
    - Year
  AssociationPropertyMetadata:
    LocaleKey: PricingCycle

RDS帳號許可權

RDSAccountPrivilege

  • ReadWrite

  • ReadOnly

  • DDLOnly

  • DMLOnly

  • DBOwner

RDSAccountPrivilege:
  Type: String
  AllowedValues:
    - ReadWrite
    - ReadOnly
    - DDLOnly
    - DMLOnly
  AssociationPropertyMetadata:
    LocaleKey: RDSAccountPrivilege

RDS帳號類型

RDSAccountType

  • Normal

  • Super

  • Sysadmin

RDSAccountType:
  Type: String
  AllowedValues:
    - Normal
    - Super
    - Sysadmin
  AssociationPropertyMetadata:
    LocaleKey: RDSAccountType

RDS資料是否啟用二級備份功能

RDSBackUpCategory

  • Flash

  • Standard

RDSBackUpCategory:
  Type: String
  AllowedValues:
    - Flash
    - Standard
  AssociationPropertyMetadata:
    LocaleKey: RDSBackUpCategory

RDSDatabase Backup類型

RDSBackupPolicyMode

  • DataBackupPolicy

  • LogBackupPolicy

  • FullBackup

  • IncrementalBackup

RDSBackupPolicyMode:
  Type: String
  AllowedValues:
    - FullBackup
    - IncrementalBackup
  AssociationPropertyMetadata:
    LocaleKey: RDSBackupPolicyMode

RDS執行個體系列

RDSCategory

  • Basic

  • HighAvailability

  • AlwaysOn

  • Finance

RDSCategory:
  Type: String
  AllowedValues:
    - Basic
    - HighAvailability
    - AlwaysOn
    - Finance
  AssociationPropertyMetadata:
    LocaleKey: RDSCategory

RDS資料庫的串連模式

RDSConnectionMode

  • Standard

  • Safe

RDSConnectionMode:
  Type: String
  AllowedValues:
    - Standard
    - Safe
  AssociationPropertyMetadata:
    LocaleKey: RDSConnectionMode

RDS執行個體串連地址的類型

RDSConnectionStringType

  • Inner

  • Public

RDSConnectionStringType:
  Type: String
  AllowedValues:
    - Inner
    - Public
  AssociationPropertyMetadata:
    LocaleKey: RDSConnectionStringType

RDS資料庫釋放後的歸檔備份保留原則

RDSReleasedKeepPolicy

  • Lastest

  • All

RDSReleasedKeepPolicy:
  Type: String
  AllowedValues:
    - Lastest
    - All
  AssociationPropertyMetadata:
    LocaleKey: RDSReleasedKeepPolicy

RDS執行個體的安全套接層(SSL)連結設定

RDSSSLSetting

  • Disabled

  • EnabledForPublicConnection

  • EnabledForInnerConnection

RDSSSLSetting:
  Type: String
  AllowedValues:
    - Disabled
    - EnabledForPublicConnection
    - EnabledForInnerConnection
  AssociationPropertyMetadata:
    LocaleKey: RDSSSLSetting

Redis帳號許可權

RedisAccountPrivilege

  • RoleReadOnly

  • RoleReadWrite

  • RoleRepl

RedisAccountPrivilege:
  Type: String
  AllowedValues:
    - RoleReadOnly
    - RoleReadWrite
    - RoleRepl
  AssociationPropertyMetadata:
    LocaleKey: RedisAccountPrivilege

Redis資料逐出策略

RedisEvictionPolicy

  • noeviction

  • allkeys-lru

  • volatile-lru

  • allkeys-random

  • volatile-random

  • volatile-ttl

RedisEvictionPolicy:
  Type: String
  AllowedValues:
    - noeviction
    - allkeys-lru
    - volatile-lru
    - allkeys-random
    - volatile-random
    - volatile-ttl
  AssociationPropertyMetadata:
    LocaleKey: RedisEvictionPolicy

Redis SSL狀態

RedisSSLEnabled

  • Disable

  • Enable

  • Update

RedisSSLEnabled:
  Type: String
  AllowedValues:
    - Disable
    - Enable
    - Update
  AssociationPropertyMetadata:
    LocaleKey: RedisSSLEnabled

RouterInterface所屬的路由器類型

RouterType

  • VRouter

  • VBR

RouterType:
  Type: String
  AllowedValues:
    - VRouter
    - VBR
  AssociationPropertyMetadata:
    LocaleKey: RouterType

伸縮組模式

ScalingPolicy

  • release

  • recycle

ScalingPolicy:
  Type: String
  AllowedValues:
    - release
    - recycle
  AssociationPropertyMetadata:
    LocaleKey: ScalingPolicy

SLB複製策略

SlbBackendServersPolicy

  • clone

  • empty

  • append

  • replace

SlbBackendServersPolicy:
  Type: String
  AllowedValues:
    - clone
    - empty
    - append
    - replace
  AssociationPropertyMetadata:
    LocaleKey: SlbBackendServersPolicy

SLB後端伺服器類型

SlbBackendServersType

  • ecs

  • eni

  • eci

SlbBackendServersType:
  Type: String
  AllowedValues:
    - ecs
    - eni
    - eci
  AssociationPropertyMetadata:
    LocaleKey: SlbBackendServersType
  • 本頁導讀 (1, M)
  • 模板文法
  • 參數取值列表
文檔反饋