Documentation ¶
Index ¶
- type BatchCreateSubNetworkInterfaceOption
- type BatchCreateSubNetworkInterfaceV3Request
- type BatchCreateSubNetworkInterfaceV3RequestBody
- type BatchCreateSubNetworkInterfaceV3Response
- type CreateSubNetworkInterfaceOption
- type CreateSubNetworkInterfaceRequest
- type CreateSubNetworkInterfaceRequestBody
- type CreateSubNetworkInterfaceResponse
- type DeleteSubNetworkInterfaceRequest
- type DeleteSubNetworkInterfaceResponse
- type ListSubNetworkInterfacesRequest
- type ListSubNetworkInterfacesResponse
- type PageInfo
- type ShowSubNetworkInterfaceRequest
- type ShowSubNetworkInterfaceResponse
- type ShowSubNetworkInterfacesQuantityRequest
- type ShowSubNetworkInterfacesQuantityResponse
- type SubNetworkInterface
- type UpdateSubNetworkInterfaceOption
- type UpdateSubNetworkInterfaceRequest
- type UpdateSubNetworkInterfaceRequestBody
- type UpdateSubNetworkInterfaceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCreateSubNetworkInterfaceOption ¶
type BatchCreateSubNetworkInterfaceOption struct { // 功能说明:虚拟子网ID 取值范围:标准UUID VirsubnetId string `json:"virsubnet_id"` // 功能说明:宿主网络接口的ID 取值范围:标注UUID 约束:必须是实际存在的端口ID ParentId string `json:"parent_id"` // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] 取值范围:默认值为系统默认安全组 SecurityGroups []string `json:"security_groups,omitempty"` // 功能说明:辅助弹性网卡的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:辅助弹性网卡是否启用ipv6地址 取值范围:true(开启),false(关闭) 默认值:false Ipv6Enable *bool `json:"ipv6_enable,omitempty"` // 功能说明:辅助弹性网卡所属的项目ID 取值范围:标准UUID 约束:只有管理员有权限指定 ProjectId *string `json:"project_id,omitempty"` }
func (BatchCreateSubNetworkInterfaceOption) String ¶
func (o BatchCreateSubNetworkInterfaceOption) String() string
type BatchCreateSubNetworkInterfaceV3Request ¶
type BatchCreateSubNetworkInterfaceV3Request struct {
Body *BatchCreateSubNetworkInterfaceV3RequestBody `json:"body,omitempty"`
}
Request Object
func (BatchCreateSubNetworkInterfaceV3Request) String ¶
func (o BatchCreateSubNetworkInterfaceV3Request) String() string
type BatchCreateSubNetworkInterfaceV3RequestBody ¶
type BatchCreateSubNetworkInterfaceV3RequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建辅助弹性网卡。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建辅助弹性网卡。 DryRun *bool `json:"dry_run,omitempty"` SubNetworkInterface *BatchCreateSubNetworkInterfaceOption `json:"sub_network_interface"` // 批量创建辅助弹性网卡的个数 Count int32 `json:"count"` }
This is a auto create Body Object
func (BatchCreateSubNetworkInterfaceV3RequestBody) String ¶
func (o BatchCreateSubNetworkInterfaceV3RequestBody) String() string
type BatchCreateSubNetworkInterfaceV3Response ¶
type BatchCreateSubNetworkInterfaceV3Response struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 批量创建辅助弹性网卡的响应体 SubNetworkInterfaces []SubNetworkInterface `json:"sub_network_interfaces,omitempty"` }
Response Object
func (BatchCreateSubNetworkInterfaceV3Response) String ¶
func (o BatchCreateSubNetworkInterfaceV3Response) String() string
type CreateSubNetworkInterfaceOption ¶
type CreateSubNetworkInterfaceOption struct { // 功能说明:虚拟子网ID 取值范围:标准UUID VirsubnetId string `json:"virsubnet_id"` // 功能说明:辅助弹性网卡的VLAN ID 取值范围:1-4094 约束:同一个宿主网络接口下唯一 VlanId *string `json:"vlan_id,omitempty"` // 功能说明:宿主网络接口的ID 取值范围:标准UUID 约束:必须是实际存在的端口ID ParentId string `json:"parent_id"` // 功能说明:辅助弹性网卡的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:辅助弹性网卡是否启用ipv6地址 取值范围:true(开启),false(关闭) 默认值:false Ipv6Enable *bool `json:"ipv6_enable,omitempty"` // 功能说明:辅助弹性网卡的私有IPv4地址 取值范围:必须在虚拟子网的网段内,不填则随机在虚拟子网网段内随机分配 PrivateIpAddress *string `json:"private_ip_address,omitempty"` // 功能说明:辅助弹性网卡的IPv6地址 取值范围:不填则随机分配 Ipv6IpAddress *string `json:"ipv6_ip_address,omitempty"` // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] 取值范围:默认值为系统默认安全组 SecurityGroups []string `json:"security_groups,omitempty"` // 功能说明:辅助弹性网卡所属的项目ID 取值范围:标准UUID 约束:只有管理员有权限指定 ProjectId *string `json:"project_id,omitempty"` }
func (CreateSubNetworkInterfaceOption) String ¶
func (o CreateSubNetworkInterfaceOption) String() string
type CreateSubNetworkInterfaceRequest ¶
type CreateSubNetworkInterfaceRequest struct {
Body *CreateSubNetworkInterfaceRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateSubNetworkInterfaceRequest) String ¶
func (o CreateSubNetworkInterfaceRequest) String() string
type CreateSubNetworkInterfaceRequestBody ¶
type CreateSubNetworkInterfaceRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建辅助弹性网卡。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建辅助弹性网卡。 DryRun *bool `json:"dry_run,omitempty"` SubNetworkInterface *CreateSubNetworkInterfaceOption `json:"sub_network_interface"` }
This is a auto create Body Object
func (CreateSubNetworkInterfaceRequestBody) String ¶
func (o CreateSubNetworkInterfaceRequestBody) String() string
type CreateSubNetworkInterfaceResponse ¶
type CreateSubNetworkInterfaceResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SubNetworkInterface *SubNetworkInterface `json:"sub_network_interface,omitempty"` }
Response Object
func (CreateSubNetworkInterfaceResponse) String ¶
func (o CreateSubNetworkInterfaceResponse) String() string
type DeleteSubNetworkInterfaceRequest ¶
type DeleteSubNetworkInterfaceRequest struct {
SubNetworkInterfaceId string `json:"sub_network_interface_id"`
}
Request Object
func (DeleteSubNetworkInterfaceRequest) String ¶
func (o DeleteSubNetworkInterfaceRequest) String() string
type DeleteSubNetworkInterfaceResponse ¶
type DeleteSubNetworkInterfaceResponse struct { }
Response Object
func (DeleteSubNetworkInterfaceResponse) String ¶
func (o DeleteSubNetworkInterfaceResponse) String() string
type ListSubNetworkInterfacesRequest ¶
type ListSubNetworkInterfacesRequest struct { Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Id []string `json:"id,omitempty"` VirsubnetId []string `json:"virsubnet_id,omitempty"` PrivateIpAddress []string `json:"private_ip_address,omitempty"` MacAddress []string `json:"mac_address,omitempty"` VpcId []string `json:"vpc_id,omitempty"` Description []string `json:"description,omitempty"` ParentId []string `json:"parent_id,omitempty"` }
Request Object
func (ListSubNetworkInterfacesRequest) String ¶
func (o ListSubNetworkInterfacesRequest) String() string
type ListSubNetworkInterfacesResponse ¶
type ListSubNetworkInterfacesResponse struct { // 1、功能说明:请求ID 2、取值范围:标准UUID 3、约束:N/A 4、默认值:N/A 5、权限:N/A RequestId *string `json:"request_id,omitempty"` // 1、功能说明:辅助弹性网卡查询对象 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A SubNetworkInterfaces []SubNetworkInterface `json:"sub_network_interfaces,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` }
Response Object
func (ListSubNetworkInterfacesResponse) String ¶
func (o ListSubNetworkInterfacesResponse) String() string
type PageInfo ¶
type ShowSubNetworkInterfaceRequest ¶
type ShowSubNetworkInterfaceRequest struct {
SubNetworkInterfaceId string `json:"sub_network_interface_id"`
}
Request Object
func (ShowSubNetworkInterfaceRequest) String ¶
func (o ShowSubNetworkInterfaceRequest) String() string
type ShowSubNetworkInterfaceResponse ¶
type ShowSubNetworkInterfaceResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SubNetworkInterface *SubNetworkInterface `json:"sub_network_interface,omitempty"` }
Response Object
func (ShowSubNetworkInterfaceResponse) String ¶
func (o ShowSubNetworkInterfaceResponse) String() string
type ShowSubNetworkInterfacesQuantityRequest ¶
type ShowSubNetworkInterfacesQuantityRequest struct { }
Request Object
func (ShowSubNetworkInterfacesQuantityRequest) String ¶
func (o ShowSubNetworkInterfacesQuantityRequest) String() string
type ShowSubNetworkInterfacesQuantityResponse ¶
type ShowSubNetworkInterfacesQuantityResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 辅助弹性网卡数目 SubNetworkInterfaces *int32 `json:"sub_network_interfaces,omitempty"` }
Response Object
func (ShowSubNetworkInterfacesQuantityResponse) String ¶
func (o ShowSubNetworkInterfacesQuantityResponse) String() string
type SubNetworkInterface ¶
type SubNetworkInterface struct { // 功能说明:辅助弹性网卡的唯一标识 取值范围:带(-)的标准UUID Id string `json:"id"` // 功能说明:虚拟子网ID 取值范围:标准UUID VirsubnetId string `json:"virsubnet_id"` // 功能说明:辅助弹性网卡的私有IPv4地址 取值范围:必须在虚拟子网的网段内,不填则随机在虚拟子网网段内随机分配 PrivateIpAddress string `json:"private_ip_address"` // 功能说明:辅助弹性网卡的IPv6地址 Ipv6IpAddress string `json:"ipv6_ip_address"` // 功能说明:辅助弹性网卡的mac地址 取值范围:合法的mac地址,系统随机分配 MacAddress string `json:"mac_address"` // 功能说明:设备ID 取值范围:标准UUID ParentDeviceId string `json:"parent_device_id"` // 功能说明:宿主网络接口的ID 取值范围:标准UUID ParentId string `json:"parent_id"` // 功能说明:辅助弹性网卡的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description string `json:"description"` // 功能说明:辅助弹性网卡所属的VPC_ID 取值范围:标准UUID VpcId string `json:"vpc_id"` // 功能说明:辅助弹性网卡的VLAN ID 取值范围:1-4094 约束:同一个宿主网络接口下唯一 VlanId int32 `json:"vlan_id"` // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] 取值范围:默认值为系统默认安全组 SecurityGroups []string `json:"security_groups"` // 功能说明:辅助弹性网卡的标签列表 Tags []string `json:"tags"` // 功能说明:辅助弹性网卡所属项目ID ProjectId string `json:"project_id"` // 功能说明:辅助弹性网卡的创建时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss CreatedAt *sdktime.SdkTime `json:"created_at"` }
func (SubNetworkInterface) String ¶
func (o SubNetworkInterface) String() string
type UpdateSubNetworkInterfaceOption ¶
type UpdateSubNetworkInterfaceOption struct { // 功能说明:辅助弹性网卡的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] SecurityGroups []string `json:"security_groups,omitempty"` }
func (UpdateSubNetworkInterfaceOption) String ¶
func (o UpdateSubNetworkInterfaceOption) String() string
type UpdateSubNetworkInterfaceRequest ¶
type UpdateSubNetworkInterfaceRequest struct { SubNetworkInterfaceId string `json:"sub_network_interface_id"` Body *UpdateSubNetworkInterfaceRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateSubNetworkInterfaceRequest) String ¶
func (o UpdateSubNetworkInterfaceRequest) String() string
type UpdateSubNetworkInterfaceRequestBody ¶
type UpdateSubNetworkInterfaceRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会更新辅助弹性网卡。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接更新辅助弹性网卡。 DryRun *bool `json:"dry_run,omitempty"` SubNetworkInterface *UpdateSubNetworkInterfaceOption `json:"sub_network_interface"` }
This is a auto create Body Object
func (UpdateSubNetworkInterfaceRequestBody) String ¶
func (o UpdateSubNetworkInterfaceRequestBody) String() string
type UpdateSubNetworkInterfaceResponse ¶
type UpdateSubNetworkInterfaceResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SubNetworkInterface *SubNetworkInterface `json:"sub_network_interface,omitempty"` }
Response Object
func (UpdateSubNetworkInterfaceResponse) String ¶
func (o UpdateSubNetworkInterfaceResponse) String() string
Source Files ¶
- model_batch_create_sub_network_interface_option.go
- model_batch_create_sub_network_interface_v3_request.go
- model_batch_create_sub_network_interface_v3_request_body.go
- model_batch_create_sub_network_interface_v3_response.go
- model_create_sub_network_interface_option.go
- model_create_sub_network_interface_request.go
- model_create_sub_network_interface_request_body.go
- model_create_sub_network_interface_response.go
- model_delete_sub_network_interface_request.go
- model_delete_sub_network_interface_response.go
- model_list_sub_network_interfaces_request.go
- model_list_sub_network_interfaces_response.go
- model_page_info.go
- model_show_sub_network_interface_request.go
- model_show_sub_network_interface_response.go
- model_show_sub_network_interfaces_quantity_request.go
- model_show_sub_network_interfaces_quantity_response.go
- model_sub_network_interface.go
- model_update_sub_network_interface_option.go
- model_update_sub_network_interface_request.go
- model_update_sub_network_interface_request_body.go
- model_update_sub_network_interface_response.go
Click to show internal directories.
Click to hide internal directories.