public class ModifyImageSharePermissionRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ModifyImageSharePermissionRequest() | 
| ModifyImageSharePermissionRequest(ModifyImageSharePermissionRequest 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 | 
|---|---|
| String[] | getAccountIds()Get 接收共享镜像的主账号ID列表,array型参数的格式可以参考[API简介](/document/api/213/568)。账号ID不同于QQ号,查询用户主账号ID请查看[账号信息](https://console.cloud.tencent.com/developer)中的账号ID栏。 | 
| String | getImageId()Get 镜像ID,形如`img-gvbnzy6f`。镜像Id可以通过如下方式获取: 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。 镜像ID必须指定为状态为`NORMAL`的镜像。镜像状态请参考[镜像数据表](https://cloud.tencent.com/document/product/213/15753#Image)。 | 
| String | getPermission()Get 操作,包括 `SHARE`,`CANCEL`。其中`SHARE`代表共享操作,`CANCEL`代表取消共享操作。 | 
| void | setAccountIds(String[] AccountIds)Set 接收共享镜像的主账号ID列表,array型参数的格式可以参考[API简介](/document/api/213/568)。账号ID不同于QQ号,查询用户主账号ID请查看[账号信息](https://console.cloud.tencent.com/developer)中的账号ID栏。 | 
| void | setImageId(String ImageId)Set 镜像ID,形如`img-gvbnzy6f`。镜像Id可以通过如下方式获取: 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。 镜像ID必须指定为状态为`NORMAL`的镜像。镜像状态请参考[镜像数据表](https://cloud.tencent.com/document/product/213/15753#Image)。 | 
| void | setPermission(String Permission)Set 操作,包括 `SHARE`,`CANCEL`。其中`SHARE`代表共享操作,`CANCEL`代表取消共享操作。 | 
| 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, toJsonStringpublic ModifyImageSharePermissionRequest()
public ModifyImageSharePermissionRequest(ModifyImageSharePermissionRequest source)
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 © 2025. All rights reserved.