All Products
Search
Document Center

Resource Orchestration Service:Localize parameter values

Last Updated:Apr 02, 2024

Resource Orchestration Service (ROS) allows you to localize parameter values into English or Chinese based on the actual language environment of the console.

Template syntax

The following sample code provides an example on how to configure LocaleKey and AllowedValues in the template. LocaleKey specifies the parameter key that you want to localize. AllowedValues specifies the list of values that are allowed for the parameter key. This way, the ROS console can display the parameter key and its allowed values in the language that you choose.

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

The following figure shows an example of a parameter key and its allowed values in English.

001

Allowed values

The following table lists the allowed values for different parameters in English and provides examples.

Parameter

LocaleKey

AllowedValues

Example

ECSPeriodUnit

PricingCycle

  • Week

  • week

  • Month

  • month

  • Year

  • year

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

ECSInstanceChargeType

InstanceChargeType

  • PostPaid

  • Postpaid

  • PayOnDemand

  • PayAsYouGo

  • POSTPAY

  • PrePaid

  • Prepaid

  • PrePay

  • Subscription

  • PREPAY

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

ECSInternetChargeType

InternetChargeType

  • PayByBandwidth

  • paybybandwidth

  • PayBySpec

  • PayByTraffic

  • paybytraffic

  • PayByLcu

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

ECSInstanceNetType

NetType

  • Intranet

  • Internet

  • privatenet

  • pubnet

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

NatGatewaySpec

NatGatewaySpec

  • Small

  • Middle

  • Large

  • XLarge.1

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

ECSAutoRenew

ParameterBoolean

  • True

  • true

  • False

  • false

  • on

  • off

  • ConsoleProtection

  • NonProtection

  • Enable

  • Disabled

  • Enabled

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

ECSSpotStrategy

InstanceSpotStrategy

  • Spot

  • NoSpot

  • SpotWithPriceLimit

  • SpotAsPriceGo

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

RDSNetworkType

InstanceNetworkType

  • vpc

  • VPC

  • classic

  • CLASSIC

  • Classic

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

ECSSecurityEnhancementStrategy

ECSSecurityEnhancementStrategy

  • Active

  • Deactive

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

ECSTargetCapacity

ECSTargetCapacity

  • lowest-price

  • diversified

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

ECSSpotInstanceInterruptionBehavior

ECSSpotInstanceInterruptionBehavior

  • stop

  • terminate

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

ECSCommandType

ECSCommandType

  • RunBatScript

  • RunShellScript

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

ECSAutoProvisioningGroupType

ECSAutoProvisioningGroupType

  • request

  • maintain

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

ECSOnUnableToRedeployFailedInstance

ECSOnUnableToRedeployFailedInstance

  • CancelMembershipAndStart

  • KeepStopped

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

NasStorageType

NasStorageType

  • Performance

  • Capacity

  • standard

  • advance

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

NasFileSystemType

NasFileSystemType

  • standard

  • extreme

  • cpfs

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

DiskPerformanceLevel

DiskPerformanceLevel

  • PL0

  • PL1

  • PL2

  • PL3

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

SlbBackendServersPolicy

SlbBackendServersPolicy

  • clone

  • empty

  • append

  • replace

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

SlbBackendServersType

SlbBackendServersType

  • ecs

  • eni

  • eci

SlbBackendServersType:
  Type: String
  AllowedValues:
    - ecs
    - eni
    - eci
  AssociationPropertyMetadata:
    LocaleKey: SlbBackendServersType

EIPIsp

EIPIsp

  • BGP

  • BGP_PRO

  • ChinaTelecom

  • ChinaUnicom

  • ChinaMobile

  • BGP_FinanceCloud

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

EIPAssociationMode

EIPAssociationMode

  • NAT

  • MULTI_BINDED

  • BINDED

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

EIPSegmentNetmode

EIPSegmentNetmode

  • public

  • hybrid

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

FlowLogResourceType

FlowLogResourceType

  • NetworkInterface

  • vSwitch

  • VPC

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

FlowLogTrafficType

FlowLogTrafficType

  • All

  • Allow

  • Drop

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

GrantInstanceToCenInstanceType

GrantInstanceToCenInstanceType

  • VPC

  • VBR

  • CCN

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

NatType

NatType

  • Normal

  • Enhanced

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

RouterType

RouterType

  • VRouter

  • VBR

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

RDSAccountType

RDSAccountType

  • Normal

  • Super

  • Sysadmin

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

RDSAccountPrivilege

RDSAccountPrivilege

  • ReadWrite

  • ReadOnly

  • DDLOnly

  • DMLOnly

  • DBOwner

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

RDSConnectionStringType

RDSConnectionStringType

  • Inner

  • Public

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

RDSCategory

RDSCategory

  • Basic

  • HighAvailability

  • AlwaysOn

  • Finance

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

RDSConnectionMode

RDSConnectionMode

  • Standard

  • Safe

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

RDSBackupPolicyMode

RDSBackupPolicyMode

  • DataBackupPolicy

  • LogBackupPolicy

  • FullBackup

  • IncrementalBackup

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

RDSBackUpCategory

RDSBackUpCategory

  • Flash

  • Standard

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

RDSReleasedKeepPolicy

RDSReleasedKeepPolicy

  • Lastest

  • All

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

RDSSSLSetting

RDSSSLSetting

  • Disabled

  • EnabledForPublicConnection

  • EnabledForInnerConnection

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

RedisAccountPrivilege

RedisAccountPrivilege

  • RoleReadOnly

  • RoleReadWrite

  • RoleRepl

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

RedisEvictionPolicy

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

RedisSSLEnabled

RedisSSLEnabled

  • Disable

  • Enable

  • Update

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

OSSAccessControl

OSSAccessControl

  • private

  • public-read

  • public-read-write

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

OSSStorageClass

OSSStorageClass

  • Standard

  • IA

  • Archive

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

OOSConstraints

OOSConstraints

  • AllowedValues

  • AllowedPattern

  • MinLength

  • MaxLength

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

MongoDBStorageEngine

MongoDBStorageEngine

  • WiredTiger

  • RocksDB

  • TerarkDB

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

CenChildInstanceType

CenChildInstanceType

  • VPC

  • VBR

  • CCN

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

CenGeographicRegionId

CenGeographicRegionId

  • China

  • North-America

  • Asia-Pacific

  • Europe

  • Australia

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

CenTransmitDirection

CenTransmitDirection

  • RegionIn

  • RegionOut

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

CenMatchMode

CenMatchMode

  • Include

  • Complete

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

CenMapResult

CenMapResult

  • Permit

  • Deny

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

CenRouteTypes

CenRouteTypes

  • System

  • Custom

  • BGP

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

CenCommunityOperateMode

CenCommunityOperateMode

  • Additive

  • Replace

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

CenNextHopType

CenNextHopType

  • BlackHole

  • Attachment

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

CSCpuPolicy

CSCpuPolicy

  • static

  • none

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

CSTaintsEffect

CSTaintsEffect

  • NoSchedule

  • NoExecute

  • PreferNoSchedule

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

AutoScalingType

AutoScalingType

  • cpu

  • gpu

  • gpushare

  • spot

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

ScalingPolicy

ScalingPolicy

  • release

  • recycle

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

ESSAlarmTaskMetricType

ESSAlarmTaskMetricType

  • system

  • custom

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

ESSAlarmTaskStatistics

ESSAlarmTaskStatistics

  • Average

  • Minimum

  • Maximum

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

ESSLifecycleHookDefaultResult

ESSLifecycleHookDefaultResult

  • CONTINUE

  • ABANDON

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

ESSLifecycleHookLifecycleTransition

ESSLifecycleHookLifecycleTransition

  • SCALE_OUT

  • SCALE_IN

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

ESSRemovalPolicys

ESSRemovalPolicys

  • OldestInstance

  • NewestInstance

  • OldestScalingConfiguration

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

ESSMultiAZPolicy

ESSMultiAZPolicy

  • PRIORITY

  • BALANCE

  • COST_OPTIMIZED

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

ESSAdjustmentType

ESSAdjustmentType

  • QuantityChangeInCapacity

  • PercentChangeInCapacity

  • TotalCapacity

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

ESSMetricName

ESSMetricName

  • CpuUtilization

  • ClassicInternetRx

  • ClassicInternetTx

  • VpcInternetRx

  • VpcInternetTx

  • IntranetRx

  • IntranetTx

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

ESSScalingRuleType

ESSScalingRuleType

  • SimpleScalingRule

  • TargetTrackingScalingRule

  • StepScalingRule

  • PredictiveScalingRule

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

ESSPredictiveValueBehavior

ESSPredictiveValueBehavior

  • MaxOverridePredictiveValue

  • PredictiveValueOverrideMax

  • PredictiveValueOverrideMaxWithBuffer

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

ESSPredictiveScalingMode

ESSPredictiveScalingMode

  • PredictAndScale

  • PredictOnly

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

ESSScheduledTaskRecurrenceType

ESSScheduledTaskRecurrenceType

  • Daily

  • Weekly

  • Monthly

  • Cron

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

ECSRouteNextHopType

ECSRouteNextHopType

  • Instance

  • HaVip

  • RouterInterface

  • NetworkInterface

  • VpnGateway

  • IPv6Gateway

  • NatGateway

  • Attachment

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