model

package
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptVpcPeeringRequest

type AcceptVpcPeeringRequest struct {
	PeeringId string `json:"peering_id"`
}

Request Object

func (AcceptVpcPeeringRequest) String

func (o AcceptVpcPeeringRequest) String() string

type AcceptVpcPeeringResponse

type AcceptVpcPeeringResponse struct {
	Id *string `json:"id,omitempty"`

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

	Status *AcceptVpcPeeringResponseStatus `json:"status,omitempty"`

	RequestVpcInfo *VpcInfo `json:"request_vpc_info,omitempty"`

	AcceptVpcInfo *VpcInfo `json:"accept_vpc_info,omitempty"`

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

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

	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AcceptVpcPeeringResponse) String

func (o AcceptVpcPeeringResponse) String() string

type AcceptVpcPeeringResponseStatus

type AcceptVpcPeeringResponseStatus struct {
	// contains filtered or unexported fields
}

func (AcceptVpcPeeringResponseStatus) MarshalJSON

func (c AcceptVpcPeeringResponseStatus) MarshalJSON() ([]byte, error)

func (*AcceptVpcPeeringResponseStatus) UnmarshalJSON

func (c *AcceptVpcPeeringResponseStatus) UnmarshalJSON(b []byte) error

type AllowedAddressPair

type AllowedAddressPair struct {
	IpAddress *string `json:"ip_address,omitempty"`

	MacAddress *string `json:"mac_address,omitempty"`
}

func (AllowedAddressPair) String

func (o AllowedAddressPair) String() string

type BatchCreateSubnetTagsRequest

type BatchCreateSubnetTagsRequest struct {
	SubnetId string `json:"subnet_id"`

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

Request Object

func (BatchCreateSubnetTagsRequest) String

type BatchCreateSubnetTagsRequestBody

type BatchCreateSubnetTagsRequestBody struct {
	Action BatchCreateSubnetTagsRequestBodyAction `json:"action"`

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

This is a auto create Body Object

func (BatchCreateSubnetTagsRequestBody) String

type BatchCreateSubnetTagsRequestBodyAction

type BatchCreateSubnetTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (BatchCreateSubnetTagsRequestBodyAction) MarshalJSON

func (c BatchCreateSubnetTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchCreateSubnetTagsRequestBodyAction) UnmarshalJSON

func (c *BatchCreateSubnetTagsRequestBodyAction) UnmarshalJSON(b []byte) error

type BatchCreateSubnetTagsRequestBodyActionEnum

type BatchCreateSubnetTagsRequestBodyActionEnum struct {
	CREATE BatchCreateSubnetTagsRequestBodyAction
}

func GetBatchCreateSubnetTagsRequestBodyActionEnum

func GetBatchCreateSubnetTagsRequestBodyActionEnum() BatchCreateSubnetTagsRequestBodyActionEnum

type BatchCreateSubnetTagsResponse

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

Response Object

func (BatchCreateSubnetTagsResponse) String

type BatchCreateVpcTagsRequest

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

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

Request Object

func (BatchCreateVpcTagsRequest) String

func (o BatchCreateVpcTagsRequest) String() string

type BatchCreateVpcTagsRequestBody

type BatchCreateVpcTagsRequestBody struct {
	Action BatchCreateVpcTagsRequestBodyAction `json:"action"`

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

This is a auto create Body Object

func (BatchCreateVpcTagsRequestBody) String

type BatchCreateVpcTagsRequestBodyAction

type BatchCreateVpcTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (BatchCreateVpcTagsRequestBodyAction) MarshalJSON

func (c BatchCreateVpcTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchCreateVpcTagsRequestBodyAction) UnmarshalJSON

func (c *BatchCreateVpcTagsRequestBodyAction) UnmarshalJSON(b []byte) error

type BatchCreateVpcTagsRequestBodyActionEnum

type BatchCreateVpcTagsRequestBodyActionEnum struct {
	CREATE BatchCreateVpcTagsRequestBodyAction
}

func GetBatchCreateVpcTagsRequestBodyActionEnum

func GetBatchCreateVpcTagsRequestBodyActionEnum() BatchCreateVpcTagsRequestBodyActionEnum

type BatchCreateVpcTagsResponse

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

Response Object

func (BatchCreateVpcTagsResponse) String

type BatchDeleteSubnetTagsRequest

type BatchDeleteSubnetTagsRequest struct {
	SubnetId string `json:"subnet_id"`

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

Request Object

func (BatchDeleteSubnetTagsRequest) String

type BatchDeleteSubnetTagsRequestBody

type BatchDeleteSubnetTagsRequestBody struct {
	Action BatchDeleteSubnetTagsRequestBodyAction `json:"action"`

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

This is a auto create Body Object

func (BatchDeleteSubnetTagsRequestBody) String

type BatchDeleteSubnetTagsRequestBodyAction

type BatchDeleteSubnetTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (BatchDeleteSubnetTagsRequestBodyAction) MarshalJSON

func (c BatchDeleteSubnetTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchDeleteSubnetTagsRequestBodyAction) UnmarshalJSON

func (c *BatchDeleteSubnetTagsRequestBodyAction) UnmarshalJSON(b []byte) error

type BatchDeleteSubnetTagsRequestBodyActionEnum

type BatchDeleteSubnetTagsRequestBodyActionEnum struct {
	DELETE BatchDeleteSubnetTagsRequestBodyAction
}

func GetBatchDeleteSubnetTagsRequestBodyActionEnum

func GetBatchDeleteSubnetTagsRequestBodyActionEnum() BatchDeleteSubnetTagsRequestBodyActionEnum

type BatchDeleteSubnetTagsResponse

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

Response Object

func (BatchDeleteSubnetTagsResponse) String

type BatchDeleteVpcTagsRequest

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

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

Request Object

func (BatchDeleteVpcTagsRequest) String

func (o BatchDeleteVpcTagsRequest) String() string

type BatchDeleteVpcTagsRequestBody

type BatchDeleteVpcTagsRequestBody struct {
	Action BatchDeleteVpcTagsRequestBodyAction `json:"action"`

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

This is a auto create Body Object

func (BatchDeleteVpcTagsRequestBody) String

type BatchDeleteVpcTagsRequestBodyAction

type BatchDeleteVpcTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (BatchDeleteVpcTagsRequestBodyAction) MarshalJSON

func (c BatchDeleteVpcTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchDeleteVpcTagsRequestBodyAction) UnmarshalJSON

func (c *BatchDeleteVpcTagsRequestBodyAction) UnmarshalJSON(b []byte) error

type BatchDeleteVpcTagsRequestBodyActionEnum

type BatchDeleteVpcTagsRequestBodyActionEnum struct {
	DELETE BatchDeleteVpcTagsRequestBodyAction
}

func GetBatchDeleteVpcTagsRequestBodyActionEnum

func GetBatchDeleteVpcTagsRequestBodyActionEnum() BatchDeleteVpcTagsRequestBodyActionEnum

type BatchDeleteVpcTagsResponse

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

Response Object

func (BatchDeleteVpcTagsResponse) String

type CreatePortOption

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

	NetworkId string `json:"network_id"`

	FixedIps *[]FixedIp `json:"fixed_ips,omitempty"`

	DeviceOwner *string `json:"device_owner,omitempty"`

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

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"`

	ExtraDhcpOpts *[]ExtraDhcpOpt `json:"extra_dhcp_opts,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`
}

func (CreatePortOption) String

func (o CreatePortOption) String() string

type CreatePortRequest

type CreatePortRequest struct {
	Body *CreatePortRequestBody `json:"body,omitempty"`
}

Request Object

func (CreatePortRequest) String

func (o CreatePortRequest) String() string

type CreatePortRequestBody

type CreatePortRequestBody struct {
	Port *CreatePortOption `json:"port"`
}

func (CreatePortRequestBody) String

func (o CreatePortRequestBody) String() string

type CreatePortResponse

type CreatePortResponse struct {
	Port           *Port `json:"port,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (CreatePortResponse) String

func (o CreatePortResponse) String() string

type CreatePrivateipOption

type CreatePrivateipOption struct {
	SubnetId string `json:"subnet_id"`

	IpAddress *string `json:"ip_address,omitempty"`
}

func (CreatePrivateipOption) String

func (o CreatePrivateipOption) String() string

type CreatePrivateipRequest

type CreatePrivateipRequest struct {
	Body *CreatePrivateipRequestBody `json:"body,omitempty"`
}

Request Object

func (CreatePrivateipRequest) String

func (o CreatePrivateipRequest) String() string

type CreatePrivateipRequestBody

type CreatePrivateipRequestBody struct {
	Privateips []CreatePrivateipOption `json:"privateips"`
}

func (CreatePrivateipRequestBody) String

type CreatePrivateipResponse

type CreatePrivateipResponse struct {
	Privateips     *[]Privateip `json:"privateips,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (CreatePrivateipResponse) String

func (o CreatePrivateipResponse) String() string

type CreateSecurityGroupOption

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

	VpcId *string `json:"vpc_id,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 {
	SecurityGroup *CreateSecurityGroupOption `json:"security_group"`
}

func (CreateSecurityGroupRequestBody) String

type CreateSecurityGroupResponse

type CreateSecurityGroupResponse struct {
	SecurityGroup  *SecurityGroup `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"`

	PortRangeMin *int32 `json:"port_range_min,omitempty"`

	PortRangeMax *int32 `json:"port_range_max,omitempty"`

	RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"`

	RemoteGroupId *string `json:"remote_group_id,omitempty"`
}

func (CreateSecurityGroupRuleOption) String

type CreateSecurityGroupRuleRequest

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

Request Object

func (CreateSecurityGroupRuleRequest) String

type CreateSecurityGroupRuleRequestBody

type CreateSecurityGroupRuleRequestBody struct {
	SecurityGroupRule *CreateSecurityGroupRuleOption `json:"security_group_rule"`
}

func (CreateSecurityGroupRuleRequestBody) String

type CreateSecurityGroupRuleResponse

type CreateSecurityGroupRuleResponse struct {
	SecurityGroupRule *SecurityGroupRule `json:"security_group_rule,omitempty"`
	HttpStatusCode    int                `json:"-"`
}

Response Object

func (CreateSecurityGroupRuleResponse) String

type CreateSubnetOption

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

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

	Cidr string `json:"cidr"`

	VpcId string `json:"vpc_id"`

	GatewayIp string `json:"gateway_ip"`

	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	DhcpEnable *bool `json:"dhcp_enable,omitempty"`

	PrimaryDns *string `json:"primary_dns,omitempty"`

	SecondaryDns *string `json:"secondary_dns,omitempty"`

	DnsList *[]string `json:"dnsList,omitempty"`

	AvailabilityZone *string `json:"availability_zone,omitempty"`

	ExtraDhcpOpts *[]ExtraDhcpOption `json:"extra_dhcp_opts,omitempty"`
}

func (CreateSubnetOption) String

func (o CreateSubnetOption) String() string

type CreateSubnetRequest

type CreateSubnetRequest struct {
	Body *CreateSubnetRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateSubnetRequest) String

func (o CreateSubnetRequest) String() string

type CreateSubnetRequestBody

type CreateSubnetRequestBody struct {
	Subnet *CreateSubnetOption `json:"subnet"`
}

创建子网对象

func (CreateSubnetRequestBody) String

func (o CreateSubnetRequestBody) String() string

type CreateSubnetResponse

type CreateSubnetResponse struct {
	Subnet         *Subnet `json:"subnet,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateSubnetResponse) String

func (o CreateSubnetResponse) String() string

type CreateSubnetTagRequest

type CreateSubnetTagRequest struct {
	SubnetId string `json:"subnet_id"`

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

Request Object

func (CreateSubnetTagRequest) String

func (o CreateSubnetTagRequest) String() string

type CreateSubnetTagRequestBody

type CreateSubnetTagRequestBody struct {
	Tag *ResourceTag `json:"tag"`
}

This is a auto create Body Object

func (CreateSubnetTagRequestBody) String

type CreateSubnetTagResponse

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

Response Object

func (CreateSubnetTagResponse) String

func (o CreateSubnetTagResponse) String() string

type CreateVpcOption

type CreateVpcOption struct {
	Cidr *string `json:"cidr,omitempty"`

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

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

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

vpc对象

func (CreateVpcOption) String

func (o CreateVpcOption) String() string

type CreateVpcPeeringOption

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

	RequestVpcInfo *VpcInfo `json:"request_vpc_info"`

	AcceptVpcInfo *VpcInfo `json:"accept_vpc_info"`
}

peering对象

func (CreateVpcPeeringOption) String

func (o CreateVpcPeeringOption) String() string

type CreateVpcPeeringRequest

type CreateVpcPeeringRequest struct {
	Body *CreateVpcPeeringRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateVpcPeeringRequest) String

func (o CreateVpcPeeringRequest) String() string

type CreateVpcPeeringRequestBody

type CreateVpcPeeringRequestBody struct {
	Peering *CreateVpcPeeringOption `json:"peering"`
}

func (CreateVpcPeeringRequestBody) String

type CreateVpcPeeringResponse

type CreateVpcPeeringResponse struct {
	Peering        *VpcPeering `json:"peering,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (CreateVpcPeeringResponse) String

func (o CreateVpcPeeringResponse) 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 {
	Vpc *CreateVpcOption `json:"vpc"`
}

func (CreateVpcRequestBody) String

func (o CreateVpcRequestBody) String() string

type CreateVpcResourceTagRequest

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

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

Request Object

func (CreateVpcResourceTagRequest) String

type CreateVpcResourceTagRequestBody

type CreateVpcResourceTagRequestBody struct {
	Tag *ResourceTag `json:"tag"`
}

This is a auto create Body Object

func (CreateVpcResourceTagRequestBody) String

type CreateVpcResourceTagResponse

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

Response Object

func (CreateVpcResourceTagResponse) String

type CreateVpcResponse

type CreateVpcResponse struct {
	Vpc            *Vpc `json:"vpc,omitempty"`
	HttpStatusCode int  `json:"-"`
}

Response Object

func (CreateVpcResponse) String

func (o CreateVpcResponse) String() string

type CreateVpcRouteOption

type CreateVpcRouteOption struct {
	Destination string `json:"destination"`

	Nexthop string `json:"nexthop"`

	Type CreateVpcRouteOptionType `json:"type"`

	VpcId string `json:"vpc_id"`
}

func (CreateVpcRouteOption) String

func (o CreateVpcRouteOption) String() string

type CreateVpcRouteOptionType

type CreateVpcRouteOptionType struct {
	// contains filtered or unexported fields
}

func (CreateVpcRouteOptionType) MarshalJSON

func (c CreateVpcRouteOptionType) MarshalJSON() ([]byte, error)

func (*CreateVpcRouteOptionType) UnmarshalJSON

func (c *CreateVpcRouteOptionType) UnmarshalJSON(b []byte) error

type CreateVpcRouteOptionTypeEnum

type CreateVpcRouteOptionTypeEnum struct {
	PEERING CreateVpcRouteOptionType
}

func GetCreateVpcRouteOptionTypeEnum

func GetCreateVpcRouteOptionTypeEnum() CreateVpcRouteOptionTypeEnum

type CreateVpcRouteRequest

type CreateVpcRouteRequest struct {
	Body *CreateVpcRouteRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateVpcRouteRequest) String

func (o CreateVpcRouteRequest) String() string

type CreateVpcRouteRequestBody

type CreateVpcRouteRequestBody struct {
	Route *CreateVpcRouteOption `json:"route"`
}

func (CreateVpcRouteRequestBody) String

func (o CreateVpcRouteRequestBody) String() string

type CreateVpcRouteResponse

type CreateVpcRouteResponse struct {
	Route          *VpcRoute `json:"route,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateVpcRouteResponse) String

func (o CreateVpcRouteResponse) String() string

type DeletePortRequest

type DeletePortRequest struct {
	PortId string `json:"port_id"`
}

Request Object

func (DeletePortRequest) String

func (o DeletePortRequest) String() string

type DeletePortResponse

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

Response Object

func (DeletePortResponse) String

func (o DeletePortResponse) String() string

type DeletePrivateipRequest

type DeletePrivateipRequest struct {
	PrivateipId string `json:"privateip_id"`
}

Request Object

func (DeletePrivateipRequest) String

func (o DeletePrivateipRequest) String() string

type DeletePrivateipResponse

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

Response Object

func (DeletePrivateipResponse) String

func (o DeletePrivateipResponse) String() 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 DeleteSubnetRequest

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

	SubnetId string `json:"subnet_id"`
}

Request Object

func (DeleteSubnetRequest) String

func (o DeleteSubnetRequest) String() string

type DeleteSubnetResponse

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

Response Object

func (DeleteSubnetResponse) String

func (o DeleteSubnetResponse) String() string

type DeleteSubnetTagRequest

type DeleteSubnetTagRequest struct {
	SubnetId string `json:"subnet_id"`

	Key string `json:"key"`
}

Request Object

func (DeleteSubnetTagRequest) String

func (o DeleteSubnetTagRequest) String() string

type DeleteSubnetTagResponse

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

Response Object

func (DeleteSubnetTagResponse) String

func (o DeleteSubnetTagResponse) String() string

type DeleteVpcPeeringRequest

type DeleteVpcPeeringRequest struct {
	PeeringId string `json:"peering_id"`
}

Request Object

func (DeleteVpcPeeringRequest) String

func (o DeleteVpcPeeringRequest) String() string

type DeleteVpcPeeringResponse

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

Response Object

func (DeleteVpcPeeringResponse) String

func (o DeleteVpcPeeringResponse) String() 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 DeleteVpcRouteRequest

type DeleteVpcRouteRequest struct {
	RouteId string `json:"route_id"`
}

Request Object

func (DeleteVpcRouteRequest) String

func (o DeleteVpcRouteRequest) String() string

type DeleteVpcRouteResponse

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

Response Object

func (DeleteVpcRouteResponse) String

func (o DeleteVpcRouteResponse) String() string

type DeleteVpcTagRequest

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

	Key string `json:"key"`
}

Request Object

func (DeleteVpcTagRequest) String

func (o DeleteVpcTagRequest) String() string

type DeleteVpcTagResponse

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

Response Object

func (DeleteVpcTagResponse) String

func (o DeleteVpcTagResponse) String() string

type DnsAssignMent

type DnsAssignMent struct {
	Hostname *string `json:"hostname,omitempty"`

	IpAddress *string `json:"ip_address,omitempty"`

	Fqdn *string `json:"fqdn,omitempty"`
}

func (DnsAssignMent) String

func (o DnsAssignMent) String() string

type ExtraDhcpOpt

type ExtraDhcpOpt struct {
	OptName *string `json:"opt_name,omitempty"`

	OptValue *string `json:"opt_value,omitempty"`
}

func (ExtraDhcpOpt) String

func (o ExtraDhcpOpt) String() string

type ExtraDhcpOption

type ExtraDhcpOption struct {
	OptName ExtraDhcpOptionOptName `json:"opt_name"`

	OptValue *string `json:"opt_value,omitempty"`
}

子网配置的NTP地址对象

func (ExtraDhcpOption) String

func (o ExtraDhcpOption) String() string

type ExtraDhcpOptionOptName

type ExtraDhcpOptionOptName struct {
	// contains filtered or unexported fields
}

func (ExtraDhcpOptionOptName) MarshalJSON

func (c ExtraDhcpOptionOptName) MarshalJSON() ([]byte, error)

func (*ExtraDhcpOptionOptName) UnmarshalJSON

func (c *ExtraDhcpOptionOptName) UnmarshalJSON(b []byte) error

type ExtraDhcpOptionOptNameEnum

type ExtraDhcpOptionOptNameEnum struct {
	NTP ExtraDhcpOptionOptName
}

func GetExtraDhcpOptionOptNameEnum

func GetExtraDhcpOptionOptNameEnum() ExtraDhcpOptionOptNameEnum

type FixedIp

type FixedIp struct {
	IpAddress *string `json:"ip_address,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`
}

func (FixedIp) String

func (o FixedIp) String() string

type ListPortsRequest

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

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

	Limit *int32 `json:"limit,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	NetworkId *string `json:"network_id,omitempty"`

	MacAddress *string `json:"mac_address,omitempty"`

	DeviceId *string `json:"device_id,omitempty"`

	DeviceOwner *ListPortsRequestDeviceOwner `json:"device_owner,omitempty"`

	Status *ListPortsRequestStatus `json:"status,omitempty"`

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

	FixedIps *string `json:"fixed_ips,omitempty"`

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

Request Object

func (ListPortsRequest) String

func (o ListPortsRequest) String() string

type ListPortsRequestDeviceOwner

type ListPortsRequestDeviceOwner struct {
	// contains filtered or unexported fields
}

func (ListPortsRequestDeviceOwner) MarshalJSON

func (c ListPortsRequestDeviceOwner) MarshalJSON() ([]byte, error)

func (*ListPortsRequestDeviceOwner) UnmarshalJSON

func (c *ListPortsRequestDeviceOwner) UnmarshalJSON(b []byte) error

type ListPortsRequestDeviceOwnerEnum

type ListPortsRequestDeviceOwnerEnum struct {
	NETWORKDHCP                         ListPortsRequestDeviceOwner
	NETWORKVIP_PORT                     ListPortsRequestDeviceOwner
	NETWORKROUTER_INTERFACE_DISTRIBUTED ListPortsRequestDeviceOwner
	NETWORKROUTER_CENTRALIZED_SNAT      ListPortsRequestDeviceOwner
}

func GetListPortsRequestDeviceOwnerEnum

func GetListPortsRequestDeviceOwnerEnum() ListPortsRequestDeviceOwnerEnum

type ListPortsRequestStatus

type ListPortsRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListPortsRequestStatus) MarshalJSON

func (c ListPortsRequestStatus) MarshalJSON() ([]byte, error)

func (*ListPortsRequestStatus) UnmarshalJSON

func (c *ListPortsRequestStatus) UnmarshalJSON(b []byte) error

type ListPortsRequestStatusEnum

type ListPortsRequestStatusEnum struct {
	ACTIVE ListPortsRequestStatus
	BUILD  ListPortsRequestStatus
	DOWN   ListPortsRequestStatus
}

func GetListPortsRequestStatusEnum

func GetListPortsRequestStatusEnum() ListPortsRequestStatusEnum

type ListPortsResponse

type ListPortsResponse struct {
	Ports          *[]Port `json:"ports,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListPortsResponse) String

func (o ListPortsResponse) String() string

type ListPrivateipsRequest

type ListPrivateipsRequest struct {
	SubnetId string `json:"subnet_id"`

	Limit *int32 `json:"limit,omitempty"`

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

Request Object

func (ListPrivateipsRequest) String

func (o ListPrivateipsRequest) String() string

type ListPrivateipsResponse

type ListPrivateipsResponse struct {
	Privateips     *[]Privateip `json:"privateips,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListPrivateipsResponse) String

func (o ListPrivateipsResponse) String() string

type ListResourceResp

type ListResourceResp struct {
	ResouceDetail *interface{} `json:"resouce_detail"`

	ResourceId string `json:"resource_id"`

	ResourceName string `json:"resource_name"`

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

func (ListResourceResp) String

func (o ListResourceResp) String() string

type ListSecurityGroupRulesRequest

type ListSecurityGroupRulesRequest struct {
	Marker *string `json:"marker,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`
}

Request Object

func (ListSecurityGroupRulesRequest) String

type ListSecurityGroupRulesResponse

type ListSecurityGroupRulesResponse struct {
	SecurityGroupRules *[]SecurityGroupRule `json:"security_group_rules,omitempty"`
	HttpStatusCode     int                  `json:"-"`
}

Response Object

func (ListSecurityGroupRulesResponse) String

type ListSecurityGroupsRequest

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

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

	VpcId *string `json:"vpc_id,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"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListSecurityGroupsResponse) String

type ListSubnetTagsRequest

type ListSubnetTagsRequest struct {
}

Request Object

func (ListSubnetTagsRequest) String

func (o ListSubnetTagsRequest) String() string

type ListSubnetTagsResponse

type ListSubnetTagsResponse struct {
	Tags           *[]ListTag `json:"tags,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListSubnetTagsResponse) String

func (o ListSubnetTagsResponse) String() string

type ListSubnetsByTagsRequest

type ListSubnetsByTagsRequest struct {
	Body *ListSubnetsByTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (ListSubnetsByTagsRequest) String

func (o ListSubnetsByTagsRequest) String() string

type ListSubnetsByTagsRequestBody

type ListSubnetsByTagsRequestBody struct {
	Action ListSubnetsByTagsRequestBodyAction `json:"action"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Matches *[]Match `json:"matches,omitempty"`

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

This is a auto create Body Object

func (ListSubnetsByTagsRequestBody) String

type ListSubnetsByTagsRequestBodyAction

type ListSubnetsByTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (ListSubnetsByTagsRequestBodyAction) MarshalJSON

func (c ListSubnetsByTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*ListSubnetsByTagsRequestBodyAction) UnmarshalJSON

func (c *ListSubnetsByTagsRequestBodyAction) UnmarshalJSON(b []byte) error

type ListSubnetsByTagsRequestBodyActionEnum

type ListSubnetsByTagsRequestBodyActionEnum struct {
	FILTER ListSubnetsByTagsRequestBodyAction
	COUNT  ListSubnetsByTagsRequestBodyAction
}

func GetListSubnetsByTagsRequestBodyActionEnum

func GetListSubnetsByTagsRequestBodyActionEnum() ListSubnetsByTagsRequestBodyActionEnum

type ListSubnetsByTagsResponse

type ListSubnetsByTagsResponse struct {
	Resources *[]ListResourceResp `json:"resources,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListSubnetsByTagsResponse) String

func (o ListSubnetsByTagsResponse) String() string

type ListSubnetsRequest

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

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

	VpcId *string `json:"vpc_id,omitempty"`
}

Request Object

func (ListSubnetsRequest) String

func (o ListSubnetsRequest) String() string

type ListSubnetsResponse

type ListSubnetsResponse struct {
	Subnets        *[]Subnet `json:"subnets,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListSubnetsResponse) String

func (o ListSubnetsResponse) String() string

type ListTag

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

	Values []string `json:"values"`
}

func (ListTag) String

func (o ListTag) String() string

type ListVpcPeeringsRequest

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

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

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

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

	Status *ListVpcPeeringsRequestStatus `json:"status,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`
}

Request Object

func (ListVpcPeeringsRequest) String

func (o ListVpcPeeringsRequest) String() string

type ListVpcPeeringsRequestStatus

type ListVpcPeeringsRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListVpcPeeringsRequestStatus) MarshalJSON

func (c ListVpcPeeringsRequestStatus) MarshalJSON() ([]byte, error)

func (*ListVpcPeeringsRequestStatus) UnmarshalJSON

func (c *ListVpcPeeringsRequestStatus) UnmarshalJSON(b []byte) error

type ListVpcPeeringsRequestStatusEnum

type ListVpcPeeringsRequestStatusEnum struct {
	PENDING_ACCEPTANCE ListVpcPeeringsRequestStatus
	REJECTED           ListVpcPeeringsRequestStatus
	EXPIRED            ListVpcPeeringsRequestStatus
	DELETED            ListVpcPeeringsRequestStatus
	ACTIVE             ListVpcPeeringsRequestStatus
}

func GetListVpcPeeringsRequestStatusEnum

func GetListVpcPeeringsRequestStatusEnum() ListVpcPeeringsRequestStatusEnum

type ListVpcPeeringsResponse

type ListVpcPeeringsResponse struct {
	Peerings *[]VpcPeering `json:"peerings,omitempty"`

	PeeringsLinks  *[]NeutronPageLink `json:"peerings_links,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListVpcPeeringsResponse) String

func (o ListVpcPeeringsResponse) String() string

type ListVpcRoutesRequest

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

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

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

	Type *ListVpcRoutesRequestType `json:"type,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	Destination *string `json:"destination,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`
}

Request Object

func (ListVpcRoutesRequest) String

func (o ListVpcRoutesRequest) String() string

type ListVpcRoutesRequestType

type ListVpcRoutesRequestType struct {
	// contains filtered or unexported fields
}

func (ListVpcRoutesRequestType) MarshalJSON

func (c ListVpcRoutesRequestType) MarshalJSON() ([]byte, error)

func (*ListVpcRoutesRequestType) UnmarshalJSON

func (c *ListVpcRoutesRequestType) UnmarshalJSON(b []byte) error

type ListVpcRoutesRequestTypeEnum

type ListVpcRoutesRequestTypeEnum struct {
	PEERING ListVpcRoutesRequestType
}

func GetListVpcRoutesRequestTypeEnum

func GetListVpcRoutesRequestTypeEnum() ListVpcRoutesRequestTypeEnum

type ListVpcRoutesResponse

type ListVpcRoutesResponse struct {
	Routes *[]VpcRoute `json:"routes,omitempty"`

	RoutesLinks    *[]NeutronPageLink `json:"routes_links,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListVpcRoutesResponse) String

func (o ListVpcRoutesResponse) String() string

type ListVpcTagsRequest

type ListVpcTagsRequest struct {
}

Request Object

func (ListVpcTagsRequest) String

func (o ListVpcTagsRequest) String() string

type ListVpcTagsResponse

type ListVpcTagsResponse struct {
	Tags           *[]ListTag `json:"tags,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListVpcTagsResponse) String

func (o ListVpcTagsResponse) String() string

type ListVpcsByTagsRequest

type ListVpcsByTagsRequest struct {
	Body *ListVpcsByTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (ListVpcsByTagsRequest) String

func (o ListVpcsByTagsRequest) String() string

type ListVpcsByTagsRequestBody

type ListVpcsByTagsRequestBody struct {
	Action ListVpcsByTagsRequestBodyAction `json:"action"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Matches *[]Match `json:"matches,omitempty"`

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

This is a auto create Body Object

func (ListVpcsByTagsRequestBody) String

func (o ListVpcsByTagsRequestBody) String() string

type ListVpcsByTagsRequestBodyAction

type ListVpcsByTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (ListVpcsByTagsRequestBodyAction) MarshalJSON

func (c ListVpcsByTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*ListVpcsByTagsRequestBodyAction) UnmarshalJSON

func (c *ListVpcsByTagsRequestBodyAction) UnmarshalJSON(b []byte) error

type ListVpcsByTagsRequestBodyActionEnum

type ListVpcsByTagsRequestBodyActionEnum struct {
	FILTER ListVpcsByTagsRequestBodyAction
	COUNT  ListVpcsByTagsRequestBodyAction
}

func GetListVpcsByTagsRequestBodyActionEnum

func GetListVpcsByTagsRequestBodyActionEnum() ListVpcsByTagsRequestBodyActionEnum

type ListVpcsByTagsResponse

type ListVpcsByTagsResponse struct {
	Resources *[]ListResourceResp `json:"resources,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListVpcsByTagsResponse) String

func (o ListVpcsByTagsResponse) String() string

type ListVpcsRequest

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

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

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

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

Request Object

func (ListVpcsRequest) String

func (o ListVpcsRequest) String() string

type ListVpcsResponse

type ListVpcsResponse struct {
	Vpcs           *[]Vpc `json:"vpcs,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListVpcsResponse) String

func (o ListVpcsResponse) String() string

type Match

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

	Value string `json:"value"`
}

func (Match) String

func (o Match) String() string

type NetworkIpAvailability

type NetworkIpAvailability struct {
	NetworkId string `json:"network_id"`

	NetworkName string `json:"network_name"`

	TenantId string `json:"tenant_id"`

	TotalIps int32 `json:"total_ips"`

	UsedIps int32 `json:"used_ips"`

	SubnetIpAvailability []SubnetIpAvailability `json:"subnet_ip_availability"`
}

func (NetworkIpAvailability) String

func (o NetworkIpAvailability) String() string

type NeutronAddFirewallRuleRequest

type NeutronAddFirewallRuleRequest struct {
	FirewallPolicyId string `json:"firewall_policy_id"`

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

Request Object

func (NeutronAddFirewallRuleRequest) String

type NeutronAddFirewallRuleResponse

type NeutronAddFirewallRuleResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	FirewallRules *[]string `json:"firewall_rules,omitempty"`

	Audited *bool `json:"audited,omitempty"`

	Public *bool `json:"public,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`

	ProjectId      *string `json:"project_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (NeutronAddFirewallRuleResponse) String

type NeutronCreateFirewallGroupOption

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

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

	IngressFirewallPolicyId *string `json:"ingress_firewall_policy_id,omitempty"`

	EgressFirewallPolicyId *string `json:"egress_firewall_policy_id,omitempty"`

	Ports *[]string `json:"ports,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`
}

func (NeutronCreateFirewallGroupOption) String

type NeutronCreateFirewallGroupRequest

type NeutronCreateFirewallGroupRequest struct {
	Body *NeutronCreateFirewallGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (NeutronCreateFirewallGroupRequest) String

type NeutronCreateFirewallGroupRequestBody

type NeutronCreateFirewallGroupRequestBody struct {
	FirewallGroup *NeutronCreateFirewallGroupOption `json:"firewall_group"`
}

func (NeutronCreateFirewallGroupRequestBody) String

type NeutronCreateFirewallGroupResponse

type NeutronCreateFirewallGroupResponse struct {
	FirewallGroup  *NeutronFirewallGroup `json:"firewall_group,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (NeutronCreateFirewallGroupResponse) String

type NeutronCreateFirewallPolicyOption

type NeutronCreateFirewallPolicyOption struct {
	Audited *bool `json:"audited,omitempty"`

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

	FirewallRules *[]string `json:"firewall_rules,omitempty"`

	Name *string `json:"name,omitempty"`
}

func (NeutronCreateFirewallPolicyOption) String

type NeutronCreateFirewallPolicyRequest

type NeutronCreateFirewallPolicyRequest struct {
	Body *NeutronCreateFirewallPolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (NeutronCreateFirewallPolicyRequest) String

type NeutronCreateFirewallPolicyRequestBody

type NeutronCreateFirewallPolicyRequestBody struct {
	FirewallPolicy *NeutronCreateFirewallPolicyOption `json:"firewall_policy"`
}

func (NeutronCreateFirewallPolicyRequestBody) String

type NeutronCreateFirewallPolicyResponse

type NeutronCreateFirewallPolicyResponse struct {
	FirewallPolicy *NeutronFirewallPolicy `json:"firewall_policy,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (NeutronCreateFirewallPolicyResponse) String

type NeutronCreateFirewallRuleOption

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

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

	Protocol *string `json:"protocol,omitempty"`

	Action *NeutronCreateFirewallRuleOptionAction `json:"action,omitempty"`

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

	DestinationIpAddress *string `json:"destination_ip_address,omitempty"`

	DestinationPort *string `json:"destination_port,omitempty"`

	SourceIpAddress *string `json:"source_ip_address,omitempty"`

	SourcePort *string `json:"source_port,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`
}

func (NeutronCreateFirewallRuleOption) String

type NeutronCreateFirewallRuleOptionAction

type NeutronCreateFirewallRuleOptionAction struct {
	// contains filtered or unexported fields
}

func (NeutronCreateFirewallRuleOptionAction) MarshalJSON

func (c NeutronCreateFirewallRuleOptionAction) MarshalJSON() ([]byte, error)

func (*NeutronCreateFirewallRuleOptionAction) UnmarshalJSON

func (c *NeutronCreateFirewallRuleOptionAction) UnmarshalJSON(b []byte) error

type NeutronCreateFirewallRuleOptionActionEnum

type NeutronCreateFirewallRuleOptionActionEnum struct {
	DENY  NeutronCreateFirewallRuleOptionAction
	ALLOW NeutronCreateFirewallRuleOptionAction
}

func GetNeutronCreateFirewallRuleOptionActionEnum

func GetNeutronCreateFirewallRuleOptionActionEnum() NeutronCreateFirewallRuleOptionActionEnum

type NeutronCreateFirewallRuleRequest

type NeutronCreateFirewallRuleRequest struct {
	Body *NeutronCreateFirewallRuleRequestBody `json:"body,omitempty"`
}

Request Object

func (NeutronCreateFirewallRuleRequest) String

type NeutronCreateFirewallRuleRequestBody

type NeutronCreateFirewallRuleRequestBody struct {
	FirewallRule *NeutronCreateFirewallRuleOption `json:"firewall_rule"`
}

func (NeutronCreateFirewallRuleRequestBody) String

type NeutronCreateFirewallRuleResponse

type NeutronCreateFirewallRuleResponse struct {
	FirewallRule   *NeutronFirewallRule `json:"firewall_rule,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (NeutronCreateFirewallRuleResponse) String

type NeutronCreateSecurityGroupOption

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

	Name *string `json:"name,omitempty"`
}

func (NeutronCreateSecurityGroupOption) String

type NeutronCreateSecurityGroupRequest

type NeutronCreateSecurityGroupRequest struct {
	Body *NeutronCreateSecurityGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (NeutronCreateSecurityGroupRequest) String

type NeutronCreateSecurityGroupRequestBody

type NeutronCreateSecurityGroupRequestBody struct {
	SecurityGroup *NeutronCreateSecurityGroupOption `json:"security_group"`
}

func (NeutronCreateSecurityGroupRequestBody) String

type NeutronCreateSecurityGroupResponse

type NeutronCreateSecurityGroupResponse struct {
	SecurityGroup  *NeutronSecurityGroup `json:"security_group,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (NeutronCreateSecurityGroupResponse) String

type NeutronCreateSecurityGroupRuleOption

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

	Direction NeutronCreateSecurityGroupRuleOptionDirection `json:"direction"`

	Ethertype *NeutronCreateSecurityGroupRuleOptionEthertype `json:"ethertype,omitempty"`

	PortRangeMax *int32 `json:"port_range_max,omitempty"`

	PortRangeMin *int32 `json:"port_range_min,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	RemoteGroupId *string `json:"remote_group_id,omitempty"`

	RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"`

	SecurityGroupId string `json:"security_group_id"`
}

func (NeutronCreateSecurityGroupRuleOption) String

type NeutronCreateSecurityGroupRuleOptionDirection

type NeutronCreateSecurityGroupRuleOptionDirection struct {
	// contains filtered or unexported fields
}

func (NeutronCreateSecurityGroupRuleOptionDirection) MarshalJSON

func (*NeutronCreateSecurityGroupRuleOptionDirection) UnmarshalJSON

type NeutronCreateSecurityGroupRuleOptionEthertype

type NeutronCreateSecurityGroupRuleOptionEthertype struct {
	// contains filtered or unexported fields
}

func (NeutronCreateSecurityGroupRuleOptionEthertype) MarshalJSON

func (*NeutronCreateSecurityGroupRuleOptionEthertype) UnmarshalJSON

type NeutronCreateSecurityGroupRuleRequest

type NeutronCreateSecurityGroupRuleRequest struct {
	Body *NeutronCreateSecurityGroupRuleRequestBody `json:"body,omitempty"`
}

Request Object

func (NeutronCreateSecurityGroupRuleRequest) String

type NeutronCreateSecurityGroupRuleRequestBody

type NeutronCreateSecurityGroupRuleRequestBody struct {
	SecurityGroupRule *NeutronCreateSecurityGroupRuleOption `json:"security_group_rule"`
}

func (NeutronCreateSecurityGroupRuleRequestBody) String

type NeutronCreateSecurityGroupRuleResponse

type NeutronCreateSecurityGroupRuleResponse struct {
	SecurityGroupRule *NeutronSecurityGroupRule `json:"security_group_rule,omitempty"`
	HttpStatusCode    int                       `json:"-"`
}

Response Object

func (NeutronCreateSecurityGroupRuleResponse) String

type NeutronDeleteFirewallGroupRequest

type NeutronDeleteFirewallGroupRequest struct {
	FirewallGroupId string `json:"firewall_group_id"`
}

Request Object

func (NeutronDeleteFirewallGroupRequest) String

type NeutronDeleteFirewallGroupResponse

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

Response Object

func (NeutronDeleteFirewallGroupResponse) String

type NeutronDeleteFirewallPolicyRequest

type NeutronDeleteFirewallPolicyRequest struct {
	FirewallPolicyId string `json:"firewall_policy_id"`
}

Request Object

func (NeutronDeleteFirewallPolicyRequest) String

type NeutronDeleteFirewallPolicyResponse

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

Response Object

func (NeutronDeleteFirewallPolicyResponse) String

type NeutronDeleteFirewallRuleRequest

type NeutronDeleteFirewallRuleRequest struct {
	FirewallRuleId string `json:"firewall_rule_id"`
}

Request Object

func (NeutronDeleteFirewallRuleRequest) String

type NeutronDeleteFirewallRuleResponse

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

Response Object

func (NeutronDeleteFirewallRuleResponse) String

type NeutronDeleteSecurityGroupRequest

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

Request Object

func (NeutronDeleteSecurityGroupRequest) String

type NeutronDeleteSecurityGroupResponse

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

Response Object

func (NeutronDeleteSecurityGroupResponse) String

type NeutronDeleteSecurityGroupRuleRequest

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

Request Object

func (NeutronDeleteSecurityGroupRuleRequest) String

type NeutronDeleteSecurityGroupRuleResponse

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

Response Object

func (NeutronDeleteSecurityGroupRuleResponse) String

type NeutronFirewallGroup

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

	Name string `json:"name"`

	Description string `json:"description"`

	AdminStateUp bool `json:"admin_state_up"`

	EgressFirewallPolicyId string `json:"egress_firewall_policy_id"`

	IngressFirewallPolicyId string `json:"ingress_firewall_policy_id"`

	Ports []string `json:"ports"`

	Public bool `json:"public"`

	Status string `json:"status"`

	TenantId string `json:"tenant_id"`

	ProjectId string `json:"project_id"`

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

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

func (NeutronFirewallGroup) String

func (o NeutronFirewallGroup) String() string

type NeutronFirewallPolicy

type NeutronFirewallPolicy struct {
	Audited bool `json:"audited"`

	Description string `json:"description"`

	FirewallRules []string `json:"firewall_rules"`

	Id string `json:"id"`

	Name string `json:"name"`

	Public bool `json:"public"`

	TenantId string `json:"tenant_id"`

	ProjectId string `json:"project_id"`
}

func (NeutronFirewallPolicy) String

func (o NeutronFirewallPolicy) String() string

type NeutronFirewallRule

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

	Name string `json:"name"`

	Description string `json:"description"`

	Action NeutronFirewallRuleAction `json:"action"`

	Protocol string `json:"protocol"`

	IpVersion int32 `json:"ip_version"`

	Enabled bool `json:"enabled"`

	Public bool `json:"public"`

	DestinationIpAddress string `json:"destination_ip_address"`

	DestinationPort string `json:"destination_port"`

	SourceIpAddress string `json:"source_ip_address"`

	SourcePort string `json:"source_port"`

	TenantId string `json:"tenant_id"`

	ProjectId string `json:"project_id"`
}

func (NeutronFirewallRule) String

func (o NeutronFirewallRule) String() string

type NeutronFirewallRuleAction

type NeutronFirewallRuleAction struct {
	// contains filtered or unexported fields
}

func (NeutronFirewallRuleAction) MarshalJSON

func (c NeutronFirewallRuleAction) MarshalJSON() ([]byte, error)

func (*NeutronFirewallRuleAction) UnmarshalJSON

func (c *NeutronFirewallRuleAction) UnmarshalJSON(b []byte) error

type NeutronFirewallRuleActionEnum

type NeutronFirewallRuleActionEnum struct {
	DENY  NeutronFirewallRuleAction
	ALLOW NeutronFirewallRuleAction
}

func GetNeutronFirewallRuleActionEnum

func GetNeutronFirewallRuleActionEnum() NeutronFirewallRuleActionEnum

type NeutronInsertFirewallRuleRequestBody

type NeutronInsertFirewallRuleRequestBody struct {
	FirewallRuleId string `json:"firewall_rule_id"`

	InsertAfter *string `json:"insert_after,omitempty"`

	InsertBefore *string `json:"insert_before,omitempty"`
}

func (NeutronInsertFirewallRuleRequestBody) String

type NeutronListFirewallGroupsRequest

type NeutronListFirewallGroupsRequest struct {
	Marker *string `json:"marker,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

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

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

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

	IngressFirewallPolicyId *string `json:"ingress_firewall_policy_id,omitempty"`

	EgressFirewallPolicyId *string `json:"egress_firewall_policy_id,omitempty"`
}

Request Object

func (NeutronListFirewallGroupsRequest) String

type NeutronListFirewallGroupsResponse

type NeutronListFirewallGroupsResponse struct {
	FirewallGroups *[]NeutronFirewallGroup `json:"firewall_groups,omitempty"`

	FirewallGroupsLinks *[]NeutronPageLink `json:"firewall_groups_links,omitempty"`
	HttpStatusCode      int                `json:"-"`
}

Response Object

func (NeutronListFirewallGroupsResponse) String

type NeutronListFirewallPoliciesRequest

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

	TenantId *string `json:"tenant_id,omitempty"`
}

Request Object

func (NeutronListFirewallPoliciesRequest) String

type NeutronListFirewallPoliciesResponse

type NeutronListFirewallPoliciesResponse struct {
	FirewallPolicies *[]NeutronFirewallPolicy `json:"firewall_policies,omitempty"`

	FirewallPoliciesLinks *[]NeutronPageLink `json:"firewall_policies_links,omitempty"`
	HttpStatusCode        int                `json:"-"`
}

Response Object

func (NeutronListFirewallPoliciesResponse) String

type NeutronListFirewallRulesRequest

type NeutronListFirewallRulesRequest struct {
	Marker *string `json:"marker,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

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

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

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

	Action *string `json:"action,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`
}

Request Object

func (NeutronListFirewallRulesRequest) String

type NeutronListFirewallRulesResponse

type NeutronListFirewallRulesResponse struct {
	FirewallRules *[]NeutronFirewallRule `json:"firewall_rules,omitempty"`

	FirewallRulesLinks *[]NeutronPageLink `json:"firewall_rules_links,omitempty"`
	HttpStatusCode     int                `json:"-"`
}

Response Object

func (NeutronListFirewallRulesResponse) String

type NeutronListSecurityGroupRulesRequest

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

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

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

	Direction *string `json:"direction,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Ethertype *string `json:"ethertype,omitempty"`

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

	RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"`

	RemoteGroupId *string `json:"remote_group_id,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	PortRangeMax *string `json:"port_range_max,omitempty"`

	PortRangeMin *string `json:"port_range_min,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`
}

Request Object

func (NeutronListSecurityGroupRulesRequest) String

type NeutronListSecurityGroupRulesResponse

type NeutronListSecurityGroupRulesResponse struct {
	SecurityGroupRules *[]NeutronSecurityGroupRule `json:"security_group_rules,omitempty"`
	HttpStatusCode     int                         `json:"-"`
}

Response Object

func (NeutronListSecurityGroupRulesResponse) String

type NeutronListSecurityGroupsRequest

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

	TenantId *string `json:"tenant_id,omitempty"`
}

Request Object

func (NeutronListSecurityGroupsRequest) String

type NeutronListSecurityGroupsResponse

type NeutronListSecurityGroupsResponse struct {
	SecurityGroups *[]NeutronSecurityGroup `json:"security_groups,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (NeutronListSecurityGroupsResponse) String

type NeutronPageLink struct {
	Href string `json:"href"`

	Rel string `json:"rel"`
}

func (NeutronPageLink) String

func (o NeutronPageLink) String() string

type NeutronRemoveFirewallRuleRequest

type NeutronRemoveFirewallRuleRequest struct {
	FirewallPolicyId string `json:"firewall_policy_id"`

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

Request Object

func (NeutronRemoveFirewallRuleRequest) String

type NeutronRemoveFirewallRuleRequestBody

type NeutronRemoveFirewallRuleRequestBody struct {
	FirewallRuleId string `json:"firewall_rule_id"`
}

func (NeutronRemoveFirewallRuleRequestBody) String

type NeutronRemoveFirewallRuleResponse

type NeutronRemoveFirewallRuleResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	FirewallRules *[]string `json:"firewall_rules,omitempty"`

	Audited *bool `json:"audited,omitempty"`

	Public *bool `json:"public,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`

	ProjectId      *string `json:"project_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (NeutronRemoveFirewallRuleResponse) String

type NeutronSecurityGroup

type NeutronSecurityGroup struct {
	Description string `json:"description"`

	Id string `json:"id"`

	Name string `json:"name"`

	SecurityGroupRules []NeutronSecurityGroupRule `json:"security_group_rules"`

	TenantId string `json:"tenant_id"`

	ProjectId string `json:"project_id"`

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

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

func (NeutronSecurityGroup) String

func (o NeutronSecurityGroup) String() string

type NeutronSecurityGroupRule

type NeutronSecurityGroupRule struct {
	Description string `json:"description"`

	Direction NeutronSecurityGroupRuleDirection `json:"direction"`

	Ethertype string `json:"ethertype"`

	Id string `json:"id"`

	PortRangeMax int32 `json:"port_range_max"`

	PortRangeMin int32 `json:"port_range_min"`

	Protocol string `json:"protocol"`

	RemoteGroupId string `json:"remote_group_id"`

	RemoteIpPrefix string `json:"remote_ip_prefix"`

	SecurityGroupId string `json:"security_group_id"`

	TenantId string `json:"tenant_id"`

	ProjectId string `json:"project_id"`

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

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

func (NeutronSecurityGroupRule) String

func (o NeutronSecurityGroupRule) String() string

type NeutronSecurityGroupRuleDirection

type NeutronSecurityGroupRuleDirection struct {
	// contains filtered or unexported fields
}

func (NeutronSecurityGroupRuleDirection) MarshalJSON

func (c NeutronSecurityGroupRuleDirection) MarshalJSON() ([]byte, error)

func (*NeutronSecurityGroupRuleDirection) UnmarshalJSON

func (c *NeutronSecurityGroupRuleDirection) UnmarshalJSON(b []byte) error

type NeutronSecurityGroupRuleDirectionEnum

type NeutronSecurityGroupRuleDirectionEnum struct {
	INGRESS NeutronSecurityGroupRuleDirection
	EGRESS  NeutronSecurityGroupRuleDirection
}

func GetNeutronSecurityGroupRuleDirectionEnum

func GetNeutronSecurityGroupRuleDirectionEnum() NeutronSecurityGroupRuleDirectionEnum

type NeutronShowFirewallGroupRequest

type NeutronShowFirewallGroupRequest struct {
	FirewallGroupId string `json:"firewall_group_id"`
}

Request Object

func (NeutronShowFirewallGroupRequest) String

type NeutronShowFirewallGroupResponse

type NeutronShowFirewallGroupResponse struct {
	FirewallGroup  *NeutronFirewallGroup `json:"firewall_group,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (NeutronShowFirewallGroupResponse) String

type NeutronShowFirewallPolicyRequest

type NeutronShowFirewallPolicyRequest struct {
	FirewallPolicyId string `json:"firewall_policy_id"`
}

Request Object

func (NeutronShowFirewallPolicyRequest) String

type NeutronShowFirewallPolicyResponse

type NeutronShowFirewallPolicyResponse struct {
	FirewallPolicy *NeutronFirewallPolicy `json:"firewall_policy,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (NeutronShowFirewallPolicyResponse) String

type NeutronShowFirewallRuleRequest

type NeutronShowFirewallRuleRequest struct {
	FirewallRuleId string `json:"firewall_rule_id"`
}

Request Object

func (NeutronShowFirewallRuleRequest) String

type NeutronShowFirewallRuleResponse

type NeutronShowFirewallRuleResponse struct {
	FirewallRule   *NeutronFirewallRule `json:"firewall_rule,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (NeutronShowFirewallRuleResponse) String

type NeutronShowSecurityGroupRequest

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

Request Object

func (NeutronShowSecurityGroupRequest) String

type NeutronShowSecurityGroupResponse

type NeutronShowSecurityGroupResponse struct {
	SecurityGroup  *NeutronSecurityGroup `json:"security_group,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (NeutronShowSecurityGroupResponse) String

type NeutronShowSecurityGroupRuleRequest

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

Request Object

func (NeutronShowSecurityGroupRuleRequest) String

type NeutronShowSecurityGroupRuleResponse

type NeutronShowSecurityGroupRuleResponse struct {
	SecurityGroupRule *NeutronSecurityGroupRule `json:"security_group_rule,omitempty"`
	HttpStatusCode    int                       `json:"-"`
}

Response Object

func (NeutronShowSecurityGroupRuleResponse) String

type NeutronUpdateFirewallGroupOption

type NeutronUpdateFirewallGroupOption struct {
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

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

	EgressFirewallPolicyId *string `json:"egress_firewall_policy_id,omitempty"`

	IngressFirewallPolicyId *string `json:"ingress_firewall_policy_id,omitempty"`

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

	Ports *[]string `json:"ports,omitempty"`
}

func (NeutronUpdateFirewallGroupOption) String

type NeutronUpdateFirewallGroupRequest

type NeutronUpdateFirewallGroupRequest struct {
	FirewallGroupId string `json:"firewall_group_id"`

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

Request Object

func (NeutronUpdateFirewallGroupRequest) String

type NeutronUpdateFirewallGroupRequestBody

type NeutronUpdateFirewallGroupRequestBody struct {
	FirewallGroup *NeutronUpdateFirewallGroupOption `json:"firewall_group"`
}

func (NeutronUpdateFirewallGroupRequestBody) String

type NeutronUpdateFirewallGroupResponse

type NeutronUpdateFirewallGroupResponse struct {
	FirewallGroup  *NeutronFirewallGroup `json:"firewall_group,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (NeutronUpdateFirewallGroupResponse) String

type NeutronUpdateFirewallPolicyOption

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

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

	FirewallRules *[]string `json:"firewall_rules,omitempty"`

	Audited *bool `json:"audited,omitempty"`
}

func (NeutronUpdateFirewallPolicyOption) String

type NeutronUpdateFirewallPolicyRequest

type NeutronUpdateFirewallPolicyRequest struct {
	FirewallPolicyId string `json:"firewall_policy_id"`

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

Request Object

func (NeutronUpdateFirewallPolicyRequest) String

type NeutronUpdateFirewallPolicyRequestBody

type NeutronUpdateFirewallPolicyRequestBody struct {
	FirewallPolicy *NeutronUpdateFirewallPolicyOption `json:"firewall_policy"`
}

func (NeutronUpdateFirewallPolicyRequestBody) String

type NeutronUpdateFirewallPolicyResponse

type NeutronUpdateFirewallPolicyResponse struct {
	FirewallPolicy *NeutronFirewallPolicy `json:"firewall_policy,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (NeutronUpdateFirewallPolicyResponse) String

type NeutronUpdateFirewallRuleOption

type NeutronUpdateFirewallRuleOption struct {
	Action *NeutronUpdateFirewallRuleOptionAction `json:"action,omitempty"`

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

	DestinationIpAddress *string `json:"destination_ip_address,omitempty"`

	DestinationPort *string `json:"destination_port,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

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

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

	Protocol *string `json:"protocol,omitempty"`

	SourceIpAddress *string `json:"source_ip_address,omitempty"`

	SourcePort *string `json:"source_port,omitempty"`
}

func (NeutronUpdateFirewallRuleOption) String

type NeutronUpdateFirewallRuleOptionAction

type NeutronUpdateFirewallRuleOptionAction struct {
	// contains filtered or unexported fields
}

func (NeutronUpdateFirewallRuleOptionAction) MarshalJSON

func (c NeutronUpdateFirewallRuleOptionAction) MarshalJSON() ([]byte, error)

func (*NeutronUpdateFirewallRuleOptionAction) UnmarshalJSON

func (c *NeutronUpdateFirewallRuleOptionAction) UnmarshalJSON(b []byte) error

type NeutronUpdateFirewallRuleOptionActionEnum

type NeutronUpdateFirewallRuleOptionActionEnum struct {
	DENY  NeutronUpdateFirewallRuleOptionAction
	ALLOW NeutronUpdateFirewallRuleOptionAction
}

func GetNeutronUpdateFirewallRuleOptionActionEnum

func GetNeutronUpdateFirewallRuleOptionActionEnum() NeutronUpdateFirewallRuleOptionActionEnum

type NeutronUpdateFirewallRuleRequest

type NeutronUpdateFirewallRuleRequest struct {
	FirewallRuleId string `json:"firewall_rule_id"`

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

Request Object

func (NeutronUpdateFirewallRuleRequest) String

type NeutronUpdateFirewallRuleRequestBody

type NeutronUpdateFirewallRuleRequestBody struct {
	FirewallRule *NeutronUpdateFirewallRuleOption `json:"firewall_rule"`
}

func (NeutronUpdateFirewallRuleRequestBody) String

type NeutronUpdateFirewallRuleResponse

type NeutronUpdateFirewallRuleResponse struct {
	FirewallRule   *NeutronFirewallRule `json:"firewall_rule,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (NeutronUpdateFirewallRuleResponse) String

type NeutronUpdateSecurityGroupOption

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

	Name *string `json:"name,omitempty"`
}

func (NeutronUpdateSecurityGroupOption) String

type NeutronUpdateSecurityGroupRequest

type NeutronUpdateSecurityGroupRequest struct {
	SecurityGroupId string `json:"security_group_id"`

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

Request Object

func (NeutronUpdateSecurityGroupRequest) String

type NeutronUpdateSecurityGroupRequestBody

type NeutronUpdateSecurityGroupRequestBody struct {
	SecurityGroup *NeutronUpdateSecurityGroupOption `json:"security_group"`
}

func (NeutronUpdateSecurityGroupRequestBody) String

type NeutronUpdateSecurityGroupResponse

type NeutronUpdateSecurityGroupResponse struct {
	SecurityGroup  *NeutronSecurityGroup `json:"security_group,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (NeutronUpdateSecurityGroupResponse) String

type Port

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

	Name string `json:"name"`

	NetworkId string `json:"network_id"`

	AdminStateUp bool `json:"admin_state_up"`

	MacAddress string `json:"mac_address"`

	FixedIps []FixedIp `json:"fixed_ips"`

	DeviceId string `json:"device_id"`

	DeviceOwner PortDeviceOwner `json:"device_owner"`

	TenantId string `json:"tenant_id"`

	Status PortStatus `json:"status"`

	SecurityGroups []string `json:"security_groups"`

	AllowedAddressPairs []AllowedAddressPair `json:"allowed_address_pairs"`

	ExtraDhcpOpts []ExtraDhcpOpt `json:"extra_dhcp_opts"`

	BindingvnicType string `json:"binding:vnic_type"`

	DnsAssignment []DnsAssignMent `json:"dns_assignment"`

	DnsName string `json:"dns_name"`

	BindingvifDetails *interface{} `json:"binding:vif_details"`

	Bindingprofile *interface{} `json:"binding:profile"`

	InstanceId string `json:"instance_id"`

	InstanceType string `json:"instance_type"`

	PortSecurityEnabled bool `json:"port_security_enabled"`

	ZoneId string `json:"zone_id"`
}

func (Port) String

func (o Port) String() string

type PortDeviceOwner

type PortDeviceOwner struct {
	// contains filtered or unexported fields
}

func (PortDeviceOwner) MarshalJSON

func (c PortDeviceOwner) MarshalJSON() ([]byte, error)

func (*PortDeviceOwner) UnmarshalJSON

func (c *PortDeviceOwner) UnmarshalJSON(b []byte) error

type PortDeviceOwnerEnum

type PortDeviceOwnerEnum struct {
	NETWORKDHCP                         PortDeviceOwner
	NETWORKVIP_PORT                     PortDeviceOwner
	NETWORKROUTER_INTERFACE_DISTRIBUTED PortDeviceOwner
	NETWORKROUTER_CENTRALIZED_SNAT      PortDeviceOwner
}

func GetPortDeviceOwnerEnum

func GetPortDeviceOwnerEnum() PortDeviceOwnerEnum

type PortStatus

type PortStatus struct {
	// contains filtered or unexported fields
}

func (PortStatus) MarshalJSON

func (c PortStatus) MarshalJSON() ([]byte, error)

func (*PortStatus) UnmarshalJSON

func (c *PortStatus) UnmarshalJSON(b []byte) error

type PortStatusEnum

type PortStatusEnum struct {
	ACTIVE PortStatus
	BUILD  PortStatus
	DOWN   PortStatus
}

func GetPortStatusEnum

func GetPortStatusEnum() PortStatusEnum

type Privateip

type Privateip struct {
	Status PrivateipStatus `json:"status"`

	Id string `json:"id"`

	SubnetId string `json:"subnet_id"`

	TenantId string `json:"tenant_id"`

	DeviceOwner PrivateipDeviceOwner `json:"device_owner"`

	IpAddress string `json:"ip_address"`
}

func (Privateip) String

func (o Privateip) String() string

type PrivateipDeviceOwner

type PrivateipDeviceOwner struct {
	// contains filtered or unexported fields
}

func (PrivateipDeviceOwner) MarshalJSON

func (c PrivateipDeviceOwner) MarshalJSON() ([]byte, error)

func (*PrivateipDeviceOwner) UnmarshalJSON

func (c *PrivateipDeviceOwner) UnmarshalJSON(b []byte) error

type PrivateipDeviceOwnerEnum

type PrivateipDeviceOwnerEnum struct {
	NETWORKDHCP                         PrivateipDeviceOwner
	NETWORKROUTER_INTERFACE_DISTRIBUTED PrivateipDeviceOwner
	COMPUTEXXX                          PrivateipDeviceOwner
}

func GetPrivateipDeviceOwnerEnum

func GetPrivateipDeviceOwnerEnum() PrivateipDeviceOwnerEnum

type PrivateipStatus

type PrivateipStatus struct {
	// contains filtered or unexported fields
}

func (PrivateipStatus) MarshalJSON

func (c PrivateipStatus) MarshalJSON() ([]byte, error)

func (*PrivateipStatus) UnmarshalJSON

func (c *PrivateipStatus) UnmarshalJSON(b []byte) error

type PrivateipStatusEnum

type PrivateipStatusEnum struct {
	ACTIVE PrivateipStatus
	DOWN   PrivateipStatus
}

func GetPrivateipStatusEnum

func GetPrivateipStatusEnum() PrivateipStatusEnum

type Quota

type Quota struct {
	Resources []ResourceResult `json:"resources"`
}

func (Quota) String

func (o Quota) String() string

type RejectVpcPeeringRequest

type RejectVpcPeeringRequest struct {
	PeeringId string `json:"peering_id"`
}

Request Object

func (RejectVpcPeeringRequest) String

func (o RejectVpcPeeringRequest) String() string

type RejectVpcPeeringResponse

type RejectVpcPeeringResponse struct {
	Id *string `json:"id,omitempty"`

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

	Status *RejectVpcPeeringResponseStatus `json:"status,omitempty"`

	RequestVpcInfo *VpcInfo `json:"request_vpc_info,omitempty"`

	AcceptVpcInfo *VpcInfo `json:"accept_vpc_info,omitempty"`

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

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

	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RejectVpcPeeringResponse) String

func (o RejectVpcPeeringResponse) String() string

type RejectVpcPeeringResponseStatus

type RejectVpcPeeringResponseStatus struct {
	// contains filtered or unexported fields
}

func (RejectVpcPeeringResponseStatus) MarshalJSON

func (c RejectVpcPeeringResponseStatus) MarshalJSON() ([]byte, error)

func (*RejectVpcPeeringResponseStatus) UnmarshalJSON

func (c *RejectVpcPeeringResponseStatus) UnmarshalJSON(b []byte) error

type ResourceResult

type ResourceResult struct {
	Type ResourceResultType `json:"type"`

	Used int32 `json:"used"`

	Quota int32 `json:"quota"`

	Min int32 `json:"min"`
}

func (ResourceResult) String

func (o ResourceResult) String() string

type ResourceResultType

type ResourceResultType struct {
	// contains filtered or unexported fields
}

func (ResourceResultType) MarshalJSON

func (c ResourceResultType) MarshalJSON() ([]byte, error)

func (*ResourceResultType) UnmarshalJSON

func (c *ResourceResultType) UnmarshalJSON(b []byte) error

type ResourceResultTypeEnum

type ResourceResultTypeEnum struct {
	VPC                       ResourceResultType
	SUBNET                    ResourceResultType
	SECURITY_GROUP            ResourceResultType
	SECURITY_GROUP_RULE       ResourceResultType
	PUBLIC_IP                 ResourceResultType
	VPN                       ResourceResultType
	VPNGW                     ResourceResultType
	VPC_PEER                  ResourceResultType
	FIREWALL                  ResourceResultType
	SHARE_BANDWIDTH           ResourceResultType
	SHARE_BANDWIDTH_IP        ResourceResultType
	LOADBALANCER              ResourceResultType
	LISTENER                  ResourceResultType
	PHYSICAL_CONNECT          ResourceResultType
	VIRTUAL_INTERFACE         ResourceResultType
	VPC_CONTAIN_ROUTETABLE    ResourceResultType
	ROUTETABLE_CONTAIN_ROUTES ResourceResultType
}

func GetResourceResultTypeEnum

func GetResourceResultTypeEnum() ResourceResultTypeEnum

type ResourceTag

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

	Value string `json:"value"`
}

func (ResourceTag) String

func (o ResourceTag) String() string

type Route

type Route struct {
	Destination *string `json:"destination,omitempty"`

	Nexthop *string `json:"nexthop,omitempty"`
}

func (Route) String

func (o Route) String() string

type SecurityGroup

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

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

	Id string `json:"id"`

	VpcId *string `json:"vpc_id,omitempty"`

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

	SecurityGroupRules []SecurityGroupRule `json:"security_group_rules"`
}

func (SecurityGroup) String

func (o SecurityGroup) 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"`

	Ethertype string `json:"ethertype"`

	Protocol string `json:"protocol"`

	PortRangeMin int32 `json:"port_range_min"`

	PortRangeMax int32 `json:"port_range_max"`

	RemoteIpPrefix string `json:"remote_ip_prefix"`

	RemoteGroupId string `json:"remote_group_id"`

	TenantId string `json:"tenant_id"`
}

func (SecurityGroupRule) String

func (o SecurityGroupRule) String() string

type ShowNetworkIpAvailabilitiesRequest

type ShowNetworkIpAvailabilitiesRequest struct {
	NetworkId string `json:"network_id"`
}

Request Object

func (ShowNetworkIpAvailabilitiesRequest) String

type ShowNetworkIpAvailabilitiesResponse

type ShowNetworkIpAvailabilitiesResponse struct {
	NetworkIpAvailability *NetworkIpAvailability `json:"network_ip_availability,omitempty"`
	HttpStatusCode        int                    `json:"-"`
}

Response Object

func (ShowNetworkIpAvailabilitiesResponse) String

type ShowPortRequest

type ShowPortRequest struct {
	PortId string `json:"port_id"`
}

Request Object

func (ShowPortRequest) String

func (o ShowPortRequest) String() string

type ShowPortResponse

type ShowPortResponse struct {
	Port           *Port `json:"port,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowPortResponse) String

func (o ShowPortResponse) String() string

type ShowPrivateipRequest

type ShowPrivateipRequest struct {
	PrivateipId string `json:"privateip_id"`
}

Request Object

func (ShowPrivateipRequest) String

func (o ShowPrivateipRequest) String() string

type ShowPrivateipResponse

type ShowPrivateipResponse struct {
	Privateip      *Privateip `json:"privateip,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ShowPrivateipResponse) String

func (o ShowPrivateipResponse) String() string

type ShowQuotaRequest

type ShowQuotaRequest struct {
	Type *ShowQuotaRequestType `json:"type,omitempty"`
}

Request Object

func (ShowQuotaRequest) String

func (o ShowQuotaRequest) String() string

type ShowQuotaRequestType

type ShowQuotaRequestType struct {
	// contains filtered or unexported fields
}

func (ShowQuotaRequestType) MarshalJSON

func (c ShowQuotaRequestType) MarshalJSON() ([]byte, error)

func (*ShowQuotaRequestType) UnmarshalJSON

func (c *ShowQuotaRequestType) UnmarshalJSON(b []byte) error

type ShowQuotaRequestTypeEnum

type ShowQuotaRequestTypeEnum struct {
	VPC                       ShowQuotaRequestType
	SUBNET                    ShowQuotaRequestType
	SECURITY_GROUP            ShowQuotaRequestType
	SECURITY_GROUP_RULE       ShowQuotaRequestType
	PUBLIC_IP                 ShowQuotaRequestType
	VPN                       ShowQuotaRequestType
	VPNGW                     ShowQuotaRequestType
	VPC_PEER                  ShowQuotaRequestType
	FIREWALL                  ShowQuotaRequestType
	SHARE_BANDWIDTH           ShowQuotaRequestType
	SHARE_BANDWIDTH_IP        ShowQuotaRequestType
	LOADBALANCER              ShowQuotaRequestType
	LISTENER                  ShowQuotaRequestType
	PHYSICAL_CONNECT          ShowQuotaRequestType
	VIRTUAL_INTERFACE         ShowQuotaRequestType
	VPC_CONTAIN_ROUTETABLE    ShowQuotaRequestType
	ROUTETABLE_CONTAIN_ROUTES ShowQuotaRequestType
}

func GetShowQuotaRequestTypeEnum

func GetShowQuotaRequestTypeEnum() ShowQuotaRequestTypeEnum

type ShowQuotaResponse

type ShowQuotaResponse struct {
	Quotas         *Quota `json:"quotas,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowQuotaResponse) String

func (o ShowQuotaResponse) 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 {
	SecurityGroup  *SecurityGroup `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 {
	SecurityGroupRule *SecurityGroupRule `json:"security_group_rule,omitempty"`
	HttpStatusCode    int                `json:"-"`
}

Response Object

func (ShowSecurityGroupRuleResponse) String

type ShowSubnetRequest

type ShowSubnetRequest struct {
	SubnetId string `json:"subnet_id"`
}

Request Object

func (ShowSubnetRequest) String

func (o ShowSubnetRequest) String() string

type ShowSubnetResponse

type ShowSubnetResponse struct {
	Subnet         *Subnet `json:"subnet,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowSubnetResponse) String

func (o ShowSubnetResponse) String() string

type ShowSubnetTagsRequest

type ShowSubnetTagsRequest struct {
	SubnetId string `json:"subnet_id"`
}

Request Object

func (ShowSubnetTagsRequest) String

func (o ShowSubnetTagsRequest) String() string

type ShowSubnetTagsResponse

type ShowSubnetTagsResponse struct {
	Tags           *[]ResourceTag `json:"tags,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowSubnetTagsResponse) String

func (o ShowSubnetTagsResponse) String() string

type ShowVpcPeeringRequest

type ShowVpcPeeringRequest struct {
	PeeringId string `json:"peering_id"`
}

Request Object

func (ShowVpcPeeringRequest) String

func (o ShowVpcPeeringRequest) String() string

type ShowVpcPeeringResponse

type ShowVpcPeeringResponse struct {
	Peering        *VpcPeering `json:"peering,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ShowVpcPeeringResponse) String

func (o ShowVpcPeeringResponse) String() 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 {
	Vpc            *Vpc `json:"vpc,omitempty"`
	HttpStatusCode int  `json:"-"`
}

Response Object

func (ShowVpcResponse) String

func (o ShowVpcResponse) String() string

type ShowVpcRouteRequest

type ShowVpcRouteRequest struct {
	RouteId string `json:"route_id"`
}

Request Object

func (ShowVpcRouteRequest) String

func (o ShowVpcRouteRequest) String() string

type ShowVpcRouteResponse

type ShowVpcRouteResponse struct {
	Route          *VpcRoute `json:"route,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowVpcRouteResponse) String

func (o ShowVpcRouteResponse) String() string

type ShowVpcTagsRequest

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

Request Object

func (ShowVpcTagsRequest) String

func (o ShowVpcTagsRequest) String() string

type ShowVpcTagsResponse

type ShowVpcTagsResponse struct {
	Tags           *[]ResourceTag `json:"tags,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowVpcTagsResponse) String

func (o ShowVpcTagsResponse) String() string

type Subnet

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

	Name string `json:"name"`

	Description string `json:"description"`

	Cidr string `json:"cidr"`

	GatewayIp string `json:"gateway_ip"`

	Ipv6Enable bool `json:"ipv6_enable"`

	CidrV6 string `json:"cidr_v6"`

	GatewayIpV6 string `json:"gateway_ip_v6"`

	DhcpEnable bool `json:"dhcp_enable"`

	PrimaryDns string `json:"primary_dns"`

	SecondaryDns string `json:"secondary_dns"`

	DnsList []string `json:"dnsList"`

	AvailabilityZone string `json:"availability_zone"`

	VpcId string `json:"vpc_id"`

	Status SubnetStatus `json:"status"`

	NeutronNetworkId string `json:"neutron_network_id"`

	NeutronSubnetId string `json:"neutron_subnet_id"`

	NeutronSubnetIdV6 string `json:"neutron_subnet_id_v6"`

	ExtraDhcpOpts []ExtraDhcpOption `json:"extra_dhcp_opts"`

	Scope *string `json:"scope,omitempty"`
}

func (Subnet) String

func (o Subnet) String() string

type SubnetIpAvailability

type SubnetIpAvailability struct {
	UsedIps int32 `json:"used_ips"`

	SubnetId string `json:"subnet_id"`

	SubnetName string `json:"subnet_name"`

	IpVersion int32 `json:"ip_version"`

	Cidr string `json:"cidr"`

	TotalIps int32 `json:"total_ips"`
}

func (SubnetIpAvailability) String

func (o SubnetIpAvailability) String() string

type SubnetResult

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

	Status SubnetResultStatus `json:"status"`
}

func (SubnetResult) String

func (o SubnetResult) String() string

type SubnetResultStatus

type SubnetResultStatus struct {
	// contains filtered or unexported fields
}

func (SubnetResultStatus) MarshalJSON

func (c SubnetResultStatus) MarshalJSON() ([]byte, error)

func (*SubnetResultStatus) UnmarshalJSON

func (c *SubnetResultStatus) UnmarshalJSON(b []byte) error

type SubnetResultStatusEnum

type SubnetResultStatusEnum struct {
	ACTIVE  SubnetResultStatus
	UNKNOWN SubnetResultStatus
	ERROR   SubnetResultStatus
}

func GetSubnetResultStatusEnum

func GetSubnetResultStatusEnum() SubnetResultStatusEnum

type SubnetStatus

type SubnetStatus struct {
	// contains filtered or unexported fields
}

func (SubnetStatus) MarshalJSON

func (c SubnetStatus) MarshalJSON() ([]byte, error)

func (*SubnetStatus) UnmarshalJSON

func (c *SubnetStatus) UnmarshalJSON(b []byte) error

type SubnetStatusEnum

type SubnetStatusEnum struct {
	ACTIVE  SubnetStatus
	UNKNOWN SubnetStatus
	ERROR   SubnetStatus
}

func GetSubnetStatusEnum

func GetSubnetStatusEnum() SubnetStatusEnum

type UpdatePortOption

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

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

	AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"`

	ExtraDhcpOpts *[]ExtraDhcpOpt `json:"extra_dhcp_opts,omitempty"`
}

func (UpdatePortOption) String

func (o UpdatePortOption) String() string

type UpdatePortRequest

type UpdatePortRequest struct {
	PortId string `json:"port_id"`

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

Request Object

func (UpdatePortRequest) String

func (o UpdatePortRequest) String() string

type UpdatePortRequestBody

type UpdatePortRequestBody struct {
	Port *UpdatePortOption `json:"port"`
}

func (UpdatePortRequestBody) String

func (o UpdatePortRequestBody) String() string

type UpdatePortResponse

type UpdatePortResponse struct {
	Port           *Port `json:"port,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (UpdatePortResponse) String

func (o UpdatePortResponse) String() string

type UpdateSubnetOption

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

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

	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	DhcpEnable *bool `json:"dhcp_enable,omitempty"`

	PrimaryDns *string `json:"primary_dns,omitempty"`

	SecondaryDns *string `json:"secondary_dns,omitempty"`

	DnsList *[]string `json:"dnsList,omitempty"`

	ExtraDhcpOpts *[]ExtraDhcpOption `json:"extra_dhcp_opts,omitempty"`
}

func (UpdateSubnetOption) String

func (o UpdateSubnetOption) String() string

type UpdateSubnetRequest

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

	SubnetId string `json:"subnet_id"`

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

Request Object

func (UpdateSubnetRequest) String

func (o UpdateSubnetRequest) String() string

type UpdateSubnetRequestBody

type UpdateSubnetRequestBody struct {
	Subnet *UpdateSubnetOption `json:"subnet"`
}

func (UpdateSubnetRequestBody) String

func (o UpdateSubnetRequestBody) String() string

type UpdateSubnetResponse

type UpdateSubnetResponse struct {
	Subnet         *SubnetResult `json:"subnet,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (UpdateSubnetResponse) String

func (o UpdateSubnetResponse) String() string

type UpdateVpcOption

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

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

	Cidr *string `json:"cidr,omitempty"`

	Routes *[]Route `json:"routes,omitempty"`
}

func (UpdateVpcOption) String

func (o UpdateVpcOption) String() string

type UpdateVpcPeeringOption

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

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

更新peering对象

func (UpdateVpcPeeringOption) String

func (o UpdateVpcPeeringOption) String() string

type UpdateVpcPeeringRequest

type UpdateVpcPeeringRequest struct {
	PeeringId string `json:"peering_id"`

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

Request Object

func (UpdateVpcPeeringRequest) String

func (o UpdateVpcPeeringRequest) String() string

type UpdateVpcPeeringRequestBody

type UpdateVpcPeeringRequestBody struct {
	Peering *UpdateVpcPeeringOption `json:"peering"`
}

func (UpdateVpcPeeringRequestBody) String

type UpdateVpcPeeringResponse

type UpdateVpcPeeringResponse struct {
	Peering        *VpcPeering `json:"peering,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (UpdateVpcPeeringResponse) String

func (o UpdateVpcPeeringResponse) 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 {
	Vpc *UpdateVpcOption `json:"vpc"`
}

func (UpdateVpcRequestBody) String

func (o UpdateVpcRequestBody) String() string

type UpdateVpcResponse

type UpdateVpcResponse struct {
	Vpc            *Vpc `json:"vpc,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"`

	Cidr string `json:"cidr"`

	Description string `json:"description"`

	Routes []Route `json:"routes"`

	Status VpcStatus `json:"status"`

	EnterpriseProjectId string `json:"enterprise_project_id"`
}

func (Vpc) String

func (o Vpc) String() string

type VpcInfo

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

	TenantId *string `json:"tenant_id,omitempty"`
}

func (VpcInfo) String

func (o VpcInfo) String() string

type VpcPeering

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

	Name string `json:"name"`

	Status VpcPeeringStatus `json:"status"`

	RequestVpcInfo *VpcInfo `json:"request_vpc_info"`

	AcceptVpcInfo *VpcInfo `json:"accept_vpc_info"`

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

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

	Description string `json:"description"`
}

peering对象

func (VpcPeering) String

func (o VpcPeering) String() string

type VpcPeeringStatus

type VpcPeeringStatus struct {
	// contains filtered or unexported fields
}

func (VpcPeeringStatus) MarshalJSON

func (c VpcPeeringStatus) MarshalJSON() ([]byte, error)

func (*VpcPeeringStatus) UnmarshalJSON

func (c *VpcPeeringStatus) UnmarshalJSON(b []byte) error

type VpcPeeringStatusEnum

type VpcPeeringStatusEnum struct {
	PENDING_ACCEPTANCE VpcPeeringStatus
	REJECTED           VpcPeeringStatus
	EXPIRED            VpcPeeringStatus
	DELETED            VpcPeeringStatus
	ACTIVE             VpcPeeringStatus
}

func GetVpcPeeringStatusEnum

func GetVpcPeeringStatusEnum() VpcPeeringStatusEnum

type VpcRoute

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

	Destination string `json:"destination"`

	Nexthop string `json:"nexthop"`

	Type VpcRouteType `json:"type"`

	VpcId string `json:"vpc_id"`

	TenantId string `json:"tenant_id"`
}

func (VpcRoute) String

func (o VpcRoute) String() string

type VpcRouteType

type VpcRouteType struct {
	// contains filtered or unexported fields
}

func (VpcRouteType) MarshalJSON

func (c VpcRouteType) MarshalJSON() ([]byte, error)

func (*VpcRouteType) UnmarshalJSON

func (c *VpcRouteType) UnmarshalJSON(b []byte) error

type VpcRouteTypeEnum

type VpcRouteTypeEnum struct {
	PEERING VpcRouteType
}

func GetVpcRouteTypeEnum

func GetVpcRouteTypeEnum() VpcRouteTypeEnum

type VpcStatus

type VpcStatus struct {
	// contains filtered or unexported fields
}

func (VpcStatus) MarshalJSON

func (c VpcStatus) MarshalJSON() ([]byte, error)

func (*VpcStatus) UnmarshalJSON

func (c *VpcStatus) UnmarshalJSON(b []byte) error

type VpcStatusEnum

type VpcStatusEnum struct {
	CREATING VpcStatus
	OK       VpcStatus
	ERROR    VpcStatus
}

func GetVpcStatusEnum

func GetVpcStatusEnum() VpcStatusEnum

Source Files

Jump to

Keyboard shortcuts

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