model

package
v0.1.60 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddNicsRequest

type AddNicsRequest struct {

	// 边缘实例ID。
	InstanceId string `json:"instance_id"`

	Body *AddNicsRequestBody `json:"body,omitempty"`
}

AddNicsRequest Request Object

func (AddNicsRequest) String

func (o AddNicsRequest) String() string

type AddNicsRequestBody

type AddNicsRequestBody struct {

	// 虚拟私有云ID。
	VpcId string `json:"vpc_id"`

	// 安全组ID列表。
	SecurityGroups []BaseId `json:"security_groups"`

	// 子网ID。  当subnet_id提供时,则在该子网下创建nic_num个网卡; 不输入,则自动分配subnet。 当添加网卡的VPC为手动规划VPC时,subnet_id必填。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 待添加网卡数量。
	NicNum int32 `json:"nic_num"`
}

AddNicsRequestBody 添加网卡请求体

func (AddNicsRequestBody) String

func (o AddNicsRequestBody) String() string

type AddNicsResponse

type AddNicsResponse struct {

	// 任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddNicsResponse Response Object

func (AddNicsResponse) String

func (o AddNicsResponse) String() string

type AllowedAddressPair

type AllowedAddressPair struct {

	// IP地址  约束:不支持0.0.0.0/0  建议:如果allowed_address_pairs配置地址池较大的CIDR(掩码小于24位),建议为该port配置一个单独的安全组。
	IpAddress string `json:"ip_address"`

	// MAC地址
	MacAddress *string `json:"mac_address,omitempty"`
}

AllowedAddressPair IP/Mac对象

func (AllowedAddressPair) String

func (o AllowedAddressPair) String() string

type AssociateSubnetRequest added in v0.0.84

type AssociateSubnetRequest struct {

	// 路由表ID
	RoutetableId string `json:"routetable_id"`

	Body *AssociateSubnetRequestBody `json:"body,omitempty"`
}

AssociateSubnetRequest Request Object

func (AssociateSubnetRequest) String added in v0.0.84

func (o AssociateSubnetRequest) String() string

type AssociateSubnetRequestBody added in v0.0.84

type AssociateSubnetRequestBody struct {

	// 子网ID
	SubnetIds []string `json:"subnet_ids"`
}

AssociateSubnetRequestBody 路由表关联子网请求体

func (AssociateSubnetRequestBody) String added in v0.0.84

type AssociateSubnetResponse added in v0.0.84

type AssociateSubnetResponse struct {
	Routetable     *Routetable `json:"routetable,omitempty"`
	HttpStatusCode int         `json:"-"`
}

AssociateSubnetResponse Response Object

func (AssociateSubnetResponse) String added in v0.0.84

func (o AssociateSubnetResponse) String() string

type Attachment

type Attachment struct {

	// 挂载信息对应的ID。
	AttachmentId string `json:"attachment_id"`

	// 挂载点。
	Device string `json:"device"`

	// 边缘硬盘挂载到的边缘实例对应的物理主机的名称。
	HostName string `json:"host_name"`

	// 挂载的资源ID。
	Id string `json:"id"`

	// 硬盘挂载到的边缘实例的ID。
	ServerId string `json:"server_id"`

	// 磁盘ID。
	VolumeId string `json:"volume_id"`
}

Attachment

func (Attachment) String

func (o Attachment) String() string

type Bandwidth

type Bandwidth struct {

	// 带宽类型。 取值范围: share:共享类型
	BandwidthType *BandwidthBandwidthType `json:"bandwidth_type,omitempty"`

	// 计费模式,当前只支持峰值95计费。  取值范围:  - 95peak_plus:峰值95计费
	ChargeMode *BandwidthChargeMode `json:"charge_mode,omitempty"`

	// 创建时间。
	CreateTime *string `json:"create_time,omitempty"`

	// 带宽ID。
	Id *string `json:"id,omitempty"`

	// 带宽名称。
	Name *string `json:"name,omitempty"`

	Operator *Operator `json:"operator,omitempty"`

	// 弹性公网IP信息。
	PublicipInfo *[]PublicipInfo `json:"publicip_info,omitempty"`

	// 共享带宽类型,标识是否是共享带宽。  取值范围:  - WHOLE:共享带宽
	ShareType *BandwidthShareType `json:"share_type,omitempty"`

	// 边缘站点ID。
	SiteId *string `json:"site_id,omitempty"`

	// 站点信息。
	SiteInfo *string `json:"site_info,omitempty"`

	// 带宽大小。
	Size *int32 `json:"size,omitempty"`

	// 带宽的状态。  取值范围:  - FREEZED:冻结  - NORMAL:正常
	Status *BandwidthStatus `json:"status,omitempty"`

	// 更新时间。
	UpdateTime *string `json:"update_time,omitempty"`

	// 线路ID。
	PoolId *string `json:"pool_id,omitempty"`
}

Bandwidth 带宽对象

func (Bandwidth) String

func (o Bandwidth) String() string

type BandwidthBandwidthType

type BandwidthBandwidthType struct {
	// contains filtered or unexported fields
}

func (BandwidthBandwidthType) MarshalJSON

func (c BandwidthBandwidthType) MarshalJSON() ([]byte, error)

func (*BandwidthBandwidthType) UnmarshalJSON

func (c *BandwidthBandwidthType) UnmarshalJSON(b []byte) error

func (BandwidthBandwidthType) Value added in v0.0.90

func (c BandwidthBandwidthType) Value() string

type BandwidthBandwidthTypeEnum

type BandwidthBandwidthTypeEnum struct {
	SHARE BandwidthBandwidthType
}

func GetBandwidthBandwidthTypeEnum

func GetBandwidthBandwidthTypeEnum() BandwidthBandwidthTypeEnum

type BandwidthChargeMode

type BandwidthChargeMode struct {
	// contains filtered or unexported fields
}

func (BandwidthChargeMode) MarshalJSON

func (c BandwidthChargeMode) MarshalJSON() ([]byte, error)

func (*BandwidthChargeMode) UnmarshalJSON

func (c *BandwidthChargeMode) UnmarshalJSON(b []byte) error

func (BandwidthChargeMode) Value added in v0.0.90

func (c BandwidthChargeMode) Value() string

type BandwidthChargeModeEnum

type BandwidthChargeModeEnum struct {
	E_95PEAK_PLUS BandwidthChargeMode
}

func GetBandwidthChargeModeEnum

func GetBandwidthChargeModeEnum() BandwidthChargeModeEnum

type BandwidthConfig

type BandwidthConfig struct {

	// 带宽类型,现支持WHOLE类型,即共享带宽,其他类型不支持。
	Sharetype BandwidthConfigSharetype `json:"sharetype"`

	// 带宽(Mbit/s)。
	Size *int32 `json:"size,omitempty"`
}

BandwidthConfig 带宽配置

func (BandwidthConfig) String

func (o BandwidthConfig) String() string

type BandwidthConfigSharetype

type BandwidthConfigSharetype struct {
	// contains filtered or unexported fields
}

func (BandwidthConfigSharetype) MarshalJSON

func (c BandwidthConfigSharetype) MarshalJSON() ([]byte, error)

func (*BandwidthConfigSharetype) UnmarshalJSON

func (c *BandwidthConfigSharetype) UnmarshalJSON(b []byte) error

func (BandwidthConfigSharetype) Value added in v0.0.90

func (c BandwidthConfigSharetype) Value() string

type BandwidthConfigSharetypeEnum

type BandwidthConfigSharetypeEnum struct {
	WHOLE BandwidthConfigSharetype
}

func GetBandwidthConfigSharetypeEnum

func GetBandwidthConfigSharetypeEnum() BandwidthConfigSharetypeEnum

type BandwidthShareType

type BandwidthShareType struct {
	// contains filtered or unexported fields
}

func (BandwidthShareType) MarshalJSON

func (c BandwidthShareType) MarshalJSON() ([]byte, error)

func (*BandwidthShareType) UnmarshalJSON

func (c *BandwidthShareType) UnmarshalJSON(b []byte) error

func (BandwidthShareType) Value added in v0.0.90

func (c BandwidthShareType) Value() string

type BandwidthShareTypeEnum

type BandwidthShareTypeEnum struct {
	WHOLE BandwidthShareType
}

func GetBandwidthShareTypeEnum

func GetBandwidthShareTypeEnum() BandwidthShareTypeEnum

type BandwidthStatus

type BandwidthStatus struct {
	// contains filtered or unexported fields
}

func (BandwidthStatus) MarshalJSON

func (c BandwidthStatus) MarshalJSON() ([]byte, error)

func (*BandwidthStatus) UnmarshalJSON

func (c *BandwidthStatus) UnmarshalJSON(b []byte) error

func (BandwidthStatus) Value added in v0.0.90

func (c BandwidthStatus) Value() string

type BandwidthStatusEnum

type BandwidthStatusEnum struct {
	FREEZED BandwidthStatus
	NORMAL  BandwidthStatus
}

func GetBandwidthStatusEnum

func GetBandwidthStatusEnum() BandwidthStatusEnum

type BaseId

type BaseId struct {

	// 对象ID,uuid。
	Id string `json:"id"`
}

BaseId ID对象

func (BaseId) String

func (o BaseId) String() string

type BatchReboot

type BatchReboot struct {

	// 待重启的边缘实例列表。
	Servers *[]BaseId `json:"servers,omitempty"`

	// 重启类型:   - SOFT:普通重启。  - HARD:强制重启。  > 重启必须指定重启类型。
	Type *BatchRebootType `json:"type,omitempty"`
}

BatchReboot 批量重启边缘实例对象

func (BatchReboot) String

func (o BatchReboot) String() string

type BatchRebootInstanceRequest

type BatchRebootInstanceRequest struct {
	Body *BatchRebootInstanceRequestBody `json:"body,omitempty"`
}

BatchRebootInstanceRequest Request Object

func (BatchRebootInstanceRequest) String

type BatchRebootInstanceRequestBody

type BatchRebootInstanceRequestBody struct {
	Reboot *BatchReboot `json:"reboot,omitempty"`
}

BatchRebootInstanceRequestBody 批量重启边缘实例请求体。

func (BatchRebootInstanceRequestBody) String

type BatchRebootInstanceResponse

type BatchRebootInstanceResponse struct {

	// 任务列表对象。
	Jobs           *[]JobResult `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

BatchRebootInstanceResponse Response Object

func (BatchRebootInstanceResponse) String

type BatchRebootType

type BatchRebootType struct {
	// contains filtered or unexported fields
}

func (BatchRebootType) MarshalJSON

func (c BatchRebootType) MarshalJSON() ([]byte, error)

func (*BatchRebootType) UnmarshalJSON

func (c *BatchRebootType) UnmarshalJSON(b []byte) error

func (BatchRebootType) Value added in v0.0.90

func (c BatchRebootType) Value() string

type BatchRebootTypeEnum

type BatchRebootTypeEnum struct {
	SOFT BatchRebootType
	HARD BatchRebootType
}

func GetBatchRebootTypeEnum

func GetBatchRebootTypeEnum() BatchRebootTypeEnum

type BatchStart

type BatchStart struct {

	// 待启动的边缘实例列表。
	Servers *[]BaseId `json:"servers,omitempty"`
}

BatchStart 批量启动边缘实例对象

func (BatchStart) String

func (o BatchStart) String() string

type BatchStartInstanceRequest

type BatchStartInstanceRequest struct {
	Body *BatchStartInstanceRequestBody `json:"body,omitempty"`
}

BatchStartInstanceRequest Request Object

func (BatchStartInstanceRequest) String

func (o BatchStartInstanceRequest) String() string

type BatchStartInstanceRequestBody

type BatchStartInstanceRequestBody struct {
	OsStart *BatchStart `json:"os-start,omitempty"`
}

BatchStartInstanceRequestBody 批量启动边缘实例请求体。

func (BatchStartInstanceRequestBody) String

type BatchStartInstanceResponse

type BatchStartInstanceResponse struct {

	// 任务列表对象。
	Jobs           *[]JobResult `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

BatchStartInstanceResponse Response Object

func (BatchStartInstanceResponse) String

type BatchStop

type BatchStop struct {

	// 待停止的边缘实例列表。
	Servers []BaseId `json:"servers"`

	// 关机类型,默认为SOFT。  取值范围: - SOFT:普通关机。 - HARD:强制关机。
	Type *string `json:"type,omitempty"`
}

BatchStop 批量停止边缘实例对象

func (BatchStop) String

func (o BatchStop) String() string

type BatchStopInstanceRequest

type BatchStopInstanceRequest struct {
	Body *BatchStopInstanceRequestBody `json:"body,omitempty"`
}

BatchStopInstanceRequest Request Object

func (BatchStopInstanceRequest) String

func (o BatchStopInstanceRequest) String() string

type BatchStopInstanceRequestBody

type BatchStopInstanceRequestBody struct {
	OsStop *BatchStop `json:"os-stop,omitempty"`
}

BatchStopInstanceRequestBody 批量关闭边缘实例请求体。

func (BatchStopInstanceRequestBody) String

type BatchStopInstanceResponse

type BatchStopInstanceResponse struct {

	// 任务列表对象。
	Jobs           *[]JobResult `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

BatchStopInstanceResponse Response Object

func (BatchStopInstanceResponse) String

func (o BatchStopInstanceResponse) String() string

type ChangeOsMetadata

type ChangeOsMetadata struct {

	// 切换边缘实例操作系统过程中注入的用户数据。
	UserData *string `json:"user_data,omitempty"`
}

ChangeOsMetadata 切换边缘实例的元数据

func (ChangeOsMetadata) String

func (o ChangeOsMetadata) String() string

type ChangeOsOption

type ChangeOsOption struct {

	// 切换系统所使用的新镜像的ID。
	ImageId string `json:"image_id"`

	Metadata *ChangeOsMetadata `json:"metadata,omitempty"`

	// 密钥对名称。 如果需要使用SSH密钥方式登录边缘实例,请指定已创建密钥的名称。
	KeyName *string `json:"key_name,omitempty"`
}

ChangeOsOption 切换操作系统的参数

func (ChangeOsOption) String

func (o ChangeOsOption) String() string

type ChangeOsRequest

type ChangeOsRequest struct {

	// 边缘实例ID。
	InstanceId string `json:"instance_id"`

	Body *ChangeOsOption `json:"body,omitempty"`
}

ChangeOsRequest Request Object

func (ChangeOsRequest) String

func (o ChangeOsRequest) String() string

type ChangeOsResponse

type ChangeOsResponse struct {

	// 提交任务成功后返回的任务ID,用户可以使用该ID对任务执行情况进行查询。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ChangeOsResponse Response Object

func (ChangeOsResponse) String

func (o ChangeOsResponse) String() string

type CloudImageRegionInfo

type CloudImageRegionInfo struct {

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 镜像ID
	ImageId *string `json:"image_id,omitempty"`
}

CloudImageRegionInfo

func (CloudImageRegionInfo) String

func (o CloudImageRegionInfo) String() string

type Coverage

type Coverage struct {

	// 区域调度策略,只支持centralize/discrete。  - centralize:代表城市集中策略,指定该策略,边缘业务创建时会保证将所有实例都发放在同一个站点。 - discrete:代表城市分散,指定该策略,边缘业务创建时,尽量保证所有实例都分散发放在不同站点。
	CoveragePolicy string `json:"coverage_policy"`

	// 区域分布层级,只支持area/prov/city/site。  - area:大区,用户的资源会在指定大区下发放。 - prov:省份,用户的资源会在指定省份下发放。 - city:城市,用户的资源会在指定城市下发放。 - site:站点级别。  约束:  站点层级,coverage_policy上仅支持'centralize',coverage_sites中'site'字段仅支持使用ID(站点ID,通过“查询边缘站点列表”获取),不支持name。
	CoverageLevel string `json:"coverage_level"`

	// 区域及购买数量列表。
	CoverageSites []CoverageSite `json:"coverage_sites"`
}

Coverage 覆盖策略对象

func (Coverage) String

func (o Coverage) String() string

type CoverageResp

type CoverageResp struct {

	// 区域调度策略,只支持centralize/discrete。  - centralize:代表城市集中策略,指定该策略,边缘业务创建时会保证将所有实例都发放在同一个站点。 - discrete:代表城市分散,指定该策略,边缘业务创建时,尽量保证所有实例都分散发放在不同站点。
	CoveragePolicy string `json:"coverage_policy"`

	// 区域分布层级,只支持area/prov/city/site。  - area:大区,用户的资源会在指定大区下发放。 - prov:省份,用户的资源会在指定省份下发放。 - city:城市,用户的资源会在指定城市下发放。 - site:站点级别。  约束:  站点层级,coverage_policy上仅支持'centralize',coverage_sites中'site'字段仅支持使用ID(站点ID,通过“查询边缘站点列表”获取),不支持name。
	CoverageLevel string `json:"coverage_level"`

	// 区域及购买数量列表。
	CoverageSites []CoverageSiteResp `json:"coverage_sites"`
}

CoverageResp 覆盖策略对象

func (CoverageResp) String

func (o CoverageResp) String() string

type CoverageSite

type CoverageSite struct {

	// 站点名称。 具体信息可通过调用“查询边缘站点列表”来查询(注意:本字段区分大小写)。
	Site string `json:"site"`

	// 租户需求数量列表。表示租户发放资源站点的运营商和发放的资源组的数量。
	Demands []Demand `json:"demands"`
}

CoverageSite 站点覆盖策略

func (CoverageSite) String

func (o CoverageSite) String() string

type CoverageSiteResp

type CoverageSiteResp struct {

	// 站点名称。 具体信息可通过调用“查询边缘站点列表”来查询(注意:本字段区分大小写)。
	Site string `json:"site"`

	// 租户需求数量列表。表示租户发放资源站点的运营商和发放的资源组的数量。
	Demands []DemandResp `json:"demands"`

	// 覆盖区域的国际化信息。
	I18nSite *string `json:"i18n_site,omitempty"`
}

CoverageSiteResp 站点覆盖策略

func (CoverageSiteResp) String

func (o CoverageSiteResp) String() string

type CreateDeploymentRequest

type CreateDeploymentRequest struct {
	Body *CreateDeploymentRequestBody `json:"body,omitempty"`
}

CreateDeploymentRequest Request Object

func (CreateDeploymentRequest) String

func (o CreateDeploymentRequest) String() string

type CreateDeploymentRequestBody

type CreateDeploymentRequestBody struct {
	Edgecloud *EdgeCloudOption `json:"edgecloud"`
}

CreateDeploymentRequestBody 创建部署计划请求体

func (CreateDeploymentRequestBody) String

type CreateDeploymentResponse

type CreateDeploymentResponse struct {

	// 部署计划ID。
	Id *string `json:"id,omitempty"`

	// 部署位置信息列表。
	Locations      *[]Location `json:"locations,omitempty"`
	HttpStatusCode int         `json:"-"`
}

CreateDeploymentResponse Response Object

func (CreateDeploymentResponse) String

func (o CreateDeploymentResponse) String() string

type CreateFirewallOption

type CreateFirewallOption struct {

	// 中文字符、字母、数字、中划线和下划线组成,长度为1~64个字符
	Name string `json:"name"`

	// 网络ACL描述。  取值范围:0-64
	Description *string `json:"description,omitempty"`
}

CreateFirewallOption 创建防火墙参数

func (CreateFirewallOption) String

func (o CreateFirewallOption) String() string

type CreateFirewallRequest

type CreateFirewallRequest struct {
	Body *CreateFirewallRequestBody `json:"body,omitempty"`
}

CreateFirewallRequest Request Object

func (CreateFirewallRequest) String

func (o CreateFirewallRequest) String() string

type CreateFirewallRequestBody

type CreateFirewallRequestBody struct {
	Firewall *CreateFirewallOption `json:"firewall"`
}

CreateFirewallRequestBody 创建网络ACL请求体。

func (CreateFirewallRequestBody) String

func (o CreateFirewallRequestBody) String() string

type CreateFirewallResponse

type CreateFirewallResponse struct {
	Firewall       *Firewall `json:"firewall,omitempty"`
	HttpStatusCode int       `json:"-"`
}

CreateFirewallResponse Response Object

func (CreateFirewallResponse) String

func (o CreateFirewallResponse) String() string

type CreateImageRequest added in v0.1.42

type CreateImageRequest struct {
	Body *CreateImageRequestBody `json:"body,omitempty"`
}

CreateImageRequest Request Object

func (CreateImageRequest) String added in v0.1.42

func (o CreateImageRequest) String() string

type CreateImageRequestBody added in v0.1.42

type CreateImageRequestBody struct {

	// 边缘私有镜像名称。
	Name string `json:"name"`

	// 边缘实例名称。
	InstanceId string `json:"instance_id"`
}

CreateImageRequestBody 创建边缘私有镜像参数

func (CreateImageRequestBody) String added in v0.1.42

func (o CreateImageRequestBody) String() string

type CreateImageResponse added in v0.1.42

type CreateImageResponse struct {

	// 提交任务成功后返回的任务ID,用户可以使用该ID对任务执行情况进行查询。
	JobId string `json:"job_id"`

	// 创建镜像的ID。
	ImageId        *string `json:"image_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateImageResponse Response Object

func (CreateImageResponse) String added in v0.1.42

func (o CreateImageResponse) String() string

type CreateKeypairRequest

type CreateKeypairRequest struct {
	Body *CreateKeypairRequestBody `json:"body,omitempty"`
}

CreateKeypairRequest Request Object

func (CreateKeypairRequest) String

func (o CreateKeypairRequest) String() string

type CreateKeypairRequestBody

type CreateKeypairRequestBody struct {

	// 密钥对名称。 新创建的密钥名称不能和已有密钥名称相同。
	Name string `json:"name"`

	// 导入的公钥信息。 建议导入的公钥长度不大于1024字节。 > 长度超过1024字节会导致边缘实例注入该密钥失败。
	PublicKey *string `json:"public_key,omitempty"`
}

CreateKeypairRequestBody 创建秘钥对请求体。

func (CreateKeypairRequestBody) String

func (o CreateKeypairRequestBody) String() string

type CreateKeypairResponse

type CreateKeypairResponse struct {

	// 密钥对名称。
	Name *string `json:"name,omitempty"`

	// 公钥。
	PublicKey *string `json:"public_key,omitempty"`

	// 私钥。
	PrivateKey *string `json:"private_key,omitempty"`

	// 用户ID。
	UserId *string `json:"user_id,omitempty"`

	// 指纹。
	Fingerprint    *string `json:"fingerprint,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateKeypairResponse Response Object

func (CreateKeypairResponse) String

func (o CreateKeypairResponse) String() string

type CreatePortOption

type CreatePortOption struct {

	// 端口设备所属。  取值范围:目前只支持指定\"neutron:VIP_PORT\",neutron:VIP_PORT表示创建的是VIP
	DeviceOwner CreatePortOptionDeviceOwner `json:"device_owner"`

	// 端口所属网络的ID。  约束:必须是存在的网络ID。
	NetworkId string `json:"network_id"`

	// 端口IP  约束:一个端口只支持一个fixed_ip,且不支持更新。
	FixedIps *[]FixedIp `json:"fixed_ips,omitempty"`
}

CreatePortOption 创建端口参数对象。

func (CreatePortOption) String

func (o CreatePortOption) String() string

type CreatePortOptionDeviceOwner

type CreatePortOptionDeviceOwner struct {
	// contains filtered or unexported fields
}

func (CreatePortOptionDeviceOwner) MarshalJSON

func (c CreatePortOptionDeviceOwner) MarshalJSON() ([]byte, error)

func (*CreatePortOptionDeviceOwner) UnmarshalJSON

func (c *CreatePortOptionDeviceOwner) UnmarshalJSON(b []byte) error

func (CreatePortOptionDeviceOwner) Value added in v0.0.90

type CreatePortOptionDeviceOwnerEnum

type CreatePortOptionDeviceOwnerEnum struct {
	NEUTRONVIP_PORT CreatePortOptionDeviceOwner
}

func GetCreatePortOptionDeviceOwnerEnum

func GetCreatePortOptionDeviceOwnerEnum() CreatePortOptionDeviceOwnerEnum

type CreatePortRequest

type CreatePortRequest struct {
	Body *CreatePortRequestBody `json:"body,omitempty"`
}

CreatePortRequest Request Object

func (CreatePortRequest) String

func (o CreatePortRequest) String() string

type CreatePortRequestBody

type CreatePortRequestBody struct {
	Port *CreatePortOption `json:"port"`
}

CreatePortRequestBody 创建端口请求体

func (CreatePortRequestBody) String

func (o CreatePortRequestBody) String() string

type CreatePortResponse

type CreatePortResponse struct {
	Port           *Port `json:"port,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CreatePortResponse Response Object

func (CreatePortResponse) String

func (o CreatePortResponse) String() string

type CreatePublicIpOption

type CreatePublicIpOption struct {

	// 边缘站点的ID。
	SiteId string `json:"site_id"`

	// 弹性公网IP的版本。目前IEC服务只支持4,即ipv4。
	IpVersion *string `json:"ip_version,omitempty"`

	// 线路ID。 不传时默认取当前站点第一条线路
	Type *string `json:"type,omitempty"`
}

CreatePublicIpOption 创建公网IP请求参数

func (CreatePublicIpOption) String

func (o CreatePublicIpOption) String() string

type CreatePublicIpRequest

type CreatePublicIpRequest struct {
	Body *CreatePublicIpRequestBody `json:"body,omitempty"`
}

CreatePublicIpRequest Request Object

func (CreatePublicIpRequest) String

func (o CreatePublicIpRequest) String() string

type CreatePublicIpRequestBody

type CreatePublicIpRequestBody struct {
	Publicip *CreatePublicIpOption `json:"publicip"`
}

CreatePublicIpRequestBody 创建弹性公网IP请求体。

func (CreatePublicIpRequestBody) String

func (o CreatePublicIpRequestBody) String() string

type CreatePublicIpResponse

type CreatePublicIpResponse struct {
	Publicip       *PublicIp `json:"publicip,omitempty"`
	HttpStatusCode int       `json:"-"`
}

CreatePublicIpResponse Response Object

func (CreatePublicIpResponse) String

func (o CreatePublicIpResponse) String() string

type CreateRoutesRequest added in v0.0.84

type CreateRoutesRequest struct {

	// 路由表ID
	RoutetableId string `json:"routetable_id"`

	Body *CreateRoutesRequestBody `json:"body,omitempty"`
}

CreateRoutesRequest Request Object

func (CreateRoutesRequest) String added in v0.0.84

func (o CreateRoutesRequest) String() string

type CreateRoutesRequestBody added in v0.0.84

type CreateRoutesRequestBody struct {

	// 待创建的路由列表
	Routes []RouteOption `json:"routes"`
}

CreateRoutesRequestBody 创建路由请求体

func (CreateRoutesRequestBody) String added in v0.0.84

func (o CreateRoutesRequestBody) String() string

type CreateRoutesResponse added in v0.0.84

type CreateRoutesResponse struct {

	// 路由列表
	Routes         *[]Route `json:"routes,omitempty"`
	HttpStatusCode int      `json:"-"`
}

CreateRoutesResponse Response Object

func (CreateRoutesResponse) String added in v0.0.84

func (o CreateRoutesResponse) String() string

type CreateRoutetableOption added in v0.0.84

type CreateRoutetableOption struct {

	// 路由表名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Name string `json:"name"`

	// 路由表所在的虚拟私有云ID
	VpcId string `json:"vpc_id"`

	// 路由表描述信息  取值范围:0-255个字符,不能包含“<”和“>”
	Description *string `json:"description,omitempty"`
}

CreateRoutetableOption 创建路由表请求体

func (CreateRoutetableOption) String added in v0.0.84

func (o CreateRoutetableOption) String() string

type CreateRoutetableRequest added in v0.0.84

type CreateRoutetableRequest struct {
	Body *CreateRoutetableRequestBody `json:"body,omitempty"`
}

CreateRoutetableRequest Request Object

func (CreateRoutetableRequest) String added in v0.0.84

func (o CreateRoutetableRequest) String() string

type CreateRoutetableRequestBody added in v0.0.84

type CreateRoutetableRequestBody struct {
	Routetable *CreateRoutetableOption `json:"routetable"`
}

CreateRoutetableRequestBody 创建路由表请求体

func (CreateRoutetableRequestBody) String added in v0.0.84

type CreateRoutetableResponse added in v0.0.84

type CreateRoutetableResponse struct {
	Routetable     *Routetable `json:"routetable,omitempty"`
	HttpStatusCode int         `json:"-"`
}

CreateRoutetableResponse Response Object

func (CreateRoutetableResponse) String added in v0.0.84

func (o CreateRoutetableResponse) String() string

type CreateSecurityGroupOption

type CreateSecurityGroupOption struct {

	// 安全组的名称。
	Name string `json:"name"`

	// 安全组的描述。非必填项,默认值为空。
	Description *string `json:"description,omitempty"`
}

CreateSecurityGroupOption 创建安全组参数。

func (CreateSecurityGroupOption) String

func (o CreateSecurityGroupOption) String() string

type CreateSecurityGroupRequest

type CreateSecurityGroupRequest struct {
	Body *CreateSecurityGroupRequestBody `json:"body,omitempty"`
}

CreateSecurityGroupRequest Request Object

func (CreateSecurityGroupRequest) String

type CreateSecurityGroupRequestBody

type CreateSecurityGroupRequestBody struct {
	SecurityGroup *CreateSecurityGroupOption `json:"security_group"`
}

CreateSecurityGroupRequestBody 创建安全组请求体。

func (CreateSecurityGroupRequestBody) String

type CreateSecurityGroupResponse

type CreateSecurityGroupResponse struct {
	SecurityGroup  *SecurityGroup `json:"security_group,omitempty"`
	HttpStatusCode int            `json:"-"`
}

CreateSecurityGroupResponse Response Object

func (CreateSecurityGroupResponse) String

type CreateSecurityGroupRuleOption

type CreateSecurityGroupRuleOption struct {

	// 安全组规则描述信息。
	Description *string `json:"description,omitempty"`

	// 安全组ID。
	SecurityGroupId string `json:"security_group_id"`

	// 出入控制方向。  取值范围:  - egress:出方向  - ingress:入方向
	Direction CreateSecurityGroupRuleOptionDirection `json:"direction"`

	// IP协议类型。  取值范围:IPv4[,IPv6](tag:hide)
	Ethertype *CreateSecurityGroupRuleOptionEthertype `json:"ethertype,omitempty"`

	// 协议类型。  取值范围:icmp、tcp、udp等  约束:为空表示支持所有协议
	Protocol *string `json:"protocol,omitempty"`

	// 起始端口值。  取值范围:1~65535  约束:取值不能大于port_range_max的值,为空表示所有端口。
	PortRangeMin *int32 `json:"port_range_min,omitempty"`

	// 结束端口值。  取值范围:1~65535  约束:取值不能小于port_range_min的值,为空表示所有端口。
	PortRangeMax *int32 `json:"port_range_max,omitempty"`

	// 对端安全组id。  约束:和remote_ip_prefix互斥
	RemoteGroupId *string `json:"remote_group_id,omitempty"`

	// 远端IP地址,当direction是egress时为虚拟机访问端的地址,当direction是ingress时为访问虚拟机的地址。  取值范围:IP地址,或者cidr格式  约束:和remote_group_id互斥
	RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"`

	// 安全组规则生效策略 取值范围:allow 允许,deny 拒绝  约束:默认值为allow
	Action *string `json:"action,omitempty"`

	// 规则在安全组中的优先级  取值范围:1~100,1代表最高优先级  约束:默认值为1
	Priority *int32 `json:"priority,omitempty"`
}

CreateSecurityGroupRuleOption 创建安全组规则参数

func (CreateSecurityGroupRuleOption) String

type CreateSecurityGroupRuleOptionDirection

type CreateSecurityGroupRuleOptionDirection struct {
	// contains filtered or unexported fields
}

func (CreateSecurityGroupRuleOptionDirection) MarshalJSON

func (c CreateSecurityGroupRuleOptionDirection) MarshalJSON() ([]byte, error)

func (*CreateSecurityGroupRuleOptionDirection) UnmarshalJSON

func (c *CreateSecurityGroupRuleOptionDirection) UnmarshalJSON(b []byte) error

func (CreateSecurityGroupRuleOptionDirection) Value added in v0.0.90

type CreateSecurityGroupRuleOptionDirectionEnum

type CreateSecurityGroupRuleOptionDirectionEnum struct {
	INGRESS CreateSecurityGroupRuleOptionDirection
	EGRESS  CreateSecurityGroupRuleOptionDirection
}

func GetCreateSecurityGroupRuleOptionDirectionEnum

func GetCreateSecurityGroupRuleOptionDirectionEnum() CreateSecurityGroupRuleOptionDirectionEnum

type CreateSecurityGroupRuleOptionEthertype

type CreateSecurityGroupRuleOptionEthertype struct {
	// contains filtered or unexported fields
}

func (CreateSecurityGroupRuleOptionEthertype) MarshalJSON

func (c CreateSecurityGroupRuleOptionEthertype) MarshalJSON() ([]byte, error)

func (*CreateSecurityGroupRuleOptionEthertype) UnmarshalJSON

func (c *CreateSecurityGroupRuleOptionEthertype) UnmarshalJSON(b []byte) error

func (CreateSecurityGroupRuleOptionEthertype) Value added in v0.0.90

type CreateSecurityGroupRuleOptionEthertypeEnum

type CreateSecurityGroupRuleOptionEthertypeEnum struct {
	I_PV4 CreateSecurityGroupRuleOptionEthertype
}

func GetCreateSecurityGroupRuleOptionEthertypeEnum

func GetCreateSecurityGroupRuleOptionEthertypeEnum() CreateSecurityGroupRuleOptionEthertypeEnum

type CreateSecurityGroupRuleRequest

type CreateSecurityGroupRuleRequest struct {
	Body *CreateSecurityGroupRuleRequestBody `json:"body,omitempty"`
}

CreateSecurityGroupRuleRequest Request Object

func (CreateSecurityGroupRuleRequest) String

type CreateSecurityGroupRuleRequestBody

type CreateSecurityGroupRuleRequestBody struct {
	SecurityGroupRule *CreateSecurityGroupRuleOption `json:"security_group_rule"`
}

CreateSecurityGroupRuleRequestBody 创建安全组规则请求体。

func (CreateSecurityGroupRuleRequestBody) String

type CreateSecurityGroupRuleResponse

type CreateSecurityGroupRuleResponse struct {
	SecurityGroupRule *SecurityGroupRule `json:"security_group_rule,omitempty"`
	HttpStatusCode    int                `json:"-"`
}

CreateSecurityGroupRuleResponse Response Object

func (CreateSecurityGroupRuleResponse) String

type CreateVpcOption

type CreateVpcOption struct {

	// 虚拟私有云名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)  约束:同一个帐号下的名称不能重复
	Name string `json:"name"`

	// 虚拟私有云下可用子网的范围。  约束: SYSTEM模式,cidr取值范围:10.0.0.0/8~10.255.0.0/16或者172.16.0.0/12 ~ 172.31.0.0/16或者192.168.0.0/16 。 [CUSTOMER模式,cidr的取值范围:10.0.0.0/8~10.255.255.0/24或者172.16.0.0/12 ~ 172.32.255.0/24或者192.168.0.0/16~192.168.255.0/24。](tag:internal)
	Cidr string `json:"cidr"`

	// 虚拟私有云的模式,支持的取值范围如下:  SYSTEM:该类型网络,系统会自动按照实际需要创建足够的子网。 [CUSTOMER:该类型网络,用户需要完全按照自己站点的需要,去申请足够的子网。](tag:internal)
	Mode string `json:"mode"`
}

CreateVpcOption 虚拟私有云的请求数据对象。

func (CreateVpcOption) String

func (o CreateVpcOption) String() string

type CreateVpcRequest

type CreateVpcRequest struct {
	Body *CreateVpcRequestBody `json:"body,omitempty"`
}

CreateVpcRequest Request Object

func (CreateVpcRequest) String

func (o CreateVpcRequest) String() string

type CreateVpcRequestBody

type CreateVpcRequestBody struct {
	Vpc *CreateVpcOption `json:"vpc"`
}

CreateVpcRequestBody

func (CreateVpcRequestBody) String

func (o CreateVpcRequestBody) String() string

type CreateVpcResponse

type CreateVpcResponse struct {
	Vpc            *Vpc `json:"vpc,omitempty"`
	HttpStatusCode int  `json:"-"`
}

CreateVpcResponse Response Object

func (CreateVpcResponse) String

func (o CreateVpcResponse) String() string

type DataVolume

type DataVolume struct {

	// 数据盘大小,容量单位为GB,输入大小范围为[1,500]。
	Size int32 `json:"size"`

	// 边缘实例数据盘对应的磁盘类型,需要与站点所提供的磁盘类型相匹配。
	VolumeType string `json:"volume_type"`
}

DataVolume 数据盘参数

func (DataVolume) String

func (o DataVolume) String() string

type DeleteBandwidthRequest added in v0.1.42

type DeleteBandwidthRequest struct {

	// 带宽ID。
	BandwidthId string `json:"bandwidth_id"`
}

DeleteBandwidthRequest Request Object

func (DeleteBandwidthRequest) String added in v0.1.42

func (o DeleteBandwidthRequest) String() string

type DeleteBandwidthResponse added in v0.1.42

type DeleteBandwidthResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteBandwidthResponse Response Object

func (DeleteBandwidthResponse) String added in v0.1.42

func (o DeleteBandwidthResponse) String() string

type DeleteDeploymentRequest

type DeleteDeploymentRequest struct {

	// 部署计划ID。
	DeploymentId string `json:"deployment_id"`
}

DeleteDeploymentRequest Request Object

func (DeleteDeploymentRequest) String

func (o DeleteDeploymentRequest) String() string

type DeleteDeploymentResponse

type DeleteDeploymentResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDeploymentResponse Response Object

func (DeleteDeploymentResponse) String

func (o DeleteDeploymentResponse) String() string

type DeleteEdgeCloudRequest

type DeleteEdgeCloudRequest struct {

	// 边缘业务ID。
	EdgecloudId string `json:"edgecloud_id"`
}

DeleteEdgeCloudRequest Request Object

func (DeleteEdgeCloudRequest) String

func (o DeleteEdgeCloudRequest) String() string

type DeleteEdgeCloudResponse

type DeleteEdgeCloudResponse struct {

	// 边缘任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteEdgeCloudResponse Response Object

func (DeleteEdgeCloudResponse) String

func (o DeleteEdgeCloudResponse) String() string

type DeleteFirewallRequest

type DeleteFirewallRequest struct {

	// 网络ACL ID
	FirewallId string `json:"firewall_id"`
}

DeleteFirewallRequest Request Object

func (DeleteFirewallRequest) String

func (o DeleteFirewallRequest) String() string

type DeleteFirewallResponse

type DeleteFirewallResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteFirewallResponse Response Object

func (DeleteFirewallResponse) String

func (o DeleteFirewallResponse) String() string

type DeleteImageRequest added in v0.1.42

type DeleteImageRequest struct {

	// 镜像ID
	ImageId string `json:"image_id"`
}

DeleteImageRequest Request Object

func (DeleteImageRequest) String added in v0.1.42

func (o DeleteImageRequest) String() string

type DeleteImageResponse added in v0.1.42

type DeleteImageResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteImageResponse Response Object

func (DeleteImageResponse) String added in v0.1.42

func (o DeleteImageResponse) String() string

type DeleteInstancesRequest

type DeleteInstancesRequest struct {
	Body *DeleteInstancesRequestBody `json:"body,omitempty"`
}

DeleteInstancesRequest Request Object

func (DeleteInstancesRequest) String

func (o DeleteInstancesRequest) String() string

type DeleteInstancesRequestBody

type DeleteInstancesRequestBody struct {

	// 边缘实例ID列表。 > IEC默认同步删除边缘实例的弹性公网IP和磁盘。
	Servers []BaseId `json:"servers"`
}

DeleteInstancesRequestBody 批量删除边缘实例请求体

func (DeleteInstancesRequestBody) String

type DeleteInstancesResponse

type DeleteInstancesResponse struct {

	// 边缘任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteInstancesResponse Response Object

func (DeleteInstancesResponse) String

func (o DeleteInstancesResponse) String() string

type DeleteKeypairRequest

type DeleteKeypairRequest struct {

	// 密钥名称。
	KeypairName string `json:"keypair_name"`
}

DeleteKeypairRequest Request Object

func (DeleteKeypairRequest) String

func (o DeleteKeypairRequest) String() string

type DeleteKeypairResponse

type DeleteKeypairResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteKeypairResponse Response Object

func (DeleteKeypairResponse) String

func (o DeleteKeypairResponse) String() string

type DeleteNicsRequest

type DeleteNicsRequest struct {

	// 边缘实例ID。
	InstanceId string `json:"instance_id"`

	Body *DeleteNicsRequestBody `json:"body,omitempty"`
}

DeleteNicsRequest Request Object

func (DeleteNicsRequest) String

func (o DeleteNicsRequest) String() string

type DeleteNicsRequestBody

type DeleteNicsRequestBody struct {

	// 待删除网卡信息。
	Nics []NicId `json:"nics"`
}

DeleteNicsRequestBody 删除网卡请求体。

func (DeleteNicsRequestBody) String

func (o DeleteNicsRequestBody) String() string

type DeleteNicsResponse

type DeleteNicsResponse struct {

	// 任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteNicsResponse Response Object

func (DeleteNicsResponse) String

func (o DeleteNicsResponse) String() string

type DeletePortRequest

type DeletePortRequest struct {

	// 端口ID。
	PortId string `json:"port_id"`
}

DeletePortRequest Request Object

func (DeletePortRequest) String

func (o DeletePortRequest) String() string

type DeletePortResponse

type DeletePortResponse struct {
	HttpStatusCode int `json:"-"`
}

DeletePortResponse Response Object

func (DeletePortResponse) String

func (o DeletePortResponse) String() string

type DeletePublicIpRequest

type DeletePublicIpRequest struct {

	// 弹性公网IP ID
	PublicipId string `json:"publicip_id"`
}

DeletePublicIpRequest Request Object

func (DeletePublicIpRequest) String

func (o DeletePublicIpRequest) String() string

type DeletePublicIpResponse

type DeletePublicIpResponse struct {
	HttpStatusCode int `json:"-"`
}

DeletePublicIpResponse Response Object

func (DeletePublicIpResponse) String

func (o DeletePublicIpResponse) String() string

type DeleteRouteOption added in v0.0.84

type DeleteRouteOption struct {

	// 功能说明:路由的目的网段  约束:合法的CIDR格式
	Destination string `json:"destination"`
}

DeleteRouteOption 删除路由对象

func (DeleteRouteOption) String added in v0.0.84

func (o DeleteRouteOption) String() string

type DeleteRoutesRequest added in v0.0.84

type DeleteRoutesRequest struct {

	// 路由表ID
	RoutetableId string `json:"routetable_id"`

	Body *DeleteRoutesRequestBody `json:"body,omitempty"`
}

DeleteRoutesRequest Request Object

func (DeleteRoutesRequest) String added in v0.0.84

func (o DeleteRoutesRequest) String() string

type DeleteRoutesRequestBody added in v0.0.84

type DeleteRoutesRequestBody struct {

	// 待删除的路由信息
	Routes []DeleteRouteOption `json:"routes"`
}

DeleteRoutesRequestBody 删除路由请求体

func (DeleteRoutesRequestBody) String added in v0.0.84

func (o DeleteRoutesRequestBody) String() string

type DeleteRoutesResponse added in v0.0.84

type DeleteRoutesResponse struct {

	// 路由列表
	Routes         *[]Route `json:"routes,omitempty"`
	HttpStatusCode int      `json:"-"`
}

DeleteRoutesResponse Response Object

func (DeleteRoutesResponse) String added in v0.0.84

func (o DeleteRoutesResponse) String() string

type DeleteRoutetableRequest added in v0.0.84

type DeleteRoutetableRequest struct {

	// 路由表ID
	RoutetableId string `json:"routetable_id"`
}

DeleteRoutetableRequest Request Object

func (DeleteRoutetableRequest) String added in v0.0.84

func (o DeleteRoutetableRequest) String() string

type DeleteRoutetableResponse added in v0.0.84

type DeleteRoutetableResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteRoutetableResponse Response Object

func (DeleteRoutetableResponse) String added in v0.0.84

func (o DeleteRoutetableResponse) String() string

type DeleteSecurityGroupRequest

type DeleteSecurityGroupRequest struct {

	// 安全组的ID。uuid
	SecurityGroupId string `json:"security_group_id"`
}

DeleteSecurityGroupRequest Request Object

func (DeleteSecurityGroupRequest) String

type DeleteSecurityGroupResponse

type DeleteSecurityGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSecurityGroupResponse Response Object

func (DeleteSecurityGroupResponse) String

type DeleteSecurityGroupRuleRequest

type DeleteSecurityGroupRuleRequest struct {

	// 安全组规则ID。
	SecurityGroupRuleId string `json:"security_group_rule_id"`
}

DeleteSecurityGroupRuleRequest Request Object

func (DeleteSecurityGroupRuleRequest) String

type DeleteSecurityGroupRuleResponse

type DeleteSecurityGroupRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSecurityGroupRuleResponse Response Object

func (DeleteSecurityGroupRuleResponse) String

type DeleteSubnetRequest

type DeleteSubnetRequest struct {

	// 子网ID。
	SubnetId string `json:"subnet_id"`
}

DeleteSubnetRequest Request Object

func (DeleteSubnetRequest) String

func (o DeleteSubnetRequest) String() string

type DeleteSubnetResponse

type DeleteSubnetResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSubnetResponse Response Object

func (DeleteSubnetResponse) String

func (o DeleteSubnetResponse) String() string

type DeleteVpcRequest

type DeleteVpcRequest struct {

	// 虚拟私有云ID。
	VpcId string `json:"vpc_id"`
}

DeleteVpcRequest Request Object

func (DeleteVpcRequest) String

func (o DeleteVpcRequest) String() string

type DeleteVpcResponse

type DeleteVpcResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteVpcResponse Response Object

func (DeleteVpcResponse) String

func (o DeleteVpcResponse) String() string

type Demand

type Demand struct {

	// 所属运营商。
	Operator *string `json:"operator,omitempty"`

	// 站点需要发放的资源(组)总数。  > 实际发放实例数量为count*demand_count。
	DemandCount int32 `json:"demand_count"`

	// 线路ID。 多线路场景下,将在该线路下创建弹性公网IP。 > 覆盖规则为省级/大区时不支持指定线路ID创建边缘业务。
	PoolId *string `json:"pool_id,omitempty"`
}

Demand 租户需求

func (Demand) String

func (o Demand) String() string

type DemandResp

type DemandResp struct {

	// 站点需要发放的资源(组)总数。  > 实际发放实例数量为count*demand_count。
	DemandCount int32 `json:"demand_count"`
}

DemandResp 租户需求

func (DemandResp) String

func (o DemandResp) String() string

type Deployment

type Deployment struct {

	// 部署计划ID。
	Id *string `json:"id,omitempty"`

	// 部署位置信息列表
	Distribution *[]Distribution `json:"distribution,omitempty"`

	Edgecloud *DeploymentEdgecloud `json:"edgecloud,omitempty"`
}

Deployment 部署计划对象

func (Deployment) String

func (o Deployment) String() string

type DeploymentEdgecloud

type DeploymentEdgecloud struct {

	// 边缘业务ID。
	Id *string `json:"id,omitempty"`

	// 边缘业务名称。
	Name *string `json:"name,omitempty"`

	Stacks *Stack `json:"stacks,omitempty"`

	// 边缘业务描述,最大支持255字节。
	Description *string `json:"description,omitempty"`

	Coverage *Coverage `json:"coverage,omitempty"`
}

DeploymentEdgecloud

func (DeploymentEdgecloud) String

func (o DeploymentEdgecloud) String() string

type DisassociateSubnetRequest added in v0.0.84

type DisassociateSubnetRequest struct {

	// 路由表ID
	RoutetableId string `json:"routetable_id"`

	Body *DisassociateSubnetRequestBody `json:"body,omitempty"`
}

DisassociateSubnetRequest Request Object

func (DisassociateSubnetRequest) String added in v0.0.84

func (o DisassociateSubnetRequest) String() string

type DisassociateSubnetRequestBody added in v0.0.84

type DisassociateSubnetRequestBody struct {

	// 子网ID
	SubnetIds []string `json:"subnet_ids"`
}

DisassociateSubnetRequestBody 路由表解关联子网请求体

func (DisassociateSubnetRequestBody) String added in v0.0.84

type DisassociateSubnetResponse added in v0.0.84

type DisassociateSubnetResponse struct {
	Routetable     *Routetable `json:"routetable,omitempty"`
	HttpStatusCode int         `json:"-"`
}

DisassociateSubnetResponse Response Object

func (DisassociateSubnetResponse) String added in v0.0.84

type Distribution

type Distribution struct {

	// 所在大区名称。
	Area *string `json:"area,omitempty"`

	// 所在城市名称。
	City *string `json:"city,omitempty"`

	// 所属运营商名称。
	Operator *string `json:"operator,omitempty"`

	// 所属省份名称。
	Province *string `json:"province,omitempty"`

	// 站点ID。
	SiteId *string `json:"site_id,omitempty"`

	// 线路ID。多线路场景下,将在该线路下创建弹性公网IP。
	PoolId *string `json:"pool_id,omitempty"`

	// 资源组配置模板数目
	StackCount *int32 `json:"stack_count,omitempty"`

	// 城市简称。
	CityShortName *string `json:"city_short_name,omitempty"`
}

Distribution 实例分布对象

func (Distribution) String

func (o Distribution) String() string

type DnsAssignment

type DnsAssignment struct {

	// 端口内网fqdn
	Fqdn *string `json:"fqdn,omitempty"`

	// 端口hostname
	Hostname *string `json:"hostname,omitempty"`

	// 端口IP地址
	IpAddress *string `json:"ip_address,omitempty"`
}

DnsAssignment DNS配置

func (DnsAssignment) String

func (o DnsAssignment) String() string

type EdgeCloud

type EdgeCloud struct {

	// 边缘业务ID。
	Id *string `json:"id,omitempty"`

	// 边缘业务名称。 取值范围:只能由中文字符、大小写英文字母、数字及中划线、下划线组成,且长度为[1-32]个字符。
	Name *string `json:"name,omitempty"`

	// 边缘业务描述。最大支持255字节。
	Description *string `json:"description,omitempty"`

	Coverage *CoverageResp `json:"coverage,omitempty"`

	// 创建失败的虚拟机
	FailedNum *int32 `json:"failed_num,omitempty"`

	// 边缘业务状态,现存状态有: - creating/scheduling/updating:部署中 - inService:运行中 - failed:创建失败 - deleting:删除中 - delFailed:删除失败
	Status *string `json:"status,omitempty"`

	// 成功创建的虚拟机
	SuccessNum *int32 `json:"success_num,omitempty"`

	// 边缘业务支持的边缘区域数目。
	EdgeRegions *int32 `json:"edge_regions,omitempty"`
}

EdgeCloud 边缘业务对象

func (EdgeCloud) String

func (o EdgeCloud) String() string

type EdgeCloudOption

type EdgeCloudOption struct {

	// 边缘业务名称。 取值范围:只能由中文字符、大小写英文字母、数字及中划线、下划线组成,且长度为[1-32]个字符。
	Name *string `json:"name,omitempty"`

	// 已有边缘业务ID,该参数用于扩容边缘业务场景。 >-  id与name不可同时为空,同时有值时部署计划无效; - 通过id扩容场景要求区域分布层级与原边缘业务一致; - 区域分布层级为站点级的边缘业务不支持扩容。
	Id *string `json:"id,omitempty"`

	// 描述,缺省值为空字符串。
	Description *string `json:"description,omitempty"`

	Coverage *Coverage `json:"coverage"`

	Stack *Stack `json:"stack"`
}

EdgeCloudOption 边缘业务对象

func (EdgeCloudOption) String

func (o EdgeCloudOption) String() string

type EdgeImageRegionInfo

type EdgeImageRegionInfo struct {

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 镜像ID
	ImageId *string `json:"image_id,omitempty"`
}

EdgeImageRegionInfo

func (EdgeImageRegionInfo) String

func (o EdgeImageRegionInfo) String() string

type ErrorSite

type ErrorSite struct {

	// 异常站点。
	ErrSites *[]string `json:"err_sites,omitempty"`
}

ErrorSite 异常站点

func (ErrorSite) String

func (o ErrorSite) String() string

type ExecuteDeploymentRequest

type ExecuteDeploymentRequest struct {

	// 部署计划ID。  约束: - 该接口只能执行指定名称(name)创建的部署计划。
	DeploymentId string `json:"deployment_id"`
}

ExecuteDeploymentRequest Request Object

func (ExecuteDeploymentRequest) String

func (o ExecuteDeploymentRequest) String() string

type ExecuteDeploymentResponse

type ExecuteDeploymentResponse struct {

	// 边缘业务ID。
	Id *string `json:"id,omitempty"`

	// 部署计划名称。
	Name *string `json:"name,omitempty"`

	// 部署计划ID。
	DeploymentId *string `json:"deployment_id,omitempty"`

	// 边缘业务状态,现存状态有: - creating/scheduling/updating:部署中 - inService:运行中 - failed:创建失败 - deleting:删除中 - delFailed:删除失败
	Status *string `json:"status,omitempty"`

	// 任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ExecuteDeploymentResponse Response Object

func (ExecuteDeploymentResponse) String

func (o ExecuteDeploymentResponse) String() string

type ExpandEdgecloudRequest

type ExpandEdgecloudRequest struct {

	// 部署计划ID。  约束: - 该接口只能执行指定边缘业务ID(id)创建的部署计划。
	DeploymentId string `json:"deployment_id"`
}

ExpandEdgecloudRequest Request Object

func (ExpandEdgecloudRequest) String

func (o ExpandEdgecloudRequest) String() string

type ExpandEdgecloudResponse

type ExpandEdgecloudResponse struct {

	// 边缘业务ID。
	Id *string `json:"id,omitempty"`

	// 部署计划名称。
	Name *string `json:"name,omitempty"`

	// 部署计划ID。
	DeploymentId *string `json:"deployment_id,omitempty"`

	// 边缘业务状态,现存状态有: - creating/scheduling/updating:部署中 - inService:运行中 - failed:创建失败 - deleting:删除中 - delFailed:删除失败
	Status *string `json:"status,omitempty"`

	// 任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ExpandEdgecloudResponse Response Object

func (ExpandEdgecloudResponse) String

func (o ExpandEdgecloudResponse) String() string

type ExtraDhcpOption

type ExtraDhcpOption struct {

	// Option名称
	OptName *string `json:"opt_name,omitempty"`

	// Option值
	OptValue *string `json:"opt_value,omitempty"`
}

ExtraDhcpOption DHCP扩展属性

func (ExtraDhcpOption) String

func (o ExtraDhcpOption) String() string

type FailReason

type FailReason struct {

	// 错误码
	FailCode *string `json:"fail_code,omitempty"`

	// 边缘云失败原因列表。包含所边缘云的失败原因。
	FailMessage *string `json:"fail_message,omitempty"`
}

FailReason 失败原因对象。

func (FailReason) String

func (o FailReason) String() string

type Firewall

type Firewall struct {

	// 网络ACL ID
	Id *string `json:"id,omitempty"`

	// 网络ACL名称。
	Name *string `json:"name,omitempty"`

	// 网络ACL使能开关。  取值范围:true(开启),false(关闭)。默认为true
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 网络ACL状态。  取值范围:INACTIVE
	Status *FirewallStatus `json:"status,omitempty"`

	// 网络ACL描述。
	Description *string `json:"description,omitempty"`

	// 租户domainID
	DomainId *string `json:"domain_id,omitempty"`

	EgressFirewallPolicy *FirewallPolicy `json:"egress_firewall_policy,omitempty"`

	// 出方向网络ACL规则个数。
	EgressFirewallRuleCount *int32 `json:"egress_firewall_rule_count,omitempty"`

	IngressFirewallPolicy *FirewallPolicy `json:"ingress_firewall_policy,omitempty"`

	// 入方向网络ACL规则个数。
	IngressFirewallRuleCount *int32 `json:"ingress_firewall_rule_count,omitempty"`
}

Firewall 防火墙对象

func (Firewall) String

func (o Firewall) String() string

type FirewallPolicy

type FirewallPolicy struct {

	// 网络ACL策略ID。
	Id string `json:"id"`

	// 网络ACL策略名称。
	Name *string `json:"name,omitempty"`

	// 网络ACL规则列表对象。
	FirewallRules []FirewallRule `json:"firewall_rules"`

	// ACL规则ID,表示在此ACL规则之后添加ACL规则
	InsertAfter *string `json:"insert_after,omitempty"`

	// ACL规则ID,表示在此ACL规则之前添加ACL规则
	InsertBefore *string `json:"insert_before,omitempty"`
}

FirewallPolicy 网络ACL策略。

func (FirewallPolicy) String

func (o FirewallPolicy) String() string

type FirewallRule

type FirewallRule struct {

	// 策略是否允许  取值范围:allow,deny,reject
	Action FirewallRuleAction `json:"action"`

	// 网络ACL规则描述。
	Description *string `json:"description,omitempty"`

	// 目的地IP地址,IPv4[或IPv6](tag:hide)的CIDR格式
	DestinationIpAddress string `json:"destination_ip_address"`

	// 目的地端口范围  取值范围:整数,比如80,或者以\"-\"隔开的范围,比如80-90
	DestinationPort string `json:"destination_port"`

	// 网络ACL规则使能开关。  取值范围:true,false
	Enabled bool `json:"enabled"`

	// 网络ACL规则ID。  进行更新规则时,如果operate_type为add,则该值为空。
	Id string `json:"id"`

	// IP协议版本  取值范围:4[、6](tag:hide)
	IpVersion int32 `json:"ip_version"`

	// 网络ACL规则名称。
	Name string `json:"name"`

	// 网络ACL规则操作状态,作为请求时取值为\"add\"/\"modify\"/\"delete\",作为返回值时为\"normal\"。 当请求更新规则时,本参数值为delete时,除id之外,本请求体其他参数均可为空。
	OperateType FirewallRuleOperateType `json:"operate_type"`

	// IP协议,为any时代表所有协议  取值范围:icmp,tcp,udp,[icmpv6,](tag:hide)any
	Protocol FirewallRuleProtocol `json:"protocol"`

	// 源IP地址,IPv4[或IPv6](tag:hide)的CIDR格式
	SourceIpAddress string `json:"source_ip_address"`

	// 源地端口范围  取值范围:整数,比如80,或者以\"-\"隔开的范围,比如80-90
	SourcePort string `json:"source_port"`
}

FirewallRule 网络ACL规则。

func (FirewallRule) String

func (o FirewallRule) String() string

type FirewallRuleAction

type FirewallRuleAction struct {
	// contains filtered or unexported fields
}

func (FirewallRuleAction) MarshalJSON

func (c FirewallRuleAction) MarshalJSON() ([]byte, error)

func (*FirewallRuleAction) UnmarshalJSON

func (c *FirewallRuleAction) UnmarshalJSON(b []byte) error

func (FirewallRuleAction) Value added in v0.0.90

func (c FirewallRuleAction) Value() string

type FirewallRuleActionEnum

type FirewallRuleActionEnum struct {
	ALLOW  FirewallRuleAction
	DENY   FirewallRuleAction
	REJECT FirewallRuleAction
}

func GetFirewallRuleActionEnum

func GetFirewallRuleActionEnum() FirewallRuleActionEnum

type FirewallRuleOperateType

type FirewallRuleOperateType struct {
	// contains filtered or unexported fields
}

func (FirewallRuleOperateType) MarshalJSON

func (c FirewallRuleOperateType) MarshalJSON() ([]byte, error)

func (*FirewallRuleOperateType) UnmarshalJSON

func (c *FirewallRuleOperateType) UnmarshalJSON(b []byte) error

func (FirewallRuleOperateType) Value added in v0.0.90

func (c FirewallRuleOperateType) Value() string

type FirewallRuleOperateTypeEnum

type FirewallRuleOperateTypeEnum struct {
	ADD    FirewallRuleOperateType
	MODIFY FirewallRuleOperateType
	DELETE FirewallRuleOperateType
}

func GetFirewallRuleOperateTypeEnum

func GetFirewallRuleOperateTypeEnum() FirewallRuleOperateTypeEnum

type FirewallRuleProtocol

type FirewallRuleProtocol struct {
	// contains filtered or unexported fields
}

func (FirewallRuleProtocol) MarshalJSON

func (c FirewallRuleProtocol) MarshalJSON() ([]byte, error)

func (*FirewallRuleProtocol) UnmarshalJSON

func (c *FirewallRuleProtocol) UnmarshalJSON(b []byte) error

func (FirewallRuleProtocol) Value added in v0.0.90

func (c FirewallRuleProtocol) Value() string

type FirewallRuleProtocolEnum

type FirewallRuleProtocolEnum struct {
	ICMP FirewallRuleProtocol
	TCP  FirewallRuleProtocol
	UDP  FirewallRuleProtocol
	ANY  FirewallRuleProtocol
}

func GetFirewallRuleProtocolEnum

func GetFirewallRuleProtocolEnum() FirewallRuleProtocolEnum

type FirewallStatus

type FirewallStatus struct {
	// contains filtered or unexported fields
}

func (FirewallStatus) MarshalJSON

func (c FirewallStatus) MarshalJSON() ([]byte, error)

func (*FirewallStatus) UnmarshalJSON

func (c *FirewallStatus) UnmarshalJSON(b []byte) error

func (FirewallStatus) Value added in v0.0.90

func (c FirewallStatus) Value() string

type FirewallStatusEnum

type FirewallStatusEnum struct {
	INACTIVE FirewallStatus
}

func GetFirewallStatusEnum

func GetFirewallStatusEnum() FirewallStatusEnum

type FirewallSubnetOption

type FirewallSubnetOption struct {

	// 子网ID。
	Id string `json:"id"`

	// 虚拟私有云ID。
	VpcId *string `json:"vpc_id,omitempty"`
}

FirewallSubnetOption 防火墙关联的子网对象

func (FirewallSubnetOption) String

func (o FirewallSubnetOption) String() string

type FixedIp

type FixedIp struct {

	// 所属子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 端口IP地址
	IpAddress *string `json:"ip_address,omitempty"`
}

FixedIp 私有IP对象

func (FixedIp) String

func (o FixedIp) String() string

type Flavor

type Flavor struct {

	// 边缘实例规格的ID。
	Id *string `json:"id,omitempty"`

	// 边缘实例规格的名称。
	Name *string `json:"name,omitempty"`

	// 边缘实例规格对应要求系统盘大小。  当前未使用该参数,缺省值为0。
	Disk *string `json:"disk,omitempty"`

	// 边缘实例规格对应的内存大小,单位为MB。
	Ram *int32 `json:"ram,omitempty"`

	// 边缘实例规格对应的CPU核数。
	Vcpus *string `json:"vcpus,omitempty"`

	OsExtraSpecs *OsExtraSpecs `json:"os_extra_specs,omitempty"`

	// 扩展属性,flavor是否给所有租户使用。
	OsFlavorAccessIsPublic *bool `json:"os_flavor_access_is_public,omitempty"`
}

Flavor

func (Flavor) String

func (o Flavor) String() string

type FlavorInstance

type FlavorInstance struct {

	// 边缘实例规格的ID。
	Id *string `json:"id,omitempty"`

	// 边缘实例规格的名称。
	Name *string `json:"name,omitempty"`

	// 边缘实例规格对应要求系统盘大小。  当前未使用该参数,缺省值为0。
	Disk *string `json:"disk,omitempty"`

	// 边缘实例规格对应的内存大小,单位为MB。
	Ram *string `json:"ram,omitempty"`

	// 边缘实例规格对应的CPU核数。
	Vcpus *string `json:"vcpus,omitempty"`
}

FlavorInstance

func (FlavorInstance) String

func (o FlavorInstance) String() string

type GeoLocation

type GeoLocation struct {

	// 地理位置信息ID。
	Id *string `json:"id,omitempty"`

	// 所在大区。
	Area *string `json:"area,omitempty"`

	// 所在城市。
	City *string `json:"city,omitempty"`

	// 所在的国家。
	Country *string `json:"country,omitempty"`

	// 区域的国际化名称。
	I18nArea *string `json:"i18n_area,omitempty"`

	// 城市的国际化名称。
	I18nCity *string `json:"i18n_city,omitempty"`

	// 国家的国际化名称。
	I18nCountry *string `json:"i18n_country,omitempty"`

	// 省份的国际化名称。
	I18nProvince *string `json:"i18n_province,omitempty"`

	// 所在省份。
	Province *string `json:"province,omitempty"`
}

GeoLocation

func (GeoLocation) String

func (o GeoLocation) String() string

type ImageInfo added in v0.1.42

type ImageInfo struct {

	// 备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空
	BackupId *string `json:"__backup_id,omitempty"`

	// 镜像来源。公共镜像为空
	DataOrigin *string `json:"__data_origin,omitempty"`

	// 镜像描述信息。 支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。
	Description *string `json:"__description,omitempty"`

	// 镜像文件的大小,单位为字节
	ImageSize string `json:"__image_size"`

	// 镜像后端存储类型,目前只支持uds
	ImageSourceType ImageInfoImageSourceType `json:"__image_source_type"`

	// 镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private 共享镜像:shared 市场镜像:market
	Imagetype ImageInfoImagetype `json:"__imagetype"`

	// 是否是注册过的镜像,取值为“true”或者“false”
	Isregistered ImageInfoIsregistered `json:"__isregistered"`

	// 父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空
	Originalimagename *string `json:"__originalimagename,omitempty"`

	// 操作系统位数,一般取值为“32”或者“64”
	OsBit *ImageInfoOsBit `json:"__os_bit,omitempty"`

	// 操作系统类型,目前取值Linux, Windows,Other
	OsType ImageInfoOsType `json:"__os_type"`

	// 操作系统具体版本
	OsVersion *string `json:"__os_version,omitempty"`

	// 镜像平台分类
	Platform *ImageInfoPlatform `json:"__platform,omitempty"`

	// 市场镜像的产品ID
	Productcode *string `json:"__productcode,omitempty"`

	// 镜像来源表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	// 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无需增加该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	// 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性。
	SupportLargememory *string `json:"__support_largememory,omitempty"`

	// 如果镜像支持XEN,取值为true,否则无需增加该属性。
	SupportXen *string `json:"__support_xen,omitempty"`

	// 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性            。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	// 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”             和“__support_kvm”属性不共存。
	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	// 目前暂时不使用
	Checksum *string `json:"checksum,omitempty"`

	// 容器类型
	ContainerFormat string `json:"container_format"`

	// 创建时间。格式为UTC时间
	CreatedAt string `json:"created_at"`

	// 镜像的格式,目前支持vhd,zvhd、raw,qcow2。默认值是vhd
	DiskFormat *string `json:"disk_format,omitempty"`

	// 表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目,取值为UUID,表示属于该UUID对应的企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 镜像文件下载和上传链接
	File *string `json:"file,omitempty"`

	// 镜像ID
	Id string `json:"id"`

	// 镜像运行需要的最小磁盘容量,单位为GB。取值为40~1024GB。
	MinDisk int32 `json:"min_disk"`

	// 镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,默认设置为0
	MinRam int32 `json:"min_ram"`

	// 镜像名称。 名称的首尾字母不能为空格。 名称的长度至为1~128位。 名称包含以下4种字符: 大写字母 小写字母 数字 特殊字符包含-、.、_、空格和中文。
	Name string `json:"name"`

	// 镜像属于哪个租户
	Owner string `json:"owner"`

	// 是否是受保护的,受保护的镜像不允许删除。取值为true或false
	Protected bool `json:"protected"`

	// 镜像视图
	Schema *string `json:"schema,omitempty"`

	// 镜像链接信息
	Self string `json:"self"`

	// 目前暂时不使用
	Size *int32 `json:"size,omitempty"`

	// 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待 上传镜像文件。saving:表示镜像 正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用
	Status ImageInfoStatus `json:"status"`

	// 镜像标签列表
	Tags []string `json:"tags"`

	// 更新时间。格式为UTC时间
	UpdatedAt string `json:"updated_at"`

	// 镜像使用环境类型:FusionCompute,Ironic,DataImage。如果弹性云服务器镜像,则取值为FusionCompute,如果是数据卷镜像则取Dat            aImage,如果是裸金属服务器镜像,则取值是Ironic
	VirtualEnvType ImageInfoVirtualEnvType `json:"virtual_env_type"`

	// 目前暂时不使用
	VirtualSize *int32 `json:"virtual_size,omitempty"`

	// 是否被其他租户可见,取值为private或public
	Visibility ImageInfoVisibility `json:"visibility"`

	// 云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
	HwFirmwareType *ImageInfoHwFirmwareType `json:"hw_firmware_type,omitempty"`

	// 是否是ARM架构类型的镜像,取值为“true”或者“false”。
	SupportArm *ImageInfoSupportArm `json:"__support_arm,omitempty"`

	// 镜像支持的最大内存,单位为MB。取值可以参考云服务器规格限制,一般不设置。
	MaxRam *string `json:"max_ram,omitempty"`

	// 镜像是否支持网卡多队列。取值为“true”或者“false”。
	HwVifMultiqueueEnabled *string `json:"hw_vif_multiqueue_enabled,omitempty"`

	// 表示当前镜像来源是从外部导入。取值:file。
	RootOrigin *string `json:"__root_origin,omitempty"`

	// 表示当前镜像对应云服务器的系统盘插槽位置。目前暂时不用
	SequenceNum *string `json:"__sequence_num,omitempty"`

	// 是否是AMD架构类型的镜像。取值为“true”或者“false”。
	SupportAmd *string `json:"__support_amd,omitempty"`
}

ImageInfo 镜像信息响应体

func (ImageInfo) String added in v0.1.42

func (o ImageInfo) String() string

type ImageInfoHwFirmwareType added in v0.1.42

type ImageInfoHwFirmwareType struct {
	// contains filtered or unexported fields
}

func (ImageInfoHwFirmwareType) MarshalJSON added in v0.1.42

func (c ImageInfoHwFirmwareType) MarshalJSON() ([]byte, error)

func (*ImageInfoHwFirmwareType) UnmarshalJSON added in v0.1.42

func (c *ImageInfoHwFirmwareType) UnmarshalJSON(b []byte) error

func (ImageInfoHwFirmwareType) Value added in v0.1.42

func (c ImageInfoHwFirmwareType) Value() string

type ImageInfoHwFirmwareTypeEnum added in v0.1.42

type ImageInfoHwFirmwareTypeEnum struct {
	BIOS ImageInfoHwFirmwareType
	UEFI ImageInfoHwFirmwareType
}

func GetImageInfoHwFirmwareTypeEnum added in v0.1.42

func GetImageInfoHwFirmwareTypeEnum() ImageInfoHwFirmwareTypeEnum

type ImageInfoImageSourceType added in v0.1.42

type ImageInfoImageSourceType struct {
	// contains filtered or unexported fields
}

func (ImageInfoImageSourceType) MarshalJSON added in v0.1.42

func (c ImageInfoImageSourceType) MarshalJSON() ([]byte, error)

func (*ImageInfoImageSourceType) UnmarshalJSON added in v0.1.42

func (c *ImageInfoImageSourceType) UnmarshalJSON(b []byte) error

func (ImageInfoImageSourceType) Value added in v0.1.42

func (c ImageInfoImageSourceType) Value() string

type ImageInfoImageSourceTypeEnum added in v0.1.42

type ImageInfoImageSourceTypeEnum struct {
	UDS   ImageInfoImageSourceType
	SWIFT ImageInfoImageSourceType
}

func GetImageInfoImageSourceTypeEnum added in v0.1.42

func GetImageInfoImageSourceTypeEnum() ImageInfoImageSourceTypeEnum

type ImageInfoImagetype added in v0.1.42

type ImageInfoImagetype struct {
	// contains filtered or unexported fields
}

func (ImageInfoImagetype) MarshalJSON added in v0.1.42

func (c ImageInfoImagetype) MarshalJSON() ([]byte, error)

func (*ImageInfoImagetype) UnmarshalJSON added in v0.1.42

func (c *ImageInfoImagetype) UnmarshalJSON(b []byte) error

func (ImageInfoImagetype) Value added in v0.1.42

func (c ImageInfoImagetype) Value() string

type ImageInfoImagetypeEnum added in v0.1.42

type ImageInfoImagetypeEnum struct {
	GOLD    ImageInfoImagetype
	PRIVATE ImageInfoImagetype
	SHARED  ImageInfoImagetype
	MARKET  ImageInfoImagetype
}

func GetImageInfoImagetypeEnum added in v0.1.42

func GetImageInfoImagetypeEnum() ImageInfoImagetypeEnum

type ImageInfoIsregistered added in v0.1.42

type ImageInfoIsregistered struct {
	// contains filtered or unexported fields
}

func (ImageInfoIsregistered) MarshalJSON added in v0.1.42

func (c ImageInfoIsregistered) MarshalJSON() ([]byte, error)

func (*ImageInfoIsregistered) UnmarshalJSON added in v0.1.42

func (c *ImageInfoIsregistered) UnmarshalJSON(b []byte) error

func (ImageInfoIsregistered) Value added in v0.1.42

func (c ImageInfoIsregistered) Value() string

type ImageInfoIsregisteredEnum added in v0.1.42

type ImageInfoIsregisteredEnum struct {
	TRUE  ImageInfoIsregistered
	FALSE ImageInfoIsregistered
}

func GetImageInfoIsregisteredEnum added in v0.1.42

func GetImageInfoIsregisteredEnum() ImageInfoIsregisteredEnum

type ImageInfoOsBit added in v0.1.42

type ImageInfoOsBit struct {
	// contains filtered or unexported fields
}

func (ImageInfoOsBit) MarshalJSON added in v0.1.42

func (c ImageInfoOsBit) MarshalJSON() ([]byte, error)

func (*ImageInfoOsBit) UnmarshalJSON added in v0.1.42

func (c *ImageInfoOsBit) UnmarshalJSON(b []byte) error

func (ImageInfoOsBit) Value added in v0.1.42

func (c ImageInfoOsBit) Value() string

type ImageInfoOsBitEnum added in v0.1.42

type ImageInfoOsBitEnum struct {
	E_32 ImageInfoOsBit
	E_64 ImageInfoOsBit
}

func GetImageInfoOsBitEnum added in v0.1.42

func GetImageInfoOsBitEnum() ImageInfoOsBitEnum

type ImageInfoOsType added in v0.1.42

type ImageInfoOsType struct {
	// contains filtered or unexported fields
}

func (ImageInfoOsType) MarshalJSON added in v0.1.42

func (c ImageInfoOsType) MarshalJSON() ([]byte, error)

func (*ImageInfoOsType) UnmarshalJSON added in v0.1.42

func (c *ImageInfoOsType) UnmarshalJSON(b []byte) error

func (ImageInfoOsType) Value added in v0.1.42

func (c ImageInfoOsType) Value() string

type ImageInfoOsTypeEnum added in v0.1.42

type ImageInfoOsTypeEnum struct {
	LINUX   ImageInfoOsType
	WINDOWS ImageInfoOsType
	OTHER   ImageInfoOsType
}

func GetImageInfoOsTypeEnum added in v0.1.42

func GetImageInfoOsTypeEnum() ImageInfoOsTypeEnum

type ImageInfoPlatform added in v0.1.42

type ImageInfoPlatform struct {
	// contains filtered or unexported fields
}

func (ImageInfoPlatform) MarshalJSON added in v0.1.42

func (c ImageInfoPlatform) MarshalJSON() ([]byte, error)

func (*ImageInfoPlatform) UnmarshalJSON added in v0.1.42

func (c *ImageInfoPlatform) UnmarshalJSON(b []byte) error

func (ImageInfoPlatform) Value added in v0.1.42

func (c ImageInfoPlatform) Value() string

type ImageInfoPlatformEnum added in v0.1.42

type ImageInfoPlatformEnum struct {
	WINDOWS      ImageInfoPlatform
	UBUNTU       ImageInfoPlatform
	RED_HAT      ImageInfoPlatform
	SUSE         ImageInfoPlatform
	CENT_OS      ImageInfoPlatform
	DEBIAN       ImageInfoPlatform
	OPEN_SUSE    ImageInfoPlatform
	ORACLE_LINUX ImageInfoPlatform
	FEDORA       ImageInfoPlatform
	OTHER        ImageInfoPlatform
	CORE_OS      ImageInfoPlatform
	EULER_OS     ImageInfoPlatform
}

func GetImageInfoPlatformEnum added in v0.1.42

func GetImageInfoPlatformEnum() ImageInfoPlatformEnum

type ImageInfoStatus added in v0.1.42

type ImageInfoStatus struct {
	// contains filtered or unexported fields
}

func (ImageInfoStatus) MarshalJSON added in v0.1.42

func (c ImageInfoStatus) MarshalJSON() ([]byte, error)

func (*ImageInfoStatus) UnmarshalJSON added in v0.1.42

func (c *ImageInfoStatus) UnmarshalJSON(b []byte) error

func (ImageInfoStatus) Value added in v0.1.42

func (c ImageInfoStatus) Value() string

type ImageInfoStatusEnum added in v0.1.42

type ImageInfoStatusEnum struct {
	QUEUED  ImageInfoStatus
	SAVING  ImageInfoStatus
	DELETED ImageInfoStatus
	KILLED  ImageInfoStatus
	ACTIVE  ImageInfoStatus
}

func GetImageInfoStatusEnum added in v0.1.42

func GetImageInfoStatusEnum() ImageInfoStatusEnum

type ImageInfoSupportArm added in v0.1.42

type ImageInfoSupportArm struct {
	// contains filtered or unexported fields
}

func (ImageInfoSupportArm) MarshalJSON added in v0.1.42

func (c ImageInfoSupportArm) MarshalJSON() ([]byte, error)

func (*ImageInfoSupportArm) UnmarshalJSON added in v0.1.42

func (c *ImageInfoSupportArm) UnmarshalJSON(b []byte) error

func (ImageInfoSupportArm) Value added in v0.1.42

func (c ImageInfoSupportArm) Value() string

type ImageInfoSupportArmEnum added in v0.1.42

type ImageInfoSupportArmEnum struct {
	TRUE  ImageInfoSupportArm
	FALSE ImageInfoSupportArm
}

func GetImageInfoSupportArmEnum added in v0.1.42

func GetImageInfoSupportArmEnum() ImageInfoSupportArmEnum

type ImageInfoVirtualEnvType added in v0.1.42

type ImageInfoVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (ImageInfoVirtualEnvType) MarshalJSON added in v0.1.42

func (c ImageInfoVirtualEnvType) MarshalJSON() ([]byte, error)

func (*ImageInfoVirtualEnvType) UnmarshalJSON added in v0.1.42

func (c *ImageInfoVirtualEnvType) UnmarshalJSON(b []byte) error

func (ImageInfoVirtualEnvType) Value added in v0.1.42

func (c ImageInfoVirtualEnvType) Value() string

type ImageInfoVirtualEnvTypeEnum added in v0.1.42

type ImageInfoVirtualEnvTypeEnum struct {
	FUSION_COMPUTE ImageInfoVirtualEnvType
	IRONIC         ImageInfoVirtualEnvType
	DATA_IMAGE     ImageInfoVirtualEnvType
}

func GetImageInfoVirtualEnvTypeEnum added in v0.1.42

func GetImageInfoVirtualEnvTypeEnum() ImageInfoVirtualEnvTypeEnum

type ImageInfoVisibility added in v0.1.42

type ImageInfoVisibility struct {
	// contains filtered or unexported fields
}

func (ImageInfoVisibility) MarshalJSON added in v0.1.42

func (c ImageInfoVisibility) MarshalJSON() ([]byte, error)

func (*ImageInfoVisibility) UnmarshalJSON added in v0.1.42

func (c *ImageInfoVisibility) UnmarshalJSON(b []byte) error

func (ImageInfoVisibility) Value added in v0.1.42

func (c ImageInfoVisibility) Value() string

type ImageInfoVisibilityEnum added in v0.1.42

type ImageInfoVisibilityEnum struct {
	PRIVATE ImageInfoVisibility
	PUBLIC  ImageInfoVisibility
}

func GetImageInfoVisibilityEnum added in v0.1.42

func GetImageInfoVisibilityEnum() ImageInfoVisibilityEnum

type ImageList

type ImageList struct {

	// 镜像ID。
	Id *string `json:"id,omitempty"`

	// 镜像名称。
	Name *string `json:"name,omitempty"`

	// 镜像状态。
	Status *ImageListStatus `json:"status,omitempty"`

	// 镜像格式。
	DiskFormat *ImageListDiskFormat `json:"disk_format,omitempty"`

	// 最小系统盘(单位:GB),取值为40~1024GB。
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 最小内存(单位:MB),默认值为0。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像所属租户ID。
	Owner *string `json:"owner,omitempty"`

	// 是否受保护。
	Protected *bool `json:"protected,omitempty"`

	// 可见性。
	Visibility *string `json:"visibility,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 镜像链接信息。
	Self *string `json:"self,omitempty"`

	// 是否是删除的镜像,取值为true或者false。
	Deleted *bool `json:"deleted,omitempty"`

	// 镜像使用环境类型。
	VirtualEnvType *string `json:"virtual_env_type,omitempty"`

	// 删除时间,格式为UTC时间。
	DeletedAt *string `json:"deleted_at,omitempty"`

	// 镜像关联的任务ID。
	RelationJobId *string `json:"relation_job_id,omitempty"`

	// 镜像类型。  取值范围: - gold:公有镜像; - private:私有镜像。
	Imagetype *ImageListImagetype `json:"__imagetype,omitempty"`

	// 镜像平台分类。
	Platform *string `json:"__platform,omitempty"`

	// 镜像系统类型。
	OsType *ImageListOsType `json:"__os_type,omitempty"`

	// 镜像的操作系统具体版本。
	OsVersion *string `json:"__os_version,omitempty"`

	// 是否是注册过的镜像。
	Isregistered *bool `json:"__isregistered,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 如果镜像是支持KVM虚拟化平台下的GPU类型,取值为“V100_vGPU”或者“RTX5000”,否则无该属性。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持AI加速,取值为true,否则无该属性。
	SupportKvmAscend310 *string `json:"__support_kvm_ascend_310,omitempty"`

	// 如果镜像支持计算增强,取值为true,否则无该属性。
	SupportKvmHi1822Hiovs *string `json:"__support_kvm_hi1822_hiovs,omitempty"`

	// 如果镜像为ARM架构类型,取值为true,否则无该属性。
	SupportArm *string `json:"__support_arm,omitempty"`

	// 镜像启动模式,取值为uefi或bios,不指定时无该属性。
	HwFirmwareType *string `json:"hw_firmware_type,omitempty"`

	// 镜像来源。  - 来源边缘实例:instance:<实例ID> - 来源IMS:ims:<镜像ID>:<region ID>
	DataSource *string `json:"data_source,omitempty"`

	// 如果镜像支持GPU T4类型,取值为true,否则无该属性。
	SupportGpuT4 *string `json:"__support_gpu_t4,omitempty"`
}

ImageList

func (ImageList) String

func (o ImageList) String() string

type ImageListDiskFormat

type ImageListDiskFormat struct {
	// contains filtered or unexported fields
}

func (ImageListDiskFormat) MarshalJSON

func (c ImageListDiskFormat) MarshalJSON() ([]byte, error)

func (*ImageListDiskFormat) UnmarshalJSON

func (c *ImageListDiskFormat) UnmarshalJSON(b []byte) error

func (ImageListDiskFormat) Value added in v0.0.90

func (c ImageListDiskFormat) Value() string

type ImageListDiskFormatEnum

type ImageListDiskFormatEnum struct {
	ZVHD2 ImageListDiskFormat
	VHD   ImageListDiskFormat
	ZVHD  ImageListDiskFormat
	RAW   ImageListDiskFormat
	QCOW2 ImageListDiskFormat
}

func GetImageListDiskFormatEnum

func GetImageListDiskFormatEnum() ImageListDiskFormatEnum

type ImageListImagetype

type ImageListImagetype struct {
	// contains filtered or unexported fields
}

func (ImageListImagetype) MarshalJSON

func (c ImageListImagetype) MarshalJSON() ([]byte, error)

func (*ImageListImagetype) UnmarshalJSON

func (c *ImageListImagetype) UnmarshalJSON(b []byte) error

func (ImageListImagetype) Value added in v0.0.90

func (c ImageListImagetype) Value() string

type ImageListImagetypeEnum

type ImageListImagetypeEnum struct {
	GOLD    ImageListImagetype
	PRIVATE ImageListImagetype
}

func GetImageListImagetypeEnum

func GetImageListImagetypeEnum() ImageListImagetypeEnum

type ImageListOsType

type ImageListOsType struct {
	// contains filtered or unexported fields
}

func (ImageListOsType) MarshalJSON

func (c ImageListOsType) MarshalJSON() ([]byte, error)

func (*ImageListOsType) UnmarshalJSON

func (c *ImageListOsType) UnmarshalJSON(b []byte) error

func (ImageListOsType) Value added in v0.0.90

func (c ImageListOsType) Value() string

type ImageListOsTypeEnum

type ImageListOsTypeEnum struct {
	LINUX   ImageListOsType
	WINDOWS ImageListOsType
	OTHER   ImageListOsType
}

func GetImageListOsTypeEnum

func GetImageListOsTypeEnum() ImageListOsTypeEnum

type ImageListStatus

type ImageListStatus struct {
	// contains filtered or unexported fields
}

func (ImageListStatus) MarshalJSON

func (c ImageListStatus) MarshalJSON() ([]byte, error)

func (*ImageListStatus) UnmarshalJSON

func (c *ImageListStatus) UnmarshalJSON(b []byte) error

func (ImageListStatus) Value added in v0.0.90

func (c ImageListStatus) Value() string

type ImageListStatusEnum

type ImageListStatusEnum struct {
	QUEUED  ImageListStatus
	SAVING  ImageListStatus
	DELETED ImageListStatus
	KILLED  ImageListStatus
	ACTIVE  ImageListStatus
}

func GetImageListStatusEnum

func GetImageListStatusEnum() ImageListStatusEnum

type Instance

type Instance struct {

	// 边缘实例ID。
	Id *string `json:"id,omitempty"`

	// 边缘实例名称。
	Name *string `json:"name,omitempty"`

	// 边缘实例状态。 取值范围: ACTIVE、BUILD、DELETED、ERROR、HARD_REBOOT、MIGRATING、PAUSED、REBOOT、REBUILD、RESIZE、REVERT_RESIZE、SHUTOFF、SHELVED、SHELVED_OFFLOADED、SOFT_DELETED、SUSPENDED、VERIFY_RESIZE
	Status *string `json:"status,omitempty"`

	// 边缘实例修改时间。 UTC时间,格式:yyyy-mm-ddTss:ss:ssZ,例如:2021-04-25T03:21:39Z
	Updated *string `json:"updated,omitempty"`

	// 边缘实例所在主机的主机ID。
	HostId *string `json:"hostId,omitempty"`

	// 边缘实例对应的网络地址信息,详情请参见表addresses字段数据结构说明。
	Addresses map[string][]InstanceAddress `json:"addresses,omitempty"`

	// 边缘实例创建时间。 时间格式:yyyy-mm-ddTss:ss:ssZ,例如:2021-04-25T02:46:23Z
	Created *string `json:"created,omitempty"`

	// 边缘实例标签。 主要用来存储边缘业务ID。
	Tags *[]string `json:"tags,omitempty"`

	// 边缘实例是否为锁定状态。  - true:锁定 - false:未锁定
	Locked *bool `json:"locked,omitempty"`

	// 边缘实例的描述信息。
	Description *string `json:"description,omitempty"`

	// 边缘实例所属租户ID,即项目ID,和project_id表示相同的概念,格式为UUID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 边缘实例系统标签。
	SysTags *[]SysTags `json:"sys_tags,omitempty"`

	Flavor *FlavorInstance `json:"flavor,omitempty"`

	// 边缘实例元数据。
	Metadata map[string]string `json:"metadata,omitempty"`

	// 边缘实例所属安全组列表。
	SecurityGroups *[]InstanceSecurityGroup `json:"security_groups,omitempty"`

	// 边缘实例进度。
	Progress *int32 `json:"progress,omitempty"`

	// 扩展属性,边缘实例电源状态。
	OSEXTSTSpowerState *int32 `json:"OS-EXT-STS:power_state,omitempty"`

	// 扩展属性,边缘实例当前状态。
	OSEXTSTSvmState *string `json:"OS-EXT-STS:vm_state,omitempty"`

	// 边缘实例任务状态。
	OSEXTSTStaskState *string `json:"OS-EXT-STS:task_state,omitempty"`

	// 扩展属性, diskConfig的类型。  - MANUAL,镜像空间不会扩展。 - AUTO,系统盘镜像空间会自动扩展为与flavor大小一致。
	OSDCFdiskConfig *string `json:"OS-DCF:diskConfig,omitempty"`

	// 扩展属性,边缘实例所在可用区名称。
	OSEXTAZavailabilityZone *string `json:"OS-EXT-AZ:availability_zone,omitempty"`

	// 边缘实例启动时间。 时间格式例如:2019-05-22T03:23:59.000000
	OSSRVUSGlaunchedAt *string `json:"OS-SRV-USG:launched_at,omitempty"`

	// 边缘实例删除时间。 时间格式例如:2019-05-22T03:23:59.000000
	OSSRVUSGterminatedAt *string `json:"OS-SRV-USG:terminated_at,omitempty"`

	// 边缘实例系统盘的设备名称。
	OSEXTSRVATTRrootDeviceName *string `json:"OS-EXT-SRV-ATTR:root_device_name,omitempty"`

	// 若使用AMI格式镜像,则表示ramdisk image的UUID;否则,留空。
	OSEXTSRVATTRramdiskId *string `json:"OS-EXT-SRV-ATTR:ramdisk_id,omitempty"`

	// 若使用AMI格式的镜像,则表示kernel image的UUID;否则,留空。
	OSEXTSRVATTRkernelId *string `json:"OS-EXT-SRV-ATTR:kernel_id,omitempty"`

	// 批量创建场景,边缘实例的启动顺序。
	OSEXTSRVATTRlaunchIndex *int32 `json:"OS-EXT-SRV-ATTR:launch_index,omitempty"`

	// 批量创建场景,边缘实例的预留ID。
	OSEXTSRVATTRreservationId *string `json:"OS-EXT-SRV-ATTR:reservation_id,omitempty"`

	// 边缘实例的主机名。
	OSEXTSRVATTRhostname *string `json:"OS-EXT-SRV-ATTR:hostname,omitempty"`

	// 创建边缘实例时指定的user_data。
	OSEXTSRVATTRuserData *string `json:"OS-EXT-SRV-ATTR:user_data,omitempty"`

	// 边缘实例所在主机的主机名称。
	OSEXTSRVATTRhost *string `json:"OS-EXT-SRV-ATTR:host,omitempty"`

	// 扩展属性,边缘实例所在虚拟化主机名。
	OSEXTSRVATTRhypervisorHostname *string `json:"OS-EXT-SRV-ATTR:hypervisor_hostname,omitempty"`

	// 挂载到边缘实例上的磁盘。
	OsExtendedVolumesvolumesAttached *[]VolumesAttached `json:"os-extended-volumes:volumes_attached,omitempty"`

	Geolocation *GeoLocation `json:"geolocation,omitempty"`

	// 边缘实例所属边缘业务的ID。
	EdgecloudId *string `json:"edgecloud_id,omitempty"`

	// 边缘实例所属边缘业务的名称
	EdgecloudName *string `json:"edgecloud_name,omitempty"`

	// 帐号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 使用的密钥对名称。
	KeyName *string `json:"key_name,omitempty"`

	// 扩展属性,边缘实例别名。
	OSEXTSRVATTRinstanceName *string `json:"OS-EXT-SRV-ATTR:instance_name,omitempty"`
}

Instance 边缘实例对象。

func (Instance) String

func (o Instance) String() string

type InstanceAddress

type InstanceAddress struct {

	// MAC地址。
	OSEXTIPSMACmacAddr *string `json:"OS-EXT-IPS-MAC:mac_addr,omitempty"`

	// IP地址对应的端口ID。
	OSEXTIPSportId *string `json:"OS-EXT-IPS:port_id,omitempty"`

	// IP地址类型。  - fixed:代表私有IP地址。 - floating:代表浮动IP地址。
	OSEXTIPStype *string `json:"OS-EXT-IPS:type,omitempty"`

	// IP地址。
	Addr *string `json:"addr,omitempty"`

	// IP地址版本。  - “4”:代表IPv4。 [- “6”:代表IPv6。](tag:hide)
	Version *string `json:"version,omitempty"`
}

InstanceAddress 边缘实例地址

func (InstanceAddress) String

func (o InstanceAddress) String() string

type InstanceSecurityGroup

type InstanceSecurityGroup struct {

	// 安全组名称或者UUID。
	Name *string `json:"name,omitempty"`

	// 实例使用安全组规则的ID。
	Id *string `json:"id,omitempty"`
}

InstanceSecurityGroup 边缘实例关联的安全组

func (InstanceSecurityGroup) String

func (o InstanceSecurityGroup) String() string

type IpPool

type IpPool struct {

	// 线路的ID。
	Id *string `json:"id,omitempty"`

	// 线路所属站点ID。
	SiteId *string `json:"site_id,omitempty"`

	// 线路标识。
	PoolId *string `json:"pool_id,omitempty"`

	// IPv4[或IPv6](tag:hide)线路。  取值范围: - 4:IPv4线路 [- 6:IPv6线路](tag:hide)
	IpVersion *string `json:"ip_version,omitempty"`

	Operator *Operator `json:"operator,omitempty"`

	// 线路的显示名称。
	DisplayName *string `json:"display_name,omitempty"`
}

IpPool IP池对象。 支持IPv4和IPv6

func (IpPool) String

func (o IpPool) String() string

type JobResult

type JobResult struct {

	// 提交任务成功后返回的任务ID,用户可以使用该ID对任务执行情况进行查询。
	JobId string `json:"job_id"`
}

JobResult 任务类响应通用返回体。

func (JobResult) String

func (o JobResult) String() string

type ListBandwidthsRequest

type ListBandwidthsRequest struct {

	// 查询的数目,取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的偏移量。
	Offset *int32 `json:"offset,omitempty"`

	// 边缘站点ID。
	SiteId *string `json:"site_id,omitempty"`
}

ListBandwidthsRequest Request Object

func (ListBandwidthsRequest) String

func (o ListBandwidthsRequest) String() string

type ListBandwidthsResponse

type ListBandwidthsResponse struct {

	// 带宽列表对象。
	Bandwidths *[]Bandwidth `json:"bandwidths,omitempty"`

	// 带宽数量。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListBandwidthsResponse Response Object

func (ListBandwidthsResponse) String

func (o ListBandwidthsResponse) String() string

type ListCloudImagesRequest added in v0.1.42

type ListCloudImagesRequest struct {

	// 华为云区域ID
	RegionId string `json:"region_id"`

	// 镜像类型,目前支持以下类型:  - 公共镜像:gold  - 私有镜像:private
	Imagetype *string `json:"__imagetype,omitempty"`

	// 镜像是否可用,取值为true/false。 > 查询公共镜像时,该参数无效。
	Isregistered *ListCloudImagesRequestIsregistered `json:"__isregistered,omitempty"`

	// 镜像系统类型,取值如下:  - Linux - Windows - Other
	OsType *string `json:"__os_type,omitempty"`

	// 表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
	SupportDiskintensive *string `json:"__support_diskintensive,omitempty"`

	// 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
	SupportHighperformance *string `json:"__support_highperformance,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 如果镜像是支持KVM虚拟化平台下的GPU类型,取值为“V100_vGPU”或者“RTX5000”,否则无该属性。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。  该属性与“__support_xen”属性不共存。
	SupportKvmInfiniband *string `json:"__support_kvm_infiniband,omitempty"`

	// 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性。
	SupportLargememory *string `json:"__support_largememory,omitempty"`

	// 如果镜像支持XEN,取值为true,否则无需增加该属性。
	SupportXen *string `json:"__support_xen,omitempty"`

	// 表示该镜像是支持XEN虚拟化平台下的GPU优化类型。如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenGpuType *string `json:"__support_xen_gpu_type,omitempty"`

	// 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。  该属性与“__support_xen”和“__support_kvm”属性不共存。
	SupportXenHana *string `json:"__support_xen_hana,omitempty"`

	// 镜像ID,精确匹配。
	Id *string `json:"id,omitempty"`

	// 用于分页,表示查询几条镜像记录,取值为正整数,最大(默认)取值为500
	Limit *int32 `json:"limit,omitempty"`

	// 用于分页,表示从哪个镜像开始查询,取值为镜像ID。
	Marker *string `json:"marker,omitempty"`

	// 镜像名称,匹配规则为精确匹配。
	Name *string `json:"name,omitempty"`

	// 镜像属于哪个租户。
	Owner *string `json:"owner,omitempty"`

	// 镜像是否是受保护,取值为true/false,一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
	Protected *ListCloudImagesRequestProtected `json:"protected,omitempty"`

	// 用于排序,表示升序还是降序,取值为asc和desc,与sort_key一起组合使用,默认为降序desc。
	SortDir *ListCloudImagesRequestSortDir `json:"sort_dir,omitempty"`

	// 用于排序,表示按照哪个字段排序,取值为镜像属性name、status、disk_format、created_at,默认取值为created_at。
	SortKey *ListCloudImagesRequestSortKey `json:"sort_key,omitempty"`

	// 镜像状态。取值如下:  - saving:表示镜像正在上传文件到后端存储  - deleted:表示镜像已经删除  - killed:表示镜像上传错误  - active:表示镜像可以正常使用
	Status *string `json:"status,omitempty"`

	// 镜像使用环境类型。  目前仅支持系统盘镜像,取值为:FusionCompute
	VirtualEnvType *ListCloudImagesRequestVirtualEnvType `json:"virtual_env_type,omitempty"`

	// 是否被其他租户可见,取值如下:  - public:公共镜像  - private:私有镜像
	Visibility *string `json:"visibility,omitempty"`
}

ListCloudImagesRequest Request Object

func (ListCloudImagesRequest) String added in v0.1.42

func (o ListCloudImagesRequest) String() string

type ListCloudImagesRequestIsregistered added in v0.1.42

type ListCloudImagesRequestIsregistered struct {
	// contains filtered or unexported fields
}

func (ListCloudImagesRequestIsregistered) MarshalJSON added in v0.1.42

func (c ListCloudImagesRequestIsregistered) MarshalJSON() ([]byte, error)

func (*ListCloudImagesRequestIsregistered) UnmarshalJSON added in v0.1.42

func (c *ListCloudImagesRequestIsregistered) UnmarshalJSON(b []byte) error

func (ListCloudImagesRequestIsregistered) Value added in v0.1.42

type ListCloudImagesRequestIsregisteredEnum added in v0.1.42

type ListCloudImagesRequestIsregisteredEnum struct {
	TRUE  ListCloudImagesRequestIsregistered
	FALSE ListCloudImagesRequestIsregistered
}

func GetListCloudImagesRequestIsregisteredEnum added in v0.1.42

func GetListCloudImagesRequestIsregisteredEnum() ListCloudImagesRequestIsregisteredEnum

type ListCloudImagesRequestProtected added in v0.1.42

type ListCloudImagesRequestProtected struct {
	// contains filtered or unexported fields
}

func (ListCloudImagesRequestProtected) MarshalJSON added in v0.1.42

func (c ListCloudImagesRequestProtected) MarshalJSON() ([]byte, error)

func (*ListCloudImagesRequestProtected) UnmarshalJSON added in v0.1.42

func (c *ListCloudImagesRequestProtected) UnmarshalJSON(b []byte) error

func (ListCloudImagesRequestProtected) Value added in v0.1.42

type ListCloudImagesRequestProtectedEnum added in v0.1.42

type ListCloudImagesRequestProtectedEnum struct {
	TRUE  ListCloudImagesRequestProtected
	FALSE ListCloudImagesRequestProtected
}

func GetListCloudImagesRequestProtectedEnum added in v0.1.42

func GetListCloudImagesRequestProtectedEnum() ListCloudImagesRequestProtectedEnum

type ListCloudImagesRequestSortDir added in v0.1.42

type ListCloudImagesRequestSortDir struct {
	// contains filtered or unexported fields
}

func (ListCloudImagesRequestSortDir) MarshalJSON added in v0.1.42

func (c ListCloudImagesRequestSortDir) MarshalJSON() ([]byte, error)

func (*ListCloudImagesRequestSortDir) UnmarshalJSON added in v0.1.42

func (c *ListCloudImagesRequestSortDir) UnmarshalJSON(b []byte) error

func (ListCloudImagesRequestSortDir) Value added in v0.1.42

type ListCloudImagesRequestSortDirEnum added in v0.1.42

type ListCloudImagesRequestSortDirEnum struct {
	ASC  ListCloudImagesRequestSortDir
	DESC ListCloudImagesRequestSortDir
}

func GetListCloudImagesRequestSortDirEnum added in v0.1.42

func GetListCloudImagesRequestSortDirEnum() ListCloudImagesRequestSortDirEnum

type ListCloudImagesRequestSortKey added in v0.1.42

type ListCloudImagesRequestSortKey struct {
	// contains filtered or unexported fields
}

func (ListCloudImagesRequestSortKey) MarshalJSON added in v0.1.42

func (c ListCloudImagesRequestSortKey) MarshalJSON() ([]byte, error)

func (*ListCloudImagesRequestSortKey) UnmarshalJSON added in v0.1.42

func (c *ListCloudImagesRequestSortKey) UnmarshalJSON(b []byte) error

func (ListCloudImagesRequestSortKey) Value added in v0.1.42

type ListCloudImagesRequestSortKeyEnum added in v0.1.42

type ListCloudImagesRequestSortKeyEnum struct {
	NAME        ListCloudImagesRequestSortKey
	STATUS      ListCloudImagesRequestSortKey
	DISK_FORMAT ListCloudImagesRequestSortKey
	CREATED_AT  ListCloudImagesRequestSortKey
}

func GetListCloudImagesRequestSortKeyEnum added in v0.1.42

func GetListCloudImagesRequestSortKeyEnum() ListCloudImagesRequestSortKeyEnum

type ListCloudImagesRequestVirtualEnvType added in v0.1.42

type ListCloudImagesRequestVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (ListCloudImagesRequestVirtualEnvType) MarshalJSON added in v0.1.42

func (c ListCloudImagesRequestVirtualEnvType) MarshalJSON() ([]byte, error)

func (*ListCloudImagesRequestVirtualEnvType) UnmarshalJSON added in v0.1.42

func (c *ListCloudImagesRequestVirtualEnvType) UnmarshalJSON(b []byte) error

func (ListCloudImagesRequestVirtualEnvType) Value added in v0.1.42

type ListCloudImagesRequestVirtualEnvTypeEnum added in v0.1.42

type ListCloudImagesRequestVirtualEnvTypeEnum struct {
	FUSION_COMPUTE ListCloudImagesRequestVirtualEnvType
}

func GetListCloudImagesRequestVirtualEnvTypeEnum added in v0.1.42

func GetListCloudImagesRequestVirtualEnvTypeEnum() ListCloudImagesRequestVirtualEnvTypeEnum

type ListCloudImagesResponse added in v0.1.42

type ListCloudImagesResponse struct {

	// 查询返回的镜像列表。
	Images         *[]ImageInfo `json:"images,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListCloudImagesResponse Response Object

func (ListCloudImagesResponse) String added in v0.1.42

func (o ListCloudImagesResponse) String() string

type ListDeploymentsRequest

type ListDeploymentsRequest struct {

	// 偏移量。 当前偏移量,默认为0。
	Offset *int32 `json:"offset,omitempty"`

	// 查询返回部署计划列表当前页面的数量。
	Limit *int32 `json:"limit,omitempty"`

	// 查询条件,部署计划状态,现只包含如下值: - open:部署计划处于未执行状态,可执行部署计划进行部署 - closed:部署计划已关闭,不可部署。
	Status *string `json:"status,omitempty"`

	// 查询条件,部署计划ID。
	Id *string `json:"id,omitempty"`

	// 查询条件,边缘业务ID。
	EdgecloudId *string `json:"edgecloud_id,omitempty"`
}

ListDeploymentsRequest Request Object

func (ListDeploymentsRequest) String

func (o ListDeploymentsRequest) String() string

type ListDeploymentsResponse

type ListDeploymentsResponse struct {

	// 部署计划列表的总和。
	Count *int32 `json:"count,omitempty"`

	// 部署计划列表。
	Deployments    *[]Deployment `json:"deployments,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListDeploymentsResponse Response Object

func (ListDeploymentsResponse) String

func (o ListDeploymentsResponse) String() string

type ListEdgeCloudRequest

type ListEdgeCloudRequest struct {

	// 偏移量。 当前偏移量,默认为0。
	Offset *int32 `json:"offset,omitempty"`

	// 查询返回边缘业务列表当前页面的数量。 取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 边缘业务名称。
	Name *string `json:"name,omitempty"`

	// 边缘业务ID。
	Id *string `json:"id,omitempty"`
}

ListEdgeCloudRequest Request Object

func (ListEdgeCloudRequest) String

func (o ListEdgeCloudRequest) String() string

type ListEdgeCloudResponse

type ListEdgeCloudResponse struct {

	// 边缘业务数量。
	Count *int32 `json:"count,omitempty"`

	// 边缘业务列表。
	Edgeclouds     *[]EdgeCloud `json:"edgeclouds,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListEdgeCloudResponse Response Object

func (ListEdgeCloudResponse) String

func (o ListEdgeCloudResponse) String() string

type ListFirewallsRequest

type ListFirewallsRequest struct {

	// 每页返回的个数  取值范围:0~1000
	Limit *int32 `json:"limit,omitempty"`

	// 查询的偏移量。
	Offset *int32 `json:"offset,omitempty"`

	// 通过ID过滤网络ACL。
	Id *string `json:"id,omitempty"`

	// 通过name模糊匹配网络ACL。
	Name *string `json:"name,omitempty"`
}

ListFirewallsRequest Request Object

func (ListFirewallsRequest) String

func (o ListFirewallsRequest) String() string

type ListFirewallsResponse

type ListFirewallsResponse struct {

	// 网络ACL数量。
	Count *int32 `json:"count,omitempty"`

	// 网络ACL列表。
	Firewalls      *[]Firewall `json:"firewalls,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListFirewallsResponse Response Object

func (ListFirewallsResponse) String

func (o ListFirewallsResponse) String() string

type ListFlavorsRequest

type ListFlavorsRequest struct {

	// 页码。 当前页面数,默认为1。 取值大于等于0,取值为0时返回第1页。
	Offset *int32 `json:"offset,omitempty"`

	// 查询返回边缘实例规格列表当前页面的数量 。 取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询条件,规格的名称。
	Name *string `json:"name,omitempty"`

	// 边缘规格所在大区。  大小写通用,皆支持。 支持多个查询,中间使用“,”分隔。
	Area *string `json:"area,omitempty"`

	// 边缘规格所在省份。  大小写通用,皆支持。 支持多个查询,中间使用“,”分隔。
	Province *string `json:"province,omitempty"`

	// 边缘规格所在城市。  大小写通用,皆支持。 支持多个查询,中间使用“,”分隔。
	City *string `json:"city,omitempty"`

	// 边缘规格支持运营商。  大小写通用,皆支持。 支持多个查询,中间使用“,”分隔。
	Operator *string `json:"operator,omitempty"`

	// 查询条件,规格的ID。
	Id *string `json:"id,omitempty"`

	// 查询条件,边缘规格站点列表,站点之间用“,”分隔。
	SiteIds *string `json:"site_ids,omitempty"`
}

ListFlavorsRequest Request Object

func (ListFlavorsRequest) String

func (o ListFlavorsRequest) String() string

type ListFlavorsResponse

type ListFlavorsResponse struct {

	// 边缘实例规格数量。
	Count *int32 `json:"count,omitempty"`

	// 规格列表。
	Flavors        *[]Flavor `json:"flavors,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListFlavorsResponse Response Object

func (ListFlavorsResponse) String

func (o ListFlavorsResponse) String() string

type ListImagesRequest

type ListImagesRequest struct {

	// 镜像类型,目前支持以下类型:  - 公共镜像:gold  - 私有镜像:private
	Imagetype *string `json:"__imagetype,omitempty"`

	// 镜像是否是受保护,取值为true/false,一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
	Protected *ListImagesRequestProtected `json:"protected,omitempty"`

	// 镜像ID,精确匹配。
	Id *string `json:"id,omitempty"`

	// 是否被其他租户可见,取值如下:  - public:公共镜像  - private:私有镜像
	Visibility *string `json:"visibility,omitempty"`

	// 镜像状态。取值如下:  - saving:表示镜像正在上传文件到后端存储  - deleted:表示镜像已经删除  - killed:表示镜像上传错误  - active:表示镜像可以正常使用
	Status *string `json:"status,omitempty"`

	// 镜像名称,匹配规则为精确匹配。
	Name *string `json:"name,omitempty"`

	// 镜像系统类型,取值如下:  - Linux - Windows - Other
	OsType *string `json:"__os_type,omitempty"`

	// 镜像使用环境类型。  目前仅支持系统盘镜像,取值为:FusionCompute
	VirtualEnvType *ListImagesRequestVirtualEnvType `json:"virtual_env_type,omitempty"`

	// 镜像是否可用,取值为true/false。 > 查询公共镜像时,该参数无效。
	Isregistered *ListImagesRequestIsregistered `json:"__isregistered,omitempty"`

	// 用于分页,表示查询几条镜像记录,取值为正整数,最大(默认)取值为500
	Limit *int32 `json:"limit,omitempty"`

	// 用于分页,表示查询偏移量,表示从整个列表查询结果中的该位置向后进行查询,并非页数偏移,默认取值为0,表示查询第一页。
	Offset *int32 `json:"offset,omitempty"`

	// 用于排序,表示按照哪个字段排序,取值为镜像属性name、status、disk_format、created_at,默认取值为created_at。
	SortKey *ListImagesRequestSortKey `json:"sort_key,omitempty"`

	// 用于排序,表示升序还是降序,取值为asc和desc,与sort_key一起组合使用,默认为降序desc。
	SortDir *ListImagesRequestSortDir `json:"sort_dir,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 如果镜像是支持KVM虚拟化平台下的GPU类型,取值为“V100_vGPU”或者“RTX5000”,否则无该属性。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持AI加速,取值为true,否则无该属性。
	SupportKvmAscend310 *string `json:"__support_kvm_ascend_310,omitempty"`

	// 如果镜像支持计算增强,取值为true,否则无该属性。
	SupportKvmHi1822Hiovs *string `json:"__support_kvm_hi1822_hiovs,omitempty"`

	// 如果镜像为ARM架构类型,取值为true,否则无该属性。
	SupportArm *string `json:"__support_arm,omitempty"`

	// 如果镜像支持GPU T4,取值为true,否则无该属性。
	SupportGpuT4 *string `json:"__support_gpu_t4,omitempty"`
}

ListImagesRequest Request Object

func (ListImagesRequest) String

func (o ListImagesRequest) String() string

type ListImagesRequestIsregistered

type ListImagesRequestIsregistered struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestIsregistered) MarshalJSON

func (c ListImagesRequestIsregistered) MarshalJSON() ([]byte, error)

func (*ListImagesRequestIsregistered) UnmarshalJSON

func (c *ListImagesRequestIsregistered) UnmarshalJSON(b []byte) error

func (ListImagesRequestIsregistered) Value added in v0.0.90

type ListImagesRequestIsregisteredEnum

type ListImagesRequestIsregisteredEnum struct {
	TRUE  ListImagesRequestIsregistered
	FALSE ListImagesRequestIsregistered
}

func GetListImagesRequestIsregisteredEnum

func GetListImagesRequestIsregisteredEnum() ListImagesRequestIsregisteredEnum

type ListImagesRequestProtected

type ListImagesRequestProtected struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestProtected) MarshalJSON

func (c ListImagesRequestProtected) MarshalJSON() ([]byte, error)

func (*ListImagesRequestProtected) UnmarshalJSON

func (c *ListImagesRequestProtected) UnmarshalJSON(b []byte) error

func (ListImagesRequestProtected) Value added in v0.0.90

type ListImagesRequestProtectedEnum

type ListImagesRequestProtectedEnum struct {
	TRUE  ListImagesRequestProtected
	FALSE ListImagesRequestProtected
}

func GetListImagesRequestProtectedEnum

func GetListImagesRequestProtectedEnum() ListImagesRequestProtectedEnum

type ListImagesRequestSortDir

type ListImagesRequestSortDir struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestSortDir) MarshalJSON

func (c ListImagesRequestSortDir) MarshalJSON() ([]byte, error)

func (*ListImagesRequestSortDir) UnmarshalJSON

func (c *ListImagesRequestSortDir) UnmarshalJSON(b []byte) error

func (ListImagesRequestSortDir) Value added in v0.0.90

func (c ListImagesRequestSortDir) Value() string

type ListImagesRequestSortDirEnum

type ListImagesRequestSortDirEnum struct {
	ASC  ListImagesRequestSortDir
	DESC ListImagesRequestSortDir
}

func GetListImagesRequestSortDirEnum

func GetListImagesRequestSortDirEnum() ListImagesRequestSortDirEnum

type ListImagesRequestSortKey

type ListImagesRequestSortKey struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestSortKey) MarshalJSON

func (c ListImagesRequestSortKey) MarshalJSON() ([]byte, error)

func (*ListImagesRequestSortKey) UnmarshalJSON

func (c *ListImagesRequestSortKey) UnmarshalJSON(b []byte) error

func (ListImagesRequestSortKey) Value added in v0.0.90

func (c ListImagesRequestSortKey) Value() string

type ListImagesRequestSortKeyEnum

type ListImagesRequestSortKeyEnum struct {
	NAME        ListImagesRequestSortKey
	STATUS      ListImagesRequestSortKey
	DISK_FORMAT ListImagesRequestSortKey
	CREATED_AT  ListImagesRequestSortKey
}

func GetListImagesRequestSortKeyEnum

func GetListImagesRequestSortKeyEnum() ListImagesRequestSortKeyEnum

type ListImagesRequestVirtualEnvType

type ListImagesRequestVirtualEnvType struct {
	// contains filtered or unexported fields
}

func (ListImagesRequestVirtualEnvType) MarshalJSON

func (c ListImagesRequestVirtualEnvType) MarshalJSON() ([]byte, error)

func (*ListImagesRequestVirtualEnvType) UnmarshalJSON

func (c *ListImagesRequestVirtualEnvType) UnmarshalJSON(b []byte) error

func (ListImagesRequestVirtualEnvType) Value added in v0.0.90

type ListImagesRequestVirtualEnvTypeEnum

type ListImagesRequestVirtualEnvTypeEnum struct {
	FUSION_COMPUTE ListImagesRequestVirtualEnvType
}

func GetListImagesRequestVirtualEnvTypeEnum

func GetListImagesRequestVirtualEnvTypeEnum() ListImagesRequestVirtualEnvTypeEnum

type ListImagesResponse

type ListImagesResponse struct {

	// 查询返回的镜像列表。
	Images *[]ImageList `json:"images,omitempty"`

	// 列表元素个数,分页查询时返回总数。
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListImagesResponse Response Object

func (ListImagesResponse) String

func (o ListImagesResponse) String() string

type ListInstancesRequest

type ListInstancesRequest struct {

	// 页码。 当前页面数,默认为0。 取值大于等于0,取值为0时返回第1页
	Offset *int32 `json:"offset,omitempty"`

	// 查询返回边缘实例列表当前页面的数量。 每页默认值是25,最多返回1000台边缘实例的信息,如果数据量过大建议设置成100。
	Limit *int32 `json:"limit,omitempty"`

	// 边缘实例的状态。 取值范围:ACTIVE、BUILD、DELETED、ERROR、HARD_REBOOT、MIGRATING、PAUSED、REBOOT、REBUILD、RESIZE、REVERT_RESIZE、SHUTOFF、SHELVED、SHELVED_OFFLOADED、SOFT_DELETED、SUSPENDED、VERIFY_RESIZE。  非上面范围的status字段将返回空列表。 > 当边缘实例处于中间状态时,查询范围如下: - ACTIVE,查询范围:ACTIVE,REBOOT,HARD_REBOOT,REBUILD,MIGRATING - SHUTOFF,查询范围:SHUTOFF,RESIZE,REBUILD - ERROR,查询范围:ERROR,REBUILD - VERIFY_RESIZE,查询范围:VERIFY_RESIZE,REVERT_RESIZE
	Status *string `json:"status,omitempty"`

	// 查询条件,边缘实例名称。
	Name *string `json:"name,omitempty"`

	// 边缘实例所在大区。
	Area *string `json:"area,omitempty"`

	// 边缘实例所在省份。
	Province *string `json:"province,omitempty"`

	// 边缘实例所在城市。
	City *string `json:"city,omitempty"`

	// 边缘业务ID。
	EdgecloudId *string `json:"edgecloud_id,omitempty"`

	// 站点ID。
	SiteId *string `json:"site_id,omitempty"`
}

ListInstancesRequest Request Object

func (ListInstancesRequest) String

func (o ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {

	// 异常站点。
	ErrSites *[]string `json:"err_sites,omitempty"`

	// 边缘实例列表的总数。
	Count *int32 `json:"count,omitempty"`

	// 边缘实例列表。
	Servers        *[]Instance `json:"servers,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListInstancesResponse Response Object

func (ListInstancesResponse) String

func (o ListInstancesResponse) String() string

type ListKeypairsRequest

type ListKeypairsRequest struct {

	// 查询返回keypair列表当前页面的数量。 取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量。 当前偏移量,默认为0。
	Offset *int32 `json:"offset,omitempty"`

	// 根据名称查询keypair列表。
	Name *string `json:"name,omitempty"`
}

ListKeypairsRequest Request Object

func (ListKeypairsRequest) String

func (o ListKeypairsRequest) String() string

type ListKeypairsResponse

type ListKeypairsResponse struct {
	Body           *[]SimpleKeypair `json:"body,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListKeypairsResponse Response Object

func (ListKeypairsResponse) String

func (o ListKeypairsResponse) String() string

type ListPortsRequest

type ListPortsRequest struct {

	// 查询返回端口列表数量。取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的偏移量。
	Offset *int32 `json:"offset,omitempty"`

	// 子网的neutron的network的ID。
	NetworkId *string `json:"network_id,omitempty"`

	// 按照端口ID过滤查询
	Id *string `json:"id,omitempty"`

	// 按照name过滤查询  取值范围:最大长度不超过255
	Name *string `json:"name,omitempty"`

	// 按照admin_state_up进行过滤  约束:只支持true
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 根据绑定的IP查询端口。按照fixed_ips=ip_address或者fixed_ips=subnet_id过滤查询,示例:fixed_ips=ip_address=xxx&fixed_ips=subnet_id=xxxx
	FixedIps *[]string `json:"fixed_ips,omitempty"`

	// 根据网卡的mac地址查询端口。
	MacAddress *string `json:"mac_address,omitempty"`

	// 根据设备ID查询端口。
	DeviceId *string `json:"device_id,omitempty"`

	// 根据设备主查询端口。
	DeviceOwner *string `json:"device_owner,omitempty"`

	// 按照status过滤查询  取值范围:ACTIVE、BUILD、DOWN
	Status *string `json:"status,omitempty"`

	// 根据安全组信息ID查询端口。
	SecurityGroups *string `json:"security_groups,omitempty"`
}

ListPortsRequest Request Object

func (ListPortsRequest) String

func (o ListPortsRequest) String() string

type ListPortsResponse

type ListPortsResponse struct {

	// 端口对象。
	Ports *[]Port `json:"ports,omitempty"`

	// 端口数目。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListPortsResponse Response Object

func (ListPortsResponse) String

func (o ListPortsResponse) String() string

type ListPublicIpsRequest

type ListPublicIpsRequest struct {

	// 查询返回弹性IP列表数量。取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的偏移量。
	Offset *int32 `json:"offset,omitempty"`

	// 站点ID。
	SiteId *string `json:"site_id,omitempty"`

	// 端口ID
	PortId *string `json:"port_id,omitempty"`
}

ListPublicIpsRequest Request Object

func (ListPublicIpsRequest) String

func (o ListPublicIpsRequest) String() string

type ListPublicIpsResponse

type ListPublicIpsResponse struct {

	// 弹性公网IP数目。
	Count *int32 `json:"count,omitempty"`

	// 弹性公网IP数组对象。
	Publicips      *[]PublicIp `json:"publicips,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListPublicIpsResponse Response Object

func (ListPublicIpsResponse) String

func (o ListPublicIpsResponse) String() string

type ListQuotaRequest

type ListQuotaRequest struct {
}

ListQuotaRequest Request Object

func (ListQuotaRequest) String

func (o ListQuotaRequest) String() string

type ListQuotaResponse

type ListQuotaResponse struct {
	Quotas         *QuotaResources `json:"quotas,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListQuotaResponse Response Object

func (ListQuotaResponse) String

func (o ListQuotaResponse) String() string

type ListRelatedRoutetablesRequest added in v0.0.84

type ListRelatedRoutetablesRequest struct {

	// 子网ID
	SubnetId string `json:"subnet_id"`
}

ListRelatedRoutetablesRequest Request Object

func (ListRelatedRoutetablesRequest) String added in v0.0.84

type ListRelatedRoutetablesResponse added in v0.0.84

type ListRelatedRoutetablesResponse struct {
	Routetable     *Routetable `json:"routetable,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListRelatedRoutetablesResponse Response Object

func (ListRelatedRoutetablesResponse) String added in v0.0.84

type ListRoutesRequest added in v0.0.84

type ListRoutesRequest struct {

	// 路由表ID
	RoutetableId string `json:"routetable_id"`
}

ListRoutesRequest Request Object

func (ListRoutesRequest) String added in v0.0.84

func (o ListRoutesRequest) String() string

type ListRoutesResponse added in v0.0.84

type ListRoutesResponse struct {

	// 路由列表
	Routes         *[]Route `json:"routes,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ListRoutesResponse Response Object

func (ListRoutesResponse) String added in v0.0.84

func (o ListRoutesResponse) String() string

type ListRoutetableOption added in v0.0.84

type ListRoutetableOption struct {

	// 路由表ID  取值范围:标准UUID
	Id *string `json:"id,omitempty"`

	// 路由表名称  取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Name *string `json:"name,omitempty"`

	// 路由表所在的虚拟私有云ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 帐号ID
	DomainId *string `json:"domain_id,omitempty"`

	// 路由表描述信息  取值范围:0-255个字符,不能包含“<”和“>”
	Description *string `json:"description,omitempty"`

	// 是否为默认路由表  取值范围:true表示默认路由表;false表示自定义路由表
	Default *bool `json:"default,omitempty"`
}

ListRoutetableOption 列表接口返回的路由表对象

func (ListRoutetableOption) String added in v0.0.84

func (o ListRoutetableOption) String() string

type ListRoutetablesRequest added in v0.0.84

type ListRoutetablesRequest struct {

	// 路由表ID
	Id *string `json:"id,omitempty"`

	// 每页的最大数
	Limit *int32 `json:"limit,omitempty"`

	// 路由表名称。
	Name *string `json:"name,omitempty"`

	// 偏移量
	Offset *int32 `json:"offset,omitempty"`

	// vpc的ID
	VpcId *string `json:"vpc_id,omitempty"`
}

ListRoutetablesRequest Request Object

func (ListRoutetablesRequest) String added in v0.0.84

func (o ListRoutetablesRequest) String() string

type ListRoutetablesResponse added in v0.0.84

type ListRoutetablesResponse struct {

	// 路由表
	Routetables *[]ListRoutetableOption `json:"routetables,omitempty"`

	// 数量
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListRoutetablesResponse Response Object

func (ListRoutetablesResponse) String added in v0.0.84

func (o ListRoutetablesResponse) String() string

type ListSecurityGroupRulesRequest

type ListSecurityGroupRulesRequest struct {

	// 查询返回边缘安全组规则列表数量。取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的偏移量。
	Offset *int32 `json:"offset,omitempty"`

	// 安全组ID。uuid
	SecurityGroupId *string `json:"security_group_id,omitempty"`
}

ListSecurityGroupRulesRequest Request Object

func (ListSecurityGroupRulesRequest) String

type ListSecurityGroupRulesResponse

type ListSecurityGroupRulesResponse struct {

	// 安全组规则列表对象。
	SecurityGroupRules *[]SecurityGroupRule `json:"security_group_rules,omitempty"`

	// 安全组规则数目。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListSecurityGroupRulesResponse Response Object

func (ListSecurityGroupRulesResponse) String

type ListSecurityGroupsRequest

type ListSecurityGroupsRequest struct {

	// 查询返回边缘安全组列表数量。取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的偏移量。
	Offset *int32 `json:"offset,omitempty"`
}

ListSecurityGroupsRequest Request Object

func (ListSecurityGroupsRequest) String

func (o ListSecurityGroupsRequest) String() string

type ListSecurityGroupsResponse

type ListSecurityGroupsResponse struct {

	// 安全组列表对象。
	SecurityGroups *[]SecurityGroup `json:"security_groups,omitempty"`

	// 安全组的列表总数。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListSecurityGroupsResponse Response Object

func (ListSecurityGroupsResponse) String

type ListSitesRequest

type ListSitesRequest struct {

	// 查询返回边缘站点列表当前页面的数量。 取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的偏移量。默认为0。
	Offset *int32 `json:"offset,omitempty"`

	// 查询条件,站点ID。
	Id *string `json:"id,omitempty"`

	// 边缘实例所在大区。   大小写通用,皆支持。 支持多个查询,中间使用','分隔。
	Area *string `json:"area,omitempty"`

	// 边缘实例所在省份。  大小写通用,皆支持。 支持多个查询,中间使用“,”分隔。
	Province *string `json:"province,omitempty"`

	// 边缘实例所在城市。  大小写通用,皆支持。 支持多个查询,中间使用“,”分隔。
	City *string `json:"city,omitempty"`

	// 边缘实例规格。
	Flavor *string `json:"flavor,omitempty"`

	// 过滤支持磁盘类型的站点,多个类型之间用“,”分割。
	VolumeType *ListSitesRequestVolumeType `json:"volume_type,omitempty"`
}

ListSitesRequest Request Object

func (ListSitesRequest) String

func (o ListSitesRequest) String() string

type ListSitesRequestVolumeType

type ListSitesRequestVolumeType struct {
	// contains filtered or unexported fields
}

func (ListSitesRequestVolumeType) MarshalJSON

func (c ListSitesRequestVolumeType) MarshalJSON() ([]byte, error)

func (*ListSitesRequestVolumeType) UnmarshalJSON

func (c *ListSitesRequestVolumeType) UnmarshalJSON(b []byte) error

func (ListSitesRequestVolumeType) Value added in v0.0.90

type ListSitesRequestVolumeTypeEnum

type ListSitesRequestVolumeTypeEnum struct {
	SATA ListSitesRequestVolumeType
	SAS  ListSitesRequestVolumeType
}

func GetListSitesRequestVolumeTypeEnum

func GetListSitesRequestVolumeTypeEnum() ListSitesRequestVolumeTypeEnum

type ListSitesResponse

type ListSitesResponse struct {

	// 边缘站点总数。
	Count *int32 `json:"count,omitempty"`

	// 站点列表。
	Sites          *[]Site `json:"sites,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListSitesResponse Response Object

func (ListSitesResponse) String

func (o ListSitesResponse) String() string

type ListSubnetsRequest

type ListSubnetsRequest struct {

	// 虚拟私有云ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 查询返回边缘子网列表数量。取值范围:0~1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的偏移量。
	Offset *int32 `json:"offset,omitempty"`

	// 站点ID。
	SiteId *string `json:"site_id,omitempty"`
}

ListSubnetsRequest Request Object

func (ListSubnetsRequest) String

func (o ListSubnetsRequest) String() string

type ListSubnetsResponse

type ListSubnetsResponse struct {

	// 子网数组。
	Subnets *[]Subnet `json:"subnets,omitempty"`

	// 子网数目。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListSubnetsResponse Response Object

func (ListSubnetsResponse) String

func (o ListSubnetsResponse) String() string

type ListVpcsRequest

type ListVpcsRequest struct {

	// 查询返回虚拟私有云列表数量。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的偏移量。
	Offset *int32 `json:"offset,omitempty"`

	// 通过ID查询
	Id *string `json:"id,omitempty"`

	// 通过name查询
	Name *string `json:"name,omitempty"`
}

ListVpcsRequest Request Object

func (ListVpcsRequest) String

func (o ListVpcsRequest) String() string

type ListVpcsResponse

type ListVpcsResponse struct {

	// 虚拟私有云的总数。
	Count *int32 `json:"count,omitempty"`

	// 虚拟私有云数组对象。
	Vpcs           *[]Vpc `json:"vpcs,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListVpcsResponse Response Object

func (ListVpcsResponse) String

func (o ListVpcsResponse) String() string

type Location

type Location struct {

	// 站点ID。
	SiteId *string `json:"site_id,omitempty"`

	// 所在大区。
	Area *string `json:"area,omitempty"`

	// 所属省份英文名称。 大小写通用,皆支持
	Province *string `json:"province,omitempty"`

	// 所在城市英文名称。
	City *string `json:"city,omitempty"`

	// 所属运营商。
	Operator *LocationOperator `json:"operator,omitempty"`

	// 线路ID。多线路场景下,创建的弹性公网IP在该线路下。
	PoolId *string `json:"pool_id,omitempty"`

	// 站点需要发放的资源(组)总数。
	StackCount *int32 `json:"stack_count,omitempty"`

	// 城市简称。
	CityShortName *string `json:"city_short_name,omitempty"`
}

Location 位置信息

func (Location) String

func (o Location) String() string

type LocationOperator

type LocationOperator struct {
	// contains filtered or unexported fields
}

func (LocationOperator) MarshalJSON

func (c LocationOperator) MarshalJSON() ([]byte, error)

func (*LocationOperator) UnmarshalJSON

func (c *LocationOperator) UnmarshalJSON(b []byte) error

func (LocationOperator) Value added in v0.0.90

func (c LocationOperator) Value() string

type LocationOperatorEnum

type LocationOperatorEnum struct {
	CHINAMOBILE  LocationOperator
	CHINAUNICOM  LocationOperator
	CHINATELECOM LocationOperator
}

func GetLocationOperatorEnum

func GetLocationOperatorEnum() LocationOperatorEnum

type NetConfig

type NetConfig struct {

	// 边缘网络ID。  约束: - 创建边缘业务仅支持使用系统规划的虚拟私有云。
	VpcId string `json:"vpc_id"`

	// 边缘实例绑定的网卡数量。  约束:一台边缘实例最少绑定一张网卡,最多绑定8张网卡。
	NicNum int32 `json:"nic_num"`
}

NetConfig

func (NetConfig) String

func (o NetConfig) String() string

type NicId

type NicId struct {

	// 网卡ID。
	Id string `json:"id"`
}

NicId 网卡ID信息。

func (NicId) String

func (o NicId) String() string

type Operator

type Operator struct {

	// 运营商ID。
	Id *string `json:"id,omitempty"`

	// 运营商名称。  取值范围: - chinamobile:中国移动; - chinaunicom:中国联通; - chinatelecom:中国电信。
	Name *string `json:"name,omitempty"`

	// 运营商国际化名称。
	I18nName *string `json:"i18n_name,omitempty"`

	// 运营商的简写。
	Sa *string `json:"sa,omitempty"`
}

Operator 运营商信息

func (Operator) String

func (o Operator) String() string

type OsExtraSpecs

type OsExtraSpecs struct {

	// 此参数是Region级配置,某个AZ没有在cond:operation:az参数中配置时默认使用此参数的取值。不配置或无此参数时等同于“normal”。
	Condoperationstatus *string `json:"cond:operation:status,omitempty"`

	// 边缘实例类型的代数。
	Ecsgeneration *string `json:"ecs:generation,omitempty"`

	// 边缘实例规格的分类。
	Ecsperformancetype *string `json:"ecs:performancetype,omitempty"`

	// 虚拟化类型。
	EcsvirtualizationEnvTypes *string `json:"ecs:virtualization_env_types,omitempty"`

	// 此参数是规格的CPU详细信息。
	Infocpuname *string `json:"info:cpu:name,omitempty"`

	// 此参数是规格的GPU详细信息。
	Infogpuname *string `json:"info:gpu:name,omitempty"`

	// P1型本地直通GPU的型号和数量,参数值可设置为“nvidia-p100:1”,表示使用该规格创建的边缘实例将占用1张NVIDIA P100显卡。
	PciPassthroughalias *string `json:"pci_passthrough:alias,omitempty"`

	// 显卡是否直通。 值为“true”,表示GPU直通。
	PciPassthroughenableGpu *string `json:"pci_passthrough:enable_gpu,omitempty"`

	// G1型和G2型边缘实例应用的技术,包括GPU虚拟化和GPU直通。
	PciPassthroughgpuSpecs *string `json:"pci_passthrough:gpu_specs,omitempty"`

	// 资源类型,resource_type是为了区分边缘实例的物理主机类型。
	ResourceType *string `json:"resource_type,omitempty"`
}

OsExtraSpecs

func (OsExtraSpecs) String

func (o OsExtraSpecs) String() string

type Port

type Port struct {

	// 端口唯一标识
	Id *string `json:"id,omitempty"`

	// 端口名称  取值:默认为空,最大长度不超过255
	Name *string `json:"name,omitempty"`

	// 端口状态,Hana硬直通虚拟机端口状态总为DOWN  取值范围:ACTIVE、BUILD、DOWN
	Status *PortStatus `json:"status,omitempty"`

	// 管理状态  约束:只支持true,默认为true
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 端口IP。  约束:一个端口只支持一个fixed_ip,且不支持更新。
	FixedIps *[]FixedIp `json:"fixed_ips,omitempty"`

	// 端口MAC地址  约束:由系统分配,不支持指定
	MacAddress *string `json:"mac_address,omitempty"`

	// 端口所属网络的ID  约束:必须是存在的网络ID
	NetworkId *string `json:"network_id,omitempty"`

	// 端口所属设备ID  约束:不支持设置和更新,由系统自动维护
	DeviceId *string `json:"device_id,omitempty"`

	// 设备所属(DHCP/Router/ lb/Nova)  约束:不支持设置和更新,由系统自动维护
	DeviceOwner *string `json:"device_owner,omitempty"`

	// 安全组的UUID(扩展属性)
	SecurityGroups *[]string `json:"security_groups,omitempty"`

	// DHCP的扩展属性。
	ExtraDhcpOpts *[]ExtraDhcpOption `json:"extra_dhcp_opts,omitempty"`

	// IP/Mac对列表。  约束:IP地址不允许为 “0.0.0.0/0”  建议:如果allowed_address_pairs配置地址池较大的CIDR(掩码小于24位),建议为该port配置一个单独的安全组。
	AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"`

	// 站点ID
	SiteId *string `json:"site_id,omitempty"`

	// 主网卡默认内网域名信息  约束:不支持设置和更新,由系统自动维护
	DnsAssignment *[]DnsAssignment `json:"dns_assignment,omitempty"`

	// 主网卡默认内网DNS名称  约束:不支持设置和更新,由系统自动维护
	DnsName *string `json:"dns_name,omitempty"`
}

Port 端口的字典对象。

func (Port) String

func (o Port) String() string

type PortStatus

type PortStatus struct {
	// contains filtered or unexported fields
}

func (PortStatus) MarshalJSON

func (c PortStatus) MarshalJSON() ([]byte, error)

func (*PortStatus) UnmarshalJSON

func (c *PortStatus) UnmarshalJSON(b []byte) error

func (PortStatus) Value added in v0.0.90

func (c PortStatus) Value() string

type PortStatusEnum

type PortStatusEnum struct {
	ACTIVE PortStatus
	BUILD  PortStatus
	DOWN   PortStatus
}

func GetPortStatusEnum

func GetPortStatusEnum() PortStatusEnum

type PublicIp

type PublicIp struct {

	// 弹性公网IP唯一标识。
	Id *string `json:"id,omitempty"`

	// 弹性公网IP的状态。
	Status *string `json:"status,omitempty"`

	// 端口的ID。
	PortId *string `json:"port_id,omitempty"`

	// 弹性公网IP的地址。
	PublicIpAddress *string `json:"public_ip_address,omitempty"`

	// 绑定弹性公网IP的私有IP地址。
	PrivateIpAddress *string `json:"private_ip_address,omitempty"`

	// 创建时间。
	CreateTime *string `json:"create_time,omitempty"`

	// 带宽的ID。
	BandwidthId *string `json:"bandwidth_id,omitempty"`

	// 带宽的名称。
	BandwidthName *string `json:"bandwidth_name,omitempty"`

	// 带宽的类型。
	BandwidthShareType *string `json:"bandwidth_share_type,omitempty"`

	// 带宽的大小。
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// IP版本的信息。
	IpVersion *int32 `json:"ip_version,omitempty"`

	// 子网所属的站点ID。
	SiteId *string `json:"site_id,omitempty"`

	// 子网所属的站点信息。
	SiteInfo *string `json:"site_info,omitempty"`

	Operator *Operator `json:"operator,omitempty"`

	// 弹性公网IP的类型。
	Type *string `json:"type,omitempty"`
}

PublicIp 弹性公网IP字典对象

func (PublicIp) String

func (o PublicIp) String() string

type PublicipInfo

type PublicipInfo struct {

	//   IP版本的信息
	IpVersion *int32 `json:"ip_version,omitempty"`

	// 弹性公网IP
	PublicipAddress *string `json:"publicip_address,omitempty"`

	// 弹性公网IP的ID。
	PublicipId *string `json:"publicip_id,omitempty"`

	// 功能说明:弹性公网IP的类型
	PublicipType *string `json:"publicip_type,omitempty"`
}

PublicipInfo 弹性公网IP信息

func (PublicipInfo) String

func (o PublicipInfo) String() string

type QuotaResource

type QuotaResource struct {

	// 资源类型。
	Type *string `json:"type,omitempty"`

	// 最小配额。
	Min *int32 `json:"min,omitempty"`

	// 最大配额。
	Max *int32 `json:"max,omitempty"`

	// 资源的总配额。
	Quota *int32 `json:"quota,omitempty"`

	// 已用配额。
	Used *int32 `json:"used,omitempty"`
}

QuotaResource 资源配额对象

func (QuotaResource) String

func (o QuotaResource) String() string

type QuotaResources

type QuotaResources struct {

	// 配额信息列表。
	Resources *[]QuotaResource `json:"resources,omitempty"`
}

QuotaResources

func (QuotaResources) String

func (o QuotaResources) String() string

type RebuildImageRequest added in v0.1.42

type RebuildImageRequest struct {

	// 租户ID。
	DomainId string `json:"domain_id"`

	// 任务ID。
	JobId string `json:"job_id"`

	Body *RebuildImageRequestBody `json:"body,omitempty"`
}

RebuildImageRequest Request Object

func (RebuildImageRequest) String added in v0.1.42

func (o RebuildImageRequest) String() string

type RebuildImageRequestBody added in v0.1.42

type RebuildImageRequestBody struct {

	// 重试镜像任务动作,取值retry。
	Action string `json:"action"`
}

RebuildImageRequestBody 重试镜像任务请求体。

func (RebuildImageRequestBody) String added in v0.1.42

func (o RebuildImageRequestBody) String() string

type RebuildImageResponse added in v0.1.42

type RebuildImageResponse struct {
	HttpStatusCode int `json:"-"`
}

RebuildImageResponse Response Object

func (RebuildImageResponse) String added in v0.1.42

func (o RebuildImageResponse) String() string

type RegisterImageRequest added in v0.1.42

type RegisterImageRequest struct {
	Body *RegisterImageRequestBody `json:"body,omitempty"`
}

RegisterImageRequest Request Object

func (RegisterImageRequest) String added in v0.1.42

func (o RegisterImageRequest) String() string

type RegisterImageRequestBody added in v0.1.42

type RegisterImageRequestBody struct {

	// 注册到边缘云上的公有云IMS的私有镜像id。
	ImageId *string `json:"image_id,omitempty"`

	// 原私有镜像所在公有云的region。
	RegionId *string `json:"region_id,omitempty"`
}

RegisterImageRequestBody

func (RegisterImageRequestBody) String added in v0.1.42

func (o RegisterImageRequestBody) String() string

type RegisterImageResponse added in v0.1.42

type RegisterImageResponse struct {

	// 提交任务成功后返回的任务ID,用户可以使用该ID对任务执行情况进行查询。
	JobId string `json:"job_id"`

	// 创建镜像的ID。
	ImageId        *string `json:"image_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RegisterImageResponse Response Object

func (RegisterImageResponse) String added in v0.1.42

func (o RegisterImageResponse) String() string

type Resource

type Resource struct {

	// 边缘实例名称。 取值范围: 只能由中文字符、英文字母 (大小写)、数字及“_”、“-”、“.” 组成。 创建的边缘实例数量(count字段对应的值)大于1时,为区分不同边缘实例,创建过程中系统会自动在名称后加“-000x”的类似标记。  >  华为云边缘实例内部主机名 (hostname)命名规则遵循RFC 952RFC 1123命名规范,建议使用a-zA-z或0-9以及中划线'-'组成的名称命名,' _' 将在边缘实例内部默认转化为'-'。
	Name string `json:"name"`

	// 是否自动添加名称前缀。 - with_prefix为false时不拼接IEC前缀 - with_prefix不传或者传true时拼自动IEC前缀  以name为iec为例: 不添加前缀时实例名称为:iec-0001 自动添加前缀实例名称为:IEC-ZS01-iec-0001 0001为创建边缘业务时根据实例个数自动添加的编号
	WithPrefix *bool `json:"with_prefix,omitempty"`

	// 待发放边缘实例的系统镜像,需要指定已创建镜像的ID。 > 镜像的ID可以从控制台或者参考本文档的“查询边镜像列表”的章节获取。
	ImageRef string `json:"image_ref"`

	// 边缘实例的系统规格的ID。
	FlavorRef string `json:"flavor_ref"`

	// 如果需要使用密码方式登录边缘实例,可使用admin_pass字段指定边缘实例管理员帐户初始登录密码。其中,Linux管理员帐户为root,Windows管理员帐户为Administrator。  密码复杂度要求: - 长度为8-26位。 - 密码至少必须包含大写字母、小写字母、数字和特殊字符(!@$%^-_=+[{}]:,./?)中的三种。 - 密码不能包含用户名或用户名的逆序。 - Windows系统密码不能包含用户名或用户名的逆序,不能包含用户名中超过两个连续字符的部分。  >   目前边缘实例不支持创建后设置密码,不设置此参数会导致实例无法登录。
	AdminPass *string `json:"admin_pass,omitempty"`

	// 密钥对名称。
	KeyName *string `json:"key_name,omitempty"`

	NetConfig *NetConfig `json:"net_config"`

	Bandwidth *BandwidthConfig `json:"bandwidth,omitempty"`

	RootVolume *RootVolume `json:"root_volume"`

	// 边缘实例对应数据盘相关配置。每一个数据结构代表一块待创建的数据盘。  约束:目前边缘实例最多可挂载2块数据盘
	DataVolumes *[]DataVolume `json:"data_volumes,omitempty"`

	// 边缘实例数量。 不传该字段时默认取值为1。
	Count *int32 `json:"count,omitempty"`

	// 边缘业务对应安全组信息。
	SecurityGroups *[]SecurityGroupOption `json:"security_groups,omitempty"`

	// 创建边缘实例过程中注入用户数据。支持注入文本、文本文件或gzip文件。 更多关于待注入用户数据的信息,请参见《弹性云服务器用户指南 》的“[用户数据注入](https://support.huaweicloud.com/usermanual-ecs/zh-cn_topic_0032380449.html)”章节。
	UserData *string `json:"user_data,omitempty"`
}

Resource 边缘资源对象

func (Resource) String

func (o Resource) String() string

type RootVolume

type RootVolume struct {

	// 系统盘大小,容量单位为GB,输入大小范围为[40,100]。
	Size int32 `json:"size"`

	// 边缘实例系统盘对应的磁盘类型,需要与站点所提供的磁盘类型相匹配。
	VolumeType string `json:"volume_type"`
}

RootVolume 系统盘参数

func (RootVolume) String

func (o RootVolume) String() string

type Route added in v0.0.84

type Route struct {

	// 路由的类型  取值范围:     1)ecs:弹性云服务器     2)vip:虚拟IP     3)local:系统路由,不可修改和删除
	Type *RouteType `json:"type,omitempty"`

	// 路由的目的网段  约束:合法的CIDR格式
	Destination *string `json:"destination,omitempty"`

	// 路由下一跳对象的ID  取值范围:     1)当type为ecs时,传入ecs实例ID;     2)当type为vip时,取值为vip对应的IP地址;
	Nexthop *string `json:"nexthop,omitempty"`

	// 路由的描述信息  取值范围:0-255个字符,不能包含“<”和“>”
	Description *string `json:"description,omitempty"`
}

Route 路由对象

func (Route) String added in v0.0.84

func (o Route) String() string

type RouteOption added in v0.0.84

type RouteOption struct {

	// 路由的类型  取值范围:     1)ecs:弹性云服务器     2)vip:虚拟IP
	Type RouteOptionType `json:"type"`

	// 路由的目的网段  约束:合法的CIDR格式, 目的地址不可更新
	Destination string `json:"destination"`

	// 路由下一跳对象的ID  取值范围:     1)当type为ecs时,传入ecs实例ID;     2)当type为vip时,取值为vip的ip地址;
	Nexthop string `json:"nexthop"`

	// 路由的描述信息  取值范围:0-255个字符,不能包含“<”和“>”
	Description *string `json:"description,omitempty"`
}

RouteOption 路由对象

func (RouteOption) String added in v0.0.84

func (o RouteOption) String() string

type RouteOptionType added in v0.0.84

type RouteOptionType struct {
	// contains filtered or unexported fields
}

func (RouteOptionType) MarshalJSON added in v0.0.84

func (c RouteOptionType) MarshalJSON() ([]byte, error)

func (*RouteOptionType) UnmarshalJSON added in v0.0.84

func (c *RouteOptionType) UnmarshalJSON(b []byte) error

func (RouteOptionType) Value added in v0.0.90

func (c RouteOptionType) Value() string

type RouteOptionTypeEnum added in v0.0.84

type RouteOptionTypeEnum struct {
	ECS RouteOptionType
	VIP RouteOptionType
}

func GetRouteOptionTypeEnum added in v0.0.84

func GetRouteOptionTypeEnum() RouteOptionTypeEnum

type RouteType added in v0.0.84

type RouteType struct {
	// contains filtered or unexported fields
}

func (RouteType) MarshalJSON added in v0.0.84

func (c RouteType) MarshalJSON() ([]byte, error)

func (*RouteType) UnmarshalJSON added in v0.0.84

func (c *RouteType) UnmarshalJSON(b []byte) error

func (RouteType) Value added in v0.0.90

func (c RouteType) Value() string

type RouteTypeEnum added in v0.0.84

type RouteTypeEnum struct {
	ECS   RouteType
	VIP   RouteType
	LOCAL RouteType
}

func GetRouteTypeEnum added in v0.0.84

func GetRouteTypeEnum() RouteTypeEnum

type Routetable added in v0.0.84

type Routetable struct {

	// 路由表ID  取值范围:标准UUID
	Id *string `json:"id,omitempty"`

	// 路由表名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Name *string `json:"name,omitempty"`

	// 路由表所关联的子网  约束:只能关联路由表所属VPC下的子网
	Subnets *[]BaseId `json:"subnets,omitempty"`

	// 路由表所在的虚拟私有云ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 帐号ID
	DomainId *string `json:"domain_id,omitempty"`

	// 路由表描述信息  取值范围:0-255个字符,不能包含“<”和“>”
	Description *string `json:"description,omitempty"`

	// 是否为默认路由表  取值范围:true表示默认路由表;false表示自定义路由表
	Default *bool `json:"default,omitempty"`
}

Routetable 路由表详情

func (Routetable) String added in v0.0.84

func (o Routetable) String() string

type SecurityGroup

type SecurityGroup struct {

	// 安全组的ID。UUID
	Id *string `json:"id,omitempty"`

	// 安全组的名称。
	Name *string `json:"name,omitempty"`

	// 安全组的描述。
	Description *string `json:"description,omitempty"`

	// 安全组规则列表。
	SecurityGroupRules *[]SecurityGroupRule `json:"security_group_rules,omitempty"`
}

SecurityGroup 安全组数据对象

func (SecurityGroup) String

func (o SecurityGroup) String() string

type SecurityGroupOption

type SecurityGroupOption struct {

	// 边缘实例的安全组,会对边缘实例中配置的网卡生效。需要指定已有安全组的ID。不填写时选择默认安全组
	Id *string `json:"id,omitempty"`
}

SecurityGroupOption

func (SecurityGroupOption) String

func (o SecurityGroupOption) String() string

type SecurityGroupRule

type SecurityGroupRule struct {

	// 安全组规则的ID。
	Id *string `json:"id,omitempty"`

	// 安全组规则描述信息。
	Description *string `json:"description,omitempty"`

	// 安全组ID。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 出入控制方向。  取值范围:  - egress:出方向  - ingress:入方向
	Direction *SecurityGroupRuleDirection `json:"direction,omitempty"`

	// IP协议类型。  取值范围:IPv4[,IPv6](tag:hide)  约束:不填默认值为IPv4
	Ethertype *SecurityGroupRuleEthertype `json:"ethertype,omitempty"`

	// 协议类型。  取值范围:icmp、tcp、udp等  约束:为空表示支持所有协议
	Protocol *string `json:"protocol,omitempty"`

	// 起始端口值。  取值范围:1~65535  约束:取值不能大于port_range_max的值,为空表示所有端口
	PortRangeMin *string `json:"port_range_min,omitempty"`

	// 结束端口值。  取值范围:1~65535  约束:取值不能小于port_range_min的值,为空表示所有端口。
	PortRangeMax *string `json:"port_range_max,omitempty"`

	// 对端安全组ID。  约束:和remote_ip_prefix互斥 ,remote_group_id与remote_ip_prefix必须存在一个
	RemoteGroupId *string `json:"remote_group_id,omitempty"`

	// 远端IP地址,当direction是egress时为虚拟机访问端的地址,当direction是ingress时为访问虚拟机的地址。  取值范围:IP地址,或者cidr格式  约束:和remote_group_id互斥
	RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"`

	// 安全组规则生效策略  取值范围:allow 允许,deny 拒绝  约束:默认值为allow
	Action *string `json:"action,omitempty"`

	// 规则在安全组中的优先级 取值范围:1~100,1代表最高优先级  约束:默认值为1
	Priority *int32 `json:"priority,omitempty"`
}

SecurityGroupRule 安全组规则。

func (SecurityGroupRule) String

func (o SecurityGroupRule) String() string

type SecurityGroupRuleDirection

type SecurityGroupRuleDirection struct {
	// contains filtered or unexported fields
}

func (SecurityGroupRuleDirection) MarshalJSON

func (c SecurityGroupRuleDirection) MarshalJSON() ([]byte, error)

func (*SecurityGroupRuleDirection) UnmarshalJSON

func (c *SecurityGroupRuleDirection) UnmarshalJSON(b []byte) error

func (SecurityGroupRuleDirection) Value added in v0.0.90

type SecurityGroupRuleDirectionEnum

type SecurityGroupRuleDirectionEnum struct {
	INGRESS SecurityGroupRuleDirection
	EGRESS  SecurityGroupRuleDirection
}

func GetSecurityGroupRuleDirectionEnum

func GetSecurityGroupRuleDirectionEnum() SecurityGroupRuleDirectionEnum

type SecurityGroupRuleEthertype

type SecurityGroupRuleEthertype struct {
	// contains filtered or unexported fields
}

func (SecurityGroupRuleEthertype) MarshalJSON

func (c SecurityGroupRuleEthertype) MarshalJSON() ([]byte, error)

func (*SecurityGroupRuleEthertype) UnmarshalJSON

func (c *SecurityGroupRuleEthertype) UnmarshalJSON(b []byte) error

func (SecurityGroupRuleEthertype) Value added in v0.0.90

type SecurityGroupRuleEthertypeEnum

type SecurityGroupRuleEthertypeEnum struct {
	I_PV4 SecurityGroupRuleEthertype
}

func GetSecurityGroupRuleEthertypeEnum

func GetSecurityGroupRuleEthertypeEnum() SecurityGroupRuleEthertypeEnum

type ShowBandwidthRequest

type ShowBandwidthRequest struct {

	// 带宽ID。
	BandwidthId string `json:"bandwidth_id"`
}

ShowBandwidthRequest Request Object

func (ShowBandwidthRequest) String

func (o ShowBandwidthRequest) String() string

type ShowBandwidthResponse

type ShowBandwidthResponse struct {
	Bandwidth      *Bandwidth `json:"bandwidth,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ShowBandwidthResponse Response Object

func (ShowBandwidthResponse) String

func (o ShowBandwidthResponse) String() string

type ShowEdgeCloudRequest

type ShowEdgeCloudRequest struct {

	// 边缘业务ID。
	EdgecloudId string `json:"edgecloud_id"`
}

ShowEdgeCloudRequest Request Object

func (ShowEdgeCloudRequest) String

func (o ShowEdgeCloudRequest) String() string

type ShowEdgeCloudResponse

type ShowEdgeCloudResponse struct {

	// 边缘业务ID。
	Id *string `json:"id,omitempty"`

	// 边缘业务名称。
	Name *string `json:"name,omitempty"`

	// 边缘业务资源组。
	Stacks *[]Stack `json:"stacks,omitempty"`

	Coverage *CoverageResp `json:"coverage,omitempty"`

	// 边缘业务成功创建的虚拟机数量。
	SuccessNum *int32 `json:"success_num,omitempty"`

	// 边缘业务创建失败的虚拟机数量。
	FailedNum *int32 `json:"failed_num,omitempty"`

	// 边缘业务状态。
	Status *string `json:"status,omitempty"`

	FailReason *FailReason `json:"fail_reason,omitempty"`

	// 边缘业务支持的边缘区域数目,等同于边缘业务下所有实例的区域数目总和
	EdgeRegions *int32 `json:"edge_regions,omitempty"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 创建时间。
	CreateAt *string `json:"create_at,omitempty"`

	// 修改时间。
	UpdateAt       *string `json:"update_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowEdgeCloudResponse Response Object

func (ShowEdgeCloudResponse) String

func (o ShowEdgeCloudResponse) String() string

type ShowFirewallRequest

type ShowFirewallRequest struct {

	// 网络ACL ID
	FirewallId string `json:"firewall_id"`
}

ShowFirewallRequest Request Object

func (ShowFirewallRequest) String

func (o ShowFirewallRequest) String() string

type ShowFirewallResponse

type ShowFirewallResponse struct {
	Firewall       *Firewall `json:"firewall,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ShowFirewallResponse Response Object

func (ShowFirewallResponse) String

func (o ShowFirewallResponse) String() string

type ShowImageRequest

type ShowImageRequest struct {

	// 镜像ID。
	ImageId string `json:"image_id"`
}

ShowImageRequest Request Object

func (ShowImageRequest) String

func (o ShowImageRequest) String() string

type ShowImageResponse

type ShowImageResponse struct {

	// 镜像ID。
	Id *string `json:"id,omitempty"`

	// 镜像名称。
	Name *string `json:"name,omitempty"`

	// 镜像状态。
	Status *ShowImageResponseStatus `json:"status,omitempty"`

	// 镜像格式。
	DiskFormat *ShowImageResponseDiskFormat `json:"disk_format,omitempty"`

	// 最小系统盘(单位:GB),取值为40~1024GB。
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 最小内存(单位:MB),默认值为0。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像所属租户ID。
	Owner *string `json:"owner,omitempty"`

	// 是否受保护。
	Protected *bool `json:"protected,omitempty"`

	// 可见性。
	Visibility *string `json:"visibility,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 镜像链接信息。
	Self *string `json:"self,omitempty"`

	// 是否是删除的镜像,取值为true或者false。
	Deleted *bool `json:"deleted,omitempty"`

	// 镜像使用环境类型。
	VirtualEnvType *string `json:"virtual_env_type,omitempty"`

	// 删除时间,格式为UTC时间。
	DeletedAt *string `json:"deleted_at,omitempty"`

	// 镜像关联的任务ID。
	RelationJobId *string `json:"relation_job_id,omitempty"`

	// 镜像类型。  取值范围: - gold:公有镜像; - private:私有镜像。
	Imagetype *ShowImageResponseImagetype `json:"__imagetype,omitempty"`

	// 镜像平台分类。
	Platform *string `json:"__platform,omitempty"`

	// 镜像系统类型。
	OsType *ShowImageResponseOsType `json:"__os_type,omitempty"`

	// 镜像的操作系统具体版本。
	OsVersion *string `json:"__os_version,omitempty"`

	// 是否是注册过的镜像。
	Isregistered *bool `json:"__isregistered,omitempty"`

	// 如果镜像支持KVM,取值为true,否则无该属性。
	SupportKvm *string `json:"__support_kvm,omitempty"`

	// 如果镜像是支持KVM虚拟化平台下的GPU类型,取值为“V100_vGPU”或者“RTX5000”,否则无该属性。
	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	// 如果镜像支持AI加速,取值为true,否则无该属性。
	SupportKvmAscend310 *string `json:"__support_kvm_ascend_310,omitempty"`

	// 如果镜像支持计算增强,取值为true,否则无该属性。
	SupportKvmHi1822Hiovs *string `json:"__support_kvm_hi1822_hiovs,omitempty"`

	// 如果镜像为ARM架构类型,取值为true,否则无该属性。
	SupportArm *string `json:"__support_arm,omitempty"`

	// 镜像启动模式,取值为uefi或bios,不指定时无该属性。
	HwFirmwareType *string `json:"hw_firmware_type,omitempty"`

	// 镜像来源。  - 来源边缘实例:instance:<实例id> - 来源IMS:ims:<镜像id>:<region id>
	DataSource *string `json:"data_source,omitempty"`

	// 如果镜像支持GPU T4类型,取值为true,否则无该属性。
	SupportGpuT4 *string `json:"__support_gpu_t4,omitempty"`

	OriginRegionInfo *CloudImageRegionInfo `json:"origin_region_info,omitempty"`

	// 边缘区域详情。
	EdgeRegionInfo *[]EdgeImageRegionInfo `json:"edge_region_info,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ShowImageResponse Response Object

func (ShowImageResponse) String

func (o ShowImageResponse) String() string

type ShowImageResponseDiskFormat

type ShowImageResponseDiskFormat struct {
	// contains filtered or unexported fields
}

func (ShowImageResponseDiskFormat) MarshalJSON

func (c ShowImageResponseDiskFormat) MarshalJSON() ([]byte, error)

func (*ShowImageResponseDiskFormat) UnmarshalJSON

func (c *ShowImageResponseDiskFormat) UnmarshalJSON(b []byte) error

func (ShowImageResponseDiskFormat) Value added in v0.0.90

type ShowImageResponseImagetype

type ShowImageResponseImagetype struct {
	// contains filtered or unexported fields
}

func (ShowImageResponseImagetype) MarshalJSON

func (c ShowImageResponseImagetype) MarshalJSON() ([]byte, error)

func (*ShowImageResponseImagetype) UnmarshalJSON

func (c *ShowImageResponseImagetype) UnmarshalJSON(b []byte) error

func (ShowImageResponseImagetype) Value added in v0.0.90

type ShowImageResponseImagetypeEnum

type ShowImageResponseImagetypeEnum struct {
	GOLD    ShowImageResponseImagetype
	PRIVATE ShowImageResponseImagetype
}

func GetShowImageResponseImagetypeEnum

func GetShowImageResponseImagetypeEnum() ShowImageResponseImagetypeEnum

type ShowImageResponseOsType

type ShowImageResponseOsType struct {
	// contains filtered or unexported fields
}

func (ShowImageResponseOsType) MarshalJSON

func (c ShowImageResponseOsType) MarshalJSON() ([]byte, error)

func (*ShowImageResponseOsType) UnmarshalJSON

func (c *ShowImageResponseOsType) UnmarshalJSON(b []byte) error

func (ShowImageResponseOsType) Value added in v0.0.90

func (c ShowImageResponseOsType) Value() string

type ShowImageResponseOsTypeEnum

type ShowImageResponseOsTypeEnum struct {
	LINUX   ShowImageResponseOsType
	WINDOWS ShowImageResponseOsType
	OTHER   ShowImageResponseOsType
}

func GetShowImageResponseOsTypeEnum

func GetShowImageResponseOsTypeEnum() ShowImageResponseOsTypeEnum

type ShowImageResponseStatus

type ShowImageResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowImageResponseStatus) MarshalJSON

func (c ShowImageResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowImageResponseStatus) UnmarshalJSON

func (c *ShowImageResponseStatus) UnmarshalJSON(b []byte) error

func (ShowImageResponseStatus) Value added in v0.0.90

func (c ShowImageResponseStatus) Value() string

type ShowImageResponseStatusEnum

type ShowImageResponseStatusEnum struct {
	QUEUED  ShowImageResponseStatus
	SAVING  ShowImageResponseStatus
	DELETED ShowImageResponseStatus
	KILLED  ShowImageResponseStatus
	ACTIVE  ShowImageResponseStatus
}

func GetShowImageResponseStatusEnum

func GetShowImageResponseStatusEnum() ShowImageResponseStatusEnum

type ShowInstanceRequest

type ShowInstanceRequest struct {

	// 边缘实例ID。
	ServerId string `json:"server_id"`
}

ShowInstanceRequest Request Object

func (ShowInstanceRequest) String

func (o ShowInstanceRequest) String() string

type ShowInstanceResponse

type ShowInstanceResponse struct {
	Server         *Instance `json:"server,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ShowInstanceResponse Response Object

func (ShowInstanceResponse) String

func (o ShowInstanceResponse) String() string

type ShowKeypairRequest

type ShowKeypairRequest struct {

	// 密钥名称
	KeypairName string `json:"keypair_name"`
}

ShowKeypairRequest Request Object

func (ShowKeypairRequest) String

func (o ShowKeypairRequest) String() string

type ShowKeypairResponse

type ShowKeypairResponse struct {

	// 密钥名称。
	Name *string `json:"name,omitempty"`

	//   密钥对应publicKey信息。
	PublicKey *string `json:"public_key,omitempty"`

	// 用户ID。
	UserId *string `json:"user_id,omitempty"`

	//   密钥对应指纹信息。
	Fingerprint    *string `json:"fingerprint,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowKeypairResponse Response Object

func (ShowKeypairResponse) String

func (o ShowKeypairResponse) String() string

type ShowPortRequest

type ShowPortRequest struct {

	// 端口ID。
	PortId string `json:"port_id"`
}

ShowPortRequest Request Object

func (ShowPortRequest) String

func (o ShowPortRequest) String() string

type ShowPortResponse

type ShowPortResponse struct {
	Port           *Port `json:"port,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ShowPortResponse Response Object

func (ShowPortResponse) String

func (o ShowPortResponse) String() string

type ShowPublicIpRequest

type ShowPublicIpRequest struct {

	// 弹性公网IP ID。
	PublicipId string `json:"publicip_id"`
}

ShowPublicIpRequest Request Object

func (ShowPublicIpRequest) String

func (o ShowPublicIpRequest) String() string

type ShowPublicIpResponse

type ShowPublicIpResponse struct {
	Publicip       *PublicIp `json:"publicip,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ShowPublicIpResponse Response Object

func (ShowPublicIpResponse) String

func (o ShowPublicIpResponse) String() string

type ShowRoutetableRequest added in v0.0.84

type ShowRoutetableRequest struct {

	// 路由表ID
	RoutetableId string `json:"routetable_id"`
}

ShowRoutetableRequest Request Object

func (ShowRoutetableRequest) String added in v0.0.84

func (o ShowRoutetableRequest) String() string

type ShowRoutetableResponse added in v0.0.84

type ShowRoutetableResponse struct {
	Routetable     *Routetable `json:"routetable,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ShowRoutetableResponse Response Object

func (ShowRoutetableResponse) String added in v0.0.84

func (o ShowRoutetableResponse) String() string

type ShowSecurityGroupRequest

type ShowSecurityGroupRequest struct {

	// 安全组的ID。
	SecurityGroupId string `json:"security_group_id"`
}

ShowSecurityGroupRequest Request Object

func (ShowSecurityGroupRequest) String

func (o ShowSecurityGroupRequest) String() string

type ShowSecurityGroupResponse

type ShowSecurityGroupResponse struct {
	SecurityGroup  *SecurityGroup `json:"security_group,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowSecurityGroupResponse Response Object

func (ShowSecurityGroupResponse) String

func (o ShowSecurityGroupResponse) String() string

type ShowSecurityGroupRuleRequest

type ShowSecurityGroupRuleRequest struct {

	// 安全组规则ID。
	SecurityGroupRuleId string `json:"security_group_rule_id"`
}

ShowSecurityGroupRuleRequest Request Object

func (ShowSecurityGroupRuleRequest) String

type ShowSecurityGroupRuleResponse

type ShowSecurityGroupRuleResponse struct {
	SecurityGroupRule *SecurityGroupRule `json:"security_group_rule,omitempty"`
	HttpStatusCode    int                `json:"-"`
}

ShowSecurityGroupRuleResponse Response Object

func (ShowSecurityGroupRuleResponse) String

type ShowSubnetRequest

type ShowSubnetRequest struct {

	// 子网ID。
	SubnetId string `json:"subnet_id"`
}

ShowSubnetRequest Request Object

func (ShowSubnetRequest) String

func (o ShowSubnetRequest) String() string

type ShowSubnetResponse

type ShowSubnetResponse struct {
	Subnet         *Subnet `json:"subnet,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowSubnetResponse Response Object

func (ShowSubnetResponse) String

func (o ShowSubnetResponse) String() string

type ShowVolumeRequest

type ShowVolumeRequest struct {

	// 磁盘ID。
	VolumeId string `json:"volume_id"`
}

ShowVolumeRequest Request Object

func (ShowVolumeRequest) String

func (o ShowVolumeRequest) String() string

type ShowVolumeResponse

type ShowVolumeResponse struct {
	Volume         *Volume `json:"volume,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowVolumeResponse Response Object

func (ShowVolumeResponse) String

func (o ShowVolumeResponse) String() string

type ShowVolumeTypesRequest added in v0.1.42

type ShowVolumeTypesRequest struct {
}

ShowVolumeTypesRequest Request Object

func (ShowVolumeTypesRequest) String added in v0.1.42

func (o ShowVolumeTypesRequest) String() string

type ShowVolumeTypesResponse added in v0.1.42

type ShowVolumeTypesResponse struct {

	// 硬盘类型列表。
	VolumeTypes    *[]VolumeType `json:"volume_types,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ShowVolumeTypesResponse Response Object

func (ShowVolumeTypesResponse) String added in v0.1.42

func (o ShowVolumeTypesResponse) String() string

type ShowVpcRequest

type ShowVpcRequest struct {

	// 虚拟私有云ID。
	VpcId string `json:"vpc_id"`
}

ShowVpcRequest Request Object

func (ShowVpcRequest) String

func (o ShowVpcRequest) String() string

type ShowVpcResponse

type ShowVpcResponse struct {
	Vpc            *Vpc `json:"vpc,omitempty"`
	HttpStatusCode int  `json:"-"`
}

ShowVpcResponse Response Object

func (ShowVpcResponse) String

func (o ShowVpcResponse) String() string

type SimpleKeypair

type SimpleKeypair struct {

	// 密钥名称。
	Name *string `json:"name,omitempty"`

	//   密钥对应publicKey信息。
	PublicKey *string `json:"public_key,omitempty"`

	// 用户ID。
	UserId *string `json:"user_id,omitempty"`

	//   密钥对应指纹信息。
	Fingerprint *string `json:"fingerprint,omitempty"`
}

SimpleKeypair 秘钥对对象

func (SimpleKeypair) String

func (o SimpleKeypair) String() string

type Site

type Site struct {

	// 边缘站点ID。
	Id *string `json:"id,omitempty"`

	// 边缘站点名称。
	Name *string `json:"name,omitempty"`

	// 站点所在城市。
	City *string `json:"city,omitempty"`

	// 城市的国际化名称。
	I18nCity *string `json:"i18n_city,omitempty"`

	// 站点所在省份。
	Province *string `json:"province,omitempty"`

	// 省份的国际化名称。
	I18nProvince *string `json:"i18n_province,omitempty"`

	// 所在大区。
	Area *string `json:"area,omitempty"`

	// 大区的国际化名称。
	I18nArea *string `json:"i18n_area,omitempty"`

	// 站点所在的国家。
	Country *string `json:"country,omitempty"`

	// 国家的国际化名称。
	I18nCountry *string `json:"i18n_country,omitempty"`

	// 站点当前的状态。  取值范围: - Normal(正常商用) - Obt(公测) - Gray(灰度) - Offline(下线) - Promotion(推荐,也是商用) - sellout(售罄)
	Status *string `json:"status,omitempty"`

	// 站点IP线路列表。
	Pools *[]IpPool `json:"pools,omitempty"`

	// 城市名称缩写。
	CityShortName *string `json:"city_short_name,omitempty"`
}

Site 边缘站点对象类型

func (Site) String

func (o Site) String() string

type Stack

type Stack struct {

	// 边缘资源组名称。 取值范围:只能由中文字符、大小写英文字母、数字及中划线、下划线组成,且长度为[1-48]个字符。
	Name string `json:"name"`

	// 边缘业务的堆栈,即为资源组。
	Resources []Resource `json:"resources"`
}

Stack 边缘资源组对象

func (Stack) String

func (o Stack) String() string

type Subnet

type Subnet struct {

	// 子网的ID。
	Id *string `json:"id,omitempty"`

	// 子网名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Name *string `json:"name,omitempty"`

	// 子网的网段  取值范围:必须在vpc对应cidr范围内  约束:必须是cidr格式。掩码长度不能大于28
	Cidr *string `json:"cidr,omitempty"`

	// 子网dns服务器地址列表
	DnsList *[]string `json:"dnsList,omitempty"`

	// 子网的网关  取值范围:子网网段中的IP地址  约束:必须是ip格式
	GatewayIp *string `json:"gateway_ip,omitempty"`

	// 子网是否开启dhcp功能
	DhcpEnable *bool `json:"dhcp_enable,omitempty"`

	// 子网dns服务器地址1
	PrimaryDns *string `json:"primary_dns,omitempty"`

	// 子网dns服务器地址2
	SecondaryDns *string `json:"secondary_dns,omitempty"`

	// 子网的状态  取值范围: - ACTIVE:表示子网已挂载到ROUTER上 - UNKNOWN:表示子网还未挂载到ROUTER上 - ERROR:表示子网状态故障
	Status *SubnetStatus `json:"status,omitempty"`

	// 虚拟私有云ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网所属的站点ID。
	SiteId *string `json:"site_id,omitempty"`

	// 子网所属的站点信息。
	SiteInfo *string `json:"site_info,omitempty"`

	// 对应网络(OpenStack Neutron接口) id。
	NeutronNetworkId *string `json:"neutron_network_id,omitempty"`

	// 对应子网(OpenStack Neutron接口) id。
	NeutronSubnetId *string `json:"neutron_subnet_id,omitempty"`
}

Subnet 子网对象。

func (Subnet) String

func (o Subnet) String() string

type SubnetStatus

type SubnetStatus struct {
	// contains filtered or unexported fields
}

func (SubnetStatus) MarshalJSON

func (c SubnetStatus) MarshalJSON() ([]byte, error)

func (*SubnetStatus) UnmarshalJSON

func (c *SubnetStatus) UnmarshalJSON(b []byte) error

func (SubnetStatus) Value added in v0.0.90

func (c SubnetStatus) Value() string

type SubnetStatusEnum

type SubnetStatusEnum struct {
	ACTIVE  SubnetStatus
	UNKNOWN SubnetStatus
	ERROR   SubnetStatus
}

func GetSubnetStatusEnum

func GetSubnetStatusEnum() SubnetStatusEnum

type SysTags

type SysTags struct {

	// 系统标签的Key值。
	Key *string `json:"key,omitempty"`

	// 系统标签的value值。
	Value *string `json:"value,omitempty"`
}

SysTags 系统标签。

func (SysTags) String

func (o SysTags) String() string

type UpdateBandwidthOption added in v0.1.42

type UpdateBandwidthOption struct {

	// 带宽名称。
	Name *string `json:"name,omitempty"`

	// 带宽大小。
	Size *int32 `json:"size,omitempty"`
}

UpdateBandwidthOption 更新带宽参数

func (UpdateBandwidthOption) String added in v0.1.42

func (o UpdateBandwidthOption) String() string

type UpdateBandwidthRequest added in v0.1.42

type UpdateBandwidthRequest struct {

	// 带宽id。
	BandwidthId string `json:"bandwidth_id"`

	Body *UpdateBandwidthRequestBody `json:"body,omitempty"`
}

UpdateBandwidthRequest Request Object

func (UpdateBandwidthRequest) String added in v0.1.42

func (o UpdateBandwidthRequest) String() string

type UpdateBandwidthRequestBody added in v0.1.42

type UpdateBandwidthRequestBody struct {
	Bandwidth *UpdateBandwidthOption `json:"bandwidth"`
}

UpdateBandwidthRequestBody 更新带宽请求体。

func (UpdateBandwidthRequestBody) String added in v0.1.42

type UpdateBandwidthResponse added in v0.1.42

type UpdateBandwidthResponse struct {
	Bandwidth      *Bandwidth `json:"bandwidth,omitempty"`
	HttpStatusCode int        `json:"-"`
}

UpdateBandwidthResponse Response Object

func (UpdateBandwidthResponse) String added in v0.1.42

func (o UpdateBandwidthResponse) String() string

type UpdateFirewallOption

type UpdateFirewallOption struct {

	// 网络ACL名称。更新时name不能为空。  中文字符、字母、数字、中划线和下划线组成,长度为1~64个字符
	Name string `json:"name"`

	// 网络ACL的使能开关。  取值范围:true(开启),false(关闭)
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 网络ACL描述。
	Description *string `json:"description,omitempty"`

	// 关联子网列表。
	Subnets *[]FirewallSubnetOption `json:"subnets,omitempty"`
}

UpdateFirewallOption 更新网络ACL参数。

func (UpdateFirewallOption) String

func (o UpdateFirewallOption) String() string

type UpdateFirewallRequest

type UpdateFirewallRequest struct {

	// 网络ACL ID
	FirewallId string `json:"firewall_id"`

	Body *UpdateFirewallRequestBody `json:"body,omitempty"`
}

UpdateFirewallRequest Request Object

func (UpdateFirewallRequest) String

func (o UpdateFirewallRequest) String() string

type UpdateFirewallRequestBody

type UpdateFirewallRequestBody struct {
	Firewall *UpdateFirewallOption `json:"firewall"`
}

UpdateFirewallRequestBody 更新网络ACL请求体

func (UpdateFirewallRequestBody) String

func (o UpdateFirewallRequestBody) String() string

type UpdateFirewallResp

type UpdateFirewallResp struct {

	// 网络ACL ID
	Id string `json:"id"`

	// 网络ACL状态。
	Status UpdateFirewallRespStatus `json:"status"`
}

UpdateFirewallResp

func (UpdateFirewallResp) String

func (o UpdateFirewallResp) String() string

type UpdateFirewallRespStatus

type UpdateFirewallRespStatus struct {
	// contains filtered or unexported fields
}

func (UpdateFirewallRespStatus) MarshalJSON

func (c UpdateFirewallRespStatus) MarshalJSON() ([]byte, error)

func (*UpdateFirewallRespStatus) UnmarshalJSON

func (c *UpdateFirewallRespStatus) UnmarshalJSON(b []byte) error

func (UpdateFirewallRespStatus) Value added in v0.0.90

func (c UpdateFirewallRespStatus) Value() string

type UpdateFirewallRespStatusEnum

type UpdateFirewallRespStatusEnum struct {
	INACTIVE UpdateFirewallRespStatus
}

func GetUpdateFirewallRespStatusEnum

func GetUpdateFirewallRespStatusEnum() UpdateFirewallRespStatusEnum

type UpdateFirewallResponse

type UpdateFirewallResponse struct {
	Firewall       *UpdateFirewallResp `json:"firewall,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

UpdateFirewallResponse Response Object

func (UpdateFirewallResponse) String

func (o UpdateFirewallResponse) String() string

type UpdateFirewallRuleOption

type UpdateFirewallRuleOption struct {
	EgressFirewallPolicy *FirewallPolicy `json:"egress_firewall_policy"`

	IngressFirewallPolicy *FirewallPolicy `json:"ingress_firewall_policy"`
}

UpdateFirewallRuleOption 更新防火墙规则的参数

func (UpdateFirewallRuleOption) String

func (o UpdateFirewallRuleOption) String() string

type UpdateFirewallRuleRequest

type UpdateFirewallRuleRequest struct {

	// 网络ACL ID
	FirewallId string `json:"firewall_id"`

	Body *UpdateFirewallRuleRequestBody `json:"body,omitempty"`
}

UpdateFirewallRuleRequest Request Object

func (UpdateFirewallRuleRequest) String

func (o UpdateFirewallRuleRequest) String() string

type UpdateFirewallRuleRequestBody

type UpdateFirewallRuleRequestBody struct {
	Firewall *UpdateFirewallRuleOption `json:"firewall,omitempty"`
}

UpdateFirewallRuleRequestBody 更新防火墙规则请求体

func (UpdateFirewallRuleRequestBody) String

type UpdateFirewallRuleResp

type UpdateFirewallRuleResp struct {

	// 网络ACL ID
	Id string `json:"id"`

	// 网络ACL状态。
	Status UpdateFirewallRuleRespStatus `json:"status"`

	EgressFirewallPolicy *FirewallPolicy `json:"egress_firewall_policy"`

	IngressFirewallPolicy *FirewallPolicy `json:"ingress_firewall_policy"`
}

UpdateFirewallRuleResp

func (UpdateFirewallRuleResp) String

func (o UpdateFirewallRuleResp) String() string

type UpdateFirewallRuleRespStatus

type UpdateFirewallRuleRespStatus struct {
	// contains filtered or unexported fields
}

func (UpdateFirewallRuleRespStatus) MarshalJSON

func (c UpdateFirewallRuleRespStatus) MarshalJSON() ([]byte, error)

func (*UpdateFirewallRuleRespStatus) UnmarshalJSON

func (c *UpdateFirewallRuleRespStatus) UnmarshalJSON(b []byte) error

func (UpdateFirewallRuleRespStatus) Value added in v0.0.90

type UpdateFirewallRuleRespStatusEnum

type UpdateFirewallRuleRespStatusEnum struct {
	INACTIVE UpdateFirewallRuleRespStatus
}

func GetUpdateFirewallRuleRespStatusEnum

func GetUpdateFirewallRuleRespStatusEnum() UpdateFirewallRuleRespStatusEnum

type UpdateFirewallRuleResponse

type UpdateFirewallRuleResponse struct {
	Firewall       *UpdateFirewallRuleResp `json:"firewall,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

UpdateFirewallRuleResponse Response Object

func (UpdateFirewallRuleResponse) String

type UpdateInstanceOption

type UpdateInstanceOption struct {

	// 修改后的边缘实例名称, 只能由中文字符、英文字母、数字及“_”、“-”、“.”组成。
	Name *string `json:"name,omitempty"`

	// 描述, 不能包含“<”,“>”。
	Description *string `json:"description,omitempty"`
}

UpdateInstanceOption 更新边缘实例的参数

func (UpdateInstanceOption) String

func (o UpdateInstanceOption) String() string

type UpdateInstanceRequest

type UpdateInstanceRequest struct {

	// 边缘实例ID。
	ServerId string `json:"server_id"`

	Body *UpdateInstanceRequestBody `json:"body,omitempty"`
}

UpdateInstanceRequest Request Object

func (UpdateInstanceRequest) String

func (o UpdateInstanceRequest) String() string

type UpdateInstanceRequestBody

type UpdateInstanceRequestBody struct {
	Server *UpdateInstanceOption `json:"server"`
}

UpdateInstanceRequestBody 更新边缘实例请求体

func (UpdateInstanceRequestBody) String

func (o UpdateInstanceRequestBody) String() string

type UpdateInstanceResponse

type UpdateInstanceResponse struct {

	// 边缘实例ID。
	Id *string `json:"id,omitempty"`

	// 边缘实例名称。
	Name *string `json:"name,omitempty"`

	// 边缘实例状态。 取值范围: ACTIVE、BUILD、DELETED、ERROR、HARD_REBOOT、MIGRATING、PAUSED、REBOOT、REBUILD、RESIZE、REVERT_RESIZE、SHUTOFF、SHELVED、SHELVED_OFFLOADED、SOFT_DELETED、SUSPENDED、VERIFY_RESIZE
	Status *string `json:"status,omitempty"`

	// 边缘实例修改时间。 UTC时间,格式:yyyy-mm-ddTss:ss:ssZ,例如:2021-04-25T03:21:39Z
	Updated *string `json:"updated,omitempty"`

	// 边缘实例所在主机的主机ID。
	HostId *string `json:"hostId,omitempty"`

	// 边缘实例对应的网络地址信息,详情请参见表addresses字段数据结构说明。
	Addresses map[string][]InstanceAddress `json:"addresses,omitempty"`

	// 边缘实例创建时间。 时间格式:yyyy-mm-ddTss:ss:ssZ,例如:2021-04-25T02:46:23Z
	Created *string `json:"created,omitempty"`

	// 边缘实例标签。 主要用来存储边缘业务ID。
	Tags *[]string `json:"tags,omitempty"`

	// 边缘实例是否为锁定状态。  - true:锁定 - false:未锁定
	Locked *bool `json:"locked,omitempty"`

	// 边缘实例的描述信息。
	Description *string `json:"description,omitempty"`

	// 边缘实例所属租户ID,即项目ID,和project_id表示相同的概念,格式为UUID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 边缘实例系统标签。
	SysTags *[]SysTags `json:"sys_tags,omitempty"`

	Flavor *FlavorInstance `json:"flavor,omitempty"`

	// 边缘实例元数据。
	Metadata map[string]string `json:"metadata,omitempty"`

	// 边缘实例所属安全组列表。
	SecurityGroups *[]InstanceSecurityGroup `json:"security_groups,omitempty"`

	// 边缘实例进度。
	Progress *int32 `json:"progress,omitempty"`

	// 扩展属性,边缘实例电源状态。
	OSEXTSTSpowerState *int32 `json:"OS-EXT-STS:power_state,omitempty"`

	// 扩展属性,边缘实例当前状态。
	OSEXTSTSvmState *string `json:"OS-EXT-STS:vm_state,omitempty"`

	// 边缘实例任务状态。
	OSEXTSTStaskState *string `json:"OS-EXT-STS:task_state,omitempty"`

	// 扩展属性, diskConfig的类型。  - MANUAL,镜像空间不会扩展。 - AUTO,系统盘镜像空间会自动扩展为与flavor大小一致。
	OSDCFdiskConfig *string `json:"OS-DCF:diskConfig,omitempty"`

	// 扩展属性,边缘实例所在可用区名称。
	OSEXTAZavailabilityZone *string `json:"OS-EXT-AZ:availability_zone,omitempty"`

	// 边缘实例启动时间。 时间格式例如:2019-05-22T03:23:59.000000
	OSSRVUSGlaunchedAt *string `json:"OS-SRV-USG:launched_at,omitempty"`

	// 边缘实例删除时间。 时间格式例如:2019-05-22T03:23:59.000000
	OSSRVUSGterminatedAt *string `json:"OS-SRV-USG:terminated_at,omitempty"`

	// 边缘实例系统盘的设备名称。
	OSEXTSRVATTRrootDeviceName *string `json:"OS-EXT-SRV-ATTR:root_device_name,omitempty"`

	// 若使用AMI格式镜像,则表示ramdisk image的UUID;否则,留空。
	OSEXTSRVATTRramdiskId *string `json:"OS-EXT-SRV-ATTR:ramdisk_id,omitempty"`

	// 若使用AMI格式的镜像,则表示kernel image的UUID;否则,留空。
	OSEXTSRVATTRkernelId *string `json:"OS-EXT-SRV-ATTR:kernel_id,omitempty"`

	// 批量创建场景,边缘实例的启动顺序。
	OSEXTSRVATTRlaunchIndex *int32 `json:"OS-EXT-SRV-ATTR:launch_index,omitempty"`

	// 批量创建场景,边缘实例的预留ID。
	OSEXTSRVATTRreservationId *string `json:"OS-EXT-SRV-ATTR:reservation_id,omitempty"`

	// 边缘实例的主机名。
	OSEXTSRVATTRhostname *string `json:"OS-EXT-SRV-ATTR:hostname,omitempty"`

	// 创建边缘实例时指定的user_data。
	OSEXTSRVATTRuserData *string `json:"OS-EXT-SRV-ATTR:user_data,omitempty"`

	// 边缘实例所在主机的主机名称。
	OSEXTSRVATTRhost *string `json:"OS-EXT-SRV-ATTR:host,omitempty"`

	// 扩展属性,边缘实例所在虚拟化主机名。
	OSEXTSRVATTRhypervisorHostname *string `json:"OS-EXT-SRV-ATTR:hypervisor_hostname,omitempty"`

	// 挂载到边缘实例上的磁盘。
	OsExtendedVolumesvolumesAttached *[]VolumesAttached `json:"os-extended-volumes:volumes_attached,omitempty"`

	Geolocation *GeoLocation `json:"geolocation,omitempty"`

	// 边缘实例所属边缘业务的ID。
	EdgecloudId *string `json:"edgecloud_id,omitempty"`

	// 边缘实例所属边缘业务的名称
	EdgecloudName *string `json:"edgecloud_name,omitempty"`

	// 帐号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 使用的密钥对名称。
	KeyName *string `json:"key_name,omitempty"`

	// 扩展属性,边缘实例别名。
	OSEXTSRVATTRinstanceName *string `json:"OS-EXT-SRV-ATTR:instance_name,omitempty"`
	HttpStatusCode           int     `json:"-"`
}

UpdateInstanceResponse Response Object

func (UpdateInstanceResponse) String

func (o UpdateInstanceResponse) String() string

type UpdatePortOption

type UpdatePortOption struct {

	// IP/Mac对列表
	AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"`

	// 安全组列表
	SecurityGroups *[]string `json:"security_groups,omitempty"`
}

UpdatePortOption 更新端口请求体

func (UpdatePortOption) String

func (o UpdatePortOption) String() string

type UpdatePortRequest

type UpdatePortRequest struct {

	// 端口ID
	PortId string `json:"port_id"`

	Body *UpdatePortRequestBody `json:"body,omitempty"`
}

UpdatePortRequest Request Object

func (UpdatePortRequest) String

func (o UpdatePortRequest) String() string

type UpdatePortRequestBody

type UpdatePortRequestBody struct {
	Port *UpdatePortOption `json:"port"`
}

UpdatePortRequestBody 更新端口请求体

func (UpdatePortRequestBody) String

func (o UpdatePortRequestBody) String() string

type UpdatePortResponse

type UpdatePortResponse struct {
	Port           *Port `json:"port,omitempty"`
	HttpStatusCode int   `json:"-"`
}

UpdatePortResponse Response Object

func (UpdatePortResponse) String

func (o UpdatePortResponse) String() string

type UpdatePublicIpOption

type UpdatePublicIpOption struct {

	// vip对应的port的ID可为空。当为空的时候,代表解绑原有eip的关系。不为空时,代表绑定eip和vip。
	PortId string `json:"port_id"`
}

UpdatePublicIpOption 更新弹性公网IP参数

func (UpdatePublicIpOption) String

func (o UpdatePublicIpOption) String() string

type UpdatePublicIpRequest

type UpdatePublicIpRequest struct {

	// 弹性公网IP ID
	PublicipId string `json:"publicip_id"`

	Body *UpdatePublicIpRequestBody `json:"body,omitempty"`
}

UpdatePublicIpRequest Request Object

func (UpdatePublicIpRequest) String

func (o UpdatePublicIpRequest) String() string

type UpdatePublicIpRequestBody

type UpdatePublicIpRequestBody struct {
	Publicip *UpdatePublicIpOption `json:"publicip"`
}

UpdatePublicIpRequestBody 更新弹性公网IP请求数据

func (UpdatePublicIpRequestBody) String

func (o UpdatePublicIpRequestBody) String() string

type UpdatePublicIpResponse

type UpdatePublicIpResponse struct {
	Publicip       *PublicIp `json:"publicip,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdatePublicIpResponse Response Object

func (UpdatePublicIpResponse) String

func (o UpdatePublicIpResponse) String() string

type UpdateRoutesRequest added in v0.0.84

type UpdateRoutesRequest struct {

	// 路由表ID
	RoutetableId string `json:"routetable_id"`

	Body *UpdateRoutesRequestBody `json:"body,omitempty"`
}

UpdateRoutesRequest Request Object

func (UpdateRoutesRequest) String added in v0.0.84

func (o UpdateRoutesRequest) String() string

type UpdateRoutesRequestBody added in v0.0.84

type UpdateRoutesRequestBody struct {

	// 待更新的路由信息
	Routes []RouteOption `json:"routes"`
}

UpdateRoutesRequestBody 更新路由请求体

func (UpdateRoutesRequestBody) String added in v0.0.84

func (o UpdateRoutesRequestBody) String() string

type UpdateRoutesResponse added in v0.0.84

type UpdateRoutesResponse struct {

	// 路由列表
	Routes         *[]Route `json:"routes,omitempty"`
	HttpStatusCode int      `json:"-"`
}

UpdateRoutesResponse Response Object

func (UpdateRoutesResponse) String added in v0.0.84

func (o UpdateRoutesResponse) String() string

type UpdateRoutetableOption added in v0.0.84

type UpdateRoutetableOption struct {

	// 路由表名称  取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Name *string `json:"name,omitempty"`

	// 路由表描述信息  取值范围:0-255个字符,不能包含“<”和“>”
	Description *string `json:"description,omitempty"`
}

UpdateRoutetableOption 更新路由表

func (UpdateRoutetableOption) String added in v0.0.84

func (o UpdateRoutetableOption) String() string

type UpdateRoutetableRequesBody added in v0.0.84

type UpdateRoutetableRequesBody struct {
	Routetable *UpdateRoutetableOption `json:"routetable,omitempty"`
}

UpdateRoutetableRequesBody 更新路由表请求体

func (UpdateRoutetableRequesBody) String added in v0.0.84

type UpdateRoutetableRequest added in v0.0.84

type UpdateRoutetableRequest struct {

	// 路由表ID
	RoutetableId string `json:"routetable_id"`

	Body *UpdateRoutetableRequesBody `json:"body,omitempty"`
}

UpdateRoutetableRequest Request Object

func (UpdateRoutetableRequest) String added in v0.0.84

func (o UpdateRoutetableRequest) String() string

type UpdateRoutetableResponse added in v0.0.84

type UpdateRoutetableResponse struct {
	Routetable     *Routetable `json:"routetable,omitempty"`
	HttpStatusCode int         `json:"-"`
}

UpdateRoutetableResponse Response Object

func (UpdateRoutetableResponse) String added in v0.0.84

func (o UpdateRoutetableResponse) String() string

type UpdateSubnetOption

type UpdateSubnetOption struct {

	// 子网名称  取值范围:0-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Name *string `json:"name,omitempty"`

	// 子网是否开启dhcp功能  取值范围:true(开启),false(关闭)  约束:不填时默认为true。当设置为false时,会导致新创建的实例无法获取IP地址,cloudinit无法注入帐号密码,请谨慎操作。
	DhcpEnable *bool `json:"dhcp_enable,omitempty"`

	// 子网dns服务器地址1  约束:ip格式
	PrimaryDns *string `json:"primary_dns,omitempty"`

	// 子网dns服务器地址2  约束:ip格式
	SecondaryDns *string `json:"secondary_dns,omitempty"`

	// 子网dns服务器地址的集合;如果想使用两个以上dns服务器,请使用该字段。  约束:是子网dns服务器地址1跟子网dns服务器地址2的合集的父集
	DnsList *[]string `json:"dnsList,omitempty"`
}

UpdateSubnetOption 更新子网的结构体。

func (UpdateSubnetOption) String

func (o UpdateSubnetOption) String() string

type UpdateSubnetRequest

type UpdateSubnetRequest struct {

	// 子网ID。
	SubnetId string `json:"subnet_id"`

	Body *UpdateSubnetRequestBody `json:"body,omitempty"`
}

UpdateSubnetRequest Request Object

func (UpdateSubnetRequest) String

func (o UpdateSubnetRequest) String() string

type UpdateSubnetRequestBody

type UpdateSubnetRequestBody struct {
	Subnet *UpdateSubnetOption `json:"subnet,omitempty"`
}

UpdateSubnetRequestBody 更新子网的请求体。

func (UpdateSubnetRequestBody) String

func (o UpdateSubnetRequestBody) String() string

type UpdateSubnetResponse

type UpdateSubnetResponse struct {
	Subnet         *UpdateSubnetResponseObject `json:"subnet,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

UpdateSubnetResponse Response Object

func (UpdateSubnetResponse) String

func (o UpdateSubnetResponse) String() string

type UpdateSubnetResponseObject

type UpdateSubnetResponseObject struct {

	// 子网ID
	Id *string `json:"id,omitempty"`

	// 子网的状态  取值范围: - ACTIVE:表示子网已挂载到ROUTER上 - UNKNOWN:表示子网还未挂载到ROUTER上 - ERROR:表示子网状态故障
	Status *UpdateSubnetResponseObjectStatus `json:"status,omitempty"`
}

UpdateSubnetResponseObject 更新子网响应对象

func (UpdateSubnetResponseObject) String

type UpdateSubnetResponseObjectStatus

type UpdateSubnetResponseObjectStatus struct {
	// contains filtered or unexported fields
}

func (UpdateSubnetResponseObjectStatus) MarshalJSON

func (c UpdateSubnetResponseObjectStatus) MarshalJSON() ([]byte, error)

func (*UpdateSubnetResponseObjectStatus) UnmarshalJSON

func (c *UpdateSubnetResponseObjectStatus) UnmarshalJSON(b []byte) error

func (UpdateSubnetResponseObjectStatus) Value added in v0.0.90

type UpdateSubnetResponseObjectStatusEnum

type UpdateSubnetResponseObjectStatusEnum struct {
	ACTIVE  UpdateSubnetResponseObjectStatus
	UNKNOWN UpdateSubnetResponseObjectStatus
	ERROR_  UpdateSubnetResponseObjectStatus
}

func GetUpdateSubnetResponseObjectStatusEnum

func GetUpdateSubnetResponseObjectStatusEnum() UpdateSubnetResponseObjectStatusEnum

type UpdateVpcOption

type UpdateVpcOption struct {

	// 虚拟私有云名称  取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)  约束:同一个帐号下的VPC不允许重名
	Name *string `json:"name,omitempty"`

	// 虚拟私有云下可用子网的范围。  约束条件:  SYSTEM模式,cidr取值范围:10.0.0.0/8~10.255.0.0/16或者172.16.0.0/12 ~ 172.31.0.0/16或者192.168.0.0/16 。 [CUSTOMER模式,cidr的取值范围:10.0.0.0/8~10.255.255.0/24或者172.16.0.0/12 ~ 172.32.255.0/24或者192.168.0.0/16~192.168.255.0/24。](tag:internal)
	Cidr *string `json:"cidr,omitempty"`
}

UpdateVpcOption 更新Vpc参数

func (UpdateVpcOption) String

func (o UpdateVpcOption) String() string

type UpdateVpcRequest

type UpdateVpcRequest struct {

	// 虚拟私有云ID。
	VpcId string `json:"vpc_id"`

	Body *UpdateVpcRequestBody `json:"body,omitempty"`
}

UpdateVpcRequest Request Object

func (UpdateVpcRequest) String

func (o UpdateVpcRequest) String() string

type UpdateVpcRequestBody

type UpdateVpcRequestBody struct {
	Vpc *UpdateVpcOption `json:"vpc,omitempty"`
}

UpdateVpcRequestBody 更新VPC请求体

func (UpdateVpcRequestBody) String

func (o UpdateVpcRequestBody) String() string

type UpdateVpcResponse

type UpdateVpcResponse struct {
	Vpc            *Vpc `json:"vpc,omitempty"`
	HttpStatusCode int  `json:"-"`
}

UpdateVpcResponse Response Object

func (UpdateVpcResponse) String

func (o UpdateVpcResponse) String() string

type Volume

type Volume struct {

	// 硬盘ID。
	Id *string `json:"id,omitempty"`

	// 磁盘状态。
	Status *string `json:"status,omitempty"`

	// 磁盘大小。
	Size *int32 `json:"size,omitempty"`

	// 硬盘所属的AZ信息。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 硬盘的挂载信息。
	Attachments *[]Attachment `json:"attachments,omitempty"`

	// 磁盘名称。
	Name *string `json:"name,omitempty"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 磁盘类型。
	VolumeType *string `json:"volume_type,omitempty"`

	// 显示这个卷是否可启动。
	Bootable *string `json:"bootable,omitempty"`

	// 显示该卷是否已被加密。
	Encrypted *bool `json:"encrypted,omitempty"`

	// 磁盘是否多挂载。
	Multiattach bool `json:"multiattach"`

	// 硬盘的元数据。
	Metadata map[string]string `json:"metadata,omitempty"`
}

Volume 硬盘对象

func (Volume) String

func (o Volume) String() string

type VolumeType added in v0.1.42

type VolumeType struct {

	// 硬盘类型的ID。
	Id *string `json:"id,omitempty"`

	// 硬盘类型名称。
	Name *string `json:"name,omitempty"`

	// 磁盘类型的状态: 取值范围:normal(当前磁盘类型存在未售罄站点),sellout(当前磁盘类型所有站点均售罄)
	Status *string `json:"status,omitempty"`
}

VolumeType 卷类型对象

func (VolumeType) String added in v0.1.42

func (o VolumeType) String() string

type VolumesAttached

type VolumesAttached struct {

	// 磁盘ID,格式为UUID。
	Id *string `json:"id,omitempty"`

	// 启动标识。  - “0”代表系统盘 - 非“0”为数据盘。
	BootIndex *string `json:"bootIndex,omitempty"`

	// 删边缘实例时是否一并删除该磁盘。  - true:是 - false:否
	DeleteOnTermination *string `json:"delete_on_termination,omitempty"`

	// 硬盘挂载盘符,即磁盘挂载点。
	Device *string `json:"device,omitempty"`
}

VolumesAttached

func (VolumesAttached) String

func (o VolumesAttached) String() string

type Vpc

type Vpc struct {

	// 虚拟私有云的ID。
	Id *string `json:"id,omitempty"`

	// 虚拟私有云名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)  约束:同一个帐号下的名称不能重复
	Name *string `json:"name,omitempty"`

	// 虚拟私有云下可用子网的范围  取值范围: 10.0.0.0/8~24 172.16.0.0/12~24 192.168.0.0/16~24  约束:必须是cidr格式,例如:192.168.0.0/16
	Cidr *string `json:"cidr,omitempty"`

	// 虚拟私有云的模式。
	Mode *string `json:"mode,omitempty"`

	// 子网的数目。
	SubnetNum *int32 `json:"subnet_num,omitempty"`
}

Vpc 虚拟私有云的数据对象。

func (Vpc) String

func (o Vpc) String() string

Source Files

Jump to

Keyboard shortcuts

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