Documentation ¶
Index ¶
- type BatchCreateSubNetworkInterfaceOption
- type BatchCreateSubNetworkInterfaceRequest
- type BatchCreateSubNetworkInterfaceRequestBody
- type BatchCreateSubNetworkInterfaceResponse
- type CreateSecurityGroupOption
- type CreateSecurityGroupRequest
- type CreateSecurityGroupRequestBody
- type CreateSecurityGroupResponse
- type CreateSecurityGroupRuleOption
- type CreateSecurityGroupRuleRequest
- type CreateSecurityGroupRuleRequestBody
- type CreateSecurityGroupRuleResponse
- type CreateSubNetworkInterfaceOption
- type CreateSubNetworkInterfaceRequest
- type CreateSubNetworkInterfaceRequestBody
- type CreateSubNetworkInterfaceResponse
- type DeleteSecurityGroupRequest
- type DeleteSecurityGroupResponse
- type DeleteSecurityGroupRuleRequest
- type DeleteSecurityGroupRuleResponse
- type DeleteSubNetworkInterfaceRequest
- type DeleteSubNetworkInterfaceResponse
- type ListSecurityGroupRulesRequest
- type ListSecurityGroupRulesResponse
- type ListSecurityGroupsRequest
- type ListSecurityGroupsResponse
- type ListSubNetworkInterfacesRequest
- type ListSubNetworkInterfacesResponse
- type PageInfo
- type SecurityGroup
- type SecurityGroupInfo
- type SecurityGroupRule
- type ShowSecurityGroupRequest
- type ShowSecurityGroupResponse
- type ShowSecurityGroupRuleRequest
- type ShowSecurityGroupRuleResponse
- type ShowSubNetworkInterfaceRequest
- type ShowSubNetworkInterfaceResponse
- type ShowSubNetworkInterfacesQuantityRequest
- type ShowSubNetworkInterfacesQuantityResponse
- type SubNetworkInterface
- type UpdateSecurityGroupOption
- type UpdateSecurityGroupRequest
- type UpdateSecurityGroupRequestBody
- type UpdateSecurityGroupResponse
- 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 { VirsubnetId string `json:"virsubnet_id"` ParentId string `json:"parent_id"` SecurityGroups *[]string `json:"security_groups,omitempty"` Description *string `json:"description,omitempty"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` ProjectId *string `json:"project_id,omitempty"` }
func (BatchCreateSubNetworkInterfaceOption) String ¶
func (o BatchCreateSubNetworkInterfaceOption) String() string
type BatchCreateSubNetworkInterfaceRequest ¶
type BatchCreateSubNetworkInterfaceRequest struct {
Body *BatchCreateSubNetworkInterfaceRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchCreateSubNetworkInterfaceRequest) String ¶
func (o BatchCreateSubNetworkInterfaceRequest) String() string
type BatchCreateSubNetworkInterfaceRequestBody ¶
type BatchCreateSubNetworkInterfaceRequestBody struct { DryRun *bool `json:"dry_run,omitempty"` SubNetworkInterface *BatchCreateSubNetworkInterfaceOption `json:"sub_network_interface"` Count int32 `json:"count"` }
This is a auto create Body Object
func (BatchCreateSubNetworkInterfaceRequestBody) String ¶
func (o BatchCreateSubNetworkInterfaceRequestBody) String() string
type BatchCreateSubNetworkInterfaceResponse ¶
type BatchCreateSubNetworkInterfaceResponse struct { RequestId *string `json:"request_id,omitempty"` SubNetworkInterfaces *[]SubNetworkInterface `json:"sub_network_interfaces,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchCreateSubNetworkInterfaceResponse) String ¶
func (o BatchCreateSubNetworkInterfaceResponse) String() string
type CreateSecurityGroupOption ¶
type CreateSecurityGroupOption struct { Name string `json:"name"` Description *string `json:"description,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (CreateSecurityGroupOption) String ¶
func (o CreateSecurityGroupOption) String() string
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct {
Body *CreateSecurityGroupRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateSecurityGroupRequest) String ¶
func (o CreateSecurityGroupRequest) String() string
type CreateSecurityGroupRequestBody ¶
type CreateSecurityGroupRequestBody struct { DryRun *bool `json:"dry_run,omitempty"` SecurityGroup *CreateSecurityGroupOption `json:"security_group"` }
This is a auto create Body Object
func (CreateSecurityGroupRequestBody) String ¶
func (o CreateSecurityGroupRequestBody) String() string
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct { RequestId *string `json:"request_id,omitempty"` SecurityGroup *SecurityGroupInfo `json:"security_group,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSecurityGroupResponse) String ¶
func (o CreateSecurityGroupResponse) String() string
type CreateSecurityGroupRuleOption ¶
type CreateSecurityGroupRuleOption struct { SecurityGroupId string `json:"security_group_id"` Description *string `json:"description,omitempty"` Direction string `json:"direction"` Ethertype *string `json:"ethertype,omitempty"` Protocol *string `json:"protocol,omitempty"` Multiport *string `json:"multiport,omitempty"` RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"` RemoteGroupId *string `json:"remote_group_id,omitempty"` RemoteAddressGroupId *string `json:"remote_address_group_id,omitempty"` Action *string `json:"action,omitempty"` Priority *string `json:"priority,omitempty"` }
func (CreateSecurityGroupRuleOption) String ¶
func (o CreateSecurityGroupRuleOption) String() string
type CreateSecurityGroupRuleRequest ¶
type CreateSecurityGroupRuleRequest struct {
Body *CreateSecurityGroupRuleRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateSecurityGroupRuleRequest) String ¶
func (o CreateSecurityGroupRuleRequest) String() string
type CreateSecurityGroupRuleRequestBody ¶
type CreateSecurityGroupRuleRequestBody struct { DryRun *bool `json:"dry_run,omitempty"` SecurityGroupRule *CreateSecurityGroupRuleOption `json:"security_group_rule"` }
This is a auto create Body Object
func (CreateSecurityGroupRuleRequestBody) String ¶
func (o CreateSecurityGroupRuleRequestBody) String() string
type CreateSecurityGroupRuleResponse ¶
type CreateSecurityGroupRuleResponse struct { RequestId *string `json:"request_id,omitempty"` SecurityGroupRule *SecurityGroupRule `json:"security_group_rule,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSecurityGroupRuleResponse) String ¶
func (o CreateSecurityGroupRuleResponse) String() string
type CreateSubNetworkInterfaceOption ¶
type CreateSubNetworkInterfaceOption struct { VirsubnetId string `json:"virsubnet_id"` VlanId *string `json:"vlan_id,omitempty"` ParentId string `json:"parent_id"` Description *string `json:"description,omitempty"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` PrivateIpAddress *string `json:"private_ip_address,omitempty"` Ipv6IpAddress *string `json:"ipv6_ip_address,omitempty"` SecurityGroups *[]string `json:"security_groups,omitempty"` 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 { 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 { RequestId *string `json:"request_id,omitempty"` SubNetworkInterface *SubNetworkInterface `json:"sub_network_interface,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSubNetworkInterfaceResponse) String ¶
func (o CreateSubNetworkInterfaceResponse) String() string
type DeleteSecurityGroupRequest ¶
type DeleteSecurityGroupRequest struct {
SecurityGroupId string `json:"security_group_id"`
}
Request Object
func (DeleteSecurityGroupRequest) String ¶
func (o DeleteSecurityGroupRequest) String() string
type DeleteSecurityGroupResponse ¶
type DeleteSecurityGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSecurityGroupResponse) String ¶
func (o DeleteSecurityGroupResponse) String() string
type DeleteSecurityGroupRuleRequest ¶
type DeleteSecurityGroupRuleRequest struct {
SecurityGroupRuleId string `json:"security_group_rule_id"`
}
Request Object
func (DeleteSecurityGroupRuleRequest) String ¶
func (o DeleteSecurityGroupRuleRequest) String() string
type DeleteSecurityGroupRuleResponse ¶
type DeleteSecurityGroupRuleResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSecurityGroupRuleResponse) String ¶
func (o DeleteSecurityGroupRuleResponse) 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 {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSubNetworkInterfaceResponse) String ¶
func (o DeleteSubNetworkInterfaceResponse) String() string
type ListSecurityGroupRulesRequest ¶
type ListSecurityGroupRulesRequest struct { Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Id *[]string `json:"id,omitempty"` SecurityGroupId *[]string `json:"security_group_id,omitempty"` Protocol *[]string `json:"protocol,omitempty"` Description *[]string `json:"description,omitempty"` RemoteGroupId *[]string `json:"remote_group_id,omitempty"` Direction *string `json:"direction,omitempty"` Action *string `json:"action,omitempty"` }
Request Object
func (ListSecurityGroupRulesRequest) String ¶
func (o ListSecurityGroupRulesRequest) String() string
type ListSecurityGroupRulesResponse ¶
type ListSecurityGroupRulesResponse struct { RequestId *string `json:"request_id,omitempty"` SecurityGroupRules *[]SecurityGroupRule `json:"security_group_rules,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSecurityGroupRulesResponse) String ¶
func (o ListSecurityGroupRulesResponse) String() string
type ListSecurityGroupsRequest ¶
type ListSecurityGroupsRequest struct { Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Id *[]string `json:"id,omitempty"` Name *[]string `json:"name,omitempty"` Description *[]string `json:"description,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ListSecurityGroupsRequest) String ¶
func (o ListSecurityGroupsRequest) String() string
type ListSecurityGroupsResponse ¶
type ListSecurityGroupsResponse struct { SecurityGroups *[]SecurityGroup `json:"security_groups,omitempty"` RequestId *string `json:"request_id,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSecurityGroupsResponse) String ¶
func (o ListSecurityGroupsResponse) 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 { RequestId *string `json:"request_id,omitempty"` SubNetworkInterfaces *[]SubNetworkInterface `json:"sub_network_interfaces,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSubNetworkInterfacesResponse) String ¶
func (o ListSubNetworkInterfacesResponse) String() string
type PageInfo ¶
type SecurityGroup ¶
type SecurityGroup struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` ProjectId string `json:"project_id"` CreatedAt *sdktime.SdkTime `json:"created_at"` UpdatedAt *sdktime.SdkTime `json:"updated_at"` EnterpriseProjectId string `json:"enterprise_project_id"` }
func (SecurityGroup) String ¶
func (o SecurityGroup) String() string
type SecurityGroupInfo ¶
type SecurityGroupInfo struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` ProjectId string `json:"project_id"` CreatedAt *sdktime.SdkTime `json:"created_at"` UpdatedAt *sdktime.SdkTime `json:"updated_at"` EnterpriseProjectId string `json:"enterprise_project_id"` SecurityGroupRules []SecurityGroupRule `json:"security_group_rules"` }
func (SecurityGroupInfo) String ¶
func (o SecurityGroupInfo) String() string
type SecurityGroupRule ¶
type SecurityGroupRule struct { Id string `json:"id"` Description string `json:"description"` SecurityGroupId string `json:"security_group_id"` Direction string `json:"direction"` Protocol string `json:"protocol"` Ethertype string `json:"ethertype"` Multiport string `json:"multiport"` Action string `json:"action"` Priority int32 `json:"priority"` RemoteGroupId string `json:"remote_group_id"` RemoteIpPrefix string `json:"remote_ip_prefix"` RemoteAddressGroupId string `json:"remote_address_group_id"` CreatedAt *sdktime.SdkTime `json:"created_at"` UpdatedAt *sdktime.SdkTime `json:"updated_at"` ProjectId string `json:"project_id"` }
func (SecurityGroupRule) String ¶
func (o SecurityGroupRule) 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 { RequestId *string `json:"request_id,omitempty"` SecurityGroup *SecurityGroupInfo `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 ¶
func (o ShowSecurityGroupRuleRequest) String() string
type ShowSecurityGroupRuleResponse ¶
type ShowSecurityGroupRuleResponse struct { RequestId *string `json:"request_id,omitempty"` SecurityGroupRule *SecurityGroupRule `json:"security_group_rule,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowSecurityGroupRuleResponse) String ¶
func (o ShowSecurityGroupRuleResponse) String() string
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 { RequestId *string `json:"request_id,omitempty"` SubNetworkInterface *SubNetworkInterface `json:"sub_network_interface,omitempty"` HttpStatusCode int `json:"-"` }
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 { RequestId *string `json:"request_id,omitempty"` SubNetworkInterfaces *int32 `json:"sub_network_interfaces,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowSubNetworkInterfacesQuantityResponse) String ¶
func (o ShowSubNetworkInterfacesQuantityResponse) String() string
type SubNetworkInterface ¶
type SubNetworkInterface struct { Id string `json:"id"` VirsubnetId string `json:"virsubnet_id"` PrivateIpAddress string `json:"private_ip_address"` Ipv6IpAddress string `json:"ipv6_ip_address"` MacAddress string `json:"mac_address"` ParentDeviceId string `json:"parent_device_id"` ParentId string `json:"parent_id"` Description string `json:"description"` VpcId string `json:"vpc_id"` VlanId int32 `json:"vlan_id"` SecurityGroups []string `json:"security_groups"` Tags []string `json:"tags"` ProjectId string `json:"project_id"` CreatedAt *sdktime.SdkTime `json:"created_at"` }
func (SubNetworkInterface) String ¶
func (o SubNetworkInterface) String() string
type UpdateSecurityGroupOption ¶
type UpdateSecurityGroupOption struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` }
func (UpdateSecurityGroupOption) String ¶
func (o UpdateSecurityGroupOption) String() string
type UpdateSecurityGroupRequest ¶
type UpdateSecurityGroupRequest struct { SecurityGroupId string `json:"security_group_id"` Body *UpdateSecurityGroupRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateSecurityGroupRequest) String ¶
func (o UpdateSecurityGroupRequest) String() string
type UpdateSecurityGroupRequestBody ¶
type UpdateSecurityGroupRequestBody struct { DryRun *bool `json:"dry_run,omitempty"` SecurityGroup *UpdateSecurityGroupOption `json:"security_group"` }
This is a auto create Body Object
func (UpdateSecurityGroupRequestBody) String ¶
func (o UpdateSecurityGroupRequestBody) String() string
type UpdateSecurityGroupResponse ¶
type UpdateSecurityGroupResponse struct { RequestId *string `json:"request_id,omitempty"` SecurityGroup *SecurityGroupInfo `json:"security_group,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateSecurityGroupResponse) String ¶
func (o UpdateSecurityGroupResponse) String() string
type UpdateSubNetworkInterfaceOption ¶
type UpdateSubNetworkInterfaceOption struct { Description *string `json:"description,omitempty"` 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 { 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 { RequestId *string `json:"request_id,omitempty"` SubNetworkInterface *SubNetworkInterface `json:"sub_network_interface,omitempty"` HttpStatusCode int `json:"-"` }
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_request.go
- model_batch_create_sub_network_interface_request_body.go
- model_batch_create_sub_network_interface_response.go
- model_create_security_group_option.go
- model_create_security_group_request.go
- model_create_security_group_request_body.go
- model_create_security_group_response.go
- model_create_security_group_rule_option.go
- model_create_security_group_rule_request.go
- model_create_security_group_rule_request_body.go
- model_create_security_group_rule_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_security_group_request.go
- model_delete_security_group_response.go
- model_delete_security_group_rule_request.go
- model_delete_security_group_rule_response.go
- model_delete_sub_network_interface_request.go
- model_delete_sub_network_interface_response.go
- model_list_security_group_rules_request.go
- model_list_security_group_rules_response.go
- model_list_security_groups_request.go
- model_list_security_groups_response.go
- model_list_sub_network_interfaces_request.go
- model_list_sub_network_interfaces_response.go
- model_page_info.go
- model_security_group.go
- model_security_group_info.go
- model_security_group_rule.go
- model_show_security_group_request.go
- model_show_security_group_response.go
- model_show_security_group_rule_request.go
- model_show_security_group_rule_response.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_security_group_option.go
- model_update_security_group_request.go
- model_update_security_group_request_body.go
- model_update_security_group_response.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