Resource Orchestration Service (ROS) allows you to enter parameter values in English or Chinese. You can switch to the language that you are familiar with in the ROS console.

Template syntax

The following sample code shows how to configure LocaleKey and AllowedValues in a 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"
      }
    }
  }
}

Example of a parameter key and its allowed values in English:

en

Allowed values

The following table lists the allowed values of LocaleKey in English and provides some examples.

LocaleKey AllowedValues Example
PricingCycle
  • Week
  • week
  • Month
  • month
  • Year
  • year
{
  "ECSPeriodUnit": {
    "Type": "String",
    "AllowedValues": ["Week", "Month", "Year"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "PricingCycle"
      }
  }
}
InstanceChargeType
  • PostPaid
  • Postpaid
  • PayOnDemand
  • PayAsYouGo
  • POSTPAY
  • PrePaid
  • Prepaid
  • PrePay
  • Subscription
  • PREPAY
{
  "ECSInstanceChargeType": {
    "Type": "String",
    "AllowedValues": ["PostPaid", "PrePaid"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "InstanceChargeType"
      }
  }
}
InternetChargeType
  • PayByBandwidth
  • paybybandwidth
  • PayBySpec
  • PayByTraffic
  • paybytraffic
  • PayByLcu
{
  "ECSInternetChargeType": {
    "Type": "String",
    "AllowedValues": ["PayByBandwidth", "PayByTraffic"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "InternetChargeType"
      }
  }
}
NetType
  • Intranet
  • Internet
  • privatenet
  • pubnet
{
  "ECSInstanceNetType": {
    "Type": "String",
    "AllowedValues": ["Intranet", "Internet"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "NetType"
      }
  }
}
NatGatewaySpec
  • Small
  • Middle
  • Large
  • XLarge.1
{
  "NatGatewaySpec": {
    "Type": "String",
    "AllowedValues": ["Small", "Middle", "Large", "XLarge.1"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "NatGatewaySpec"
      }
  }
}
ParameterBoolean
  • True
  • true
  • False
  • false
  • on
  • off
  • ConsoleProtection
  • NonProtection
  • Enable
  • Disabled
  • Enabled
{
  "ECSAutoRenew": {
    "Type": "String",
    "AllowedValues": ["true", "false"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ParameterBoolean"
      }
  }
}
InstanceSpotStrategy
  • Spot
  • NoSpot
  • SpotWithPriceLimit
  • SpotAsPriceGo
{
  "ECSSpotStrategy": {
    "Type": "String",
    "AllowedValues": ["Spot", "NoSpot"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "InstanceSpotStrategy"
      }
  }
}
InstanceNetworkType
  • vpc
  • VPC
  • classic
  • CLASSIC
  • Classic
{
  "RDSNetworkType": {
    "Type": "String",
    "AllowedValues": ["VPC", "CLASSIC"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "InstanceNetworkType"
      }
  }
}
ECSSecurityEnhancementStrategy
  • Active
  • Deactive
{
  "ECSSecurityEnhancementStrategy": {
    "Type": "String",
    "AllowedValues": ["Active", "Deactive"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ECSSecurityEnhancementStrategy"
      }
  }
}
ECSTargetCapacity
  • lowest-price
  • diversified
{
  "ECSTargetCapacity": {
    "Type": "String",
    "AllowedValues": ["lowest-price", "diversified"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ECSTargetCapacity"
      }
  }
}
ECSSpotInstanceInterruptionBehavior
  • stop
  • terminate
{
  "ECSSpotInstanceInterruptionBehavior": {
    "Type": "String",
    "AllowedValues": ["stop", "terminate"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ECSSpotInstanceInterruptionBehavior"
      }
  }
}
ECSCommandType
  • RunBatScript
  • RunShellScript
{
  "ECSCommandType": {
    "Type": "String",
    "AllowedValues": ["RunBatScript", "RunPowerShellScript", "RunShellScript"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ECSCommandType"
      }
  }
}
ECSAutoProvisioningGroupType
  • request
  • maintain
{
  "ECSAutoProvisioningGroupType": {
    "Type": "String",
    "AllowedValues": ["request", "maintain"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ECSAutoProvisioningGroupType"
      }
  }
}
ECSOnUnableToRedeployFailedInstance
  • CancelMembershipAndStart
  • KeepStopped
{
  "ECSOnUnableToRedeployFailedInstance": {
    "Type": "String",
    "AllowedValues": ["CancelMembershipAndStart", "KeepStopped"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ECSOnUnableToRedeployFailedInstance"
      }
  }
}
NasStorageType
  • Performance
  • Capacity
  • standard
  • advance
{
  "NasStorageType": {
    "Type": "String",
    "AllowedValues": ["Performance", "Capacity"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "NasStorageType"
      }
  }
}
NasFileSystemType
  • standard
  • extreme
  • cpfs
{
  "NasFileSystemType": {
    "Type": "String",
    "AllowedValues": ["standard", "extreme", "cpfs"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "NasFileSystemType"
      }
  }
}
DiskPerformanceLevel
  • PL0
  • PL1
  • PL2
  • PL3
{
  "DiskPerformanceLevel": {
    "Type": "String",
    "AllowedValues": ["PL0", "PL1", "PL2", "PL3"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "DiskPerformanceLevel"
      }
  }
}
SlbBackendServersPolicy
  • clone
  • empty
  • append
  • replace
{
  "SlbBackendServersPolicy": {
    "Type": "String",
    "AllowedValues": ["clone", "empty", "append", "replace"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "SlbBackendServersPolicy"
      }
  }
}
SlbBackendServersType
  • ecs
  • eni
  • eci
{
  "SlbBackendServersType": {
    "Type": "String",
    "AllowedValues": ["ecs", "eni", "eci"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "SlbBackendServersType"
      }
  }
}
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
  • NAT
  • MULTI_BINDED
  • BINDED
{
  "EIPAssociationMode": {
    "Type": "String",
    "AllowedValues": ["NAT", "MULTI_BINDED", "BINDED"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "EIPAssociationMode"
      }
  }
}
EIPSegmentNetmode
  • public
  • hybrid
{
  "EIPSegmentNetmode": {
    "Type": "String",
    "AllowedValues": ["public", "hybrid"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "EIPSegmentNetmode"
      }
  }
}
FlowLogResourceType
  • NetworkInterface
  • VSwitch
  • VPC
{
  "EIPAssociationMode": {
    "Type": "String",
    "AllowedValues": ["NetworkInterface", "VSwitch", "VPC"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "EIPAssociationMode"
      }
  }
}
FlowLogTrafficType
  • All
  • Allow
  • Drop
{
  "FlowLogTrafficType": {
    "Type": "String",
    "AllowedValues": ["All", "Allow", "Drop"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "FlowLogTrafficType"
      }
  }
}
GrantInstanceToCenInstanceType
  • VPC
  • VBR
  • CCN
{
  "GrantInstanceToCenInstanceType": {
    "Type": "String",
    "AllowedValues": ["VPC", "VBR", "CCN"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "GrantInstanceToCenInstanceType"
      }
  }
}
NatType
  • Normal
  • Enhanced
{
  "NatType": {
    "Type": "String",
    "AllowedValues": ["Normal", "Enhanced"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "NatType"
      }
  }
}
RouterType
  • VRouter
  • VBR
{
  "RouterType": {
    "Type": "String",
    "AllowedValues": ["VRouter", "VBR"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RouterType"
      }
  }
}
RDSAccountType
  • Normal
  • Super
  • Sysadmin
{
  "RDSAccountType": {
    "Type": "String",
    "AllowedValues": ["Normal", "Super", "Sysadmin"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RDSAccountType"
      }
  }
}
RDSAccountPrivilege
  • ReadWrite
  • ReadOnly
  • DDLOnly
  • DMLOnly
  • DBOwner
{
  "RDSAccountPrivilege": {
    "Type": "String",
    "AllowedValues": ["ReadWrite", "ReadOnly", "DDLOnly", "DMLOnly"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RDSAccountPrivilege"
      }
  }
}
RDSConnectionStringType
  • Inner
  • Public
{
  "RDSConnectionStringType": {
    "Type": "String",
    "AllowedValues": ["Inner", "Public"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RDSConnectionStringType"
      }
  }
}
RDSCategory
  • Basic
  • HighAvailability
  • AlwaysOn
  • Finance
{
  "RDSCategory": {
    "Type": "String",
    "AllowedValues": ["Basic", "HighAvailability", "AlwaysOn", "Finance"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RDSCategory"
      }
  }
}
RDSConnectionMode
  • Standard
  • Safe
{
  "RDSConnectionMode": {
    "Type": "String",
    "AllowedValues": ["Standard", "Safe"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RDSConnectionMode"
      }
  }
}
RDSBackupPolicyMode
  • DataBackupPolicy
  • LogBackupPolicy
  • FullBackup
  • IncrementalBackup
{
  "RDSBackupPolicyMode": {
    "Type": "String",
    "AllowedValues": ["FullBackup", "IncrementalBackup"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RDSBackupPolicyMode"
      }
  }
}
RDSBackUpCategory
  • Flash
  • Standard
{
  "RDSBackUpCategory": {
    "Type": "String",
    "AllowedValues": ["Flash", "Standard"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RDSBackUpCategory"
      }
  }
}
RDSReleasedKeepPolicy
  • Lastest
  • All
{
  "RDSReleasedKeepPolicy": {
    "Type": "String",
    "AllowedValues": ["Lastest", "All"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RDSReleasedKeepPolicy"
      }
  }
}
RDSSSLSetting
  • Disabled
  • EnabledForPublicConnection
  • EnabledForInnerConnection
{
  "RDSSSLSetting": {
    "Type": "String",
    "AllowedValues": ["Disabled", "EnabledForPublicConnection", "EnabledForInnerConnection"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RDSSSLSetting"
      }
  }
}
RedisAccountPrivilege
  • RoleReadOnly
  • RoleReadWrite
  • RoleRepl
{
  "RedisAccountPrivilege": {
    "Type": "String",
    "AllowedValues": ["RoleReadOnly", "RoleReadWrite", "RoleRepl"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RedisAccountPrivilege"
      }
  }
}
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
  • Disable
  • Enable
  • Update
{
  "RedisSSLEnabled": {
    "Type": "String",
    "AllowedValues": ["Disable", "Enable", "Update"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "RedisSSLEnabled"
      }
  }
}
OSSAccessControl
  • private
  • public-read
  • public-read-write
{
  "OSSAccessControl": {
    "Type": "String",
    "AllowedValues": ["private", "public-read", "public-read-write"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "OSSAccessControl"
      }
  }
}
OSSStorageClass
  • Standard
  • IA
  • Archive
{
  "OSSStorageClass": {
    "Type": "String",
    "AllowedValues": ["Standard", "IA", "Archive"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "OSSStorageClass"
      }
  }
}
OOSConstraints
  • AllowedValues
  • AllowedPattern
  • MinLength
  • MaxLength
{
  "OOSConstraints": {
    "Type": "String",
    "AllowedValues": ["MinLength", "MaxLength"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "OOSConstraints"
      }
  }
}
MongoDBStorageEngine
  • WiredTiger
  • RocksDB
  • TerarkDB
{
  "MongoDBStorageEngine": {
    "Type": "String",
    "AllowedValues": ["WiredTiger", "RocksDB", "TerarkDB"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "MongoDBStorageEngine"
      }
  }
}
CenChildInstanceType
  • VPC
  • VBR
  • CCN
{
  "CenChildInstanceType": {
    "Type": "String",
    "AllowedValues": ["VPC", "VBR", "CCN"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CenChildInstanceType"
      }
  }
}
CenGeographicRegionId
  • China
  • North-America
  • Asia-Pacific
  • Europe
  • Australia
{
  "CenGeographicRegionId": {
    "Type": "String",
    "AllowedValues": ["China", "North-America", "Asia-Pacific", "Europe", "Australia"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CenGeographicRegionId"
      }
  }
}
CenTransmitDirection
  • RegionIn
  • RegionOut
{
  "CenTransmitDirection": {
    "Type": "String",
    "AllowedValues": ["RegionIn", "RegionOut"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CenTransmitDirection"
      }
  }
}
CenMatchMode
  • Include
  • Complete
{
  "CenMatchMode": {
    "Type": "String",
    "AllowedValues": ["Include", "Complete"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CenMatchMode"
      }
  }
}
CenMapResult
  • Permit
  • Deny
{
  "CenMapResult": {
    "Type": "String",
    "AllowedValues": ["Permit", "Deny"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CenMapResult"
      }
  }
}
CenRouteTypes
  • System
  • Custom
  • BGP
{
  "CenRouteTypes": {
    "Type": "String",
    "AllowedValues": ["System", "Custom", "BGP"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CenRouteTypes"
      }
  }
}
CenCommunityOperateMode
  • Additive
  • Replace
{
  "CenCommunityOperateMode": {
    "Type": "String",
    "AllowedValues": ["Additive", "Replace"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CenCommunityOperateMode"
      }
  }
}
CenNextHopType
  • BlackHole
  • Attachment
{
  "CenNextHopType": {
    "Type": "String",
    "AllowedValues": ["BlackHole", "Attachment"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CenNextHopType"
      }
  }
}
CSCpuPolicy
  • static
  • none
{
  "CSCpuPolicy": {
    "Type": "String",
    "AllowedValues": ["static", "none"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CSCpuPolicy"
      }
  }
}
CSTaintsEffect
  • NoSchedule
  • NoExecute
  • PreferNoSchedule
{
  "CSTaintsEffect": {
    "Type": "String",
    "AllowedValues": ["NoSchedule", "NoExecute", "PreferNoSchedule"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "CSTaintsEffect"
      }
  }
}
AutoScalingType
  • cpu
  • gpu
  • gpushare
  • spot
{
  "AutoScalingType": {
    "Type": "String",
    "AllowedValues": ["cpu", "gpu", "gpushare", "spot"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "AutoScalingType"
      }
  }
}
ScalingPolicy
  • release
  • recycle
{
  "ScalingPolicy": {
    "Type": "String",
    "AllowedValues": ["release", "recycle"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ScalingPolicy"
      }
  }
}
ESSAlarmTaskMetricType
  • system
  • custom
{
  "ESSAlarmTaskMetricType": {
    "Type": "String",
    "AllowedValues": ["system", "custom"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSAlarmTaskMetricType"
      }
  }
}
ESSAlarmTaskMetricType
  • Average
  • Minimum
  • Maximum
{
  "ESSAlarmTaskMetricType": {
    "Type": "String",
    "AllowedValues": ["Average", "Minimum", "Maximum"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSAlarmTaskMetricType"
      }
  }
}
ESSLifecycleHookDefaultResult
  • CONTINUE
  • ABANDON
{
  "ESSLifecycleHookDefaultResult": {
    "Type": "String",
    "AllowedValues": ["CONTINUE", "ABANDON"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSLifecycleHookDefaultResult"
      }
  }
}
ESSLifecycleHookLifecycleTransition
  • SCALE_OUT
  • SCALE_IN
{
  "ESSLifecycleHookLifecycleTransition": {
    "Type": "String",
    "AllowedValues": ["SCALE_OUT", "SCALE_IN"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSLifecycleHookLifecycleTransition"
      }
  }
}
ESSRemovalPolicys
  • OldestInstance
  • NewestInstance
  • OldestScalingConfiguration
{
  "ESSRemovalPolicys": {
    "Type": "String",
    "AllowedValues": ["OldestInstance", "NewestInstance", "OldestScalingConfiguration"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSRemovalPolicys"
      }
  }
}
ESSMultiAZPolicy
  • PRIORITY
  • BALANCE
  • COST_OPTIMIZED
{
  "ESSMultiAZPolicy": {
    "Type": "String",
    "AllowedValues": ["PRIORITY", "BALANCE", "COST_OPTIMIZED"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSMultiAZPolicy"
      }
  }
}
ESSAdjustmentType
  • QuantityChangeInCapacity
  • PercentChangeInCapacity
  • TotalCapacity
{
  "ESSAdjustmentType": {
    "Type": "String",
    "AllowedValues": ["QuantityChangeInCapacity", "PercentChangeInCapacity", "TotalCapacity"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSAdjustmentType"
      }
  }
}
ESSMetricName
  • CpuUtilization
  • ClassicInternetRx
  • ClassicInternetTx
  • VpcInternetRx
  • VpcInternetTx
  • IntranetRx
  • IntranetTx
{
  "ESSMetricName": {
    "Type": "String",
    "AllowedValues": ["CpuUtilization", "ClassicInternetRx", "ClassicInternetTx", "VpcInternetRx", "VpcInternetTx", "IntranetRx", "IntranetTx"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSMetricName"
      }
  }
}
ESSScalingRuleType
  • SimpleScalingRule
  • TargetTrackingScalingRule
  • StepScalingRule
  • PredictiveScalingRule
{
  "ESSScalingRuleType": {
    "Type": "String",
    "AllowedValues": ["SimpleScalingRule", "TargetTrackingScalingRule", "StepScalingRule", "PredictiveScalingRule"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSScalingRuleType"
      }
  }
}
ESSPredictiveValueBehavior
  • MaxOverridePredictiveValue
  • PredictiveValueOverrideMax
  • PredictiveValueOverrideMaxWithBuffer
{
  "ESSPredictiveValueBehavior": {
    "Type": "String",
    "AllowedValues": ["MaxOverridePredictiveValue", "PredictiveValueOverrideMax", "PredictiveValueOverrideMaxWithBuffer"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSPredictiveValueBehavior"
      }
  }
}
ESSPredictiveScalingMode
  • PredictAndScale
  • PredictOnly
{
  "ESSPredictiveScalingMode": {
    "Type": "String",
    "AllowedValues": ["PredictAndScale", "PredictOnly"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSPredictiveScalingMode"
      }
  }
}
ESSScheduledTaskRecurrenceType
  • Daily
  • Weekly
  • Monthly
  • Cron
{
  "ESSScheduledTaskRecurrenceType": {
    "Type": "String",
    "AllowedValues": ["Daily", "Weekly", "Monthly", "Cron"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ESSScheduledTaskRecurrenceType"
      }
  }
}
ECSRouteNextHopType
  • Instance
  • HaVip
  • RouterInterface
  • NetworkInterface
  • VpnGateway
  • IPv6Gateway
  • NatGateway
  • Attachment
{
  "ECSRouteNextHopType": {
    "Type": "String",
    "AllowedValues": ["Instance", "HaVip", "RouterInterface", "NetworkInterface", "VpnGateway", "IPv6Gateway", "NatGateway", "Attachment"],
    "AssociationPropertyMetadata": {
        "LocaleKey": "ECSRouteNextHopType"
      }
  }
}