ImageSharePermissionProps
Properties for defining a ImageSharePermission
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagesharepermission
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new ImageSharePermissionProps {
object ImageId,
object Accounts = null,
object IsPublic = null,
object KeepPermission = null
};
Properties
Name | Type | Description |
---|---|---|
ImageId |
object |
Property imageId: The shared custom image ID. |
Accounts |
object |
Property accounts: Alibaba Cloud account IDs authorized to share the image. |
IsPublic |
object |
Property isPublic: Whether to publish or remove community mirrors. |
KeepPermission |
object |
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. |
ImageId
Required
public object ImageId { get; set; }
- Type: object
Property imageId: The shared custom image ID.
Accounts
Optional
public object Accounts { get; set; }
- Type: object
Property accounts: Alibaba Cloud account IDs authorized to share the image.
IsPublic
Optional
public object IsPublic { get; set; }
- Type: object
Property isPublic: Whether to publish or remove community mirrors.
If this property is not set, no changes will be made to the community image
KeepPermission
Optional
public object KeepPermission { get; set; }
- Type: object
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.