public class DescribeImagesToShareRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeImagesToShareRequest() |
DescribeImagesToShareRequest(DescribeImagesToShareRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Filter[] |
getFilters()
Get 过滤器列表。
image-id按照【CVM镜像ID】进行过滤。
类型:String
必选:否
image-name按照【CVM镜像名称】进行过滤。
类型:String
必选:否
image-type按照【CVM镜像类型】进行过滤。
类型:String
必选:否
取值范围:
PRIVATE_IMAGE: 私有镜像 (本账户创建的镜像)
PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)
SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像) 。
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
参数不可以同时指定ImageIds和Filters。
|
String[] |
getImageIds()
Get CVM镜像 ID 列表。可通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回值中的ImageId获取。
|
Long |
getLimit()
Get 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
Long |
getOffset()
Get 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
void |
setFilters(Filter[] Filters)
Set 过滤器列表。
image-id按照【CVM镜像ID】进行过滤。
类型:String
必选:否
image-name按照【CVM镜像名称】进行过滤。
类型:String
必选:否
image-type按照【CVM镜像类型】进行过滤。
类型:String
必选:否
取值范围:
PRIVATE_IMAGE: 私有镜像 (本账户创建的镜像)
PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)
SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像) 。
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
参数不可以同时指定ImageIds和Filters。
|
void |
setImageIds(String[] ImageIds)
Set CVM镜像 ID 列表。可通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回值中的ImageId获取。
|
void |
setLimit(Long Limit)
Set 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
void |
setOffset(Long Offset)
Set 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeImagesToShareRequest()
public DescribeImagesToShareRequest(DescribeImagesToShareRequest source)
public String[] getImageIds()
public void setImageIds(String[] ImageIds)
ImageIds
- CVM镜像 ID 列表。可通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回值中的ImageId获取。public Long getOffset()
public void setOffset(Long Offset)
Offset
- 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。public Long getLimit()
public void setLimit(Long Limit)
Limit
- 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- 过滤器列表。
Copyright © 2025. All rights reserved.