Skip to content

Image

This class encapsulates and extends the ROS resource type ALIYUN::CloudPhone::Image, which is used to create a custom image for an Elastic Cloud Phone (ECP) instance.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Cloudphone;
new Image(Construct Scope, string Id, ImageProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props ImageProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct

IdRequired

  • Type: string

PropsRequired


EnableResourcePropertyConstraintOptional

  • Type: bool

Methods

Name Description
ToString Returns a string representation of this construct.
Synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
AddCondition No description.
AddCount No description.
AddDependency No description.
AddResourceDesc No description.
ApplyRemovalPolicy No description.
GetAtt No description.
SetMetadata No description.

ToString

private string ToString()

Returns a string representation of this construct.

Synthesize

private void Synthesize(ISynthesisSession Session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

SessionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Cloudphone;
Image.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node associated with this construct.
Ref string No description.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
Resource AlibabaCloud.SDK.ROS.CDK.Core.RosResource No description.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: The time when the image was created.
AttrDescription AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Description: The image description.
AttrImageCategory AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ImageCategory: The image type.
AttrImageId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ImageId: The image ID.
AttrImageName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ImageName: The image name.
AttrIsSelfShared AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute IsSelfShared: Indicates whether the image is shared with other Alibaba Cloud accounts.
AttrOsName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute OsName: The display name of the OS in Chinese.
AttrOsNameEn AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute OsNameEn: The display name of the OS in English.
AttrOsType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute OsType: The image OS.
AttrPlatform AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Platform: The OS distribution.
AttrProgress AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Progress: The progress of image creation.
AttrUsage AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Usage: Whether the image is already running in the cloud phone instance.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


RefRequired

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrCreateTimeRequired

public IResolvable AttrCreateTime { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CreateTime: The time when the image was created.

The time follows the ISO 8601 standard.


AttrDescriptionRequired

public IResolvable AttrDescription { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Description: The image description.


AttrImageCategoryRequired

public IResolvable AttrImageCategory { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ImageCategory: The image type.


AttrImageIdRequired

public IResolvable AttrImageId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ImageId: The image ID.


AttrImageNameRequired

public IResolvable AttrImageName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ImageName: The image name.


AttrIsSelfSharedRequired

public IResolvable AttrIsSelfShared { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute IsSelfShared: Indicates whether the image is shared with other Alibaba Cloud accounts.


AttrOsNameRequired

public IResolvable AttrOsName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute OsName: The display name of the OS in Chinese.


AttrOsNameEnRequired

public IResolvable AttrOsNameEn { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute OsNameEn: The display name of the OS in English.


AttrOsTypeRequired

public IResolvable AttrOsType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute OsType: The image OS.


AttrPlatformRequired

public IResolvable AttrPlatform { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Platform: The OS distribution.


AttrProgressRequired

public IResolvable AttrProgress { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Progress: The progress of image creation.


AttrUsageRequired

public IResolvable AttrUsage { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Usage: Whether the image is already running in the cloud phone instance.