model

package
v0.0.72 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddExtendCidrOption added in v0.0.68

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

func (AddExtendCidrOption) String added in v0.0.68

func (o AddExtendCidrOption) String() string

type AddVpcExtendCidrRequest added in v0.0.68

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

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

Request Object

func (AddVpcExtendCidrRequest) String added in v0.0.68

func (o AddVpcExtendCidrRequest) String() string

type AddVpcExtendCidrRequestBody added in v0.0.68

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

	Vpc *AddExtendCidrOption `json:"vpc"`
}

This is a auto create Body Object

func (AddVpcExtendCidrRequestBody) String added in v0.0.68

type AddVpcExtendCidrResponse added in v0.0.68

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

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

Response Object

func (AddVpcExtendCidrResponse) String added in v0.0.68

func (o AddVpcExtendCidrResponse) String() string

type AddressGroup added in v0.0.68

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 added in v0.0.68

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 added in v0.0.68

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

	ResourceCount int32 `json:"resource_count"`
}

func (CloudResource) String added in v0.0.68

func (o CloudResource) String() string

type CreateAddressGroupOption added in v0.0.68

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 added in v0.0.68

func (o CreateAddressGroupOption) String() string

type CreateAddressGroupRequest added in v0.0.68

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

Request Object

func (CreateAddressGroupRequest) String added in v0.0.68

func (o CreateAddressGroupRequest) String() string

type CreateAddressGroupRequestBody added in v0.0.68

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

	AddressGroup *CreateAddressGroupOption `json:"address_group"`
}

This is a auto create Body Object

func (CreateAddressGroupRequestBody) String added in v0.0.68

type CreateAddressGroupResponse added in v0.0.68

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

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

Response Object

func (CreateAddressGroupResponse) String added in v0.0.68

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 added in v0.0.68

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 added in v0.0.68

func (o CreateVpcOption) String() string

type CreateVpcRequest added in v0.0.68

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

Request Object

func (CreateVpcRequest) String added in v0.0.68

func (o CreateVpcRequest) String() string

type CreateVpcRequestBody added in v0.0.68

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

	Vpc *CreateVpcOption `json:"vpc"`
}

This is a auto create Body Object

func (CreateVpcRequestBody) String added in v0.0.68

func (o CreateVpcRequestBody) String() string

type CreateVpcResponse added in v0.0.68

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 added in v0.0.68

func (o CreateVpcResponse) String() string

type DeleteAddressGroupRequest added in v0.0.68

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

Request Object

func (DeleteAddressGroupRequest) String added in v0.0.68

func (o DeleteAddressGroupRequest) String() string

type DeleteAddressGroupResponse added in v0.0.68

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

Response Object

func (DeleteAddressGroupResponse) String added in v0.0.68

type DeleteIpAddressGroupForceRequest added in v0.0.68

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

Request Object

func (DeleteIpAddressGroupForceRequest) String added in v0.0.68

type DeleteIpAddressGroupForceResponse added in v0.0.68

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

Response Object

func (DeleteIpAddressGroupForceResponse) String added in v0.0.68

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 added in v0.0.68

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

Request Object

func (DeleteVpcRequest) String added in v0.0.68

func (o DeleteVpcRequest) String() string

type DeleteVpcResponse added in v0.0.68

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

Response Object

func (DeleteVpcResponse) String added in v0.0.68

func (o DeleteVpcResponse) String() string

type ListAddressGroupRequest added in v0.0.68

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 added in v0.0.68

func (o ListAddressGroupRequest) String() string

type ListAddressGroupResponse added in v0.0.68

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 added in v0.0.68

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 added in v0.0.68

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 added in v0.0.68

func (o ListVpcsRequest) String() string

type ListVpcsResponse added in v0.0.68

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 added in v0.0.68

func (o ListVpcsResponse) String() string

type MigrateSubNetworkInterfaceOption added in v0.0.68

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

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

func (MigrateSubNetworkInterfaceOption) String added in v0.0.68

type MigrateSubNetworkInterfaceRequest added in v0.0.68

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

Request Object

func (MigrateSubNetworkInterfaceRequest) String added in v0.0.68

type MigrateSubNetworkInterfaceRequestBody added in v0.0.68

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

	MigrationInfo *MigrateSubNetworkInterfaceOption `json:"migration_info"`
}

This is a auto create Body Object

func (MigrateSubNetworkInterfaceRequestBody) String added in v0.0.68

type MigrateSubNetworkInterfaceResponse added in v0.0.68

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

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

Response Object

func (MigrateSubNetworkInterfaceResponse) String added in v0.0.68

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 added in v0.0.68

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

func (RemoveExtendCidrOption) String added in v0.0.68

func (o RemoveExtendCidrOption) String() string

type RemoveVpcExtendCidrRequest added in v0.0.68

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

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

Request Object

func (RemoveVpcExtendCidrRequest) String added in v0.0.68

type RemoveVpcExtendCidrRequestBody added in v0.0.68

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

	Vpc *RemoveExtendCidrOption `json:"vpc"`
}

This is a auto create Body Object

func (RemoveVpcExtendCidrRequestBody) String added in v0.0.68

type RemoveVpcExtendCidrResponse added in v0.0.68

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

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

Response Object

func (RemoveVpcExtendCidrResponse) String added in v0.0.68

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 added in v0.0.68

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

Request Object

func (ShowAddressGroupRequest) String added in v0.0.68

func (o ShowAddressGroupRequest) String() string

type ShowAddressGroupResponse added in v0.0.68

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

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

Response Object

func (ShowAddressGroupResponse) String added in v0.0.68

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 added in v0.0.68

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

Request Object

func (ShowVpcRequest) String added in v0.0.68

func (o ShowVpcRequest) String() string

type ShowVpcResponse added in v0.0.68

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

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

Response Object

func (ShowVpcResponse) String added in v0.0.68

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 added in v0.0.68

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

	Value string `json:"value"`
}

func (Tag) String added in v0.0.68

func (o Tag) String() string

type UpdateAddressGroupOption added in v0.0.68

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

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

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

func (UpdateAddressGroupOption) String added in v0.0.68

func (o UpdateAddressGroupOption) String() string

type UpdateAddressGroupRequest added in v0.0.68

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

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

Request Object

func (UpdateAddressGroupRequest) String added in v0.0.68

func (o UpdateAddressGroupRequest) String() string

type UpdateAddressGroupRequestBody added in v0.0.68

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

	AddressGroup *UpdateAddressGroupOption `json:"address_group"`
}

This is a auto create Body Object

func (UpdateAddressGroupRequestBody) String added in v0.0.68

type UpdateAddressGroupResponse added in v0.0.68

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

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

Response Object

func (UpdateAddressGroupResponse) String added in v0.0.68

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 added in v0.0.68

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

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

func (UpdateVpcOption) String added in v0.0.68

func (o UpdateVpcOption) String() string

type UpdateVpcRequest added in v0.0.68

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

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

Request Object

func (UpdateVpcRequest) String added in v0.0.68

func (o UpdateVpcRequest) String() string

type UpdateVpcRequestBody added in v0.0.68

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

	Vpc *UpdateVpcOption `json:"vpc"`
}

This is a auto create Body Object

func (UpdateVpcRequestBody) String added in v0.0.68

func (o UpdateVpcRequestBody) String() string

type UpdateVpcResponse added in v0.0.68

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 added in v0.0.68

func (o UpdateVpcResponse) String() string

type Vpc added in v0.0.68

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 added in v0.0.68

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