image

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCtyunImage

func NewCtyunImage() resource.Resource

func NewCtyunImageAssociationUser

func NewCtyunImageAssociationUser() resource.Resource

func NewCtyunImages

func NewCtyunImages() datasource.DataSource

Types

type CtyunImageAssociationUserConfig

type CtyunImageAssociationUserConfig struct {
	ImageId   types.String `tfsdk:"image_id"`
	Type      types.String `tfsdk:"type"`
	UserEmail types.String `tfsdk:"user_email"`
	RegionId  types.String `tfsdk:"region_id"`
}

type CtyunImageConfig

type CtyunImageConfig struct {
	Id           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	FileSource   types.String `tfsdk:"file_source"`
	OsDistro     types.String `tfsdk:"os_distro"`
	OsVersion    types.String `tfsdk:"os_version"`
	Architecture types.String `tfsdk:"architecture"`
	BootMode     types.String `tfsdk:"boot_mode"`
	Description  types.String `tfsdk:"description"`
	DiskSize     types.Int64  `tfsdk:"disk_size"`
	Type         types.String `tfsdk:"type"`
	ProjectId    types.String `tfsdk:"project_id"`
	RegionId     types.String `tfsdk:"region_id"`
	Status       types.String `tfsdk:"status"`
}

type CtyunImageImagesConfig

type CtyunImageImagesConfig struct {
	Id           types.String `tfsdk:"id"`          // 镜像id
	Name         types.String `tfsdk:"name"`        // 镜像名称
	OsType       types.String `tfsdk:"os_type"`     // 系统类型
	Description  types.String `tfsdk:"description"` // 描述
	Architecture types.String `tfsdk:"architecture"`
}

type CtyunImagesConfig

type CtyunImagesConfig struct {
	Visibility types.String             `tfsdk:"visibility"`
	Name       types.String             `tfsdk:"name"`
	RegionId   types.String             `tfsdk:"region_id"`
	AzName     types.String             `tfsdk:"az_name"`
	Images     []CtyunImageImagesConfig `tfsdk:"images"`
	PageSize   types.Int64              `tfsdk:"page_size"`
	PageNo     types.Int64              `tfsdk:"page_no"`
}

Jump to

Keyboard shortcuts

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