model

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 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 {
	InstanceId string `json:"instance_id"`

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

Request Object

func (AddNicsRequest) String

func (o AddNicsRequest) String() string

type AddNicsRequestBody

type AddNicsRequestBody struct {
	VpcId string `json:"vpc_id"`

	SecurityGroups []BaseId `json:"security_groups"`

	SubnetId *string `json:"subnet_id,omitempty"`

	NicNum int32 `json:"nic_num"`
}

添加网卡请求体

func (AddNicsRequestBody) String

func (o AddNicsRequestBody) String() string

type AddNicsResponse

type AddNicsResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddNicsResponse) String

func (o AddNicsResponse) String() string

type AllowedAddressPair

type AllowedAddressPair struct {
	IpAddress string `json:"ip_address"`

	MacAddress *string `json:"mac_address,omitempty"`
}

IP/Mac对象

func (AllowedAddressPair) String

func (o AllowedAddressPair) String() string

type Attachment

type Attachment struct {
	AttachmentId string `json:"attachment_id"`

	Device string `json:"device"`

	HostName string `json:"host_name"`

	Id string `json:"id"`

	ServerId string `json:"server_id"`

	VolumeId string `json:"volume_id"`
}

func (Attachment) String

func (o Attachment) String() string

type Bandwidth

type Bandwidth struct {
	BandwidthType *BandwidthBandwidthType `json:"bandwidth_type,omitempty"`

	ChargeMode *BandwidthChargeMode `json:"charge_mode,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

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

	PublicipInfo *[]PublicipInfo `json:"publicip_info,omitempty"`

	ShareType *BandwidthShareType `json:"share_type,omitempty"`

	SiteId *string `json:"site_id,omitempty"`

	SiteInfo *string `json:"site_info,omitempty"`

	Size *int32 `json:"size,omitempty"`

	Status *BandwidthStatus `json:"status,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`
}

带宽对象

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

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

type BandwidthChargeModeEnum

type BandwidthChargeModeEnum struct {
	E_95PEAK_PLUS BandwidthChargeMode
}

func GetBandwidthChargeModeEnum

func GetBandwidthChargeModeEnum() BandwidthChargeModeEnum

type BandwidthConfig

type BandwidthConfig struct {
	Sharetype BandwidthConfigSharetype `json:"sharetype"`

	Size *int32 `json:"size,omitempty"`
}

带宽配置

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

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

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

type BandwidthStatusEnum

type BandwidthStatusEnum struct {
	FREEZED BandwidthStatus
	NORMAL  BandwidthStatus
}

func GetBandwidthStatusEnum

func GetBandwidthStatusEnum() BandwidthStatusEnum

type BaseId

type BaseId struct {
	Id string `json:"id"`
}

ID对象

func (BaseId) String

func (o BaseId) String() string

type BatchReboot

type BatchReboot struct {
	Servers *[]BaseId `json:"servers,omitempty"`

	Type *BatchRebootType `json:"type,omitempty"`
}

批量重启边缘实例对象

func (BatchReboot) String

func (o BatchReboot) String() string

type BatchRebootInstanceRequest

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

Request Object

func (BatchRebootInstanceRequest) String

type BatchRebootInstanceRequestBody

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

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

func (BatchRebootInstanceRequestBody) String

type BatchRebootInstanceResponse

type BatchRebootInstanceResponse struct {
	Jobs           *[]JobResult `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

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

type BatchRebootTypeEnum

type BatchRebootTypeEnum struct {
	SOFT BatchRebootType
	HARD BatchRebootType
}

func GetBatchRebootTypeEnum

func GetBatchRebootTypeEnum() BatchRebootTypeEnum

type BatchStart

type BatchStart struct {
	Servers *[]BaseId `json:"servers,omitempty"`
}

批量启动边缘实例对象

func (BatchStart) String

func (o BatchStart) String() string

type BatchStartInstanceRequest

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

Request Object

func (BatchStartInstanceRequest) String

func (o BatchStartInstanceRequest) String() string

type BatchStartInstanceRequestBody

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

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

func (BatchStartInstanceRequestBody) String

type BatchStartInstanceResponse

type BatchStartInstanceResponse struct {
	Jobs           *[]JobResult `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (BatchStartInstanceResponse) String

type BatchStop

type BatchStop struct {
	Servers []BaseId `json:"servers"`

	Type *string `json:"type,omitempty"`
}

批量停止边缘实例对象

func (BatchStop) String

func (o BatchStop) String() string

type BatchStopInstanceRequest

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

Request Object

func (BatchStopInstanceRequest) String

func (o BatchStopInstanceRequest) String() string

type BatchStopInstanceRequestBody

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

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

func (BatchStopInstanceRequestBody) String

type BatchStopInstanceResponse

type BatchStopInstanceResponse struct {
	Jobs           *[]JobResult `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (BatchStopInstanceResponse) String

func (o BatchStopInstanceResponse) String() string

type ChangeOsMetadata

type ChangeOsMetadata struct {
	UserData *string `json:"user_data,omitempty"`
}

切换边缘实例的元数据

func (ChangeOsMetadata) String

func (o ChangeOsMetadata) String() string

type ChangeOsOption

type ChangeOsOption struct {
	ImageId string `json:"image_id"`

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

	KeyName *string `json:"key_name,omitempty"`
}

切换操作系统的参数

func (ChangeOsOption) String

func (o ChangeOsOption) String() string

type ChangeOsRequest

type ChangeOsRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (ChangeOsRequest) String

func (o ChangeOsRequest) String() string

type ChangeOsResponse

type ChangeOsResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ChangeOsResponse) String

func (o ChangeOsResponse) String() string

type CloudImageRegionInfo

type CloudImageRegionInfo struct {
	RegionId *string `json:"region_id,omitempty"`

	ImageId *string `json:"image_id,omitempty"`
}

func (CloudImageRegionInfo) String

func (o CloudImageRegionInfo) String() string

type Coverage

type Coverage struct {
	CoveragePolicy string `json:"coverage_policy"`

	CoverageLevel string `json:"coverage_level"`

	CoverageSites []CoverageSite `json:"coverage_sites"`
}

覆盖策略对象

func (Coverage) String

func (o Coverage) String() string

type CoverageResp

type CoverageResp struct {
	CoveragePolicy string `json:"coverage_policy"`

	CoverageLevel string `json:"coverage_level"`

	CoverageSites []CoverageSiteResp `json:"coverage_sites"`
}

覆盖策略对象

func (CoverageResp) String

func (o CoverageResp) String() string

type CoverageSite

type CoverageSite struct {
	Site string `json:"site"`

	Demands []Demand `json:"demands"`
}

站点覆盖策略

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"`
}

站点覆盖策略

func (CoverageSiteResp) String

func (o CoverageSiteResp) String() string

type CreateDeploymentRequest

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

Request Object

func (CreateDeploymentRequest) String

func (o CreateDeploymentRequest) String() string

type CreateDeploymentRequestBody

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

创建部署计划请求体

func (CreateDeploymentRequestBody) String

type CreateDeploymentResponse

type CreateDeploymentResponse struct {
	Id *string `json:"id,omitempty"`

	Locations      *[]Location `json:"locations,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (CreateDeploymentResponse) String

func (o CreateDeploymentResponse) String() string

type CreateFirewallOption

type CreateFirewallOption struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`
}

创建防火墙参数

func (CreateFirewallOption) String

func (o CreateFirewallOption) String() string

type CreateFirewallRequest

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

Request Object

func (CreateFirewallRequest) String

func (o CreateFirewallRequest) String() string

type CreateFirewallRequestBody

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

创建网络ACL请求体。

func (CreateFirewallRequestBody) String

func (o CreateFirewallRequestBody) String() string

type CreateFirewallResponse

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

Response Object

func (CreateFirewallResponse) String

func (o CreateFirewallResponse) String() string

type CreateKeypairRequest

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

Request Object

func (CreateKeypairRequest) String

func (o CreateKeypairRequest) String() string

type CreateKeypairRequestBody

type CreateKeypairRequestBody struct {
	Name string `json:"name"`

	PublicKey *string `json:"public_key,omitempty"`
}

创建秘钥对请求体。

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"`

	UserId *string `json:"user_id,omitempty"`

	Fingerprint    *string `json:"fingerprint,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateKeypairResponse) String

func (o CreateKeypairResponse) String() string

type CreatePortOption

type CreatePortOption struct {
	DeviceOwner CreatePortOptionDeviceOwner `json:"device_owner"`

	NetworkId string `json:"network_id"`

	FixedIps *[]FixedIp `json:"fixed_ips,omitempty"`
}

创建端口参数对象。

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

type CreatePortOptionDeviceOwnerEnum

type CreatePortOptionDeviceOwnerEnum struct {
	NEUTRONVIP_PORT CreatePortOptionDeviceOwner
}

func GetCreatePortOptionDeviceOwnerEnum

func GetCreatePortOptionDeviceOwnerEnum() CreatePortOptionDeviceOwnerEnum

type CreatePortRequest

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

Request Object

func (CreatePortRequest) String

func (o CreatePortRequest) String() string

type CreatePortRequestBody

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

创建端口请求体

func (CreatePortRequestBody) String

func (o CreatePortRequestBody) String() string

type CreatePortResponse

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

Response Object

func (CreatePortResponse) String

func (o CreatePortResponse) String() string

type CreatePublicIpOption

type CreatePublicIpOption struct {
	SiteId string `json:"site_id"`

	IpVersion *string `json:"ip_version,omitempty"`

	Type *string `json:"type,omitempty"`
}

创建公网IP请求参数

func (CreatePublicIpOption) String

func (o CreatePublicIpOption) String() string

type CreatePublicIpRequest

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

Request Object

func (CreatePublicIpRequest) String

func (o CreatePublicIpRequest) String() string

type CreatePublicIpRequestBody

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

创建弹性公网IP请求体。

func (CreatePublicIpRequestBody) String

func (o CreatePublicIpRequestBody) String() string

type CreatePublicIpResponse

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

Response Object

func (CreatePublicIpResponse) String

func (o CreatePublicIpResponse) String() string

type CreateSecurityGroupOption

type CreateSecurityGroupOption struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`
}

创建安全组参数。

func (CreateSecurityGroupOption) String

func (o CreateSecurityGroupOption) String() string

type CreateSecurityGroupRequest

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

Request Object

func (CreateSecurityGroupRequest) String

type CreateSecurityGroupRequestBody

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

创建安全组请求体。

func (CreateSecurityGroupRequestBody) String

type CreateSecurityGroupResponse

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

Response Object

func (CreateSecurityGroupResponse) String

type CreateSecurityGroupRuleOption

type CreateSecurityGroupRuleOption struct {
	Description *string `json:"description,omitempty"`

	SecurityGroupId string `json:"security_group_id"`

	Direction CreateSecurityGroupRuleOptionDirection `json:"direction"`

	Ethertype *CreateSecurityGroupRuleOptionEthertype `json:"ethertype,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	PortRangeMin *int32 `json:"port_range_min,omitempty"`

	PortRangeMax *int32 `json:"port_range_max,omitempty"`

	RemoteGroupId *string `json:"remote_group_id,omitempty"`

	RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"`
}

创建安全组规则参数

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

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

type CreateSecurityGroupRuleOptionEthertypeEnum

type CreateSecurityGroupRuleOptionEthertypeEnum struct {
	I_PV4 CreateSecurityGroupRuleOptionEthertype
}

func GetCreateSecurityGroupRuleOptionEthertypeEnum

func GetCreateSecurityGroupRuleOptionEthertypeEnum() CreateSecurityGroupRuleOptionEthertypeEnum

type CreateSecurityGroupRuleRequest

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

Request Object

func (CreateSecurityGroupRuleRequest) String

type CreateSecurityGroupRuleRequestBody

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

创建安全组规则请求体。

func (CreateSecurityGroupRuleRequestBody) String

type CreateSecurityGroupRuleResponse

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

Response Object

func (CreateSecurityGroupRuleResponse) String

type CreateVpcOption

type CreateVpcOption struct {
	Name string `json:"name"`

	Cidr string `json:"cidr"`

	Mode string `json:"mode"`
}

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

func (CreateVpcOption) String

func (o CreateVpcOption) String() string

type CreateVpcRequest

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

Request Object

func (CreateVpcRequest) String

func (o CreateVpcRequest) String() string

type CreateVpcRequestBody

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

func (CreateVpcRequestBody) String

func (o CreateVpcRequestBody) String() string

type CreateVpcResponse

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

Response Object

func (CreateVpcResponse) String

func (o CreateVpcResponse) String() string

type DataVolume

type DataVolume struct {
	Size int32 `json:"size"`

	VolumeType string `json:"volume_type"`
}

数据盘参数

func (DataVolume) String

func (o DataVolume) String() string

type DeleteDeploymentRequest

type DeleteDeploymentRequest struct {
	DeploymentId string `json:"deployment_id"`
}

Request Object

func (DeleteDeploymentRequest) String

func (o DeleteDeploymentRequest) String() string

type DeleteDeploymentResponse

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

Response Object

func (DeleteDeploymentResponse) String

func (o DeleteDeploymentResponse) String() string

type DeleteEdgeCloudRequest

type DeleteEdgeCloudRequest struct {
	EdgecloudId string `json:"edgecloud_id"`
}

Request Object

func (DeleteEdgeCloudRequest) String

func (o DeleteEdgeCloudRequest) String() string

type DeleteEdgeCloudResponse

type DeleteEdgeCloudResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteEdgeCloudResponse) String

func (o DeleteEdgeCloudResponse) String() string

type DeleteFirewallRequest

type DeleteFirewallRequest struct {
	FirewallId string `json:"firewall_id"`
}

Request Object

func (DeleteFirewallRequest) String

func (o DeleteFirewallRequest) String() string

type DeleteFirewallResponse

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

Response Object

func (DeleteFirewallResponse) String

func (o DeleteFirewallResponse) String() string

type DeleteInstancesRequest

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

Request Object

func (DeleteInstancesRequest) String

func (o DeleteInstancesRequest) String() string

type DeleteInstancesRequestBody

type DeleteInstancesRequestBody struct {
	Servers []BaseId `json:"servers"`
}

批量删除边缘实例请求体

func (DeleteInstancesRequestBody) String

type DeleteInstancesResponse

type DeleteInstancesResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteInstancesResponse) String

func (o DeleteInstancesResponse) String() string

type DeleteKeypairRequest

type DeleteKeypairRequest struct {
	KeypairName string `json:"keypair_name"`
}

Request Object

func (DeleteKeypairRequest) String

func (o DeleteKeypairRequest) String() string

type DeleteKeypairResponse

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

Response Object

func (DeleteKeypairResponse) String

func (o DeleteKeypairResponse) String() string

type DeleteNicsRequest

type DeleteNicsRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (DeleteNicsRequest) String

func (o DeleteNicsRequest) String() string

type DeleteNicsRequestBody

type DeleteNicsRequestBody struct {
	Nics []NicId `json:"nics"`
}

删除网卡请求体。

func (DeleteNicsRequestBody) String

func (o DeleteNicsRequestBody) String() string

type DeleteNicsResponse

type DeleteNicsResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteNicsResponse) String

func (o DeleteNicsResponse) String() string

type DeletePortRequest

type DeletePortRequest struct {
	PortId string `json:"port_id"`
}

Request Object

func (DeletePortRequest) String

func (o DeletePortRequest) String() string

type DeletePortResponse

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

Response Object

func (DeletePortResponse) String

func (o DeletePortResponse) String() string

type DeletePublicIpRequest

type DeletePublicIpRequest struct {
	PublicipId string `json:"publicip_id"`
}

Request Object

func (DeletePublicIpRequest) String

func (o DeletePublicIpRequest) String() string

type DeletePublicIpResponse

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

Response Object

func (DeletePublicIpResponse) String

func (o DeletePublicIpResponse) String() string

type DeleteSecurityGroupRequest

type DeleteSecurityGroupRequest struct {
	SecurityGroupId string `json:"security_group_id"`
}

Request Object

func (DeleteSecurityGroupRequest) String

type DeleteSecurityGroupResponse

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

Response Object

func (DeleteSecurityGroupResponse) String

type DeleteSecurityGroupRuleRequest

type DeleteSecurityGroupRuleRequest struct {
	SecurityGroupRuleId string `json:"security_group_rule_id"`
}

Request Object

func (DeleteSecurityGroupRuleRequest) String

type DeleteSecurityGroupRuleResponse

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

Response Object

func (DeleteSecurityGroupRuleResponse) String

type DeleteSubnetRequest

type DeleteSubnetRequest struct {
	SubnetId string `json:"subnet_id"`
}

Request Object

func (DeleteSubnetRequest) String

func (o DeleteSubnetRequest) String() string

type DeleteSubnetResponse

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

Response Object

func (DeleteSubnetResponse) String

func (o DeleteSubnetResponse) String() string

type DeleteVpcRequest

type DeleteVpcRequest struct {
	VpcId string `json:"vpc_id"`
}

Request Object

func (DeleteVpcRequest) String

func (o DeleteVpcRequest) String() string

type DeleteVpcResponse

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

Response Object

func (DeleteVpcResponse) String

func (o DeleteVpcResponse) String() string

type Demand

type Demand struct {
	Operator *string `json:"operator,omitempty"`

	DemandCount int32 `json:"demand_count"`

	PoolId *string `json:"pool_id,omitempty"`
}

租户需求

func (Demand) String

func (o Demand) String() string

type DemandResp

type DemandResp struct {
	DemandCount int32 `json:"demand_count"`
}

租户需求

func (DemandResp) String

func (o DemandResp) String() string

type Deployment

type Deployment struct {
	Id *string `json:"id,omitempty"`

	Distribution *[]Distribution `json:"distribution,omitempty"`

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

部署计划对象

func (Deployment) String

func (o Deployment) String() string

type DeploymentEdgecloud

type DeploymentEdgecloud struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

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

	Description *string `json:"description,omitempty"`

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

func (DeploymentEdgecloud) String

func (o DeploymentEdgecloud) String() string

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"`

	SiteId *string `json:"site_id,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

	StackCount *int32 `json:"stack_count,omitempty"`

	CityShortName *string `json:"city_short_name,omitempty"`
}

实例分布对象

func (Distribution) String

func (o Distribution) String() string

type DnsAssignment

type DnsAssignment struct {
	Fqdn *string `json:"fqdn,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	IpAddress *string `json:"ip_address,omitempty"`
}

DNS配置

func (DnsAssignment) String

func (o DnsAssignment) String() string

type EdgeCloud

type EdgeCloud struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

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

	FailedNum *int32 `json:"failed_num,omitempty"`

	Status *string `json:"status,omitempty"`

	SuccessNum *int32 `json:"success_num,omitempty"`

	EdgeRegions *int32 `json:"edge_regions,omitempty"`
}

边缘业务对象

func (EdgeCloud) String

func (o EdgeCloud) String() string

type EdgeCloudOption

type EdgeCloudOption struct {
	Name *string `json:"name,omitempty"`

	Id *string `json:"id,omitempty"`

	Description *string `json:"description,omitempty"`

	Coverage *Coverage `json:"coverage"`

	Stack *Stack `json:"stack"`
}

边缘业务对象

func (EdgeCloudOption) String

func (o EdgeCloudOption) String() string

type EdgeImageRegionInfo

type EdgeImageRegionInfo struct {
	RegionId *string `json:"region_id,omitempty"`

	ImageId *string `json:"image_id,omitempty"`
}

func (EdgeImageRegionInfo) String

func (o EdgeImageRegionInfo) String() string

type ErrorSite

type ErrorSite struct {
	ErrSites *[]string `json:"err_sites,omitempty"`
}

异常站点

func (ErrorSite) String

func (o ErrorSite) String() string

type ExecuteDeploymentRequest

type ExecuteDeploymentRequest struct {
	DeploymentId string `json:"deployment_id"`
}

Request Object

func (ExecuteDeploymentRequest) String

func (o ExecuteDeploymentRequest) String() string

type ExecuteDeploymentResponse

type ExecuteDeploymentResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	DeploymentId *string `json:"deployment_id,omitempty"`

	Status *string `json:"status,omitempty"`

	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ExecuteDeploymentResponse) String

func (o ExecuteDeploymentResponse) String() string

type ExpandEdgecloudRequest

type ExpandEdgecloudRequest struct {
	DeploymentId string `json:"deployment_id"`
}

Request Object

func (ExpandEdgecloudRequest) String

func (o ExpandEdgecloudRequest) String() string

type ExpandEdgecloudResponse

type ExpandEdgecloudResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	DeploymentId *string `json:"deployment_id,omitempty"`

	Status *string `json:"status,omitempty"`

	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ExpandEdgecloudResponse) String

func (o ExpandEdgecloudResponse) String() string

type ExtraDhcpOption

type ExtraDhcpOption struct {
	OptName *string `json:"opt_name,omitempty"`

	OptValue *string `json:"opt_value,omitempty"`
}

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"`
}

失败原因对象。

func (FailReason) String

func (o FailReason) String() string

type Firewall

type Firewall struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Status *FirewallStatus `json:"status,omitempty"`

	Description *string `json:"description,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

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

	EgressFirewallRuleCount *int32 `json:"egress_firewall_rule_count,omitempty"`

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

	IngressFirewallRuleCount *int32 `json:"ingress_firewall_rule_count,omitempty"`
}

防火墙对象

func (Firewall) String

func (o Firewall) String() string

type FirewallPolicy

type FirewallPolicy struct {
	Id string `json:"id"`

	Name *string `json:"name,omitempty"`

	FirewallRules []FirewallRule `json:"firewall_rules"`

	InsertAfter *string `json:"insert_after,omitempty"`

	InsertBefore *string `json:"insert_before,omitempty"`
}

网络ACL策略。

func (FirewallPolicy) String

func (o FirewallPolicy) String() string

type FirewallRule

type FirewallRule struct {
	Action FirewallRuleAction `json:"action"`

	Description *string `json:"description,omitempty"`

	DestinationIpAddress string `json:"destination_ip_address"`

	DestinationPort string `json:"destination_port"`

	Enabled bool `json:"enabled"`

	Id string `json:"id"`

	IpVersion int32 `json:"ip_version"`

	Name string `json:"name"`

	OperateType FirewallRuleOperateType `json:"operate_type"`

	Protocol FirewallRuleProtocol `json:"protocol"`

	SourceIpAddress string `json:"source_ip_address"`

	SourcePort string `json:"source_port"`
}

网络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

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

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

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

type FirewallStatusEnum

type FirewallStatusEnum struct {
	INACTIVE FirewallStatus
}

func GetFirewallStatusEnum

func GetFirewallStatusEnum() FirewallStatusEnum

type FirewallSubnetOption

type FirewallSubnetOption struct {
	Id string `json:"id"`

	VpcId *string `json:"vpc_id,omitempty"`
}

防火墙关联的子网对象

func (FirewallSubnetOption) String

func (o FirewallSubnetOption) String() string

type FixedIp

type FixedIp struct {
	SubnetId *string `json:"subnet_id,omitempty"`

	IpAddress *string `json:"ip_address,omitempty"`
}

私有IP对象

func (FixedIp) String

func (o FixedIp) String() string

type Flavor

type Flavor struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Disk *string `json:"disk,omitempty"`

	Ram *int32 `json:"ram,omitempty"`

	Vcpus *string `json:"vcpus,omitempty"`

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

	OsFlavorAccessIsPublic *bool `json:"os_flavor_access_is_public,omitempty"`
}

func (Flavor) String

func (o Flavor) String() string

type FlavorInstance

type FlavorInstance struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Disk *string `json:"disk,omitempty"`

	Ram *string `json:"ram,omitempty"`

	Vcpus *string `json:"vcpus,omitempty"`
}

func (FlavorInstance) String

func (o FlavorInstance) String() string

type GeoLocation

type GeoLocation struct {
	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"`
}

func (GeoLocation) String

func (o GeoLocation) String() string

type ImageList

type ImageList struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *ImageListStatus `json:"status,omitempty"`

	DiskFormat *ImageListDiskFormat `json:"disk_format,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	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"`

	Deleted *bool `json:"deleted,omitempty"`

	VirtualEnvType *string `json:"virtual_env_type,omitempty"`

	DeletedAt *string `json:"deleted_at,omitempty"`

	RelationJobId *string `json:"relation_job_id,omitempty"`

	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"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmAscend310 *string `json:"__support_kvm_ascend_310,omitempty"`

	SupportKvmHi1822Hiovs *string `json:"__support_kvm_hi1822_hiovs,omitempty"`

	SupportArm *string `json:"__support_arm,omitempty"`

	HwFirmwareType *string `json:"hw_firmware_type,omitempty"`

	DataSource *string `json:"data_source,omitempty"`

	SupportGpuT4 *string `json:"__support_gpu_t4,omitempty"`
}

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

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

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

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

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 *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *string `json:"status,omitempty"`

	Updated *string `json:"updated,omitempty"`

	HostId *string `json:"hostId,omitempty"`

	Addresses map[string][]InstanceAddress `json:"addresses,omitempty"`

	Created *string `json:"created,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	Locked *bool `json:"locked,omitempty"`

	Description *string `json:"description,omitempty"`

	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"`

	OSDCFdiskConfig *string `json:"OS-DCF:diskConfig,omitempty"`

	OSEXTAZavailabilityZone *string `json:"OS-EXT-AZ:availability_zone,omitempty"`

	OSSRVUSGlaunchedAt *string `json:"OS-SRV-USG:launched_at,omitempty"`

	OSSRVUSGterminatedAt *string `json:"OS-SRV-USG:terminated_at,omitempty"`

	OSEXTSRVATTRrootDeviceName *string `json:"OS-EXT-SRV-ATTR:root_device_name,omitempty"`

	OSEXTSRVATTRramdiskId *string `json:"OS-EXT-SRV-ATTR:ramdisk_id,omitempty"`

	OSEXTSRVATTRkernelId *string `json:"OS-EXT-SRV-ATTR:kernel_id,omitempty"`

	OSEXTSRVATTRlaunchIndex *int32 `json:"OS-EXT-SRV-ATTR:launch_index,omitempty"`

	OSEXTSRVATTRreservationId *string `json:"OS-EXT-SRV-ATTR:reservation_id,omitempty"`

	OSEXTSRVATTRhostname *string `json:"OS-EXT-SRV-ATTR:hostname,omitempty"`

	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"`

	EdgecloudId *string `json:"edgecloud_id,omitempty"`

	EdgecloudName *string `json:"edgecloud_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	KeyName *string `json:"key_name,omitempty"`

	OSEXTSRVATTRinstanceName *string `json:"OS-EXT-SRV-ATTR:instance_name,omitempty"`
}

边缘实例对象。

func (Instance) String

func (o Instance) String() string

type InstanceAddress

type InstanceAddress struct {
	OSEXTIPSMACmacAddr *string `json:"OS-EXT-IPS-MAC:mac_addr,omitempty"`

	OSEXTIPSportId *string `json:"OS-EXT-IPS:port_id,omitempty"`

	OSEXTIPStype *string `json:"OS-EXT-IPS:type,omitempty"`

	Addr *string `json:"addr,omitempty"`

	Version *string `json:"version,omitempty"`
}

边缘实例地址

func (InstanceAddress) String

func (o InstanceAddress) String() string

type InstanceSecurityGroup

type InstanceSecurityGroup struct {
	Name *string `json:"name,omitempty"`

	Id *string `json:"id,omitempty"`
}

边缘实例关联的安全组

func (InstanceSecurityGroup) String

func (o InstanceSecurityGroup) String() string

type IpPool

type IpPool struct {
	Id *string `json:"id,omitempty"`

	SiteId *string `json:"site_id,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

	IpVersion *string `json:"ip_version,omitempty"`

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

	DisplayName *string `json:"display_name,omitempty"`
}

IP池对象。 支持IPv4和IPv6

func (IpPool) String

func (o IpPool) String() string

type JobResult

type JobResult struct {
	JobId string `json:"job_id"`
}

任务类响应通用返回体。

func (JobResult) String

func (o JobResult) String() string

type ListBandwidthsRequest

type ListBandwidthsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	SiteId *string `json:"site_id,omitempty"`
}

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:"-"`
}

Response Object

func (ListBandwidthsResponse) String

func (o ListBandwidthsResponse) String() string

type ListDeploymentsRequest

type ListDeploymentsRequest struct {
	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Status *string `json:"status,omitempty"`

	Id *string `json:"id,omitempty"`

	EdgecloudId *string `json:"edgecloud_id,omitempty"`
}

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:"-"`
}

Response Object

func (ListDeploymentsResponse) String

func (o ListDeploymentsResponse) String() string

type ListEdgeCloudRequest

type ListEdgeCloudRequest struct {
	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Name *string `json:"name,omitempty"`

	Id *string `json:"id,omitempty"`
}

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:"-"`
}

Response Object

func (ListEdgeCloudResponse) String

func (o ListEdgeCloudResponse) String() string

type ListFirewallsRequest

type ListFirewallsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

Request Object

func (ListFirewallsRequest) String

func (o ListFirewallsRequest) String() string

type ListFirewallsResponse

type ListFirewallsResponse struct {
	Count *int32 `json:"count,omitempty"`

	Firewalls      *[]Firewall `json:"firewalls,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListFirewallsResponse) String

func (o ListFirewallsResponse) String() string

type ListFlavorsRequest

type ListFlavorsRequest struct {
	Offset *int32 `json:"offset,omitempty"`

	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 *string `json:"id,omitempty"`

	SiteIds *string `json:"site_ids,omitempty"`
}

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:"-"`
}

Response Object

func (ListFlavorsResponse) String

func (o ListFlavorsResponse) String() string

type ListImagesRequest

type ListImagesRequest struct {
	Imagetype *string `json:"__imagetype,omitempty"`

	Protected *ListImagesRequestProtected `json:"protected,omitempty"`

	Id *string `json:"id,omitempty"`

	Visibility *string `json:"visibility,omitempty"`

	Status *string `json:"status,omitempty"`

	Name *string `json:"name,omitempty"`

	OsType *string `json:"__os_type,omitempty"`

	VirtualEnvType *ListImagesRequestVirtualEnvType `json:"virtual_env_type,omitempty"`

	Isregistered *ListImagesRequestIsregistered `json:"__isregistered,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	SortKey *ListImagesRequestSortKey `json:"sort_key,omitempty"`

	SortDir *ListImagesRequestSortDir `json:"sort_dir,omitempty"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmAscend310 *string `json:"__support_kvm_ascend_310,omitempty"`

	SupportKvmHi1822Hiovs *string `json:"__support_kvm_hi1822_hiovs,omitempty"`

	SupportArm *string `json:"__support_arm,omitempty"`

	SupportGpuT4 *string `json:"__support_gpu_t4,omitempty"`
}

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

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

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

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

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

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:"-"`
}

Response Object

func (ListImagesResponse) String

func (o ListImagesResponse) String() string

type ListInstancesRequest

type ListInstancesRequest struct {
	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	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"`

	EdgecloudId *string `json:"edgecloud_id,omitempty"`

	SiteId *string `json:"site_id,omitempty"`
}

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:"-"`
}

Response Object

func (ListInstancesResponse) String

func (o ListInstancesResponse) String() string

type ListKeypairsRequest

type ListKeypairsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Name *string `json:"name,omitempty"`
}

Request Object

func (ListKeypairsRequest) String

func (o ListKeypairsRequest) String() string

type ListKeypairsResponse

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

Response Object

func (ListKeypairsResponse) String

func (o ListKeypairsResponse) String() string

type ListPortsRequest

type ListPortsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	NetworkId *string `json:"network_id,omitempty"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	FixedIps *[]string `json:"fixed_ips,omitempty"`

	MacAddress *string `json:"mac_address,omitempty"`

	DeviceId *string `json:"device_id,omitempty"`

	DeviceOwner *string `json:"device_owner,omitempty"`

	Status *string `json:"status,omitempty"`

	SecurityGroups *string `json:"security_groups,omitempty"`
}

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:"-"`
}

Response Object

func (ListPortsResponse) String

func (o ListPortsResponse) String() string

type ListPublicIpsRequest

type ListPublicIpsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	SiteId *string `json:"site_id,omitempty"`

	PortId *string `json:"port_id,omitempty"`
}

Request Object

func (ListPublicIpsRequest) String

func (o ListPublicIpsRequest) String() string

type ListPublicIpsResponse

type ListPublicIpsResponse struct {
	Count *int32 `json:"count,omitempty"`

	Publicips      *[]PublicIp `json:"publicips,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListPublicIpsResponse) String

func (o ListPublicIpsResponse) String() string

type ListQuotaRequest

type ListQuotaRequest struct {
}

Request Object

func (ListQuotaRequest) String

func (o ListQuotaRequest) String() string

type ListQuotaResponse

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

Response Object

func (ListQuotaResponse) String

func (o ListQuotaResponse) String() string

type ListSecurityGroupRulesRequest

type ListSecurityGroupRulesRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`
}

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:"-"`
}

Response Object

func (ListSecurityGroupRulesResponse) String

type ListSecurityGroupsRequest

type ListSecurityGroupsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

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:"-"`
}

Response Object

func (ListSecurityGroupsResponse) String

type ListSitesRequest

type ListSitesRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	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"`
}

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

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:"-"`
}

Response Object

func (ListSitesResponse) String

func (o ListSitesResponse) String() string

type ListSubnetsRequest

type ListSubnetsRequest struct {
	VpcId *string `json:"vpc_id,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	SiteId *string `json:"site_id,omitempty"`
}

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:"-"`
}

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 *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

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:"-"`
}

Response Object

func (ListVpcsResponse) String

func (o ListVpcsResponse) String() string

type Location

type Location struct {
	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"`

	PoolId *string `json:"pool_id,omitempty"`

	StackCount *int32 `json:"stack_count,omitempty"`

	CityShortName *string `json:"city_short_name,omitempty"`
}

位置信息

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

type LocationOperatorEnum

type LocationOperatorEnum struct {
	CHINAMOBILE  LocationOperator
	CHINAUNICOM  LocationOperator
	CHINATELECOM LocationOperator
}

func GetLocationOperatorEnum

func GetLocationOperatorEnum() LocationOperatorEnum

type NetConfig

type NetConfig struct {
	VpcId string `json:"vpc_id"`

	NicNum int32 `json:"nic_num"`
}

func (NetConfig) String

func (o NetConfig) String() string

type NicId

type NicId struct {
	Id string `json:"id"`
}

网卡ID信息。

func (NicId) String

func (o NicId) String() string

type Operator

type Operator struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	I18nName *string `json:"i18n_name,omitempty"`

	Sa *string `json:"sa,omitempty"`
}

运营商信息

func (Operator) String

func (o Operator) String() string

type OsExtraSpecs

type OsExtraSpecs struct {
	Condoperationstatus *string `json:"cond:operation:status,omitempty"`

	Ecsgeneration *string `json:"ecs:generation,omitempty"`

	EcsperformanceType *string `json:"ecs:performance_type,omitempty"`

	EcsvirtualizationEnvTypes *string `json:"ecs:virtualization_env_types,omitempty"`

	InfoCpuName *string `json:"info_cpu_name,omitempty"`

	InfoGpuName *string `json:"info_gpu_name,omitempty"`

	PciPassthroughalias *string `json:"pci_passthrough:alias,omitempty"`

	PciPassthroughenableGpu *string `json:"pci_passthrough:enable_gpu,omitempty"`

	PciPassthroughgpuSpecs *string `json:"pci_passthrough:gpu_specs,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`
}

func (OsExtraSpecs) String

func (o OsExtraSpecs) String() string

type Port

type Port struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *PortStatus `json:"status,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	FixedIps *[]FixedIp `json:"fixed_ips,omitempty"`

	MacAddress *string `json:"mac_address,omitempty"`

	NetworkId *string `json:"network_id,omitempty"`

	DeviceId *string `json:"device_id,omitempty"`

	DeviceOwner *string `json:"device_owner,omitempty"`

	SecurityGroups *[]string `json:"security_groups,omitempty"`

	ExtraDhcpOpts *[]ExtraDhcpOption `json:"extra_dhcp_opts,omitempty"`

	AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"`

	SiteId *string `json:"site_id,omitempty"`

	DnsAssignment *[]DnsAssignment `json:"dns_assignment,omitempty"`

	DnsName *string `json:"dns_name,omitempty"`
}

端口的字典对象。

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

type PortStatusEnum

type PortStatusEnum struct {
	ACTIVE PortStatus
	BUILD  PortStatus
	DOWN   PortStatus
}

func GetPortStatusEnum

func GetPortStatusEnum() PortStatusEnum

type PublicIp

type PublicIp struct {
	Id *string `json:"id,omitempty"`

	Status *string `json:"status,omitempty"`

	PortId *string `json:"port_id,omitempty"`

	PublicIpAddress *string `json:"public_ip_address,omitempty"`

	PrivateIpAddress *string `json:"private_ip_address,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	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"`

	IpVersion *int32 `json:"ip_version,omitempty"`

	SiteId *string `json:"site_id,omitempty"`

	SiteInfo *string `json:"site_info,omitempty"`

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

	Type *string `json:"type,omitempty"`
}

弹性公网IP字典对象

func (PublicIp) String

func (o PublicIp) String() string

type PublicipInfo

type PublicipInfo struct {
	IpVersion *int32 `json:"ip_version,omitempty"`

	PublicipAddress *string `json:"publicip_address,omitempty"`

	PublicipId *string `json:"publicip_id,omitempty"`

	PublicipType *string `json:"publicip_type,omitempty"`
}

弹性公网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"`
}

资源配额对象

func (QuotaResource) String

func (o QuotaResource) String() string

type QuotaResources

type QuotaResources struct {
	Resources *[]QuotaResource `json:"resources,omitempty"`
}

func (QuotaResources) String

func (o QuotaResources) String() string

type Resource

type Resource struct {
	Name string `json:"name"`

	WithPrefix *bool `json:"with_prefix,omitempty"`

	ImageRef string `json:"image_ref"`

	FlavorRef string `json:"flavor_ref"`

	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"`

	DataVolumes *[]DataVolume `json:"data_volumes,omitempty"`

	Count *int32 `json:"count,omitempty"`

	SecurityGroups *[]SecurityGroupOption `json:"security_groups,omitempty"`

	UserData *string `json:"user_data,omitempty"`
}

边缘资源对象

func (Resource) String

func (o Resource) String() string

type RootVolume

type RootVolume struct {
	Size int32 `json:"size"`

	VolumeType string `json:"volume_type"`
}

系统盘参数

func (RootVolume) String

func (o RootVolume) String() string

type SecurityGroup

type SecurityGroup struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	SecurityGroupRules *[]SecurityGroupRule `json:"security_group_rules,omitempty"`
}

安全组数据对象

func (SecurityGroup) String

func (o SecurityGroup) String() string

type SecurityGroupOption

type SecurityGroupOption struct {
	Id *string `json:"id,omitempty"`
}

func (SecurityGroupOption) String

func (o SecurityGroupOption) String() string

type SecurityGroupRule

type SecurityGroupRule struct {
	Id *string `json:"id,omitempty"`

	Description *string `json:"description,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	Direction *SecurityGroupRuleDirection `json:"direction,omitempty"`

	Ethertype *SecurityGroupRuleEthertype `json:"ethertype,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	PortRangeMin *string `json:"port_range_min,omitempty"`

	PortRangeMax *string `json:"port_range_max,omitempty"`

	RemoteGroupId *string `json:"remote_group_id,omitempty"`

	RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"`
}

安全组规则。

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

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

type SecurityGroupRuleEthertypeEnum

type SecurityGroupRuleEthertypeEnum struct {
	I_PV4 SecurityGroupRuleEthertype
}

func GetSecurityGroupRuleEthertypeEnum

func GetSecurityGroupRuleEthertypeEnum() SecurityGroupRuleEthertypeEnum

type ShowBandwidthRequest

type ShowBandwidthRequest struct {
	BandwidthId string `json:"bandwidth_id"`
}

Request Object

func (ShowBandwidthRequest) String

func (o ShowBandwidthRequest) String() string

type ShowBandwidthResponse

type ShowBandwidthResponse struct {
	Bandwidth      *Bandwidth `json:"bandwidth,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ShowBandwidthResponse) String

func (o ShowBandwidthResponse) String() string

type ShowEdgeCloudRequest

type ShowEdgeCloudRequest struct {
	EdgecloudId string `json:"edgecloud_id"`
}

Request Object

func (ShowEdgeCloudRequest) String

func (o ShowEdgeCloudRequest) String() string

type ShowEdgeCloudResponse

type ShowEdgeCloudResponse struct {
	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:"-"`
}

Response Object

func (ShowEdgeCloudResponse) String

func (o ShowEdgeCloudResponse) String() string

type ShowFirewallRequest

type ShowFirewallRequest struct {
	FirewallId string `json:"firewall_id"`
}

Request Object

func (ShowFirewallRequest) String

func (o ShowFirewallRequest) String() string

type ShowFirewallResponse

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

Response Object

func (ShowFirewallResponse) String

func (o ShowFirewallResponse) String() string

type ShowImageRequest

type ShowImageRequest struct {
	ImageId string `json:"image_id"`
}

Request Object

func (ShowImageRequest) String

func (o ShowImageRequest) String() string

type ShowImageResponse

type ShowImageResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *ShowImageResponseStatus `json:"status,omitempty"`

	DiskFormat *ShowImageResponseDiskFormat `json:"disk_format,omitempty"`

	MinDisk *int32 `json:"min_disk,omitempty"`

	MinRam *int32 `json:"min_ram,omitempty"`

	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"`

	Deleted *bool `json:"deleted,omitempty"`

	VirtualEnvType *string `json:"virtual_env_type,omitempty"`

	DeletedAt *string `json:"deleted_at,omitempty"`

	RelationJobId *string `json:"relation_job_id,omitempty"`

	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"`

	SupportKvm *string `json:"__support_kvm,omitempty"`

	SupportKvmGpuType *string `json:"__support_kvm_gpu_type,omitempty"`

	SupportKvmAscend310 *string `json:"__support_kvm_ascend_310,omitempty"`

	SupportKvmHi1822Hiovs *string `json:"__support_kvm_hi1822_hiovs,omitempty"`

	SupportArm *string `json:"__support_arm,omitempty"`

	HwFirmwareType *string `json:"hw_firmware_type,omitempty"`

	DataSource *string `json:"data_source,omitempty"`

	SupportGpuT4 *string `json:"__support_gpu_t4,omitempty"`

	OriginRegionInfo *CloudImageRegionInfo `json:"origin_region_info,omitempty"`

	EdgeRegionInfo *[]EdgeImageRegionInfo `json:"edge_region_info,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

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

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

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

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

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 {
	ServerId string `json:"server_id"`
}

Request Object

func (ShowInstanceRequest) String

func (o ShowInstanceRequest) String() string

type ShowInstanceResponse

type ShowInstanceResponse struct {
	Server         *Instance `json:"server,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowInstanceResponse) String

func (o ShowInstanceResponse) String() string

type ShowKeypairRequest

type ShowKeypairRequest struct {
	KeypairName string `json:"keypair_name"`
}

Request Object

func (ShowKeypairRequest) String

func (o ShowKeypairRequest) String() string

type ShowKeypairResponse

type ShowKeypairResponse struct {
	Name *string `json:"name,omitempty"`

	PublicKey *string `json:"public_key,omitempty"`

	UserId *string `json:"user_id,omitempty"`

	Fingerprint    *string `json:"fingerprint,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowKeypairResponse) String

func (o ShowKeypairResponse) String() string

type ShowPortRequest

type ShowPortRequest struct {
	PortId string `json:"port_id"`
}

Request Object

func (ShowPortRequest) String

func (o ShowPortRequest) String() string

type ShowPortResponse

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

Response Object

func (ShowPortResponse) String

func (o ShowPortResponse) String() string

type ShowPublicIpRequest

type ShowPublicIpRequest struct {
	PublicipId string `json:"publicip_id"`
}

Request Object

func (ShowPublicIpRequest) String

func (o ShowPublicIpRequest) String() string

type ShowPublicIpResponse

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

Response Object

func (ShowPublicIpResponse) String

func (o ShowPublicIpResponse) String() string

type ShowSecurityGroupRequest

type ShowSecurityGroupRequest struct {
	SecurityGroupId string `json:"security_group_id"`
}

Request Object

func (ShowSecurityGroupRequest) String

func (o ShowSecurityGroupRequest) String() string

type ShowSecurityGroupResponse

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

Response Object

func (ShowSecurityGroupResponse) String

func (o ShowSecurityGroupResponse) String() string

type ShowSecurityGroupRuleRequest

type ShowSecurityGroupRuleRequest struct {
	SecurityGroupRuleId string `json:"security_group_rule_id"`
}

Request Object

func (ShowSecurityGroupRuleRequest) String

type ShowSecurityGroupRuleResponse

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

Response Object

func (ShowSecurityGroupRuleResponse) String

type ShowSubnetRequest

type ShowSubnetRequest struct {
	SubnetId string `json:"subnet_id"`
}

Request Object

func (ShowSubnetRequest) String

func (o ShowSubnetRequest) String() string

type ShowSubnetResponse

type ShowSubnetResponse struct {
	Subnet         *Subnet `json:"subnet,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowSubnetResponse) String

func (o ShowSubnetResponse) String() string

type ShowVolumeRequest

type ShowVolumeRequest struct {
	VolumeId string `json:"volume_id"`
}

Request Object

func (ShowVolumeRequest) String

func (o ShowVolumeRequest) String() string

type ShowVolumeResponse

type ShowVolumeResponse struct {
	Volume         *Volume `json:"volume,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowVolumeResponse) String

func (o ShowVolumeResponse) String() string

type ShowVpcRequest

type ShowVpcRequest struct {
	VpcId string `json:"vpc_id"`
}

Request Object

func (ShowVpcRequest) String

func (o ShowVpcRequest) String() string

type ShowVpcResponse

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

Response Object

func (ShowVpcResponse) String

func (o ShowVpcResponse) String() string

type SimpleKeypair

type SimpleKeypair struct {
	Name *string `json:"name,omitempty"`

	PublicKey *string `json:"public_key,omitempty"`

	UserId *string `json:"user_id,omitempty"`

	Fingerprint *string `json:"fingerprint,omitempty"`
}

秘钥对对象

func (SimpleKeypair) String

func (o SimpleKeypair) String() string

type Site

type Site struct {
	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"`

	Status *string `json:"status,omitempty"`

	Pools *[]IpPool `json:"pools,omitempty"`

	CityShortName *string `json:"city_short_name,omitempty"`
}

边缘站点对象类型

func (Site) String

func (o Site) String() string

type Stack

type Stack struct {
	Name string `json:"name"`

	Resources []Resource `json:"resources"`
}

边缘资源组对象

func (Stack) String

func (o Stack) String() string

type Subnet

type Subnet struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Cidr *string `json:"cidr,omitempty"`

	DnsList *[]string `json:"dnsList,omitempty"`

	GatewayIp *string `json:"gateway_ip,omitempty"`

	DhcpEnable *bool `json:"dhcp_enable,omitempty"`

	PrimaryDns *string `json:"primary_dns,omitempty"`

	SecondaryDns *string `json:"secondary_dns,omitempty"`

	Status *SubnetStatus `json:"status,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	SiteId *string `json:"site_id,omitempty"`

	SiteInfo *string `json:"site_info,omitempty"`

	NeutronNetworkId *string `json:"neutron_network_id,omitempty"`

	NeutronSubnetId *string `json:"neutron_subnet_id,omitempty"`
}

子网对象。

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

type SubnetStatusEnum

type SubnetStatusEnum struct {
	ACTIVE  SubnetStatus
	UNKNOWN SubnetStatus
	ERROR   SubnetStatus
}

func GetSubnetStatusEnum

func GetSubnetStatusEnum() SubnetStatusEnum

type SysTags

type SysTags struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

系统标签。

func (SysTags) String

func (o SysTags) String() string

type UpdateFirewallOption

type UpdateFirewallOption struct {
	Name string `json:"name"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Description *string `json:"description,omitempty"`

	Subnets *[]FirewallSubnetOption `json:"subnets,omitempty"`
}

更新网络ACL参数。

func (UpdateFirewallOption) String

func (o UpdateFirewallOption) String() string

type UpdateFirewallRequest

type UpdateFirewallRequest struct {
	FirewallId string `json:"firewall_id"`

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

Request Object

func (UpdateFirewallRequest) String

func (o UpdateFirewallRequest) String() string

type UpdateFirewallRequestBody

type UpdateFirewallRequestBody struct {
	Firewall *UpdateFirewallOption `json:"firewall"`
}

更新网络ACL请求体

func (UpdateFirewallRequestBody) String

func (o UpdateFirewallRequestBody) String() string

type UpdateFirewallResp

type UpdateFirewallResp struct {
	Id string `json:"id"`

	Status UpdateFirewallRespStatus `json:"status"`
}

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

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:"-"`
}

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"`
}

更新防火墙规则的参数

func (UpdateFirewallRuleOption) String

func (o UpdateFirewallRuleOption) String() string

type UpdateFirewallRuleRequest

type UpdateFirewallRuleRequest struct {
	FirewallId string `json:"firewall_id"`

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

Request Object

func (UpdateFirewallRuleRequest) String

func (o UpdateFirewallRuleRequest) String() string

type UpdateFirewallRuleRequestBody

type UpdateFirewallRuleRequestBody struct {
	Firewall *UpdateFirewallRuleOption `json:"firewall,omitempty"`
}

更新防火墙规则请求体

func (UpdateFirewallRuleRequestBody) String

type UpdateFirewallRuleResp

type UpdateFirewallRuleResp struct {
	Id string `json:"id"`

	Status UpdateFirewallRuleRespStatus `json:"status"`

	EgressFirewallPolicy *FirewallPolicy `json:"egress_firewall_policy"`

	IngressFirewallPolicy *FirewallPolicy `json:"ingress_firewall_policy"`
}

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

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:"-"`
}

Response Object

func (UpdateFirewallRuleResponse) String

type UpdateInstanceOption

type UpdateInstanceOption struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`
}

更新边缘实例的参数

func (UpdateInstanceOption) String

func (o UpdateInstanceOption) String() string

type UpdateInstanceRequest

type UpdateInstanceRequest struct {
	ServerId string `json:"server_id"`

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

Request Object

func (UpdateInstanceRequest) String

func (o UpdateInstanceRequest) String() string

type UpdateInstanceRequestBody

type UpdateInstanceRequestBody struct {
	Server *UpdateInstanceOption `json:"server"`
}

更新边缘实例请求体

func (UpdateInstanceRequestBody) String

func (o UpdateInstanceRequestBody) String() string

type UpdateInstanceResponse

type UpdateInstanceResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *string `json:"status,omitempty"`

	Updated *string `json:"updated,omitempty"`

	HostId *string `json:"hostId,omitempty"`

	Addresses map[string][]InstanceAddress `json:"addresses,omitempty"`

	Created *string `json:"created,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	Locked *bool `json:"locked,omitempty"`

	Description *string `json:"description,omitempty"`

	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"`

	OSDCFdiskConfig *string `json:"OS-DCF:diskConfig,omitempty"`

	OSEXTAZavailabilityZone *string `json:"OS-EXT-AZ:availability_zone,omitempty"`

	OSSRVUSGlaunchedAt *string `json:"OS-SRV-USG:launched_at,omitempty"`

	OSSRVUSGterminatedAt *string `json:"OS-SRV-USG:terminated_at,omitempty"`

	OSEXTSRVATTRrootDeviceName *string `json:"OS-EXT-SRV-ATTR:root_device_name,omitempty"`

	OSEXTSRVATTRramdiskId *string `json:"OS-EXT-SRV-ATTR:ramdisk_id,omitempty"`

	OSEXTSRVATTRkernelId *string `json:"OS-EXT-SRV-ATTR:kernel_id,omitempty"`

	OSEXTSRVATTRlaunchIndex *int32 `json:"OS-EXT-SRV-ATTR:launch_index,omitempty"`

	OSEXTSRVATTRreservationId *string `json:"OS-EXT-SRV-ATTR:reservation_id,omitempty"`

	OSEXTSRVATTRhostname *string `json:"OS-EXT-SRV-ATTR:hostname,omitempty"`

	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"`

	EdgecloudId *string `json:"edgecloud_id,omitempty"`

	EdgecloudName *string `json:"edgecloud_name,omitempty"`

	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:"-"`
}

Response Object

func (UpdateInstanceResponse) String

func (o UpdateInstanceResponse) String() string

type UpdatePortOption

type UpdatePortOption struct {
	AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"`

	SecurityGroups *[]string `json:"security_groups,omitempty"`
}

更新端口请求体

func (UpdatePortOption) String

func (o UpdatePortOption) String() string

type UpdatePortRequest

type UpdatePortRequest struct {
	PortId string `json:"port_id"`

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

Request Object

func (UpdatePortRequest) String

func (o UpdatePortRequest) String() string

type UpdatePortRequestBody

type UpdatePortRequestBody struct {
	Port *UpdatePortOption `json:"port"`
}

更新端口请求体

func (UpdatePortRequestBody) String

func (o UpdatePortRequestBody) String() string

type UpdatePortResponse

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

Response Object

func (UpdatePortResponse) String

func (o UpdatePortResponse) String() string

type UpdatePublicIpOption

type UpdatePublicIpOption struct {
	PortId string `json:"port_id"`
}

更新弹性公网IP参数

func (UpdatePublicIpOption) String

func (o UpdatePublicIpOption) String() string

type UpdatePublicIpRequest

type UpdatePublicIpRequest struct {
	PublicipId string `json:"publicip_id"`

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

Request Object

func (UpdatePublicIpRequest) String

func (o UpdatePublicIpRequest) String() string

type UpdatePublicIpRequestBody

type UpdatePublicIpRequestBody struct {
	Publicip *UpdatePublicIpOption `json:"publicip"`
}

更新弹性公网IP请求数据

func (UpdatePublicIpRequestBody) String

func (o UpdatePublicIpRequestBody) String() string

type UpdatePublicIpResponse

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

Response Object

func (UpdatePublicIpResponse) String

func (o UpdatePublicIpResponse) String() string

type UpdateSubnetOption

type UpdateSubnetOption struct {
	Name *string `json:"name,omitempty"`

	DhcpEnable *bool `json:"dhcp_enable,omitempty"`

	PrimaryDns *string `json:"primary_dns,omitempty"`

	SecondaryDns *string `json:"secondary_dns,omitempty"`

	DnsList *[]string `json:"dnsList,omitempty"`
}

更新子网的结构体。

func (UpdateSubnetOption) String

func (o UpdateSubnetOption) String() string

type UpdateSubnetRequest

type UpdateSubnetRequest struct {
	SubnetId string `json:"subnet_id"`

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

Request Object

func (UpdateSubnetRequest) String

func (o UpdateSubnetRequest) String() string

type UpdateSubnetRequestBody

type UpdateSubnetRequestBody struct {
	Subnet *UpdateSubnetOption `json:"subnet,omitempty"`
}

更新子网的请求体。

func (UpdateSubnetRequestBody) String

func (o UpdateSubnetRequestBody) String() string

type UpdateSubnetResponse

type UpdateSubnetResponse struct {
	Subnet         *UpdateSubnetResponseObject `json:"subnet,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (UpdateSubnetResponse) String

func (o UpdateSubnetResponse) String() string

type UpdateSubnetResponseObject

type UpdateSubnetResponseObject struct {
	Id *string `json:"id,omitempty"`

	Status *UpdateSubnetResponseObjectStatus `json:"status,omitempty"`
}

更新子网响应对象

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

type UpdateSubnetResponseObjectStatusEnum

type UpdateSubnetResponseObjectStatusEnum struct {
	ACTIVE  UpdateSubnetResponseObjectStatus
	UNKNOWN UpdateSubnetResponseObjectStatus
	ERROR_  UpdateSubnetResponseObjectStatus
}

func GetUpdateSubnetResponseObjectStatusEnum

func GetUpdateSubnetResponseObjectStatusEnum() UpdateSubnetResponseObjectStatusEnum

type UpdateVpcOption

type UpdateVpcOption struct {
	Name *string `json:"name,omitempty"`

	Cidr *string `json:"cidr,omitempty"`
}

更新Vpc参数

func (UpdateVpcOption) String

func (o UpdateVpcOption) String() string

type UpdateVpcRequest

type UpdateVpcRequest struct {
	VpcId string `json:"vpc_id"`

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

Request Object

func (UpdateVpcRequest) String

func (o UpdateVpcRequest) String() string

type UpdateVpcRequestBody

type UpdateVpcRequestBody struct {
	Vpc *UpdateVpcOption `json:"vpc,omitempty"`
}

更新VPC请求体

func (UpdateVpcRequestBody) String

func (o UpdateVpcRequestBody) String() string

type UpdateVpcResponse

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

Response Object

func (UpdateVpcResponse) String

func (o UpdateVpcResponse) String() string

type Volume

type Volume struct {
	Id *string `json:"id,omitempty"`

	Status *string `json:"status,omitempty"`

	Size *int32 `json:"size,omitempty"`

	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"`
}

硬盘对象

func (Volume) String

func (o Volume) String() string

type VolumesAttached

type VolumesAttached struct {
	Id *string `json:"id,omitempty"`

	BootIndex *string `json:"bootIndex,omitempty"`

	DeleteOnTermination *string `json:"delete_on_termination,omitempty"`

	Device *string `json:"device,omitempty"`
}

func (VolumesAttached) String

func (o VolumesAttached) String() string

type Vpc

type Vpc struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Cidr *string `json:"cidr,omitempty"`

	Mode *string `json:"mode,omitempty"`

	SubnetNum *int32 `json:"subnet_num,omitempty"`
}

虚拟私有云的数据对象。

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