model

package
v0.0.104 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddImageTagRequest

type AddImageTagRequest struct {

	// 镜像ID。
	ImageId string `json:"image_id"`

	Body *AddImageTagRequestBody `json:"body,omitempty"`
}

Request Object

func (AddImageTagRequest) String

func (o AddImageTagRequest) String() string

type AddImageTagRequestBody

type AddImageTagRequestBody struct {
	Tag *ResourceTag `json:"tag"`
}

请求参数

func (AddImageTagRequestBody) String

func (o AddImageTagRequestBody) String() string

type AddImageTagResponse

type AddImageTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (AddImageTagResponse) String

func (o AddImageTagResponse) String() string

type AddOrUpdateTagsRequestBody

type AddOrUpdateTagsRequestBody struct {

	// 镜像ID。
	ImageId string `json:"image_id"`

	// 标签数据。 tag和image_tag只能使用一个。
	Tag *string `json:"tag,omitempty"`

	ImageTag *ResourceTag `json:"image_tag,omitempty"`
}

请求参数

func (AddOrUpdateTagsRequestBody) String

type AdditionalProperties

type AdditionalProperties struct {

	// 类型
	Type string `json:"type"`
}

属性值

func (AdditionalProperties) String

func (o AdditionalProperties) String() string

type BatchAddMembersRequest

type BatchAddMembersRequest struct {
	Body *BatchAddMembersRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchAddMembersRequest) String

func (o BatchAddMembersRequest) String() string

type BatchAddMembersRequestBody

type BatchAddMembersRequestBody struct {

	// 镜像ID列表
	Images []string `json:"images"`

	// 项目ID列表
	Projects []string `json:"projects"`
}

批量添加镜像成员body

func (BatchAddMembersRequestBody) String

type BatchAddMembersResponse

type BatchAddMembersResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchAddMembersResponse) String

func (o BatchAddMembersResponse) String() string

type BatchAddOrDeleteTagsRequest

type BatchAddOrDeleteTagsRequest struct {

	// 镜像ID。
	ImageId string `json:"image_id"`

	Body *BatchAddOrDeleteTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchAddOrDeleteTagsRequest) String

type BatchAddOrDeleteTagsRequestBody

type BatchAddOrDeleteTagsRequestBody struct {

	// 要进行的标签操作,区分大小写。支持create、delete,分别用于批量地创建/更新、删除标签。
	Action BatchAddOrDeleteTagsRequestBodyAction `json:"action"`

	// 需要增加、修改或者删除的标签键值对集合。
	Tags []ResourceTag `json:"tags"`
}

镜像标签请求体

func (BatchAddOrDeleteTagsRequestBody) String

type BatchAddOrDeleteTagsRequestBodyAction

type BatchAddOrDeleteTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (BatchAddOrDeleteTagsRequestBodyAction) MarshalJSON

func (c BatchAddOrDeleteTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchAddOrDeleteTagsRequestBodyAction) UnmarshalJSON

func (c *BatchAddOrDeleteTagsRequestBodyAction) UnmarshalJSON(b []byte) error

func (BatchAddOrDeleteTagsRequestBodyAction) Value added in v0.0.90

type BatchAddOrDeleteTagsRequestBodyActionEnum

type BatchAddOrDeleteTagsRequestBodyActionEnum struct {
	CREATE BatchAddOrDeleteTagsRequestBodyAction
	DELETE BatchAddOrDeleteTagsRequestBodyAction
}

func GetBatchAddOrDeleteTagsRequestBodyActionEnum

func GetBatchAddOrDeleteTagsRequestBodyActionEnum() BatchAddOrDeleteTagsRequestBodyActionEnum

type BatchAddOrDeleteTagsResponse

type BatchAddOrDeleteTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchAddOrDeleteTagsResponse) String

type BatchDeleteMembersRequest

type BatchDeleteMembersRequest struct {
	Body *BatchAddMembersRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchDeleteMembersRequest) String

func (o BatchDeleteMembersRequest) String() string

type BatchDeleteMembersResponse

type BatchDeleteMembersResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchDeleteMembersResponse) String

type BatchUpdateMembersRequest

type BatchUpdateMembersRequest struct {
	Body *BatchUpdateMembersRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchUpdateMembersRequest) String

func (o BatchUpdateMembersRequest) String() string

type BatchUpdateMembersRequestBody

type BatchUpdateMembersRequestBody struct {

	// 镜像ID列表。
	Images []string `json:"images"`

	// 项目ID。
	ProjectId string `json:"project_id"`

	// 镜像成员的状态。 取值如下: accepted:表示接受共享镜像。接受后,该镜像在用户镜像列表中可见,用户可以使用该镜像创建云服务器。 rejected:表示拒绝共享镜像。拒绝后,该镜像在用户镜像列表中不可见,但是,用户仍然可以使用该镜像创建云服务器。
	Status BatchUpdateMembersRequestBodyStatus `json:"status"`

	// 存储库ID。 如果是通过CBR创建的整机镜像,则在接受该共享镜像时,为必选参数,需传入该值。
	VaultId *string `json:"vault_id,omitempty"`
}

更新镜像成员状态请求体

func (BatchUpdateMembersRequestBody) String

type BatchUpdateMembersRequestBodyStatus

type BatchUpdateMembersRequestBodyStatus struct {
	// contains filtered or unexported fields
}

func (BatchUpdateMembersRequestBodyStatus) MarshalJSON

func (c BatchUpdateMembersRequestBodyStatus) MarshalJSON() ([]byte, error)

func (*BatchUpdateMembersRequestBodyStatus) UnmarshalJSON

func (c *BatchUpdateMembersRequestBodyStatus) UnmarshalJSON(b []byte) error

func (BatchUpdateMembersRequestBodyStatus) Value added in v0.0.90

type BatchUpdateMembersRequestBodyStatusEnum

type BatchUpdateMembersRequestBodyStatusEnum struct {
	ACCEPTED BatchUpdateMembersRequestBodyStatus
	REJECTED BatchUpdateMembersRequestBodyStatus
}

func GetBatchUpdateMembersRequestBodyStatusEnum

func GetBatchUpdateMembersRequestBodyStatusEnum() BatchUpdateMembersRequestBodyStatusEnum

type BatchUpdateMembersResponse

type BatchUpdateMembersResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchUpdateMembersResponse) String

type CopyImageCrossRegionRequest

type CopyImageCrossRegionRequest struct {

	// 镜像ID
	ImageId string `json:"image_id"`

	Body *CopyImageCrossRegionRequestBody `json:"body,omitempty"`
}

Request Object

func (CopyImageCrossRegionRequest) String

type CopyImageCrossRegionRequestBody

type CopyImageCrossRegionRequestBody struct {

	// IMS服务委托名称。
	AgencyName string `json:"agency_name"`

	// 镜像描述信息。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。
	Description *string `json:"description,omitempty"`

	// 镜像名称
	Name string `json:"name"`

	// 目的区域的项目名称。
	ProjectName string `json:"project_name"`

	// 目的区域的Region ID。
	Region string `json:"region"`
}

func (CopyImageCrossRegionRequestBody) String

type CopyImageCrossRegionResponse

type CopyImageCrossRegionResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CopyImageCrossRegionResponse) String

type CopyImageInRegionRequest

type CopyImageInRegionRequest struct {

	// 镜像ID
	ImageId string `json:"image_id"`

	Body *CopyImageInRegionRequestBody `json:"body,omitempty"`
}

Request Object

func (CopyImageInRegionRequest) String

func (o CopyImageInRegionRequest) String() string

type CopyImageInRegionRequestBody

type CopyImageInRegionRequestBody struct {

	// 加密密钥。默认为空。
	CmkId *string `json:"cmk_id,omitempty"`

	// 镜像描述信息。_description参数说明请参考镜像属性。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。
	Description *string `json:"description,omitempty"`

	// 表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 镜像名称
	Name string `json:"name"`
}

请求参数

func (CopyImageInRegionRequestBody) String

type CopyImageInRegionResponse

type CopyImageInRegionResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CopyImageInRegionResponse) String

func (o CopyImageInRegionResponse) String() string

type CreateDataImage

type CreateDataImage struct {

	// 数据盘镜像名称。
	Name string `json:"name"`

	// 数据盘ID。
	VolumeId string `json:"volume_id"`

	// 数据盘描述。
	Description *string `json:"description,omitempty"`

	// 数据盘镜像标签。
	Tags *[]string `json:"tags,omitempty"`
}

数据盘信息

func (CreateDataImage) String

func (o CreateDataImage) String() string

type CreateDataImageRequest

type CreateDataImageRequest struct {
	Body *CreateDataImageRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateDataImageRequest) String

func (o CreateDataImageRequest) String() string

type CreateDataImageRequestBody

type CreateDataImageRequestBody struct {

	// 创建加密镜像的用户主密钥,具体取值请参考《密钥管理服务用户指南》获取。
	CmkId *string `json:"cmk_id,omitempty"`

	// 镜像描述信息。_description参数说明请参考镜像属性。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。
	Description *string `json:"description,omitempty"`

	// 表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目;取值为UUID,表示属于该UUID对应的企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 新规范的镜像标签列表。默认为空。 tags和image_tags只能使用一个。
	ImageTags *[]ImageTag `json:"image_tags,omitempty"`

	// OBS桶中外部镜像文件地址。格式为<OBS桶名>:<OBS镜像文件名称>。 此处的OBS桶和镜像文件的存储类别必须是OBS标准存储。
	ImageUrl string `json:"image_url"`

	// 最小数据盘大小。取值范围40-2048GB。
	MinDisk int32 `json:"min_disk"`

	// 镜像名称。
	Name string `json:"name"`

	// 操作系统类型。只能是Windows、Linux二者之一,默认Linux。
	OsType *CreateDataImageRequestBodyOsType `json:"os_type,omitempty"`

	// 镜像标签列表。默认为空。 tags和image_tags只能使用一个。
	Tags *[]string `json:"tags,omitempty"`
}

创建镜像请求体

func (CreateDataImageRequestBody) String

type CreateDataImageRequestBodyOsType

type CreateDataImageRequestBodyOsType struct {
	// contains filtered or unexported fields
}

func (CreateDataImageRequestBodyOsType) MarshalJSON

func (c CreateDataImageRequestBodyOsType) MarshalJSON() ([]byte, error)

func (*CreateDataImageRequestBodyOsType) UnmarshalJSON

func (c *CreateDataImageRequestBodyOsType) UnmarshalJSON(b []byte) error

func (CreateDataImageRequestBodyOsType) Value added in v0.0.90

type CreateDataImageRequestBodyOsTypeEnum

type CreateDataImageRequestBodyOsTypeEnum struct {
	WINDOWS CreateDataImageRequestBodyOsType
	LINUX   CreateDataImageRequestBodyOsType
}

func GetCreateDataImageRequestBodyOsTypeEnum

func GetCreateDataImageRequestBodyOsTypeEnum() CreateDataImageRequestBodyOsTypeEnum

type CreateDataImageResponse

type CreateDataImageResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDataImageResponse) String

func (o CreateDataImageResponse) String() string

type CreateImageRequest

type CreateImageRequest struct {
	Body *CreateImageRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateImageRequest) String

func (o CreateImageRequest) String() string

type CreateImageRequestBody

type CreateImageRequestBody struct {

	// 需要转换的数据盘信息,其中,当使用云服务器上的数据盘进行私有数据盘镜像创建时,该字段必选。 如果不是用于制作数据盘镜像,该字段默认为空。
	DataImages *[]CreateDataImage `json:"data_images,omitempty"`

	// 镜像描述信息。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。
	Description *string `json:"description,omitempty"`

	// 表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目。取值为UUID,表示属于该UUID对应的企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 新规范的镜像标签列表。默认为空。tags和image_tags只能使用一个。
	ImageTags *[]TagKeyValue `json:"image_tags,omitempty"`

	// 需要转换的云服务器ID。使用instance_id字段,从云服务器制作私有镜像时,该字段填写云服务器ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 镜像名称
	Name string `json:"name"`

	// 镜像标签列表。默认为空。tags和image_tags只能使用一个。
	Tags *[]string `json:"tags,omitempty"`

	// 表示镜像支持的最大内存,单位为MB。
	MaxRam *int32 `json:"max_ram,omitempty"`

	// 表示镜像支持的最小内存,单位为MB,默认为0,表示不受限制。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 操作系统版本。 使用上传至OBS桶中的外部镜像文件制作镜像时生效。 当“is_quick_import”的值为“true”时,即使用镜像文件快速导入方式导入系统盘镜像,则该参数为必填参数。
	OsVersion *string `json:"os_version,omitempty"`

	// OBS桶中外部镜像文件地址。 在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。格式为<OBS桶名>:<OBS镜像文件名称>。
	ImageUrl *string `json:"image_url,omitempty"`

	// 最小系统盘大小。 在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。取值为40~1024GB。
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 是否自动配置。 取值为true或false。 如果需要后台自动配置,取值为true,否则为false。默认取值为false。
	IsConfig *bool `json:"is_config,omitempty"`

	// 创建加密镜像的用户主密钥,具体取值请参考《密钥管理服务用户指南》获取。
	CmkId *string `json:"cmk_id,omitempty"`

	// 镜像的类型。 取值为ECS、BMS、FusionCompute、Ironic。默认使用“ECS”。 ECS/FusionCompute:表示是ECS服务器的镜像。 BMS/Ironic:表示是BMS服务器的镜像。
	Type *CreateImageRequestBodyType `json:"type,omitempty"`

	// 是否使用镜像文件快速导入方式,导入系统盘镜像。 是,配置为true。 否,配置为false。 关于镜像文件快速导入的约束与限制请参见镜像文件快速导入。
	IsQuickImport *bool `json:"is_quick_import,omitempty"`

	// 镜像的架构类型。取值包括: x86 arm 默认使用“x86”。 当架构类型为arm时,镜像引导方式将自动转为UEFI的引导方式。
	Architecture *CreateImageRequestBodyArchitecture `json:"architecture,omitempty"`

	// 数据盘的卷ID。当数据盘创建系统盘镜像时,该参数必选
	VolumeId *string `json:"volume_id,omitempty"`
}

创建镜像请求参数体

func (CreateImageRequestBody) String

func (o CreateImageRequestBody) String() string

type CreateImageRequestBodyArchitecture

type CreateImageRequestBodyArchitecture struct {
	// contains filtered or unexported fields
}

func (CreateImageRequestBodyArchitecture) MarshalJSON

func (c CreateImageRequestBodyArchitecture) MarshalJSON() ([]byte, error)

func (*CreateImageRequestBodyArchitecture) UnmarshalJSON

func (c *CreateImageRequestBodyArchitecture) UnmarshalJSON(b []byte) error

func (CreateImageRequestBodyArchitecture) Value added in v0.0.90

type CreateImageRequestBodyArchitectureEnum

type CreateImageRequestBodyArchitectureEnum struct {
	X86 CreateImageRequestBodyArchitecture
	ARM CreateImageRequestBodyArchitecture
}

func GetCreateImageRequestBodyArchitectureEnum

func GetCreateImageRequestBodyArchitectureEnum() CreateImageRequestBodyArchitectureEnum

type CreateImageRequestBodyType

type CreateImageRequestBodyType struct {
	// contains filtered or unexported fields
}

func (CreateImageRequestBodyType) MarshalJSON

func (c CreateImageRequestBodyType) MarshalJSON() ([]byte, error)

func (*CreateImageRequestBodyType) UnmarshalJSON

func (c *CreateImageRequestBodyType) UnmarshalJSON(b []byte) error

func (CreateImageRequestBodyType) Value added in v0.0.90

type CreateImageRequestBodyTypeEnum

type CreateImageRequestBodyTypeEnum struct {
	ECS            CreateImageRequestBodyType
	BMS            CreateImageRequestBodyType
	FUSION_COMPUTE CreateImageRequestBodyType
	IRONIC         CreateImageRequestBodyType
}

func GetCreateImageRequestBodyTypeEnum

func GetCreateImageRequestBodyTypeEnum() CreateImageRequestBodyTypeEnum

type CreateImageResponse

type CreateImageResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateImageResponse) String

func (o CreateImageResponse) String() string

type CreateOrUpdateTagsRequest

type CreateOrUpdateTagsRequest struct {
	Body *AddOrUpdateTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateOrUpdateTagsRequest) String

func (o CreateOrUpdateTagsRequest) String() string

type CreateOrUpdateTagsResponse

type CreateOrUpdateTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateOrUpdateTagsResponse) String

type CreateWholeImageRequest

type CreateWholeImageRequest struct {
	Body *CreateWholeImageRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateWholeImageRequest) String

func (o CreateWholeImageRequest) String() string

type CreateWholeImageRequestBody

type CreateWholeImageRequestBody struct {

	// 镜像描述信息。 支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。
	Description *string `json:"description,omitempty"`

	// 表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目。取值为UUID,表示属于该UUID对应的企业项目。关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 新规范的镜像标签列表。默认为空。tags和image_tags只能使用一个。
	ImageTags *[]TagKeyValue `json:"image_tags,omitempty"`

	// 弹性云服务器ID。使用弹性云服务器制作整机镜像时使用此参数且必填。 如果使用备份创建整机镜像,该参数应换成backup_id。 非必填的原因是需要兼容“使用备份创建整机镜像”和“使用弹性云服务器制作整机镜像”两种场景的body体。
	InstanceId *string `json:"instance_id,omitempty"`

	// 镜像名称。 名称的首尾字母不能为空格。 名称的长度至为1~128位。 名称包含以下4种字符: 大写字母 小写字母 数字 特殊字符包含-、.、_、空格和中文。
	Name string `json:"name"`

	// 镜像标签列表。tags和image_tags只能使用一个。
	Tags *[]string `json:"tags,omitempty"`

	// 使用云服务器备份创建整机镜像使用此参数且必填。 如果使用ECS创建整机镜像,则该参数应传为instance_id。 非必填的原因是需要兼容“使用备份创建整机镜像”和“使用弹性云服务器制作整机镜像”两种场景的body体。
	BackupId *string `json:"backup_id,omitempty"`

	// 使用备份创建整机镜像时,该字段区分是CBR服务的备份还是CSBS服务的备份,取值为:CBR/CSBS。 使用ECS创建整机镜像时,该字段不填
	WholeImageType *string `json:"whole_image_type,omitempty"`

	// 表示镜像支持的最大内存,单位为MB,默认不设置。
	MaxRam *int32 `json:"max_ram,omitempty"`

	// 表示镜像支持的最小内存,单位为MB,默认为0。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 表示云服务器待加入的或已加入的存储库的ID。 使用云服务器创建整机镜像的过程为:先创建一个备份,再将备份创建为整机镜像。如果这个备份为CBR,vault_id为必填项;如果备份为CSBS,vault_id参数可不填。
	VaultId *string `json:"vault_id,omitempty"`
}

func (CreateWholeImageRequestBody) String

type CreateWholeImageResponse

type CreateWholeImageResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateWholeImageResponse) String

func (o CreateWholeImageResponse) String() string

type DeleteImageTagRequest

type DeleteImageTagRequest struct {

	// 镜像ID。
	ImageId string `json:"image_id"`

	// 要删除的标签的键。
	Key string `json:"key"`
}

Request Object

func (DeleteImageTagRequest) String

func (o DeleteImageTagRequest) String() string

type DeleteImageTagResponse

type DeleteImageTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteImageTagResponse) String

func (o DeleteImageTagResponse) String() string

type ExportImageRequest

type ExportImageRequest struct {

	// 镜像ID。
	ImageId string `json:"image_id"`

	Body *ExportImageRequestBody `json:"body,omitempty"`
}

Request Object

func (ExportImageRequest) String

func (o ExportImageRequest) String() string

type ExportImageRequestBody

type ExportImageRequestBody struct {

	// 目的文件的URL,格式:<bucket>:<file>。 说明:此处的OBS桶和镜像文件的存储类别必须是OBS标准存储。
	BucketUrl string `json:"bucket_url"`

	// 文件格式,支持qcow2、vhd、zvhd和vmdk。
	FileFormat ExportImageRequestBodyFileFormat `json:"file_format"`

	// 是否使用快速导出,取值为true或者false。 说明:若使用快速导出,则无法指定file_format参数。
	IsQuickExport *bool `json:"is_quick_export,omitempty"`
}

镜像导出请求体

func (ExportImageRequestBody) String

func (o ExportImageRequestBody) String() string

type ExportImageRequestBodyFileFormat

type ExportImageRequestBodyFileFormat struct {
	// contains filtered or unexported fields
}

func (ExportImageRequestBodyFileFormat) MarshalJSON

func (c ExportImageRequestBodyFileFormat) MarshalJSON() ([]byte, error)

func (*ExportImageRequestBodyFileFormat) UnmarshalJSON

func (c *ExportImageRequestBodyFileFormat) UnmarshalJSON(b []byte) error

func (ExportImageRequestBodyFileFormat) Value added in v0.0.90

type ExportImageResponse

type ExportImageResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ExportImageResponse) String

func (o ExportImageResponse) String() string

type GlanceAddImageMemberRequest

type GlanceAddImageMemberRequest struct {

	// 镜像id
	ImageId string `json:"image_id"`

	Body *GlanceAddImageMemberRequestBody `json:"body,omitempty"`
}

Request Object

func (GlanceAddImageMemberRequest) String

type GlanceAddImageMemberRequestBody

type GlanceAddImageMemberRequestBody struct {

	// 镜像成员。取值为目标用户的项目ID。
	Member string `json:"member"`
}

添加镜像成员请求参数

func (GlanceAddImageMemberRequestBody) String

type GlanceAddImageMemberResponse

type GlanceAddImageMemberResponse struct {

	// 共享状态
	Status *string `json:"status,omitempty"`

	// 共享时间,格式为UTC时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间,格式为UTC时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 镜像ID
	ImageId *string `json:"image_id,omitempty"`

	// 成员ID
	MemberId *string `json:"member_id,omitempty"`

	// 共享视图
	Schema         *string `json:"schema,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceAddImageMemberResponse) String

type GlanceCreateImageMetadataRequest

type GlanceCreateImageMetadataRequest struct {
	Body *GlanceCreateImageMetadataRequestBody `json:"body,omitempty"`
}

Request Object

func (GlanceCreateImageMetadataRequest) String

type GlanceCreateImageMetadataRequestBody

type GlanceCreateImageMetadataRequestBody struct {

	// 镜像的操作系统具体版本,如果未指定__os_version,则默认设置为Other Linux(64 bit),不保证该镜像能成功创建虚拟机以及通过该镜像创建的虚拟机能够正常使用。
	OsVersion *string `json:"__os_version,omitempty"`

	// 容器格式。默认取值为bare。
	ContainerFormat *string `json:"container_format,omitempty"`

	// 镜像文件格式。目前支持vhd,zvhd、zvhd2、raw,qcow2。默认取值为vhd
	DiskFormat *GlanceCreateImageMetadataRequestBodyDiskFormat `json:"disk_format,omitempty"`

	// 镜像运行需要的最小磁盘,单位为GB 。必须大于镜像系统盘容量,否则创建云主机云服务器可能失败。
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 镜像运行需要的最小内存,单位为MB。参数取值依据云主机云服务器的规格限制。默认取值为0。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像名称,如果未指定name的取值,则默认为空,但是使用该镜像创建虚拟机会失败。名称的长度为1-255位。
	Name *string `json:"name,omitempty"`

	// 镜像是否被保护,保护后的镜像不可删除。默认取值为false。
	Protected *bool `json:"protected,omitempty"`

	// 镜像标签列表。长度为1-255位。默认为空。
	Tags *[]string `json:"tags,omitempty"`

	// 其他租户是否可见。默认取值为private。创建镜像元数据时,visibility取值只能为private。
	Visibility *string `json:"visibility,omitempty"`
}

创建镜像请求体

func (GlanceCreateImageMetadataRequestBody) String

type GlanceCreateImageMetadataRequestBodyDiskFormat

type GlanceCreateImageMetadataRequestBodyDiskFormat struct {
	// contains filtered or unexported fields
}

func (GlanceCreateImageMetadataRequestBodyDiskFormat) MarshalJSON

func (*GlanceCreateImageMetadataRequestBodyDiskFormat) UnmarshalJSON

func (GlanceCreateImageMetadataRequestBodyDiskFormat) Value added in v0.0.90

type GlanceCreateImageMetadataResponse

type GlanceCreateImageMetadataResponse struct {

	// 其他租户是否可见。取值为private。
	Visibility *string `json:"visibility,omitempty"`

	// 镜像名称,如果未指定name的取值,则默认为空,但是使用该镜像创建虚拟机会失败。名称的长度为1~128位。
	Name *string `json:"name,omitempty"`

	// 镜像是否被保护,保护后的镜像不可删除。取值为false
	Protected *bool `json:"protected,omitempty"`

	// 容器格式。取值为bare。
	ContainerFormat *string `json:"container_format,omitempty"`

	// 镜像文件格式。目前支持vhd、zvhd、raw、qcow2。默认值是vhd。
	DiskFormat *GlanceCreateImageMetadataResponseDiskFormat `json:"disk_format,omitempty"`

	// 镜像标签列表。长度为1~255位。
	Tags *[]string `json:"tags,omitempty"`

	// 镜像运行最小内存,单位为MB。取值参考ECS规格限制,一般设置为0。云服务器的规格限制,请参见规格清单。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像运行需要的最小磁盘容量,单位为GB 。取值为40~1024GB。必须大于镜像系统盘容量,否则创建云主机云服务器可能失败。
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用。
	Status *GlanceCreateImageMetadataResponseStatus `json:"status,omitempty"`

	// 创建时间。格式为UTC时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。格式为UTC时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 本镜像链接。
	Self *string `json:"self,omitempty"`

	// 镜像ID,用户调用创建镜像接口后,需保存该镜像的ID,用来调用上传镜像接口完成镜像上传。
	Id *string `json:"id,omitempty"`

	// 上传下载镜像文件的地址链接。
	File *string `json:"file,omitempty"`

	// 视图链接。
	Schema *string `json:"schema,omitempty"`

	// 镜像后端存储类型,目前支持uds。
	ImageSourceType *string `json:"__image_source_type,omitempty"`

	// 镜像大小。单位为字节。
	ImageSize *string `json:"__image_size,omitempty"`

	// 镜像是否注册。只有已注册的镜像才能在Portal界面上查询到。取值为true。
	Isregistered *string `json:"__isregistered,omitempty"`

	// 镜像的操作系统具体版本。
	OsVersion *string `json:"__os_version,omitempty"`

	// 镜像的操作系统类型,取值由__os_version确定。支持Windows、Linux和other。
	OsType *GlanceCreateImageMetadataResponseOsType `json:"__os_type,omitempty"`

	// 表示镜像支持的操作系统平台。取值由__os_version确定
	Platform *string `json:"__platform,omitempty"`

	// 表示操作系统位数。取值由__os_version确定,取值为32或64。
	OsBit *GlanceCreateImageMetadataResponseOsBit `json:"__os_bit,omitempty"`

	// 镜像类型。取值为private,表示私有镜像。
	Imagetype *string `json:"__imagetype,omitempty"`

	// 平台类型。镜像使用环境类型:FusionCompute、Ironic、DataImage。如果是云主机云服务器镜像,则取值为FusionCompute。如果是数据卷镜像则取值是DataImage。如果是物理机裸金属服务器镜像,则取值是Ironic。
	VirtualEnvType *GlanceCreateImageMetadataResponseVirtualEnvType `json:"virtual_env_type,omitempty"`

	// 镜像所属项目ID。
	Owner *string `json:"owner,omitempty"`

	// 镜像虚拟大小。单位为字节。
	VirtualSize *int32 `json:"virtual_size,omitempty"`

	// 镜像属性的集合,不表示具体的镜像属性
	Properties *interface{} `json:"properties,omitempty"`

	// 表示当前镜像来源是从外部导入。取值:file
	RootOrigin *string `json:"__root_origin,omitempty"`

	// 镜像文件md5值。
	Checksum *string `json:"checksum,omitempty"`

	// 目前暂时不使用。
	Size           *int64 `json:"size,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (GlanceCreateImageMetadataResponse) String

type GlanceCreateImageMetadataResponseDiskFormat

type GlanceCreateImageMetadataResponseDiskFormat struct {
	// contains filtered or unexported fields
}

func (GlanceCreateImageMetadataResponseDiskFormat) MarshalJSON

func (*GlanceCreateImageMetadataResponseDiskFormat) UnmarshalJSON

func (GlanceCreateImageMetadataResponseDiskFormat) Value added in v0.0.90

type GlanceCreateImageMetadataResponseOsBit

type GlanceCreateImageMetadataResponseOsBit struct {
	// contains filtered or unexported fields
}

func (GlanceCreateImageMetadataResponseOsBit) MarshalJSON

func (c GlanceCreateImageMetadataResponseOsBit) MarshalJSON() ([]byte, error)

func (*GlanceCreateImageMetadataResponseOsBit) UnmarshalJSON

func (c *GlanceCreateImageMetadataResponseOsBit) UnmarshalJSON(b []byte) error

func (GlanceCreateImageMetadataResponseOsBit) Value added in v0.0.90

type GlanceCreateImageMetadataResponseOsBitEnum

type GlanceCreateImageMetadataResponseOsBitEnum struct {
	E_32 GlanceCreateImageMetadataResponseOsBit
	E_64 GlanceCreateImageMetadataResponseOsBit
}

func GetGlanceCreateImageMetadataResponseOsBitEnum

func GetGlanceCreateImageMetadataResponseOsBitEnum() GlanceCreateImageMetadataResponseOsBitEnum

type GlanceCreateImageMetadataResponseOsType

type GlanceCreateImageMetadataResponseOsType struct {
	// contains filtered or unexported fields
}

func (GlanceCreateImageMetadataResponseOsType) MarshalJSON

func (c GlanceCreateImageMetadataResponseOsType) MarshalJSON() ([]byte, error)

func (*GlanceCreateImageMetadataResponseOsType) UnmarshalJSON

func (c *GlanceCreateImageMetadataResponseOsType) UnmarshalJSON(b []byte) error

func (GlanceCreateImageMetadataResponseOsType) Value added in v0.0.90

type GlanceCreateImageMetadataResponseStatus

type GlanceCreateImageMetadataResponseStatus struct {
	// contains filtered or unexported fields
}

func (GlanceCreateImageMetadataResponseStatus) MarshalJSON

func (c GlanceCreateImageMetadataResponseStatus) MarshalJSON() ([]byte, error)

func (*GlanceCreateImageMetadataResponseStatus) UnmarshalJSON

func (c *GlanceCreateImageMetadataResponseStatus) UnmarshalJSON(b []byte) error

func (GlanceCreateImageMetadataResponseStatus) Value added in v0.0.90

type GlanceCreateImageMetadataResponseVirtualEnvType

type GlanceCreateImageMetadataResponseVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (GlanceCreateImageMetadataResponseVirtualEnvType) MarshalJSON

func (*GlanceCreateImageMetadataResponseVirtualEnvType) UnmarshalJSON

func (GlanceCreateImageMetadataResponseVirtualEnvType) Value added in v0.0.90

type GlanceCreateTagRequest

type GlanceCreateTagRequest struct {

	// 镜像id
	ImageId string `json:"image_id"`

	// 新增的tag。字符串中不能包含“=”和“.”。
	Tag string `json:"tag"`
}

Request Object

func (GlanceCreateTagRequest) String

func (o GlanceCreateTagRequest) String() string

type GlanceCreateTagResponse

type GlanceCreateTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (GlanceCreateTagResponse) String

func (o GlanceCreateTagResponse) String() string

type GlanceDeleteImageMemberRequest

type GlanceDeleteImageMemberRequest struct {

	// 镜像id
	ImageId string `json:"image_id"`

	// 成员id
	MemberId string `json:"member_id"`
}

Request Object

func (GlanceDeleteImageMemberRequest) String

type GlanceDeleteImageMemberResponse

type GlanceDeleteImageMemberResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (GlanceDeleteImageMemberResponse) String

type GlanceDeleteImageRequest

type GlanceDeleteImageRequest struct {

	// 镜像ID
	ImageId string `json:"image_id"`

	Body *GlanceDeleteImageRequestBody `json:"body,omitempty"`
}

Request Object

func (GlanceDeleteImageRequest) String

func (o GlanceDeleteImageRequest) String() string

type GlanceDeleteImageRequestBody

type GlanceDeleteImageRequestBody struct {

	// 取值为:true和false true:表示删除整机镜像时,同时删除其关联的云服务器备份。 false:表示只删除整机镜像,不删除其关联的云服务器备份。
	DeleteBackup *bool `json:"delete_backup,omitempty"`
}

请求参数

func (GlanceDeleteImageRequestBody) String

type GlanceDeleteImageResponse

type GlanceDeleteImageResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (GlanceDeleteImageResponse) String

func (o GlanceDeleteImageResponse) String() string

type GlanceDeleteTagRequest

type GlanceDeleteTagRequest struct {

	// 镜像id
	ImageId string `json:"image_id"`

	// 新增的tag。字符串中不能包含“=”和“.”。
	Tag string `json:"tag"`
}

Request Object

func (GlanceDeleteTagRequest) String

func (o GlanceDeleteTagRequest) String() string

type GlanceDeleteTagResponse

type GlanceDeleteTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (GlanceDeleteTagResponse) String

func (o GlanceDeleteTagResponse) String() string

type GlanceImageMembers

type GlanceImageMembers struct {

	// 共享状态。
	Status string `json:"status"`

	// 共享时间,格式为UTC时间。
	CreatedAt string `json:"created_at"`

	// 更新时间,格式为UTC时间。
	UpdatedAt string `json:"updated_at"`

	// 镜像ID。
	ImageId string `json:"image_id"`

	// 成员ID。
	MemberId string `json:"member_id"`

	// 共享视图。
	Schema string `json:"schema"`
}

获取镜像成员列表

func (GlanceImageMembers) String

func (o GlanceImageMembers) String() string

type GlanceListImageMemberSchemasRequest

type GlanceListImageMemberSchemasRequest struct {
}

Request Object

func (GlanceListImageMemberSchemasRequest) String

type GlanceListImageMemberSchemasResponse

type GlanceListImageMemberSchemasResponse struct {

	// 视图链接。
	Links *[]Links `json:"links,omitempty"`

	// 视图名称。
	Name *string `json:"name,omitempty"`

	// 镜像属性说明,主要是对基础属性的说明,包含每个属性的取值类型,用途。
	Properties     *interface{} `json:"properties,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (GlanceListImageMemberSchemasResponse) String

type GlanceListImageMembersRequest

type GlanceListImageMembersRequest struct {

	// 镜像id
	ImageId string `json:"image_id"`
}

Request Object

func (GlanceListImageMembersRequest) String

type GlanceListImageMembersResponse

type GlanceListImageMembersResponse struct {

	// 成员信息
	Members *[]GlanceImageMembers `json:"members,omitempty"`

	// 视图信息
	Schema         *string `json:"schema,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceListImageMembersResponse) String

type GlanceListImageSchemasRequest

type GlanceListImageSchemasRequest struct {
}

Request Object

func (GlanceListImageSchemasRequest) String

type GlanceListImageSchemasResponse

type GlanceListImageSchemasResponse struct {

	// 视图名称。
	Name *string `json:"name,omitempty"`

	// 镜像属性说明,主要是对基础属性的说明,包含每个属性的取值类型、用途等。
	Properties *interface{} `json:"properties,omitempty"`

	// 视图链接。
	Links          *[]Links `json:"links,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (GlanceListImageSchemasResponse) String

type GlanceListImagesRequest

type GlanceListImagesRequest struct {

	// 镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared
	Imagetype *GlanceListImagesRequestImagetype `json:"__imagetype,omitempty"`

	// 镜像是否是受保护,取值为true/false。一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
	Isregistered *bool `json:"__isregistered,omitempty"`

	// 操作系统位数,一般取值为32或者64
	OsBit *GlanceListImagesRequestOsBit `json:"__os_bit,omitempty"`

	// 镜像系统类型,取值为Linux,Windows,Other
	OsType *GlanceListImagesRequestOsType `json:"__os_type,omitempty"`

	// 镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS
	Platform *GlanceListImagesRequestPlatform `json:"__platform,omitempty"`

	// 表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性
	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	// 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性
	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无需增加该属性
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	// 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
	SupportLargememory *string `json:"__support_largememory,omitempty"`

	// 如果镜像支持XEN,取值为true,否则无需增加该属性
	SupportXen *string `json:"__support_xen,omitempty"`

	// 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	// 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	// 容器类型
	ContainerFormat *string `json:"container_format,omitempty"`

	// 镜像格式,目前支持vhd,zvhd、raw,qcow2。默认值是vhd
	DiskFormat *GlanceListImagesRequestDiskFormat `json:"disk_format,omitempty"`

	// 镜像ID
	Id *string `json:"id,omitempty"`

	// 用于分页,表示查询几条镜像记录,取值为整数,默认返回25条镜像记录
	Limit *int32 `json:"limit,omitempty"`

	// 用于分页,表示从哪个镜像开始查询,取值为镜像ID。
	Marker *string `json:"marker,omitempty"`

	// 成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时,设置“visibility”参数为“shared”
	MemberStatus *string `json:"member_status,omitempty"`

	// 镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。取值为1~1024GB。取值为40~255GB
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像名称
	Name *string `json:"name,omitempty"`

	// 镜像属于哪个租户
	Owner *string `json:"owner,omitempty"`

	// 镜像是否是受保护,查询公共镜像时候取值为True,查询私有镜像可以不指定。
	Protected *bool `json:"protected,omitempty"`

	// 用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc
	SortDir *string `json:"sort_dir,omitempty"`

	// 用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status,id,size字段,默认为创建时间。
	SortKey *string `json:"sort_key,omitempty"`

	// 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用
	Status *GlanceListImagesRequestStatus `json:"status,omitempty"`

	// 标签,用户为镜像增加自定义标签后可以通过该参数过滤查询
	Tag *string `json:"tag,omitempty"`

	// 是否被其他租户可见,取值如下: public:公共镜像 private:私有镜像 shared:共享镜像
	Visibility *GlanceListImagesRequestVisibility `json:"visibility,omitempty"`

	// 镜像创建时间。支持按照时间点过滤查询,取值格式为“ 操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询创建时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: created_at=gt:2018-10-28T10:00:00Z
	CreatedAt *string `json:"created_at,omitempty"`

	// 镜像修改时间。支持按照时间点过滤查询,取值格式为 “ 操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询修改时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: updated_at=gt:2018-10-28T10:00:00Z
	UpdatedAt *string `json:"updated_at,omitempty"`
}

Request Object

func (GlanceListImagesRequest) String

func (o GlanceListImagesRequest) String() string

type GlanceListImagesRequestDiskFormat

type GlanceListImagesRequestDiskFormat struct {
	// contains filtered or unexported fields
}

func (GlanceListImagesRequestDiskFormat) MarshalJSON

func (c GlanceListImagesRequestDiskFormat) MarshalJSON() ([]byte, error)

func (*GlanceListImagesRequestDiskFormat) UnmarshalJSON

func (c *GlanceListImagesRequestDiskFormat) UnmarshalJSON(b []byte) error

func (GlanceListImagesRequestDiskFormat) Value added in v0.0.90

type GlanceListImagesRequestImagetype

type GlanceListImagesRequestImagetype struct {
	// contains filtered or unexported fields
}

func (GlanceListImagesRequestImagetype) MarshalJSON

func (c GlanceListImagesRequestImagetype) MarshalJSON() ([]byte, error)

func (*GlanceListImagesRequestImagetype) UnmarshalJSON

func (c *GlanceListImagesRequestImagetype) UnmarshalJSON(b []byte) error

func (GlanceListImagesRequestImagetype) Value added in v0.0.90

type GlanceListImagesRequestOsBit

type GlanceListImagesRequestOsBit struct {
	// contains filtered or unexported fields
}

func (GlanceListImagesRequestOsBit) MarshalJSON

func (c GlanceListImagesRequestOsBit) MarshalJSON() ([]byte, error)

func (*GlanceListImagesRequestOsBit) UnmarshalJSON

func (c *GlanceListImagesRequestOsBit) UnmarshalJSON(b []byte) error

func (GlanceListImagesRequestOsBit) Value added in v0.0.90

type GlanceListImagesRequestOsBitEnum

type GlanceListImagesRequestOsBitEnum struct {
	E_32 GlanceListImagesRequestOsBit
	E_64 GlanceListImagesRequestOsBit
}

func GetGlanceListImagesRequestOsBitEnum

func GetGlanceListImagesRequestOsBitEnum() GlanceListImagesRequestOsBitEnum

type GlanceListImagesRequestOsType

type GlanceListImagesRequestOsType struct {
	// contains filtered or unexported fields
}

func (GlanceListImagesRequestOsType) MarshalJSON

func (c GlanceListImagesRequestOsType) MarshalJSON() ([]byte, error)

func (*GlanceListImagesRequestOsType) UnmarshalJSON

func (c *GlanceListImagesRequestOsType) UnmarshalJSON(b []byte) error

func (GlanceListImagesRequestOsType) Value added in v0.0.90

type GlanceListImagesRequestOsTypeEnum

type GlanceListImagesRequestOsTypeEnum struct {
	LINUX   GlanceListImagesRequestOsType
	WINDOWS GlanceListImagesRequestOsType
	OTHER   GlanceListImagesRequestOsType
}

func GetGlanceListImagesRequestOsTypeEnum

func GetGlanceListImagesRequestOsTypeEnum() GlanceListImagesRequestOsTypeEnum

type GlanceListImagesRequestPlatform

type GlanceListImagesRequestPlatform struct {
	// contains filtered or unexported fields
}

func (GlanceListImagesRequestPlatform) MarshalJSON

func (c GlanceListImagesRequestPlatform) MarshalJSON() ([]byte, error)

func (*GlanceListImagesRequestPlatform) UnmarshalJSON

func (c *GlanceListImagesRequestPlatform) UnmarshalJSON(b []byte) error

func (GlanceListImagesRequestPlatform) Value added in v0.0.90

type GlanceListImagesRequestStatus

type GlanceListImagesRequestStatus struct {
	// contains filtered or unexported fields
}

func (GlanceListImagesRequestStatus) MarshalJSON

func (c GlanceListImagesRequestStatus) MarshalJSON() ([]byte, error)

func (*GlanceListImagesRequestStatus) UnmarshalJSON

func (c *GlanceListImagesRequestStatus) UnmarshalJSON(b []byte) error

func (GlanceListImagesRequestStatus) Value added in v0.0.90

type GlanceListImagesRequestVisibility

type GlanceListImagesRequestVisibility struct {
	// contains filtered or unexported fields
}

func (GlanceListImagesRequestVisibility) MarshalJSON

func (c GlanceListImagesRequestVisibility) MarshalJSON() ([]byte, error)

func (*GlanceListImagesRequestVisibility) UnmarshalJSON

func (c *GlanceListImagesRequestVisibility) UnmarshalJSON(b []byte) error

func (GlanceListImagesRequestVisibility) Value added in v0.0.90

type GlanceListImagesResponse

type GlanceListImagesResponse struct {

	// 查询首页的URL。
	First *string `json:"first,omitempty"`

	// 资源类型。
	Images *[]GlanceShowImageResponseBody `json:"images,omitempty"`

	// 描述镜像列表模式的URL。
	Schema *string `json:"schema,omitempty"`

	// 查询下一页的URL。当查询镜像列表最后一页时,不存在next。
	Next           *string `json:"next,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceListImagesResponse) String

func (o GlanceListImagesResponse) String() string

type GlanceShowImageMemberRequest

type GlanceShowImageMemberRequest struct {

	// 镜像id
	ImageId string `json:"image_id"`

	// 成员id
	MemberId string `json:"member_id"`
}

Request Object

func (GlanceShowImageMemberRequest) String

type GlanceShowImageMemberResponse

type GlanceShowImageMemberResponse struct {

	// 共享状态
	Status *string `json:"status,omitempty"`

	// 共享时间,格式为UTC时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间,格式为UTC时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 镜像ID
	ImageId *string `json:"image_id,omitempty"`

	// 成员ID
	MemberId *string `json:"member_id,omitempty"`

	// 共享视图
	Schema         *string `json:"schema,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceShowImageMemberResponse) String

type GlanceShowImageMemberSchemasRequest

type GlanceShowImageMemberSchemasRequest struct {
}

Request Object

func (GlanceShowImageMemberSchemasRequest) String

type GlanceShowImageMemberSchemasResponse

type GlanceShowImageMemberSchemasResponse struct {

	// 视图名称。
	Name *string `json:"name,omitempty"`

	// 镜像成员属性说明,主要是对基础属性的说明,包含每个属性的取值类型、用途等。
	Properties     *interface{} `json:"properties,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (GlanceShowImageMemberSchemasResponse) String

type GlanceShowImageRequest

type GlanceShowImageRequest struct {

	// 镜像ID
	ImageId string `json:"image_id"`
}

Request Object

func (GlanceShowImageRequest) String

func (o GlanceShowImageRequest) String() string

type GlanceShowImageResponse

type GlanceShowImageResponse struct {

	// 备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空。
	BackupId *string `json:"__backup_id,omitempty"`

	// 镜像来源。公共镜像为空。
	DataOrigin *string `json:"__data_origin,omitempty"`

	// 镜像描述信息。
	Description *string `json:"__description,omitempty"`

	// 镜像文件的大小,单位为字节。目前取值为大于0的字符串。
	ImageSize *string `json:"__image_size,omitempty"`

	// 镜像后端存储类型,目前只支持uds
	ImageSourceType *GlanceShowImageResponseImageSourceType `json:"__image_source_type,omitempty"`

	// 镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared
	Imagetype *GlanceShowImageResponseImagetype `json:"__imagetype,omitempty"`

	// 是否是注册过的镜像,取值为“true”或者“false”。
	Isregistered *GlanceShowImageResponseIsregistered `json:"__isregistered,omitempty"`

	// 父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空。
	Originalimagename *string `json:"__originalimagename,omitempty"`

	// 操作系统位数,一般取值为“32”或者“64”。
	OsBit *GlanceShowImageResponseOsBit `json:"__os_bit,omitempty"`

	// 操作系统类型,目前取值Linux, Windows,Other。
	OsType *GlanceShowImageResponseOsType `json:"__os_type,omitempty"`

	// 操作系统具体版本。
	OsVersion *string `json:"__os_version,omitempty"`

	// 镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS。
	Platform *GlanceShowImageResponsePlatform `json:"__platform,omitempty"`

	// 市场镜像的产品ID。
	Productcode *string `json:"__productcode,omitempty"`

	// 表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	// 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无需增加该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	// 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
	SupportLargememory *string `json:"__support_largememory,omitempty"`

	// 如果镜像支持XEN,取值为true,否则无需增加该属性。
	SupportXen *string `json:"__support_xen,omitempty"`

	// 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,取值参考8.10-表 镜像支持的GPU类型说明。镜像操作系统类型请参考8.10-表 镜像类型。如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	// 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	// 目前暂时不使用。
	Checksum *string `json:"checksum,omitempty"`

	// 容器类型。
	ContainerFormat *string `json:"container_format,omitempty"`

	// 创建时间。格式为UTC时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 镜像的格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
	DiskFormat *GlanceShowImageResponseDiskFormat `json:"disk_format,omitempty"`

	// 镜像文件下载和上传链接。
	File *string `json:"file,omitempty"`

	// 镜像ID。
	Id *string `json:"id,omitempty"`

	// 镜像运行需要的最小磁盘容量,单位为GB
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 镜像运行最小内存,单位为MB。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像名称。
	Name *string `json:"name,omitempty"`

	// 镜像属于哪个租户。
	Owner *string `json:"owner,omitempty"`

	// 是否是受保护的,受保护的镜像不允许删除。取值为true或false。
	Protected *bool `json:"protected,omitempty"`

	// 镜像视图。
	Schema *string `json:"schema,omitempty"`

	// 镜像链接信息。
	Self *string `json:"self,omitempty"`

	// 目前暂时不使用。
	Size *int64 `json:"size,omitempty"`

	// 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用。
	Status *GlanceShowImageResponseStatus `json:"status,omitempty"`

	// 镜像标签列表,提供用户可以自定义管理私有镜像的能力。用户可以通过镜像标签接口为每个镜像增加不同的标签,在查询接口中可以根据标签进行过滤。
	Tags *[]string `json:"tags,omitempty"`

	// 更新时间。格式为UTC时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 镜像使用环境类型:FusionCompute,Ironic,DataImage。
	VirtualEnvType *GlanceShowImageResponseVirtualEnvType `json:"virtual_env_type,omitempty"`

	// 目前暂时不使用。
	VirtualSize *int32 `json:"virtual_size,omitempty"`

	// 是否被其他租户可见,取值如下:private:私有镜像public:公共镜像shared:共享镜像
	Visibility *GlanceShowImageResponseVisibility `json:"visibility,omitempty"`

	// 表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
	SupportFcInject *GlanceShowImageResponseSupportFcInject `json:"__support_fc_inject,omitempty"`

	// 表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
	HwFirmwareType *GlanceShowImageResponseHwFirmwareType `json:"hw_firmware_type,omitempty"`

	// 是否为ARM架构类型的镜像,取值为“true”或者“false”。
	SupportArm *GlanceShowImageResponseSupportArm `json:"__support_arm,omitempty"`

	// 表示当前市场镜像是否下架。 true:已下架 false:未下架
	IsOffshelved *GlanceShowImageResponseIsOffshelved `json:"__is_offshelved,omitempty"`

	// 镜像是否支持延迟加载。取值为True或False。
	Lazyloading *string `json:"__lazyloading,omitempty"`

	// 镜像附加属性。该属性采用JSON格式来标识镜像支持的高级特性清单。
	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	// 表示当前镜像来源是从外部导入。取值:file。
	RootOrigin *string `json:"__root_origin,omitempty"`

	// 目前暂时不用
	SequenceNum *string `json:"__sequence_num,omitempty"`

	// 镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控
	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	// 加密镜像所使用的密钥ID。
	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	// 镜像状态变为正常的时间。
	ActiveAt *string `json:"active_at,omitempty"`

	// 镜像是否支持网卡多队列。取值为true或者false。
	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	// 镜像支持的最大内存,单位为MB。取值可以参考云服务器规格限制,一般不设置。
	MaxRam *string `json:"max_ram,omitempty"`

	// 镜像的存储位置。
	ImageLocation *string `json:"__image_location,omitempty"`

	// 是否完成了初始化配置。取值为true或false
	IsConfigInit *string `json:"__is_config_init,omitempty"`

	// 收费镜像标识。
	AccountCode *string `json:"__account_code,omitempty"`

	// 是否是AMD架构类型的镜像。取值为“true”或者“false”。
	SupportAmd     *string `json:"__support_amd,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceShowImageResponse) String

func (o GlanceShowImageResponse) String() string

type GlanceShowImageResponseBody

type GlanceShowImageResponseBody struct {

	// 备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空。
	BackupId *string `json:"__backup_id,omitempty"`

	// 镜像来源。公共镜像为空。
	DataOrigin *string `json:"__data_origin,omitempty"`

	// 镜像描述信息。
	Description *string `json:"__description,omitempty"`

	// 镜像文件的大小,单位为字节。目前取值为大于0的字符串。
	ImageSize string `json:"__image_size"`

	// 镜像后端存储类型,目前只支持uds
	ImageSourceType GlanceShowImageResponseBodyImageSourceType `json:"__image_source_type"`

	// 镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared
	Imagetype GlanceShowImageResponseBodyImagetype `json:"__imagetype"`

	// 是否是注册过的镜像,取值为“true”或者“false”。
	Isregistered GlanceShowImageResponseBodyIsregistered `json:"__isregistered"`

	// 父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空。
	Originalimagename *string `json:"__originalimagename,omitempty"`

	// 操作系统位数,一般取值为“32”或者“64”。
	OsBit *GlanceShowImageResponseBodyOsBit `json:"__os_bit,omitempty"`

	// 操作系统类型,目前取值Linux, Windows,Other。
	OsType GlanceShowImageResponseBodyOsType `json:"__os_type"`

	// 操作系统具体版本。
	OsVersion *string `json:"__os_version,omitempty"`

	// 镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS。
	Platform *GlanceShowImageResponseBodyPlatform `json:"__platform,omitempty"`

	// 市场镜像的产品ID。
	Productcode *string `json:"__productcode,omitempty"`

	// 表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	// 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无需增加该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	// 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
	SupportLargememory *string `json:"__support_largememory,omitempty"`

	// 如果镜像支持XEN,取值为true,否则无需增加该属性。
	SupportXen *string `json:"__support_xen,omitempty"`

	// 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,取值参考8.10-表 镜像支持的GPU类型说明。镜像操作系统类型请参考8.10-表 镜像类型。如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	// 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	// 目前暂时不使用。
	Checksum *string `json:"checksum,omitempty"`

	// 容器类型。
	ContainerFormat string `json:"container_format"`

	// 创建时间。格式为UTC时间。
	CreatedAt string `json:"created_at"`

	// 镜像的格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
	DiskFormat GlanceShowImageResponseBodyDiskFormat `json:"disk_format"`

	// 镜像文件下载和上传链接。
	File string `json:"file"`

	// 镜像ID。
	Id string `json:"id"`

	// 镜像运行需要的最小磁盘容量,单位为GB
	MinDisk int32 `json:"min_disk"`

	// 镜像运行最小内存,单位为MB。
	MinRam int32 `json:"min_ram"`

	// 镜像名称。
	Name string `json:"name"`

	// 镜像属于哪个租户。
	Owner string `json:"owner"`

	// 是否是受保护的,受保护的镜像不允许删除。取值为true或false。
	Protected bool `json:"protected"`

	// 镜像视图。
	Schema string `json:"schema"`

	// 镜像链接信息。
	Self string `json:"self"`

	// 目前暂时不使用。
	Size *int64 `json:"size,omitempty"`

	// 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用。
	Status GlanceShowImageResponseBodyStatus `json:"status"`

	// 镜像标签列表,提供用户可以自定义管理私有镜像的能力。用户可以通过镜像标签接口为每个镜像增加不同的标签,在查询接口中可以根据标签进行过滤。
	Tags []string `json:"tags"`

	// 更新时间。格式为UTC时间。
	UpdatedAt string `json:"updated_at"`

	// 镜像使用环境类型:FusionCompute,Ironic,DataImage。
	VirtualEnvType GlanceShowImageResponseBodyVirtualEnvType `json:"virtual_env_type"`

	// 目前暂时不使用。
	VirtualSize *int32 `json:"virtual_size,omitempty"`

	// 是否被其他租户可见,取值如下:private:私有镜像public:公共镜像shared:共享镜像
	Visibility GlanceShowImageResponseBodyVisibility `json:"visibility"`

	// 表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
	SupportFcInject *GlanceShowImageResponseBodySupportFcInject `json:"__support_fc_inject,omitempty"`

	// 表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
	HwFirmwareType *GlanceShowImageResponseBodyHwFirmwareType `json:"hw_firmware_type,omitempty"`

	// 是否为ARM架构类型的镜像,取值为“true”或者“false”。
	SupportArm *GlanceShowImageResponseBodySupportArm `json:"__support_arm,omitempty"`

	// 表示当前市场镜像是否下架。 true:已下架 false:未下架
	IsOffshelved *GlanceShowImageResponseBodyIsOffshelved `json:"__is_offshelved,omitempty"`

	// 镜像是否支持延迟加载。取值为True或False。
	Lazyloading *string `json:"__lazyloading,omitempty"`

	// 镜像附加属性。该属性采用JSON格式来标识镜像支持的高级特性清单。
	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	// 表示当前镜像来源是从外部导入。取值:file。
	RootOrigin *string `json:"__root_origin,omitempty"`

	// 目前暂时不用
	SequenceNum *string `json:"__sequence_num,omitempty"`

	// 镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控
	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	// 加密镜像所使用的密钥ID。
	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	// 镜像状态变为正常的时间。
	ActiveAt *string `json:"active_at,omitempty"`

	// 镜像是否支持网卡多队列。取值为true或者false。
	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	// 镜像支持的最大内存,单位为MB。取值可以参考云服务器规格限制,一般不设置。
	MaxRam *string `json:"max_ram,omitempty"`

	// 镜像的存储位置。
	ImageLocation *string `json:"__image_location,omitempty"`

	// 是否完成了初始化配置。取值为true或false
	IsConfigInit *string `json:"__is_config_init,omitempty"`

	// 收费镜像标识。
	AccountCode *string `json:"__account_code,omitempty"`

	// 是否是AMD架构类型的镜像。取值为“true”或者“false”。
	SupportAmd *string `json:"__support_amd,omitempty"`
}

镜像信息响应体

func (GlanceShowImageResponseBody) String

type GlanceShowImageResponseBodyDiskFormat

type GlanceShowImageResponseBodyDiskFormat struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyDiskFormat) MarshalJSON

func (c GlanceShowImageResponseBodyDiskFormat) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodyDiskFormat) UnmarshalJSON

func (c *GlanceShowImageResponseBodyDiskFormat) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodyDiskFormat) Value added in v0.0.90

type GlanceShowImageResponseBodyHwFirmwareType

type GlanceShowImageResponseBodyHwFirmwareType struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyHwFirmwareType) MarshalJSON

func (*GlanceShowImageResponseBodyHwFirmwareType) UnmarshalJSON

func (GlanceShowImageResponseBodyHwFirmwareType) Value added in v0.0.90

type GlanceShowImageResponseBodyImageSourceType

type GlanceShowImageResponseBodyImageSourceType struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyImageSourceType) MarshalJSON

func (*GlanceShowImageResponseBodyImageSourceType) UnmarshalJSON

func (GlanceShowImageResponseBodyImageSourceType) Value added in v0.0.90

type GlanceShowImageResponseBodyImagetype

type GlanceShowImageResponseBodyImagetype struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyImagetype) MarshalJSON

func (c GlanceShowImageResponseBodyImagetype) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodyImagetype) UnmarshalJSON

func (c *GlanceShowImageResponseBodyImagetype) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodyImagetype) Value added in v0.0.90

type GlanceShowImageResponseBodyIsOffshelved

type GlanceShowImageResponseBodyIsOffshelved struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyIsOffshelved) MarshalJSON

func (c GlanceShowImageResponseBodyIsOffshelved) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodyIsOffshelved) UnmarshalJSON

func (c *GlanceShowImageResponseBodyIsOffshelved) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodyIsOffshelved) Value added in v0.0.90

type GlanceShowImageResponseBodyIsOffshelvedEnum

type GlanceShowImageResponseBodyIsOffshelvedEnum struct {
	TRUE  GlanceShowImageResponseBodyIsOffshelved
	FALSE GlanceShowImageResponseBodyIsOffshelved
}

func GetGlanceShowImageResponseBodyIsOffshelvedEnum

func GetGlanceShowImageResponseBodyIsOffshelvedEnum() GlanceShowImageResponseBodyIsOffshelvedEnum

type GlanceShowImageResponseBodyIsregistered

type GlanceShowImageResponseBodyIsregistered struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyIsregistered) MarshalJSON

func (c GlanceShowImageResponseBodyIsregistered) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodyIsregistered) UnmarshalJSON

func (c *GlanceShowImageResponseBodyIsregistered) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodyIsregistered) Value added in v0.0.90

type GlanceShowImageResponseBodyIsregisteredEnum

type GlanceShowImageResponseBodyIsregisteredEnum struct {
	TRUE  GlanceShowImageResponseBodyIsregistered
	FALSE GlanceShowImageResponseBodyIsregistered
}

func GetGlanceShowImageResponseBodyIsregisteredEnum

func GetGlanceShowImageResponseBodyIsregisteredEnum() GlanceShowImageResponseBodyIsregisteredEnum

type GlanceShowImageResponseBodyOsBit

type GlanceShowImageResponseBodyOsBit struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyOsBit) MarshalJSON

func (c GlanceShowImageResponseBodyOsBit) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodyOsBit) UnmarshalJSON

func (c *GlanceShowImageResponseBodyOsBit) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodyOsBit) Value added in v0.0.90

type GlanceShowImageResponseBodyOsBitEnum

type GlanceShowImageResponseBodyOsBitEnum struct {
	E_32 GlanceShowImageResponseBodyOsBit
	E_64 GlanceShowImageResponseBodyOsBit
}

func GetGlanceShowImageResponseBodyOsBitEnum

func GetGlanceShowImageResponseBodyOsBitEnum() GlanceShowImageResponseBodyOsBitEnum

type GlanceShowImageResponseBodyOsType

type GlanceShowImageResponseBodyOsType struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyOsType) MarshalJSON

func (c GlanceShowImageResponseBodyOsType) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodyOsType) UnmarshalJSON

func (c *GlanceShowImageResponseBodyOsType) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodyOsType) Value added in v0.0.90

type GlanceShowImageResponseBodyPlatform

type GlanceShowImageResponseBodyPlatform struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyPlatform) MarshalJSON

func (c GlanceShowImageResponseBodyPlatform) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodyPlatform) UnmarshalJSON

func (c *GlanceShowImageResponseBodyPlatform) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodyPlatform) Value added in v0.0.90

type GlanceShowImageResponseBodyStatus

type GlanceShowImageResponseBodyStatus struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyStatus) MarshalJSON

func (c GlanceShowImageResponseBodyStatus) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodyStatus) UnmarshalJSON

func (c *GlanceShowImageResponseBodyStatus) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodyStatus) Value added in v0.0.90

type GlanceShowImageResponseBodySupportArm

type GlanceShowImageResponseBodySupportArm struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodySupportArm) MarshalJSON

func (c GlanceShowImageResponseBodySupportArm) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodySupportArm) UnmarshalJSON

func (c *GlanceShowImageResponseBodySupportArm) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodySupportArm) Value added in v0.0.90

type GlanceShowImageResponseBodySupportArmEnum

type GlanceShowImageResponseBodySupportArmEnum struct {
	TRUE  GlanceShowImageResponseBodySupportArm
	FALSE GlanceShowImageResponseBodySupportArm
}

func GetGlanceShowImageResponseBodySupportArmEnum

func GetGlanceShowImageResponseBodySupportArmEnum() GlanceShowImageResponseBodySupportArmEnum

type GlanceShowImageResponseBodySupportFcInject

type GlanceShowImageResponseBodySupportFcInject struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodySupportFcInject) MarshalJSON

func (*GlanceShowImageResponseBodySupportFcInject) UnmarshalJSON

func (GlanceShowImageResponseBodySupportFcInject) Value added in v0.0.90

type GlanceShowImageResponseBodyVirtualEnvType

type GlanceShowImageResponseBodyVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyVirtualEnvType) MarshalJSON

func (*GlanceShowImageResponseBodyVirtualEnvType) UnmarshalJSON

func (GlanceShowImageResponseBodyVirtualEnvType) Value added in v0.0.90

type GlanceShowImageResponseBodyVisibility

type GlanceShowImageResponseBodyVisibility struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseBodyVisibility) MarshalJSON

func (c GlanceShowImageResponseBodyVisibility) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseBodyVisibility) UnmarshalJSON

func (c *GlanceShowImageResponseBodyVisibility) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseBodyVisibility) Value added in v0.0.90

type GlanceShowImageResponseDiskFormat

type GlanceShowImageResponseDiskFormat struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseDiskFormat) MarshalJSON

func (c GlanceShowImageResponseDiskFormat) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseDiskFormat) UnmarshalJSON

func (c *GlanceShowImageResponseDiskFormat) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseDiskFormat) Value added in v0.0.90

type GlanceShowImageResponseHwFirmwareType

type GlanceShowImageResponseHwFirmwareType struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseHwFirmwareType) MarshalJSON

func (c GlanceShowImageResponseHwFirmwareType) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseHwFirmwareType) UnmarshalJSON

func (c *GlanceShowImageResponseHwFirmwareType) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseHwFirmwareType) Value added in v0.0.90

type GlanceShowImageResponseHwFirmwareTypeEnum

type GlanceShowImageResponseHwFirmwareTypeEnum struct {
	BIOS GlanceShowImageResponseHwFirmwareType
	UEFI GlanceShowImageResponseHwFirmwareType
}

func GetGlanceShowImageResponseHwFirmwareTypeEnum

func GetGlanceShowImageResponseHwFirmwareTypeEnum() GlanceShowImageResponseHwFirmwareTypeEnum

type GlanceShowImageResponseImageSourceType

type GlanceShowImageResponseImageSourceType struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseImageSourceType) MarshalJSON

func (c GlanceShowImageResponseImageSourceType) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseImageSourceType) UnmarshalJSON

func (c *GlanceShowImageResponseImageSourceType) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseImageSourceType) Value added in v0.0.90

type GlanceShowImageResponseImageSourceTypeEnum

type GlanceShowImageResponseImageSourceTypeEnum struct {
	UDS   GlanceShowImageResponseImageSourceType
	SWIFT GlanceShowImageResponseImageSourceType
}

func GetGlanceShowImageResponseImageSourceTypeEnum

func GetGlanceShowImageResponseImageSourceTypeEnum() GlanceShowImageResponseImageSourceTypeEnum

type GlanceShowImageResponseImagetype

type GlanceShowImageResponseImagetype struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseImagetype) MarshalJSON

func (c GlanceShowImageResponseImagetype) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseImagetype) UnmarshalJSON

func (c *GlanceShowImageResponseImagetype) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseImagetype) Value added in v0.0.90

type GlanceShowImageResponseIsOffshelved

type GlanceShowImageResponseIsOffshelved struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseIsOffshelved) MarshalJSON

func (c GlanceShowImageResponseIsOffshelved) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseIsOffshelved) UnmarshalJSON

func (c *GlanceShowImageResponseIsOffshelved) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseIsOffshelved) Value added in v0.0.90

type GlanceShowImageResponseIsOffshelvedEnum

type GlanceShowImageResponseIsOffshelvedEnum struct {
	TRUE  GlanceShowImageResponseIsOffshelved
	FALSE GlanceShowImageResponseIsOffshelved
}

func GetGlanceShowImageResponseIsOffshelvedEnum

func GetGlanceShowImageResponseIsOffshelvedEnum() GlanceShowImageResponseIsOffshelvedEnum

type GlanceShowImageResponseIsregistered

type GlanceShowImageResponseIsregistered struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseIsregistered) MarshalJSON

func (c GlanceShowImageResponseIsregistered) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseIsregistered) UnmarshalJSON

func (c *GlanceShowImageResponseIsregistered) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseIsregistered) Value added in v0.0.90

type GlanceShowImageResponseIsregisteredEnum

type GlanceShowImageResponseIsregisteredEnum struct {
	TRUE  GlanceShowImageResponseIsregistered
	FALSE GlanceShowImageResponseIsregistered
}

func GetGlanceShowImageResponseIsregisteredEnum

func GetGlanceShowImageResponseIsregisteredEnum() GlanceShowImageResponseIsregisteredEnum

type GlanceShowImageResponseOsBit

type GlanceShowImageResponseOsBit struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseOsBit) MarshalJSON

func (c GlanceShowImageResponseOsBit) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseOsBit) UnmarshalJSON

func (c *GlanceShowImageResponseOsBit) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseOsBit) Value added in v0.0.90

type GlanceShowImageResponseOsBitEnum

type GlanceShowImageResponseOsBitEnum struct {
	E_32 GlanceShowImageResponseOsBit
	E_64 GlanceShowImageResponseOsBit
}

func GetGlanceShowImageResponseOsBitEnum

func GetGlanceShowImageResponseOsBitEnum() GlanceShowImageResponseOsBitEnum

type GlanceShowImageResponseOsType

type GlanceShowImageResponseOsType struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseOsType) MarshalJSON

func (c GlanceShowImageResponseOsType) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseOsType) UnmarshalJSON

func (c *GlanceShowImageResponseOsType) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseOsType) Value added in v0.0.90

type GlanceShowImageResponseOsTypeEnum

type GlanceShowImageResponseOsTypeEnum struct {
	LINUX   GlanceShowImageResponseOsType
	WINDOWS GlanceShowImageResponseOsType
	OTHER   GlanceShowImageResponseOsType
}

func GetGlanceShowImageResponseOsTypeEnum

func GetGlanceShowImageResponseOsTypeEnum() GlanceShowImageResponseOsTypeEnum

type GlanceShowImageResponsePlatform

type GlanceShowImageResponsePlatform struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponsePlatform) MarshalJSON

func (c GlanceShowImageResponsePlatform) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponsePlatform) UnmarshalJSON

func (c *GlanceShowImageResponsePlatform) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponsePlatform) Value added in v0.0.90

type GlanceShowImageResponseStatus

type GlanceShowImageResponseStatus struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseStatus) MarshalJSON

func (c GlanceShowImageResponseStatus) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseStatus) UnmarshalJSON

func (c *GlanceShowImageResponseStatus) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseStatus) Value added in v0.0.90

type GlanceShowImageResponseSupportArm

type GlanceShowImageResponseSupportArm struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseSupportArm) MarshalJSON

func (c GlanceShowImageResponseSupportArm) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseSupportArm) UnmarshalJSON

func (c *GlanceShowImageResponseSupportArm) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseSupportArm) Value added in v0.0.90

type GlanceShowImageResponseSupportArmEnum

type GlanceShowImageResponseSupportArmEnum struct {
	TRUE  GlanceShowImageResponseSupportArm
	FALSE GlanceShowImageResponseSupportArm
}

func GetGlanceShowImageResponseSupportArmEnum

func GetGlanceShowImageResponseSupportArmEnum() GlanceShowImageResponseSupportArmEnum

type GlanceShowImageResponseSupportFcInject

type GlanceShowImageResponseSupportFcInject struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseSupportFcInject) MarshalJSON

func (c GlanceShowImageResponseSupportFcInject) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseSupportFcInject) UnmarshalJSON

func (c *GlanceShowImageResponseSupportFcInject) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseSupportFcInject) Value added in v0.0.90

type GlanceShowImageResponseSupportFcInjectEnum

type GlanceShowImageResponseSupportFcInjectEnum struct {
	TRUE  GlanceShowImageResponseSupportFcInject
	FALSE GlanceShowImageResponseSupportFcInject
}

func GetGlanceShowImageResponseSupportFcInjectEnum

func GetGlanceShowImageResponseSupportFcInjectEnum() GlanceShowImageResponseSupportFcInjectEnum

type GlanceShowImageResponseVirtualEnvType

type GlanceShowImageResponseVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseVirtualEnvType) MarshalJSON

func (c GlanceShowImageResponseVirtualEnvType) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseVirtualEnvType) UnmarshalJSON

func (c *GlanceShowImageResponseVirtualEnvType) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseVirtualEnvType) Value added in v0.0.90

type GlanceShowImageResponseVirtualEnvTypeEnum

type GlanceShowImageResponseVirtualEnvTypeEnum struct {
	FUSION_COMPUTE GlanceShowImageResponseVirtualEnvType
	IRONIC         GlanceShowImageResponseVirtualEnvType
	DATA_IMAGE     GlanceShowImageResponseVirtualEnvType
}

func GetGlanceShowImageResponseVirtualEnvTypeEnum

func GetGlanceShowImageResponseVirtualEnvTypeEnum() GlanceShowImageResponseVirtualEnvTypeEnum

type GlanceShowImageResponseVisibility

type GlanceShowImageResponseVisibility struct {
	// contains filtered or unexported fields
}

func (GlanceShowImageResponseVisibility) MarshalJSON

func (c GlanceShowImageResponseVisibility) MarshalJSON() ([]byte, error)

func (*GlanceShowImageResponseVisibility) UnmarshalJSON

func (c *GlanceShowImageResponseVisibility) UnmarshalJSON(b []byte) error

func (GlanceShowImageResponseVisibility) Value added in v0.0.90

type GlanceShowImageSchemasRequest

type GlanceShowImageSchemasRequest struct {
}

Request Object

func (GlanceShowImageSchemasRequest) String

type GlanceShowImageSchemasResponse

type GlanceShowImageSchemasResponse struct {
	AdditionalProperties *AdditionalProperties `json:"additionalProperties,omitempty"`

	// 视图名称。
	Name *string `json:"name,omitempty"`

	// 镜像属性说明,主要是对基础属性的说明,包含每个属性的取值类型、用途等。
	Properties *interface{} `json:"properties,omitempty"`

	// 视图链接。
	Links          *[]Links `json:"links,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (GlanceShowImageSchemasResponse) String

type GlanceUpdateImageMemberRequest

type GlanceUpdateImageMemberRequest struct {

	// 镜像id
	ImageId string `json:"image_id"`

	// 成员id
	MemberId string `json:"member_id"`

	Body *GlanceUpdateImageMemberRequestBody `json:"body,omitempty"`
}

Request Object

func (GlanceUpdateImageMemberRequest) String

type GlanceUpdateImageMemberRequestBody

type GlanceUpdateImageMemberRequestBody struct {

	// 镜像成员的状态。 取值如下: accepted:表示接受共享镜像。接受后,该镜像在用户镜像列表中可见,用户可以使用该镜像创建云服务器。 rejected:表示拒绝共享镜像。拒绝后,该镜像在用户镜像列表中不可见,但是,用户仍然可以使用该镜像创建云服务器。
	Status GlanceUpdateImageMemberRequestBodyStatus `json:"status"`

	// 存储库ID。 如果是CBR创建的整机镜像,则在接受该共享镜像时,为必选参数,需传入该值。 存储库ID可以从云备份服务控制台获取,或者参考《云备份接口参考》的“查询存储库列表”章节查询。
	VaultId *string `json:"vault_id,omitempty"`
}

镜像成员的状态。

func (GlanceUpdateImageMemberRequestBody) String

type GlanceUpdateImageMemberRequestBodyStatus

type GlanceUpdateImageMemberRequestBodyStatus struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageMemberRequestBodyStatus) MarshalJSON

func (*GlanceUpdateImageMemberRequestBodyStatus) UnmarshalJSON

func (c *GlanceUpdateImageMemberRequestBodyStatus) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageMemberRequestBodyStatus) Value added in v0.0.90

type GlanceUpdateImageMemberRequestBodyStatusEnum

type GlanceUpdateImageMemberRequestBodyStatusEnum struct {
	ACCEPTED GlanceUpdateImageMemberRequestBodyStatus
	REJECTED GlanceUpdateImageMemberRequestBodyStatus
}

func GetGlanceUpdateImageMemberRequestBodyStatusEnum

func GetGlanceUpdateImageMemberRequestBodyStatusEnum() GlanceUpdateImageMemberRequestBodyStatusEnum

type GlanceUpdateImageMemberResponse

type GlanceUpdateImageMemberResponse struct {

	// 共享状态
	Status *string `json:"status,omitempty"`

	// 共享时间,格式为UTC时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间,格式为UTC时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 镜像ID
	ImageId *string `json:"image_id,omitempty"`

	// 成员ID
	MemberId *string `json:"member_id,omitempty"`

	// 共享视图
	Schema         *string `json:"schema,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceUpdateImageMemberResponse) String

type GlanceUpdateImageRequest

type GlanceUpdateImageRequest struct {

	// 镜像ID
	ImageId string `json:"image_id"`

	Body *[]GlanceUpdateImageRequestBody `json:"body,omitempty"`
}

Request Object

func (GlanceUpdateImageRequest) String

func (o GlanceUpdateImageRequest) String() string

type GlanceUpdateImageRequestBody

type GlanceUpdateImageRequestBody struct {

	// 所需进行的更新操作的类型:替换、添加、删除。取值范围:replace、add、remove
	Op GlanceUpdateImageRequestBodyOp `json:"op"`

	// 所要操作的属性名称。 replace和remove操作取值只能是镜像当前已有的属性、add操作取值只能是镜像当前不存在的属性,需要在属性名称前加”/”
	Path string `json:"path"`

	// 所需更新/添加属性的值
	Value *string `json:"value,omitempty"`
}

原生更新接口请求体

func (GlanceUpdateImageRequestBody) String

type GlanceUpdateImageRequestBodyOp

type GlanceUpdateImageRequestBodyOp struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageRequestBodyOp) MarshalJSON

func (c GlanceUpdateImageRequestBodyOp) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageRequestBodyOp) UnmarshalJSON

func (c *GlanceUpdateImageRequestBodyOp) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageRequestBodyOp) Value added in v0.0.90

type GlanceUpdateImageRequestBodyOpEnum

type GlanceUpdateImageRequestBodyOpEnum struct {
	REPLACE GlanceUpdateImageRequestBodyOp
	ADD     GlanceUpdateImageRequestBodyOp
	REMOVE  GlanceUpdateImageRequestBodyOp
}

func GetGlanceUpdateImageRequestBodyOpEnum

func GetGlanceUpdateImageRequestBodyOpEnum() GlanceUpdateImageRequestBodyOpEnum

type GlanceUpdateImageResponse

type GlanceUpdateImageResponse struct {

	// 备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空。
	BackupId *string `json:"__backup_id,omitempty"`

	// 镜像来源。公共镜像为空。
	DataOrigin *string `json:"__data_origin,omitempty"`

	// 镜像描述信息。
	Description *string `json:"__description,omitempty"`

	// 镜像文件的大小,单位为字节。目前取值为大于0的字符串。
	ImageSize *string `json:"__image_size,omitempty"`

	// 镜像后端存储类型,目前只支持uds
	ImageSourceType *GlanceUpdateImageResponseImageSourceType `json:"__image_source_type,omitempty"`

	// 镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared
	Imagetype *GlanceUpdateImageResponseImagetype `json:"__imagetype,omitempty"`

	// 是否是注册过的镜像,取值为“true”或者“false”。
	Isregistered *GlanceUpdateImageResponseIsregistered `json:"__isregistered,omitempty"`

	// 父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空。
	Originalimagename *string `json:"__originalimagename,omitempty"`

	// 操作系统位数,一般取值为“32”或者“64”。
	OsBit *GlanceUpdateImageResponseOsBit `json:"__os_bit,omitempty"`

	// 操作系统类型,目前取值Linux, Windows,Other。
	OsType *GlanceUpdateImageResponseOsType `json:"__os_type,omitempty"`

	// 操作系统具体版本。
	OsVersion *string `json:"__os_version,omitempty"`

	// 镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS。
	Platform *GlanceUpdateImageResponsePlatform `json:"__platform,omitempty"`

	// 市场镜像的产品ID。
	Productcode *string `json:"__productcode,omitempty"`

	// 表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	// 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无需增加该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	// 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
	SupportLargememory *string `json:"__support_largememory,omitempty"`

	// 如果镜像支持XEN,取值为true,否则无需增加该属性。
	SupportXen *string `json:"__support_xen,omitempty"`

	// 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,取值参考8.10-表 镜像支持的GPU类型说明。镜像操作系统类型请参考8.10-表 镜像类型。如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	// 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	// 目前暂时不使用。
	Checksum *string `json:"checksum,omitempty"`

	// 容器类型。
	ContainerFormat *string `json:"container_format,omitempty"`

	// 创建时间。格式为UTC时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 镜像的格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
	DiskFormat *GlanceUpdateImageResponseDiskFormat `json:"disk_format,omitempty"`

	// 镜像文件下载和上传链接。
	File *string `json:"file,omitempty"`

	// 镜像ID。
	Id *string `json:"id,omitempty"`

	// 镜像运行需要的最小磁盘容量,单位为GB
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 镜像运行最小内存,单位为MB。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像名称。
	Name *string `json:"name,omitempty"`

	// 镜像属于哪个租户。
	Owner *string `json:"owner,omitempty"`

	// 是否是受保护的,受保护的镜像不允许删除。取值为true或false。
	Protected *bool `json:"protected,omitempty"`

	// 镜像视图。
	Schema *string `json:"schema,omitempty"`

	// 镜像链接信息。
	Self *string `json:"self,omitempty"`

	// 目前暂时不使用。
	Size *int64 `json:"size,omitempty"`

	// 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用。
	Status *GlanceUpdateImageResponseStatus `json:"status,omitempty"`

	// 镜像标签列表,提供用户可以自定义管理私有镜像的能力。用户可以通过镜像标签接口为每个镜像增加不同的标签,在查询接口中可以根据标签进行过滤。
	Tags *[]string `json:"tags,omitempty"`

	// 更新时间。格式为UTC时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 镜像使用环境类型:FusionCompute,Ironic,DataImage。
	VirtualEnvType *GlanceUpdateImageResponseVirtualEnvType `json:"virtual_env_type,omitempty"`

	// 目前暂时不使用。
	VirtualSize *int32 `json:"virtual_size,omitempty"`

	// 是否被其他租户可见,取值如下:private:私有镜像public:公共镜像shared:共享镜像
	Visibility *GlanceUpdateImageResponseVisibility `json:"visibility,omitempty"`

	// 表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
	SupportFcInject *GlanceUpdateImageResponseSupportFcInject `json:"__support_fc_inject,omitempty"`

	// 表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
	HwFirmwareType *GlanceUpdateImageResponseHwFirmwareType `json:"hw_firmware_type,omitempty"`

	// 是否为ARM架构类型的镜像,取值为“true”或者“false”。
	SupportArm *GlanceUpdateImageResponseSupportArm `json:"__support_arm,omitempty"`

	// 表示当前市场镜像是否下架。 true:已下架 false:未下架
	IsOffshelved *GlanceUpdateImageResponseIsOffshelved `json:"__is_offshelved,omitempty"`

	// 镜像是否支持延迟加载。取值为True或False。
	Lazyloading *string `json:"__lazyloading,omitempty"`

	// 镜像附加属性。该属性采用JSON格式来标识镜像支持的高级特性清单。
	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	// 表示当前镜像来源是从外部导入。取值:file。
	RootOrigin *string `json:"__root_origin,omitempty"`

	// 目前暂时不用
	SequenceNum *string `json:"__sequence_num,omitempty"`

	// 镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控
	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	// 加密镜像所使用的密钥ID。
	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	// 镜像状态变为正常的时间。
	ActiveAt *string `json:"active_at,omitempty"`

	// 镜像是否支持网卡多队列。取值为true或者false。
	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	// 镜像支持的最大内存,单位为MB。取值可以参考云服务器规格限制,一般不设置。
	MaxRam *string `json:"max_ram,omitempty"`

	// 镜像的存储位置。
	ImageLocation *string `json:"__image_location,omitempty"`

	// 是否完成了初始化配置。取值为true或false
	IsConfigInit *string `json:"__is_config_init,omitempty"`

	// 收费镜像标识。
	AccountCode *string `json:"__account_code,omitempty"`

	// 是否是AMD架构类型的镜像。取值为“true”或者“false”。
	SupportAmd     *string `json:"__support_amd,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceUpdateImageResponse) String

func (o GlanceUpdateImageResponse) String() string

type GlanceUpdateImageResponseDiskFormat

type GlanceUpdateImageResponseDiskFormat struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseDiskFormat) MarshalJSON

func (c GlanceUpdateImageResponseDiskFormat) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseDiskFormat) UnmarshalJSON

func (c *GlanceUpdateImageResponseDiskFormat) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseDiskFormat) Value added in v0.0.90

type GlanceUpdateImageResponseHwFirmwareType

type GlanceUpdateImageResponseHwFirmwareType struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseHwFirmwareType) MarshalJSON

func (c GlanceUpdateImageResponseHwFirmwareType) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseHwFirmwareType) UnmarshalJSON

func (c *GlanceUpdateImageResponseHwFirmwareType) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseHwFirmwareType) Value added in v0.0.90

type GlanceUpdateImageResponseImageSourceType

type GlanceUpdateImageResponseImageSourceType struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseImageSourceType) MarshalJSON

func (*GlanceUpdateImageResponseImageSourceType) UnmarshalJSON

func (c *GlanceUpdateImageResponseImageSourceType) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseImageSourceType) Value added in v0.0.90

type GlanceUpdateImageResponseImagetype

type GlanceUpdateImageResponseImagetype struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseImagetype) MarshalJSON

func (c GlanceUpdateImageResponseImagetype) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseImagetype) UnmarshalJSON

func (c *GlanceUpdateImageResponseImagetype) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseImagetype) Value added in v0.0.90

type GlanceUpdateImageResponseIsOffshelved

type GlanceUpdateImageResponseIsOffshelved struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseIsOffshelved) MarshalJSON

func (c GlanceUpdateImageResponseIsOffshelved) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseIsOffshelved) UnmarshalJSON

func (c *GlanceUpdateImageResponseIsOffshelved) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseIsOffshelved) Value added in v0.0.90

type GlanceUpdateImageResponseIsOffshelvedEnum

type GlanceUpdateImageResponseIsOffshelvedEnum struct {
	TRUE  GlanceUpdateImageResponseIsOffshelved
	FALSE GlanceUpdateImageResponseIsOffshelved
}

func GetGlanceUpdateImageResponseIsOffshelvedEnum

func GetGlanceUpdateImageResponseIsOffshelvedEnum() GlanceUpdateImageResponseIsOffshelvedEnum

type GlanceUpdateImageResponseIsregistered

type GlanceUpdateImageResponseIsregistered struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseIsregistered) MarshalJSON

func (c GlanceUpdateImageResponseIsregistered) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseIsregistered) UnmarshalJSON

func (c *GlanceUpdateImageResponseIsregistered) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseIsregistered) Value added in v0.0.90

type GlanceUpdateImageResponseIsregisteredEnum

type GlanceUpdateImageResponseIsregisteredEnum struct {
	TRUE  GlanceUpdateImageResponseIsregistered
	FALSE GlanceUpdateImageResponseIsregistered
}

func GetGlanceUpdateImageResponseIsregisteredEnum

func GetGlanceUpdateImageResponseIsregisteredEnum() GlanceUpdateImageResponseIsregisteredEnum

type GlanceUpdateImageResponseOsBit

type GlanceUpdateImageResponseOsBit struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseOsBit) MarshalJSON

func (c GlanceUpdateImageResponseOsBit) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseOsBit) UnmarshalJSON

func (c *GlanceUpdateImageResponseOsBit) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseOsBit) Value added in v0.0.90

type GlanceUpdateImageResponseOsBitEnum

type GlanceUpdateImageResponseOsBitEnum struct {
	E_32 GlanceUpdateImageResponseOsBit
	E_64 GlanceUpdateImageResponseOsBit
}

func GetGlanceUpdateImageResponseOsBitEnum

func GetGlanceUpdateImageResponseOsBitEnum() GlanceUpdateImageResponseOsBitEnum

type GlanceUpdateImageResponseOsType

type GlanceUpdateImageResponseOsType struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseOsType) MarshalJSON

func (c GlanceUpdateImageResponseOsType) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseOsType) UnmarshalJSON

func (c *GlanceUpdateImageResponseOsType) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseOsType) Value added in v0.0.90

type GlanceUpdateImageResponseOsTypeEnum

type GlanceUpdateImageResponseOsTypeEnum struct {
	LINUX   GlanceUpdateImageResponseOsType
	WINDOWS GlanceUpdateImageResponseOsType
	OTHER   GlanceUpdateImageResponseOsType
}

func GetGlanceUpdateImageResponseOsTypeEnum

func GetGlanceUpdateImageResponseOsTypeEnum() GlanceUpdateImageResponseOsTypeEnum

type GlanceUpdateImageResponsePlatform

type GlanceUpdateImageResponsePlatform struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponsePlatform) MarshalJSON

func (c GlanceUpdateImageResponsePlatform) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponsePlatform) UnmarshalJSON

func (c *GlanceUpdateImageResponsePlatform) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponsePlatform) Value added in v0.0.90

type GlanceUpdateImageResponseStatus

type GlanceUpdateImageResponseStatus struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseStatus) MarshalJSON

func (c GlanceUpdateImageResponseStatus) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseStatus) UnmarshalJSON

func (c *GlanceUpdateImageResponseStatus) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseStatus) Value added in v0.0.90

type GlanceUpdateImageResponseSupportArm

type GlanceUpdateImageResponseSupportArm struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseSupportArm) MarshalJSON

func (c GlanceUpdateImageResponseSupportArm) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseSupportArm) UnmarshalJSON

func (c *GlanceUpdateImageResponseSupportArm) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseSupportArm) Value added in v0.0.90

type GlanceUpdateImageResponseSupportArmEnum

type GlanceUpdateImageResponseSupportArmEnum struct {
	TRUE  GlanceUpdateImageResponseSupportArm
	FALSE GlanceUpdateImageResponseSupportArm
}

func GetGlanceUpdateImageResponseSupportArmEnum

func GetGlanceUpdateImageResponseSupportArmEnum() GlanceUpdateImageResponseSupportArmEnum

type GlanceUpdateImageResponseSupportFcInject

type GlanceUpdateImageResponseSupportFcInject struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseSupportFcInject) MarshalJSON

func (*GlanceUpdateImageResponseSupportFcInject) UnmarshalJSON

func (c *GlanceUpdateImageResponseSupportFcInject) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseSupportFcInject) Value added in v0.0.90

type GlanceUpdateImageResponseVirtualEnvType

type GlanceUpdateImageResponseVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseVirtualEnvType) MarshalJSON

func (c GlanceUpdateImageResponseVirtualEnvType) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseVirtualEnvType) UnmarshalJSON

func (c *GlanceUpdateImageResponseVirtualEnvType) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseVirtualEnvType) Value added in v0.0.90

type GlanceUpdateImageResponseVisibility

type GlanceUpdateImageResponseVisibility struct {
	// contains filtered or unexported fields
}

func (GlanceUpdateImageResponseVisibility) MarshalJSON

func (c GlanceUpdateImageResponseVisibility) MarshalJSON() ([]byte, error)

func (*GlanceUpdateImageResponseVisibility) UnmarshalJSON

func (c *GlanceUpdateImageResponseVisibility) UnmarshalJSON(b []byte) error

func (GlanceUpdateImageResponseVisibility) Value added in v0.0.90

type ImageInfo

type ImageInfo struct {

	// 备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空
	BackupId *string `json:"__backup_id,omitempty"`

	// 镜像来源。公共镜像为空
	DataOrigin *string `json:"__data_origin,omitempty"`

	// 镜像描述信息。 支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。
	Description *string `json:"__description,omitempty"`

	// 镜像文件的大小,单位为字节
	ImageSize string `json:"__image_size"`

	// 镜像后端存储类型,目前只支持uds
	ImageSourceType ImageInfoImageSourceType `json:"__image_source_type"`

	// 镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private 共享镜像:shared
	Imagetype ImageInfoImagetype `json:"__imagetype"`

	// 是否是注册过的镜像,取值为“true”或者“false”
	Isregistered ImageInfoIsregistered `json:"__isregistered"`

	// 父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空
	Originalimagename *string `json:"__originalimagename,omitempty"`

	// 操作系统位数,一般取值为“32”或者“64”
	OsBit *ImageInfoOsBit `json:"__os_bit,omitempty"`

	// 操作系统类型,目前取值Linux, Windows,Other
	OsType ImageInfoOsType `json:"__os_type"`

	// 操作系统具体版本
	OsVersion *string `json:"__os_version,omitempty"`

	// 镜像平台分类
	Platform *ImageInfoPlatform `json:"__platform,omitempty"`

	// 市场镜像的产品ID
	Productcode *string `json:"__productcode,omitempty"`

	// 镜像来源表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	// 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无需增加该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	// 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性。
	SupportLargememory *string `json:"__support_largememory,omitempty"`

	// 如果镜像支持XEN,取值为true,否则无需增加该属性。
	SupportXen *string `json:"__support_xen,omitempty"`

	// 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性            。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	// 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”             和“__support_kvm”属性不共存。
	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	// 表示当前镜像是否支持发布为市场镜像,true表示支持,false 表示不支持
	SystemSupportMarket *bool `json:"__system_support_market,omitempty"`

	// 目前暂时不使用
	Checksum *string `json:"checksum,omitempty"`

	// 容器类型
	ContainerFormat string `json:"container_format"`

	// 创建时间。格式为UTC时间
	CreatedAt string `json:"created_at"`

	// 镜像的格式,目前支持vhd,zvhd、raw,qcow2。默认值是vhd
	DiskFormat *string `json:"disk_format,omitempty"`

	// 表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目,取值为UUID,表示属于该UUID对应的企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 镜像文件下载和上传链接
	File *string `json:"file,omitempty"`

	// 镜像ID
	Id string `json:"id"`

	// 镜像运行需要的最小磁盘容量,单位为GB。取值为40~1024GB。
	MinDisk int32 `json:"min_disk"`

	// 镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,默认设置为0
	MinRam int32 `json:"min_ram"`

	// 镜像名称。 名称的首尾字母不能为空格。 名称的长度至为1~128位。 名称包含以下4种字符: 大写字母 小写字母 数字 特殊字符包含-、.、_、空格和中文。
	Name string `json:"name"`

	// 镜像属于哪个租户
	Owner string `json:"owner"`

	// 是否是受保护的,受保护的镜像不允许删除。取值为true或false
	Protected bool `json:"protected"`

	// 镜像视图
	Schema *string `json:"schema,omitempty"`

	// 镜像链接信息
	Self string `json:"self"`

	// 目前暂时不使用
	Size *int32 `json:"size,omitempty"`

	// 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待 上传镜像文件。saving:表示镜像 正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用
	Status ImageInfoStatus `json:"status"`

	// 镜像标签列表
	Tags []string `json:"tags"`

	// 更新时间。格式为UTC时间
	UpdatedAt string `json:"updated_at"`

	// 镜像使用环境类型:FusionCompute,Ironic,DataImage。如果弹性云服务器镜像,则取值为FusionCompute,如果是数据卷镜像则取Dat            aImage,如果是裸金属服务器镜像,则取值是Ironic
	VirtualEnvType ImageInfoVirtualEnvType `json:"virtual_env_type"`

	// 目前暂时不使用
	VirtualSize *int32 `json:"virtual_size,omitempty"`

	// 是否被其他租户可见,取值为private或public
	Visibility ImageInfoVisibility `json:"visibility"`

	// 表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。 如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
	SupportFcInject *ImageInfoSupportFcInject `json:"__support_fc_inject,omitempty"`

	// 云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
	HwFirmwareType *ImageInfoHwFirmwareType `json:"hw_firmware_type,omitempty"`

	// 是否是ARM架构类型的镜像,取值为“true”或者“false”。
	SupportArm *ImageInfoSupportArm `json:"__support_arm,omitempty"`

	// 镜像支持的最大内存,单位为MB。取值可以参考云服务器规格限制,一般不设置。
	MaxRam *string `json:"max_ram,omitempty"`

	// 加密镜像所使用的密钥ID。
	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	// 镜像附加属性。该属性采用JSON格式来标识镜像支持的高级特性清单。
	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	// 收费镜像标识。
	AccountCode *string `json:"__account_code,omitempty"`

	// 镜像是否支持网卡多队列。取值为“true”或者“false”。
	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	// 表示当前市场镜像是否下架。true:已下架 false:未下架
	IsOffshelved *string `json:"__is_offshelved,omitempty"`

	// 镜像是否支持延迟加载。取值为“True”或“False”。
	Lazyloading *string `json:"__lazyloading,omitempty"`

	// 表示当前镜像来源是从外部导入。取值:file。
	RootOrigin *string `json:"__root_origin,omitempty"`

	// 表示当前镜像对应云服务器的系统盘插槽位置。目前暂时不用
	SequenceNum *string `json:"__sequence_num,omitempty"`

	// 镜像状态变为正常的时间。
	ActiveAt string `json:"active_at"`

	// 镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控
	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	// 是否是AMD架构类型的镜像。取值为“true”或者“false”。
	SupportAmd *string `json:"__support_amd,omitempty"`
}

镜像信息响应体

func (ImageInfo) String

func (o ImageInfo) String() string

type ImageInfoHwFirmwareType

type ImageInfoHwFirmwareType struct {
	// contains filtered or unexported fields
}

func (ImageInfoHwFirmwareType) MarshalJSON

func (c ImageInfoHwFirmwareType) MarshalJSON() ([]byte, error)

func (*ImageInfoHwFirmwareType) UnmarshalJSON

func (c *ImageInfoHwFirmwareType) UnmarshalJSON(b []byte) error

func (ImageInfoHwFirmwareType) Value added in v0.0.90

func (c ImageInfoHwFirmwareType) Value() string

type ImageInfoHwFirmwareTypeEnum

type ImageInfoHwFirmwareTypeEnum struct {
	BIOS ImageInfoHwFirmwareType
	UEFI ImageInfoHwFirmwareType
}

func GetImageInfoHwFirmwareTypeEnum

func GetImageInfoHwFirmwareTypeEnum() ImageInfoHwFirmwareTypeEnum

type ImageInfoImageSourceType

type ImageInfoImageSourceType struct {
	// contains filtered or unexported fields
}

func (ImageInfoImageSourceType) MarshalJSON

func (c ImageInfoImageSourceType) MarshalJSON() ([]byte, error)

func (*ImageInfoImageSourceType) UnmarshalJSON

func (c *ImageInfoImageSourceType) UnmarshalJSON(b []byte) error

func (ImageInfoImageSourceType) Value added in v0.0.90

func (c ImageInfoImageSourceType) Value() string

type ImageInfoImageSourceTypeEnum

type ImageInfoImageSourceTypeEnum struct {
	UDS   ImageInfoImageSourceType
	SWIFT ImageInfoImageSourceType
}

func GetImageInfoImageSourceTypeEnum

func GetImageInfoImageSourceTypeEnum() ImageInfoImageSourceTypeEnum

type ImageInfoImagetype

type ImageInfoImagetype struct {
	// contains filtered or unexported fields
}

func (ImageInfoImagetype) MarshalJSON

func (c ImageInfoImagetype) MarshalJSON() ([]byte, error)

func (*ImageInfoImagetype) UnmarshalJSON

func (c *ImageInfoImagetype) UnmarshalJSON(b []byte) error

func (ImageInfoImagetype) Value added in v0.0.90

func (c ImageInfoImagetype) Value() string

type ImageInfoImagetypeEnum

type ImageInfoImagetypeEnum struct {
	GOLD    ImageInfoImagetype
	PRIVATE ImageInfoImagetype
	SHARED  ImageInfoImagetype
}

func GetImageInfoImagetypeEnum

func GetImageInfoImagetypeEnum() ImageInfoImagetypeEnum

type ImageInfoIsregistered

type ImageInfoIsregistered struct {
	// contains filtered or unexported fields
}

func (ImageInfoIsregistered) MarshalJSON

func (c ImageInfoIsregistered) MarshalJSON() ([]byte, error)

func (*ImageInfoIsregistered) UnmarshalJSON

func (c *ImageInfoIsregistered) UnmarshalJSON(b []byte) error

func (ImageInfoIsregistered) Value added in v0.0.90

func (c ImageInfoIsregistered) Value() string

type ImageInfoIsregisteredEnum

type ImageInfoIsregisteredEnum struct {
	TRUE  ImageInfoIsregistered
	FALSE ImageInfoIsregistered
}

func GetImageInfoIsregisteredEnum

func GetImageInfoIsregisteredEnum() ImageInfoIsregisteredEnum

type ImageInfoOsBit

type ImageInfoOsBit struct {
	// contains filtered or unexported fields
}

func (ImageInfoOsBit) MarshalJSON

func (c ImageInfoOsBit) MarshalJSON() ([]byte, error)

func (*ImageInfoOsBit) UnmarshalJSON

func (c *ImageInfoOsBit) UnmarshalJSON(b []byte) error

func (ImageInfoOsBit) Value added in v0.0.90

func (c ImageInfoOsBit) Value() string

type ImageInfoOsBitEnum

type ImageInfoOsBitEnum struct {
	E_32 ImageInfoOsBit
	E_64 ImageInfoOsBit
}

func GetImageInfoOsBitEnum

func GetImageInfoOsBitEnum() ImageInfoOsBitEnum

type ImageInfoOsType

type ImageInfoOsType struct {
	// contains filtered or unexported fields
}

func (ImageInfoOsType) MarshalJSON

func (c ImageInfoOsType) MarshalJSON() ([]byte, error)

func (*ImageInfoOsType) UnmarshalJSON

func (c *ImageInfoOsType) UnmarshalJSON(b []byte) error

func (ImageInfoOsType) Value added in v0.0.90

func (c ImageInfoOsType) Value() string

type ImageInfoOsTypeEnum

type ImageInfoOsTypeEnum struct {
	LINUX   ImageInfoOsType
	WINDOWS ImageInfoOsType
	OTHER   ImageInfoOsType
}

func GetImageInfoOsTypeEnum

func GetImageInfoOsTypeEnum() ImageInfoOsTypeEnum

type ImageInfoPlatform

type ImageInfoPlatform struct {
	// contains filtered or unexported fields
}

func (ImageInfoPlatform) MarshalJSON

func (c ImageInfoPlatform) MarshalJSON() ([]byte, error)

func (*ImageInfoPlatform) UnmarshalJSON

func (c *ImageInfoPlatform) UnmarshalJSON(b []byte) error

func (ImageInfoPlatform) Value added in v0.0.90

func (c ImageInfoPlatform) Value() string

type ImageInfoPlatformEnum

type ImageInfoPlatformEnum struct {
	WINDOWS      ImageInfoPlatform
	UBUNTU       ImageInfoPlatform
	RED_HAT      ImageInfoPlatform
	SUSE         ImageInfoPlatform
	CENT_OS      ImageInfoPlatform
	DEBIAN       ImageInfoPlatform
	OPEN_SUSE    ImageInfoPlatform
	ORACLE_LINUX ImageInfoPlatform
	FEDORA       ImageInfoPlatform
	OTHER        ImageInfoPlatform
	CORE_OS      ImageInfoPlatform
	EULER_OS     ImageInfoPlatform
}

func GetImageInfoPlatformEnum

func GetImageInfoPlatformEnum() ImageInfoPlatformEnum

type ImageInfoStatus

type ImageInfoStatus struct {
	// contains filtered or unexported fields
}

func (ImageInfoStatus) MarshalJSON

func (c ImageInfoStatus) MarshalJSON() ([]byte, error)

func (*ImageInfoStatus) UnmarshalJSON

func (c *ImageInfoStatus) UnmarshalJSON(b []byte) error

func (ImageInfoStatus) Value added in v0.0.90

func (c ImageInfoStatus) Value() string

type ImageInfoStatusEnum

type ImageInfoStatusEnum struct {
	QUEUED  ImageInfoStatus
	SAVING  ImageInfoStatus
	DELETED ImageInfoStatus
	KILLED  ImageInfoStatus
	ACTIVE  ImageInfoStatus
}

func GetImageInfoStatusEnum

func GetImageInfoStatusEnum() ImageInfoStatusEnum

type ImageInfoSupportArm

type ImageInfoSupportArm struct {
	// contains filtered or unexported fields
}

func (ImageInfoSupportArm) MarshalJSON

func (c ImageInfoSupportArm) MarshalJSON() ([]byte, error)

func (*ImageInfoSupportArm) UnmarshalJSON

func (c *ImageInfoSupportArm) UnmarshalJSON(b []byte) error

func (ImageInfoSupportArm) Value added in v0.0.90

func (c ImageInfoSupportArm) Value() string

type ImageInfoSupportArmEnum

type ImageInfoSupportArmEnum struct {
	TRUE  ImageInfoSupportArm
	FALSE ImageInfoSupportArm
}

func GetImageInfoSupportArmEnum

func GetImageInfoSupportArmEnum() ImageInfoSupportArmEnum

type ImageInfoSupportFcInject

type ImageInfoSupportFcInject struct {
	// contains filtered or unexported fields
}

func (ImageInfoSupportFcInject) MarshalJSON

func (c ImageInfoSupportFcInject) MarshalJSON() ([]byte, error)

func (*ImageInfoSupportFcInject) UnmarshalJSON

func (c *ImageInfoSupportFcInject) UnmarshalJSON(b []byte) error

func (ImageInfoSupportFcInject) Value added in v0.0.90

func (c ImageInfoSupportFcInject) Value() string

type ImageInfoSupportFcInjectEnum

type ImageInfoSupportFcInjectEnum struct {
	TRUE  ImageInfoSupportFcInject
	FALSE ImageInfoSupportFcInject
}

func GetImageInfoSupportFcInjectEnum

func GetImageInfoSupportFcInjectEnum() ImageInfoSupportFcInjectEnum

type ImageInfoVirtualEnvType

type ImageInfoVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (ImageInfoVirtualEnvType) MarshalJSON

func (c ImageInfoVirtualEnvType) MarshalJSON() ([]byte, error)

func (*ImageInfoVirtualEnvType) UnmarshalJSON

func (c *ImageInfoVirtualEnvType) UnmarshalJSON(b []byte) error

func (ImageInfoVirtualEnvType) Value added in v0.0.90

func (c ImageInfoVirtualEnvType) Value() string

type ImageInfoVirtualEnvTypeEnum

type ImageInfoVirtualEnvTypeEnum struct {
	FUSION_COMPUTE ImageInfoVirtualEnvType
	IRONIC         ImageInfoVirtualEnvType
	DATA_IMAGE     ImageInfoVirtualEnvType
}

func GetImageInfoVirtualEnvTypeEnum

func GetImageInfoVirtualEnvTypeEnum() ImageInfoVirtualEnvTypeEnum

type ImageInfoVisibility

type ImageInfoVisibility struct {
	// contains filtered or unexported fields
}

func (ImageInfoVisibility) MarshalJSON

func (c ImageInfoVisibility) MarshalJSON() ([]byte, error)

func (*ImageInfoVisibility) UnmarshalJSON

func (c *ImageInfoVisibility) UnmarshalJSON(b []byte) error

func (ImageInfoVisibility) Value added in v0.0.90

func (c ImageInfoVisibility) Value() string

type ImageInfoVisibilityEnum

type ImageInfoVisibilityEnum struct {
	PRIVATE ImageInfoVisibility
	PUBLIC  ImageInfoVisibility
}

func GetImageInfoVisibilityEnum

func GetImageInfoVisibilityEnum() ImageInfoVisibilityEnum

type ImageTag

type ImageTag struct {

	// 标签key值
	Key *string `json:"key,omitempty"`

	// 标签value值
	Value *string `json:"value,omitempty"`
}

镜像标签

func (ImageTag) String

func (o ImageTag) String() string

type ImportImageQuickRequest

type ImportImageQuickRequest struct {
	Body *QuickImportImageByFileRequestBody `json:"body,omitempty"`
}

Request Object

func (ImportImageQuickRequest) String

func (o ImportImageQuickRequest) String() string

type ImportImageQuickResponse

type ImportImageQuickResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ImportImageQuickResponse) String

func (o ImportImageQuickResponse) String() string

type JobEntities

type JobEntities struct {

	// 镜像ID
	ImageId *string `json:"image_id,omitempty"`

	// 当前任务名称
	CurrentTask *string `json:"current_task,omitempty"`

	// 镜像名称
	ImageName *string `json:"image_name,omitempty"`

	// 任务执行进度
	ProcessPercent *float64 `json:"process_percent,omitempty"`

	// 批量任务执行结果
	Results *[]JobEntitiesResult `json:"results,omitempty"`
}

func (JobEntities) String

func (o JobEntities) String() string

type JobEntitiesResult added in v0.0.68

type JobEntitiesResult struct {

	// 镜像ID。
	ImageId *string `json:"image_id,omitempty"`

	// 项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 任务状态。
	Status *string `json:"status,omitempty"`
}

func (JobEntitiesResult) String added in v0.0.68

func (o JobEntitiesResult) String() string
type Links struct {

	// 域名
	Href string `json:"href"`

	// 域名描述
	Rel string `json:"rel"`
}

视图链接。

func (Links) String

func (o Links) String() string

type ListImageByTagsRequest

type ListImageByTagsRequest struct {
	Body *ListImageByTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (ListImageByTagsRequest) String

func (o ListImageByTagsRequest) String() string

type ListImageByTagsRequestBody

type ListImageByTagsRequestBody struct {

	// 操作标识(区分大小写),支持filter、count。filter就是分页查询;count是只需按照条件将总条数返回即可。
	Action ListImageByTagsRequestBodyAction `json:"action"`

	// 包含标签,最多包含10个key,每个key对应的values最多包含10个值,且key和values都不能重复。不能为空列表。
	Tags *[]Tags `json:"tags,omitempty"`

	// 包含任意标签,最多包含10个key,每个key对应的values最多包含10个值,且key和values都不能重复。不允许为空列表,但可以不传递参数。
	TagsAny *[]Tags `json:"tags_any,omitempty"`

	// 不包含标签,最多包含10个key,每个key对应的values最多包含10个值,且key和values都不能重复。不能为空列表。
	NotTags *[]Tags `json:"not_tags,omitempty"`

	// 不包含任意标签,最多包含10个key,每个key对应的values最多包含10个值,且key和values都不能重复。不能为空列表。
	NotTagsAny *[]Tags `json:"not_tags_any,omitempty"`

	// 最大查询记录数(action为count,时此参数无效)如果action为filter默认为10,limit最多为1000,不能为负数,最小值为1。
	Limit *string `json:"limit,omitempty"`

	// 索引位置, 从offset指定的下一条数据开始查询。 查询第一页数据时,不需要传入此参数(action为count时,此参数无效),如果action为filter默认为0,不能为负数。
	Offset *string `json:"offset,omitempty"`

	// 搜索字段,key为要匹配的字段,如resource_name、resource_id等。value为匹配的值。多个matches的key不允许重复。不允许为空列表,但可以不传递参数。
	Matches *[]TagKeyValue `json:"matches,omitempty"`

	// 不包含任意一个标签,该字段为true时查询所有不带标签的资源,此时忽略tag、not_tags、tags_any、not_tags_any字段。
	WithoutAnyTag *bool `json:"without_any_tag,omitempty"`
}

请求参数

func (ListImageByTagsRequestBody) String

type ListImageByTagsRequestBodyAction

type ListImageByTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (ListImageByTagsRequestBodyAction) MarshalJSON

func (c ListImageByTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*ListImageByTagsRequestBodyAction) UnmarshalJSON

func (c *ListImageByTagsRequestBodyAction) UnmarshalJSON(b []byte) error

func (ListImageByTagsRequestBodyAction) Value added in v0.0.90

type ListImageByTagsRequestBodyActionEnum

type ListImageByTagsRequestBodyActionEnum struct {
	FILTER ListImageByTagsRequestBodyAction
	COUNT  ListImageByTagsRequestBodyAction
}

func GetListImageByTagsRequestBodyActionEnum

func GetListImageByTagsRequestBodyActionEnum() ListImageByTagsRequestBodyActionEnum

type ListImageByTagsResponse

type ListImageByTagsResponse struct {

	// 镜像信息列表
	Resources *[]ShowImageByTagsResource `json:"resources,omitempty"`

	// 总记录数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListImageByTagsResponse) String

func (o ListImageByTagsResponse) String() string

type ListImageTagsRequest

type ListImageTagsRequest struct {

	// 镜像ID。
	ImageId string `json:"image_id"`
}

Request Object

func (ListImageTagsRequest) String

func (o ListImageTagsRequest) String() string

type ListImageTagsResponse

type ListImageTagsResponse struct {

	// 标签列表
	Tags           *[]ResourceTag `json:"tags,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListImageTagsResponse) String

func (o ListImageTagsResponse) String() string

type ListImagesRequest

type ListImagesRequest struct {

	// 镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private 共享镜像:shared
	Imagetype *ListImagesRequestImagetype `json:"__imagetype,omitempty"`

	// 镜像是否可用,取值为true,扩展接口会默认为true,普通用户只能查询取值为true的镜像。
	Isregistered *ListImagesRequestIsregistered `json:"__isregistered,omitempty"`

	// 操作系统位数,一般取值为32或者64。
	OsBit *ListImagesRequestOsBit `json:"__os_bit,omitempty"`

	// 镜像系统类型,取值为Linux,Windows,Other。
	OsType *ListImagesRequestOsType `json:"__os_type,omitempty"`

	// 镜像平台分类
	Platform *ListImagesRequestPlatform `json:"__platform,omitempty"`

	// 表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	// 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无需增加该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	// 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性。
	SupportLargememory *string `json:"__support_largememory,omitempty"`

	// 如果镜像支持XEN,取值为true,否则无需增加该属性。
	SupportXen *string `json:"__support_xen,omitempty"`

	// 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性 。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	// 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	// 容器类型
	ContainerFormat *string `json:"container_format,omitempty"`

	// 镜像格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
	DiskFormat *ListImagesRequestDiskFormat `json:"disk_format,omitempty"`

	// 表示查询某个企业项目下的镜像。 取值为0,表示查询属于default企业项目下的镜像。 取值为UUID,表示查询属于该UUID对应的企业项目下的镜像。取值为all_granted_eps,表示查询当前用户所有企业项目下的镜像。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 镜像ID
	Id *string `json:"id,omitempty"`

	// 用于分页,表示查询几条镜像记录,取值为整数,默认取值为500。
	Limit *int32 `json:"limit,omitempty"`

	// 用于分页,表示从哪个镜像开始查询,取值为镜像ID。
	Marker *string `json:"marker,omitempty"`

	// 成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时设置“visibility”参数为“shared”。
	MemberStatus *ListImagesRequestMemberStatus `json:"member_status,omitempty"`

	// 镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像名称
	Name *string `json:"name,omitempty"`

	// 镜像属于哪个租户
	Owner *string `json:"owner,omitempty"`

	// 镜像是否是受保护,取值为true/false,一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
	Protected *bool `json:"protected,omitempty"`

	// 用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc。
	SortDir *ListImagesRequestSortDir `json:"sort_dir,omitempty"`

	// 用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status ,id,size字段,默认为创建时间。
	SortKey *ListImagesRequestSortKey `json:"sort_key,omitempty"`

	// 镜像状态。取值如下: queued:表示镜像元数据已经创建成功,等待上传镜像文件。 saving:表示镜像正在上传文件到后端存储。 deleted:表示镜像已经删除。 killed:表示镜像上传错误。 active:表示镜像可以正常使用。
	Status *ListImagesRequestStatus `json:"status,omitempty"`

	// 标签,用户为镜像增加自定义标签后可以通过该参数过滤查询。
	Tag *string `json:"tag,omitempty"`

	// 镜像使用环境类型:FusionCompute,Ironic,DataImage。如果弹性云服务器镜像,则取值为FusionCompute,如果是数据卷镜像则取值是DataImage,如果是裸金属服务器镜像,则取值是Ironic。
	VirtualEnvType *ListImagesRequestVirtualEnvType `json:"virtual_env_type,omitempty"`

	// 是否被其他租户可见,取值为public或private
	Visibility *ListImagesRequestVisibility `json:"visibility,omitempty"`

	// 请求的发生时间,格式为YYYYMMDDTHHMMSSZ。取值为当前系统的GMT时间。使用AK/SK认证时该字段必选
	XSdkDate *string `json:"X-Sdk-Date,omitempty"`

	// 用于通过云服务器规格过滤出可用公共镜像,取值为规格ID。 当前仅支持通过单个规格进行过滤。
	FlavorId *string `json:"flavor_id,omitempty"`

	// 镜像创建时间。支持按照时间点过滤查询,取值格式为“操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询创建时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: created_at=gt:2018-10-28T10:00:00Z
	CreatedAt *string `json:"created_at,omitempty"`

	// 镜像修改时间。支持按照时间点过滤查询,取值格式为“ 操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询修改时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: updated_at=gt:2018-10-28T10:00:00Z
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 镜像架构类型。取值包括: x86 arm
	Architecture *ListImagesRequestArchitecture `json:"architecture,omitempty"`
}

Request Object

func (ListImagesRequest) String

func (o ListImagesRequest) String() string

type ListImagesRequestArchitecture

type ListImagesRequestArchitecture struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestArchitecture) MarshalJSON

func (c ListImagesRequestArchitecture) MarshalJSON() ([]byte, error)

func (*ListImagesRequestArchitecture) UnmarshalJSON

func (c *ListImagesRequestArchitecture) UnmarshalJSON(b []byte) error

func (ListImagesRequestArchitecture) Value added in v0.0.90

type ListImagesRequestArchitectureEnum

type ListImagesRequestArchitectureEnum struct {
	X86 ListImagesRequestArchitecture
	ARM ListImagesRequestArchitecture
}

func GetListImagesRequestArchitectureEnum

func GetListImagesRequestArchitectureEnum() ListImagesRequestArchitectureEnum

type ListImagesRequestDiskFormat

type ListImagesRequestDiskFormat struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestDiskFormat) MarshalJSON

func (c ListImagesRequestDiskFormat) MarshalJSON() ([]byte, error)

func (*ListImagesRequestDiskFormat) UnmarshalJSON

func (c *ListImagesRequestDiskFormat) UnmarshalJSON(b []byte) error

func (ListImagesRequestDiskFormat) Value added in v0.0.90

type ListImagesRequestImagetype

type ListImagesRequestImagetype struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestImagetype) MarshalJSON

func (c ListImagesRequestImagetype) MarshalJSON() ([]byte, error)

func (*ListImagesRequestImagetype) UnmarshalJSON

func (c *ListImagesRequestImagetype) UnmarshalJSON(b []byte) error

func (ListImagesRequestImagetype) Value added in v0.0.90

type ListImagesRequestImagetypeEnum

type ListImagesRequestImagetypeEnum struct {
	GOLD    ListImagesRequestImagetype
	PRIVATE ListImagesRequestImagetype
	SHARED  ListImagesRequestImagetype
}

func GetListImagesRequestImagetypeEnum

func GetListImagesRequestImagetypeEnum() ListImagesRequestImagetypeEnum

type ListImagesRequestIsregistered

type ListImagesRequestIsregistered struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestIsregistered) MarshalJSON

func (c ListImagesRequestIsregistered) MarshalJSON() ([]byte, error)

func (*ListImagesRequestIsregistered) UnmarshalJSON

func (c *ListImagesRequestIsregistered) UnmarshalJSON(b []byte) error

func (ListImagesRequestIsregistered) Value added in v0.0.90

type ListImagesRequestIsregisteredEnum

type ListImagesRequestIsregisteredEnum struct {
	TRUE  ListImagesRequestIsregistered
	FALSE ListImagesRequestIsregistered
}

func GetListImagesRequestIsregisteredEnum

func GetListImagesRequestIsregisteredEnum() ListImagesRequestIsregisteredEnum

type ListImagesRequestMemberStatus

type ListImagesRequestMemberStatus struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestMemberStatus) MarshalJSON

func (c ListImagesRequestMemberStatus) MarshalJSON() ([]byte, error)

func (*ListImagesRequestMemberStatus) UnmarshalJSON

func (c *ListImagesRequestMemberStatus) UnmarshalJSON(b []byte) error

func (ListImagesRequestMemberStatus) Value added in v0.0.90

type ListImagesRequestMemberStatusEnum

type ListImagesRequestMemberStatusEnum struct {
	ACCEPTED ListImagesRequestMemberStatus
	REJECTED ListImagesRequestMemberStatus
	PENDING  ListImagesRequestMemberStatus
}

func GetListImagesRequestMemberStatusEnum

func GetListImagesRequestMemberStatusEnum() ListImagesRequestMemberStatusEnum

type ListImagesRequestOsBit

type ListImagesRequestOsBit struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestOsBit) MarshalJSON

func (c ListImagesRequestOsBit) MarshalJSON() ([]byte, error)

func (*ListImagesRequestOsBit) UnmarshalJSON

func (c *ListImagesRequestOsBit) UnmarshalJSON(b []byte) error

func (ListImagesRequestOsBit) Value added in v0.0.90

func (c ListImagesRequestOsBit) Value() string

type ListImagesRequestOsBitEnum

type ListImagesRequestOsBitEnum struct {
	E_32 ListImagesRequestOsBit
	E_64 ListImagesRequestOsBit
}

func GetListImagesRequestOsBitEnum

func GetListImagesRequestOsBitEnum() ListImagesRequestOsBitEnum

type ListImagesRequestOsType

type ListImagesRequestOsType struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestOsType) MarshalJSON

func (c ListImagesRequestOsType) MarshalJSON() ([]byte, error)

func (*ListImagesRequestOsType) UnmarshalJSON

func (c *ListImagesRequestOsType) UnmarshalJSON(b []byte) error

func (ListImagesRequestOsType) Value added in v0.0.90

func (c ListImagesRequestOsType) Value() string

type ListImagesRequestOsTypeEnum

type ListImagesRequestOsTypeEnum struct {
	LINUX   ListImagesRequestOsType
	WINDOWS ListImagesRequestOsType
	OTHER   ListImagesRequestOsType
}

func GetListImagesRequestOsTypeEnum

func GetListImagesRequestOsTypeEnum() ListImagesRequestOsTypeEnum

type ListImagesRequestPlatform

type ListImagesRequestPlatform struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestPlatform) MarshalJSON

func (c ListImagesRequestPlatform) MarshalJSON() ([]byte, error)

func (*ListImagesRequestPlatform) UnmarshalJSON

func (c *ListImagesRequestPlatform) UnmarshalJSON(b []byte) error

func (ListImagesRequestPlatform) Value added in v0.0.90

type ListImagesRequestSortDir

type ListImagesRequestSortDir struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestSortDir) MarshalJSON

func (c ListImagesRequestSortDir) MarshalJSON() ([]byte, error)

func (*ListImagesRequestSortDir) UnmarshalJSON

func (c *ListImagesRequestSortDir) UnmarshalJSON(b []byte) error

func (ListImagesRequestSortDir) Value added in v0.0.90

func (c ListImagesRequestSortDir) Value() string

type ListImagesRequestSortDirEnum

type ListImagesRequestSortDirEnum struct {
	ASC  ListImagesRequestSortDir
	DESC ListImagesRequestSortDir
}

func GetListImagesRequestSortDirEnum

func GetListImagesRequestSortDirEnum() ListImagesRequestSortDirEnum

type ListImagesRequestSortKey

type ListImagesRequestSortKey struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestSortKey) MarshalJSON

func (c ListImagesRequestSortKey) MarshalJSON() ([]byte, error)

func (*ListImagesRequestSortKey) UnmarshalJSON

func (c *ListImagesRequestSortKey) UnmarshalJSON(b []byte) error

func (ListImagesRequestSortKey) Value added in v0.0.90

func (c ListImagesRequestSortKey) Value() string

type ListImagesRequestStatus

type ListImagesRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestStatus) MarshalJSON

func (c ListImagesRequestStatus) MarshalJSON() ([]byte, error)

func (*ListImagesRequestStatus) UnmarshalJSON

func (c *ListImagesRequestStatus) UnmarshalJSON(b []byte) error

func (ListImagesRequestStatus) Value added in v0.0.90

func (c ListImagesRequestStatus) Value() string

type ListImagesRequestStatusEnum

type ListImagesRequestStatusEnum struct {
	QUEUED  ListImagesRequestStatus
	SAVING  ListImagesRequestStatus
	DELETED ListImagesRequestStatus
	KILLED  ListImagesRequestStatus
	ACTIVE  ListImagesRequestStatus
}

func GetListImagesRequestStatusEnum

func GetListImagesRequestStatusEnum() ListImagesRequestStatusEnum

type ListImagesRequestVirtualEnvType

type ListImagesRequestVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestVirtualEnvType) MarshalJSON

func (c ListImagesRequestVirtualEnvType) MarshalJSON() ([]byte, error)

func (*ListImagesRequestVirtualEnvType) UnmarshalJSON

func (c *ListImagesRequestVirtualEnvType) UnmarshalJSON(b []byte) error

func (ListImagesRequestVirtualEnvType) Value added in v0.0.90

type ListImagesRequestVirtualEnvTypeEnum

type ListImagesRequestVirtualEnvTypeEnum struct {
	FUSION_COMPUTE ListImagesRequestVirtualEnvType
	IRONIC         ListImagesRequestVirtualEnvType
	DATA_IMAGE     ListImagesRequestVirtualEnvType
}

func GetListImagesRequestVirtualEnvTypeEnum

func GetListImagesRequestVirtualEnvTypeEnum() ListImagesRequestVirtualEnvTypeEnum

type ListImagesRequestVisibility

type ListImagesRequestVisibility struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestVisibility) MarshalJSON

func (c ListImagesRequestVisibility) MarshalJSON() ([]byte, error)

func (*ListImagesRequestVisibility) UnmarshalJSON

func (c *ListImagesRequestVisibility) UnmarshalJSON(b []byte) error

func (ListImagesRequestVisibility) Value added in v0.0.90

type ListImagesRequestVisibilityEnum

type ListImagesRequestVisibilityEnum struct {
	PUBLIC  ListImagesRequestVisibility
	PRIVATE ListImagesRequestVisibility
}

func GetListImagesRequestVisibilityEnum

func GetListImagesRequestVisibilityEnum() ListImagesRequestVisibilityEnum

type ListImagesResponse

type ListImagesResponse struct {

	// 镜像列表
	Images         *[]ImageInfo `json:"images,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListImagesResponse) String

func (o ListImagesResponse) String() string

type ListImagesTagsRequest

type ListImagesTagsRequest struct {
}

Request Object

func (ListImagesTagsRequest) String

func (o ListImagesTagsRequest) String() string

type ListImagesTagsResponse

type ListImagesTagsResponse struct {

	// 标签列表
	Tags           *[]Tags `json:"tags,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListImagesTagsResponse) String

func (o ListImagesTagsResponse) String() string

type ListOsVersionsRequest

type ListOsVersionsRequest struct {

	// OS的标签。 根据标签值可以过滤查询指定特性的OS信息。 取值范围: bms:表示该镜像支持BMS的os_version列表。 uefi:支持UEFI启动方式的os_version列表。 arm:显示基于arm架构的os_version列表。 x86:显示基于x86架构的os_version列表。不带tag查询条件则默认查询当前region支持的所有的OS列表。
	Tag *string `json:"tag,omitempty"`
}

Request Object

func (ListOsVersionsRequest) String

func (o ListOsVersionsRequest) String() string

type ListOsVersionsResponse

type ListOsVersionsResponse struct {
	Body           *[]ListOsVersionsResponseBody `json:"body,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

Response Object

func (ListOsVersionsResponse) String

func (o ListOsVersionsResponse) String() string

type ListOsVersionsResponseBody

type ListOsVersionsResponseBody struct {

	// 操作系统的平台值,如RedHat等
	Platform string `json:"platform"`

	// 操作系统的详情值
	VersionList []OsVersionInfo `json:"version_list"`
}

查询操作系统列表响应体

func (ListOsVersionsResponseBody) String

type ListTagsRequest

type ListTagsRequest struct {

	// 用于分页,表示查询几条记录,取值为整数,默认为所有。
	Limit *int32 `json:"limit,omitempty"`

	// 页码,表示需要查询第几页的数据。默认值为1。
	Page *int32 `json:"page,omitempty"`

	// 镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared
	Imagetype *ListTagsRequestImagetype `json:"__imagetype,omitempty"`

	// 镜像ID。
	Id *string `json:"id,omitempty"`

	// 镜像状态。取值如下: queued:表示镜像元数据已经创建成功,等待上传镜像文件。 saving:表示镜像正在上传文件到后端存储。 deleted:表示镜像已经删除。 killed:表示镜像上传错误。 active:表示镜像可以正常使用。
	Status *ListTagsRequestStatus `json:"status,omitempty"`

	// 镜像名称。
	Name *string `json:"name,omitempty"`

	// 镜像运行需要的最小磁盘,单位为GB 。
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 镜像平台分类。
	Platform *string `json:"__platform,omitempty"`

	// 镜像系统类型,取值如下:Linux,Windows,Other
	OsType *ListTagsRequestOsType `json:"__os_type,omitempty"`

	// 成员状态。目前取值有accepted、rejected、pending。
	MemberStatus *ListTagsRequestMemberStatus `json:"member_status,omitempty"`

	// 镜像使用环境类型:FusionCompute、Ironic、DataImage。
	VirtualEnvType *ListTagsRequestVirtualEnvType `json:"virtual_env_type,omitempty"`

	// 表示查询某个企业项目下的镜像。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 镜像架构类型。取值包括:x86,arm
	Architecture *ListTagsRequestArchitecture `json:"architecture,omitempty"`

	// 镜像创建时间。支持按照时间点过滤查询,取值格式为“操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询创建时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: created_at=gt:2018-10-28T10:00:00Z
	CreatedAt *string `json:"created_at,omitempty"`

	// 镜像修改时间。支持按照时间点过滤查询,取值格式为“ 操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询修改时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: updated_at=gt:2018-10-28T10:00:00Z
	UpdatedAt *string `json:"updated_at,omitempty"`
}

Request Object

func (ListTagsRequest) String

func (o ListTagsRequest) String() string

type ListTagsRequestArchitecture

type ListTagsRequestArchitecture struct {
	// contains filtered or unexported fields
}

func (ListTagsRequestArchitecture) MarshalJSON

func (c ListTagsRequestArchitecture) MarshalJSON() ([]byte, error)

func (*ListTagsRequestArchitecture) UnmarshalJSON

func (c *ListTagsRequestArchitecture) UnmarshalJSON(b []byte) error

func (ListTagsRequestArchitecture) Value added in v0.0.90

type ListTagsRequestArchitectureEnum

type ListTagsRequestArchitectureEnum struct {
	X86 ListTagsRequestArchitecture
	ARM ListTagsRequestArchitecture
}

func GetListTagsRequestArchitectureEnum

func GetListTagsRequestArchitectureEnum() ListTagsRequestArchitectureEnum

type ListTagsRequestImagetype

type ListTagsRequestImagetype struct {
	// contains filtered or unexported fields
}

func (ListTagsRequestImagetype) MarshalJSON

func (c ListTagsRequestImagetype) MarshalJSON() ([]byte, error)

func (*ListTagsRequestImagetype) UnmarshalJSON

func (c *ListTagsRequestImagetype) UnmarshalJSON(b []byte) error

func (ListTagsRequestImagetype) Value added in v0.0.90

func (c ListTagsRequestImagetype) Value() string

type ListTagsRequestImagetypeEnum

type ListTagsRequestImagetypeEnum struct {
	GOLD    ListTagsRequestImagetype
	PRIVATE ListTagsRequestImagetype
	SHARED  ListTagsRequestImagetype
}

func GetListTagsRequestImagetypeEnum

func GetListTagsRequestImagetypeEnum() ListTagsRequestImagetypeEnum

type ListTagsRequestMemberStatus

type ListTagsRequestMemberStatus struct {
	// contains filtered or unexported fields
}

func (ListTagsRequestMemberStatus) MarshalJSON

func (c ListTagsRequestMemberStatus) MarshalJSON() ([]byte, error)

func (*ListTagsRequestMemberStatus) UnmarshalJSON

func (c *ListTagsRequestMemberStatus) UnmarshalJSON(b []byte) error

func (ListTagsRequestMemberStatus) Value added in v0.0.90

type ListTagsRequestMemberStatusEnum

type ListTagsRequestMemberStatusEnum struct {
	ACCEPTED ListTagsRequestMemberStatus
	REJECTED ListTagsRequestMemberStatus
	PENDING  ListTagsRequestMemberStatus
}

func GetListTagsRequestMemberStatusEnum

func GetListTagsRequestMemberStatusEnum() ListTagsRequestMemberStatusEnum

type ListTagsRequestOsType

type ListTagsRequestOsType struct {
	// contains filtered or unexported fields
}

func (ListTagsRequestOsType) MarshalJSON

func (c ListTagsRequestOsType) MarshalJSON() ([]byte, error)

func (*ListTagsRequestOsType) UnmarshalJSON

func (c *ListTagsRequestOsType) UnmarshalJSON(b []byte) error

func (ListTagsRequestOsType) Value added in v0.0.90

func (c ListTagsRequestOsType) Value() string

type ListTagsRequestOsTypeEnum

type ListTagsRequestOsTypeEnum struct {
	LINUX   ListTagsRequestOsType
	WINDOWS ListTagsRequestOsType
	OTHER   ListTagsRequestOsType
}

func GetListTagsRequestOsTypeEnum

func GetListTagsRequestOsTypeEnum() ListTagsRequestOsTypeEnum

type ListTagsRequestStatus

type ListTagsRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListTagsRequestStatus) MarshalJSON

func (c ListTagsRequestStatus) MarshalJSON() ([]byte, error)

func (*ListTagsRequestStatus) UnmarshalJSON

func (c *ListTagsRequestStatus) UnmarshalJSON(b []byte) error

func (ListTagsRequestStatus) Value added in v0.0.90

func (c ListTagsRequestStatus) Value() string

type ListTagsRequestStatusEnum

type ListTagsRequestStatusEnum struct {
	QUEUED  ListTagsRequestStatus
	SAVING  ListTagsRequestStatus
	DELETED ListTagsRequestStatus
	KILLED  ListTagsRequestStatus
	ACTIVE  ListTagsRequestStatus
}

func GetListTagsRequestStatusEnum

func GetListTagsRequestStatusEnum() ListTagsRequestStatusEnum

type ListTagsRequestVirtualEnvType

type ListTagsRequestVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (ListTagsRequestVirtualEnvType) MarshalJSON

func (c ListTagsRequestVirtualEnvType) MarshalJSON() ([]byte, error)

func (*ListTagsRequestVirtualEnvType) UnmarshalJSON

func (c *ListTagsRequestVirtualEnvType) UnmarshalJSON(b []byte) error

func (ListTagsRequestVirtualEnvType) Value added in v0.0.90

type ListTagsRequestVirtualEnvTypeEnum

type ListTagsRequestVirtualEnvTypeEnum struct {
	FUSION_COMPUTE ListTagsRequestVirtualEnvType
	IRONIC         ListTagsRequestVirtualEnvType
	DATA_IMAGE     ListTagsRequestVirtualEnvType
}

func GetListTagsRequestVirtualEnvTypeEnum

func GetListTagsRequestVirtualEnvTypeEnum() ListTagsRequestVirtualEnvTypeEnum

type ListTagsResponse

type ListTagsResponse struct {

	// 标签列表
	Tags           *[]string `json:"tags,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListTagsResponse) String

func (o ListTagsResponse) String() string

type ListVersionsRequest added in v0.0.81

type ListVersionsRequest struct {
}

Request Object

func (ListVersionsRequest) String added in v0.0.81

func (o ListVersionsRequest) String() string

type ListVersionsResponse added in v0.0.81

type ListVersionsResponse struct {

	// 版本信息
	Versions       *[]OsVersionResponse `json:"versions,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListVersionsResponse) String added in v0.0.81

func (o ListVersionsResponse) String() string

type OsVersionInfo

type OsVersionInfo struct {

	// 操作系统的平台值
	Platform string `json:"platform"`

	// os_version的key值,和os_version值相同
	OsVersionKey string `json:"os_version_key"`

	// 操作系统的版本
	OsVersion string `json:"os_version"`

	// 操作系统的位数
	OsBit int32 `json:"os_bit"`

	// 操作系统的类型,Linux或Windows
	OsType string `json:"os_type"`
}

操作系统详情

func (OsVersionInfo) String

func (o OsVersionInfo) String() string

type OsVersionResponse added in v0.0.81

type OsVersionResponse struct {

	// 接口状态。
	Status string `json:"status"`

	// 接口ID。
	Id *string `json:"id,omitempty"`

	// 自描述信息。
	Links *[]Links `json:"links,omitempty"`
}

查询版本响应体

func (OsVersionResponse) String added in v0.0.81

func (o OsVersionResponse) String() string

type QueryImageByTagsResourceDetail

type QueryImageByTagsResourceDetail struct {

	// 镜像状态
	Status string `json:"status"`
}

镜像详情

func (QueryImageByTagsResourceDetail) String

type QuickImportImageByFileRequestBody

type QuickImportImageByFileRequestBody struct {

	// 镜像名称
	Name string `json:"name"`

	// 镜像描述信息。_description参数说明请参考镜像属性。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。
	Description *string `json:"description,omitempty"`

	// 操作系统版本。使用上传至OBS桶中的外部镜像文件制作镜像时生效
	OsVersion string `json:"os_version"`

	// OBS桶中外部镜像文件地址。在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。格式为<OBS桶名>:<OBS镜像文件名称>。注意:此处的OBS桶和镜像文件的存储类别必须是OBS标准存储。
	ImageUrl string `json:"image_url"`

	// 最小系统盘大小。在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。取值为1至1024GB。
	MinDisk int32 `json:"min_disk"`

	// 镜像标签列表。默认为空。 tags和image_tags只能使用一个。
	Tags *[]string `json:"tags,omitempty"`

	// 制作的镜像类型。系统盘镜像为ECS/BMS,数据盘镜像为DataImage. 制作数据盘镜像时该参数必选.
	Type *QuickImportImageByFileRequestBodyType `json:"type,omitempty"`

	// 表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 镜像的架构类型。取值包括: x86 arm 默认使用“x86”。
	Architecture *QuickImportImageByFileRequestBodyArchitecture `json:"architecture,omitempty"`

	// 操作系统版本。 创建数据盘镜像时该参数取值为Linux或Windows,默认Linux。
	OsType *QuickImportImageByFileRequestBodyOsType `json:"os_type,omitempty"`

	// 新规范的镜像标签列表。默认为空。 tags和image_tags只能使用一个。
	ImageTags *[]ResourceTag `json:"image_tags,omitempty"`
}

快速通道创建镜像的请求体

func (QuickImportImageByFileRequestBody) String

type QuickImportImageByFileRequestBodyArchitecture

type QuickImportImageByFileRequestBodyArchitecture struct {
	// contains filtered or unexported fields
}

func (QuickImportImageByFileRequestBodyArchitecture) MarshalJSON

func (*QuickImportImageByFileRequestBodyArchitecture) UnmarshalJSON

func (QuickImportImageByFileRequestBodyArchitecture) Value added in v0.0.90

type QuickImportImageByFileRequestBodyOsType

type QuickImportImageByFileRequestBodyOsType struct {
	// contains filtered or unexported fields
}

func (QuickImportImageByFileRequestBodyOsType) MarshalJSON

func (c QuickImportImageByFileRequestBodyOsType) MarshalJSON() ([]byte, error)

func (*QuickImportImageByFileRequestBodyOsType) UnmarshalJSON

func (c *QuickImportImageByFileRequestBodyOsType) UnmarshalJSON(b []byte) error

func (QuickImportImageByFileRequestBodyOsType) Value added in v0.0.90

type QuickImportImageByFileRequestBodyOsTypeEnum

type QuickImportImageByFileRequestBodyOsTypeEnum struct {
	LINUX   QuickImportImageByFileRequestBodyOsType
	WINDOWS QuickImportImageByFileRequestBodyOsType
}

func GetQuickImportImageByFileRequestBodyOsTypeEnum

func GetQuickImportImageByFileRequestBodyOsTypeEnum() QuickImportImageByFileRequestBodyOsTypeEnum

type QuickImportImageByFileRequestBodyType

type QuickImportImageByFileRequestBodyType struct {
	// contains filtered or unexported fields
}

func (QuickImportImageByFileRequestBodyType) MarshalJSON

func (c QuickImportImageByFileRequestBodyType) MarshalJSON() ([]byte, error)

func (*QuickImportImageByFileRequestBodyType) UnmarshalJSON

func (c *QuickImportImageByFileRequestBodyType) UnmarshalJSON(b []byte) error

func (QuickImportImageByFileRequestBodyType) Value added in v0.0.90

type Quota

type Quota struct {

	// 查询的配额信息。
	Resources []QuotaInfo `json:"resources"`
}

quota响应

func (Quota) String

func (o Quota) String() string

type QuotaInfo

type QuotaInfo struct {

	// 查询的资源类型。
	Type string `json:"type"`

	// 已使用的资源配额。
	Used int32 `json:"used"`

	// 查询出的资源的总配额。
	Quota int32 `json:"quota"`

	// 资源的最小配额。
	Min int32 `json:"min"`

	// 资源的最大配额。
	Max int32 `json:"max"`
}

quota详细信息

func (QuotaInfo) String

func (o QuotaInfo) String() string

type RegisterImageRequest

type RegisterImageRequest struct {

	// 镜像ID。 image_id为用户调用创建镜像元数据接口所创建出来镜像的id,使用其他方式创建的镜像id会导致注册失败。 注册接口调用成功后,请根据镜像id查询镜像的状态。镜像状态变为active表示镜像注册成功,详情请参见查询镜像详情(OpenStack原生)。
	ImageId string `json:"image_id"`

	Body *RegisterImageRequestBody `json:"body,omitempty"`
}

Request Object

func (RegisterImageRequest) String

func (o RegisterImageRequest) String() string

type RegisterImageRequestBody

type RegisterImageRequestBody struct {

	// 源镜像的URL,格式:<bucket>:<file> image_url对应的镜像桶中的文件,镜像文件格式的取值范围为:ZVHD、QCOW2、VHD、RAW、VHDX、QED、VDI、QCOW、ZVHD2、VMDK。
	ImageUrl string `json:"image_url"`
}

镜像上传请求体

func (RegisterImageRequestBody) String

func (o RegisterImageRequestBody) String() string

type RegisterImageResponse

type RegisterImageResponse struct {

	// 异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RegisterImageResponse) String

func (o RegisterImageResponse) String() string

type ResourceTag

type ResourceTag struct {

	// 标签的键
	Key string `json:"key"`

	// 标签的值
	Value string `json:"value"`
}

标签键值

func (ResourceTag) String

func (o ResourceTag) String() string

type ShowImageByTagsResource

type ShowImageByTagsResource struct {

	// 镜像ID
	ResourceId string `json:"resource_id"`

	ResourceDetail *QueryImageByTagsResourceDetail `json:"resource_detail"`

	// 镜像的标签列表
	Tags []TagKeyValue `json:"tags"`

	// 镜像名称
	ResourceName string `json:"resource_name"`
}

resource字段数据结构说明

func (ShowImageByTagsResource) String

func (o ShowImageByTagsResource) String() string

type ShowImageQuotaRequest

type ShowImageQuotaRequest struct {
}

Request Object

func (ShowImageQuotaRequest) String

func (o ShowImageQuotaRequest) String() string

type ShowImageQuotaResponse

type ShowImageQuotaResponse struct {
	Quotas         *Quota `json:"quotas,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowImageQuotaResponse) String

func (o ShowImageQuotaResponse) String() string

type ShowJobRequest

type ShowJobRequest struct {

	// 异步任务ID
	JobId string `json:"job_id"`
}

Request Object

func (ShowJobRequest) String

func (o ShowJobRequest) String() string

type ShowJobResponse

type ShowJobResponse struct {

	// 任务状态,目前取值如下: SUCCESS:表示该任务执行已经结束,任务执行成功。 FAIL:表示该任务执行已经结束,任务执行失败。 RUNNING:表示该任务正在执行。 INIT:表给任务还未执行,正在初始化。
	Status *ShowJobResponseStatus `json:"status,omitempty"`

	// 任务ID。
	JobId *string `json:"job_id,omitempty"`

	// 任务类型。
	JobType *string `json:"job_type,omitempty"`

	// 任务开始执行时间。格式为UTC时间。
	BeginTime *string `json:"begin_time,omitempty"`

	// 任务结束时间。格式为UTC时间。
	EndTime *string `json:"end_time,omitempty"`

	// 错误码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 失败原因。
	FailReason *string `json:"fail_reason,omitempty"`

	Entities       *JobEntities `json:"entities,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowJobResponse) String

func (o ShowJobResponse) String() string

type ShowJobResponseStatus

type ShowJobResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowJobResponseStatus) MarshalJSON

func (c ShowJobResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowJobResponseStatus) UnmarshalJSON

func (c *ShowJobResponseStatus) UnmarshalJSON(b []byte) error

func (ShowJobResponseStatus) Value added in v0.0.90

func (c ShowJobResponseStatus) Value() string

type ShowJobResponseStatusEnum

type ShowJobResponseStatusEnum struct {
	SUCCESS ShowJobResponseStatus
	FAIL    ShowJobResponseStatus
	RUNNING ShowJobResponseStatus
	INIT    ShowJobResponseStatus
}

func GetShowJobResponseStatusEnum

func GetShowJobResponseStatusEnum() ShowJobResponseStatusEnum

type ShowVersionRequest added in v0.0.81

type ShowVersionRequest struct {

	// API版本号。例如:v2.0
	Version string `json:"version"`
}

Request Object

func (ShowVersionRequest) String added in v0.0.81

func (o ShowVersionRequest) String() string

type ShowVersionResponse added in v0.0.81

type ShowVersionResponse struct {

	// 版本信息
	Versions       *[]OsVersionResponse `json:"versions,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ShowVersionResponse) String added in v0.0.81

func (o ShowVersionResponse) String() string

type TagKeyValue

type TagKeyValue struct {

	// 标签的键
	Key string `json:"key"`

	// 标签的值
	Value string `json:"value"`
}

镜像标签

func (TagKeyValue) String

func (o TagKeyValue) String() string

type Tags

type Tags struct {

	// 标签的键。最大长度127个unicode字符,key不能为空。
	Key string `json:"key"`

	// 标签的值列表。每个值最大长度255个unicode字符,如果values为空列表,则标签的值可以是任意值。值列表中的值之间为或的关系。
	Values []string `json:"values"`
}

镜像标签

func (Tags) String

func (o Tags) String() string

type UpdateImageRequest

type UpdateImageRequest struct {

	// 镜像ID
	ImageId string `json:"image_id"`

	Body *[]UpdateImageRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateImageRequest) String

func (o UpdateImageRequest) String() string

type UpdateImageRequestBody

type UpdateImageRequestBody struct {

	// 操作类型,目前取值为add,replace和remove。
	Op UpdateImageRequestBodyOp `json:"op"`

	// 需要更新的属性名称,需要在属性名称前加“/”。
	Path string `json:"path"`

	// 需要更新属性的值。
	Value string `json:"value"`
}

扩展更新镜像接口请求体

func (UpdateImageRequestBody) String

func (o UpdateImageRequestBody) String() string

type UpdateImageRequestBodyOp

type UpdateImageRequestBodyOp struct {
	// contains filtered or unexported fields
}

func (UpdateImageRequestBodyOp) MarshalJSON

func (c UpdateImageRequestBodyOp) MarshalJSON() ([]byte, error)

func (*UpdateImageRequestBodyOp) UnmarshalJSON

func (c *UpdateImageRequestBodyOp) UnmarshalJSON(b []byte) error

func (UpdateImageRequestBodyOp) Value added in v0.0.90

func (c UpdateImageRequestBodyOp) Value() string

type UpdateImageRequestBodyOpEnum

type UpdateImageRequestBodyOpEnum struct {
	ADD     UpdateImageRequestBodyOp
	REPLACE UpdateImageRequestBodyOp
	REMOVE  UpdateImageRequestBodyOp
}

func GetUpdateImageRequestBodyOpEnum

func GetUpdateImageRequestBodyOpEnum() UpdateImageRequestBodyOpEnum

type UpdateImageResponse

type UpdateImageResponse struct {

	// 备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空
	BackupId *string `json:"__backup_id,omitempty"`

	// 镜像来源。公共镜像为空
	DataOrigin *string `json:"__data_origin,omitempty"`

	// 镜像描述信息。 支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。
	Description *string `json:"__description,omitempty"`

	// 镜像文件的大小,单位为字节
	ImageSize *string `json:"__image_size,omitempty"`

	// 镜像后端存储类型,目前只支持uds
	ImageSourceType *UpdateImageResponseImageSourceType `json:"__image_source_type,omitempty"`

	// 镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private 共享镜像:shared
	Imagetype *UpdateImageResponseImagetype `json:"__imagetype,omitempty"`

	// 是否是注册过的镜像,取值为“true”或者“false”
	Isregistered *UpdateImageResponseIsregistered `json:"__isregistered,omitempty"`

	// 父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空
	Originalimagename *string `json:"__originalimagename,omitempty"`

	// 操作系统位数,一般取值为“32”或者“64”
	OsBit *UpdateImageResponseOsBit `json:"__os_bit,omitempty"`

	// 操作系统类型,目前取值Linux, Windows,Other
	OsType *UpdateImageResponseOsType `json:"__os_type,omitempty"`

	// 操作系统具体版本
	OsVersion *string `json:"__os_version,omitempty"`

	// 镜像平台分类
	Platform *UpdateImageResponsePlatform `json:"__platform,omitempty"`

	// 市场镜像的产品ID
	Productcode *string `json:"__productcode,omitempty"`

	// 镜像来源表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	// 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无需增加该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	// 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性。
	SupportLargememory *string `json:"__support_largememory,omitempty"`

	// 如果镜像支持XEN,取值为true,否则无需增加该属性。
	SupportXen *string `json:"__support_xen,omitempty"`

	// 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性            。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	// 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”             和“__support_kvm”属性不共存。
	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	// 表示当前镜像是否支持发布为市场镜像,true表示支持,false 表示不支持
	SystemSupportMarket *bool `json:"__system_support_market,omitempty"`

	// 目前暂时不使用
	Checksum *string `json:"checksum,omitempty"`

	// 容器类型
	ContainerFormat *string `json:"container_format,omitempty"`

	// 创建时间。格式为UTC时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 镜像的格式,目前支持vhd,zvhd、raw,qcow2。默认值是vhd
	DiskFormat *string `json:"disk_format,omitempty"`

	// 表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目,取值为UUID,表示属于该UUID对应的企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 镜像文件下载和上传链接
	File *string `json:"file,omitempty"`

	// 镜像ID
	Id *string `json:"id,omitempty"`

	// 镜像运行需要的最小磁盘容量,单位为GB。取值为40~1024GB。
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,默认设置为0
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像名称。 名称的首尾字母不能为空格。 名称的长度至为1~128位。 名称包含以下4种字符: 大写字母 小写字母 数字 特殊字符包含-、.、_、空格和中文。
	Name *string `json:"name,omitempty"`

	// 镜像属于哪个租户
	Owner *string `json:"owner,omitempty"`

	// 是否是受保护的,受保护的镜像不允许删除。取值为true或false
	Protected *bool `json:"protected,omitempty"`

	// 镜像视图
	Schema *string `json:"schema,omitempty"`

	// 镜像链接信息
	Self *string `json:"self,omitempty"`

	// 目前暂时不使用
	Size *int32 `json:"size,omitempty"`

	// 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待 上传镜像文件。saving:表示镜像 正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用
	Status *UpdateImageResponseStatus `json:"status,omitempty"`

	// 镜像标签列表
	Tags *[]string `json:"tags,omitempty"`

	// 更新时间。格式为UTC时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 镜像使用环境类型:FusionCompute,Ironic,DataImage。如果弹性云服务器镜像,则取值为FusionCompute,如果是数据卷镜像则取Dat            aImage,如果是裸金属服务器镜像,则取值是Ironic
	VirtualEnvType *UpdateImageResponseVirtualEnvType `json:"virtual_env_type,omitempty"`

	// 目前暂时不使用
	VirtualSize *int32 `json:"virtual_size,omitempty"`

	// 是否被其他租户可见,取值为private或public
	Visibility *UpdateImageResponseVisibility `json:"visibility,omitempty"`

	// 表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。 如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
	SupportFcInject *UpdateImageResponseSupportFcInject `json:"__support_fc_inject,omitempty"`

	// 云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
	HwFirmwareType *UpdateImageResponseHwFirmwareType `json:"hw_firmware_type,omitempty"`

	// 是否是ARM架构类型的镜像,取值为“true”或者“false”。
	SupportArm *UpdateImageResponseSupportArm `json:"__support_arm,omitempty"`

	// 镜像支持的最大内存,单位为MB。取值可以参考云服务器规格限制,一般不设置。
	MaxRam *string `json:"max_ram,omitempty"`

	// 加密镜像所使用的密钥ID。
	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	// 镜像附加属性。该属性采用JSON格式来标识镜像支持的高级特性清单。
	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	// 收费镜像标识。
	AccountCode *string `json:"__account_code,omitempty"`

	// 镜像是否支持网卡多队列。取值为“true”或者“false”。
	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	// 表示当前市场镜像是否下架。true:已下架 false:未下架
	IsOffshelved *string `json:"__is_offshelved,omitempty"`

	// 镜像是否支持延迟加载。取值为“True”或“False”。
	Lazyloading *string `json:"__lazyloading,omitempty"`

	// 表示当前镜像来源是从外部导入。取值:file。
	RootOrigin *string `json:"__root_origin,omitempty"`

	// 表示当前镜像对应云服务器的系统盘插槽位置。目前暂时不用
	SequenceNum *string `json:"__sequence_num,omitempty"`

	// 镜像状态变为正常的时间。
	ActiveAt *string `json:"active_at,omitempty"`

	// 镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控
	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	// 是否是AMD架构类型的镜像。取值为“true”或者“false”。
	SupportAmd     *string `json:"__support_amd,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateImageResponse) String

func (o UpdateImageResponse) String() string

type UpdateImageResponseHwFirmwareType

type UpdateImageResponseHwFirmwareType struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseHwFirmwareType) MarshalJSON

func (c UpdateImageResponseHwFirmwareType) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseHwFirmwareType) UnmarshalJSON

func (c *UpdateImageResponseHwFirmwareType) UnmarshalJSON(b []byte) error

func (UpdateImageResponseHwFirmwareType) Value added in v0.0.90

type UpdateImageResponseHwFirmwareTypeEnum

type UpdateImageResponseHwFirmwareTypeEnum struct {
	BIOS UpdateImageResponseHwFirmwareType
	UEFI UpdateImageResponseHwFirmwareType
}

func GetUpdateImageResponseHwFirmwareTypeEnum

func GetUpdateImageResponseHwFirmwareTypeEnum() UpdateImageResponseHwFirmwareTypeEnum

type UpdateImageResponseImageSourceType

type UpdateImageResponseImageSourceType struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseImageSourceType) MarshalJSON

func (c UpdateImageResponseImageSourceType) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseImageSourceType) UnmarshalJSON

func (c *UpdateImageResponseImageSourceType) UnmarshalJSON(b []byte) error

func (UpdateImageResponseImageSourceType) Value added in v0.0.90

type UpdateImageResponseImageSourceTypeEnum

type UpdateImageResponseImageSourceTypeEnum struct {
	UDS   UpdateImageResponseImageSourceType
	SWIFT UpdateImageResponseImageSourceType
}

func GetUpdateImageResponseImageSourceTypeEnum

func GetUpdateImageResponseImageSourceTypeEnum() UpdateImageResponseImageSourceTypeEnum

type UpdateImageResponseImagetype

type UpdateImageResponseImagetype struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseImagetype) MarshalJSON

func (c UpdateImageResponseImagetype) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseImagetype) UnmarshalJSON

func (c *UpdateImageResponseImagetype) UnmarshalJSON(b []byte) error

func (UpdateImageResponseImagetype) Value added in v0.0.90

type UpdateImageResponseImagetypeEnum

type UpdateImageResponseImagetypeEnum struct {
	GOLD    UpdateImageResponseImagetype
	PRIVATE UpdateImageResponseImagetype
	SHARED  UpdateImageResponseImagetype
}

func GetUpdateImageResponseImagetypeEnum

func GetUpdateImageResponseImagetypeEnum() UpdateImageResponseImagetypeEnum

type UpdateImageResponseIsregistered

type UpdateImageResponseIsregistered struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseIsregistered) MarshalJSON

func (c UpdateImageResponseIsregistered) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseIsregistered) UnmarshalJSON

func (c *UpdateImageResponseIsregistered) UnmarshalJSON(b []byte) error

func (UpdateImageResponseIsregistered) Value added in v0.0.90

type UpdateImageResponseIsregisteredEnum

type UpdateImageResponseIsregisteredEnum struct {
	TRUE  UpdateImageResponseIsregistered
	FALSE UpdateImageResponseIsregistered
}

func GetUpdateImageResponseIsregisteredEnum

func GetUpdateImageResponseIsregisteredEnum() UpdateImageResponseIsregisteredEnum

type UpdateImageResponseOsBit

type UpdateImageResponseOsBit struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseOsBit) MarshalJSON

func (c UpdateImageResponseOsBit) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseOsBit) UnmarshalJSON

func (c *UpdateImageResponseOsBit) UnmarshalJSON(b []byte) error

func (UpdateImageResponseOsBit) Value added in v0.0.90

func (c UpdateImageResponseOsBit) Value() string

type UpdateImageResponseOsBitEnum

type UpdateImageResponseOsBitEnum struct {
	E_32 UpdateImageResponseOsBit
	E_64 UpdateImageResponseOsBit
}

func GetUpdateImageResponseOsBitEnum

func GetUpdateImageResponseOsBitEnum() UpdateImageResponseOsBitEnum

type UpdateImageResponseOsType

type UpdateImageResponseOsType struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseOsType) MarshalJSON

func (c UpdateImageResponseOsType) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseOsType) UnmarshalJSON

func (c *UpdateImageResponseOsType) UnmarshalJSON(b []byte) error

func (UpdateImageResponseOsType) Value added in v0.0.90

type UpdateImageResponseOsTypeEnum

type UpdateImageResponseOsTypeEnum struct {
	LINUX   UpdateImageResponseOsType
	WINDOWS UpdateImageResponseOsType
	OTHER   UpdateImageResponseOsType
}

func GetUpdateImageResponseOsTypeEnum

func GetUpdateImageResponseOsTypeEnum() UpdateImageResponseOsTypeEnum

type UpdateImageResponsePlatform

type UpdateImageResponsePlatform struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponsePlatform) MarshalJSON

func (c UpdateImageResponsePlatform) MarshalJSON() ([]byte, error)

func (*UpdateImageResponsePlatform) UnmarshalJSON

func (c *UpdateImageResponsePlatform) UnmarshalJSON(b []byte) error

func (UpdateImageResponsePlatform) Value added in v0.0.90

type UpdateImageResponseStatus

type UpdateImageResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseStatus) MarshalJSON

func (c UpdateImageResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseStatus) UnmarshalJSON

func (c *UpdateImageResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateImageResponseStatus) Value added in v0.0.90

type UpdateImageResponseSupportArm

type UpdateImageResponseSupportArm struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseSupportArm) MarshalJSON

func (c UpdateImageResponseSupportArm) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseSupportArm) UnmarshalJSON

func (c *UpdateImageResponseSupportArm) UnmarshalJSON(b []byte) error

func (UpdateImageResponseSupportArm) Value added in v0.0.90

type UpdateImageResponseSupportArmEnum

type UpdateImageResponseSupportArmEnum struct {
	TRUE  UpdateImageResponseSupportArm
	FALSE UpdateImageResponseSupportArm
}

func GetUpdateImageResponseSupportArmEnum

func GetUpdateImageResponseSupportArmEnum() UpdateImageResponseSupportArmEnum

type UpdateImageResponseSupportFcInject

type UpdateImageResponseSupportFcInject struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseSupportFcInject) MarshalJSON

func (c UpdateImageResponseSupportFcInject) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseSupportFcInject) UnmarshalJSON

func (c *UpdateImageResponseSupportFcInject) UnmarshalJSON(b []byte) error

func (UpdateImageResponseSupportFcInject) Value added in v0.0.90

type UpdateImageResponseSupportFcInjectEnum

type UpdateImageResponseSupportFcInjectEnum struct {
	TRUE  UpdateImageResponseSupportFcInject
	FALSE UpdateImageResponseSupportFcInject
}

func GetUpdateImageResponseSupportFcInjectEnum

func GetUpdateImageResponseSupportFcInjectEnum() UpdateImageResponseSupportFcInjectEnum

type UpdateImageResponseVirtualEnvType

type UpdateImageResponseVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseVirtualEnvType) MarshalJSON

func (c UpdateImageResponseVirtualEnvType) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseVirtualEnvType) UnmarshalJSON

func (c *UpdateImageResponseVirtualEnvType) UnmarshalJSON(b []byte) error

func (UpdateImageResponseVirtualEnvType) Value added in v0.0.90

type UpdateImageResponseVirtualEnvTypeEnum

type UpdateImageResponseVirtualEnvTypeEnum struct {
	FUSION_COMPUTE UpdateImageResponseVirtualEnvType
	IRONIC         UpdateImageResponseVirtualEnvType
	DATA_IMAGE     UpdateImageResponseVirtualEnvType
}

func GetUpdateImageResponseVirtualEnvTypeEnum

func GetUpdateImageResponseVirtualEnvTypeEnum() UpdateImageResponseVirtualEnvTypeEnum

type UpdateImageResponseVisibility

type UpdateImageResponseVisibility struct {
	// contains filtered or unexported fields
}

func (UpdateImageResponseVisibility) MarshalJSON

func (c UpdateImageResponseVisibility) MarshalJSON() ([]byte, error)

func (*UpdateImageResponseVisibility) UnmarshalJSON

func (c *UpdateImageResponseVisibility) UnmarshalJSON(b []byte) error

func (UpdateImageResponseVisibility) Value added in v0.0.90

type UpdateImageResponseVisibilityEnum

type UpdateImageResponseVisibilityEnum struct {
	PRIVATE UpdateImageResponseVisibility
	PUBLIC  UpdateImageResponseVisibility
}

func GetUpdateImageResponseVisibilityEnum

func GetUpdateImageResponseVisibilityEnum() UpdateImageResponseVisibilityEnum

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL