public class DescribeImagesRequest extends AbstractModel
skipSign
Constructor and Description |
---|
DescribeImagesRequest() |
DescribeImagesRequest(DescribeImagesRequest 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 Filters.
|
String[] |
getImageIds()
Get List of image IDs, such as `img-gvbnzy6f`.
|
String |
getInstanceType()
Get Instance type, e.g.
|
Long |
getLimit()
Get Number of results returned; default value: 20; maximum: 100.
|
Long |
getOffset()
Get Offset; default value: 0.
|
void |
setFilters(Filter[] Filters)
Set Filters.
|
void |
setImageIds(String[] ImageIds)
Set List of image IDs, such as `img-gvbnzy6f`.
|
void |
setInstanceType(String InstanceType)
Set Instance type, e.g.
|
void |
setLimit(Long Limit)
Set Number of results returned; default value: 20; maximum: 100.
|
void |
setOffset(Long Offset)
Set Offset; default value: 0.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeImagesRequest()
public DescribeImagesRequest(DescribeImagesRequest source)
public String[] getImageIds()
public void setImageIds(String[] ImageIds)
ImageIds
- List of image IDs, such as `img-gvbnzy6f`. For the format of array-type parameters, see [API Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). You can obtain the image IDs in two ways: public Filter[] getFilters()
Filter by the image ID.
Type: String
Optional
Filter by the image type.
Type: String
Optional
Options:
`PRIVATE_IMAGE`: Private images (images created by this account)
`PUBLIC_IMAGE`: Public images (Tencent Cloud official images)
`SHARED_IMAGE`: Shared images (images shared by other accounts to this account)
Filter by the image name.
Type: String
Optional
Filter by the image operating system, such as `CentOS`.
Type: String
Optional
Filter by the tag key.
Type: String
Optional
Filter by the tag value.
Type: String
Optional
Filter by the tag key-value pair. Replace “tag-key” with the actual value.
Type: String
Optional
Filter by the image ID.
Type: String
Optional
Filter by the image type.
Type: String
Optional
Options:
`PRIVATE_IMAGE`: Private images (images created by this account)
`PUBLIC_IMAGE`: Public images (Tencent Cloud official images)
`SHARED_IMAGE`: Shared images (images shared by other accounts to this account)
Filter by the image name.
Type: String
Optional
Filter by the image operating system, such as `CentOS`.
Type: String
Optional
Filter by the tag key.
Type: String
Optional
Filter by the tag value.
Type: String
Optional
Filter by the tag key-value pair. Replace “tag-key” with the actual value.
Type: String
Optional
public void setFilters(Filter[] Filters)
Filter by the image ID.
Type: String
Optional
Filter by the image type.
Type: String
Optional
Options:
`PRIVATE_IMAGE`: Private images (images created by this account)
`PUBLIC_IMAGE`: Public images (Tencent Cloud official images)
`SHARED_IMAGE`: Shared images (images shared by other accounts to this account)
Filter by the image name.
Type: String
Optional
Filter by the image operating system, such as `CentOS`.
Type: String
Optional
Filter by the tag key.
Type: String
Optional
Filter by the tag value.
Type: String
Optional
Filter by the tag key-value pair. Replace “tag-key” with the actual value.
Type: String
Optional
Filters
- Filters. Each request can have up to 10 `Filters`, and 5 `Filters.Values` for each filter. `ImageIds` and `Filters` cannot be specified at the same time. See details:
Filter by the image ID.
Type: String
Optional
Filter by the image type.
Type: String
Optional
Options:
`PRIVATE_IMAGE`: Private images (images created by this account)
`PUBLIC_IMAGE`: Public images (Tencent Cloud official images)
`SHARED_IMAGE`: Shared images (images shared by other accounts to this account)
Filter by the image name.
Type: String
Optional
Filter by the image operating system, such as `CentOS`.
Type: String
Optional
Filter by the tag key.
Type: String
Optional
Filter by the tag value.
Type: String
Optional
Filter by the tag key-value pair. Replace “tag-key” with the actual value.
Type: String
Optional
public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset; default value: 0. For more information on `Offset`, see [API Introduction](https://intl.cloud.tencent.com/document/api/213/568?from_cn_redirect=1#.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.8F.82.E6.95.B0.E9.87.8A.E4.B9.89).public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of results returned; default value: 20; maximum: 100. For more information on `Limit`, see [API Introduction](https://intl.cloud.tencent.com/document/api/213/568?from_cn_redirect=1#.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.8F.82.E6.95.B0.E9.87.8A.E4.B9.89).public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Instance type, e.g. `S1.SMALL1`Copyright © 2023. All rights reserved.