Parameter value localization

更新时间:
复制 MD 格式

Resource Orchestration Service (ROS) can localize parameter values by translating them into the language configured for the console. Chinese and English are supported.

Template syntax

Define parameters in the following format. Use LocaleKey to specify the localization key index and AllowedValues to specify the parameter values. The console then renders the value list in the language that matches the user's language setting.

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

For example, ECSInternetChargeType is a required parameter. The available options are displayed as Pay-by-bandwidth (PayByBandwidth) and Pay-by-traffic (PayByTraffic).

Parameter value list

The following table lists the supported parameter values with examples. When the console language is set to Chinese, the Chinese text for each value is displayed.

Parameter

Localization key index

Parameter value

Example

Auto scaling type

AutoScalingType

  • cpu

  • gpu

  • gpushare

  • spot

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

CEN network instance type

CenChildInstanceType

  • VPC

  • VBR

  • CCN

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

CEN Community operation mode

CenCommunityOperateMode

  • Additive

  • Replace

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

Region of the CEN network instance

CenGeographicRegionId

  • China

  • North-America

  • Asia-Pacific

  • Europe

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

Action for a CEN policy when all conditions are met

CenMapResult

  • Permit

  • Deny

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

CEN match mode

CenMatchMode

  • Include

  • Complete

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

Next hop type of the CEN route entry

CenNextHopType

  • BlackHole

  • Attachment

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

List of matched CEN route types

CenRouteTypes

  • System

  • Custom

  • BGP

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

Application direction of the CEN routing policy

CenTransmitDirection

  • RegionIn

  • RegionOut

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

CS node CPU management policy

CSCpuPolicy

  • static

  • none

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

CS scheduling policy

CSTaintsEffect

  • NoSchedule

  • NoExecute

  • PreferNoSchedule

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

Performance level of the cloud disk

DiskPerformanceLevel

  • PL0

  • PL1

  • PL2

  • PL3

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

Delivery type of the ECS auto provisioning group

ECSAutoProvisioningGroupType

  • request

  • maintain

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

ECS command type

ECSCommandType

  • RunBatScript

  • RunShellScript

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

Contingency plan for insufficient inventory after a failed instance in an ECS deployment set is migrated

ECSOnUnableToRedeployFailedInstance

  • CancelMembershipAndStart

  • KeepStopped

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

Next hop type for an ECS custom route

ECSRouteNextHopType

  • Instance

  • HaVip

  • RouterInterface

  • NetworkInterface

  • VpnGateway

  • IPv6Gateway

  • NatGateway

  • Attachment

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

Is security hardening enabled for your ECS instance?

ECSSecurityEnhancementStrategy

  • Active

  • Deactive

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

Next action after an excess ECS spot instance is stopped

ECSSpotInstanceInterruptionBehavior

  • stop

  • terminate

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

Policy for ECS spot instances

ECSTargetCapacity

  • lowest-price

  • diversified

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

EIP association mode

EIPAssociationMode

  • NAT

  • MULTI_BINDED

  • BINDED

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

EIP line type

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 network type

EIPSegmentNetmode

  • public

  • hybrid

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

Adjustment type for ESS scaling rules

ESSAdjustmentType

  • QuantityChangeInCapacity

  • PercentChangeInCapacity

  • TotalCapacity

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

ESS alarm type

ESSAlarmTaskMetricType

  • system

  • custom

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

ESS alarm statistics method

ESSAlarmTaskStatistics

  • Average

  • Minimum

  • Maximum

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

ESS lifecycle hook

ESSLifecycleHookDefaultResult

  • CONTINUE

  • ABANDON

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

Applicable scaling activity type for the ESS lifecycle hook

ESSLifecycleHookLifecycleTransition

  • SCALE_OUT

  • SCALE_IN

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

Predefined metrics for ESS scaling rules

ESSMetricName

  • CpuUtilization

  • ClassicInternetRx

  • ClassicInternetTx

  • VpcInternetRx

  • VpcInternetTx

  • IntranetRx

  • IntranetTx

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

Scaling policy for ECS instances in a multi-zone ESS scaling group

ESSMultiAZPolicy

  • PRIORITY

  • BALANCE

  • COST_OPTIMIZED

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

Mode for ESS prediction rules

ESSPredictiveScalingMode

  • PredictAndScale

  • PredictOnly

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

Handling method for the maximum value in ESS prediction rules

ESSPredictiveValueBehavior

  • MaxOverridePredictiveValue

  • PredictiveValueOverrideMax

  • PredictiveValueOverrideMaxWithBuffer

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

Scale-down activity for an ESS scaling group

ESSRemovalPolicys

  • OldestInstance

  • NewestInstance

  • OldestScalingConfiguration

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

ESS scaling rule type

ESSScalingRuleType

  • SimpleScalingRule

  • TargetTrackingScalingRule

  • StepScalingRule

  • PredictiveScalingRule

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

ESS scheduled task

ESSScheduledTaskRecurrenceType

  • Daily

  • Weekly

  • Monthly

  • Cron

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

Resource type for which FlowLog captures traffic

FlowLogResourceType

  • NetworkInterface

  • vSwitch

  • VPC

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

Traffic type collected by FlowLog

FlowLogTrafficType

  • All

  • Allow

  • Drop

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

Network instance type for GrantInstanceToCen

GrantInstanceToCenInstanceType

  • VPC

  • VBR

  • CCN

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

Billing method

InstanceChargeType

  • PostPaid

  • Postpaid

  • PayOnDemand

  • PayAsYouGo

  • POSTPAY

  • PrePaid

  • Prepaid

  • PrePay

  • Subscription

  • PREPAY

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

Network type of the instance

InstanceNetworkType

  • vpc

  • VPC

  • classic

  • CLASSIC

  • Classic

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

Bidding policy for the instance

InstanceSpotStrategy

  • Spot

  • NoSpot

  • SpotWithPriceLimit

  • SpotAsPriceGo

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

Bandwidth billing method

InternetChargeType

  • PayByBandwidth

  • paybybandwidth

  • PayBySpec

  • PayByTraffic

  • paybytraffic

  • PayByLcu

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

MongoDB storage engine

MongoDBStorageEngine

  • WiredTiger

  • RocksDB

  • TerarkDB

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

NAS file system type

NasFileSystemType

  • standard

  • extreme

  • cpfs

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

NAS storage class

NasStorageType

  • Performance

  • Capacity

  • standard

  • advance

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

Specifications of the NAT Gateway

NatGatewaySpec

  • Small

  • Middle

  • Large

  • XLarge.1

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

Type of the NAT Gateway

NatType

  • Normal

  • Enhanced

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

Network type

NetType

  • Intranet

  • Internet

  • privatenet

  • pubnet

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

Constraints for OOS parameters

OOSConstraints

  • AllowedValues

  • AllowedPattern

  • MinLength

  • MaxLength

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

OSS access permissions

OSSAccessControl

  • private

  • public-read

  • public-read-write

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

OSS storage class

OSSStorageClass

  • Standard

  • IA

  • Archive

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

Boolean parameter

ParameterBoolean

  • True

  • true

  • False

  • false

  • on

  • off

  • ConsoleProtection

  • NonProtection

  • Enable

  • Disabled

  • Enabled

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

Subscription period

PricingCycle

  • Week

  • week

  • Month

  • month

  • Year

  • year

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

RDS account permissions

RDSAccountPrivilege

  • ReadWrite

  • ReadOnly

  • DDLOnly

  • DMLOnly

  • DBOwner

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

RDS account type

RDSAccountType

  • Normal

  • Super

  • Sysadmin

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

Is level-2 backup enabled for data in RDS?

RDSBackUpCategory

  • Flash

  • Standard

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

RDS database backup type

RDSBackupPolicyMode

  • DataBackupPolicy

  • LogBackupPolicy

  • FullBackup

  • IncrementalBackup

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

RDS instance edition

RDSCategory

  • Basic

  • HighAvailability

  • AlwaysOn

  • Finance

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

Connection mode for the RDS database

RDSConnectionMode

  • Standard

  • Safe

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

Type of the RDS instance endpoint

RDSConnectionStringType

  • Inner

  • Public

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

Archive backup retention policy after an RDS database is released

RDSReleasedKeepPolicy

  • Lastest

  • All

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

Secure Sockets Layer (SSL) connection setting for an RDS instance

RDSSSLSetting

  • Disabled

  • EnabledForPublicConnection

  • EnabledForInnerConnection

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

Redis account permissions

RedisAccountPrivilege

  • RoleReadOnly

  • RoleReadWrite

  • RoleRepl

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

Redis data eviction policy

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 status

RedisSSLEnabled

  • Disable

  • Enable

  • Update

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

Router type to which the RouterInterface belongs

RouterType

  • VRouter

  • VBR

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

Scaling group mode

ScalingPolicy

  • release

  • recycle

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

SLB clone policy

SlbBackendServersPolicy

  • clone

  • empty

  • append

  • replace

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

SLB backend server type

SlbBackendServersType

  • ecs

  • eni

  • eci

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