Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterBgpServiceServer(s grpc.ServiceRegistrar, srv BgpServiceServer)
- type ASNRange
- func (*ASNRange) Descriptor() ([]byte, []int)deprecated
- func (x *ASNRange) GetCreated() string
- func (x *ASNRange) GetDescription() string
- func (x *ASNRange) GetDisplayName() string
- func (x *ASNRange) GetId() string
- func (x *ASNRange) GetName() string
- func (*ASNRange) ProtoMessage()
- func (x *ASNRange) ProtoReflect() protoreflect.Message
- func (x *ASNRange) Reset()
- func (x *ASNRange) String() string
- type ASNumber
- func (*ASNumber) Descriptor() ([]byte, []int)deprecated
- func (x *ASNumber) GetCreated() string
- func (x *ASNumber) GetDescription() string
- func (x *ASNumber) GetDisplayName() string
- func (x *ASNumber) GetId() string
- func (x *ASNumber) GetName() string
- func (*ASNumber) ProtoMessage()
- func (x *ASNumber) ProtoReflect() protoreflect.Message
- func (x *ASNumber) Reset()
- func (x *ASNumber) String() string
- type BgpServiceClient
- type BgpServiceServer
- type CreateASNRangeRequest
- func (*CreateASNRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateASNRangeRequest) GetEndASNumber() int64
- func (x *CreateASNRangeRequest) GetResponseType() string
- func (x *CreateASNRangeRequest) GetStartASNumber() int64
- func (x *CreateASNRangeRequest) GetZoneId() int64
- func (*CreateASNRangeRequest) ProtoMessage()
- func (x *CreateASNRangeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateASNRangeRequest) Reset()
- func (x *CreateASNRangeRequest) String() string
- type CreateASNRangeResponse
- func (*CreateASNRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateASNRangeResponse) GetResult() *Result
- func (*CreateASNRangeResponse) ProtoMessage()
- func (x *CreateASNRangeResponse) ProtoReflect() protoreflect.Message
- func (x *CreateASNRangeResponse) Reset()
- func (x *CreateASNRangeResponse) String() string
- type DeleteASNRangeRequest
- func (*DeleteASNRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteASNRangeRequest) GetId() int64
- func (x *DeleteASNRangeRequest) GetResponseType() string
- func (*DeleteASNRangeRequest) ProtoMessage()
- func (x *DeleteASNRangeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteASNRangeRequest) Reset()
- func (x *DeleteASNRangeRequest) String() string
- type DeleteASNRangeResponse
- func (*DeleteASNRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteASNRangeResponse) GetResult() *Result
- func (*DeleteASNRangeResponse) ProtoMessage()
- func (x *DeleteASNRangeResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteASNRangeResponse) Reset()
- func (x *DeleteASNRangeResponse) String() string
- type ListASNRangesRequest
- func (*ListASNRangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListASNRangesRequest) GetKeyword() string
- func (x *ListASNRangesRequest) GetPage() int32
- func (x *ListASNRangesRequest) GetPageSize() int32
- func (x *ListASNRangesRequest) GetResponseType() string
- func (x *ListASNRangesRequest) GetZoneId() int64
- func (*ListASNRangesRequest) ProtoMessage()
- func (x *ListASNRangesRequest) ProtoReflect() protoreflect.Message
- func (x *ListASNRangesRequest) Reset()
- func (x *ListASNRangesRequest) String() string
- type ListASNRangesResponse
- func (*ListASNRangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListASNRangesResponse) GetItems() []*ASNRange
- func (x *ListASNRangesResponse) GetTotalCount() int32
- func (*ListASNRangesResponse) ProtoMessage()
- func (x *ListASNRangesResponse) ProtoReflect() protoreflect.Message
- func (x *ListASNRangesResponse) Reset()
- func (x *ListASNRangesResponse) String() string
- type ListASNumbersRequest
- func (*ListASNumbersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListASNumbersRequest) GetAccount() string
- func (x *ListASNumbersRequest) GetAllocated() bool
- func (x *ListASNumbersRequest) GetAsNumber() int32
- func (x *ListASNumbersRequest) GetAsNumberRangeId() int64
- func (x *ListASNumbersRequest) GetDomainId() int64
- func (x *ListASNumbersRequest) GetKeyword() string
- func (x *ListASNumbersRequest) GetNetworkId() int64
- func (x *ListASNumbersRequest) GetPage() int32
- func (x *ListASNumbersRequest) GetPageSize() int32
- func (x *ListASNumbersRequest) GetResponseType() string
- func (x *ListASNumbersRequest) GetVpcId() int64
- func (x *ListASNumbersRequest) GetZoneId() int64
- func (*ListASNumbersRequest) ProtoMessage()
- func (x *ListASNumbersRequest) ProtoReflect() protoreflect.Message
- func (x *ListASNumbersRequest) Reset()
- func (x *ListASNumbersRequest) String() string
- type ListASNumbersResponse
- func (*ListASNumbersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListASNumbersResponse) GetItems() []*ASNumber
- func (x *ListASNumbersResponse) GetTotalCount() int32
- func (*ListASNumbersResponse) ProtoMessage()
- func (x *ListASNumbersResponse) ProtoReflect() protoreflect.Message
- func (x *ListASNumbersResponse) Reset()
- func (x *ListASNumbersResponse) String() string
- type ReleaseASNumberRequest
- func (*ReleaseASNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseASNumberRequest) GetAsNumber() int64
- func (x *ReleaseASNumberRequest) GetResponseType() string
- func (x *ReleaseASNumberRequest) GetZoneId() int64
- func (*ReleaseASNumberRequest) ProtoMessage()
- func (x *ReleaseASNumberRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseASNumberRequest) Reset()
- func (x *ReleaseASNumberRequest) String() string
- type ReleaseASNumberResponse
- func (*ReleaseASNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseASNumberResponse) GetResult() *Result
- func (*ReleaseASNumberResponse) ProtoMessage()
- func (x *ReleaseASNumberResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseASNumberResponse) Reset()
- func (x *ReleaseASNumberResponse) String() string
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetDisplayText() string
- func (x *Result) GetId() string
- func (x *Result) GetJobId() string
- func (x *Result) GetJobStatus() string
- func (x *Result) GetSuccess() bool
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type Success
- type UnimplementedBgpServiceServer
- func (UnimplementedBgpServiceServer) CreateASNRange(context.Context, *CreateASNRangeRequest) (*CreateASNRangeResponse, error)
- func (UnimplementedBgpServiceServer) DeleteASNRange(context.Context, *DeleteASNRangeRequest) (*DeleteASNRangeResponse, error)
- func (UnimplementedBgpServiceServer) ListASNRanges(context.Context, *ListASNRangesRequest) (*ListASNRangesResponse, error)
- func (UnimplementedBgpServiceServer) ListASNumbers(context.Context, *ListASNumbersRequest) (*ListASNumbersResponse, error)
- func (UnimplementedBgpServiceServer) ReleaseASNumber(context.Context, *ReleaseASNumberRequest) (*ReleaseASNumberResponse, error)
- type UnsafeBgpServiceServer
Constants ¶
const ( BgpService_CreateASNRange_FullMethodName = "/cloudstack.management.bgp.v1.BgpService/CreateASNRange" BgpService_DeleteASNRange_FullMethodName = "/cloudstack.management.bgp.v1.BgpService/DeleteASNRange" BgpService_ListASNRanges_FullMethodName = "/cloudstack.management.bgp.v1.BgpService/ListASNRanges" BgpService_ListASNumbers_FullMethodName = "/cloudstack.management.bgp.v1.BgpService/ListASNumbers" BgpService_ReleaseASNumber_FullMethodName = "/cloudstack.management.bgp.v1.BgpService/ReleaseASNumber" )
Variables ¶
var BgpService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.bgp.v1.BgpService", HandlerType: (*BgpServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateASNRange", Handler: _BgpService_CreateASNRange_Handler, }, { MethodName: "DeleteASNRange", Handler: _BgpService_DeleteASNRange_Handler, }, { MethodName: "ListASNRanges", Handler: _BgpService_ListASNRanges_Handler, }, { MethodName: "ListASNumbers", Handler: _BgpService_ListASNumbers_Handler, }, { MethodName: "ReleaseASNumber", Handler: _BgpService_ReleaseASNumber_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/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)
var File_cloudstack_management_bgp_v1_bgp_gen_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBgpServiceServer ¶
func RegisterBgpServiceServer(s grpc.ServiceRegistrar, srv BgpServiceServer)
Types ¶
type ASNRange ¶
type ASNRange struct {
// The ID of the ASNRange
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the ASNRange
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the ASNRange
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the ASNRange
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
}
ASNRange represents a ASNRange Item
func (*ASNRange) Descriptor
deprecated
func (*ASNRange) GetCreated ¶
func (*ASNRange) GetDescription ¶
func (*ASNRange) GetDisplayName ¶
func (*ASNRange) ProtoMessage ¶
func (*ASNRange) ProtoMessage()
func (*ASNRange) ProtoReflect ¶
func (x *ASNRange) ProtoReflect() protoreflect.Message
type ASNumber ¶
type ASNumber struct {
// The ID of the ASNumber
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the ASNumber
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the ASNumber
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the ASNumber
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
}
ASNumber represents a ASNumber Item
func (*ASNumber) Descriptor
deprecated
func (*ASNumber) GetCreated ¶
func (*ASNumber) GetDescription ¶
func (*ASNumber) GetDisplayName ¶
func (*ASNumber) ProtoMessage ¶
func (*ASNumber) ProtoMessage()
func (*ASNumber) ProtoReflect ¶
func (x *ASNumber) ProtoReflect() protoreflect.Message
type BgpServiceClient ¶
type BgpServiceClient interface {
// CreateASNRange Creates a range of Autonomous Systems for BGP Dynamic Routing
CreateASNRange(ctx context.Context, in *CreateASNRangeRequest, opts ...grpc.CallOption) (*CreateASNRangeResponse, error)
// DeleteASNRange deletes a range of Autonomous Systems for BGP Dynamic Routing
DeleteASNRange(ctx context.Context, in *DeleteASNRangeRequest, opts ...grpc.CallOption) (*DeleteASNRangeResponse, error)
// ListASNRanges List Autonomous Systems Number Ranges
ListASNRanges(ctx context.Context, in *ListASNRangesRequest, opts ...grpc.CallOption) (*ListASNRangesResponse, error)
// ListASNumbers List Autonomous Systems Numbers
ListASNumbers(ctx context.Context, in *ListASNumbersRequest, opts ...grpc.CallOption) (*ListASNumbersResponse, error)
// ReleaseASNumber Releases an AS Number back to the pool
ReleaseASNumber(ctx context.Context, in *ReleaseASNumberRequest, opts ...grpc.CallOption) (*ReleaseASNumberResponse, 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 Bgps
func NewBgpServiceClient ¶
func NewBgpServiceClient(cc grpc.ClientConnInterface) BgpServiceClient
type BgpServiceServer ¶
type BgpServiceServer interface {
// CreateASNRange Creates a range of Autonomous Systems for BGP Dynamic Routing
CreateASNRange(context.Context, *CreateASNRangeRequest) (*CreateASNRangeResponse, error)
// DeleteASNRange deletes a range of Autonomous Systems for BGP Dynamic Routing
DeleteASNRange(context.Context, *DeleteASNRangeRequest) (*DeleteASNRangeResponse, error)
// ListASNRanges List Autonomous Systems Number Ranges
ListASNRanges(context.Context, *ListASNRangesRequest) (*ListASNRangesResponse, error)
// ListASNumbers List Autonomous Systems Numbers
ListASNumbers(context.Context, *ListASNumbersRequest) (*ListASNumbersResponse, error)
// ReleaseASNumber Releases an AS Number back to the pool
ReleaseASNumber(context.Context, *ReleaseASNumberRequest) (*ReleaseASNumberResponse, 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 Bgps
type CreateASNRangeRequest ¶
type CreateASNRangeRequest struct {
// the zone ID
ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// the start AS Number
StartASNumber *int64 `protobuf:"varint,2,opt,name=start_a_s_number,json=startASNumber" json:"start_a_s_number,omitempty"`
// the end AS Number
EndASNumber *int64 `protobuf:"varint,3,opt,name=end_a_s_number,json=endASNumber" json:"end_a_s_number,omitempty"`
ResponseType *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
CreateASNRangeRequest represents the parameters for creates a range of autonomous systems for bgp dynamic routing
func (*CreateASNRangeRequest) Descriptor
deprecated
func (*CreateASNRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateASNRangeRequest.ProtoReflect.Descriptor instead.
func (*CreateASNRangeRequest) GetEndASNumber ¶
func (x *CreateASNRangeRequest) GetEndASNumber() int64
func (*CreateASNRangeRequest) GetResponseType ¶
func (x *CreateASNRangeRequest) GetResponseType() string
func (*CreateASNRangeRequest) GetStartASNumber ¶
func (x *CreateASNRangeRequest) GetStartASNumber() int64
func (*CreateASNRangeRequest) GetZoneId ¶
func (x *CreateASNRangeRequest) GetZoneId() int64
func (*CreateASNRangeRequest) ProtoMessage ¶
func (*CreateASNRangeRequest) ProtoMessage()
func (*CreateASNRangeRequest) ProtoReflect ¶
func (x *CreateASNRangeRequest) ProtoReflect() protoreflect.Message
func (*CreateASNRangeRequest) Reset ¶
func (x *CreateASNRangeRequest) Reset()
func (*CreateASNRangeRequest) String ¶
func (x *CreateASNRangeRequest) String() string
type CreateASNRangeResponse ¶
type CreateASNRangeResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
CreateASNRangeResponse represents the response from creates a range of autonomous systems for bgp dynamic routing
func (*CreateASNRangeResponse) Descriptor
deprecated
func (*CreateASNRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateASNRangeResponse.ProtoReflect.Descriptor instead.
func (*CreateASNRangeResponse) GetResult ¶
func (x *CreateASNRangeResponse) GetResult() *Result
func (*CreateASNRangeResponse) ProtoMessage ¶
func (*CreateASNRangeResponse) ProtoMessage()
func (*CreateASNRangeResponse) ProtoReflect ¶
func (x *CreateASNRangeResponse) ProtoReflect() protoreflect.Message
func (*CreateASNRangeResponse) Reset ¶
func (x *CreateASNRangeResponse) Reset()
func (*CreateASNRangeResponse) String ¶
func (x *CreateASNRangeResponse) String() string
type DeleteASNRangeRequest ¶
type DeleteASNRangeRequest struct {
// ID of the AS range
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
DeleteASNRangeRequest represents the parameters for deletes a range of autonomous systems for bgp dynamic routing
func (*DeleteASNRangeRequest) Descriptor
deprecated
func (*DeleteASNRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteASNRangeRequest.ProtoReflect.Descriptor instead.
func (*DeleteASNRangeRequest) GetId ¶
func (x *DeleteASNRangeRequest) GetId() int64
func (*DeleteASNRangeRequest) GetResponseType ¶
func (x *DeleteASNRangeRequest) GetResponseType() string
func (*DeleteASNRangeRequest) ProtoMessage ¶
func (*DeleteASNRangeRequest) ProtoMessage()
func (*DeleteASNRangeRequest) ProtoReflect ¶
func (x *DeleteASNRangeRequest) ProtoReflect() protoreflect.Message
func (*DeleteASNRangeRequest) Reset ¶
func (x *DeleteASNRangeRequest) Reset()
func (*DeleteASNRangeRequest) String ¶
func (x *DeleteASNRangeRequest) String() string
type DeleteASNRangeResponse ¶
type DeleteASNRangeResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteASNRangeResponse represents the response from deletes a range of autonomous systems for bgp dynamic routing
func (*DeleteASNRangeResponse) Descriptor
deprecated
func (*DeleteASNRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteASNRangeResponse.ProtoReflect.Descriptor instead.
func (*DeleteASNRangeResponse) GetResult ¶
func (x *DeleteASNRangeResponse) GetResult() *Result
func (*DeleteASNRangeResponse) ProtoMessage ¶
func (*DeleteASNRangeResponse) ProtoMessage()
func (*DeleteASNRangeResponse) ProtoReflect ¶
func (x *DeleteASNRangeResponse) ProtoReflect() protoreflect.Message
func (*DeleteASNRangeResponse) Reset ¶
func (x *DeleteASNRangeResponse) Reset()
func (*DeleteASNRangeResponse) String ¶
func (x *DeleteASNRangeResponse) String() string
type ListASNRangesRequest ¶
type ListASNRangesRequest struct {
// the zone ID
ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,2,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,3,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListASNRangesRequest represents the parameters for list autonomous systems number ranges
func (*ListASNRangesRequest) Descriptor
deprecated
func (*ListASNRangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListASNRangesRequest.ProtoReflect.Descriptor instead.
func (*ListASNRangesRequest) GetKeyword ¶
func (x *ListASNRangesRequest) GetKeyword() string
func (*ListASNRangesRequest) GetPage ¶
func (x *ListASNRangesRequest) GetPage() int32
func (*ListASNRangesRequest) GetPageSize ¶
func (x *ListASNRangesRequest) GetPageSize() int32
func (*ListASNRangesRequest) GetResponseType ¶
func (x *ListASNRangesRequest) GetResponseType() string
func (*ListASNRangesRequest) GetZoneId ¶
func (x *ListASNRangesRequest) GetZoneId() int64
func (*ListASNRangesRequest) ProtoMessage ¶
func (*ListASNRangesRequest) ProtoMessage()
func (*ListASNRangesRequest) ProtoReflect ¶
func (x *ListASNRangesRequest) ProtoReflect() protoreflect.Message
func (*ListASNRangesRequest) Reset ¶
func (x *ListASNRangesRequest) Reset()
func (*ListASNRangesRequest) String ¶
func (x *ListASNRangesRequest) String() string
type ListASNRangesResponse ¶
type ListASNRangesResponse struct {
// The list of ASNRanges
Items []*ASNRange `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of ASNRanges
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListASNRangesResponse represents the response from list autonomous systems number ranges
func (*ListASNRangesResponse) Descriptor
deprecated
func (*ListASNRangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListASNRangesResponse.ProtoReflect.Descriptor instead.
func (*ListASNRangesResponse) GetItems ¶
func (x *ListASNRangesResponse) GetItems() []*ASNRange
func (*ListASNRangesResponse) GetTotalCount ¶
func (x *ListASNRangesResponse) GetTotalCount() int32
func (*ListASNRangesResponse) ProtoMessage ¶
func (*ListASNRangesResponse) ProtoMessage()
func (*ListASNRangesResponse) ProtoReflect ¶
func (x *ListASNRangesResponse) ProtoReflect() protoreflect.Message
func (*ListASNRangesResponse) Reset ¶
func (x *ListASNRangesResponse) Reset()
func (*ListASNRangesResponse) String ¶
func (x *ListASNRangesResponse) String() string
type ListASNumbersRequest ¶
type ListASNumbersRequest struct {
// the zone ID
ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// the AS Number range ID
AsNumberRangeId *int64 `protobuf:"varint,2,opt,name=as_number_range_id,json=asNumberRangeId" json:"as_number_range_id,omitempty"`
// AS number
AsNumber *int32 `protobuf:"varint,3,opt,name=as_number,json=asNumber" json:"as_number,omitempty"`
// to indicate if the AS number is allocated to any network
Allocated *bool `protobuf:"varint,4,opt,name=allocated" json:"allocated,omitempty"`
// the network id
NetworkId *int64 `protobuf:"varint,5,opt,name=network_id,json=networkId" json:"network_id,omitempty"`
// the vpc id
VpcId *int64 `protobuf:"varint,6,opt,name=vpc_id,json=vpcId" json:"vpc_id,omitempty"`
// account name
Account *string `protobuf:"bytes,7,opt,name=account" json:"account,omitempty"`
// domain id
DomainId *int64 `protobuf:"varint,8,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,9,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,10,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,11,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,12,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListASNumbersRequest represents the parameters for list autonomous systems numbers
func (*ListASNumbersRequest) Descriptor
deprecated
func (*ListASNumbersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListASNumbersRequest.ProtoReflect.Descriptor instead.
func (*ListASNumbersRequest) GetAccount ¶
func (x *ListASNumbersRequest) GetAccount() string
func (*ListASNumbersRequest) GetAllocated ¶
func (x *ListASNumbersRequest) GetAllocated() bool
func (*ListASNumbersRequest) GetAsNumber ¶
func (x *ListASNumbersRequest) GetAsNumber() int32
func (*ListASNumbersRequest) GetAsNumberRangeId ¶
func (x *ListASNumbersRequest) GetAsNumberRangeId() int64
func (*ListASNumbersRequest) GetDomainId ¶
func (x *ListASNumbersRequest) GetDomainId() int64
func (*ListASNumbersRequest) GetKeyword ¶
func (x *ListASNumbersRequest) GetKeyword() string
func (*ListASNumbersRequest) GetNetworkId ¶
func (x *ListASNumbersRequest) GetNetworkId() int64
func (*ListASNumbersRequest) GetPage ¶
func (x *ListASNumbersRequest) GetPage() int32
func (*ListASNumbersRequest) GetPageSize ¶
func (x *ListASNumbersRequest) GetPageSize() int32
func (*ListASNumbersRequest) GetResponseType ¶
func (x *ListASNumbersRequest) GetResponseType() string
func (*ListASNumbersRequest) GetVpcId ¶
func (x *ListASNumbersRequest) GetVpcId() int64
func (*ListASNumbersRequest) GetZoneId ¶
func (x *ListASNumbersRequest) GetZoneId() int64
func (*ListASNumbersRequest) ProtoMessage ¶
func (*ListASNumbersRequest) ProtoMessage()
func (*ListASNumbersRequest) ProtoReflect ¶
func (x *ListASNumbersRequest) ProtoReflect() protoreflect.Message
func (*ListASNumbersRequest) Reset ¶
func (x *ListASNumbersRequest) Reset()
func (*ListASNumbersRequest) String ¶
func (x *ListASNumbersRequest) String() string
type ListASNumbersResponse ¶
type ListASNumbersResponse struct {
// The list of ASNumbers
Items []*ASNumber `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of ASNumbers
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListASNumbersResponse represents the response from list autonomous systems numbers
func (*ListASNumbersResponse) Descriptor
deprecated
func (*ListASNumbersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListASNumbersResponse.ProtoReflect.Descriptor instead.
func (*ListASNumbersResponse) GetItems ¶
func (x *ListASNumbersResponse) GetItems() []*ASNumber
func (*ListASNumbersResponse) GetTotalCount ¶
func (x *ListASNumbersResponse) GetTotalCount() int32
func (*ListASNumbersResponse) ProtoMessage ¶
func (*ListASNumbersResponse) ProtoMessage()
func (*ListASNumbersResponse) ProtoReflect ¶
func (x *ListASNumbersResponse) ProtoReflect() protoreflect.Message
func (*ListASNumbersResponse) Reset ¶
func (x *ListASNumbersResponse) Reset()
func (*ListASNumbersResponse) String ¶
func (x *ListASNumbersResponse) String() string
type ReleaseASNumberRequest ¶
type ReleaseASNumberRequest struct {
// the zone ID
ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// the AS Number to be released
AsNumber *int64 `protobuf:"varint,2,opt,name=as_number,json=asNumber" json:"as_number,omitempty"`
ResponseType *string `protobuf:"bytes,3,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ReleaseASNumberRequest represents the parameters for releases an as number back to the pool
func (*ReleaseASNumberRequest) Descriptor
deprecated
func (*ReleaseASNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseASNumberRequest.ProtoReflect.Descriptor instead.
func (*ReleaseASNumberRequest) GetAsNumber ¶
func (x *ReleaseASNumberRequest) GetAsNumber() int64
func (*ReleaseASNumberRequest) GetResponseType ¶
func (x *ReleaseASNumberRequest) GetResponseType() string
func (*ReleaseASNumberRequest) GetZoneId ¶
func (x *ReleaseASNumberRequest) GetZoneId() int64
func (*ReleaseASNumberRequest) ProtoMessage ¶
func (*ReleaseASNumberRequest) ProtoMessage()
func (*ReleaseASNumberRequest) ProtoReflect ¶
func (x *ReleaseASNumberRequest) ProtoReflect() protoreflect.Message
func (*ReleaseASNumberRequest) Reset ¶
func (x *ReleaseASNumberRequest) Reset()
func (*ReleaseASNumberRequest) String ¶
func (x *ReleaseASNumberRequest) String() string
type ReleaseASNumberResponse ¶
type ReleaseASNumberResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
ReleaseASNumberResponse represents the response from releases an as number back to the pool
func (*ReleaseASNumberResponse) Descriptor
deprecated
func (*ReleaseASNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseASNumberResponse.ProtoReflect.Descriptor instead.
func (*ReleaseASNumberResponse) GetResult ¶
func (x *ReleaseASNumberResponse) GetResult() *Result
func (*ReleaseASNumberResponse) ProtoMessage ¶
func (*ReleaseASNumberResponse) ProtoMessage()
func (*ReleaseASNumberResponse) ProtoReflect ¶
func (x *ReleaseASNumberResponse) ProtoReflect() protoreflect.Message
func (*ReleaseASNumberResponse) Reset ¶
func (x *ReleaseASNumberResponse) Reset()
func (*ReleaseASNumberResponse) String ¶
func (x *ReleaseASNumberResponse) String() 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) GetDisplayText ¶
func (*Result) GetJobStatus ¶
func (*Result) GetSuccess ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
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) GetDisplayText ¶
func (*Success) GetSuccess ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) ProtoReflect ¶
func (x *Success) ProtoReflect() protoreflect.Message
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) CreateASNRange ¶
func (UnimplementedBgpServiceServer) CreateASNRange(context.Context, *CreateASNRangeRequest) (*CreateASNRangeResponse, error)
func (UnimplementedBgpServiceServer) DeleteASNRange ¶
func (UnimplementedBgpServiceServer) DeleteASNRange(context.Context, *DeleteASNRangeRequest) (*DeleteASNRangeResponse, error)
func (UnimplementedBgpServiceServer) ListASNRanges ¶
func (UnimplementedBgpServiceServer) ListASNRanges(context.Context, *ListASNRangesRequest) (*ListASNRangesResponse, error)
func (UnimplementedBgpServiceServer) ListASNumbers ¶
func (UnimplementedBgpServiceServer) ListASNumbers(context.Context, *ListASNumbersRequest) (*ListASNumbersResponse, error)
func (UnimplementedBgpServiceServer) ReleaseASNumber ¶
func (UnimplementedBgpServiceServer) ReleaseASNumber(context.Context, *ReleaseASNumberRequest) (*ReleaseASNumberResponse, error)
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.