Skip to content

ImageComponentProps

Properties for defining a ImageComponent.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagecomponent

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new ImageComponentProps {
    object Content,
    object ComponentType = null,
    object Description = null,
    object Name = null,
    object ResourceGroupId = null,
    object SystemType = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
Content object Property content: The content of the image component.
ComponentType object Property componentType: The type of the image component.
Description object Property description: The description.
Name object Property name: The component name.
ResourceGroupId object Property resourceGroupId: The ID of the resource group.
SystemType object Property systemType: The operating system type supported by the image component.
Tags TagsProperty[] Property tags:.

ContentRequired

public object Content { get; set; }
  • Type: object

Property content: The content of the image component.

The content consists of up to 127 commands.


ComponentTypeOptional

public object ComponentType { get; set; }
  • Type: object

Property componentType: The type of the image component.

Only image build components are supported. Set the value to Build.Default value: Build.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The description.

The description must be 2 to 256 characters in length and cannot start with http:// or https://.


NameOptional

public object Name { get; set; }
  • Type: object

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.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: The ID of the resource group.


SystemTypeOptional

public object SystemType { get; set; }
  • Type: object

Property systemType: The operating system type supported by the image component.

Only Linux is supported. Set the value to Linux.Default value: Linux.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags:.