ImageCacheProps
Properties for defining a ImageCache.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-eci-imagecache
Initializer
using AlibabaCloud.SDK.ROS.CDK.Eci;
new ImageCacheProps {
object Image,
object ImageCacheName,
object SecurityGroupId,
object VSwitchId,
object AcrRegistryInfo = null,
object AutoMatchImageCache = null,
object EipInstanceId = null,
object ImageCacheSize = null,
object ImageRegistryCredential = null,
object ResourceGroupId = null,
object RetentionDays = null,
object ZoneId = null
};
Properties
| Name | Type | Description |
|---|---|---|
Image |
object |
Property image: The image list to be cached. |
ImageCacheName |
object |
Property imageCacheName: Image cache name. |
SecurityGroupId |
object |
Property securityGroupId: Security group ID. |
VSwitchId |
object |
Property vSwitchId: VSwitch ID. |
AcrRegistryInfo |
object |
Property acrRegistryInfo: Enterprise Edition access credential configuration information. |
AutoMatchImageCache |
object |
Property autoMatchImageCache: Specifies whether to enable reuse of image cache layers. |
EipInstanceId |
object |
Property eipInstanceId: If you want to pull the public network image, you need to configure the public network ip or configure the switch NAT gateway. |
ImageCacheSize |
object |
Property imageCacheSize: The size of the image cache. |
ImageRegistryCredential |
object |
Property imageRegistryCredential: Private image password. |
ResourceGroupId |
object |
Property resourceGroupId: Resource group id. |
RetentionDays |
object |
Property retentionDays: The retention period of the image cache. |
ZoneId |
object |
Property zoneId: The zone ID of the image cache. |
ImageRequired
public object Image { get; set; }
- Type: object
Property image: The image list to be cached.
ImageCacheNameRequired
public object ImageCacheName { get; set; }
- Type: object
Property imageCacheName: Image cache name.
SecurityGroupIdRequired
public object SecurityGroupId { get; set; }
- Type: object
Property securityGroupId: Security group ID.
VSwitchIdRequired
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: VSwitch ID.
AcrRegistryInfoOptional
public object AcrRegistryInfo { get; set; }
- Type: object
Property acrRegistryInfo: Enterprise Edition access credential configuration information.
AutoMatchImageCacheOptional
public object AutoMatchImageCache { get; set; }
- Type: object
Property autoMatchImageCache: Specifies whether to enable reuse of image cache layers.
If you enable this feature, and the image cache that you want to createand an existing image cache contain duplicate image layers, the system reuses the duplicate image layers to create the new image cache. This accelerates the creation of the image cache. Valid values: true: enables reuse of image cache layers. false: disables reuse of image cache layers. Default value: false.
EipInstanceIdOptional
public object EipInstanceId { get; set; }
- Type: object
Property eipInstanceId: If you want to pull the public network image, you need to configure the public network ip or configure the switch NAT gateway.
ImageCacheSizeOptional
public object ImageCacheSize { get; set; }
- Type: object
Property imageCacheSize: The size of the image cache.
Unit: GiB. Default value: 20.
ImageRegistryCredentialOptional
public object ImageRegistryCredential { get; set; }
- Type: object
Property imageRegistryCredential: Private image password.
Alibaba Cloud ACR image can be left blank.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
RetentionDaysOptional
public object RetentionDays { get; set; }
- Type: object
Property retentionDays: The retention period of the image cache.
Unit: days. When the retention period ends, the image cache expires and is deleted. By default, image caches never expire. Note: The image caches that fail to be created are only retained for one day.
ZoneIdOptional
public object ZoneId { get; set; }
- Type: object
Property zoneId: The zone ID of the image cache.