ims

package
v1.69.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MPL-2.0 Imports: 30 Imported by: 3

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceImagesImageV2

func DataSourceImagesImageV2() *schema.Resource

@API IMS GET /v2/cloudimages

func DataSourceImagesImages added in v1.43.0

func DataSourceImagesImages() *schema.Resource

@API IMS GET /v2/cloudimages

func DataSourceImsQuotas added in v1.69.0

func DataSourceImsQuotas() *schema.Resource

func DataSourceOsVersions added in v1.69.0

func DataSourceOsVersions() *schema.Resource

@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 ImagesImageRefSchema() *schema.Resource

func ResourceCbrWholeImage added in v1.68.0

func ResourceCbrWholeImage() *schema.Resource

@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

func ResourceEcsSystemImage() *schema.Resource

@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

func ResourceEcsWholeImage() *schema.Resource

@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

func ResourceEvsDataImage() *schema.Resource

@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

func ResourceEvsSystemImage() *schema.Resource

@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

func ResourceImageExport() *schema.Resource

@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

func ResourceImsImageCopy() *schema.Resource

@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

func ResourceImsImageShare() *schema.Resource

@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

func ResourceImsImageShareAccepter() *schema.Resource

@API IMS PUT /v1/cloudimages/members @API IMS GET /v1/{project_id}/jobs/{job_id}

func ResourceObsDataImage added in v1.68.1

func ResourceObsDataImage() *schema.Resource

@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

func ResourceObsIsoImage() *schema.Resource

@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

func ResourceObsSystemImage() *schema.Resource

@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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL