public class ModifyImageSharePermissionRequest extends AbstractModel
Constructor and Description |
---|
ModifyImageSharePermissionRequest() |
Modifier and Type | Method and Description |
---|---|
String[] |
getAccountIds()
获取接收分享镜像的账号Id列表,array型参数的格式可以参考[API简介](/document/api/213/568)。帐号ID不同于QQ号,查询用户帐号ID请查看[帐号信息](https://console.cloud.tencent.com/developer)中的帐号ID栏。
|
String |
getImageId()
获取镜像ID,形如`img-gvbnzy6f`。镜像Id可以通过如下方式获取:
通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。 镜像ID必须指定为状态为`NORMAL`的镜像。镜像状态请参考[镜像数据表](/document/api/213/9452#image_state)。 |
String |
getPermission()
获取操作,包括 `SHARE`,`CANCEL`。其中`SHARE`代表分享操作,`CANCEL`代表取消分享操作。
|
void |
setAccountIds(String[] AccountIds)
设置接收分享镜像的账号Id列表,array型参数的格式可以参考[API简介](/document/api/213/568)。帐号ID不同于QQ号,查询用户帐号ID请查看[帐号信息](https://console.cloud.tencent.com/developer)中的帐号ID栏。
|
void |
setImageId(String ImageId)
设置镜像ID,形如`img-gvbnzy6f`。镜像Id可以通过如下方式获取:
通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。 镜像ID必须指定为状态为`NORMAL`的镜像。镜像状态请参考[镜像数据表](/document/api/213/9452#image_state)。 |
void |
setPermission(String Permission)
设置操作,包括 `SHARE`,`CANCEL`。其中`SHARE`代表分享操作,`CANCEL`代表取消分享操作。
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getImageId()
public void setImageId(String ImageId)
ImageId
- 镜像ID,形如`img-gvbnzy6f`。镜像Id可以通过如下方式获取:public String[] getAccountIds()
public void setAccountIds(String[] AccountIds)
AccountIds
- 接收分享镜像的账号Id列表,array型参数的格式可以参考[API简介](/document/api/213/568)。帐号ID不同于QQ号,查询用户帐号ID请查看[帐号信息](https://console.cloud.tencent.com/developer)中的帐号ID栏。public String getPermission()
public void setPermission(String Permission)
Permission
- 操作,包括 `SHARE`,`CANCEL`。其中`SHARE`代表分享操作,`CANCEL`代表取消分享操作。Copyright © 2019. All rights reserved.