Documentation
¶
Index ¶
- Constants
- type AddPrivateNetworkRequest
- type AddPrivateNetworkResponse
- type AddPublicIpRequest
- type AddPublicIpResponse
- type AddPublicNetworkRequest
- type AddPublicNetworkResponse
- type AddVdcRequest
- type AddVdcResponse
- type Client
- func (c *Client) AddPrivateNetwork(request *AddPrivateNetworkRequest) (response *AddPrivateNetworkResponse, err error)
- func (c *Client) AddPublicIpNetwork(request *AddPublicIpRequest) (response *AddPublicIpResponse, err error)
- func (c *Client) AddPublicNetwork(request *AddPublicNetworkRequest) (response *AddPublicNetworkResponse, err error)
- func (c *Client) CreatePublicNetwork(request *CreatePublicNetworkRequest) (response *CreatePublicNetworkResponse, err error)
- func (c *Client) CreateVdc(request *AddVdcRequest) (response *AddVdcResponse, err error)
- func (c *Client) DeletePrivateNetwork(request *DeletePrivateNetworkRequest) (response *DeletePrivateNetworkResponse, err error)
- func (c *Client) DeletePublicIpNetwork(request *DeletePublicIpRequest) (*DeletePublicIpResponse, error)
- func (c *Client) DeletePublicNetwork(request *DeletePublicNetworkRequest) (response *DeletePublicNetworkResponse, err error)
- func (c *Client) DeleteVdc(request *DeleteVdcRequest) (response *DeleteVdcResponse, err error)
- func (c *Client) DescribeVdc(request *DescVdcRequest) (response *DescVdcResponse, err error)
- func (c *Client) ModifyPublicNetwork(request *ModifyPublicNetworkRequest) (response *ModifyPublicNetworkResponse, err error)
- func (c *Client) ModifyVdcName(request *ModifyVdcNameRequest) (response *ModifyVdcNameResponse, err error)
- func (c *Client) RenewPublicNetwork(request *RenewPublicNetworkRequest) (response *RenewPublicNetworkResponse, err error)
- type CreatePublicNetworkRequest
- type CreatePublicNetworkResponse
- type DeletePrivateNetworkRequest
- type DeletePrivateNetworkResponse
- type DeletePublicIpRequest
- type DeletePublicIpResponse
- type DeletePublicNetworkRequest
- type DeletePublicNetworkResponse
- type DeleteVdcRequest
- type DeleteVdcResponse
- type DescVdcData
- type DescVdcRequest
- type DescVdcResponse
- type ModifyPublicNetworkRequest
- type ModifyPublicNetworkResponse
- type ModifyVdcNameRequest
- type ModifyVdcNameResponse
- type PrivateNetwork
- type PublicNetwork
- type PublicNetworkInfo
- type PublicSegment
- type RenewPublicNetworkRequest
- type RenewPublicNetworkResponse
Constants ¶
View Source
const ApiVersion = "2019-08-08"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPrivateNetworkRequest ¶
type AddPrivateNetworkRequest struct {
*cdshttp.BaseRequest
VdcId *string `json:"VdcId,omitempty"`
Name *string `json:"Name,omitempty"`
Type *string `json:"Type,omitempty"`
Addres *string `json:"Address,omitempty"`
Mask *int `json:"Mask,omitempty"`
}
Create Private Network Request
func NewAddPrivateNetworkRequest ¶
func NewAddPrivateNetworkRequest() (request *AddPrivateNetworkRequest)
func (*AddPrivateNetworkRequest) FromJsonString ¶
func (r *AddPrivateNetworkRequest) FromJsonString(s string) error
func (*AddPrivateNetworkRequest) ToJsonString ¶
func (r *AddPrivateNetworkRequest) ToJsonString() string
type AddPrivateNetworkResponse ¶
type AddPrivateNetworkResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
TaskId *string `json:"TaskId"`
}
Create Private Network Reponse
func NewAddPrivateNetworkResponse ¶
func NewAddPrivateNetworkResponse() (response *AddPrivateNetworkResponse)
func (*AddPrivateNetworkResponse) FromJsonString ¶
func (r *AddPrivateNetworkResponse) FromJsonString(s string) error
func (*AddPrivateNetworkResponse) ToJsonString ¶
func (r *AddPrivateNetworkResponse) ToJsonString() string
type AddPublicIpRequest ¶
type AddPublicIpRequest struct {
*cdshttp.BaseRequest
PublicId *string `json:"PublicId" name:"PublicId"`
Number *int `json:"Number" name:"Number"`
}
Add Public Ip Network Request
func NewAddPublicIpRequest ¶
func NewAddPublicIpRequest() (request *AddPublicIpRequest)
func (*AddPublicIpRequest) FromJsonString ¶
func (r *AddPublicIpRequest) FromJsonString(s string) error
func (*AddPublicIpRequest) ToJsonString ¶
func (r *AddPublicIpRequest) ToJsonString() string
type AddPublicIpResponse ¶
type AddPublicIpResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
Message *string `json:"Message"`
TaskId *string `json:"TaskId"`
}
func NewAddPublicIpResponse ¶
func NewAddPublicIpResponse() (response *AddPublicIpResponse)
func (*AddPublicIpResponse) FromJsonString ¶
func (r *AddPublicIpResponse) FromJsonString(s string) error
func (*AddPublicIpResponse) ToJsonString ¶
func (r *AddPublicIpResponse) ToJsonString() string
type AddPublicNetworkRequest ¶
type AddPublicNetworkRequest struct {
*cdshttp.BaseRequest
VdcId *string `json:"VdcId,omitempty"`
Name *string `json:"Name,omitempty" tf:"name"`
Type *string `json:"Type,omitempty" tf:"type"`
BillingMethod *string `json:"BillingMethod,omitempty" tf:billingmethod"`
Qos *int `json:"Qos,omitempty" tf:"qos"`
IPNum *int `json:"IPNum,omitempty" tf:"ipnum"`
AutoRenew *int `json:"AutoRenew,omitempty" tf:"autorenew"`
FloatBandwidth *int `json:"FloatBandwidth,omitempty" tf:"floatbandwidth"`
}
Create Public Network Request
func NewAddPublicNetworkRequest ¶
func NewAddPublicNetworkRequest() (request *AddPublicNetworkRequest)
type AddPublicNetworkResponse ¶
type AddPublicNetworkResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
TaskId *string `json:"TaskId"`
}
Create Public Network Reponse
func NewAddPublicNetworkResponse ¶
func NewAddPublicNetworkResponse() (response *AddPublicNetworkResponse)
type AddVdcRequest ¶
type AddVdcRequest struct {
*cdshttp.BaseRequest
RegionId *string `json:"RegionId" name:"RegionId"`
VdcName *string `json:"VdcName" name:"VdcName"`
PublicNetwork *PublicNetwork `json:"PublicNetwork,omitempty" name:"PublicNetwork"`
SubjectId *int `json:"SubjectId,omitempty" name:"SubjectId"`
}
Create VDC Request
func NewAddVdcRequest ¶
func NewAddVdcRequest() (request *AddVdcRequest)
func (*AddVdcRequest) FromJsonString ¶
func (r *AddVdcRequest) FromJsonString(s string) error
func (*AddVdcRequest) ToJsonString ¶
func (r *AddVdcRequest) ToJsonString() string
type AddVdcResponse ¶
type AddVdcResponse struct {
*cdshttp.BaseResponse
Message *string `json:"Message,omitempty" name:"Message"`
Code *string `json:"Code,omitempty" name:"Code"`
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}
Create VDC Reponse
func NewAddVdcResponse ¶
func NewAddVdcResponse() (response *AddVdcResponse)
func (*AddVdcResponse) FromJsonString ¶
func (r *AddVdcResponse) FromJsonString(s string) error
func (*AddVdcResponse) ToJsonString ¶
func (r *AddVdcResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func (*Client) AddPrivateNetwork ¶
func (c *Client) AddPrivateNetwork(request *AddPrivateNetworkRequest) (response *AddPrivateNetworkResponse, err error)
func (*Client) AddPublicIpNetwork ¶
func (c *Client) AddPublicIpNetwork(request *AddPublicIpRequest) (response *AddPublicIpResponse, err error)
func (*Client) AddPublicNetwork ¶
func (c *Client) AddPublicNetwork(request *AddPublicNetworkRequest) (response *AddPublicNetworkResponse, err error)
func (*Client) CreatePublicNetwork ¶ added in v0.3.6
func (c *Client) CreatePublicNetwork(request *CreatePublicNetworkRequest) (response *CreatePublicNetworkResponse, err error)
func (*Client) CreateVdc ¶
func (c *Client) CreateVdc(request *AddVdcRequest) (response *AddVdcResponse, err error)
func (*Client) DeletePrivateNetwork ¶
func (c *Client) DeletePrivateNetwork(request *DeletePrivateNetworkRequest) (response *DeletePrivateNetworkResponse, err error)
func (*Client) DeletePublicIpNetwork ¶ added in v0.2.5
func (c *Client) DeletePublicIpNetwork(request *DeletePublicIpRequest) (*DeletePublicIpResponse, error)
func (*Client) DeletePublicNetwork ¶
func (c *Client) DeletePublicNetwork(request *DeletePublicNetworkRequest) (response *DeletePublicNetworkResponse, err error)
func (*Client) DeleteVdc ¶
func (c *Client) DeleteVdc(request *DeleteVdcRequest) (response *DeleteVdcResponse, err error)
func (*Client) DescribeVdc ¶
func (c *Client) DescribeVdc(request *DescVdcRequest) (response *DescVdcResponse, err error)
func (*Client) ModifyPublicNetwork ¶
func (c *Client) ModifyPublicNetwork(request *ModifyPublicNetworkRequest) (response *ModifyPublicNetworkResponse, err error)
func (*Client) ModifyVdcName ¶
func (c *Client) ModifyVdcName(request *ModifyVdcNameRequest) (response *ModifyVdcNameResponse, err error)
func (*Client) RenewPublicNetwork ¶
func (c *Client) RenewPublicNetwork(request *RenewPublicNetworkRequest) (response *RenewPublicNetworkResponse, err error)
type CreatePublicNetworkRequest ¶ added in v0.3.6
type CreatePublicNetworkRequest struct {
*cdshttp.BaseRequest
VdcId *string `json:"VdcId,omitempty" name:"VdcId" tf:"VdcId"`
Name *string `json:"Name,omitempty" name:"Name" tf:"name"`
Type *string `json:"Type,omitempty" name:"Type" tf:"type"`
BillingMethod *string `json:"BillingMethod,omitempty" name:"BillingMethod" tf:"billingmethod"`
Qos *int `json:"Qos,omitempty" name:"VQos" tf:"qos"`
IPNum *int `json:"IPNum,omitempty" name:"IPNum" tf:"ipnum"`
AutoRenew *int `json:"AutoRenew,omitempty" name:"AutoRenew" tf:"autorenew"`
FloatBandwidth *int `json:"FloatBandwidth,omitempty" name:"FloatBandwidth" tf:"floatbandwidth"`
SubjectId *int `json:"SubjectId,omitempty" name:"SubjectId"`
}
func NewCreatePublicNetworkRequest ¶ added in v0.3.6
func NewCreatePublicNetworkRequest() *CreatePublicNetworkRequest
func (*CreatePublicNetworkRequest) FromJsonString ¶ added in v0.3.6
func (c *CreatePublicNetworkRequest) FromJsonString(s string) error
func (*CreatePublicNetworkRequest) ToJsonString ¶ added in v0.3.6
func (c *CreatePublicNetworkRequest) ToJsonString() string
type CreatePublicNetworkResponse ¶ added in v0.3.6
type CreatePublicNetworkResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
TaskId *string `json:"TaskId"`
}
func NewCreatePublicNetworkResponse ¶ added in v0.3.6
func NewCreatePublicNetworkResponse() (response *CreatePublicNetworkResponse)
func (*CreatePublicNetworkResponse) FromJsonString ¶ added in v0.3.6
func (c *CreatePublicNetworkResponse) FromJsonString(s string) error
func (*CreatePublicNetworkResponse) ToJsonString ¶ added in v0.3.6
func (c *CreatePublicNetworkResponse) ToJsonString() string
type DeletePrivateNetworkRequest ¶
type DeletePrivateNetworkRequest struct {
*cdshttp.BaseRequest
PrivateId *string `json:"PrivateId" name:"PrivateId"`
}
Delete Private Network Request
func NewDeletePrivateNetworkRequest ¶
func NewDeletePrivateNetworkRequest() (request *DeletePrivateNetworkRequest)
func (*DeletePrivateNetworkRequest) FromJsonString ¶
func (r *DeletePrivateNetworkRequest) FromJsonString(s string) error
func (*DeletePrivateNetworkRequest) ToJsonString ¶
func (r *DeletePrivateNetworkRequest) ToJsonString() string
type DeletePrivateNetworkResponse ¶
type DeletePrivateNetworkResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
TaskId *string `json:"TaskId"`
}
Delete Private Network Response
func NewDeletePrivateNetworkResponse ¶
func NewDeletePrivateNetworkResponse() (response *DeletePrivateNetworkResponse)
func (*DeletePrivateNetworkResponse) FromJsonString ¶
func (r *DeletePrivateNetworkResponse) FromJsonString(s string) error
func (*DeletePrivateNetworkResponse) ToJsonString ¶
func (r *DeletePrivateNetworkResponse) ToJsonString() string
type DeletePublicIpRequest ¶ added in v0.2.5
type DeletePublicIpRequest struct {
*cdshttp.BaseRequest
SegmentId string `json:"SegmentId" name:"SegmentId"`
}
func NewDeletePublicIpRequest ¶ added in v0.2.5
func NewDeletePublicIpRequest() *DeletePublicIpRequest
func (*DeletePublicIpRequest) FromJsonString ¶ added in v0.2.5
func (r *DeletePublicIpRequest) FromJsonString(s string) error
func (*DeletePublicIpRequest) ToJsonString ¶ added in v0.2.5
func (r *DeletePublicIpRequest) ToJsonString() string
type DeletePublicIpResponse ¶ added in v0.2.5
type DeletePublicIpResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code" name:"Code"`
Message *string `json:"Message" name:"Message"`
Data interface{} `json:"Data" name:"Data"`
TaskId *string `json:"TaskId" name:"TaskId"`
}
func NewDeletePublicIpResponse ¶ added in v0.2.5
func NewDeletePublicIpResponse() *DeletePublicIpResponse
func (*DeletePublicIpResponse) FromJsonString ¶ added in v0.2.5
func (r *DeletePublicIpResponse) FromJsonString(s string) error
func (*DeletePublicIpResponse) ToJsonString ¶ added in v0.2.5
func (r *DeletePublicIpResponse) ToJsonString() string
type DeletePublicNetworkRequest ¶
type DeletePublicNetworkRequest struct {
*cdshttp.BaseRequest
PublicId *string `json:"PublicId" name:"PublicId"`
}
Delete Public Network Request
func NewDeletePublicNetworkRequest ¶
func NewDeletePublicNetworkRequest() (request *DeletePublicNetworkRequest)
func (*DeletePublicNetworkRequest) FromJsonString ¶
func (r *DeletePublicNetworkRequest) FromJsonString(s string) error
func (*DeletePublicNetworkRequest) ToJsonString ¶
func (r *DeletePublicNetworkRequest) ToJsonString() string
type DeletePublicNetworkResponse ¶
type DeletePublicNetworkResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
TaskId *string `json:"TaskId"`
}
Delete Public Network Response
func NewDeletePublicNetworkResponse ¶
func NewDeletePublicNetworkResponse() (response *DeletePublicNetworkResponse)
func (*DeletePublicNetworkResponse) FromJsonString ¶
func (r *DeletePublicNetworkResponse) FromJsonString(s string) error
func (*DeletePublicNetworkResponse) ToJsonString ¶
func (r *DeletePublicNetworkResponse) ToJsonString() string
type DeleteVdcRequest ¶
type DeleteVdcRequest struct {
*cdshttp.BaseRequest
VdcId *string `json:"VdcId" name:"VdcId"`
}
Delete VDC Request
func NewDeleteVdcRequest ¶
func NewDeleteVdcRequest() (request *DeleteVdcRequest)
func (*DeleteVdcRequest) FromJsonString ¶
func (r *DeleteVdcRequest) FromJsonString(s string) error
func (*DeleteVdcRequest) ToJsonString ¶
func (r *DeleteVdcRequest) ToJsonString() string
type DeleteVdcResponse ¶
type DeleteVdcResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
TaskId *string `json:"TaskId"`
}
Delete VDC Reponse
func NewDeleteVdcResponse ¶
func NewDeleteVdcResponse() (response *DeleteVdcResponse)
func (*DeleteVdcResponse) FromJsonString ¶
func (r *DeleteVdcResponse) FromJsonString(s string) error
func (*DeleteVdcResponse) ToJsonString ¶
func (r *DeleteVdcResponse) ToJsonString() string
type DescVdcData ¶
type DescVdcData struct {
VdcId *string `json:"VdcId" name:"VdcId"`
VdcName *string `json:"VdcName" name:"VdcName"`
RegionId *string `json:"RegionId" name:"RegionId"`
VdcStatus *string `json:"VdcStatus" name:"VdcStatus"`
PrivateNetwork []*PrivateNetwork `json:"PrivateNetwork" name:"PrivateNetwork"`
PublicNetwork []*PublicNetworkInfo `json:"PublicNetwork" name:"PublicNetwork"`
}
func (*DescVdcData) FromJsonString ¶
func (r *DescVdcData) FromJsonString(s string) error
func (*DescVdcData) ToJsonString ¶
func (r *DescVdcData) ToJsonString() string
type DescVdcRequest ¶
type DescVdcRequest struct {
*cdshttp.BaseRequest
VdcId *string `json:"VdcId" name:"VdcId"`
RegionId *string `json:"RegionId" name:"RegionId"`
Keyword *string `json:"Keyword" name:"Keyword"`
PageNumber *int `json:"PageNumber" name:"PageNumber"`
PageSize *int `json:"PageSize" name:"PageSize"`
}
Describe VDC Request
func DescribeVdcRequest ¶
func DescribeVdcRequest() (request *DescVdcRequest)
func (*DescVdcRequest) FromJsonString ¶
func (r *DescVdcRequest) FromJsonString(s string) error
func (*DescVdcRequest) ToJsonString ¶
func (r *DescVdcRequest) ToJsonString() string
type DescVdcResponse ¶
type DescVdcResponse struct {
*cdshttp.BaseResponse
Message *string `json:"Message"`
Code *string `json:"Code"`
Data []*DescVdcData `json:"Data"`
}
Describe VDC Reponse
func DescribeVdcResponse ¶
func DescribeVdcResponse() (response *DescVdcResponse)
func (*DescVdcResponse) FromJsonString ¶
func (r *DescVdcResponse) FromJsonString(s string) error
func (*DescVdcResponse) ToJsonString ¶
func (r *DescVdcResponse) ToJsonString() string
type ModifyPublicNetworkRequest ¶
type ModifyPublicNetworkRequest struct {
*cdshttp.BaseRequest
PublicId *string `json:"PublicId" name:"PublicId"`
Qos *string `json:"Qos" name:"Qos"`
}
Modify Public Network Request
func NewModifyPublicNetworkRequest ¶
func NewModifyPublicNetworkRequest() (request *ModifyPublicNetworkRequest)
func (*ModifyPublicNetworkRequest) FromJsonString ¶
func (r *ModifyPublicNetworkRequest) FromJsonString(s string) error
func (*ModifyPublicNetworkRequest) ToJsonString ¶
func (r *ModifyPublicNetworkRequest) ToJsonString() string
type ModifyPublicNetworkResponse ¶
type ModifyPublicNetworkResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
TaskId *string `json:"TaskId"`
}
func NewModifyPublicNetworkResponse ¶
func NewModifyPublicNetworkResponse() (response *ModifyPublicNetworkResponse)
func (*ModifyPublicNetworkResponse) FromJsonString ¶
func (r *ModifyPublicNetworkResponse) FromJsonString(s string) error
func (*ModifyPublicNetworkResponse) ToJsonString ¶
func (r *ModifyPublicNetworkResponse) ToJsonString() string
type ModifyVdcNameRequest ¶
type ModifyVdcNameRequest struct {
*cdshttp.BaseRequest
VdcId *string `json:"VdcId" name:"VdcId"`
VdcName *string `json:"VdcName" name:"VdcName"`
}
Modify VDC Name Request
func NewModifyVdcNameRequest ¶
func NewModifyVdcNameRequest() (request *ModifyVdcNameRequest)
func (*ModifyVdcNameRequest) FromJsonString ¶
func (r *ModifyVdcNameRequest) FromJsonString(s string) error
func (*ModifyVdcNameRequest) ToJsonString ¶
func (r *ModifyVdcNameRequest) ToJsonString() string
type ModifyVdcNameResponse ¶
type ModifyVdcNameResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
TaskId *string `json:"TaskId"`
}
Modify VDC Name Reponse
func NewModifyVdcNameResponse ¶
func NewModifyVdcNameResponse() (response *ModifyVdcNameResponse)
func (*ModifyVdcNameResponse) FromJsonString ¶
func (r *ModifyVdcNameResponse) FromJsonString(s string) error
func (*ModifyVdcNameResponse) ToJsonString ¶
func (r *ModifyVdcNameResponse) ToJsonString() string
type PrivateNetwork ¶
type PrivateNetwork struct {
PrivateId *string `json:"PrivateId" name:"PrivateId"`
Status *string `json:"Status" name:"Status"`
Name *string `json:"Name" name:"Name"`
UnuseIpNum *int `json:"UnuseIpNum" name:"UnuseIpNum"`
Segments *[]string `json:"Segments" name:"Segments"`
}
func (*PrivateNetwork) FromJsonString ¶
func (r *PrivateNetwork) FromJsonString(s string) error
func (*PrivateNetwork) ToJsonString ¶
func (r *PrivateNetwork) ToJsonString() string
type PublicNetwork ¶
type PublicNetwork struct {
Name *string `json:"Name,omitempty" name:"Name" tf:"name"`
Type *string `json:"Type,omitempty" name:"Type" tf:"type"`
BillingMethod *string `json:"BillingMethod,omitempty" name:"BillingMethod" tf:"billingmethod"`
//BandwIdth *string `json:"BandwIdth,omitempty" name:"BandwIdth"`
Qos *int `json:"Qos,omitempty" name:"VQos" tf:"qos"`
IPNum *int `json:"IPNum,omitempty" name:"IPNum" tf:"ipnum"`
AutoRenew *string `json:"AutoRenew,omitempty" name:"AutoRenew" tf:"autorenew"`
FloatBandwidth *string `json:"FloatBandwidth,omitempty" name:"FloatBandwidth" tf:"floatbandwidth"`
}
type PublicNetworkInfo ¶
type PublicNetworkInfo struct {
PublicId *string `json:"PublicId" name:"PublicId"`
Status *string `json:"Status" name:"Status"`
Qos *int `json:"Qos" name:"Qos"`
Name *string `json:"Name" name:"Name"`
UnuseIpNum *int `json:"UnuseIpNum" name:"UnuseIpNum"`
Segments *[]PublicSegment `json:"Segments" name:"Segments"`
}
func (*PublicNetworkInfo) FromJsonString ¶
func (r *PublicNetworkInfo) FromJsonString(s string) error
func (*PublicNetworkInfo) ToJsonString ¶
func (r *PublicNetworkInfo) ToJsonString() string
type PublicSegment ¶
type PublicSegment struct {
Mask *int `json:"Mask" name:"Mask"`
Gateway *string `json:"Gateway" name:"Gateway"`
SegmentId *string `json:"SegmentId" name:"SegmentId"`
Address *string `json:"Address" name:"Address"`
}
func (*PublicSegment) FromJsonString ¶
func (r *PublicSegment) FromJsonString(s string) error
func (*PublicSegment) ToJsonString ¶
func (r *PublicSegment) ToJsonString() string
type RenewPublicNetworkRequest ¶
type RenewPublicNetworkRequest struct {
*cdshttp.BaseRequest
PublicId *string `json:"PublicId" name:"PublicId"`
AutoRenew *int `json:"AutoRenew" name:"AutoRenew"`
}
Renew public Network Request
func NewRenewPublicNetworkRequest ¶
func NewRenewPublicNetworkRequest() (request *RenewPublicNetworkRequest)
func (*RenewPublicNetworkRequest) FromJsonString ¶
func (r *RenewPublicNetworkRequest) FromJsonString(s string) error
func (*RenewPublicNetworkRequest) ToJsonString ¶
func (r *RenewPublicNetworkRequest) ToJsonString() string
type RenewPublicNetworkResponse ¶
type RenewPublicNetworkResponse struct {
*cdshttp.BaseResponse
Code *string `json:"Code"`
TaskId *string `json:"TaskId"`
}
func NewRenewPublicNetworkResponse ¶
func NewRenewPublicNetworkResponse() (response *RenewPublicNetworkResponse)
func (*RenewPublicNetworkResponse) FromJsonString ¶
func (r *RenewPublicNetworkResponse) FromJsonString(s string) error
func (*RenewPublicNetworkResponse) ToJsonString ¶
func (r *RenewPublicNetworkResponse) ToJsonString() string
Click to show internal directories.
Click to hide internal directories.