ImageSharePermissionProps
Properties for defining a ImageSharePermission.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagesharepermission
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.ImageSharePermissionProps {
ImageId: interface{},
Accounts: interface{},
IsPublic: interface{},
KeepPermission: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
ImageId |
interface{} |
Property imageId: The shared custom image ID. |
Accounts |
interface{} |
Property accounts: Alibaba Cloud account IDs authorized to share the image. |
IsPublic |
interface{} |
Property isPublic: Whether to publish or remove community mirrors. |
KeepPermission |
interface{} |
Property keepPermission: Whether to keep the original sharing permissions when resource is deleted, default is true.If set to false, Accounts will be removed if Accounts is set and IsPublic will be changed if IsPublic is set. |
ImageIdRequired
ImageId interface{}
- Type: interface{}
Property imageId: The shared custom image ID.
AccountsOptional
Accounts interface{}
- Type: interface{}
Property accounts: Alibaba Cloud account IDs authorized to share the image.
IsPublicOptional
IsPublic interface{}
- Type: interface{}
Property isPublic: Whether to publish or remove community mirrors.
If this property is not set, no changes will be made to the community image
KeepPermissionOptional
KeepPermission interface{}
- Type: interface{}
Property keepPermission: Whether to keep the original sharing permissions when resource is deleted, default is true.If set to false, Accounts will be removed if Accounts is set and IsPublic will be changed if IsPublic is set.