Skip to content

ImageComponentProps

Properties for defining a ImageComponent.

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

Initializer

import com.aliyun.ros.cdk.ecs.ImageComponentProps;
ImageComponentProps.builder()
    .content(java.lang.String)
    .content(IResolvable)
//  .componentType(java.lang.String)
//  .componentType(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .systemType(java.lang.String)
//  .systemType(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
content java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property content: The content of the image component.
componentType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property componentType: The type of the image component.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The component name.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
systemType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property systemType: The operating system type supported by the image component.
tags java.util.List<TagsProperty> Property tags:.

contentRequired

public java.lang.Object getContent();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property content: The content of the image component.

The content consists of up to 127 commands.


componentTypeOptional

public java.lang.Object getComponentType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property componentType: The type of the image component.

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


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description.

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


nameOptional

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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 java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.


systemTypeOptional

public java.lang.Object getSystemType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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 java.util.List<TagsProperty> getTags();

Property tags:.