public class DescribeImagesRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeImagesRequest.DescribeImagesRequestFilter |
static class |
DescribeImagesRequest.DescribeImagesRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
actionType
The scenario in which the image is used.
|
String |
architecture
The architecture of the image.
|
Boolean |
dryRun
Specifies whether to perform only a dry run without performing the actual request.
|
List<DescribeImagesRequest.DescribeImagesRequestFilter> |
filter
The list of filter conditions used to query resources.
|
String |
imageFamily
The name of the image family.
|
String |
imageId
The image IDs.
|
String |
imageName
The image name.
|
String |
imageOwnerAlias
The image source.
|
Long |
imageOwnerId
The ID of the Alibaba Cloud account to which the image belongs.
|
String |
instanceType
The instance type for which the image can be used.
|
Boolean |
isPublic
Specifies whether to query published community images.
|
Boolean |
isSupportCloudinit
Specifies whether the image supports cloud-init.
|
Boolean |
isSupportIoOptimized
Specifies whether the image can be used on I/O optimized instances.
|
String |
OSType
The operating system type of the image.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
pageNumber
The page number to return.
|
Integer |
pageSize
The number of entries per page.
|
String |
regionId
The region ID of the image.
|
String |
resourceGroupId
The ID of the resource group to which the custom image belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Boolean |
showExpired
Specifies whether the subscription image has expired.
|
String |
snapshotId
The ID of the snapshot used to create the custom image.
|
String |
status
The status of the image.
|
List<DescribeImagesRequest.DescribeImagesRequestTag> |
tag
The tags list.
|
String |
usage
Specifies whether the image is running on an Elastic Compute Service (ECS) instance.
|
构造器和说明 |
---|
DescribeImagesRequest() |
@NameInMap(value="ActionType") public String actionType
The scenario in which the image is used. Valid values:
CreateEcs
@NameInMap(value="Architecture") public String architecture
The architecture of the image. Valid values:
i386
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run without performing the actual request.
Default value: false.
example:false
@NameInMap(value="Filter") public List<DescribeImagesRequest.DescribeImagesRequestFilter> filter
The list of filter conditions used to query resources.
@NameInMap(value="ImageFamily") public String imageFamily
The name of the image family. You can set this parameter to query images of the specified image family.
This parameter is empty by default.
example:For information about image families that are associated with Alibaba Cloud official images, see Overview of public images.
hangzhou-daily-update
@NameInMap(value="ImageId") public String imageId
The image IDs.
example:m-bp1g7004ksh0oeuc****
@NameInMap(value="ImageName") public String imageName
The image name.
example:testImageName
@NameInMap(value="ImageOwnerAlias") public String imageOwnerAlias
The image source. Valid values:
system: images that are provided by Alibaba Cloud and are not released in Alibaba Cloud Marketplace, which are different from public images in the Elastic Compute Service (ECS) console.
self: your custom images
others: shared images (images shared by other Alibaba Cloud accounts) and community images (publicly available custom images that are published by other Alibaba Cloud accounts). Take note of the following items:
marketplace: images released by Alibaba Cloud or independent software vendors (ISVs) in the Alibaba Cloud Marketplace, which must be purchased together with ECS instances. Take note of the billing details of the images.
This parameter is empty by default.
example:By default, this parameter is empty, which indicates that the following images are queried: public images provided by Alibaba Cloud, custom images in your repository, shared images from other Alibaba Cloud accounts, and community images that are published by other Alibaba Cloud accounts.
self
@NameInMap(value="ImageOwnerId") public Long imageOwnerId
The ID of the Alibaba Cloud account to which the image belongs. This parameter takes effect only if you query shared images or community images.
example:1234567890
@NameInMap(value="InstanceType") public String instanceType
The instance type for which the image can be used.
example:ecs.g5.large
@NameInMap(value="IsPublic") public Boolean isPublic
Specifies whether to query published community images. Valid values:
Default value: false.
example:false
@NameInMap(value="IsSupportCloudinit") public Boolean isSupportCloudinit
Specifies whether the image supports cloud-init.
example:true
@NameInMap(value="IsSupportIoOptimized") public Boolean isSupportIoOptimized
Specifies whether the image can be used on I/O optimized instances.
example:true
@NameInMap(value="OSType") public String OSType
The operating system type of the image. Valid values:
linux
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Integer pageNumber
The page number to return.
Pages start from page 1.
Default value: 1.
example:1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries per page.
Valid values: 1 to 100.
Default value: 10.
example:1
@NameInMap(value="RegionId") public String regionId
The region ID of the image. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the custom image belongs. If you specify this parameter to query resources, up to 1,000 resources that belong to the specified resource group can be returned.
example:Resources in the default resource group are displayed in the response regardless of whether you specify this parameter.
rg-bp67acfmxazb4p****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ShowExpired") public Boolean showExpired
Specifies whether the subscription image has expired.
example:false
@NameInMap(value="SnapshotId") public String snapshotId
The ID of the snapshot used to create the custom image.
example:s-bp17ot2q7x72ggtw****
@NameInMap(value="Status") public String status
The status of the image. By default, if you do not specify this parameter, only images in the Available state are returned. Valid values:
Default value: Available. You can specify multiple values for this parameter. Separate the values with commas (,).
example:Available
@NameInMap(value="Tag") public List<DescribeImagesRequest.DescribeImagesRequestTag> tag
The tags list.
@NameInMap(value="Usage") public String usage
Specifies whether the image is running on an Elastic Compute Service (ECS) instance. Valid values:
instance
public static DescribeImagesRequest build(Map<String,?> map) throws Exception
Exception
public DescribeImagesRequest setActionType(String actionType)
public String getActionType()
public DescribeImagesRequest setArchitecture(String architecture)
public String getArchitecture()
public DescribeImagesRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public DescribeImagesRequest setFilter(List<DescribeImagesRequest.DescribeImagesRequestFilter> filter)
public List<DescribeImagesRequest.DescribeImagesRequestFilter> getFilter()
public DescribeImagesRequest setImageFamily(String imageFamily)
public String getImageFamily()
public DescribeImagesRequest setImageId(String imageId)
public String getImageId()
public DescribeImagesRequest setImageName(String imageName)
public String getImageName()
public DescribeImagesRequest setImageOwnerAlias(String imageOwnerAlias)
public String getImageOwnerAlias()
public DescribeImagesRequest setImageOwnerId(Long imageOwnerId)
public Long getImageOwnerId()
public DescribeImagesRequest setInstanceType(String instanceType)
public String getInstanceType()
public DescribeImagesRequest setIsPublic(Boolean isPublic)
public Boolean getIsPublic()
public DescribeImagesRequest setIsSupportCloudinit(Boolean isSupportCloudinit)
public Boolean getIsSupportCloudinit()
public DescribeImagesRequest setIsSupportIoOptimized(Boolean isSupportIoOptimized)
public Boolean getIsSupportIoOptimized()
public DescribeImagesRequest setOSType(String OSType)
public String getOSType()
public DescribeImagesRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeImagesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeImagesRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeImagesRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeImagesRequest setRegionId(String regionId)
public String getRegionId()
public DescribeImagesRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeImagesRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeImagesRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeImagesRequest setShowExpired(Boolean showExpired)
public Boolean getShowExpired()
public DescribeImagesRequest setSnapshotId(String snapshotId)
public String getSnapshotId()
public DescribeImagesRequest setStatus(String status)
public String getStatus()
public DescribeImagesRequest setTag(List<DescribeImagesRequest.DescribeImagesRequestTag> tag)
public List<DescribeImagesRequest.DescribeImagesRequestTag> getTag()
public DescribeImagesRequest setUsage(String usage)
public String getUsage()
Copyright © 2024. All rights reserved.