ImageComponentProps
Properties for defining a ImageComponent
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagecomponent
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.ImageComponentProps {
Content: interface{},
ComponentType: interface{},
Description: interface{},
Name: interface{},
ResourceGroupId: interface{},
SystemType: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.RosImageComponent.TagsProperty,
}
Properties
Name | Type | Description |
---|---|---|
Content |
interface{} |
Property content: The content of the image component. |
ComponentType |
interface{} |
Property componentType: The type of the image component. |
Description |
interface{} |
Property description: The description. |
Name |
interface{} |
Property name: The component name. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group. |
SystemType |
interface{} |
Property systemType: The operating system type supported by the image component. |
Tags |
*[]TagsProperty |
Property tags:. |
Content
Required
Content interface{}
- Type: interface{}
Property content: The content of the image component.
The content consists of up to 127 commands.
ComponentType
Optional
ComponentType interface{}
- Type: interface{}
Property componentType: The type of the image component.
Only image build components are supported. Set the value to Build.Default value: Build.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description.
The description must be 2 to 256 characters in length and cannot start with http:// or https://.
Name
Optional
Name interface{}
- Type: interface{}
Property name: The component name.
The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:// or https://.The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). Note If you do not configure Name, the return value of ImageComponentId is used.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
SystemType
Optional
SystemType interface{}
- Type: interface{}
Property systemType: The operating system type supported by the image component.
Only Linux is supported. Set the value to Linux.Default value: Linux.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags:.