public static final class CreateEciScalingConfigurationRequest.Builder extends Object
public CreateEciScalingConfigurationRequest.Builder acrRegistryInfos(List<CreateEciScalingConfigurationRequest.AcrRegistryInfos> acrRegistryInfos)
public CreateEciScalingConfigurationRequest.Builder activeDeadlineSeconds(Long activeDeadlineSeconds)
public CreateEciScalingConfigurationRequest.Builder autoCreateEip(Boolean autoCreateEip)
public CreateEciScalingConfigurationRequest.Builder autoMatchImageCache(Boolean autoMatchImageCache)
* true * false Default value: false.
public CreateEciScalingConfigurationRequest.Builder containerGroupName(String containerGroupName)
public CreateEciScalingConfigurationRequest.Builder containers(List<CreateEciScalingConfigurationRequest.Containers> containers)
public CreateEciScalingConfigurationRequest.Builder costOptimization(Boolean costOptimization)
* true * false
public CreateEciScalingConfigurationRequest.Builder cpu(Float cpu)
public CreateEciScalingConfigurationRequest.Builder cpuOptionsCore(Integer cpuOptionsCore)
public CreateEciScalingConfigurationRequest.Builder cpuOptionsThreadsPerCore(Integer cpuOptionsThreadsPerCore)
public CreateEciScalingConfigurationRequest.Builder dataCacheBucket(String dataCacheBucket)
public CreateEciScalingConfigurationRequest.Builder dataCacheBurstingEnabled(Boolean dataCacheBurstingEnabled)
* true * false Default value: false. > For more information about ESSD AutoPL disks, see [ESSD AutoPL disks](~~368372~~).
public CreateEciScalingConfigurationRequest.Builder dataCachePL(String dataCachePL)
* PL0: An ESSD can deliver up to 10,000 random read/write IOPS. * PL1: An ESSD can deliver up to 50,000 random read/write IOPS. * PL2: An ESSD can deliver up to 100,000 random read/write IOPS. * PL3: An ESSD can deliver up to 1,000,000 random read/write IOPS. Default value: PL1. > For more information about ESSDs, see [ESSDs](~~122389~~).
public CreateEciScalingConfigurationRequest.Builder dataCacheProvisionedIops(Integer dataCacheProvisionedIops)
> For more information about ESSD AutoPL disks, see [ESSD AutoPL disks](~~368372~~).
public CreateEciScalingConfigurationRequest.Builder description(String description)
public CreateEciScalingConfigurationRequest.Builder dnsConfigNameServers(List<String> dnsConfigNameServers)
public CreateEciScalingConfigurationRequest.Builder dnsConfigOptions(List<CreateEciScalingConfigurationRequest.DnsConfigOptions> dnsConfigOptions)
public CreateEciScalingConfigurationRequest.Builder dnsConfigSearchs(List<String> dnsConfigSearchs)
public CreateEciScalingConfigurationRequest.Builder dnsPolicy(String dnsPolicy)
* None: uses the DNS that is set for the DnsConfig field. * Default: use the DNS that is set for the runtime environment.
public CreateEciScalingConfigurationRequest.Builder egressBandwidth(Long egressBandwidth)
public CreateEciScalingConfigurationRequest.Builder eipBandwidth(Integer eipBandwidth)
public CreateEciScalingConfigurationRequest.Builder enableSls(Boolean enableSls)
public CreateEciScalingConfigurationRequest.Builder ephemeralStorage(Integer ephemeralStorage)
public CreateEciScalingConfigurationRequest.Builder hostAliases(List<CreateEciScalingConfigurationRequest.HostAliases> hostAliases)
public CreateEciScalingConfigurationRequest.Builder hostName(String hostName)
public CreateEciScalingConfigurationRequest.Builder imageRegistryCredentials(List<CreateEciScalingConfigurationRequest.ImageRegistryCredentials> imageRegistryCredentials)
public CreateEciScalingConfigurationRequest.Builder imageSnapshotId(String imageSnapshotId)
public CreateEciScalingConfigurationRequest.Builder ingressBandwidth(Long ingressBandwidth)
public CreateEciScalingConfigurationRequest.Builder initContainers(List<CreateEciScalingConfigurationRequest.InitContainers> initContainers)
public CreateEciScalingConfigurationRequest.Builder instanceFamilyLevel(String instanceFamilyLevel)
* EntryLevel: shared instance type. Instances of this level are the most cost-effective but may not provide stable computing performance in a consistent manner. Instances of this level are suitable for business scenarios in which the CPU utilization is low. For more information, see [Shared instance families](~~108489~~). * EnterpriseLevel: Instances of this level provide stable performance and dedicated resources, and are suitable for business scenarios that require high stability. For more information, see [Instance family](~~25378~~). * CreditEntryLevel: This value is valid only for burstable instances. CPU credits are used to ensure computing performance. Instances of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see the [Overview](~~59977~~) topic of burstable instances.
public CreateEciScalingConfigurationRequest.Builder instanceTypes(List<String> instanceTypes)
public CreateEciScalingConfigurationRequest.Builder ipv6AddressCount(Integer ipv6AddressCount)
public CreateEciScalingConfigurationRequest.Builder loadBalancerWeight(Integer loadBalancerWeight)
Default value: 50.
public CreateEciScalingConfigurationRequest.Builder memory(Float memory)
public CreateEciScalingConfigurationRequest.Builder ntpServers(List<String> ntpServers)
public CreateEciScalingConfigurationRequest.Builder ownerId(Long ownerId)
public CreateEciScalingConfigurationRequest.Builder ramRoleName(String ramRoleName)
public CreateEciScalingConfigurationRequest.Builder resourceGroupId(String resourceGroupId)
public CreateEciScalingConfigurationRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateEciScalingConfigurationRequest.Builder restartPolicy(String restartPolicy)
* 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.
public CreateEciScalingConfigurationRequest.Builder scalingConfigurationName(String scalingConfigurationName)
The name of the scaling configuration must be unique within a scaling group in a region. If you do not specify this parameter, the value of the ScalingConfigurationId parameter is used.
public CreateEciScalingConfigurationRequest.Builder scalingGroupId(String scalingGroupId)
public CreateEciScalingConfigurationRequest.Builder securityContextSysctls(List<CreateEciScalingConfigurationRequest.SecurityContextSysctls> securityContextSysctls)
public CreateEciScalingConfigurationRequest.Builder securityGroupId(String securityGroupId)
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 then adds the declared container protocols and port numbers to the inbound rules of the security group.
public CreateEciScalingConfigurationRequest.Builder spotPriceLimit(Float spotPriceLimit)
If you set the SpotStrategy parameter to SpotWithPriceLimit, you must also specify the SpotPriceLimit parameter.
public CreateEciScalingConfigurationRequest.Builder spotStrategy(String spotStrategy)
* NoSpot: The instances are created as pay-as-you-go instances. * SpotWithPriceLimit: The instances are preemptible instances for which you can specify the maximum hourly price. * SpotAsPriceGo: The instances are created as preemptible instances for which the market price at the time of purchase is used as the bid price. Default value: NoSpot.
public CreateEciScalingConfigurationRequest.Builder tags(List<CreateEciScalingConfigurationRequest.Tags> tags)
* A tag key can be up to 64 characters in length. The key cannot start with acs: or aliyun and cannot contain `http://` or `https://`. You cannot specify an empty string as a tag key. * A tag value can be up to 128 characters in length. The value cannot start with acs: or aliyun and cannot contain `http://` or `https://`. You can specify an empty string as a tag value.
public CreateEciScalingConfigurationRequest.Builder terminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
public CreateEciScalingConfigurationRequest.Builder volumes(List<CreateEciScalingConfigurationRequest.Volumes> volumes)
public CreateEciScalingConfigurationRequest build()
Copyright © 2024. All rights reserved.