models

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 0 Imported by: 10 modules, 9 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 BindVpcReq

type BindVpcReq struct {

	/* vpc所在区域id  */
	RegionId string `json:"regionId"`

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

type DescribeActionLogsRes

type DescribeActionLogsRes struct {

	/* 操作日志id (Optional) */
	Id int `json:"id"`

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

	/* zone (Optional) */
	Zone string `json:"zone"`

	/* zone id (Optional) */
	ZoneId string `json:"zoneId"`

	/* 操作类型 (Optional) */
	ActionType string `json:"actionType"`

	/* 操作详情 (Optional) */
	Detail string `json:"detail"`

	/* 操作发生时间 (Optional) */
	Time string `json:"time"`

	/* 操作结果 true->成功 false->失败 (Optional) */
	Success bool `json:"success"`

	/* 操作失败原因 (Optional) */
	FailReason string `json:"failReason"`

	/* 操作者IP (Optional) */
	ClientIp string `json:"clientIp"`
}

type DescribeBindVpcRes

type DescribeBindVpcRes struct {

	/* vpc所在区域id (Optional) */
	RegionId string `json:"regionId"`

	/* vpc所在区域名称 (Optional) */
	RegionName string `json:"regionName"`

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

	/* vpc名称 (Optional) */
	VpcName string `json:"vpcName"`
}

type DescribeInstancesRes

type DescribeInstancesRes struct {

	/* 实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 实例名称 (Optional) */
	InstanceName string `json:"instanceName"`

	/* 套餐类型 (Optional) */
	PackType string `json:"packType"`

	/* zone数量 (Optional) */
	ZoneNum int `json:"zoneNum"`

	/* 绑定vpc数量 (Optional) */
	BindVpcNum int `json:"bindVpcNum"`

	/* zone级别 (Optional) */
	ZoneLevel int `json:"zoneLevel"`

	/* 解析记录数量 (Optional) */
	RrNum int `json:"rrNum"`

	/* 域名等级 (Optional) */
	DomainLevel int `json:"domainLevel"`

	/* 导出解析记录权限 (Optional) */
	RrAuthorExport bool `json:"rrAuthorExport"`

	/* 购买时长 (Optional) */
	Duration int `json:"duration"`

	/* 时长单位(YEAR->年) (Optional) */
	DurationUnit string `json:"durationUnit"`

	/* 到期时间, UTC时间格式,例如2017-11-10T23:00:00Z (Optional) */
	ExpireTime string `json:"expireTime"`

	/* 计费状态(NORMAL->正常 EXPIRE->到期 DELETED->已删除) (Optional) */
	ChargeStutas string `json:"chargeStutas"`

	/* 已使用zone数量 (Optional) */
	UsedZoneNum int `json:"usedZoneNum"`
}

type DescribePacksRes

type DescribePacksRes struct {

	/* 套餐类型 (Optional) */
	PackType string `json:"packType"`

	/* 套餐名称 (Optional) */
	PackName string `json:"packName"`

	/* 价格 (Optional) */
	Price int `json:"price"`

	/* 服务级别协议 (Optional) */
	Sla string `json:"sla"`

	/* 绑定vpc数量 (Optional) */
	BindVpcNum int `json:"bindVpcNum"`

	/* 域名等级 (Optional) */
	DomainLevel int `json:"domainLevel"`

	/* 导出解析记录权限 (Optional) */
	RrAuthorExport bool `json:"rrAuthorExport"`

	/* 解析记录数量 (Optional) */
	RrNum int `json:"rrNum"`

	/* zone级别 (Optional) */
	ZoneLevel int `json:"zoneLevel"`

	/* zone最小数量 (Optional) */
	ZoneNumMin int `json:"zoneNumMin"`

	/* zone最大数量 (Optional) */
	ZoneNumMax int `json:"zoneNumMax"`

	/* 最小时长 (Optional) */
	DurationMin int `json:"durationMin"`

	/* 最大时长 (Optional) */
	DurationMax int `json:"durationMax"`

	/* 时长单位 (Optional) */
	DurationUnit string `json:"durationUnit"`
}

type DescribeResourceRecordsRes

type DescribeResourceRecordsRes struct {

	/* 解析记录id (Optional) */
	Id int64 `json:"id"`

	/* 主机记录 (Optional) */
	HostRecord string `json:"hostRecord"`

	/* 主机记录值 (Optional) */
	HostValue string `json:"hostValue"`

	/* 解析类型,目前支持类型 A AAAA CNAME TXT CAA SRV MX PTR (Optional) */
	RecordType string `json:"recordType"`

	/* TTL值 (Optional) */
	Ttl int `json:"ttl"`

	/* 优先级,只存在于MX, SRV解析记录类型 (Optional) */
	Priority int `json:"priority"`

	/* 端口,只存在于SRV解析记录类型 (Optional) */
	Port int `json:"port"`

	/* 解析记录的权重 (Optional) */
	Weight int `json:"weight"`

	/* 创建时间, UTC时间格式,例如2017-11-10T23:00:00Z (Optional) */
	CreateTime string `json:"createTime"`

	/*  (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 解析状态 START->正在解析 STOP->停止解析 (Optional) */
	Status string `json:"status"`
}

type DescribeZonesRes

type DescribeZonesRes struct {

	/* 域名id (Optional) */
	ZoneId string `json:"zoneId"`

	/* 域名 (Optional) */
	Zone string `json:"zone"`

	/* 域名类型 LOCAL->云内全局 PTR->反向解析zone PV->私有zone (Optional) */
	ZoneType string `json:"zoneType"`

	/* 解析记录个数 (Optional) */
	RecordCount int `json:"recordCount"`

	/* 是否锁定 true->锁定 false->未锁定 (Optional) */
	Lock bool `json:"lock"`

	/* 解析失败后是否进行递归解析 (Optional) */
	RetryRecurse bool `json:"retryRecurse"`

	/* 解析状态 NONE->没有解析 NORMAL->正常解析 PARTIAL->部分解析 PAUSE->暂停解析 (Optional) */
	ResolveStatus string `json:"resolveStatus"`

	/* 创建时间, UTC时间格式,例如2017-11-10T23:00:00Z (Optional) */
	CreateTime string `json:"createTime"`

	/* 绑定的vpc信息 (Optional) */
	BindVpc []DescribeBindVpcRes `json:"bindVpc"`
}

type ImportResourceRecordsReq

type ImportResourceRecordsReq struct {

	/* 主机记录 (Optional) */
	HostRecord *string `json:"hostRecord"`

	/* 主机记录值  */
	HostValue string `json:"hostValue"`

	/* 解析类型,目前支持类型 A AAAA CNAME TXT CAA SRV MX PTR  */
	RecordType string `json:"recordType"`

	/* TTL值 (Optional) */
	Ttl *int `json:"ttl"`

	/* 优先级,只存在于MX, SRV解析记录类型 (Optional) */
	Priority *int `json:"priority"`

	/* 端口,只存在于SRV解析记录类型 (Optional) */
	Port *int `json:"port"`

	/* 解析记录的权重 (Optional) */
	Weight *int `json:"weight"`
}

Jump to

Keyboard shortcuts

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