Unlock the Power of AI

1 million free tokens

88% Price Reduction

NaNDayNaN:NaN:NaN
Activate Now

Parameter value localization

Updated at: 2024-05-28 01:58

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

Template syntax

The following sample code provides an example on how to configure LocaleKey and AllowedValues for a parameter in a template. LocaleKey specifies the parameter key that you want to localize. AllowedValues specifies a 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.

image

Allowed values

The following table lists the allowed values for different parameters and provides examples. The actual English expressions of allowed values in the ROS console shall prevail.

Parameter

LocaleKey

AllowedValues

Example

Parameter

LocaleKey

AllowedValues

Example

AutoScalingType

AutoScalingType

  • cpu

  • gpu

  • gpushare

  • spot

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

CenChildInstanceType

CenChildInstanceType

  • VPC

  • VBR

  • CCN

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

CenCommunityOperateMode

CenCommunityOperateMode

  • Additive

  • Replace

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

CenGeographicRegionId

CenGeographicRegionId

  • China

  • North-America

  • Asia-Pacific

  • Europe

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

CenMapResult

CenMapResult

  • Permit

  • Deny

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

CenMatchMode

CenMatchMode

  • Include

  • Complete

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

CenNextHopType

CenNextHopType

  • BlackHole

  • Attachment

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

CenRouteTypes

CenRouteTypes

  • System

  • Custom

  • BGP

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

CenTransmitDirection

CenTransmitDirection

  • RegionIn

  • RegionOut

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

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

DiskPerformanceLevel

DiskPerformanceLevel

  • PL0

  • PL1

  • PL2

  • PL3

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

ECSAutoProvisioningGroupType

ECSAutoProvisioningGroupType

  • request

  • maintain

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

ECSCommandType

ECSCommandType

  • RunBatScript

  • RunShellScript

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

ECSOnUnableToRedeployFailedInstance

ECSOnUnableToRedeployFailedInstance

  • CancelMembershipAndStart

  • KeepStopped

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

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

ECSSecurityEnhancementStrategy

ECSSecurityEnhancementStrategy

  • Active

  • Deactive

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

ECSSpotInstanceInterruptionBehavior

ECSSpotInstanceInterruptionBehavior

  • stop

  • terminate

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

ECSTargetCapacity

ECSTargetCapacity

  • lowest-price

  • diversified

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

EIPAssociationMode

EIPAssociationMode

  • NAT

  • MULTI_BINDED

  • BINDED

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

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

EIPSegmentNetmode

EIPSegmentNetmode

  • public

  • hybrid

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

ESSAdjustmentType

ESSAdjustmentType

  • QuantityChangeInCapacity

  • PercentChangeInCapacity

  • TotalCapacity

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

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

ESSMetricName

ESSMetricName

  • CpuUtilization

  • ClassicInternetRx

  • ClassicInternetTx

  • VpcInternetRx

  • VpcInternetTx

  • IntranetRx

  • IntranetTx

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

ESSMultiAZPolicy

ESSMultiAZPolicy

  • PRIORITY

  • BALANCE

  • COST_OPTIMIZED

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

ESSPredictiveScalingMode

ESSPredictiveScalingMode

  • PredictAndScale

  • PredictOnly

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

ESSPredictiveValueBehavior

ESSPredictiveValueBehavior

  • MaxOverridePredictiveValue

  • PredictiveValueOverrideMax

  • PredictiveValueOverrideMaxWithBuffer

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

ESSRemovalPolicys

ESSRemovalPolicys

  • OldestInstance

  • NewestInstance

  • OldestScalingConfiguration

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

ESSScalingRuleType

ESSScalingRuleType

  • SimpleScalingRule

  • TargetTrackingScalingRule

  • StepScalingRule

  • PredictiveScalingRule

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

ESSScheduledTaskRecurrenceType

ESSScheduledTaskRecurrenceType

  • Daily

  • Weekly

  • Monthly

  • Cron

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

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

ECSInstanceChargeType

InstanceChargeType

  • PostPaid

  • Postpaid

  • PayOnDemand

  • PayAsYouGo

  • POSTPAY

  • PrePaid

  • Prepaid

  • PrePay

  • Subscription

  • PREPAY

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

RDSNetworkType

InstanceNetworkType

  • vpc

  • VPC

  • classic

  • CLASSIC

  • Classic

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

ECSSpotStrategy

InstanceSpotStrategy

  • Spot

  • NoSpot

  • SpotWithPriceLimit

  • SpotAsPriceGo

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

ECSInternetChargeType

InternetChargeType

  • PayByBandwidth

  • paybybandwidth

  • PayBySpec

  • PayByTraffic

  • paybytraffic

  • PayByLcu

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

MongoDBStorageEngine

MongoDBStorageEngine

  • WiredTiger

  • RocksDB

  • TerarkDB

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

NasFileSystemType

NasFileSystemType

  • standard

  • extreme

  • cpfs

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

NasStorageType

NasStorageType

  • Performance

  • Capacity

  • standard

  • advance

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

NatGatewaySpec

NatGatewaySpec

  • Small

  • Middle

  • Large

  • XLarge.1

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

NatType

NatType

  • Normal

  • Enhanced

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

ECSInstanceNetType

NetType

  • Intranet

  • Internet

  • privatenet

  • pubnet

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

OOSConstraints

OOSConstraints

  • AllowedValues

  • AllowedPattern

  • MinLength

  • MaxLength

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

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

ECSAutoRenew

ParameterBoolean

  • True

  • true

  • False

  • false

  • on

  • off

  • ConsoleProtection

  • NonProtection

  • Enable

  • Disabled

  • Enabled

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

ECSPeriodUnit

PricingCycle

  • Week

  • week

  • Month

  • month

  • Year

  • year

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

RDSAccountPrivilege

RDSAccountPrivilege

  • ReadWrite

  • ReadOnly

  • DDLOnly

  • DMLOnly

  • DBOwner

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

RDSAccountType

RDSAccountType

  • Normal

  • Super

  • Sysadmin

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

RDSBackUpCategory

RDSBackUpCategory

  • Flash

  • Standard

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

RDSBackupPolicyMode

RDSBackupPolicyMode

  • DataBackupPolicy

  • LogBackupPolicy

  • FullBackup

  • IncrementalBackup

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

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

RDSConnectionStringType

RDSConnectionStringType

  • Inner

  • Public

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

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

RouterType

RouterType

  • VRouter

  • VBR

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

ScalingPolicy

ScalingPolicy

  • release

  • recycle

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

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
  • On this page (1, T)
  • Template syntax
  • Allowed values
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare