EciScalingConfigurationProps
Properties for defining a EciScalingConfiguration.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-eciscalingconfiguration
Initializer
import com.aliyun.ros.cdk.ess.EciScalingConfigurationProps;
EciScalingConfigurationProps.builder()
.containerGroupName(java.lang.String)
.containerGroupName(IResolvable)
.scalingConfigurationName(java.lang.String)
.scalingConfigurationName(IResolvable)
.scalingGroupId(java.lang.String)
.scalingGroupId(IResolvable)
.securityGroupId(java.lang.String)
.securityGroupId(IResolvable)
// .acrRegistryInfos(IResolvable)
// .acrRegistryInfos(java.util.List<IResolvable)
// .acrRegistryInfos(AcrRegistryInfosProperty>)
// .activeDeadlineSeconds(java.lang.Number)
// .activeDeadlineSeconds(IResolvable)
// .autoCreateEip(java.lang.Boolean)
// .autoCreateEip(IResolvable)
// .autoMatchImageCache(java.lang.Boolean)
// .autoMatchImageCache(IResolvable)
// .containers(IResolvable)
// .containers(java.util.List<IResolvable)
// .containers(ContainersProperty>)
// .costOptimization(java.lang.Boolean)
// .costOptimization(IResolvable)
// .cpu(java.lang.Number)
// .cpu(IResolvable)
// .cpuOptionsCore(java.lang.Number)
// .cpuOptionsCore(IResolvable)
// .cpuOptionsThreadsPerCore(java.lang.Number)
// .cpuOptionsThreadsPerCore(IResolvable)
// .dataCacheBucket(java.lang.String)
// .dataCacheBucket(IResolvable)
// .dataCacheBurstingEnabled(java.lang.Boolean)
// .dataCacheBurstingEnabled(IResolvable)
// .dataCachePl(java.lang.String)
// .dataCachePl(IResolvable)
// .dataCacheProvisionedIops(java.lang.Number)
// .dataCacheProvisionedIops(IResolvable)
// .dnsConfigNameServers(IResolvable)
// .dnsConfigNameServers(java.util.List<java.lang.String)
// .dnsConfigNameServers(IResolvable>)
// .dnsConfigOptions(IResolvable)
// .dnsConfigOptions(java.util.List<IResolvable)
// .dnsConfigOptions(DnsConfigOptionsProperty>)
// .dnsConfigSearches(IResolvable)
// .dnsConfigSearches(java.util.List<java.lang.String)
// .dnsConfigSearches(IResolvable>)
// .dnsPolicy(java.lang.String)
// .dnsPolicy(IResolvable)
// .egressBandwidth(java.lang.Number)
// .egressBandwidth(IResolvable)
// .eipBandwidth(java.lang.Number)
// .eipBandwidth(IResolvable)
// .ephemeralStorage(java.lang.Number)
// .ephemeralStorage(IResolvable)
// .hostAliases(IResolvable)
// .hostAliases(java.util.List<IResolvable)
// .hostAliases(HostAliasesProperty>)
// .hostName(java.lang.String)
// .hostName(IResolvable)
// .imageRegistryCredentials(IResolvable)
// .imageRegistryCredentials(java.util.List<IResolvable)
// .imageRegistryCredentials(ImageRegistryCredentialsProperty>)
// .imageSnapshotId(java.lang.String)
// .imageSnapshotId(IResolvable)
// .ingressBandwidth(java.lang.Number)
// .ingressBandwidth(IResolvable)
// .initContainers(IResolvable)
// .initContainers(java.util.List<IResolvable)
// .initContainers(InitContainersProperty>)
// .instanceFamilyLevel(java.lang.String)
// .instanceFamilyLevel(IResolvable)
// .instanceTypes(IResolvable)
// .instanceTypes(java.util.List<java.lang.String)
// .instanceTypes(IResolvable>)
// .ipv6AddressCount(java.lang.Number)
// .ipv6AddressCount(IResolvable)
// .loadBalancerWeight(java.lang.Number)
// .loadBalancerWeight(IResolvable)
// .memory(java.lang.Number)
// .memory(IResolvable)
// .ntpServers(IResolvable)
// .ntpServers(java.util.List<java.lang.String)
// .ntpServers(IResolvable>)
// .ramRoleName(java.lang.String)
// .ramRoleName(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .restartPolicy(java.lang.String)
// .restartPolicy(IResolvable)
// .securityContextSysctls(IResolvable)
// .securityContextSysctls(java.util.List<IResolvable)
// .securityContextSysctls(SecurityContextSysctlsProperty>)
// .spotPriceLimit(java.lang.Number)
// .spotPriceLimit(IResolvable)
// .spotStrategy(java.lang.String)
// .spotStrategy(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .terminationGracePeriodSeconds(java.lang.Number)
// .terminationGracePeriodSeconds(IResolvable)
// .volumes(IResolvable)
// .volumes(java.util.List<IResolvable)
// .volumes(VolumesProperty>)
.build();
Properties
| Name | Type | Description |
|---|---|---|
containerGroupName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property containerGroupName: The name of the elastic container instance. |
scalingConfigurationName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property scalingConfigurationName: The name of the scaling configuration. |
scalingGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property scalingGroupId: The ID of the scaling group for which you want to create the scaling configuration. |
securityGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property securityGroupId: The ID of the security group with which you want to associate the elastic container instance. |
acrRegistryInfos |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property acrRegistryInfos:. |
activeDeadlineSeconds |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property activeDeadlineSeconds: The validity period of the scaling configuration. |
autoCreateEip |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoCreateEip: Specifies whether to automatically create an elastic IP address (EIP) and bind the EIP to the elastic container instance. |
autoMatchImageCache |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoMatchImageCache: Specifies whether to automatically match the image cache. |
containers |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property containers:. |
costOptimization |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property costOptimization: Specifies whether to enable the Cost Optimization feature. |
cpu |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property cpu: The number of vCPUs that you want to allocate to the elastic container instance. |
cpuOptionsCore |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property cpuOptionsCore: The number of physical CPU cores. |
cpuOptionsThreadsPerCore |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property cpuOptionsThreadsPerCore: The number of threads per core. |
dataCacheBucket |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dataCacheBucket: The bucket that stores data caches. |
dataCacheBurstingEnabled |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property dataCacheBurstingEnabled: Specifies whether to enable the Performance Burst feature for the ESSD AutoPL disk used for data caching. |
dataCachePl |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dataCachePl: The performance level (PL) of the disk used for data caching. |
dataCacheProvisionedIops |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property dataCacheProvisionedIops: The IOPS provisioned for the ESSD AutoPL disk used for data caching. |
dnsConfigNameServers |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property dnsConfigNameServers: The IP addresses of the DNS servers. |
dnsConfigOptions |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property dnsConfigOptions:. |
dnsConfigSearches |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property dnsConfigSearches: The search domains of the DNS server. |
dnsPolicy |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dnsPolicy: The Domain Name System (DNS) policy. |
egressBandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property egressBandwidth: The maximum outbound bandwidth. |
eipBandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property eipBandwidth: The bandwidth of the EIP. |
ephemeralStorage |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ephemeralStorage: The size of the temporary storage space. |
hostAliases |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property hostAliases:. |
hostName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property hostName: The hostname of the elastic container instance. |
imageRegistryCredentials |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property imageRegistryCredentials:. |
imageSnapshotId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property imageSnapshotId: The ID of the image cache snapshot. |
ingressBandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ingressBandwidth: The maximum inbound bandwidth. |
initContainers |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property initContainers:. |
instanceFamilyLevel |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceFamilyLevel: The level of the instance family. |
instanceTypes |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property instanceTypes: The specified ECS instance types. |
ipv6AddressCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ipv6AddressCount: The number of IPv6 addresses. |
loadBalancerWeight |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property loadBalancerWeight: The weight of the elastic container instance as a backend server. |
memory |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property memory: The memory size that you want to allocate to the elastic container instance. |
ntpServers |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property ntpServers: The Network Time Protocol (NTP) server. |
ramRoleName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ramRoleName: The name of the Resource Access Management (RAM) role that you want to assign to the elastic container instance. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
restartPolicy |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property restartPolicy: The restart policy of the elastic container instance. |
securityContextSysctls |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property securityContextSysctls:. |
spotPriceLimit |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property spotPriceLimit: The maximum hourly price of the preemptible elastic container instance. |
spotStrategy |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property spotStrategy: The bidding policy of the instance. |
tags |
java.util.List<TagsProperty> |
Property tags:. |
terminationGracePeriodSeconds |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property terminationGracePeriodSeconds: The buffer period during which a program handles operations before the program is stopped. |
volumes |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property volumes:. |
containerGroupNameRequired
public java.lang.Object getContainerGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property containerGroupName: The name of the elastic container instance.
scalingConfigurationNameRequired
public java.lang.Object getScalingConfigurationName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getScalingGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scalingGroupId: The ID of the scaling group for which you want to create the scaling configuration.
securityGroupIdRequired
public java.lang.Object getSecurityGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getAcrRegistryInfos();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
AcrRegistryInfosProperty>
Property acrRegistryInfos:.
activeDeadlineSecondsOptional
public java.lang.Object getActiveDeadlineSeconds();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property activeDeadlineSeconds: The validity period of the scaling configuration.
Unit: seconds.
autoCreateEipOptional
public java.lang.Object getAutoCreateEip();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoCreateEip: Specifies whether to automatically create an elastic IP address (EIP) and bind the EIP to the elastic container instance.
autoMatchImageCacheOptional
public java.lang.Object getAutoMatchImageCache();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoMatchImageCache: Specifies whether to automatically match the image cache.
Valid values: true false Default value: false.
containersOptional
public java.lang.Object getContainers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ContainersProperty>
Property containers:.
costOptimizationOptional
public java.lang.Object getCostOptimization();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property costOptimization: Specifies whether to enable the Cost Optimization feature.
Valid values: true false Default value: false.
cpuOptional
public java.lang.Object getCpu();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cpu: The number of vCPUs that you want to allocate to the elastic container instance.
cpuOptionsCoreOptional
public java.lang.Object getCpuOptionsCore();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getCpuOptionsThreadsPerCore();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getDataCacheBucket();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dataCacheBucket: The bucket that stores data caches.
dataCacheBurstingEnabledOptional
public java.lang.Object getDataCacheBurstingEnabled();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getDataCachePl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getDataCacheProvisionedIops();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getDnsConfigNameServers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property dnsConfigNameServers: The IP addresses of the DNS servers.
dnsConfigOptionsOptional
public java.lang.Object getDnsConfigOptions();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
DnsConfigOptionsProperty>
Property dnsConfigOptions:.
dnsConfigSearchesOptional
public java.lang.Object getDnsConfigSearches();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property dnsConfigSearches: The search domains of the DNS server.
dnsPolicyOptional
public java.lang.Object getDnsPolicy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getEgressBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property egressBandwidth: The maximum outbound bandwidth.
Unit: bytes.
eipBandwidthOptional
public java.lang.Object getEipBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property eipBandwidth: The bandwidth of the EIP.
Default value: 5. Unit: Mbit/s.
ephemeralStorageOptional
public java.lang.Object getEphemeralStorage();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getHostAliases();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
HostAliasesProperty>
Property hostAliases:.
hostNameOptional
public java.lang.Object getHostName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property hostName: The hostname of the elastic container instance.
imageRegistryCredentialsOptional
public java.lang.Object getImageRegistryCredentials();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ImageRegistryCredentialsProperty>
Property imageRegistryCredentials:.
imageSnapshotIdOptional
public java.lang.Object getImageSnapshotId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property imageSnapshotId: The ID of the image cache snapshot.
ingressBandwidthOptional
public java.lang.Object getIngressBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ingressBandwidth: The maximum inbound bandwidth.
Unit: bytes.
initContainersOptional
public java.lang.Object getInitContainers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
InitContainersProperty>
Property initContainers:.
instanceFamilyLevelOptional
public java.lang.Object getInstanceFamilyLevel();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getInstanceTypes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
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 java.lang.Object getIpv6AddressCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ipv6AddressCount: The number of IPv6 addresses.
loadBalancerWeightOptional
public java.lang.Object getLoadBalancerWeight();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property loadBalancerWeight: The weight of the elastic container instance as a backend server.
Valid values: 1 to 100. Default value: 50.
memoryOptional
public java.lang.Object getMemory();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property memory: The memory size that you want to allocate to the elastic container instance.
Unit: GiB.
ntpServersOptional
public java.lang.Object getNtpServers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property ntpServers: The Network Time Protocol (NTP) server.
ramRoleNameOptional
public java.lang.Object getRamRoleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group.
restartPolicyOptional
public java.lang.Object getRestartPolicy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getSecurityContextSysctls();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
SecurityContextSysctlsProperty>
Property securityContextSysctls:.
spotPriceLimitOptional
public java.lang.Object getSpotPriceLimit();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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 java.lang.Object getSpotStrategy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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 java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags:.
terminationGracePeriodSecondsOptional
public java.lang.Object getTerminationGracePeriodSeconds();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property terminationGracePeriodSeconds: The buffer period during which a program handles operations before the program is stopped.
Unit: seconds.
volumesOptional
public java.lang.Object getVolumes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
VolumesProperty>
Property volumes:.