models

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AZSaleStatusVo

type AZSaleStatusVo struct {

	/* 可用区 (Optional) */
	Label string `json:"label"`

	/* 可用区 (Optional) */
	Value string `json:"value"`

	/* 是否售罄 (0未售罄 1售罄) (Optional) */
	CanSale int `json:"canSale"`

	/* 是否可见(1可见 0不可见) (Optional) */
	Visible int `json:"visible"`
}

type Bastion

type Bastion struct {

	/* 堡垒机id (Optional) */
	Bid string `json:"bid"`

	/* 堡垒机实例 (Optional) */
	InstanceId string `json:"instanceId"`

	/* 地域 (Optional) */
	RegionId string `json:"regionId"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 包年包月 (Optional) */
	ChargeMode string `json:"chargeMode"`

	/* 收费单元 (Optional) */
	ChargeUnit string `json:"chargeUnit"`

	/* 费用持续时间 (Optional) */
	ChargeDuration int `json:"chargeDuration"`

	/* 堡垒机状态 (Optional) */
	Status int `json:"status"`

	/* vpc id (Optional) */
	VpcId string `json:"vpcId"`

	/* 子网 id (Optional) */
	SubnetId string `json:"subnetId"`

	/* nlb公网ip (Optional) */
	PublicIp string `json:"publicIp"`

	/* log内网ip (Optional) */
	LogIp string `json:"logIp"`

	/* log公网ip (Optional) */
	LogPip string `json:"logPip"`

	/* relay私网ip (Optional) */
	RelayIp0 string `json:"relayIp0"`

	/* relay私网ip (Optional) */
	RelayIp1 string `json:"relayIp1"`

	/* relay私网ip (Optional) */
	RelayIp2 string `json:"relayIp2"`

	/* relay公网ip (Optional) */
	RelayPip0 string `json:"relayPip0"`

	/* relay公网ip (Optional) */
	RelayPip1 string `json:"relayPip1"`

	/* relay公网ip (Optional) */
	RelayPip2 string `json:"relayPip2"`

	/* 公网域名 (Optional) */
	Domain string `json:"domain"`

	/* 规格 (Optional) */
	Spec string `json:"spec"`

	/* 创建时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 到期时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 描述信息 (Optional) */
	Desc string `json:"desc"`

	/* 零信任状态 (Optional) */
	ZeroStatus bool `json:"zeroStatus"`

	/* 公网IP状态,true为打开,false为关闭 (Optional) */
	PublicAccess bool `json:"publicAccess"`
}

type CreateBastion

type CreateBastion struct {

	/* 可用区  */
	Az string `json:"az"`

	/* vpc id  */
	VpcId string `json:"vpcId"`

	/* 子网 id  */
	SubnetId string `json:"subnetId"`

	/* 规格  */
	Spec string `json:"spec"`

	/* 收费单元  */
	ChargeUnit string `json:"chargeUnit"`

	/* 费用持续时间  */
	ChargeDuration int `json:"chargeDuration"`

	/* 购买数量  */
	Quantity int `json:"quantity"`

	/* 描述信息 (Optional) */
	Desc string `json:"desc"`
}

type EnableBastion

type EnableBastion struct {

	/* 启用/停用 1/0  */
	Enable int `json:"enable"`
}

type Instance

type Instance struct {

	/* 堡垒机id (Optional) */
	Bid string `json:"bid"`

	/* 堡垒机实例 (Optional) */
	InstanceId string `json:"instanceId"`

	/* 地域 (Optional) */
	RegionId string `json:"regionId"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 包年包月 (Optional) */
	ChargeMode string `json:"chargeMode"`

	/* 收费单元 (Optional) */
	ChargeUnit string `json:"chargeUnit"`

	/* 费用持续时间 (Optional) */
	ChargeDuration int `json:"chargeDuration"`

	/* 堡垒机状态 (Optional) */
	Status int `json:"status"`

	/* vpc id (Optional) */
	VpcId string `json:"vpcId"`

	/* 子网 id (Optional) */
	SubnetId string `json:"subnetId"`

	/* nlb公网ip (Optional) */
	PublicIp string `json:"publicIp"`

	/* 内网IP (Optional) */
	InnerIp string `json:"innerIp"`

	/* log内网ip (Optional) */
	LogIp string `json:"logIp"`

	/* log公网ip (Optional) */
	LogPip string `json:"logPip"`

	/* relay私网ip (Optional) */
	RelayIp0 string `json:"relayIp0"`

	/* relay私网ip (Optional) */
	RelayIp1 string `json:"relayIp1"`

	/* relay私网ip (Optional) */
	RelayIp2 string `json:"relayIp2"`

	/* relay公网ip (Optional) */
	RelayPip0 string `json:"relayPip0"`

	/* relay公网ip (Optional) */
	RelayPip1 string `json:"relayPip1"`

	/* relay公网ip (Optional) */
	RelayPip2 string `json:"relayPip2"`

	/* 公网域名 (Optional) */
	Domain string `json:"domain"`

	/* 内网域名 (Optional) */
	InnerDomain string `json:"innerDomain"`

	/* 规格 (Optional) */
	Spec string `json:"spec"`

	/* 创建时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 到期时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 描述信息 (Optional) */
	Desc string `json:"desc"`

	/* 公网访问状态,true为打开,false为关闭 (Optional) */
	PublicAccess bool `json:"publicAccess"`
}

type InstanceSpec

type InstanceSpec struct {

	/* 可用区  */
	Az string `json:"az"`

	/* 私有网络vpcId  */
	VpcId string `json:"vpcId"`

	/* 子网subnetId  */
	SubnetId string `json:"subnetId"`

	/* 规格  */
	Spec string `json:"spec"`

	/* 购买的数量  */
	Quantity int `json:"quantity"`

	/* v4或v4&v6  */
	IpVersion string `json:"ipVersion"`

	/* 描述信息 (Optional) */
	Desc *string `json:"desc"`
}

type ModifyBastion

type ModifyBastion struct {

	/* 升配的规格  */
	Spec string `json:"spec"`

	/* 自动付款 (Optional) */
	AutoPay bool `json:"autoPay"`
}

type PayBastion

type PayBastion struct {

	/* 订单号 (Optional) */
	OrderNo string `json:"orderNo"`
}

type Region

type Region struct {

	/* 地域ID (Optional) */
	Value string `json:"value"`

	/* 地域名称 (Optional) */
	Label string `json:"label"`
}

type RegionAzVo

type RegionAzVo struct {

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 是否可见(1可见 0不可见) (Optional) */
	Visible int `json:"visible"`

	/* az状态信息 (Optional) */
	AZlist []AZSaleStatusVo `json:"aZlist"`
}

type ResourceData

type ResourceData struct {

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 备注 (Optional) */
	Remark string `json:"remark"`

	/* 资源绑定信息列表 (Optional) */
	Bind []ResourceData `json:"bind"`
}

type Sign

type Sign struct {

	/* 加密值 (Optional) */
	Sign string `json:"sign"`

	/* 时间戳 (Optional) */
	Ts int `json:"ts"`

	/* 加密值 (Optional) */
	Sk string `json:"sk"`
}

type Source

type Source struct {

	/* 订单号sourceId (Optional) */
	SourceId string `json:"sourceId"`
}

type SpecMap

type SpecMap struct {

	/* 规格id (Optional) */
	Value string `json:"value"`

	/* 规格名 (Optional) */
	Label string `json:"label"`

	/* 硬盘信息 (Optional) */
	Disk string `json:"disk"`

	/* 规格描述 (Optional) */
	Describe string `json:"describe"`
}

type SpecStatictics

type SpecStatictics struct {

	/* 数量 (Optional) */
	Count string `json:"count"`

	/* 规格名 (Optional) */
	Label string `json:"label"`
}

type UserPin

type UserPin struct {

	/* pin (Optional) */
	Pin string `json:"pin"`
}

Jump to

Keyboard shortcuts

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