Documentation ¶
Overview ¶
Some response parameters in the API documentation display abnormally, causing the PMS platform to be unable to recognize the response parameters. Therefore, this dataSource is written in an automatically generated format.
Generated by PMS #335
Index ¶
- func DataSourceImagesImageV2() *schema.Resource
- func DataSourceImagesImages() *schema.Resource
- func DataSourceImsQuotas() *schema.Resource
- func DataSourceOsVersions() *schema.Resource
- func GetImageList(client *golangsdk.ServiceClient, imageId string) ([]cloudimages.Image, error)
- func ImagesImageRefSchema() *schema.Resource
- func ResourceCbrWholeImage() *schema.Resource
- func ResourceEcsSystemImage() *schema.Resource
- func ResourceEcsWholeImage() *schema.Resource
- func ResourceEvsDataImage() *schema.Resource
- func ResourceEvsSystemImage() *schema.Resource
- func ResourceImageExport() *schema.Resource
- func ResourceImsImageCopy() *schema.Resource
- func ResourceImsImageShare() *schema.Resource
- func ResourceImsImageShareAccepter() *schema.Resource
- func ResourceObsDataImage() *schema.Resource
- func ResourceObsIsoImage() *schema.Resource
- func ResourceObsSystemImage() *schema.Resource
- type QuotasDSWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceImagesImageV2 ¶
@API IMS GET /v2/cloudimages
func DataSourceImagesImages ¶ added in v1.43.0
@API IMS GET /v2/cloudimages
func DataSourceImsQuotas ¶ added in v1.69.0
func DataSourceOsVersions ¶ added in v1.69.0
@API IMS GET /v1/cloudimages/os_version
func GetImageList ¶ added in v1.68.0
func GetImageList(client *golangsdk.ServiceClient, imageId string) ([]cloudimages.Image, error)
func ImagesImageRefSchema ¶ added in v1.43.0
func ResourceCbrWholeImage ¶ added in v1.68.0
@API IMS POST /v1/cloudimages/wholeimages/action @API IMS GET /v1/{project_id}/jobs/{job_id} @API IMS GET /v2/cloudimages @API IMS GET /v2/{project_id}/images/{image_id}/tags @API IMS PATCH /v2/cloudimages/{image_id} @API IMS POST /v2/{project_id}/images/{image_id}/tags/action @API IMS DELETE /v2/images/{image_id}
func ResourceEcsSystemImage ¶ added in v1.68.0
@API IMS POST /v2/cloudimages/action @API IMS GET /v1/{project_id}/jobs/{job_id} @API IMS GET /v2/cloudimages @API IMS GET /v2/{project_id}/images/{image_id}/tags @API IMS PATCH /v2/cloudimages/{image_id} @API IMS POST /v2/{project_id}/images/{image_id}/tags/action @API IMS DELETE /v2/images/{image_id}
func ResourceEcsWholeImage ¶ added in v1.68.0
@API IMS POST /v1/cloudimages/wholeimages/action @API IMS GET /v1/{project_id}/jobs/{job_id} @API IMS GET /v2/cloudimages @API IMS GET /v2/{project_id}/images/{image_id}/tags @API CBR GET /v3/{project_id}/backups/{backup_id} @API IMS PATCH /v2/cloudimages/{image_id} @API IMS POST /v2/{project_id}/images/{image_id}/tags/action @API IMS DELETE /v2/images/{image_id}
func ResourceEvsDataImage ¶ added in v1.68.0
@API IMS POST /v2/cloudimages/action @API IMS GET /v1/{project_id}/jobs/{job_id} @API IMS GET /v2/cloudimages @API IMS GET /v2/{project_id}/images/{image_id}/tags @API IMS PATCH /v2/cloudimages/{image_id} @API IMS POST /v2/{project_id}/images/{image_id}/tags/action @API IMS DELETE /v2/images/{image_id}
func ResourceEvsSystemImage ¶ added in v1.68.1
@API IMS POST /v2/cloudimages/action @API IMS GET /v1/{project_id}/jobs/{job_id} @API IMS GET /v2/cloudimages @API IMS GET /v2/{project_id}/images/{image_id}/tags @API IMS PATCH /v2/cloudimages/{image_id} @API IMS POST /v2/{project_id}/images/{image_id}/tags/action @API IMS DELETE /v2/images/{image_id}
func ResourceImageExport ¶ added in v1.69.0
@API IMS POST /v1/cloudimages/{image_id}/file @API IMS GET /v1/{project_id}/jobs/{job_id} ResourceImageExport is a definition of the one-time action resource that used to manage image export.
func ResourceImsImageCopy ¶ added in v1.47.0
@API IMS POST /v1/cloudimages/{image_id}/copy @API IMS POST /v1/cloudimages/{image_id}/cross_region_copy @API IMS GET /v1/{project_id}jobs/{job_id} @API IMS PATCH /v2/cloudimages/{image_id} @API IMS POST /v2/{project_id}/images/{image_id}/tags/action @API IMS GET /v2/cloudimages @API IMS GET /v2/{project_id}/images/{image_id}/tags @API IMS DELETE /v2/images/{image_id}
func ResourceImsImageShare ¶ added in v1.48.0
@API IMS DELETE /v1/cloudimages/members @API IMS POST /v1/cloudimages/members @API IMS GET /v1/{project_id}/jobs/{job_id}
func ResourceImsImageShareAccepter ¶ added in v1.48.0
@API IMS PUT /v1/cloudimages/members @API IMS GET /v1/{project_id}/jobs/{job_id}
func ResourceObsDataImage ¶ added in v1.68.1
@API IMS POST /v1/cloudimages/dataimages/action @API IMS GET /v1/{project_id}/jobs/{job_id} @API IMS GET /v2/cloudimages @API IMS GET /v2/{project_id}/images/{image_id}/tags @API IMS PATCH /v2/cloudimages/{image_id} @API IMS POST /v2/{project_id}/images/{image_id}/tags/action @API IMS DELETE /v2/images/{image_id}
func ResourceObsIsoImage ¶ added in v1.68.1
@API IMS POST /v2/cloudimages/action @API IMS GET /v1/{project_id}/jobs/{job_id} @API IMS GET /v2/cloudimages @API IMS GET /v2/{project_id}/images/{image_id}/tags @API IMS PATCH /v2/cloudimages/{image_id} @API IMS POST /v2/{project_id}/images/{image_id}/tags/action @API IMS DELETE /v2/images/{image_id}
func ResourceObsSystemImage ¶ added in v1.68.1
@API IMS POST /v2/cloudimages/action @API IMS GET /v1/{project_id}/jobs/{job_id} @API IMS GET /v2/cloudimages @API IMS GET /v2/{project_id}/images/{image_id}/tags @API IMS PATCH /v2/cloudimages/{image_id} @API IMS POST /v2/{project_id}/images/{image_id}/tags/action @API IMS DELETE /v2/images/{image_id}
Types ¶
type QuotasDSWrapper ¶ added in v1.69.0
type QuotasDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*QuotasDSWrapper) ShowImageQuota ¶ added in v1.69.0
func (w *QuotasDSWrapper) ShowImageQuota() (*gjson.Result, error)
@API IMS GET /v1/cloudimages/quota
Source Files ¶
- data_source_huaweicloud_images_image.go
- data_source_huaweicloud_images_images.go
- data_source_huaweicloud_ims_os_versions.go
- data_source_huaweicloud_ims_quotas.go
- resource_huaweicloud_images_image_copy.go
- resource_huaweicloud_images_image_share.go
- resource_huaweicloud_images_image_share_accepter.go
- resource_huaweicloud_ims_cbr_whole_image.go
- resource_huaweicloud_ims_ecs_system_image.go
- resource_huaweicloud_ims_ecs_whole_image.go
- resource_huaweicloud_ims_evs_data_image.go
- resource_huaweicloud_ims_evs_system_image.go
- resource_huaweicloud_ims_image_export.go
- resource_huaweicloud_ims_obs_data_image.go
- resource_huaweicloud_ims_obs_iso_image.go
- resource_huaweicloud_ims_obs_system_image.go