volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine
volcenginecc.ecs.getImage
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine
Data Source schema for Volcengine::ECS::Image
Using getImage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getImage(args: GetImageArgs, opts?: InvokeOptions): Promise<GetImageResult>
function getImageOutput(args: GetImageOutputArgs, opts?: InvokeOptions): Output<GetImageResult>
def get_image(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetImageResult
def get_image_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetImageResult]
func LookupImage(ctx *Context, args *LookupImageArgs, opts ...InvokeOption) (*LookupImageResult, error)
func LookupImageOutput(ctx *Context, args *LookupImageOutputArgs, opts ...InvokeOption) LookupImageResultOutput
> Note: This function is named LookupImage
in the Go SDK.
public static class GetImage
{
public static Task<GetImageResult> InvokeAsync(GetImageArgs args, InvokeOptions? opts = null)
public static Output<GetImageResult> Invoke(GetImageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
public static Output<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:ecs/getImage:getImage
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getImage Result
The following output properties are available:
- Architecture string
- 镜像的架构类型。可以选择amd64(x86计算)、arm64(ARM计算)类型。
- Boot
Mode string - 镜像的启动模式。可以选择BIOS、UEFI类型。
- Created
At string - 镜像创建时间
- Description string
- 镜像描述。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、英文句号“.”、中文逗号“,”、中文句号“。”和空格。长度限制为0~255个字符。不填默认为空。
- Detection
Results Volcengine.Get Image Detection Results - 镜像的检测结果。
- Id string
- Uniquely identifies the resource.
- Image
Id string - 镜像ID。
- Image
Name string - 镜像名称。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、英文句号“.”。长度限制为1 ~ 128个字符。
- Image
Owner stringId - 镜像所属的账号ID。
- Instance
Id string - 实例ID。本参数与SnapshotId、SnapshotGroupId参数,三选一必填。
- Is
Install boolRun Command Agent - 镜像中是否安装了云助手Agent。
- Is
Lts bool - 公共镜像是否长期维护。
- Is
Support boolCloud Init - 镜像是否支持Cloud-init。
- Kernel string
- 镜像的内核版本。
- License
Type string - 镜像许可证类型。VolcanoEngine:默认,根据您设置的platform,采用火山引擎官方渠道的许可证。BYOL:自带许可证(BYOL)。
- Os
Name string - 镜像操作系统的名称。
- Os
Type string - 操作系统类型。
- Platform string
- 镜像操作系统的发行版本。可以选择CentOS、Debian、veLinux、Windows Server、Fedora、OpenSUSE、Ubuntu。
- Platform
Version string - 镜像的发行版本。
- Project
Name string - 资源所属项目。调用接口账号若仅拥有部分项目权限时必须传入有权限的项目信息。
- List<string>
- 镜像共享的账户
- string
- 镜像共享状态。HasShared:自定义镜像已被共享给其他用户。当自定义镜像未被共享或使用公共镜像时,ShareStatus返回为空。
- Size int
- 镜像大小,单位为GiB。
- Snapshot
Group stringId - 快照一致性组ID,表示使用快照一致性组创建自定义镜像。本参数与SnapshotId、InstanceId参数,三选一必填。
- Snapshot
Id string - 系统盘快照ID,表示使用系统盘快照创建自定义镜像。本参数与InstanceId、SnapshotGroupId参数,三选一必填。
- Snapshots
List<Volcengine.
Get Image Snapshot> - 镜像关联快照的信息。
- Status string
- 镜像的状态。
- List<Volcengine.
Get Image Tag> - 镜像绑定的标签列表。
- Updated
At string - 镜像更新时间
- Virtual
Size double - 镜像大小,单位为Byte。
- Visibility string
- 镜像的可见性。public:公共镜像。private:私有镜像。shared:共享镜像。
- Architecture string
- 镜像的架构类型。可以选择amd64(x86计算)、arm64(ARM计算)类型。
- Boot
Mode string - 镜像的启动模式。可以选择BIOS、UEFI类型。
- Created
At string - 镜像创建时间
- Description string
- 镜像描述。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、英文句号“.”、中文逗号“,”、中文句号“。”和空格。长度限制为0~255个字符。不填默认为空。
- Detection
Results GetImage Detection Results - 镜像的检测结果。
- Id string
- Uniquely identifies the resource.
- Image
Id string - 镜像ID。
- Image
Name string - 镜像名称。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、英文句号“.”。长度限制为1 ~ 128个字符。
- Image
Owner stringId - 镜像所属的账号ID。
- Instance
Id string - 实例ID。本参数与SnapshotId、SnapshotGroupId参数,三选一必填。
- Is
Install boolRun Command Agent - 镜像中是否安装了云助手Agent。
- Is
Lts bool - 公共镜像是否长期维护。
- Is
Support boolCloud Init - 镜像是否支持Cloud-init。
- Kernel string
- 镜像的内核版本。
- License
Type string - 镜像许可证类型。VolcanoEngine:默认,根据您设置的platform,采用火山引擎官方渠道的许可证。BYOL:自带许可证(BYOL)。
- Os
Name string - 镜像操作系统的名称。
- Os
Type string - 操作系统类型。
- Platform string
- 镜像操作系统的发行版本。可以选择CentOS、Debian、veLinux、Windows Server、Fedora、OpenSUSE、Ubuntu。
- Platform
Version string - 镜像的发行版本。
- Project
Name string - 资源所属项目。调用接口账号若仅拥有部分项目权限时必须传入有权限的项目信息。
- []string
- 镜像共享的账户
- string
- 镜像共享状态。HasShared:自定义镜像已被共享给其他用户。当自定义镜像未被共享或使用公共镜像时,ShareStatus返回为空。
- Size int
- 镜像大小,单位为GiB。
- Snapshot
Group stringId - 快照一致性组ID,表示使用快照一致性组创建自定义镜像。本参数与SnapshotId、InstanceId参数,三选一必填。
- Snapshot
Id string - 系统盘快照ID,表示使用系统盘快照创建自定义镜像。本参数与InstanceId、SnapshotGroupId参数,三选一必填。
- Snapshots
[]Get
Image Snapshot - 镜像关联快照的信息。
- Status string
- 镜像的状态。
- []Get
Image Tag - 镜像绑定的标签列表。
- Updated
At string - 镜像更新时间
- Virtual
Size float64 - 镜像大小,单位为Byte。
- Visibility string
- 镜像的可见性。public:公共镜像。private:私有镜像。shared:共享镜像。
- architecture String
- 镜像的架构类型。可以选择amd64(x86计算)、arm64(ARM计算)类型。
- boot
Mode String - 镜像的启动模式。可以选择BIOS、UEFI类型。
- created
At String - 镜像创建时间
- description String
- 镜像描述。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、英文句号“.”、中文逗号“,”、中文句号“。”和空格。长度限制为0~255个字符。不填默认为空。
- detection
Results GetImage Detection Results - 镜像的检测结果。
- id String
- Uniquely identifies the resource.
- image
Id String - 镜像ID。
- image
Name String - 镜像名称。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、英文句号“.”。长度限制为1 ~ 128个字符。
- image
Owner StringId - 镜像所属的账号ID。
- instance
Id String - 实例ID。本参数与SnapshotId、SnapshotGroupId参数,三选一必填。
- is
Install BooleanRun Command Agent - 镜像中是否安装了云助手Agent。
- is
Lts Boolean - 公共镜像是否长期维护。
- is
Support BooleanCloud Init - 镜像是否支持Cloud-init。
- kernel String
- 镜像的内核版本。
- license
Type String - 镜像许可证类型。VolcanoEngine:默认,根据您设置的platform,采用火山引擎官方渠道的许可证。BYOL:自带许可证(BYOL)。
- os
Name String - 镜像操作系统的名称。
- os
Type String - 操作系统类型。
- platform String
- 镜像操作系统的发行版本。可以选择CentOS、Debian、veLinux、Windows Server、Fedora、OpenSUSE、Ubuntu。
- platform
Version String - 镜像的发行版本。
- project
Name String - 资源所属项目。调用接口账号若仅拥有部分项目权限时必须传入有权限的项目信息。
- List<String>
- 镜像共享的账户
- String
- 镜像共享状态。HasShared:自定义镜像已被共享给其他用户。当自定义镜像未被共享或使用公共镜像时,ShareStatus返回为空。
- size Integer
- 镜像大小,单位为GiB。
- snapshot
Group StringId - 快照一致性组ID,表示使用快照一致性组创建自定义镜像。本参数与SnapshotId、InstanceId参数,三选一必填。
- snapshot
Id String - 系统盘快照ID,表示使用系统盘快照创建自定义镜像。本参数与InstanceId、SnapshotGroupId参数,三选一必填。
- snapshots
List<Get
Image Snapshot> - 镜像关联快照的信息。
- status String
- 镜像的状态。
- List<Get
Image Tag> - 镜像绑定的标签列表。
- updated
At String - 镜像更新时间
- virtual
Size Double - 镜像大小,单位为Byte。
- visibility String
- 镜像的可见性。public:公共镜像。private:私有镜像。shared:共享镜像。
- architecture string
- 镜像的架构类型。可以选择amd64(x86计算)、arm64(ARM计算)类型。
- boot
Mode string - 镜像的启动模式。可以选择BIOS、UEFI类型。
- created
At string - 镜像创建时间
- description string
- 镜像描述。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、英文句号“.”、中文逗号“,”、中文句号“。”和空格。长度限制为0~255个字符。不填默认为空。
- detection
Results GetImage Detection Results - 镜像的检测结果。
- id string
- Uniquely identifies the resource.
- image
Id string - 镜像ID。
- image
Name string - 镜像名称。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、英文句号“.”。长度限制为1 ~ 128个字符。
- image
Owner stringId - 镜像所属的账号ID。
- instance
Id string - 实例ID。本参数与SnapshotId、SnapshotGroupId参数,三选一必填。
- is
Install booleanRun Command Agent - 镜像中是否安装了云助手Agent。
- is
Lts boolean - 公共镜像是否长期维护。
- is
Support booleanCloud Init - 镜像是否支持Cloud-init。
- kernel string
- 镜像的内核版本。
- license
Type string - 镜像许可证类型。VolcanoEngine:默认,根据您设置的platform,采用火山引擎官方渠道的许可证。BYOL:自带许可证(BYOL)。
- os
Name string - 镜像操作系统的名称。
- os
Type string - 操作系统类型。
- platform string
- 镜像操作系统的发行版本。可以选择CentOS、Debian、veLinux、Windows Server、Fedora、OpenSUSE、Ubuntu。
- platform
Version string - 镜像的发行版本。
- project
Name string - 资源所属项目。调用接口账号若仅拥有部分项目权限时必须传入有权限的项目信息。
- string[]
- 镜像共享的账户
- string
- 镜像共享状态。HasShared:自定义镜像已被共享给其他用户。当自定义镜像未被共享或使用公共镜像时,ShareStatus返回为空。
- size number
- 镜像大小,单位为GiB。
- snapshot
Group stringId - 快照一致性组ID,表示使用快照一致性组创建自定义镜像。本参数与SnapshotId、InstanceId参数,三选一必填。
- snapshot
Id string - 系统盘快照ID,表示使用系统盘快照创建自定义镜像。本参数与InstanceId、SnapshotGroupId参数,三选一必填。
- snapshots
Get
Image Snapshot[] - 镜像关联快照的信息。
- status string
- 镜像的状态。
- Get
Image Tag[] - 镜像绑定的标签列表。
- updated
At string - 镜像更新时间
- virtual
Size number - 镜像大小,单位为Byte。
- visibility string
- 镜像的可见性。public:公共镜像。private:私有镜像。shared:共享镜像。
- architecture str
- 镜像的架构类型。可以选择amd64(x86计算)、arm64(ARM计算)类型。
- boot_
mode str - 镜像的启动模式。可以选择BIOS、UEFI类型。
- created_
at str - 镜像创建时间
- description str
- 镜像描述。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、英文句号“.”、中文逗号“,”、中文句号“。”和空格。长度限制为0~255个字符。不填默认为空。
- detection_
results GetImage Detection Results - 镜像的检测结果。
- id str
- Uniquely identifies the resource.
- image_
id str - 镜像ID。
- image_
name str - 镜像名称。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、英文句号“.”。长度限制为1 ~ 128个字符。
- image_
owner_ strid - 镜像所属的账号ID。
- instance_
id str - 实例ID。本参数与SnapshotId、SnapshotGroupId参数,三选一必填。
- is_
install_ boolrun_ command_ agent - 镜像中是否安装了云助手Agent。
- is_
lts bool - 公共镜像是否长期维护。
- is_
support_ boolcloud_ init - 镜像是否支持Cloud-init。
- kernel str
- 镜像的内核版本。
- license_
type str - 镜像许可证类型。VolcanoEngine:默认,根据您设置的platform,采用火山引擎官方渠道的许可证。BYOL:自带许可证(BYOL)。
- os_
name str - 镜像操作系统的名称。
- os_
type str - 操作系统类型。
- platform str
- 镜像操作系统的发行版本。可以选择CentOS、Debian、veLinux、Windows Server、Fedora、OpenSUSE、Ubuntu。
- platform_
version str - 镜像的发行版本。
- project_
name str - 资源所属项目。调用接口账号若仅拥有部分项目权限时必须传入有权限的项目信息。
- Sequence[str]
- 镜像共享的账户
- str
- 镜像共享状态。HasShared:自定义镜像已被共享给其他用户。当自定义镜像未被共享或使用公共镜像时,ShareStatus返回为空。
- size int
- 镜像大小,单位为GiB。
- snapshot_
group_ strid - 快照一致性组ID,表示使用快照一致性组创建自定义镜像。本参数与SnapshotId、InstanceId参数,三选一必填。
- snapshot_
id str - 系统盘快照ID,表示使用系统盘快照创建自定义镜像。本参数与InstanceId、SnapshotGroupId参数,三选一必填。
- snapshots
Sequence[Get
Image Snapshot] - 镜像关联快照的信息。
- status str
- 镜像的状态。
- Sequence[Get
Image Tag] - 镜像绑定的标签列表。
- updated_
at str - 镜像更新时间
- virtual_
size float - 镜像大小,单位为Byte。
- visibility str
- 镜像的可见性。public:公共镜像。private:私有镜像。shared:共享镜像。
- architecture String
- 镜像的架构类型。可以选择amd64(x86计算)、arm64(ARM计算)类型。
- boot
Mode String - 镜像的启动模式。可以选择BIOS、UEFI类型。
- created
At String - 镜像创建时间
- description String
- 镜像描述。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、英文句号“.”、中文逗号“,”、中文句号“。”和空格。长度限制为0~255个字符。不填默认为空。
- detection
Results Property Map - 镜像的检测结果。
- id String
- Uniquely identifies the resource.
- image
Id String - 镜像ID。
- image
Name String - 镜像名称。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、英文句号“.”。长度限制为1 ~ 128个字符。
- image
Owner StringId - 镜像所属的账号ID。
- instance
Id String - 实例ID。本参数与SnapshotId、SnapshotGroupId参数,三选一必填。
- is
Install BooleanRun Command Agent - 镜像中是否安装了云助手Agent。
- is
Lts Boolean - 公共镜像是否长期维护。
- is
Support BooleanCloud Init - 镜像是否支持Cloud-init。
- kernel String
- 镜像的内核版本。
- license
Type String - 镜像许可证类型。VolcanoEngine:默认,根据您设置的platform,采用火山引擎官方渠道的许可证。BYOL:自带许可证(BYOL)。
- os
Name String - 镜像操作系统的名称。
- os
Type String - 操作系统类型。
- platform String
- 镜像操作系统的发行版本。可以选择CentOS、Debian、veLinux、Windows Server、Fedora、OpenSUSE、Ubuntu。
- platform
Version String - 镜像的发行版本。
- project
Name String - 资源所属项目。调用接口账号若仅拥有部分项目权限时必须传入有权限的项目信息。
- List<String>
- 镜像共享的账户
- String
- 镜像共享状态。HasShared:自定义镜像已被共享给其他用户。当自定义镜像未被共享或使用公共镜像时,ShareStatus返回为空。
- size Number
- 镜像大小,单位为GiB。
- snapshot
Group StringId - 快照一致性组ID,表示使用快照一致性组创建自定义镜像。本参数与SnapshotId、InstanceId参数,三选一必填。
- snapshot
Id String - 系统盘快照ID,表示使用系统盘快照创建自定义镜像。本参数与InstanceId、SnapshotGroupId参数,三选一必填。
- snapshots List<Property Map>
- 镜像关联快照的信息。
- status String
- 镜像的状态。
- List<Property Map>
- 镜像绑定的标签列表。
- updated
At String - 镜像更新时间
- virtual
Size Number - 镜像大小,单位为Byte。
- visibility String
- 镜像的可见性。public:公共镜像。private:私有镜像。shared:共享镜像。
Supporting Types
GetImageDetectionResults
- Detection
Status string - 检测状态。可以选择Finished(已完成)、Processing(处理中)类型。
- Items
List<Volcengine.
Get Image Detection Results Item> - 镜像检测项详情。
- Detection
Status string - 检测状态。可以选择Finished(已完成)、Processing(处理中)类型。
- Items
[]Get
Image Detection Results Item - 镜像检测项详情。
- detection
Status String - 检测状态。可以选择Finished(已完成)、Processing(处理中)类型。
- items
List<Get
Image Detection Results Item> - 镜像检测项详情。
- detection
Status string - 检测状态。可以选择Finished(已完成)、Processing(处理中)类型。
- items
Get
Image Detection Results Item[] - 镜像检测项详情。
- detection_
status str - 检测状态。可以选择Finished(已完成)、Processing(处理中)类型。
- items
Sequence[Get
Image Detection Results Item] - 镜像检测项详情。
- detection
Status String - 检测状态。可以选择Finished(已完成)、Processing(处理中)类型。
- items List<Property Map>
- 镜像检测项详情。
GetImageDetectionResultsItem
- name str
- 检测项名称。
- result str
- 该检测项对应结果。
- risk_
code str - 风险描述码。
- risk_
level str - 风险等级。若该参数返回值为空,表示无风险。
GetImageSnapshot
- Size int
- 快照大小。单位为GiB。
- Snapshot
Id string - 快照ID。
- Volume
Kind string - 云盘种类。system:系统盘。data:数据盘。
- Size int
- 快照大小。单位为GiB。
- Snapshot
Id string - 快照ID。
- Volume
Kind string - 云盘种类。system:系统盘。data:数据盘。
- size Integer
- 快照大小。单位为GiB。
- snapshot
Id String - 快照ID。
- volume
Kind String - 云盘种类。system:系统盘。data:数据盘。
- size number
- 快照大小。单位为GiB。
- snapshot
Id string - 快照ID。
- volume
Kind string - 云盘种类。system:系统盘。data:数据盘。
- size int
- 快照大小。单位为GiB。
- snapshot_
id str - 快照ID。
- volume_
kind str - 云盘种类。system:系统盘。data:数据盘。
- size Number
- 快照大小。单位为GiB。
- snapshot
Id String - 快照ID。
- volume
Kind String - 云盘种类。system:系统盘。data:数据盘。
GetImageTag
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcenginecc
Terraform Provider.
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine