model

package
v0.0.83 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 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 {
	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 {
	ImageId string `json:"image_id"`

	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 {
	Images []string `json:"images"`

	Projects []string `json:"projects"`
}

批量添加镜像成员body

func (BatchAddMembersRequestBody) String

type BatchAddMembersResponse

type BatchAddMembersResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchAddMembersResponse) String

func (o BatchAddMembersResponse) String() string

type BatchAddOrDeleteTagsRequest

type BatchAddOrDeleteTagsRequest struct {
	ImageId string `json:"image_id"`

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

Request Object

func (BatchAddOrDeleteTagsRequest) String

type BatchAddOrDeleteTagsRequestBody

type BatchAddOrDeleteTagsRequestBody struct {
	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

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 {
	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 {
	Images []string `json:"images"`

	ProjectId string `json:"project_id"`

	Status BatchUpdateMembersRequestBodyStatus `json:"status"`

	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

type BatchUpdateMembersRequestBodyStatusEnum

type BatchUpdateMembersRequestBodyStatusEnum struct {
	ACCEPTED BatchUpdateMembersRequestBodyStatus
	REJECTED BatchUpdateMembersRequestBodyStatus
}

func GetBatchUpdateMembersRequestBodyStatusEnum

func GetBatchUpdateMembersRequestBodyStatusEnum() BatchUpdateMembersRequestBodyStatusEnum

type BatchUpdateMembersResponse

type BatchUpdateMembersResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchUpdateMembersResponse) String

type CopyImageCrossRegionRequest

type CopyImageCrossRegionRequest struct {
	ImageId string `json:"image_id"`

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

Request Object

func (CopyImageCrossRegionRequest) String

type CopyImageCrossRegionRequestBody

type CopyImageCrossRegionRequestBody struct {
	AgencyName string `json:"agency_name"`

	Description *string `json:"description,omitempty"`

	Name string `json:"name"`

	ProjectName string `json:"project_name"`

	Region string `json:"region"`
}

func (CopyImageCrossRegionRequestBody) String

type CopyImageCrossRegionResponse

type CopyImageCrossRegionResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CopyImageCrossRegionResponse) String

type CopyImageInRegionRequest

type CopyImageInRegionRequest struct {
	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 *string `json:"description,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Name string `json:"name"`
}

请求参数

func (CopyImageInRegionRequestBody) String

type CopyImageInRegionResponse

type CopyImageInRegionResponse struct {
	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"`

	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 *string `json:"description,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ImageTags *[]ImageTag `json:"image_tags,omitempty"`

	ImageUrl string `json:"image_url"`

	MinDisk int32 `json:"min_disk"`

	Name string `json:"name"`

	OsType *CreateDataImageRequestBodyOsType `json:"os_type,omitempty"`

	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

type CreateDataImageRequestBodyOsTypeEnum

type CreateDataImageRequestBodyOsTypeEnum struct {
	WINDOWS CreateDataImageRequestBodyOsType
	LINUX   CreateDataImageRequestBodyOsType
}

func GetCreateDataImageRequestBodyOsTypeEnum

func GetCreateDataImageRequestBodyOsTypeEnum() CreateDataImageRequestBodyOsTypeEnum

type CreateDataImageResponse

type CreateDataImageResponse struct {
	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"`

	Description *string `json:"description,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ImageTags *[]TagKeyValue `json:"image_tags,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	Name string `json:"name"`

	Tags *[]string `json:"tags,omitempty"`

	MaxRam *int32 `json:"max_ram,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	OsVersion *string `json:"os_version,omitempty"`

	ImageUrl *string `json:"image_url,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	IsConfig *bool `json:"is_config,omitempty"`

	CmkId *string `json:"cmk_id,omitempty"`

	Type *CreateImageRequestBodyType `json:"type,omitempty"`

	IsQuickImport *bool `json:"is_quick_import,omitempty"`

	Architecture *CreateImageRequestBodyArchitecture `json:"architecture,omitempty"`

	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

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

type CreateImageRequestBodyTypeEnum

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

func GetCreateImageRequestBodyTypeEnum

func GetCreateImageRequestBodyTypeEnum() CreateImageRequestBodyTypeEnum

type CreateImageResponse

type CreateImageResponse struct {
	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 {
	Description *string `json:"description,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ImageTags *[]TagKeyValue `json:"image_tags,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	Name string `json:"name"`

	Tags *[]string `json:"tags,omitempty"`

	BackupId *string `json:"backup_id,omitempty"`

	WholeImageType *string `json:"whole_image_type,omitempty"`

	MaxRam *int32 `json:"max_ram,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	VaultId *string `json:"vault_id,omitempty"`
}

func (CreateWholeImageRequestBody) String

type CreateWholeImageResponse

type CreateWholeImageResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateWholeImageResponse) String

func (o CreateWholeImageResponse) String() string

type DeleteImageTagRequest

type DeleteImageTagRequest struct {
	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 {
	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 {
	BucketUrl string `json:"bucket_url"`

	FileFormat ExportImageRequestBodyFileFormat `json:"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

type ExportImageResponse

type ExportImageResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ExportImageResponse) String

func (o ExportImageResponse) String() string

type GlanceAddImageMemberRequest

type GlanceAddImageMemberRequest struct {
	ImageId string `json:"image_id"`

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

Request Object

func (GlanceAddImageMemberRequest) String

type GlanceAddImageMemberRequestBody

type GlanceAddImageMemberRequestBody struct {
	Member string `json:"member"`
}

添加镜像成员请求参数

func (GlanceAddImageMemberRequestBody) String

type GlanceAddImageMemberResponse

type GlanceAddImageMemberResponse struct {
	Status *string `json:"status,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ImageId *string `json:"image_id,omitempty"`

	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 {
	OsVersion *string `json:"__os_version,omitempty"`

	ContainerFormat *string `json:"container_format,omitempty"`

	DiskFormat *GlanceCreateImageMetadataRequestBodyDiskFormat `json:"disk_format,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	Name *string `json:"name,omitempty"`

	Protected *bool `json:"protected,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	Visibility *string `json:"visibility,omitempty"`
}

创建镜像请求体

func (GlanceCreateImageMetadataRequestBody) String

type GlanceCreateImageMetadataRequestBodyDiskFormat

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

func (GlanceCreateImageMetadataRequestBodyDiskFormat) MarshalJSON

func (*GlanceCreateImageMetadataRequestBodyDiskFormat) UnmarshalJSON

type GlanceCreateImageMetadataResponse

type GlanceCreateImageMetadataResponse struct {
	Visibility *string `json:"visibility,omitempty"`

	Name *string `json:"name,omitempty"`

	Protected *bool `json:"protected,omitempty"`

	ContainerFormat *string `json:"container_format,omitempty"`

	DiskFormat *GlanceCreateImageMetadataResponseDiskFormat `json:"disk_format,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	Status *GlanceCreateImageMetadataResponseStatus `json:"status,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Self *string `json:"self,omitempty"`

	Id *string `json:"id,omitempty"`

	File *string `json:"file,omitempty"`

	Schema *string `json:"schema,omitempty"`

	ImageSourceType *string `json:"__image_source_type,omitempty"`

	ImageSize *string `json:"__image_size,omitempty"`

	Isregistered *string `json:"__isregistered,omitempty"`

	OsVersion *string `json:"__os_version,omitempty"`

	OsType *GlanceCreateImageMetadataResponseOsType `json:"__os_type,omitempty"`

	Platform *string `json:"__platform,omitempty"`

	OsBit *GlanceCreateImageMetadataResponseOsBit `json:"__os_bit,omitempty"`

	Imagetype *string `json:"__imagetype,omitempty"`

	VirtualEnvType *GlanceCreateImageMetadataResponseVirtualEnvType `json:"virtual_env_type,omitempty"`

	Owner *string `json:"owner,omitempty"`

	VirtualSize *int32 `json:"virtual_size,omitempty"`

	Properties *interface{} `json:"properties,omitempty"`

	RootOrigin *string `json:"__root_origin,omitempty"`

	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

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

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

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

type GlanceCreateImageMetadataResponseVirtualEnvType

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

func (GlanceCreateImageMetadataResponseVirtualEnvType) MarshalJSON

func (*GlanceCreateImageMetadataResponseVirtualEnvType) UnmarshalJSON

type GlanceCreateTagRequest

type GlanceCreateTagRequest struct {
	ImageId string `json:"image_id"`

	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 {
	ImageId string `json:"image_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 {
	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 {
	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 {
	ImageId string `json:"image_id"`

	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"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`

	ImageId string `json:"image_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 {
	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 {
	Imagetype *GlanceListImagesRequestImagetype `json:"__imagetype,omitempty"`

	Isregistered *bool `json:"__isregistered,omitempty"`

	OsBit *GlanceListImagesRequestOsBit `json:"__os_bit,omitempty"`

	OsType *GlanceListImagesRequestOsType `json:"__os_type,omitempty"`

	Platform *GlanceListImagesRequestPlatform `json:"__platform,omitempty"`

	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	SupportLargememory *string `json:"__support_largememory,omitempty"`

	SupportXen *string `json:"__support_xen,omitempty"`

	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	ContainerFormat *string `json:"container_format,omitempty"`

	DiskFormat *GlanceListImagesRequestDiskFormat `json:"disk_format,omitempty"`

	Id *string `json:"id,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	MemberStatus *string `json:"member_status,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	Name *string `json:"name,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Protected *bool `json:"protected,omitempty"`

	SortDir *string `json:"sort_dir,omitempty"`

	SortKey *string `json:"sort_key,omitempty"`

	Status *GlanceListImagesRequestStatus `json:"status,omitempty"`

	Tag *string `json:"tag,omitempty"`

	Visibility *GlanceListImagesRequestVisibility `json:"visibility,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	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

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

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

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

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

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

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

type GlanceListImagesResponse

type GlanceListImagesResponse struct {
	First *string `json:"first,omitempty"`

	Images *[]GlanceShowImageResponseBody `json:"images,omitempty"`

	Schema *string `json:"schema,omitempty"`

	Next           *string `json:"next,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceListImagesResponse) String

func (o GlanceListImagesResponse) String() string

type GlanceShowImageMemberRequest

type GlanceShowImageMemberRequest struct {
	ImageId string `json:"image_id"`

	MemberId string `json:"member_id"`
}

Request Object

func (GlanceShowImageMemberRequest) String

type GlanceShowImageMemberResponse

type GlanceShowImageMemberResponse struct {
	Status *string `json:"status,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ImageId *string `json:"image_id,omitempty"`

	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 {
	ImageId string `json:"image_id"`
}

Request Object

func (GlanceShowImageRequest) String

func (o GlanceShowImageRequest) String() string

type GlanceShowImageResponse

type GlanceShowImageResponse struct {
	BackupId *string `json:"__backup_id,omitempty"`

	DataOrigin *string `json:"__data_origin,omitempty"`

	Description *string `json:"__description,omitempty"`

	ImageSize *string `json:"__image_size,omitempty"`

	ImageSourceType *GlanceShowImageResponseImageSourceType `json:"__image_source_type,omitempty"`

	Imagetype *GlanceShowImageResponseImagetype `json:"__imagetype,omitempty"`

	Isregistered *GlanceShowImageResponseIsregistered `json:"__isregistered,omitempty"`

	Originalimagename *string `json:"__originalimagename,omitempty"`

	OsBit *GlanceShowImageResponseOsBit `json:"__os_bit,omitempty"`

	OsType *GlanceShowImageResponseOsType `json:"__os_type,omitempty"`

	OsVersion *string `json:"__os_version,omitempty"`

	Platform *GlanceShowImageResponsePlatform `json:"__platform,omitempty"`

	Productcode *string `json:"__productcode,omitempty"`

	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	SupportLargememory *string `json:"__support_largememory,omitempty"`

	SupportXen *string `json:"__support_xen,omitempty"`

	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	Checksum *string `json:"checksum,omitempty"`

	ContainerFormat *string `json:"container_format,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	DiskFormat *GlanceShowImageResponseDiskFormat `json:"disk_format,omitempty"`

	File *string `json:"file,omitempty"`

	Id *string `json:"id,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	Name *string `json:"name,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Protected *bool `json:"protected,omitempty"`

	Schema *string `json:"schema,omitempty"`

	Self *string `json:"self,omitempty"`

	Size *int64 `json:"size,omitempty"`

	Status *GlanceShowImageResponseStatus `json:"status,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	VirtualEnvType *GlanceShowImageResponseVirtualEnvType `json:"virtual_env_type,omitempty"`

	VirtualSize *int32 `json:"virtual_size,omitempty"`

	Visibility *GlanceShowImageResponseVisibility `json:"visibility,omitempty"`

	SupportFcInject *GlanceShowImageResponseSupportFcInject `json:"__support_fc_inject,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	HwFirmwareType *GlanceShowImageResponseHwFirmwareType `json:"hw_firmware_type,omitempty"`

	SupportArm *GlanceShowImageResponseSupportArm `json:"__support_arm,omitempty"`

	IsOffshelved *GlanceShowImageResponseIsOffshelved `json:"__is_offshelved,omitempty"`

	Lazyloading *string `json:"__lazyloading,omitempty"`

	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	RootOrigin *string `json:"__root_origin,omitempty"`

	SequenceNum *string `json:"__sequence_num,omitempty"`

	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	ActiveAt *string `json:"active_at,omitempty"`

	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	MaxRam *string `json:"max_ram,omitempty"`

	ImageLocation *string `json:"__image_location,omitempty"`

	IsConfigInit *string `json:"__is_config_init,omitempty"`

	AccountCode *string `json:"__account_code,omitempty"`

	SupportAmd     *string `json:"__support_amd,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceShowImageResponse) String

func (o GlanceShowImageResponse) String() string

type GlanceShowImageResponseBody

type GlanceShowImageResponseBody struct {
	BackupId *string `json:"__backup_id,omitempty"`

	DataOrigin *string `json:"__data_origin,omitempty"`

	Description *string `json:"__description,omitempty"`

	ImageSize string `json:"__image_size"`

	ImageSourceType GlanceShowImageResponseBodyImageSourceType `json:"__image_source_type"`

	Imagetype GlanceShowImageResponseBodyImagetype `json:"__imagetype"`

	Isregistered GlanceShowImageResponseBodyIsregistered `json:"__isregistered"`

	Originalimagename *string `json:"__originalimagename,omitempty"`

	OsBit *GlanceShowImageResponseBodyOsBit `json:"__os_bit,omitempty"`

	OsType GlanceShowImageResponseBodyOsType `json:"__os_type"`

	OsVersion *string `json:"__os_version,omitempty"`

	Platform *GlanceShowImageResponseBodyPlatform `json:"__platform,omitempty"`

	Productcode *string `json:"__productcode,omitempty"`

	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	SupportLargememory *string `json:"__support_largememory,omitempty"`

	SupportXen *string `json:"__support_xen,omitempty"`

	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	Checksum *string `json:"checksum,omitempty"`

	ContainerFormat string `json:"container_format"`

	CreatedAt string `json:"created_at"`

	DiskFormat GlanceShowImageResponseBodyDiskFormat `json:"disk_format"`

	File string `json:"file"`

	Id string `json:"id"`

	MinDisk int32 `json:"min_disk"`

	MinRam int32 `json:"min_ram"`

	Name string `json:"name"`

	Owner string `json:"owner"`

	Protected bool `json:"protected"`

	Schema string `json:"schema"`

	Self string `json:"self"`

	Size *int64 `json:"size,omitempty"`

	Status GlanceShowImageResponseBodyStatus `json:"status"`

	Tags []string `json:"tags"`

	UpdatedAt string `json:"updated_at"`

	VirtualEnvType GlanceShowImageResponseBodyVirtualEnvType `json:"virtual_env_type"`

	VirtualSize *int32 `json:"virtual_size,omitempty"`

	Visibility GlanceShowImageResponseBodyVisibility `json:"visibility"`

	SupportFcInject *GlanceShowImageResponseBodySupportFcInject `json:"__support_fc_inject,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	HwFirmwareType *GlanceShowImageResponseBodyHwFirmwareType `json:"hw_firmware_type,omitempty"`

	SupportArm *GlanceShowImageResponseBodySupportArm `json:"__support_arm,omitempty"`

	IsOffshelved *GlanceShowImageResponseBodyIsOffshelved `json:"__is_offshelved,omitempty"`

	Lazyloading *string `json:"__lazyloading,omitempty"`

	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	RootOrigin *string `json:"__root_origin,omitempty"`

	SequenceNum *string `json:"__sequence_num,omitempty"`

	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	ActiveAt *string `json:"active_at,omitempty"`

	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	MaxRam *string `json:"max_ram,omitempty"`

	ImageLocation *string `json:"__image_location,omitempty"`

	IsConfigInit *string `json:"__is_config_init,omitempty"`

	AccountCode *string `json:"__account_code,omitempty"`

	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

type GlanceShowImageResponseBodyHwFirmwareType

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

func (GlanceShowImageResponseBodyHwFirmwareType) MarshalJSON

func (*GlanceShowImageResponseBodyHwFirmwareType) UnmarshalJSON

type GlanceShowImageResponseBodyImageSourceType

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

func (GlanceShowImageResponseBodyImageSourceType) MarshalJSON

func (*GlanceShowImageResponseBodyImageSourceType) UnmarshalJSON

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

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

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

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

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

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

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

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

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

type GlanceShowImageResponseBodyVirtualEnvType

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

func (GlanceShowImageResponseBodyVirtualEnvType) MarshalJSON

func (*GlanceShowImageResponseBodyVirtualEnvType) UnmarshalJSON

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 {
	ImageId string `json:"image_id"`

	MemberId string `json:"member_id"`

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

Request Object

func (GlanceUpdateImageMemberRequest) String

type GlanceUpdateImageMemberRequestBody

type GlanceUpdateImageMemberRequestBody struct {
	Status GlanceUpdateImageMemberRequestBodyStatus `json:"status"`

	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

type GlanceUpdateImageMemberRequestBodyStatusEnum

type GlanceUpdateImageMemberRequestBodyStatusEnum struct {
	ACCEPTED GlanceUpdateImageMemberRequestBodyStatus
	REJECTED GlanceUpdateImageMemberRequestBodyStatus
}

func GetGlanceUpdateImageMemberRequestBodyStatusEnum

func GetGlanceUpdateImageMemberRequestBodyStatusEnum() GlanceUpdateImageMemberRequestBodyStatusEnum

type GlanceUpdateImageMemberResponse

type GlanceUpdateImageMemberResponse struct {
	Status *string `json:"status,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ImageId *string `json:"image_id,omitempty"`

	MemberId *string `json:"member_id,omitempty"`

	Schema         *string `json:"schema,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GlanceUpdateImageMemberResponse) String

type GlanceUpdateImageRequest

type GlanceUpdateImageRequest struct {
	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 {
	Op GlanceUpdateImageRequestBodyOp `json:"op"`

	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

type GlanceUpdateImageRequestBodyOpEnum

type GlanceUpdateImageRequestBodyOpEnum struct {
	REPLACE GlanceUpdateImageRequestBodyOp
	ADD     GlanceUpdateImageRequestBodyOp
	REMOVE  GlanceUpdateImageRequestBodyOp
}

func GetGlanceUpdateImageRequestBodyOpEnum

func GetGlanceUpdateImageRequestBodyOpEnum() GlanceUpdateImageRequestBodyOpEnum

type GlanceUpdateImageResponse

type GlanceUpdateImageResponse struct {
	BackupId *string `json:"__backup_id,omitempty"`

	DataOrigin *string `json:"__data_origin,omitempty"`

	Description *string `json:"__description,omitempty"`

	ImageSize *string `json:"__image_size,omitempty"`

	ImageSourceType *GlanceUpdateImageResponseImageSourceType `json:"__image_source_type,omitempty"`

	Imagetype *GlanceUpdateImageResponseImagetype `json:"__imagetype,omitempty"`

	Isregistered *GlanceUpdateImageResponseIsregistered `json:"__isregistered,omitempty"`

	Originalimagename *string `json:"__originalimagename,omitempty"`

	OsBit *GlanceUpdateImageResponseOsBit `json:"__os_bit,omitempty"`

	OsType *GlanceUpdateImageResponseOsType `json:"__os_type,omitempty"`

	OsVersion *string `json:"__os_version,omitempty"`

	Platform *GlanceUpdateImageResponsePlatform `json:"__platform,omitempty"`

	Productcode *string `json:"__productcode,omitempty"`

	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	SupportLargememory *string `json:"__support_largememory,omitempty"`

	SupportXen *string `json:"__support_xen,omitempty"`

	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	Checksum *string `json:"checksum,omitempty"`

	ContainerFormat *string `json:"container_format,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	DiskFormat *GlanceUpdateImageResponseDiskFormat `json:"disk_format,omitempty"`

	File *string `json:"file,omitempty"`

	Id *string `json:"id,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	Name *string `json:"name,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Protected *bool `json:"protected,omitempty"`

	Schema *string `json:"schema,omitempty"`

	Self *string `json:"self,omitempty"`

	Size *int64 `json:"size,omitempty"`

	Status *GlanceUpdateImageResponseStatus `json:"status,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	VirtualEnvType *GlanceUpdateImageResponseVirtualEnvType `json:"virtual_env_type,omitempty"`

	VirtualSize *int32 `json:"virtual_size,omitempty"`

	Visibility *GlanceUpdateImageResponseVisibility `json:"visibility,omitempty"`

	SupportFcInject *GlanceUpdateImageResponseSupportFcInject `json:"__support_fc_inject,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	HwFirmwareType *GlanceUpdateImageResponseHwFirmwareType `json:"hw_firmware_type,omitempty"`

	SupportArm *GlanceUpdateImageResponseSupportArm `json:"__support_arm,omitempty"`

	IsOffshelved *GlanceUpdateImageResponseIsOffshelved `json:"__is_offshelved,omitempty"`

	Lazyloading *string `json:"__lazyloading,omitempty"`

	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	RootOrigin *string `json:"__root_origin,omitempty"`

	SequenceNum *string `json:"__sequence_num,omitempty"`

	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	ActiveAt *string `json:"active_at,omitempty"`

	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	MaxRam *string `json:"max_ram,omitempty"`

	ImageLocation *string `json:"__image_location,omitempty"`

	IsConfigInit *string `json:"__is_config_init,omitempty"`

	AccountCode *string `json:"__account_code,omitempty"`

	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

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

type GlanceUpdateImageResponseImageSourceType

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

func (GlanceUpdateImageResponseImageSourceType) MarshalJSON

func (*GlanceUpdateImageResponseImageSourceType) UnmarshalJSON

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

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

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

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

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

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

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

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

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

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

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

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

type ImageInfo

type ImageInfo struct {
	BackupId *string `json:"__backup_id,omitempty"`

	DataOrigin *string `json:"__data_origin,omitempty"`

	Description *string `json:"__description,omitempty"`

	ImageSize string `json:"__image_size"`

	ImageSourceType ImageInfoImageSourceType `json:"__image_source_type"`

	Imagetype ImageInfoImagetype `json:"__imagetype"`

	Isregistered ImageInfoIsregistered `json:"__isregistered"`

	Originalimagename *string `json:"__originalimagename,omitempty"`

	OsBit *ImageInfoOsBit `json:"__os_bit,omitempty"`

	OsType ImageInfoOsType `json:"__os_type"`

	OsVersion *string `json:"__os_version,omitempty"`

	Platform *ImageInfoPlatform `json:"__platform,omitempty"`

	Productcode *string `json:"__productcode,omitempty"`

	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	SupportLargememory *string `json:"__support_largememory,omitempty"`

	SupportXen *string `json:"__support_xen,omitempty"`

	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	SystemSupportMarket *bool `json:"__system_support_market,omitempty"`

	Checksum *string `json:"checksum,omitempty"`

	ContainerFormat string `json:"container_format"`

	CreatedAt string `json:"created_at"`

	DiskFormat *string `json:"disk_format,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	File *string `json:"file,omitempty"`

	Id string `json:"id"`

	MinDisk int32 `json:"min_disk"`

	MinRam int32 `json:"min_ram"`

	Name string `json:"name"`

	Owner string `json:"owner"`

	Protected bool `json:"protected"`

	Schema *string `json:"schema,omitempty"`

	Self string `json:"self"`

	Size *int32 `json:"size,omitempty"`

	Status ImageInfoStatus `json:"status"`

	Tags []string `json:"tags"`

	UpdatedAt string `json:"updated_at"`

	VirtualEnvType ImageInfoVirtualEnvType `json:"virtual_env_type"`

	VirtualSize *int32 `json:"virtual_size,omitempty"`

	Visibility ImageInfoVisibility `json:"visibility"`

	SupportFcInject *ImageInfoSupportFcInject `json:"__support_fc_inject,omitempty"`

	HwFirmwareType *ImageInfoHwFirmwareType `json:"hw_firmware_type,omitempty"`

	SupportArm *ImageInfoSupportArm `json:"__support_arm,omitempty"`

	MaxRam *string `json:"max_ram,omitempty"`

	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	AccountCode *string `json:"__account_code,omitempty"`

	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	IsOffshelved *string `json:"__is_offshelved,omitempty"`

	Lazyloading *string `json:"__lazyloading,omitempty"`

	RootOrigin *string `json:"__root_origin,omitempty"`

	SequenceNum *string `json:"__sequence_num,omitempty"`

	ActiveAt string `json:"active_at"`

	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	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

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

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

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

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

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

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

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

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

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

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

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

type ImageInfoVisibilityEnum

type ImageInfoVisibilityEnum struct {
	PRIVATE ImageInfoVisibility
	PUBLIC  ImageInfoVisibility
}

func GetImageInfoVisibilityEnum

func GetImageInfoVisibilityEnum() ImageInfoVisibilityEnum

type ImageTag

type ImageTag struct {
	Key *string `json:"key,omitempty"`

	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 {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ImportImageQuickResponse) String

func (o ImportImageQuickResponse) String() string

type JobEntities

type JobEntities struct {
	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 {
	ImageId *string `json:"image_id,omitempty"`

	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 {
	Action ListImageByTagsRequestBodyAction `json:"action"`

	Tags *[]Tags `json:"tags,omitempty"`

	TagsAny *[]Tags `json:"tags_any,omitempty"`

	NotTags *[]Tags `json:"not_tags,omitempty"`

	NotTagsAny *[]Tags `json:"not_tags_any,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Matches *[]TagKeyValue `json:"matches,omitempty"`

	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

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 {
	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 {
	Imagetype *ListImagesRequestImagetype `json:"__imagetype,omitempty"`

	Isregistered *ListImagesRequestIsregistered `json:"__isregistered,omitempty"`

	OsBit *ListImagesRequestOsBit `json:"__os_bit,omitempty"`

	OsType *ListImagesRequestOsType `json:"__os_type,omitempty"`

	Platform *ListImagesRequestPlatform `json:"__platform,omitempty"`

	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	SupportLargememory *string `json:"__support_largememory,omitempty"`

	SupportXen *string `json:"__support_xen,omitempty"`

	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	ContainerFormat *string `json:"container_format,omitempty"`

	DiskFormat *ListImagesRequestDiskFormat `json:"disk_format,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Id *string `json:"id,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	MemberStatus *ListImagesRequestMemberStatus `json:"member_status,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	Name *string `json:"name,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Protected *bool `json:"protected,omitempty"`

	SortDir *ListImagesRequestSortDir `json:"sort_dir,omitempty"`

	SortKey *ListImagesRequestSortKey `json:"sort_key,omitempty"`

	Status *ListImagesRequestStatus `json:"status,omitempty"`

	Tag *string `json:"tag,omitempty"`

	VirtualEnvType *ListImagesRequestVirtualEnvType `json:"virtual_env_type,omitempty"`

	Visibility *ListImagesRequestVisibility `json:"visibility,omitempty"`

	XSdkDate *string `json:"X-Sdk-Date,omitempty"`

	FlavorId *string `json:"flavor_id,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	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

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

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

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

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

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

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

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

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

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

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

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

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

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 {
	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 {
	Platform string `json:"platform"`

	VersionList []OsVersionInfo `json:"version_list"`
}

查询操作系统列表响应体

func (ListOsVersionsResponseBody) String

type ListTagsRequest

type ListTagsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Imagetype *ListTagsRequestImagetype `json:"__imagetype,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *ListTagsRequestStatus `json:"status,omitempty"`

	Name *string `json:"name,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	Platform *string `json:"__platform,omitempty"`

	OsType *ListTagsRequestOsType `json:"__os_type,omitempty"`

	MemberStatus *ListTagsRequestMemberStatus `json:"member_status,omitempty"`

	VirtualEnvType *ListTagsRequestVirtualEnvType `json:"virtual_env_type,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Architecture *ListTagsRequestArchitecture `json:"architecture,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	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

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

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

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

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

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

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"`

	OsVersionKey string `json:"os_version_key"`

	OsVersion string `json:"os_version"`

	OsBit int32 `json:"os_bit"`

	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 *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 *string `json:"description,omitempty"`

	OsVersion string `json:"os_version"`

	ImageUrl string `json:"image_url"`

	MinDisk int32 `json:"min_disk"`

	Tags *[]string `json:"tags,omitempty"`

	Type *QuickImportImageByFileRequestBodyType `json:"type,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Architecture *QuickImportImageByFileRequestBodyArchitecture `json:"architecture,omitempty"`

	OsType *QuickImportImageByFileRequestBodyOsType `json:"os_type,omitempty"`

	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

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

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

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 {
	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 {
	ImageUrl string `json:"image_url"`
}

镜像上传请求体

func (RegisterImageRequestBody) String

func (o RegisterImageRequestBody) String() string

type RegisterImageResponse

type RegisterImageResponse struct {
	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 {
	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 {
	JobId string `json:"job_id"`
}

Request Object

func (ShowJobRequest) String

func (o ShowJobRequest) String() string

type ShowJobResponse

type ShowJobResponse struct {
	Status *ShowJobResponseStatus `json:"status,omitempty"`

	JobId *string `json:"job_id,omitempty"`

	JobType *string `json:"job_type,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	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

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 {
	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 {
	Key string `json:"key"`

	Values []string `json:"values"`
}

镜像标签

func (Tags) String

func (o Tags) String() string

type UpdateImageRequest

type UpdateImageRequest struct {
	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 {
	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

type UpdateImageRequestBodyOpEnum

type UpdateImageRequestBodyOpEnum struct {
	ADD     UpdateImageRequestBodyOp
	REPLACE UpdateImageRequestBodyOp
	REMOVE  UpdateImageRequestBodyOp
}

func GetUpdateImageRequestBodyOpEnum

func GetUpdateImageRequestBodyOpEnum() UpdateImageRequestBodyOpEnum

type UpdateImageResponse

type UpdateImageResponse struct {
	BackupId *string `json:"__backup_id,omitempty"`

	DataOrigin *string `json:"__data_origin,omitempty"`

	Description *string `json:"__description,omitempty"`

	ImageSize *string `json:"__image_size,omitempty"`

	ImageSourceType *UpdateImageResponseImageSourceType `json:"__image_source_type,omitempty"`

	Imagetype *UpdateImageResponseImagetype `json:"__imagetype,omitempty"`

	Isregistered *UpdateImageResponseIsregistered `json:"__isregistered,omitempty"`

	Originalimagename *string `json:"__originalimagename,omitempty"`

	OsBit *UpdateImageResponseOsBit `json:"__os_bit,omitempty"`

	OsType *UpdateImageResponseOsType `json:"__os_type,omitempty"`

	OsVersion *string `json:"__os_version,omitempty"`

	Platform *UpdateImageResponsePlatform `json:"__platform,omitempty"`

	Productcode *string `json:"__productcode,omitempty"`

	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	SupportLargememory *string `json:"__support_largememory,omitempty"`

	SupportXen *string `json:"__support_xen,omitempty"`

	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	SystemSupportMarket *bool `json:"__system_support_market,omitempty"`

	Checksum *string `json:"checksum,omitempty"`

	ContainerFormat *string `json:"container_format,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	DiskFormat *string `json:"disk_format,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	File *string `json:"file,omitempty"`

	Id *string `json:"id,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	Name *string `json:"name,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Protected *bool `json:"protected,omitempty"`

	Schema *string `json:"schema,omitempty"`

	Self *string `json:"self,omitempty"`

	Size *int32 `json:"size,omitempty"`

	Status *UpdateImageResponseStatus `json:"status,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	VirtualEnvType *UpdateImageResponseVirtualEnvType `json:"virtual_env_type,omitempty"`

	VirtualSize *int32 `json:"virtual_size,omitempty"`

	Visibility *UpdateImageResponseVisibility `json:"visibility,omitempty"`

	SupportFcInject *UpdateImageResponseSupportFcInject `json:"__support_fc_inject,omitempty"`

	HwFirmwareType *UpdateImageResponseHwFirmwareType `json:"hw_firmware_type,omitempty"`

	SupportArm *UpdateImageResponseSupportArm `json:"__support_arm,omitempty"`

	MaxRam *string `json:"max_ram,omitempty"`

	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	OsFeatureList *string `json:"__os_feature_list,omitempty"`

	AccountCode *string `json:"__account_code,omitempty"`

	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	IsOffshelved *string `json:"__is_offshelved,omitempty"`

	Lazyloading *string `json:"__lazyloading,omitempty"`

	RootOrigin *string `json:"__root_origin,omitempty"`

	SequenceNum *string `json:"__sequence_num,omitempty"`

	ActiveAt *string `json:"active_at,omitempty"`

	SupportAgentList *string `json:"__support_agent_list,omitempty"`

	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

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

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

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

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

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

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

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

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

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

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

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

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