bgpv1

package
v0.0.0-...-94cd6a6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BgpService_ChangeBgpPeersForNetwork_FullMethodName = "/cloudstack.management.network.bgp.v1.BgpService/ChangeBgpPeersForNetwork"
	BgpService_ChangeBgpPeersForVpc_FullMethodName     = "/cloudstack.management.network.bgp.v1.BgpService/ChangeBgpPeersForVpc"
	BgpService_CreateBgpPeer_FullMethodName            = "/cloudstack.management.network.bgp.v1.BgpService/CreateBgpPeer"
	BgpService_DedicateBgpPeer_FullMethodName          = "/cloudstack.management.network.bgp.v1.BgpService/DedicateBgpPeer"
	BgpService_DeleteBgpPeer_FullMethodName            = "/cloudstack.management.network.bgp.v1.BgpService/DeleteBgpPeer"
	BgpService_ListBgpPeers_FullMethodName             = "/cloudstack.management.network.bgp.v1.BgpService/ListBgpPeers"
	BgpService_ReleaseDedicatedBgpPeer_FullMethodName  = "/cloudstack.management.network.bgp.v1.BgpService/ReleaseDedicatedBgpPeer"
	BgpService_UpdateBgpPeer_FullMethodName            = "/cloudstack.management.network.bgp.v1.BgpService/UpdateBgpPeer"
)

Variables

View Source
var BgpService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.network.bgp.v1.BgpService",
	HandlerType: (*BgpServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ChangeBgpPeersForNetwork",
			Handler:    _BgpService_ChangeBgpPeersForNetwork_Handler,
		},
		{
			MethodName: "ChangeBgpPeersForVpc",
			Handler:    _BgpService_ChangeBgpPeersForVpc_Handler,
		},
		{
			MethodName: "CreateBgpPeer",
			Handler:    _BgpService_CreateBgpPeer_Handler,
		},
		{
			MethodName: "DedicateBgpPeer",
			Handler:    _BgpService_DedicateBgpPeer_Handler,
		},
		{
			MethodName: "DeleteBgpPeer",
			Handler:    _BgpService_DeleteBgpPeer_Handler,
		},
		{
			MethodName: "ListBgpPeers",
			Handler:    _BgpService_ListBgpPeers_Handler,
		},
		{
			MethodName: "ReleaseDedicatedBgpPeer",
			Handler:    _BgpService_ReleaseDedicatedBgpPeer_Handler,
		},
		{
			MethodName: "UpdateBgpPeer",
			Handler:    _BgpService_UpdateBgpPeer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/network/bgp/v1/bgp.gen.proto",
}

BgpService_ServiceDesc is the grpc.ServiceDesc for BgpService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_cloudstack_management_network_bgp_v1_bgp_gen_proto protoreflect.FileDescriptor

Functions

func RegisterBgpServiceServer

func RegisterBgpServiceServer(s grpc.ServiceRegistrar, srv BgpServiceServer)

Types

type BgpPeer

type BgpPeer struct {

	// The ID of the BgpPeer
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the BgpPeer
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the BgpPeer
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the BgpPeer
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

BgpPeer represents a BgpPeer Item

func (*BgpPeer) Descriptor deprecated

func (*BgpPeer) Descriptor() ([]byte, []int)

Deprecated: Use BgpPeer.ProtoReflect.Descriptor instead.

func (*BgpPeer) GetCreated

func (x *BgpPeer) GetCreated() string

func (*BgpPeer) GetDescription

func (x *BgpPeer) GetDescription() string

func (*BgpPeer) GetDisplayName

func (x *BgpPeer) GetDisplayName() string

func (*BgpPeer) GetId

func (x *BgpPeer) GetId() string

func (*BgpPeer) GetName

func (x *BgpPeer) GetName() string

func (*BgpPeer) ProtoMessage

func (*BgpPeer) ProtoMessage()

func (*BgpPeer) ProtoReflect

func (x *BgpPeer) ProtoReflect() protoreflect.Message

func (*BgpPeer) Reset

func (x *BgpPeer) Reset()

func (*BgpPeer) String

func (x *BgpPeer) String() string

type BgpServiceClient

type BgpServiceClient interface {
	// ChangeBgpPeersForNetwork Change the BGP peers for a network.
	ChangeBgpPeersForNetwork(ctx context.Context, in *ChangeBgpPeersForNetworkRequest, opts ...grpc.CallOption) (*ChangeBgpPeersForNetworkResponse, error)
	// ChangeBgpPeersForVpc Change the BGP peers for a VPC.
	ChangeBgpPeersForVpc(ctx context.Context, in *ChangeBgpPeersForVpcRequest, opts ...grpc.CallOption) (*ChangeBgpPeersForVpcResponse, error)
	// CreateBgpPeer Creates a Bgp Peer for a zone.
	CreateBgpPeer(ctx context.Context, in *CreateBgpPeerRequest, opts ...grpc.CallOption) (*CreateBgpPeerResponse, error)
	// DedicateBgpPeer Dedicates an existing Bgp Peer to an account or a domain.
	DedicateBgpPeer(ctx context.Context, in *DedicateBgpPeerRequest, opts ...grpc.CallOption) (*DedicateBgpPeerResponse, error)
	// DeleteBgpPeer Deletes an existing Bgp Peer.
	DeleteBgpPeer(ctx context.Context, in *DeleteBgpPeerRequest, opts ...grpc.CallOption) (*DeleteBgpPeerResponse, error)
	// ListBgpPeers Lists Bgp Peers.
	ListBgpPeers(ctx context.Context, in *ListBgpPeersRequest, opts ...grpc.CallOption) (*ListBgpPeersResponse, error)
	// ReleaseDedicatedBgpPeer Releases an existing dedicated Bgp Peer.
	ReleaseDedicatedBgpPeer(ctx context.Context, in *ReleaseDedicatedBgpPeerRequest, opts ...grpc.CallOption) (*ReleaseDedicatedBgpPeerResponse, error)
	// UpdateBgpPeer Updates an existing Bgp Peer.
	UpdateBgpPeer(ctx context.Context, in *UpdateBgpPeerRequest, opts ...grpc.CallOption) (*UpdateBgpPeerResponse, error)
}

BgpServiceClient is the client API for BgpService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

BgpService provides operations for managing Network.Bgps

func NewBgpServiceClient

func NewBgpServiceClient(cc grpc.ClientConnInterface) BgpServiceClient

type BgpServiceServer

type BgpServiceServer interface {
	// ChangeBgpPeersForNetwork Change the BGP peers for a network.
	ChangeBgpPeersForNetwork(context.Context, *ChangeBgpPeersForNetworkRequest) (*ChangeBgpPeersForNetworkResponse, error)
	// ChangeBgpPeersForVpc Change the BGP peers for a VPC.
	ChangeBgpPeersForVpc(context.Context, *ChangeBgpPeersForVpcRequest) (*ChangeBgpPeersForVpcResponse, error)
	// CreateBgpPeer Creates a Bgp Peer for a zone.
	CreateBgpPeer(context.Context, *CreateBgpPeerRequest) (*CreateBgpPeerResponse, error)
	// DedicateBgpPeer Dedicates an existing Bgp Peer to an account or a domain.
	DedicateBgpPeer(context.Context, *DedicateBgpPeerRequest) (*DedicateBgpPeerResponse, error)
	// DeleteBgpPeer Deletes an existing Bgp Peer.
	DeleteBgpPeer(context.Context, *DeleteBgpPeerRequest) (*DeleteBgpPeerResponse, error)
	// ListBgpPeers Lists Bgp Peers.
	ListBgpPeers(context.Context, *ListBgpPeersRequest) (*ListBgpPeersResponse, error)
	// ReleaseDedicatedBgpPeer Releases an existing dedicated Bgp Peer.
	ReleaseDedicatedBgpPeer(context.Context, *ReleaseDedicatedBgpPeerRequest) (*ReleaseDedicatedBgpPeerResponse, error)
	// UpdateBgpPeer Updates an existing Bgp Peer.
	UpdateBgpPeer(context.Context, *UpdateBgpPeerRequest) (*UpdateBgpPeerResponse, error)
	// contains filtered or unexported methods
}

BgpServiceServer is the server API for BgpService service. All implementations must embed UnimplementedBgpServiceServer for forward compatibility.

BgpService provides operations for managing Network.Bgps

type ChangeBgpPeersForNetworkRequest

type ChangeBgpPeersForNetworkRequest struct {

	// UUID of the network which the Bgp Peers are associated to.
	NetworkId *int64 `protobuf:"varint,1,opt,name=network_id,json=networkId" json:"network_id,omitempty"`
	// Ids of the Bgp Peer. If it is empty, all BGP peers will be unlinked.
	BgpPeerIds    []string `protobuf:"bytes,2,rep,name=bgp_peer_ids,json=bgpPeerIds" json:"bgp_peer_ids,omitempty"`
	StartEventId  *int64   `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string  `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string  `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ChangeBgpPeersForNetworkRequest represents the parameters for change the bgp peers for a network.

func (*ChangeBgpPeersForNetworkRequest) Descriptor deprecated

func (*ChangeBgpPeersForNetworkRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangeBgpPeersForNetworkRequest.ProtoReflect.Descriptor instead.

func (*ChangeBgpPeersForNetworkRequest) GetBgpPeerIds

func (x *ChangeBgpPeersForNetworkRequest) GetBgpPeerIds() []string

func (*ChangeBgpPeersForNetworkRequest) GetInjectedJobId

func (x *ChangeBgpPeersForNetworkRequest) GetInjectedJobId() string

func (*ChangeBgpPeersForNetworkRequest) GetNetworkId

func (x *ChangeBgpPeersForNetworkRequest) GetNetworkId() int64

func (*ChangeBgpPeersForNetworkRequest) GetResponseType

func (x *ChangeBgpPeersForNetworkRequest) GetResponseType() string

func (*ChangeBgpPeersForNetworkRequest) GetStartEventId

func (x *ChangeBgpPeersForNetworkRequest) GetStartEventId() int64

func (*ChangeBgpPeersForNetworkRequest) ProtoMessage

func (*ChangeBgpPeersForNetworkRequest) ProtoMessage()

func (*ChangeBgpPeersForNetworkRequest) ProtoReflect

func (*ChangeBgpPeersForNetworkRequest) Reset

func (*ChangeBgpPeersForNetworkRequest) String

type ChangeBgpPeersForNetworkResponse

type ChangeBgpPeersForNetworkResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ChangeBgpPeersForNetworkResponse represents the response from change the bgp peers for a network.

func (*ChangeBgpPeersForNetworkResponse) Descriptor deprecated

func (*ChangeBgpPeersForNetworkResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChangeBgpPeersForNetworkResponse.ProtoReflect.Descriptor instead.

func (*ChangeBgpPeersForNetworkResponse) GetResult

func (x *ChangeBgpPeersForNetworkResponse) GetResult() *Result

func (*ChangeBgpPeersForNetworkResponse) ProtoMessage

func (*ChangeBgpPeersForNetworkResponse) ProtoMessage()

func (*ChangeBgpPeersForNetworkResponse) ProtoReflect

func (*ChangeBgpPeersForNetworkResponse) Reset

func (*ChangeBgpPeersForNetworkResponse) String

type ChangeBgpPeersForVpcRequest

type ChangeBgpPeersForVpcRequest struct {

	// UUID of the VPC which the Bgp Peers are associated to.
	VpcId *int64 `protobuf:"varint,1,opt,name=vpc_id,json=vpcId" json:"vpc_id,omitempty"`
	// Ids of the Bgp Peer. If it is empty, all BGP peers will be unlinked.
	BgpPeerIds    []string `protobuf:"bytes,2,rep,name=bgp_peer_ids,json=bgpPeerIds" json:"bgp_peer_ids,omitempty"`
	StartEventId  *int64   `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string  `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string  `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ChangeBgpPeersForVpcRequest represents the parameters for change the bgp peers for a vpc.

func (*ChangeBgpPeersForVpcRequest) Descriptor deprecated

func (*ChangeBgpPeersForVpcRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangeBgpPeersForVpcRequest.ProtoReflect.Descriptor instead.

func (*ChangeBgpPeersForVpcRequest) GetBgpPeerIds

func (x *ChangeBgpPeersForVpcRequest) GetBgpPeerIds() []string

func (*ChangeBgpPeersForVpcRequest) GetInjectedJobId

func (x *ChangeBgpPeersForVpcRequest) GetInjectedJobId() string

func (*ChangeBgpPeersForVpcRequest) GetResponseType

func (x *ChangeBgpPeersForVpcRequest) GetResponseType() string

func (*ChangeBgpPeersForVpcRequest) GetStartEventId

func (x *ChangeBgpPeersForVpcRequest) GetStartEventId() int64

func (*ChangeBgpPeersForVpcRequest) GetVpcId

func (x *ChangeBgpPeersForVpcRequest) GetVpcId() int64

func (*ChangeBgpPeersForVpcRequest) ProtoMessage

func (*ChangeBgpPeersForVpcRequest) ProtoMessage()

func (*ChangeBgpPeersForVpcRequest) ProtoReflect

func (*ChangeBgpPeersForVpcRequest) Reset

func (x *ChangeBgpPeersForVpcRequest) Reset()

func (*ChangeBgpPeersForVpcRequest) String

func (x *ChangeBgpPeersForVpcRequest) String() string

type ChangeBgpPeersForVpcResponse

type ChangeBgpPeersForVpcResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ChangeBgpPeersForVpcResponse represents the response from change the bgp peers for a vpc.

func (*ChangeBgpPeersForVpcResponse) Descriptor deprecated

func (*ChangeBgpPeersForVpcResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChangeBgpPeersForVpcResponse.ProtoReflect.Descriptor instead.

func (*ChangeBgpPeersForVpcResponse) GetResult

func (x *ChangeBgpPeersForVpcResponse) GetResult() *Result

func (*ChangeBgpPeersForVpcResponse) ProtoMessage

func (*ChangeBgpPeersForVpcResponse) ProtoMessage()

func (*ChangeBgpPeersForVpcResponse) ProtoReflect

func (*ChangeBgpPeersForVpcResponse) Reset

func (x *ChangeBgpPeersForVpcResponse) Reset()

func (*ChangeBgpPeersForVpcResponse) String

type CreateBgpPeerRequest

type CreateBgpPeerRequest struct {

	// UUID of the zone which the Bgp Peer belongs to.
	ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// The IPv4 address of the Bgp Peer.
	Ip4Address *string `protobuf:"bytes,2,opt,name=ip4_address,json=ip4Address" json:"ip4_address,omitempty"`
	// The IPv6 address of the Bgp Peer.
	Ip6Address *string `protobuf:"bytes,3,opt,name=ip6_address,json=ip6Address" json:"ip6_address,omitempty"`
	// The AS number of the Bgp Peer.
	AsNumber *int64 `protobuf:"varint,4,opt,name=as_number,json=asNumber" json:"as_number,omitempty"`
	// The password of the Bgp Peer.
	Password *string `protobuf:"bytes,5,opt,name=password" json:"password,omitempty"`
	// account who will own the Bgp Peer
	AccountName *string `protobuf:"bytes,6,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// project who will own the Bgp Peer
	ProjectId *int64 `protobuf:"varint,7,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// domain ID of the account owning the Bgp Peer
	DomainId *int64 `protobuf:"varint,8,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// BGP peer details in key/value pairs.
	Details       map[string]string `` /* 134-byte string literal not displayed */
	StartEventId  *int64            `protobuf:"varint,10,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string           `protobuf:"bytes,11,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string           `protobuf:"bytes,12,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CreateBgpPeerRequest represents the parameters for creates a bgp peer for a zone.

func (*CreateBgpPeerRequest) Descriptor deprecated

func (*CreateBgpPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateBgpPeerRequest.ProtoReflect.Descriptor instead.

func (*CreateBgpPeerRequest) GetAccountName

func (x *CreateBgpPeerRequest) GetAccountName() string

func (*CreateBgpPeerRequest) GetAsNumber

func (x *CreateBgpPeerRequest) GetAsNumber() int64

func (*CreateBgpPeerRequest) GetDetails

func (x *CreateBgpPeerRequest) GetDetails() map[string]string

func (*CreateBgpPeerRequest) GetDomainId

func (x *CreateBgpPeerRequest) GetDomainId() int64

func (*CreateBgpPeerRequest) GetInjectedJobId

func (x *CreateBgpPeerRequest) GetInjectedJobId() string

func (*CreateBgpPeerRequest) GetIp4Address

func (x *CreateBgpPeerRequest) GetIp4Address() string

func (*CreateBgpPeerRequest) GetIp6Address

func (x *CreateBgpPeerRequest) GetIp6Address() string

func (*CreateBgpPeerRequest) GetPassword

func (x *CreateBgpPeerRequest) GetPassword() string

func (*CreateBgpPeerRequest) GetProjectId

func (x *CreateBgpPeerRequest) GetProjectId() int64

func (*CreateBgpPeerRequest) GetResponseType

func (x *CreateBgpPeerRequest) GetResponseType() string

func (*CreateBgpPeerRequest) GetStartEventId

func (x *CreateBgpPeerRequest) GetStartEventId() int64

func (*CreateBgpPeerRequest) GetZoneId

func (x *CreateBgpPeerRequest) GetZoneId() int64

func (*CreateBgpPeerRequest) ProtoMessage

func (*CreateBgpPeerRequest) ProtoMessage()

func (*CreateBgpPeerRequest) ProtoReflect

func (x *CreateBgpPeerRequest) ProtoReflect() protoreflect.Message

func (*CreateBgpPeerRequest) Reset

func (x *CreateBgpPeerRequest) Reset()

func (*CreateBgpPeerRequest) String

func (x *CreateBgpPeerRequest) String() string

type CreateBgpPeerResponse

type CreateBgpPeerResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

CreateBgpPeerResponse represents the response from creates a bgp peer for a zone.

func (*CreateBgpPeerResponse) Descriptor deprecated

func (*CreateBgpPeerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateBgpPeerResponse.ProtoReflect.Descriptor instead.

func (*CreateBgpPeerResponse) GetResult

func (x *CreateBgpPeerResponse) GetResult() *Result

func (*CreateBgpPeerResponse) ProtoMessage

func (*CreateBgpPeerResponse) ProtoMessage()

func (*CreateBgpPeerResponse) ProtoReflect

func (x *CreateBgpPeerResponse) ProtoReflect() protoreflect.Message

func (*CreateBgpPeerResponse) Reset

func (x *CreateBgpPeerResponse) Reset()

func (*CreateBgpPeerResponse) String

func (x *CreateBgpPeerResponse) String() string

type DedicateBgpPeerRequest

type DedicateBgpPeerRequest struct {

	// Id of the Bgp Peer
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// account who will own the Bgp Peer
	AccountName *string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// project who will own the Bgp Peer
	ProjectId *int64 `protobuf:"varint,3,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// domain ID of the account owning the Bgp Peer
	DomainId      *int64  `protobuf:"varint,4,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,5,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,6,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DedicateBgpPeerRequest represents the parameters for dedicates an existing bgp peer to an account or a domain.

func (*DedicateBgpPeerRequest) Descriptor deprecated

func (*DedicateBgpPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DedicateBgpPeerRequest.ProtoReflect.Descriptor instead.

func (*DedicateBgpPeerRequest) GetAccountName

func (x *DedicateBgpPeerRequest) GetAccountName() string

func (*DedicateBgpPeerRequest) GetDomainId

func (x *DedicateBgpPeerRequest) GetDomainId() int64

func (*DedicateBgpPeerRequest) GetId

func (x *DedicateBgpPeerRequest) GetId() int64

func (*DedicateBgpPeerRequest) GetInjectedJobId

func (x *DedicateBgpPeerRequest) GetInjectedJobId() string

func (*DedicateBgpPeerRequest) GetProjectId

func (x *DedicateBgpPeerRequest) GetProjectId() int64

func (*DedicateBgpPeerRequest) GetResponseType

func (x *DedicateBgpPeerRequest) GetResponseType() string

func (*DedicateBgpPeerRequest) GetStartEventId

func (x *DedicateBgpPeerRequest) GetStartEventId() int64

func (*DedicateBgpPeerRequest) ProtoMessage

func (*DedicateBgpPeerRequest) ProtoMessage()

func (*DedicateBgpPeerRequest) ProtoReflect

func (x *DedicateBgpPeerRequest) ProtoReflect() protoreflect.Message

func (*DedicateBgpPeerRequest) Reset

func (x *DedicateBgpPeerRequest) Reset()

func (*DedicateBgpPeerRequest) String

func (x *DedicateBgpPeerRequest) String() string

type DedicateBgpPeerResponse

type DedicateBgpPeerResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DedicateBgpPeerResponse represents the response from dedicates an existing bgp peer to an account or a domain.

func (*DedicateBgpPeerResponse) Descriptor deprecated

func (*DedicateBgpPeerResponse) Descriptor() ([]byte, []int)

Deprecated: Use DedicateBgpPeerResponse.ProtoReflect.Descriptor instead.

func (*DedicateBgpPeerResponse) GetResult

func (x *DedicateBgpPeerResponse) GetResult() *Result

func (*DedicateBgpPeerResponse) ProtoMessage

func (*DedicateBgpPeerResponse) ProtoMessage()

func (*DedicateBgpPeerResponse) ProtoReflect

func (x *DedicateBgpPeerResponse) ProtoReflect() protoreflect.Message

func (*DedicateBgpPeerResponse) Reset

func (x *DedicateBgpPeerResponse) Reset()

func (*DedicateBgpPeerResponse) String

func (x *DedicateBgpPeerResponse) String() string

type DeleteBgpPeerRequest

type DeleteBgpPeerRequest struct {

	// Id of the Bgp Peer
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DeleteBgpPeerRequest represents the parameters for deletes an existing bgp peer.

func (*DeleteBgpPeerRequest) Descriptor deprecated

func (*DeleteBgpPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBgpPeerRequest.ProtoReflect.Descriptor instead.

func (*DeleteBgpPeerRequest) GetId

func (x *DeleteBgpPeerRequest) GetId() int64

func (*DeleteBgpPeerRequest) GetInjectedJobId

func (x *DeleteBgpPeerRequest) GetInjectedJobId() string

func (*DeleteBgpPeerRequest) GetResponseType

func (x *DeleteBgpPeerRequest) GetResponseType() string

func (*DeleteBgpPeerRequest) GetStartEventId

func (x *DeleteBgpPeerRequest) GetStartEventId() int64

func (*DeleteBgpPeerRequest) ProtoMessage

func (*DeleteBgpPeerRequest) ProtoMessage()

func (*DeleteBgpPeerRequest) ProtoReflect

func (x *DeleteBgpPeerRequest) ProtoReflect() protoreflect.Message

func (*DeleteBgpPeerRequest) Reset

func (x *DeleteBgpPeerRequest) Reset()

func (*DeleteBgpPeerRequest) String

func (x *DeleteBgpPeerRequest) String() string

type DeleteBgpPeerResponse

type DeleteBgpPeerResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DeleteBgpPeerResponse represents the response from deletes an existing bgp peer.

func (*DeleteBgpPeerResponse) Descriptor deprecated

func (*DeleteBgpPeerResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBgpPeerResponse.ProtoReflect.Descriptor instead.

func (*DeleteBgpPeerResponse) GetResult

func (x *DeleteBgpPeerResponse) GetResult() *Result

func (*DeleteBgpPeerResponse) ProtoMessage

func (*DeleteBgpPeerResponse) ProtoMessage()

func (*DeleteBgpPeerResponse) ProtoReflect

func (x *DeleteBgpPeerResponse) ProtoReflect() protoreflect.Message

func (*DeleteBgpPeerResponse) Reset

func (x *DeleteBgpPeerResponse) Reset()

func (*DeleteBgpPeerResponse) String

func (x *DeleteBgpPeerResponse) String() string

type ListBgpPeersRequest

type ListBgpPeersRequest struct {

	// UUID of the Bgp Peer.
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// UUID of zone to which the Bgp Peer belongs to.
	ZoneId *int64 `protobuf:"varint,2,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// AS number of the Bgp Peer.
	AsNumber *int64 `protobuf:"varint,3,opt,name=as_number,json=asNumber" json:"as_number,omitempty"`
	// the account which the Bgp Peer is dedicated to. Must be used with the domainId parameter.
	AccountName *string `protobuf:"bytes,4,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// project who which the Bgp Peer is dedicated to
	ProjectId *int64 `protobuf:"varint,5,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// the domain ID which the Bgp Peer is dedicated to.
	DomainId *int64 `protobuf:"varint,6,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// Lists only dedicated or non-dedicated Bgp Peers. If not set, lists all dedicated and non-dedicated BGP peers the domain/account can access.
	IsDedicated *bool `protobuf:"varint,7,opt,name=is_dedicated,json=isDedicated" json:"is_dedicated,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,8,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,9,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,10,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,11,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListBgpPeersRequest represents the parameters for lists bgp peers.

func (*ListBgpPeersRequest) Descriptor deprecated

func (*ListBgpPeersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListBgpPeersRequest.ProtoReflect.Descriptor instead.

func (*ListBgpPeersRequest) GetAccountName

func (x *ListBgpPeersRequest) GetAccountName() string

func (*ListBgpPeersRequest) GetAsNumber

func (x *ListBgpPeersRequest) GetAsNumber() int64

func (*ListBgpPeersRequest) GetDomainId

func (x *ListBgpPeersRequest) GetDomainId() int64

func (*ListBgpPeersRequest) GetId

func (x *ListBgpPeersRequest) GetId() int64

func (*ListBgpPeersRequest) GetIsDedicated

func (x *ListBgpPeersRequest) GetIsDedicated() bool

func (*ListBgpPeersRequest) GetKeyword

func (x *ListBgpPeersRequest) GetKeyword() string

func (*ListBgpPeersRequest) GetPage

func (x *ListBgpPeersRequest) GetPage() int32

func (*ListBgpPeersRequest) GetPageSize

func (x *ListBgpPeersRequest) GetPageSize() int32

func (*ListBgpPeersRequest) GetProjectId

func (x *ListBgpPeersRequest) GetProjectId() int64

func (*ListBgpPeersRequest) GetResponseType

func (x *ListBgpPeersRequest) GetResponseType() string

func (*ListBgpPeersRequest) GetZoneId

func (x *ListBgpPeersRequest) GetZoneId() int64

func (*ListBgpPeersRequest) ProtoMessage

func (*ListBgpPeersRequest) ProtoMessage()

func (*ListBgpPeersRequest) ProtoReflect

func (x *ListBgpPeersRequest) ProtoReflect() protoreflect.Message

func (*ListBgpPeersRequest) Reset

func (x *ListBgpPeersRequest) Reset()

func (*ListBgpPeersRequest) String

func (x *ListBgpPeersRequest) String() string

type ListBgpPeersResponse

type ListBgpPeersResponse struct {

	// The list of BgpPeers
	Items []*BgpPeer `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of BgpPeers
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListBgpPeersResponse represents the response from lists bgp peers.

func (*ListBgpPeersResponse) Descriptor deprecated

func (*ListBgpPeersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListBgpPeersResponse.ProtoReflect.Descriptor instead.

func (*ListBgpPeersResponse) GetItems

func (x *ListBgpPeersResponse) GetItems() []*BgpPeer

func (*ListBgpPeersResponse) GetTotalCount

func (x *ListBgpPeersResponse) GetTotalCount() int32

func (*ListBgpPeersResponse) ProtoMessage

func (*ListBgpPeersResponse) ProtoMessage()

func (*ListBgpPeersResponse) ProtoReflect

func (x *ListBgpPeersResponse) ProtoReflect() protoreflect.Message

func (*ListBgpPeersResponse) Reset

func (x *ListBgpPeersResponse) Reset()

func (*ListBgpPeersResponse) String

func (x *ListBgpPeersResponse) String() string

type ReleaseDedicatedBgpPeerRequest

type ReleaseDedicatedBgpPeerRequest struct {

	// Id of the Bgp Peer
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ReleaseDedicatedBgpPeerRequest represents the parameters for releases an existing dedicated bgp peer.

func (*ReleaseDedicatedBgpPeerRequest) Descriptor deprecated

func (*ReleaseDedicatedBgpPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseDedicatedBgpPeerRequest.ProtoReflect.Descriptor instead.

func (*ReleaseDedicatedBgpPeerRequest) GetId

func (*ReleaseDedicatedBgpPeerRequest) GetInjectedJobId

func (x *ReleaseDedicatedBgpPeerRequest) GetInjectedJobId() string

func (*ReleaseDedicatedBgpPeerRequest) GetResponseType

func (x *ReleaseDedicatedBgpPeerRequest) GetResponseType() string

func (*ReleaseDedicatedBgpPeerRequest) GetStartEventId

func (x *ReleaseDedicatedBgpPeerRequest) GetStartEventId() int64

func (*ReleaseDedicatedBgpPeerRequest) ProtoMessage

func (*ReleaseDedicatedBgpPeerRequest) ProtoMessage()

func (*ReleaseDedicatedBgpPeerRequest) ProtoReflect

func (*ReleaseDedicatedBgpPeerRequest) Reset

func (x *ReleaseDedicatedBgpPeerRequest) Reset()

func (*ReleaseDedicatedBgpPeerRequest) String

type ReleaseDedicatedBgpPeerResponse

type ReleaseDedicatedBgpPeerResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ReleaseDedicatedBgpPeerResponse represents the response from releases an existing dedicated bgp peer.

func (*ReleaseDedicatedBgpPeerResponse) Descriptor deprecated

func (*ReleaseDedicatedBgpPeerResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseDedicatedBgpPeerResponse.ProtoReflect.Descriptor instead.

func (*ReleaseDedicatedBgpPeerResponse) GetResult

func (x *ReleaseDedicatedBgpPeerResponse) GetResult() *Result

func (*ReleaseDedicatedBgpPeerResponse) ProtoMessage

func (*ReleaseDedicatedBgpPeerResponse) ProtoMessage()

func (*ReleaseDedicatedBgpPeerResponse) ProtoReflect

func (*ReleaseDedicatedBgpPeerResponse) Reset

func (*ReleaseDedicatedBgpPeerResponse) String

type Result

type Result struct {

	// Whether the operation was successful
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// Any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// The ID of the resource affected by the operation
	Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	// The job ID for an async operation
	JobId *string `protobuf:"bytes,4,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
	// The status of the job
	JobStatus *string `protobuf:"bytes,5,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"`
	// contains filtered or unexported fields
}

Result represents a generic operation result

func (*Result) Descriptor deprecated

func (*Result) Descriptor() ([]byte, []int)

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDisplayText

func (x *Result) GetDisplayText() string

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetJobId

func (x *Result) GetJobId() string

func (*Result) GetJobStatus

func (x *Result) GetJobStatus() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

func (x *Result) ProtoReflect() protoreflect.Message

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type Success

type Success struct {

	// true if operation is executed successfully
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// contains filtered or unexported fields
}

Success represents a Success Operation Response

func (*Success) Descriptor deprecated

func (*Success) Descriptor() ([]byte, []int)

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetDisplayText

func (x *Success) GetDisplayText() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

func (x *Success) ProtoReflect() protoreflect.Message

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type UnimplementedBgpServiceServer

type UnimplementedBgpServiceServer struct{}

UnimplementedBgpServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedBgpServiceServer) CreateBgpPeer

func (UnimplementedBgpServiceServer) DedicateBgpPeer

func (UnimplementedBgpServiceServer) DeleteBgpPeer

func (UnimplementedBgpServiceServer) ListBgpPeers

func (UnimplementedBgpServiceServer) UpdateBgpPeer

type UnsafeBgpServiceServer

type UnsafeBgpServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBgpServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BgpServiceServer will result in compilation errors.

type UpdateBgpPeerRequest

type UpdateBgpPeerRequest struct {

	// Id of the Bgp Peer
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// The IPv4 address of the Bgp Peer.
	Ip4Address *string `protobuf:"bytes,2,opt,name=ip4_address,json=ip4Address" json:"ip4_address,omitempty"`
	// The IPv6 address of the Bgp Peer.
	Ip6Address *string `protobuf:"bytes,3,opt,name=ip6_address,json=ip6Address" json:"ip6_address,omitempty"`
	// The AS number of the Bgp Peer.
	AsNumber *int64 `protobuf:"varint,4,opt,name=as_number,json=asNumber" json:"as_number,omitempty"`
	// The password of the Bgp Peer.
	Password *string `protobuf:"bytes,5,opt,name=password" json:"password,omitempty"`
	// BGP peer details in key/value pairs.
	Details map[string]string `` /* 134-byte string literal not displayed */
	// optional boolean field, which indicates if details should be cleaned up or not (if set to true, details are removed for this resource; if false or not set, no action)
	CleanupDetails *bool   `protobuf:"varint,7,opt,name=cleanup_details,json=cleanupDetails" json:"cleanup_details,omitempty"`
	StartEventId   *int64  `protobuf:"varint,8,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId  *string `protobuf:"bytes,9,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType   *string `protobuf:"bytes,10,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateBgpPeerRequest represents the parameters for updates an existing bgp peer.

func (*UpdateBgpPeerRequest) Descriptor deprecated

func (*UpdateBgpPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBgpPeerRequest.ProtoReflect.Descriptor instead.

func (*UpdateBgpPeerRequest) GetAsNumber

func (x *UpdateBgpPeerRequest) GetAsNumber() int64

func (*UpdateBgpPeerRequest) GetCleanupDetails

func (x *UpdateBgpPeerRequest) GetCleanupDetails() bool

func (*UpdateBgpPeerRequest) GetDetails

func (x *UpdateBgpPeerRequest) GetDetails() map[string]string

func (*UpdateBgpPeerRequest) GetId

func (x *UpdateBgpPeerRequest) GetId() int64

func (*UpdateBgpPeerRequest) GetInjectedJobId

func (x *UpdateBgpPeerRequest) GetInjectedJobId() string

func (*UpdateBgpPeerRequest) GetIp4Address

func (x *UpdateBgpPeerRequest) GetIp4Address() string

func (*UpdateBgpPeerRequest) GetIp6Address

func (x *UpdateBgpPeerRequest) GetIp6Address() string

func (*UpdateBgpPeerRequest) GetPassword

func (x *UpdateBgpPeerRequest) GetPassword() string

func (*UpdateBgpPeerRequest) GetResponseType

func (x *UpdateBgpPeerRequest) GetResponseType() string

func (*UpdateBgpPeerRequest) GetStartEventId

func (x *UpdateBgpPeerRequest) GetStartEventId() int64

func (*UpdateBgpPeerRequest) ProtoMessage

func (*UpdateBgpPeerRequest) ProtoMessage()

func (*UpdateBgpPeerRequest) ProtoReflect

func (x *UpdateBgpPeerRequest) ProtoReflect() protoreflect.Message

func (*UpdateBgpPeerRequest) Reset

func (x *UpdateBgpPeerRequest) Reset()

func (*UpdateBgpPeerRequest) String

func (x *UpdateBgpPeerRequest) String() string

type UpdateBgpPeerResponse

type UpdateBgpPeerResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

UpdateBgpPeerResponse represents the response from updates an existing bgp peer.

func (*UpdateBgpPeerResponse) Descriptor deprecated

func (*UpdateBgpPeerResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBgpPeerResponse.ProtoReflect.Descriptor instead.

func (*UpdateBgpPeerResponse) GetResult

func (x *UpdateBgpPeerResponse) GetResult() *Result

func (*UpdateBgpPeerResponse) ProtoMessage

func (*UpdateBgpPeerResponse) ProtoMessage()

func (*UpdateBgpPeerResponse) ProtoReflect

func (x *UpdateBgpPeerResponse) ProtoReflect() protoreflect.Message

func (*UpdateBgpPeerResponse) Reset

func (x *UpdateBgpPeerResponse) Reset()

func (*UpdateBgpPeerResponse) String

func (x *UpdateBgpPeerResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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