model

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddExtendCidrOption

type AddExtendCidrOption struct {
	ExtendCidrs []string `json:"extend_cidrs"`
}

func (AddExtendCidrOption) String

func (o AddExtendCidrOption) String() string

type AddVpcExtendCidrRequest

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

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

Request Object

func (AddVpcExtendCidrRequest) String

func (o AddVpcExtendCidrRequest) String() string

type AddVpcExtendCidrRequestBody

type AddVpcExtendCidrRequestBody struct {
	DryRun *bool `json:"dry_run,omitempty"`

	Vpc *AddExtendCidrOption `json:"vpc"`
}

This is a auto create Body Object

func (AddVpcExtendCidrRequestBody) String

type AddVpcExtendCidrResponse

type AddVpcExtendCidrResponse struct {
	Vpc *Vpc `json:"vpc,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddVpcExtendCidrResponse) String

func (o AddVpcExtendCidrResponse) String() string

type AddressGroup

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

	Name string `json:"name"`

	Description string `json:"description"`

	IpSet []string `json:"ip_set"`

	IpVersion int32 `json:"ip_version"`

	CreatedAt *sdktime.SdkTime `json:"created_at"`

	UpdatedAt *sdktime.SdkTime `json:"updated_at"`

	TenantId string `json:"tenant_id"`
}

func (AddressGroup) String

func (o AddressGroup) String() string

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

type BatchCreateSubNetworkInterfaceRequest

type BatchCreateSubNetworkInterfaceRequest struct {
	Body *BatchCreateSubNetworkInterfaceRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchCreateSubNetworkInterfaceRequest) 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

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

type CloudResource

type CloudResource struct {
	ResourceType string `json:"resource_type"`

	ResourceCount int32 `json:"resource_count"`
}

func (CloudResource) String

func (o CloudResource) String() string

type CreateAddressGroupOption

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

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

	IpVersion int32 `json:"ip_version"`

	IpSet *[]string `json:"ip_set,omitempty"`
}

func (CreateAddressGroupOption) String

func (o CreateAddressGroupOption) String() string

type CreateAddressGroupRequest

type CreateAddressGroupRequest struct {
	Body *CreateAddressGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateAddressGroupRequest) String

func (o CreateAddressGroupRequest) String() string

type CreateAddressGroupRequestBody

type CreateAddressGroupRequestBody struct {
	DryRun *bool `json:"dry_run,omitempty"`

	AddressGroup *CreateAddressGroupOption `json:"address_group"`
}

This is a auto create Body Object

func (CreateAddressGroupRequestBody) String

type CreateAddressGroupResponse

type CreateAddressGroupResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	AddressGroup   *AddressGroup `json:"address_group,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (CreateAddressGroupResponse) 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

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

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

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

type CreateSecurityGroupRuleRequest

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

Request Object

func (CreateSecurityGroupRuleRequest) 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

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

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

type CreateSubNetworkInterfaceRequest

type CreateSubNetworkInterfaceRequest struct {
	Body *CreateSubNetworkInterfaceRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateSubNetworkInterfaceRequest) 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

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

type CreateVpcOption

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

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

	Cidr string `json:"cidr"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Tags *[]Tag `json:"tags,omitempty"`
}

创建VPC的请求体

func (CreateVpcOption) String

func (o CreateVpcOption) String() string

type CreateVpcRequest

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

Request Object

func (CreateVpcRequest) String

func (o CreateVpcRequest) String() string

type CreateVpcRequestBody

type CreateVpcRequestBody struct {
	DryRun *bool `json:"dry_run,omitempty"`

	Vpc *CreateVpcOption `json:"vpc"`
}

This is a auto create Body Object

func (CreateVpcRequestBody) String

func (o CreateVpcRequestBody) String() string

type CreateVpcResponse

type CreateVpcResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateVpcResponse) String

func (o CreateVpcResponse) String() string

type DeleteAddressGroupRequest

type DeleteAddressGroupRequest struct {
	AddressGroupId string `json:"address_group_id"`
}

Request Object

func (DeleteAddressGroupRequest) String

func (o DeleteAddressGroupRequest) String() string

type DeleteAddressGroupResponse

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

Response Object

func (DeleteAddressGroupResponse) String

type DeleteIpAddressGroupForceRequest

type DeleteIpAddressGroupForceRequest struct {
	AddressGroupId string `json:"address_group_id"`
}

Request Object

func (DeleteIpAddressGroupForceRequest) String

type DeleteIpAddressGroupForceResponse

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

Response Object

func (DeleteIpAddressGroupForceResponse) String

type DeleteSecurityGroupRequest

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

Request Object

func (DeleteSecurityGroupRequest) String

type DeleteSecurityGroupResponse

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

Response Object

func (DeleteSecurityGroupResponse) String

type DeleteSecurityGroupRuleRequest

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

Request Object

func (DeleteSecurityGroupRuleRequest) String

type DeleteSecurityGroupRuleResponse

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

Response Object

func (DeleteSecurityGroupRuleResponse) String

type DeleteSubNetworkInterfaceRequest

type DeleteSubNetworkInterfaceRequest struct {
	SubNetworkInterfaceId string `json:"sub_network_interface_id"`
}

Request Object

func (DeleteSubNetworkInterfaceRequest) String

type DeleteSubNetworkInterfaceResponse

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

Response Object

func (DeleteSubNetworkInterfaceResponse) String

type DeleteVpcRequest

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

Request Object

func (DeleteVpcRequest) String

func (o DeleteVpcRequest) String() string

type DeleteVpcResponse

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

Response Object

func (DeleteVpcResponse) String

func (o DeleteVpcResponse) String() string

type ListAddressGroupRequest

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

	Marker *string `json:"marker,omitempty"`

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

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

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

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

Request Object

func (ListAddressGroupRequest) String

func (o ListAddressGroupRequest) String() string

type ListAddressGroupResponse

type ListAddressGroupResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	AddressGroups *[]AddressGroup `json:"address_groups,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListAddressGroupResponse) String

func (o ListAddressGroupResponse) 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

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

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

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

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

type ListVpcsRequest

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

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

Request Object

func (ListVpcsRequest) String

func (o ListVpcsRequest) String() string

type ListVpcsResponse

type ListVpcsResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Vpcs *[]Vpc `json:"vpcs,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListVpcsResponse) String

func (o ListVpcsResponse) String() string

type MigrateSubNetworkInterfaceOption

type MigrateSubNetworkInterfaceOption struct {
	ParentId string `json:"parent_id"`

	SubNetworkInterfaces []map[string]string `json:"sub_network_interfaces"`
}

func (MigrateSubNetworkInterfaceOption) String

type MigrateSubNetworkInterfaceRequest

type MigrateSubNetworkInterfaceRequest struct {
	Body *MigrateSubNetworkInterfaceRequestBody `json:"body,omitempty"`
}

Request Object

func (MigrateSubNetworkInterfaceRequest) String

type MigrateSubNetworkInterfaceRequestBody

type MigrateSubNetworkInterfaceRequestBody struct {
	DryRun *bool `json:"dry_run,omitempty"`

	MigrationInfo *MigrateSubNetworkInterfaceOption `json:"migration_info"`
}

This is a auto create Body Object

func (MigrateSubNetworkInterfaceRequestBody) String

type MigrateSubNetworkInterfaceResponse

type MigrateSubNetworkInterfaceResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	SubNetworkInterfaces *[]SubNetworkInterface `json:"sub_network_interfaces,omitempty"`
	HttpStatusCode       int                    `json:"-"`
}

Response Object

func (MigrateSubNetworkInterfaceResponse) String

type PageInfo

type PageInfo struct {
	PreviousMarker string `json:"previous_marker"`

	CurrentCount int32 `json:"current_count"`

	NextMarker *string `json:"next_marker,omitempty"`
}

func (PageInfo) String

func (o PageInfo) String() string

type RemoveExtendCidrOption

type RemoveExtendCidrOption struct {
	ExtendCidrs []string `json:"extend_cidrs"`
}

func (RemoveExtendCidrOption) String

func (o RemoveExtendCidrOption) String() string

type RemoveVpcExtendCidrRequest

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

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

Request Object

func (RemoveVpcExtendCidrRequest) String

type RemoveVpcExtendCidrRequestBody

type RemoveVpcExtendCidrRequestBody struct {
	DryRun *bool `json:"dry_run,omitempty"`

	Vpc *RemoveExtendCidrOption `json:"vpc"`
}

This is a auto create Body Object

func (RemoveVpcExtendCidrRequestBody) String

type RemoveVpcExtendCidrResponse

type RemoveVpcExtendCidrResponse struct {
	Vpc *Vpc `json:"vpc,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RemoveVpcExtendCidrResponse) String

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 ShowAddressGroupRequest

type ShowAddressGroupRequest struct {
	AddressGroupId string `json:"address_group_id"`
}

Request Object

func (ShowAddressGroupRequest) String

func (o ShowAddressGroupRequest) String() string

type ShowAddressGroupResponse

type ShowAddressGroupResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	AddressGroup   *AddressGroup `json:"address_group,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ShowAddressGroupResponse) String

func (o ShowAddressGroupResponse) 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

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

type ShowSubNetworkInterfaceRequest

type ShowSubNetworkInterfaceRequest struct {
	SubNetworkInterfaceId string `json:"sub_network_interface_id"`
}

Request Object

func (ShowSubNetworkInterfaceRequest) 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

type ShowSubNetworkInterfacesQuantityRequest

type ShowSubNetworkInterfacesQuantityRequest struct {
}

Request Object

func (ShowSubNetworkInterfacesQuantityRequest) 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

type ShowVpcRequest

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

Request Object

func (ShowVpcRequest) String

func (o ShowVpcRequest) String() string

type ShowVpcResponse

type ShowVpcResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Vpc            *Vpc `json:"vpc,omitempty"`
	HttpStatusCode int  `json:"-"`
}

Response Object

func (ShowVpcResponse) String

func (o ShowVpcResponse) 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 Tag

type Tag struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

func (Tag) String

func (o Tag) String() string

type UpdateAddressGroupOption

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

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

	IpSet *[]string `json:"ip_set,omitempty"`
}

func (UpdateAddressGroupOption) String

func (o UpdateAddressGroupOption) String() string

type UpdateAddressGroupRequest

type UpdateAddressGroupRequest struct {
	AddressGroupId string `json:"address_group_id"`

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

Request Object

func (UpdateAddressGroupRequest) String

func (o UpdateAddressGroupRequest) String() string

type UpdateAddressGroupRequestBody

type UpdateAddressGroupRequestBody struct {
	DryRun *bool `json:"dry_run,omitempty"`

	AddressGroup *UpdateAddressGroupOption `json:"address_group"`
}

This is a auto create Body Object

func (UpdateAddressGroupRequestBody) String

type UpdateAddressGroupResponse

type UpdateAddressGroupResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	AddressGroup   *AddressGroup `json:"address_group,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (UpdateAddressGroupResponse) 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

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

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

type UpdateSubNetworkInterfaceOption

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

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

func (UpdateSubNetworkInterfaceOption) String

type UpdateSubNetworkInterfaceRequest

type UpdateSubNetworkInterfaceRequest struct {
	SubNetworkInterfaceId string `json:"sub_network_interface_id"`

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

Request Object

func (UpdateSubNetworkInterfaceRequest) 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

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

type UpdateVpcOption

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

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

func (UpdateVpcOption) String

func (o UpdateVpcOption) String() string

type UpdateVpcRequest

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

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

Request Object

func (UpdateVpcRequest) String

func (o UpdateVpcRequest) String() string

type UpdateVpcRequestBody

type UpdateVpcRequestBody struct {
	DryRun *bool `json:"dry_run,omitempty"`

	Vpc *UpdateVpcOption `json:"vpc"`
}

This is a auto create Body Object

func (UpdateVpcRequestBody) String

func (o UpdateVpcRequestBody) String() string

type UpdateVpcResponse

type UpdateVpcResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateVpcResponse) String

func (o UpdateVpcResponse) String() string

type Vpc

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

	Name string `json:"name"`

	Description string `json:"description"`

	Cidr string `json:"cidr"`

	ExtendCidrs []string `json:"extend_cidrs"`

	Status string `json:"status"`

	ProjectId string `json:"project_id"`

	EnterpriseProjectId string `json:"enterprise_project_id"`

	CreatedAt *sdktime.SdkTime `json:"created_at"`

	UpdatedAt *sdktime.SdkTime `json:"updated_at"`

	CloudResources []CloudResource `json:"cloud_resources"`

	Tags []Tag `json:"tags"`
}

func (Vpc) String

func (o Vpc) String() string

Source Files

Jump to

Keyboard shortcuts

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