Skip to content

EciScalingConfigurationProps

Properties for defining a EciScalingConfiguration.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-eciscalingconfiguration

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ess;
new EciScalingConfigurationProps {
    object ContainerGroupName,
    object ScalingConfigurationName,
    object ScalingGroupId,
    object SecurityGroupId,
    object AcrRegistryInfos = null,
    object ActiveDeadlineSeconds = null,
    object AutoCreateEip = null,
    object AutoMatchImageCache = null,
    object Containers = null,
    object CostOptimization = null,
    object Cpu = null,
    object CpuOptionsCore = null,
    object CpuOptionsThreadsPerCore = null,
    object DataCacheBucket = null,
    object DataCacheBurstingEnabled = null,
    object DataCachePl = null,
    object DataCacheProvisionedIops = null,
    object DnsConfigNameServers = null,
    object DnsConfigOptions = null,
    object DnsConfigSearches = null,
    object DnsPolicy = null,
    object EgressBandwidth = null,
    object EipBandwidth = null,
    object EphemeralStorage = null,
    object HostAliases = null,
    object HostName = null,
    object ImageRegistryCredentials = null,
    object ImageSnapshotId = null,
    object IngressBandwidth = null,
    object InitContainers = null,
    object InstanceFamilyLevel = null,
    object InstanceTypes = null,
    object Ipv6AddressCount = null,
    object LoadBalancerWeight = null,
    object Memory = null,
    object NtpServers = null,
    object RamRoleName = null,
    object ResourceGroupId = null,
    object RestartPolicy = null,
    object SecurityContextSysctls = null,
    object SpotPriceLimit = null,
    object SpotStrategy = null,
    TagsProperty[] Tags = null,
    object TerminationGracePeriodSeconds = null,
    object Volumes = null
};

Properties

Name Type Description
ContainerGroupName object Property containerGroupName: The name of the elastic container instance.
ScalingConfigurationName object Property scalingConfigurationName: The name of the scaling configuration.
ScalingGroupId object Property scalingGroupId: The ID of the scaling group for which you want to create the scaling configuration.
SecurityGroupId object Property securityGroupId: The ID of the security group with which you want to associate the elastic container instance.
AcrRegistryInfos object Property acrRegistryInfos:.
ActiveDeadlineSeconds object Property activeDeadlineSeconds: The validity period of the scaling configuration.
AutoCreateEip object Property autoCreateEip: Specifies whether to automatically create an elastic IP address (EIP) and bind the EIP to the elastic container instance.
AutoMatchImageCache object Property autoMatchImageCache: Specifies whether to automatically match the image cache.
Containers object Property containers:.
CostOptimization object Property costOptimization: Specifies whether to enable the Cost Optimization feature.
Cpu object Property cpu: The number of vCPUs that you want to allocate to the elastic container instance.
CpuOptionsCore object Property cpuOptionsCore: The number of physical CPU cores.
CpuOptionsThreadsPerCore object Property cpuOptionsThreadsPerCore: The number of threads per core.
DataCacheBucket object Property dataCacheBucket: The bucket that stores data caches.
DataCacheBurstingEnabled object Property dataCacheBurstingEnabled: Specifies whether to enable the Performance Burst feature for the ESSD AutoPL disk used for data caching.
DataCachePl object Property dataCachePl: The performance level (PL) of the disk used for data caching.
DataCacheProvisionedIops object Property dataCacheProvisionedIops: The IOPS provisioned for the ESSD AutoPL disk used for data caching.
DnsConfigNameServers object Property dnsConfigNameServers: The IP addresses of the DNS servers.
DnsConfigOptions object Property dnsConfigOptions:.
DnsConfigSearches object Property dnsConfigSearches: The search domains of the DNS server.
DnsPolicy object Property dnsPolicy: The Domain Name System (DNS) policy.
EgressBandwidth object Property egressBandwidth: The maximum outbound bandwidth.
EipBandwidth object Property eipBandwidth: The bandwidth of the EIP.
EphemeralStorage object Property ephemeralStorage: The size of the temporary storage space.
HostAliases object Property hostAliases:.
HostName object Property hostName: The hostname of the elastic container instance.
ImageRegistryCredentials object Property imageRegistryCredentials:.
ImageSnapshotId object Property imageSnapshotId: The ID of the image cache snapshot.
IngressBandwidth object Property ingressBandwidth: The maximum inbound bandwidth.
InitContainers object Property initContainers:.
InstanceFamilyLevel object Property instanceFamilyLevel: The level of the instance family.
InstanceTypes object Property instanceTypes: The specified ECS instance types.
Ipv6AddressCount object Property ipv6AddressCount: The number of IPv6 addresses.
LoadBalancerWeight object Property loadBalancerWeight: The weight of the elastic container instance as a backend server.
Memory object Property memory: The memory size that you want to allocate to the elastic container instance.
NtpServers object Property ntpServers: The Network Time Protocol (NTP) server.
RamRoleName object Property ramRoleName: The name of the Resource Access Management (RAM) role that you want to assign to the elastic container instance.
ResourceGroupId object Property resourceGroupId: The ID of the resource group.
RestartPolicy object Property restartPolicy: The restart policy of the elastic container instance.
SecurityContextSysctls object Property securityContextSysctls:.
SpotPriceLimit object Property spotPriceLimit: The maximum hourly price of the preemptible elastic container instance.
SpotStrategy object Property spotStrategy: The bidding policy of the instance.
Tags TagsProperty[] Property tags:.
TerminationGracePeriodSeconds object Property terminationGracePeriodSeconds: The buffer period during which a program handles operations before the program is stopped.
Volumes object Property volumes:.

ContainerGroupNameRequired

public object ContainerGroupName { get; set; }
  • Type: object

Property containerGroupName: The name of the elastic container instance.


ScalingConfigurationNameRequired

public object ScalingConfigurationName { get; set; }
  • Type: object

Property scalingConfigurationName: The name of the scaling configuration.

The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). The name must start with a letter or a digit. The name of the scaling configuration must be unique in a region. If you do not specify this parameter, the scaling configuration ID is used.


ScalingGroupIdRequired

public object ScalingGroupId { get; set; }
  • Type: object

Property scalingGroupId: The ID of the scaling group for which you want to create the scaling configuration.


SecurityGroupIdRequired

public object SecurityGroupId { get; set; }
  • Type: object

Property securityGroupId: The ID of the security group with which you want to associate the elastic container instance.

Elastic container instances that are associated with the same security group can access each other. If you do not specify a security group, the system uses the default security group in the region that you selected. Make sure that the inbound rules of the security group contain the protocols and the port numbers of the containers that you want to expose. If you do not have a default security group in the region, the system creates a default security group and adds the declared container protocols and port numbers to the inbound rules of the security group.


AcrRegistryInfosOptional

public object AcrRegistryInfos { get; set; }
  • Type: object

Property acrRegistryInfos:.


ActiveDeadlineSecondsOptional

public object ActiveDeadlineSeconds { get; set; }
  • Type: object

Property activeDeadlineSeconds: The validity period of the scaling configuration.

Unit: seconds.


AutoCreateEipOptional

public object AutoCreateEip { get; set; }
  • Type: object

Property autoCreateEip: Specifies whether to automatically create an elastic IP address (EIP) and bind the EIP to the elastic container instance.


AutoMatchImageCacheOptional

public object AutoMatchImageCache { get; set; }
  • Type: object

Property autoMatchImageCache: Specifies whether to automatically match the image cache.

Valid values: true false Default value: false.


ContainersOptional

public object Containers { get; set; }
  • Type: object

Property containers:.


CostOptimizationOptional

public object CostOptimization { get; set; }
  • Type: object

Property costOptimization: Specifies whether to enable the Cost Optimization feature.

Valid values: true false Default value: false.


CpuOptional

public object Cpu { get; set; }
  • Type: object

Property cpu: The number of vCPUs that you want to allocate to the elastic container instance.


CpuOptionsCoreOptional

public object CpuOptionsCore { get; set; }
  • Type: object

Property cpuOptionsCore: The number of physical CPU cores.

You can specify this parameter for only specific instance types. For more information, see Specify custom CPU options.


CpuOptionsThreadsPerCoreOptional

public object CpuOptionsThreadsPerCore { get; set; }
  • Type: object

Property cpuOptionsThreadsPerCore: The number of threads per core.

You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled. For more information, see Specify custom CPU options.


DataCacheBucketOptional

public object DataCacheBucket { get; set; }
  • Type: object

Property dataCacheBucket: The bucket that stores data caches.


DataCacheBurstingEnabledOptional

public object DataCacheBurstingEnabled { get; set; }
  • Type: object

Property dataCacheBurstingEnabled: Specifies whether to enable the Performance Burst feature for the ESSD AutoPL disk used for data caching.

Valid values: true false Default value: false. Note For more information about ESSD AutoPL disks, see ESSD AutoPL disks.


DataCachePlOptional

public object DataCachePl { get; set; }
  • Type: object

Property dataCachePl: The performance level (PL) of the disk used for data caching.

We recommend that you use ESSDs. Valid values if you use ESSDs: PL0: An ESSD can provide up to 10,000 random read/write IOPS. PL1: An ESSD can provide up to 50,000 random read/write IOPS. PL2: An ESSD can provide up to 100,000 random read/write IOPS. PL3: An ESSD can provide up to 1,000,000 random read/write IOPS. Default value: PL1. Note For more information about ESSDs, see ESSDs.


DataCacheProvisionedIopsOptional

public object DataCacheProvisionedIops { get; set; }
  • Type: object

Property dataCacheProvisionedIops: The IOPS provisioned for the ESSD AutoPL disk used for data caching.

Valid values: 0 to min{50000, 1000 × Capacity - Baseline IOPS}, where Baseline IOPS = min{1800 + 50 × Capacity - 50000}. Note For more information about ESSD AutoPL disks, see ESSD AutoPL disks.


DnsConfigNameServersOptional

public object DnsConfigNameServers { get; set; }
  • Type: object

Property dnsConfigNameServers: The IP addresses of the DNS servers.


DnsConfigOptionsOptional

public object DnsConfigOptions { get; set; }
  • Type: object

Property dnsConfigOptions:.


DnsConfigSearchesOptional

public object DnsConfigSearches { get; set; }
  • Type: object

Property dnsConfigSearches: The search domains of the DNS server.


DnsPolicyOptional

public object DnsPolicy { get; set; }
  • Type: object

Property dnsPolicy: The Domain Name System (DNS) policy.

Valid values: None: uses the DNS that is specified by DnsConfig. Default: uses the DNS that is specified for the runtime environment.


EgressBandwidthOptional

public object EgressBandwidth { get; set; }
  • Type: object

Property egressBandwidth: The maximum outbound bandwidth.

Unit: bytes.


EipBandwidthOptional

public object EipBandwidth { get; set; }
  • Type: object

Property eipBandwidth: The bandwidth of the EIP.

Default value: 5. Unit: Mbit/s.


EphemeralStorageOptional

public object EphemeralStorage { get; set; }
  • Type: object

Property ephemeralStorage: The size of the temporary storage space.

By default, an enhanced SSD (ESSD) of the PL1 level is used. Unit: GiB.


HostAliasesOptional

public object HostAliases { get; set; }
  • Type: object

Property hostAliases:.


HostNameOptional

public object HostName { get; set; }
  • Type: object

Property hostName: The hostname of the elastic container instance.


ImageRegistryCredentialsOptional

public object ImageRegistryCredentials { get; set; }
  • Type: object

Property imageRegistryCredentials:.


ImageSnapshotIdOptional

public object ImageSnapshotId { get; set; }
  • Type: object

Property imageSnapshotId: The ID of the image cache snapshot.


IngressBandwidthOptional

public object IngressBandwidth { get; set; }
  • Type: object

Property ingressBandwidth: The maximum inbound bandwidth.

Unit: bytes.


InitContainersOptional

public object InitContainers { get; set; }
  • Type: object

Property initContainers:.


InstanceFamilyLevelOptional

public object InstanceFamilyLevel { get; set; }
  • Type: object

Property instanceFamilyLevel: The level of the instance family.

You can use this parameter to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel: entry level (shared instance types) Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which CPU utilization is low. For more information, see Shared instance families. EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see Overview of instance families. CreditEntryLevel: credit entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for business scenarios in which CPU utilization is low but may fluctuate in specific scenarios. For more information, see Overview of burstable instances.


InstanceTypesOptional

public object InstanceTypes { get; set; }
  • Type: object

Property instanceTypes: The specified ECS instance types.

You can specify up to five ECS instance types. For more information, see Specify ECS instance types to create an elastic container instance.


Ipv6AddressCountOptional

public object Ipv6AddressCount { get; set; }
  • Type: object

Property ipv6AddressCount: The number of IPv6 addresses.


LoadBalancerWeightOptional

public object LoadBalancerWeight { get; set; }
  • Type: object

Property loadBalancerWeight: The weight of the elastic container instance as a backend server.

Valid values: 1 to 100. Default value: 50.


MemoryOptional

public object Memory { get; set; }
  • Type: object

Property memory: The memory size that you want to allocate to the elastic container instance.

Unit: GiB.


NtpServersOptional

public object NtpServers { get; set; }
  • Type: object

Property ntpServers: The Network Time Protocol (NTP) server.


RamRoleNameOptional

public object RamRoleName { get; set; }
  • Type: object

Property ramRoleName: The name of the Resource Access Management (RAM) role that you want to assign to the elastic container instance.

Elastic container instances and Elastic Compute Service (ECS) instances can share the same RAM role. For more information, see Use an instance RAM role by calling API operations.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: The ID of the resource group.


RestartPolicyOptional

public object RestartPolicy { get; set; }
  • Type: object

Property restartPolicy: The restart policy of the elastic container instance.

Valid values: Always: always restarts the elastic container instance. Never: never restarts the elastic container instance. OnFailure: restarts the elastic container instance upon failures. Default value: Always.


SecurityContextSysctlsOptional

public object SecurityContextSysctls { get; set; }
  • Type: object

Property securityContextSysctls:.


SpotPriceLimitOptional

public object SpotPriceLimit { get; set; }
  • Type: object

Property spotPriceLimit: The maximum hourly price of the preemptible elastic container instance.

The value can be accurate to three decimal places. If you set SpotStrategy to SpotWithPriceLimit, you must specify SpotPriceLimit.


SpotStrategyOptional

public object SpotStrategy { get; set; }
  • Type: object

Property spotStrategy: The bidding policy of the instance.

Valid values: NoSpot: The instance is created as a pay-as-you-go instance. SpotWithPriceLimit: The instance is created as a preemptible instance with a user-defined maximum hourly price. SpotAsPriceGo: The instance is created as a preemptible instance for which the market price at the time of purchase is used as the bid price. Default value: NoSpot.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags:.


TerminationGracePeriodSecondsOptional

public object TerminationGracePeriodSeconds { get; set; }
  • Type: object

Property terminationGracePeriodSeconds: The buffer period during which a program handles operations before the program is stopped.

Unit: seconds.


VolumesOptional

public object Volumes { get; set; }
  • Type: object

Property volumes:.