rabbitmq

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: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCtyunRabbitmqInstance

func NewCtyunRabbitmqInstance() resource.Resource

func NewCtyunRabbitmqInstances

func NewCtyunRabbitmqInstances() datasource.DataSource

func NewCtyunRabbitmqSpecs

func NewCtyunRabbitmqSpecs() datasource.DataSource

Types

type CtyunRabbitmqInstanceConfig

type CtyunRabbitmqInstanceConfig struct {
	ID              types.String `tfsdk:"id"`
	Name            types.String `tfsdk:"name"`
	MasterOrderID   types.String `tfsdk:"master_order_id"`
	ProjectID       types.String `tfsdk:"project_id"`
	RegionID        types.String `tfsdk:"region_id"`
	ZoneList        types.Set    `tfsdk:"zone_list"`
	InstanceName    types.String `tfsdk:"instance_name"`
	SpecName        types.String `tfsdk:"spec_name"`
	DiskType        types.String `tfsdk:"disk_type"`
	DiskSize        types.Int32  `tfsdk:"disk_size"`
	NodeNum         types.Int32  `tfsdk:"node_num"`
	VpcID           types.String `tfsdk:"vpc_id"`
	SubnetID        types.String `tfsdk:"subnet_id"`
	SecurityGroupID types.String `tfsdk:"security_group_id"`
	CycleType       types.String `tfsdk:"cycle_type"`
	CycleCount      types.Int32  `tfsdk:"cycle_count"`
	// contains filtered or unexported fields
}

type CtyunRabbitmqInstancesConfig

type CtyunRabbitmqInstancesConfig struct {
	RegionID   types.String                  `tfsdk:"region_id"`
	PageNo     types.Int32                   `tfsdk:"page_no"`
	PageSize   types.Int32                   `tfsdk:"page_size"`
	InstanceID types.String                  `tfsdk:"instance_id"`
	Instances  []CtyunRabbitmqInstancesModel `tfsdk:"instances"`
}

type CtyunRabbitmqInstancesModel

type CtyunRabbitmqInstancesModel struct {
	ID           types.String `tfsdk:"id"`
	Prod         types.String `tfsdk:"prod"`
	EngineType   types.String `tfsdk:"engine_type"`   // 引擎类型
	BillMode     types.String `tfsdk:"bill_mode"`     // 账单
	ExpireTime   types.String `tfsdk:"expire_time"`   // 过期时间
	CreateTime   types.String `tfsdk:"create_time"`   // 创建时间
	InstanceName types.String `tfsdk:"instance_name"` // 实例名称
	Status       types.Int32  `tfsdk:"status"`        // 状态
	StatusDesc   types.String `tfsdk:"status_desc"`   // 状态描述
}

type CtyunRabbitmqSpecsConfig

type CtyunRabbitmqSpecsConfig struct {
	RegionID types.String              `tfsdk:"region_id"`
	Specs    []CtyunRabbitmqSpecsModel `tfsdk:"specs"`
}

type CtyunRabbitmqSpecsModel

type CtyunRabbitmqSpecsModel struct {
	ProdId   types.String            `tfsdk:"prod_id"`
	ProdName types.String            `tfsdk:"prod_name"`
	ProdCode types.String            `tfsdk:"prod_code"`
	Sku      []CtyunRabbitmqSpecsSku `tfsdk:"sku"`
}

type CtyunRabbitmqSpecsSku

type CtyunRabbitmqSpecsSku struct {
	ProdId   types.String                  `tfsdk:"prod_id"`
	ProdName types.String                  `tfsdk:"prod_name"`
	ProdCode types.String                  `tfsdk:"prod_code"`
	ResItem  CtyunRabbitmqSpecsSkuResItem  `tfsdk:"res_item"`
	DiskItem CtyunRabbitmqSpecsSkuDiskItem `tfsdk:"disk_item"`
}

type CtyunRabbitmqSpecsSkuDiskItem

type CtyunRabbitmqSpecsSkuDiskItem struct {
	ResType  types.String `tfsdk:"res_type"`
	ResName  types.String `tfsdk:"res_name"`
	ResItems []string     `tfsdk:"res_items"`
}

type CtyunRabbitmqSpecsSkuResItem

type CtyunRabbitmqSpecsSkuResItem struct {
	ResType  types.String                           `tfsdk:"res_type"`
	ResName  types.String                           `tfsdk:"res_name"`
	ResItems []CtyunRabbitmqSpecsSkuResItemResItems `tfsdk:"res_items"`
}

type CtyunRabbitmqSpecsSkuResItemResItems

type CtyunRabbitmqSpecsSkuResItemResItems struct {
	CpuArch  types.String                               `tfsdk:"cpu_arch"`
	HostType types.String                               `tfsdk:"host_type"`
	Spec     []CtyunRabbitmqSpecsSkuResItemResItemsSpec `tfsdk:"spec"`
}

type CtyunRabbitmqSpecsSkuResItemResItemsSpec

type CtyunRabbitmqSpecsSkuResItemResItemsSpec struct {
	SpecName    types.String `tfsdk:"spec_name"`
	Description types.String `tfsdk:"description"`
	Cpu         types.Int32  `tfsdk:"cpu"`
	Memory      types.Int32  `tfsdk:"memory"`
}

Jump to

Keyboard shortcuts

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