eflo

package
v1.62.170 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunRouterInfo

type AliyunRouterInfo struct {
	AliyunRouterInfoItem []AliyunRouterInfoItem `json:"AliyunRouterInfo" xml:"AliyunRouterInfo"`
}

AliyunRouterInfo is a nested struct in eflo response

type AliyunRouterInfoItem

type AliyunRouterInfoItem struct {
	PcId           string `json:"PcId" xml:"PcId"`
	VbrId          string `json:"VbrId" xml:"VbrId"`
	LocalGatewayIp string `json:"LocalGatewayIp" xml:"LocalGatewayIp"`
	PeerGatewayIp  string `json:"PeerGatewayIp" xml:"PeerGatewayIp"`
	Mask           string `json:"Mask" xml:"Mask"`
	VlanId         string `json:"VlanId" xml:"VlanId"`
}

AliyunRouterInfoItem is a nested struct in eflo response

type CcInfo

type CcInfo struct {
	CcId            string `json:"CcId" xml:"CcId"`
	VlanId          string `json:"VlanId" xml:"VlanId"`
	LocalGatewayIp  string `json:"LocalGatewayIp" xml:"LocalGatewayIp"`
	RemoteGatewayIp string `json:"RemoteGatewayIp" xml:"RemoteGatewayIp"`
	SubnetMask      string `json:"SubnetMask" xml:"SubnetMask"`
	Status          string `json:"Status" xml:"Status"`
}

CcInfo is a nested struct in eflo response

type CcInfos

type CcInfos struct {
	CcInfo []CcInfo `json:"CcInfo" xml:"CcInfo"`
}

CcInfos is a nested struct in eflo response

type CisRouterInfo

type CisRouterInfo struct {
	CisRouterInfoItem []CisRouterInfoItem `json:"CisRouterInfo" xml:"CisRouterInfo"`
}

CisRouterInfo is a nested struct in eflo response

type CisRouterInfoItem

type CisRouterInfoItem struct {
	CcrId   string   `json:"CcrId" xml:"CcrId"`
	CcInfos []CcInfo `json:"CcInfos" xml:"CcInfos"`
}

CisRouterInfoItem is a nested struct in eflo response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) CreateSubnet

func (client *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)

CreateSubnet invokes the eflo.CreateSubnet API synchronously

func (*Client) CreateSubnetWithCallback

func (client *Client) CreateSubnetWithCallback(request *CreateSubnetRequest, callback func(response *CreateSubnetResponse, err error)) <-chan int

CreateSubnetWithCallback invokes the eflo.CreateSubnet API asynchronously

func (*Client) CreateSubnetWithChan

func (client *Client) CreateSubnetWithChan(request *CreateSubnetRequest) (<-chan *CreateSubnetResponse, <-chan error)

CreateSubnetWithChan invokes the eflo.CreateSubnet API asynchronously

func (*Client) CreateVcc

func (client *Client) CreateVcc(request *CreateVccRequest) (response *CreateVccResponse, err error)

CreateVcc invokes the eflo.CreateVcc API synchronously

func (*Client) CreateVccWithCallback

func (client *Client) CreateVccWithCallback(request *CreateVccRequest, callback func(response *CreateVccResponse, err error)) <-chan int

CreateVccWithCallback invokes the eflo.CreateVcc API asynchronously

func (*Client) CreateVccWithChan

func (client *Client) CreateVccWithChan(request *CreateVccRequest) (<-chan *CreateVccResponse, <-chan error)

CreateVccWithChan invokes the eflo.CreateVcc API asynchronously

func (*Client) CreateVpd

func (client *Client) CreateVpd(request *CreateVpdRequest) (response *CreateVpdResponse, err error)

CreateVpd invokes the eflo.CreateVpd API synchronously

func (*Client) CreateVpdWithCallback

func (client *Client) CreateVpdWithCallback(request *CreateVpdRequest, callback func(response *CreateVpdResponse, err error)) <-chan int

CreateVpdWithCallback invokes the eflo.CreateVpd API asynchronously

func (*Client) CreateVpdWithChan

func (client *Client) CreateVpdWithChan(request *CreateVpdRequest) (<-chan *CreateVpdResponse, <-chan error)

CreateVpdWithChan invokes the eflo.CreateVpd API asynchronously

func (*Client) DeleteSubnet

func (client *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)

DeleteSubnet invokes the eflo.DeleteSubnet API synchronously

func (*Client) DeleteSubnetWithCallback

func (client *Client) DeleteSubnetWithCallback(request *DeleteSubnetRequest, callback func(response *DeleteSubnetResponse, err error)) <-chan int

DeleteSubnetWithCallback invokes the eflo.DeleteSubnet API asynchronously

func (*Client) DeleteSubnetWithChan

func (client *Client) DeleteSubnetWithChan(request *DeleteSubnetRequest) (<-chan *DeleteSubnetResponse, <-chan error)

DeleteSubnetWithChan invokes the eflo.DeleteSubnet API asynchronously

func (*Client) DeleteVpd

func (client *Client) DeleteVpd(request *DeleteVpdRequest) (response *DeleteVpdResponse, err error)

DeleteVpd invokes the eflo.DeleteVpd API synchronously

func (*Client) DeleteVpdWithCallback

func (client *Client) DeleteVpdWithCallback(request *DeleteVpdRequest, callback func(response *DeleteVpdResponse, err error)) <-chan int

DeleteVpdWithCallback invokes the eflo.DeleteVpd API asynchronously

func (*Client) DeleteVpdWithChan

func (client *Client) DeleteVpdWithChan(request *DeleteVpdRequest) (<-chan *DeleteVpdResponse, <-chan error)

DeleteVpdWithChan invokes the eflo.DeleteVpd API asynchronously

func (*Client) GetSubnet

func (client *Client) GetSubnet(request *GetSubnetRequest) (response *GetSubnetResponse, err error)

GetSubnet invokes the eflo.GetSubnet API synchronously

func (*Client) GetSubnetWithCallback

func (client *Client) GetSubnetWithCallback(request *GetSubnetRequest, callback func(response *GetSubnetResponse, err error)) <-chan int

GetSubnetWithCallback invokes the eflo.GetSubnet API asynchronously

func (*Client) GetSubnetWithChan

func (client *Client) GetSubnetWithChan(request *GetSubnetRequest) (<-chan *GetSubnetResponse, <-chan error)

GetSubnetWithChan invokes the eflo.GetSubnet API asynchronously

func (*Client) GetVcc

func (client *Client) GetVcc(request *GetVccRequest) (response *GetVccResponse, err error)

GetVcc invokes the eflo.GetVcc API synchronously

func (*Client) GetVccWithCallback

func (client *Client) GetVccWithCallback(request *GetVccRequest, callback func(response *GetVccResponse, err error)) <-chan int

GetVccWithCallback invokes the eflo.GetVcc API asynchronously

func (*Client) GetVccWithChan

func (client *Client) GetVccWithChan(request *GetVccRequest) (<-chan *GetVccResponse, <-chan error)

GetVccWithChan invokes the eflo.GetVcc API asynchronously

func (*Client) GetVpd

func (client *Client) GetVpd(request *GetVpdRequest) (response *GetVpdResponse, err error)

GetVpd invokes the eflo.GetVpd API synchronously

func (*Client) GetVpdWithCallback

func (client *Client) GetVpdWithCallback(request *GetVpdRequest, callback func(response *GetVpdResponse, err error)) <-chan int

GetVpdWithCallback invokes the eflo.GetVpd API asynchronously

func (*Client) GetVpdWithChan

func (client *Client) GetVpdWithChan(request *GetVpdRequest) (<-chan *GetVpdResponse, <-chan error)

GetVpdWithChan invokes the eflo.GetVpd API asynchronously

func (*Client) InitializeVcc

func (client *Client) InitializeVcc(request *InitializeVccRequest) (response *InitializeVccResponse, err error)

InitializeVcc invokes the eflo.InitializeVcc API synchronously

func (*Client) InitializeVccWithCallback

func (client *Client) InitializeVccWithCallback(request *InitializeVccRequest, callback func(response *InitializeVccResponse, err error)) <-chan int

InitializeVccWithCallback invokes the eflo.InitializeVcc API asynchronously

func (*Client) InitializeVccWithChan

func (client *Client) InitializeVccWithChan(request *InitializeVccRequest) (<-chan *InitializeVccResponse, <-chan error)

InitializeVccWithChan invokes the eflo.InitializeVcc API asynchronously

func (*Client) ListSubnets

func (client *Client) ListSubnets(request *ListSubnetsRequest) (response *ListSubnetsResponse, err error)

ListSubnets invokes the eflo.ListSubnets API synchronously

func (*Client) ListSubnetsWithCallback

func (client *Client) ListSubnetsWithCallback(request *ListSubnetsRequest, callback func(response *ListSubnetsResponse, err error)) <-chan int

ListSubnetsWithCallback invokes the eflo.ListSubnets API asynchronously

func (*Client) ListSubnetsWithChan

func (client *Client) ListSubnetsWithChan(request *ListSubnetsRequest) (<-chan *ListSubnetsResponse, <-chan error)

ListSubnetsWithChan invokes the eflo.ListSubnets API asynchronously

func (*Client) ListVccs

func (client *Client) ListVccs(request *ListVccsRequest) (response *ListVccsResponse, err error)

ListVccs invokes the eflo.ListVccs API synchronously

func (*Client) ListVccsWithCallback

func (client *Client) ListVccsWithCallback(request *ListVccsRequest, callback func(response *ListVccsResponse, err error)) <-chan int

ListVccsWithCallback invokes the eflo.ListVccs API asynchronously

func (*Client) ListVccsWithChan

func (client *Client) ListVccsWithChan(request *ListVccsRequest) (<-chan *ListVccsResponse, <-chan error)

ListVccsWithChan invokes the eflo.ListVccs API asynchronously

func (*Client) ListVpds

func (client *Client) ListVpds(request *ListVpdsRequest) (response *ListVpdsResponse, err error)

ListVpds invokes the eflo.ListVpds API synchronously

func (*Client) ListVpdsWithCallback

func (client *Client) ListVpdsWithCallback(request *ListVpdsRequest, callback func(response *ListVpdsResponse, err error)) <-chan int

ListVpdsWithCallback invokes the eflo.ListVpds API asynchronously

func (*Client) ListVpdsWithChan

func (client *Client) ListVpdsWithChan(request *ListVpdsRequest) (<-chan *ListVpdsResponse, <-chan error)

ListVpdsWithChan invokes the eflo.ListVpds API asynchronously

func (*Client) UpdateSubnet

func (client *Client) UpdateSubnet(request *UpdateSubnetRequest) (response *UpdateSubnetResponse, err error)

UpdateSubnet invokes the eflo.UpdateSubnet API synchronously

func (*Client) UpdateSubnetWithCallback

func (client *Client) UpdateSubnetWithCallback(request *UpdateSubnetRequest, callback func(response *UpdateSubnetResponse, err error)) <-chan int

UpdateSubnetWithCallback invokes the eflo.UpdateSubnet API asynchronously

func (*Client) UpdateSubnetWithChan

func (client *Client) UpdateSubnetWithChan(request *UpdateSubnetRequest) (<-chan *UpdateSubnetResponse, <-chan error)

UpdateSubnetWithChan invokes the eflo.UpdateSubnet API asynchronously

func (*Client) UpdateVcc

func (client *Client) UpdateVcc(request *UpdateVccRequest) (response *UpdateVccResponse, err error)

UpdateVcc invokes the eflo.UpdateVcc API synchronously

func (*Client) UpdateVccWithCallback

func (client *Client) UpdateVccWithCallback(request *UpdateVccRequest, callback func(response *UpdateVccResponse, err error)) <-chan int

UpdateVccWithCallback invokes the eflo.UpdateVcc API asynchronously

func (*Client) UpdateVccWithChan

func (client *Client) UpdateVccWithChan(request *UpdateVccRequest) (<-chan *UpdateVccResponse, <-chan error)

UpdateVccWithChan invokes the eflo.UpdateVcc API asynchronously

func (*Client) UpdateVpd

func (client *Client) UpdateVpd(request *UpdateVpdRequest) (response *UpdateVpdResponse, err error)

UpdateVpd invokes the eflo.UpdateVpd API synchronously

func (*Client) UpdateVpdWithCallback

func (client *Client) UpdateVpdWithCallback(request *UpdateVpdRequest, callback func(response *UpdateVpdResponse, err error)) <-chan int

UpdateVpdWithCallback invokes the eflo.UpdateVpd API asynchronously

func (*Client) UpdateVpdWithChan

func (client *Client) UpdateVpdWithChan(request *UpdateVpdRequest) (<-chan *UpdateVpdResponse, <-chan error)

UpdateVpdWithChan invokes the eflo.UpdateVpd API asynchronously

type Content

type Content struct {
	Name               string                 `json:"Name" xml:"Name"`
	AccessPointId      string                 `json:"AccessPointId" xml:"AccessPointId"`
	SubnetCount        int64                  `json:"SubnetCount" xml:"SubnetCount"`
	CreateTime         string                 `json:"CreateTime" xml:"CreateTime"`
	Route              int                    `json:"Route" xml:"Route"`
	PortType           string                 `json:"PortType" xml:"PortType"`
	RoleName           string                 `json:"RoleName" xml:"RoleName"`
	VccName            string                 `json:"VccName" xml:"VccName"`
	GmtCreate          string                 `json:"GmtCreate" xml:"GmtCreate"`
	RegionId           string                 `json:"RegionId" xml:"RegionId"`
	ServiceCidr        string                 `json:"ServiceCidr" xml:"ServiceCidr"`
	SubnetId           string                 `json:"SubnetId" xml:"SubnetId"`
	CommodityCode      string                 `json:"CommodityCode" xml:"CommodityCode"`
	VpcId              string                 `json:"VpcId" xml:"VpcId"`
	Description        string                 `json:"Description" xml:"Description"`
	TenantId           string                 `json:"TenantId" xml:"TenantId"`
	Type               string                 `json:"Type" xml:"Type"`
	Cidr               string                 `json:"Cidr" xml:"Cidr"`
	Message            string                 `json:"Message" xml:"Message"`
	VpdId              string                 `json:"VpdId" xml:"VpdId"`
	VSwitchId          string                 `json:"VSwitchId" xml:"VSwitchId"`
	PayType            string                 `json:"PayType" xml:"PayType"`
	GmtModified        string                 `json:"GmtModified" xml:"GmtModified"`
	Id                 int64                  `json:"Id" xml:"Id"`
	NcCount            int64                  `json:"NcCount" xml:"NcCount"`
	LineOperator       string                 `json:"LineOperator" xml:"LineOperator"`
	BgpCidr            string                 `json:"BgpCidr" xml:"BgpCidr"`
	Spec               string                 `json:"Spec" xml:"Spec"`
	BandwidthStr       string                 `json:"BandwidthStr" xml:"BandwidthStr"`
	CenId              string                 `json:"CenId" xml:"CenId"`
	CurrentNode        string                 `json:"CurrentNode" xml:"CurrentNode"`
	VccCount           int64                  `json:"VccCount" xml:"VccCount"`
	ZoneId             string                 `json:"ZoneId" xml:"ZoneId"`
	Duration           string                 `json:"Duration" xml:"Duration"`
	VccId              string                 `json:"VccId" xml:"VccId"`
	InternetChargeType string                 `json:"InternetChargeType" xml:"InternetChargeType"`
	RequestId          string                 `json:"RequestId" xml:"RequestId"`
	PricingCycle       string                 `json:"PricingCycle" xml:"PricingCycle"`
	Status             string                 `json:"Status" xml:"Status"`
	Total              int64                  `json:"Total" xml:"Total"`
	LbCount            int64                  `json:"LbCount" xml:"LbCount"`
	SubnetIds          []string               `json:"SubnetIds" xml:"SubnetIds"`
	VpdBaseInfo        VpdBaseInfo            `json:"VpdBaseInfo" xml:"VpdBaseInfo"`
	AliyunRouterInfo   []AliyunRouterInfoItem `json:"AliyunRouterInfo" xml:"AliyunRouterInfo"`
	Data               []DataItem             `json:"Data" xml:"Data"`
	CisRouterInfo      []CisRouterInfoItem    `json:"CisRouterInfo" xml:"CisRouterInfo"`
}

Content is a nested struct in eflo response

type CreateSubnetRequest

type CreateSubnetRequest struct {
	*requests.RpcRequest
	Type   string `position:"Body" name:"Type"`
	VpdId  string `position:"Body" name:"VpdId"`
	Name   string `position:"Body" name:"Name"`
	ZoneId string `position:"Body" name:"ZoneId"`
	Cidr   string `position:"Body" name:"Cidr"`
}

CreateSubnetRequest is the request struct for api CreateSubnet

func CreateCreateSubnetRequest

func CreateCreateSubnetRequest() (request *CreateSubnetRequest)

CreateCreateSubnetRequest creates a request to invoke CreateSubnet API

type CreateSubnetResponse

type CreateSubnetResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

CreateSubnetResponse is the response struct for api CreateSubnet

func CreateCreateSubnetResponse

func CreateCreateSubnetResponse() (response *CreateSubnetResponse)

CreateCreateSubnetResponse creates a response to parse from CreateSubnet response

type CreateVccRequest

type CreateVccRequest struct {
	*requests.RpcRequest
	BgpCidr            string           `position:"Body" name:"BgpCidr"`
	CenId              string           `position:"Body" name:"CenId"`
	Description        string           `position:"Body" name:"Description"`
	AccessCouldService requests.Boolean `position:"Body" name:"AccessCouldService"`
	VccId              string           `position:"Body" name:"VccId"`
	VSwitchId          string           `position:"Body" name:"VSwitchId"`
	VpdId              string           `position:"Body" name:"VpdId"`
	VpcId              string           `position:"Body" name:"VpcId"`
}

CreateVccRequest is the request struct for api CreateVcc

func CreateCreateVccRequest

func CreateCreateVccRequest() (request *CreateVccRequest)

CreateCreateVccRequest creates a request to invoke CreateVcc API

type CreateVccResponse

type CreateVccResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

CreateVccResponse is the response struct for api CreateVcc

func CreateCreateVccResponse

func CreateCreateVccResponse() (response *CreateVccResponse)

CreateCreateVccResponse creates a response to parse from CreateVcc response

type CreateVpdRequest

type CreateVpdRequest struct {
	*requests.RpcRequest
	Name    string              `position:"Body" name:"Name"`
	Cidr    string              `position:"Body" name:"Cidr"`
	Subnets *[]CreateVpdSubnets `position:"Body" name:"Subnets"  type:"Repeated"`
}

CreateVpdRequest is the request struct for api CreateVpd

func CreateCreateVpdRequest

func CreateCreateVpdRequest() (request *CreateVpdRequest)

CreateCreateVpdRequest creates a request to invoke CreateVpd API

type CreateVpdResponse

type CreateVpdResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

CreateVpdResponse is the response struct for api CreateVpd

func CreateCreateVpdResponse

func CreateCreateVpdResponse() (response *CreateVpdResponse)

CreateCreateVpdResponse creates a response to parse from CreateVpd response

type CreateVpdSubnets

type CreateVpdSubnets struct {
	RegionId string `name:"RegionId"`
	Name     string `name:"Name"`
	ZoneId   string `name:"ZoneId"`
	Cidr     string `name:"Cidr"`
	Type     string `name:"Type"`
}

CreateVpdSubnets is a repeated param struct in CreateVpdRequest

type DataInListSubnets

type DataInListSubnets struct {
	DataItem []DataItem `json:"Data" xml:"Data"`
}

DataInListSubnets is a nested struct in eflo response

type DataInListVccs

type DataInListVccs struct {
	DataItem []DataItem `json:"Data" xml:"Data"`
}

DataInListVccs is a nested struct in eflo response

type DataInListVpds

type DataInListVpds struct {
	DataItem []DataItemInListVpds `json:"Data" xml:"Data"`
}

DataInListVpds is a nested struct in eflo response

type DataItem

type DataItem struct {
	Name          string      `json:"Name" xml:"Name"`
	AccessPointId string      `json:"AccessPointId" xml:"AccessPointId"`
	CreateTime    string      `json:"CreateTime" xml:"CreateTime"`
	PortType      string      `json:"PortType" xml:"PortType"`
	VccName       string      `json:"VccName" xml:"VccName"`
	GmtCreate     string      `json:"GmtCreate" xml:"GmtCreate"`
	RegionId      string      `json:"RegionId" xml:"RegionId"`
	SubnetId      string      `json:"SubnetId" xml:"SubnetId"`
	VpcId         string      `json:"VpcId" xml:"VpcId"`
	TenantId      string      `json:"TenantId" xml:"TenantId"`
	Type          string      `json:"Type" xml:"Type"`
	Cidr          string      `json:"Cidr" xml:"Cidr"`
	Message       string      `json:"Message" xml:"Message"`
	VpdId         string      `json:"VpdId" xml:"VpdId"`
	GmtModified   string      `json:"GmtModified" xml:"GmtModified"`
	Id            int64       `json:"Id" xml:"Id"`
	NcCount       int64       `json:"NcCount" xml:"NcCount"`
	LineOperator  string      `json:"LineOperator" xml:"LineOperator"`
	BgpCidr       string      `json:"BgpCidr" xml:"BgpCidr"`
	Spec          string      `json:"Spec" xml:"Spec"`
	Rate          string      `json:"Rate" xml:"Rate"`
	BandwidthStr  string      `json:"BandwidthStr" xml:"BandwidthStr"`
	CenId         string      `json:"CenId" xml:"CenId"`
	ZoneId        string      `json:"ZoneId" xml:"ZoneId"`
	VccId         string      `json:"VccId" xml:"VccId"`
	Status        string      `json:"Status" xml:"Status"`
	VpdBaseInfo   VpdBaseInfo `json:"VpdBaseInfo" xml:"VpdBaseInfo"`
}

DataItem is a nested struct in eflo response

type DataItemInListVpds

type DataItemInListVpds struct {
	RegionId    string                 `json:"RegionId" xml:"RegionId"`
	VpdId       string                 `json:"VpdId" xml:"VpdId"`
	Name        string                 `json:"Name" xml:"Name"`
	Cidr        string                 `json:"Cidr" xml:"Cidr"`
	ServiceCidr string                 `json:"ServiceCidr" xml:"ServiceCidr"`
	Status      string                 `json:"Status" xml:"Status"`
	Message     string                 `json:"Message" xml:"Message"`
	Route       int                    `json:"Route" xml:"Route"`
	NcCount     int                    `json:"NcCount" xml:"NcCount"`
	SubnetCount int                    `json:"SubnetCount" xml:"SubnetCount"`
	GmtCreate   string                 `json:"GmtCreate" xml:"GmtCreate"`
	GmtModified string                 `json:"GmtModified" xml:"GmtModified"`
	Dependence  map[string]interface{} `json:"Dependence" xml:"Dependence"`
}

DataItemInListVpds is a nested struct in eflo response

type DeleteSubnetRequest

type DeleteSubnetRequest struct {
	*requests.RpcRequest
	SubnetId string `position:"Body" name:"SubnetId"`
	VpdId    string `position:"Body" name:"VpdId"`
	ZoneId   string `position:"Body" name:"ZoneId"`
}

DeleteSubnetRequest is the request struct for api DeleteSubnet

func CreateDeleteSubnetRequest

func CreateDeleteSubnetRequest() (request *DeleteSubnetRequest)

CreateDeleteSubnetRequest creates a request to invoke DeleteSubnet API

type DeleteSubnetResponse

type DeleteSubnetResponse struct {
	*responses.BaseResponse
}

DeleteSubnetResponse is the response struct for api DeleteSubnet

func CreateDeleteSubnetResponse

func CreateDeleteSubnetResponse() (response *DeleteSubnetResponse)

CreateDeleteSubnetResponse creates a response to parse from DeleteSubnet response

type DeleteVpdRequest

type DeleteVpdRequest struct {
	*requests.RpcRequest
	VpdId string `position:"Body" name:"VpdId"`
}

DeleteVpdRequest is the request struct for api DeleteVpd

func CreateDeleteVpdRequest

func CreateDeleteVpdRequest() (request *DeleteVpdRequest)

CreateDeleteVpdRequest creates a request to invoke DeleteVpd API

type DeleteVpdResponse

type DeleteVpdResponse struct {
	*responses.BaseResponse
}

DeleteVpdResponse is the response struct for api DeleteVpd

func CreateDeleteVpdResponse

func CreateDeleteVpdResponse() (response *DeleteVpdResponse)

CreateDeleteVpdResponse creates a response to parse from DeleteVpd response

type GetSubnetRequest

type GetSubnetRequest struct {
	*requests.RpcRequest
	SubnetId string `position:"Body" name:"SubnetId"`
}

GetSubnetRequest is the request struct for api GetSubnet

func CreateGetSubnetRequest

func CreateGetSubnetRequest() (request *GetSubnetRequest)

CreateGetSubnetRequest creates a request to invoke GetSubnet API

type GetSubnetResponse

type GetSubnetResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

GetSubnetResponse is the response struct for api GetSubnet

func CreateGetSubnetResponse

func CreateGetSubnetResponse() (response *GetSubnetResponse)

CreateGetSubnetResponse creates a response to parse from GetSubnet response

type GetVccRequest

type GetVccRequest struct {
	*requests.RpcRequest
	VccId string `position:"Body" name:"VccId"`
}

GetVccRequest is the request struct for api GetVcc

func CreateGetVccRequest

func CreateGetVccRequest() (request *GetVccRequest)

CreateGetVccRequest creates a request to invoke GetVcc API

type GetVccResponse

type GetVccResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

GetVccResponse is the response struct for api GetVcc

func CreateGetVccResponse

func CreateGetVccResponse() (response *GetVccResponse)

CreateGetVccResponse creates a response to parse from GetVcc response

type GetVpdRequest

type GetVpdRequest struct {
	*requests.RpcRequest
	VpdId string `position:"Body" name:"VpdId"`
}

GetVpdRequest is the request struct for api GetVpd

func CreateGetVpdRequest

func CreateGetVpdRequest() (request *GetVpdRequest)

CreateGetVpdRequest creates a request to invoke GetVpd API

type GetVpdResponse

type GetVpdResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

GetVpdResponse is the response struct for api GetVpd

func CreateGetVpdResponse

func CreateGetVpdResponse() (response *GetVpdResponse)

CreateGetVpdResponse creates a response to parse from GetVpd response

type InitializeVccRequest

type InitializeVccRequest struct {
	*requests.RpcRequest
}

InitializeVccRequest is the request struct for api InitializeVcc

func CreateInitializeVccRequest

func CreateInitializeVccRequest() (request *InitializeVccRequest)

CreateInitializeVccRequest creates a request to invoke InitializeVcc API

type InitializeVccResponse

type InitializeVccResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

InitializeVccResponse is the response struct for api InitializeVcc

func CreateInitializeVccResponse

func CreateInitializeVccResponse() (response *InitializeVccResponse)

CreateInitializeVccResponse creates a response to parse from InitializeVcc response

type ListSubnetsRequest

type ListSubnetsRequest struct {
	*requests.RpcRequest
	Type       string           `position:"Body" name:"Type"`
	PageNumber requests.Integer `position:"Body" name:"PageNumber"`
	PageSize   requests.Integer `position:"Body" name:"PageSize"`
	SubnetId   string           `position:"Body" name:"SubnetId"`
	VpdId      string           `position:"Body" name:"VpdId"`
	EnablePage requests.Boolean `position:"Body" name:"EnablePage"`
	Name       string           `position:"Body" name:"Name"`
	ZoneId     string           `position:"Body" name:"ZoneId"`
	Status     string           `position:"Body" name:"Status"`
}

ListSubnetsRequest is the request struct for api ListSubnets

func CreateListSubnetsRequest

func CreateListSubnetsRequest() (request *ListSubnetsRequest)

CreateListSubnetsRequest creates a request to invoke ListSubnets API

type ListSubnetsResponse

type ListSubnetsResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

ListSubnetsResponse is the response struct for api ListSubnets

func CreateListSubnetsResponse

func CreateListSubnetsResponse() (response *ListSubnetsResponse)

CreateListSubnetsResponse creates a response to parse from ListSubnets response

type ListVccsRequest

type ListVccsRequest struct {
	*requests.RpcRequest
	CenId      string           `position:"Body" name:"CenId"`
	PageNumber requests.Integer `position:"Body" name:"PageNumber"`
	PageSize   requests.Integer `position:"Body" name:"PageSize"`
	VccId      string           `position:"Body" name:"VccId"`
	Bandwidth  requests.Integer `position:"Body" name:"Bandwidth"`
	ExStatus   string           `position:"Body" name:"ExStatus"`
	VpdId      string           `position:"Body" name:"VpdId"`
	VpcId      string           `position:"Body" name:"VpcId"`
	EnablePage requests.Boolean `position:"Body" name:"EnablePage"`
	Status     string           `position:"Body" name:"Status"`
}

ListVccsRequest is the request struct for api ListVccs

func CreateListVccsRequest

func CreateListVccsRequest() (request *ListVccsRequest)

CreateListVccsRequest creates a request to invoke ListVccs API

type ListVccsResponse

type ListVccsResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

ListVccsResponse is the response struct for api ListVccs

func CreateListVccsResponse

func CreateListVccsResponse() (response *ListVccsResponse)

CreateListVccsResponse creates a response to parse from ListVccs response

type ListVpdsRequest

type ListVpdsRequest struct {
	*requests.RpcRequest
	PageNumber     requests.Integer `position:"Body" name:"PageNumber"`
	WithDependence requests.Boolean `position:"Body" name:"WithDependence"`
	WithoutVcc     requests.Boolean `position:"Body" name:"WithoutVcc"`
	PageSize       requests.Integer `position:"Body" name:"PageSize"`
	ForSelect      requests.Boolean `position:"Body" name:"ForSelect"`
	FilterErId     string           `position:"Body" name:"FilterErId"`
	VpdId          string           `position:"Body" name:"VpdId"`
	EnablePage     requests.Boolean `position:"Body" name:"EnablePage"`
	Name           string           `position:"Body" name:"Name"`
	Status         string           `position:"Body" name:"Status"`
}

ListVpdsRequest is the request struct for api ListVpds

func CreateListVpdsRequest

func CreateListVpdsRequest() (request *ListVpdsRequest)

CreateListVpdsRequest creates a request to invoke ListVpds API

type ListVpdsResponse

type ListVpdsResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

ListVpdsResponse is the response struct for api ListVpds

func CreateListVpdsResponse

func CreateListVpdsResponse() (response *ListVpdsResponse)

CreateListVpdsResponse creates a response to parse from ListVpds response

type SubnetIds

type SubnetIds struct {
	SubnetId []string `json:"SubnetId" xml:"SubnetId"`
}

SubnetIds is a nested struct in eflo response

type UpdateSubnetRequest

type UpdateSubnetRequest struct {
	*requests.RpcRequest
	SubnetId    string `position:"Body" name:"SubnetId"`
	Description string `position:"Body" name:"Description"`
	VpdId       string `position:"Body" name:"VpdId"`
	Name        string `position:"Body" name:"Name"`
	ZoneId      string `position:"Body" name:"ZoneId"`
}

UpdateSubnetRequest is the request struct for api UpdateSubnet

func CreateUpdateSubnetRequest

func CreateUpdateSubnetRequest() (request *UpdateSubnetRequest)

CreateUpdateSubnetRequest creates a request to invoke UpdateSubnet API

type UpdateSubnetResponse

type UpdateSubnetResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

UpdateSubnetResponse is the response struct for api UpdateSubnet

func CreateUpdateSubnetResponse

func CreateUpdateSubnetResponse() (response *UpdateSubnetResponse)

CreateUpdateSubnetResponse creates a response to parse from UpdateSubnet response

type UpdateVccRequest

type UpdateVccRequest struct {
	*requests.RpcRequest
	Bandwidth requests.Integer `position:"Body" name:"Bandwidth"`
	OrderId   string           `position:"Body" name:"OrderId"`
	VccName   string           `position:"Body" name:"VccName"`
	VccId     string           `position:"Body" name:"VccId"`
}

UpdateVccRequest is the request struct for api UpdateVcc

func CreateUpdateVccRequest

func CreateUpdateVccRequest() (request *UpdateVccRequest)

CreateUpdateVccRequest creates a request to invoke UpdateVcc API

type UpdateVccResponse

type UpdateVccResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

UpdateVccResponse is the response struct for api UpdateVcc

func CreateUpdateVccResponse

func CreateUpdateVccResponse() (response *UpdateVccResponse)

CreateUpdateVccResponse creates a response to parse from UpdateVcc response

type UpdateVpdRequest

type UpdateVpdRequest struct {
	*requests.RpcRequest
	Description string `position:"Body" name:"Description"`
	VpdId       string `position:"Body" name:"VpdId"`
	Name        string `position:"Body" name:"Name"`
}

UpdateVpdRequest is the request struct for api UpdateVpd

func CreateUpdateVpdRequest

func CreateUpdateVpdRequest() (request *UpdateVpdRequest)

CreateUpdateVpdRequest creates a request to invoke UpdateVpd API

type UpdateVpdResponse

type UpdateVpdResponse struct {
	*responses.BaseResponse
	Code      int     `json:"Code" xml:"Code"`
	Message   string  `json:"Message" xml:"Message"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Content   Content `json:"Content" xml:"Content"`
}

UpdateVpdResponse is the response struct for api UpdateVpd

func CreateUpdateVpdResponse

func CreateUpdateVpdResponse() (response *UpdateVpdResponse)

CreateUpdateVpdResponse creates a response to parse from UpdateVpd response

type VpdBaseInfo

type VpdBaseInfo struct {
	Name      string `json:"Name" xml:"Name"`
	GmtCreate string `json:"GmtCreate" xml:"GmtCreate"`
	Cidr      string `json:"Cidr" xml:"Cidr"`
	VpdId     string `json:"VpdId" xml:"VpdId"`
}

VpdBaseInfo is a nested struct in eflo response

Jump to

Keyboard shortcuts

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