ImageCacheProps
Properties for defining a ImageCache
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-eci-imagecache
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkeci"
&alicloudroscdkeci.ImageCacheProps {
Image: interface{},
ImageCacheName: interface{},
SecurityGroupId: interface{},
VSwitchId: interface{},
AcrRegistryInfo: interface{},
AutoMatchImageCache: interface{},
EipInstanceId: interface{},
ImageCacheSize: interface{},
ImageRegistryCredential: interface{},
ResourceGroupId: interface{},
RetentionDays: interface{},
ZoneId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Image |
interface{} |
Property image: The image list to be cached. |
ImageCacheName |
interface{} |
Property imageCacheName: Image cache name. |
SecurityGroupId |
interface{} |
Property securityGroupId: Security group ID. |
VSwitchId |
interface{} |
Property vSwitchId: VSwitch ID. |
AcrRegistryInfo |
interface{} |
Property acrRegistryInfo: Enterprise Edition access credential configuration information. |
AutoMatchImageCache |
interface{} |
Property autoMatchImageCache: Specifies whether to enable reuse of image cache layers. |
EipInstanceId |
interface{} |
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 |
interface{} |
Property imageCacheSize: The size of the image cache. |
ImageRegistryCredential |
interface{} |
Property imageRegistryCredential: Private image password. |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group id. |
RetentionDays |
interface{} |
Property retentionDays: The retention period of the image cache. |
ZoneId |
interface{} |
Property zoneId: The zone ID of the image cache. |
Image
Required
Image interface{}
- Type: interface{}
Property image: The image list to be cached.
ImageCacheName
Required
ImageCacheName interface{}
- Type: interface{}
Property imageCacheName: Image cache name.
SecurityGroupId
Required
SecurityGroupId interface{}
- Type: interface{}
Property securityGroupId: Security group ID.
VSwitchId
Required
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: VSwitch ID.
AcrRegistryInfo
Optional
AcrRegistryInfo interface{}
- Type: interface{}
Property acrRegistryInfo: Enterprise Edition access credential configuration information.
AutoMatchImageCache
Optional
AutoMatchImageCache interface{}
- Type: interface{}
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.
EipInstanceId
Optional
EipInstanceId interface{}
- Type: interface{}
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
Optional
ImageCacheSize interface{}
- Type: interface{}
Property imageCacheSize: The size of the image cache.
Unit: GiB. Default value: 20.
ImageRegistryCredential
Optional
ImageRegistryCredential interface{}
- Type: interface{}
Property imageRegistryCredential: Private image password.
Alibaba Cloud ACR image can be left blank.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
RetentionDays
Optional
RetentionDays interface{}
- Type: interface{}
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.
ZoneId
Optional
ZoneId interface{}
- Type: interface{}
Property zoneId: The zone ID of the image cache.