Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterRoutingServiceServer(s grpc.ServiceRegistrar, srv RoutingServiceServer)
- type CreateRoutingFirewallRuleRequest
- func (*CreateRoutingFirewallRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoutingFirewallRuleRequest) GetDestinationCidrlist() []string
- func (x *CreateRoutingFirewallRuleRequest) GetDisplay() bool
- func (x *CreateRoutingFirewallRuleRequest) GetIcmpCode() int32
- func (x *CreateRoutingFirewallRuleRequest) GetIcmpType() int32
- func (x *CreateRoutingFirewallRuleRequest) GetInjectedJobId() string
- func (x *CreateRoutingFirewallRuleRequest) GetNetworkId() int64
- func (x *CreateRoutingFirewallRuleRequest) GetProtocol() string
- func (x *CreateRoutingFirewallRuleRequest) GetPublicEndPort() int32
- func (x *CreateRoutingFirewallRuleRequest) GetPublicStartPort() int32
- func (x *CreateRoutingFirewallRuleRequest) GetResponseType() string
- func (x *CreateRoutingFirewallRuleRequest) GetSourceCidrList() []string
- func (x *CreateRoutingFirewallRuleRequest) GetStartEventId() int64
- func (x *CreateRoutingFirewallRuleRequest) GetTrafficType() string
- func (*CreateRoutingFirewallRuleRequest) ProtoMessage()
- func (x *CreateRoutingFirewallRuleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoutingFirewallRuleRequest) Reset()
- func (x *CreateRoutingFirewallRuleRequest) String() string
- type CreateRoutingFirewallRuleResponse
- func (*CreateRoutingFirewallRuleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoutingFirewallRuleResponse) GetResult() *Result
- func (*CreateRoutingFirewallRuleResponse) ProtoMessage()
- func (x *CreateRoutingFirewallRuleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRoutingFirewallRuleResponse) Reset()
- func (x *CreateRoutingFirewallRuleResponse) String() string
- type DeleteRoutingFirewallRuleRequest
- func (*DeleteRoutingFirewallRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoutingFirewallRuleRequest) GetId() int64
- func (x *DeleteRoutingFirewallRuleRequest) GetInjectedJobId() string
- func (x *DeleteRoutingFirewallRuleRequest) GetResponseType() string
- func (x *DeleteRoutingFirewallRuleRequest) GetStartEventId() int64
- func (*DeleteRoutingFirewallRuleRequest) ProtoMessage()
- func (x *DeleteRoutingFirewallRuleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRoutingFirewallRuleRequest) Reset()
- func (x *DeleteRoutingFirewallRuleRequest) String() string
- type DeleteRoutingFirewallRuleResponse
- func (*DeleteRoutingFirewallRuleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoutingFirewallRuleResponse) GetResult() *Result
- func (*DeleteRoutingFirewallRuleResponse) ProtoMessage()
- func (x *DeleteRoutingFirewallRuleResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRoutingFirewallRuleResponse) Reset()
- func (x *DeleteRoutingFirewallRuleResponse) String() string
- type FirewallRule
- func (*FirewallRule) Descriptor() ([]byte, []int)deprecated
- func (x *FirewallRule) GetCreated() string
- func (x *FirewallRule) GetDescription() string
- func (x *FirewallRule) GetDisplayName() string
- func (x *FirewallRule) GetId() string
- func (x *FirewallRule) GetName() string
- func (*FirewallRule) ProtoMessage()
- func (x *FirewallRule) ProtoReflect() protoreflect.Message
- func (x *FirewallRule) Reset()
- func (x *FirewallRule) String() string
- type ListRoutingFirewallRulesRequest
- func (*ListRoutingFirewallRulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoutingFirewallRulesRequest) GetAccountName() string
- func (x *ListRoutingFirewallRulesRequest) GetDisplay() bool
- func (x *ListRoutingFirewallRulesRequest) GetDomainId() int64
- func (x *ListRoutingFirewallRulesRequest) GetId() int64
- func (x *ListRoutingFirewallRulesRequest) GetKeyword() string
- func (x *ListRoutingFirewallRulesRequest) GetListAll() bool
- func (x *ListRoutingFirewallRulesRequest) GetNetworkId() int64
- func (x *ListRoutingFirewallRulesRequest) GetPage() int32
- func (x *ListRoutingFirewallRulesRequest) GetPageSize() int32
- func (x *ListRoutingFirewallRulesRequest) GetProjectId() int64
- func (x *ListRoutingFirewallRulesRequest) GetRecursive() bool
- func (x *ListRoutingFirewallRulesRequest) GetResponseType() string
- func (x *ListRoutingFirewallRulesRequest) GetTags() map[string]string
- func (x *ListRoutingFirewallRulesRequest) GetTrafficType() string
- func (*ListRoutingFirewallRulesRequest) ProtoMessage()
- func (x *ListRoutingFirewallRulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoutingFirewallRulesRequest) Reset()
- func (x *ListRoutingFirewallRulesRequest) String() string
- type ListRoutingFirewallRulesResponse
- func (*ListRoutingFirewallRulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoutingFirewallRulesResponse) GetItems() []*FirewallRule
- func (x *ListRoutingFirewallRulesResponse) GetTotalCount() int32
- func (*ListRoutingFirewallRulesResponse) ProtoMessage()
- func (x *ListRoutingFirewallRulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoutingFirewallRulesResponse) Reset()
- func (x *ListRoutingFirewallRulesResponse) String() string
- type ProtocolType
- func (ProtocolType) Descriptor() protoreflect.EnumDescriptor
- func (x ProtocolType) Enum() *ProtocolType
- func (ProtocolType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProtocolType) Number() protoreflect.EnumNumber
- func (x ProtocolType) String() string
- func (ProtocolType) Type() protoreflect.EnumType
- 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 RoutingServiceClient
- type RoutingServiceServer
- type Success
- type UnimplementedRoutingServiceServer
- func (UnimplementedRoutingServiceServer) CreateRoutingFirewallRule(context.Context, *CreateRoutingFirewallRuleRequest) (*CreateRoutingFirewallRuleResponse, error)
- func (UnimplementedRoutingServiceServer) DeleteRoutingFirewallRule(context.Context, *DeleteRoutingFirewallRuleRequest) (*DeleteRoutingFirewallRuleResponse, error)
- func (UnimplementedRoutingServiceServer) ListRoutingFirewallRules(context.Context, *ListRoutingFirewallRulesRequest) (*ListRoutingFirewallRulesResponse, error)
- func (UnimplementedRoutingServiceServer) UpdateRoutingFirewallRule(context.Context, *UpdateRoutingFirewallRuleRequest) (*UpdateRoutingFirewallRuleResponse, error)
- type UnsafeRoutingServiceServer
- type UpdateRoutingFirewallRuleRequest
- func (*UpdateRoutingFirewallRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoutingFirewallRuleRequest) GetCustomId() string
- func (x *UpdateRoutingFirewallRuleRequest) GetDisplay() bool
- func (x *UpdateRoutingFirewallRuleRequest) GetId() int64
- func (x *UpdateRoutingFirewallRuleRequest) GetInjectedJobId() string
- func (x *UpdateRoutingFirewallRuleRequest) GetResponseType() string
- func (x *UpdateRoutingFirewallRuleRequest) GetStartEventId() int64
- func (*UpdateRoutingFirewallRuleRequest) ProtoMessage()
- func (x *UpdateRoutingFirewallRuleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoutingFirewallRuleRequest) Reset()
- func (x *UpdateRoutingFirewallRuleRequest) String() string
- type UpdateRoutingFirewallRuleResponse
- func (*UpdateRoutingFirewallRuleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoutingFirewallRuleResponse) GetResult() *Result
- func (*UpdateRoutingFirewallRuleResponse) ProtoMessage()
- func (x *UpdateRoutingFirewallRuleResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRoutingFirewallRuleResponse) Reset()
- func (x *UpdateRoutingFirewallRuleResponse) String() string
Constants ¶
const ( RoutingService_CreateRoutingFirewallRule_FullMethodName = "/cloudstack.management.network.routing.v1.RoutingService/CreateRoutingFirewallRule" RoutingService_DeleteRoutingFirewallRule_FullMethodName = "/cloudstack.management.network.routing.v1.RoutingService/DeleteRoutingFirewallRule" RoutingService_ListRoutingFirewallRules_FullMethodName = "/cloudstack.management.network.routing.v1.RoutingService/ListRoutingFirewallRules" RoutingService_UpdateRoutingFirewallRule_FullMethodName = "/cloudstack.management.network.routing.v1.RoutingService/UpdateRoutingFirewallRule" )
Variables ¶
var ( ProtocolType_name = map[int32]string{ 0: "PROTOCOL_TYPE_UNSPECIFIED", 1: "PROTOCOL_TYPE_ALL", 2: "PROTOCOL_TYPE_ICMP", 3: "PROTOCOL_TYPE_TCP", 4: "PROTOCOL_TYPE_UDP", } ProtocolType_value = map[string]int32{ "PROTOCOL_TYPE_UNSPECIFIED": 0, "PROTOCOL_TYPE_ALL": 1, "PROTOCOL_TYPE_ICMP": 2, "PROTOCOL_TYPE_TCP": 3, "PROTOCOL_TYPE_UDP": 4, } )
Enum value maps for ProtocolType.
var File_cloudstack_management_network_routing_v1_routing_gen_proto protoreflect.FileDescriptor
var RoutingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.network.routing.v1.RoutingService", HandlerType: (*RoutingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRoutingFirewallRule", Handler: _RoutingService_CreateRoutingFirewallRule_Handler, }, { MethodName: "DeleteRoutingFirewallRule", Handler: _RoutingService_DeleteRoutingFirewallRule_Handler, }, { MethodName: "ListRoutingFirewallRules", Handler: _RoutingService_ListRoutingFirewallRules_Handler, }, { MethodName: "UpdateRoutingFirewallRule", Handler: _RoutingService_UpdateRoutingFirewallRule_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/network/routing/v1/routing.gen.proto", }
RoutingService_ServiceDesc is the grpc.ServiceDesc for RoutingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRoutingServiceServer ¶
func RegisterRoutingServiceServer(s grpc.ServiceRegistrar, srv RoutingServiceServer)
Types ¶
type CreateRoutingFirewallRuleRequest ¶
type CreateRoutingFirewallRuleRequest struct { // the protocol for the firewall rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol number Protocol *string `protobuf:"bytes,1,opt,name=protocol" json:"protocol,omitempty"` // the starting port of firewall rule PublicStartPort *int32 `protobuf:"varint,2,opt,name=public_start_port,json=publicStartPort" json:"public_start_port,omitempty"` // the ending port of firewall rule PublicEndPort *int32 `protobuf:"varint,3,opt,name=public_end_port,json=publicEndPort" json:"public_end_port,omitempty"` // the source CIDR list to allow traffic from. Multiple entries must be separated by a single comma character (,). SourceCidrList []string `protobuf:"bytes,4,rep,name=source_cidr_list,json=sourceCidrList" json:"source_cidr_list,omitempty"` // the destination CIDR list to allow traffic to. Multiple entries must be separated by a single comma character (,). DestinationCidrlist []string `protobuf:"bytes,5,rep,name=destination_cidrlist,json=destinationCidrlist" json:"destination_cidrlist,omitempty"` // type of the ICMP message being sent IcmpType *int32 `protobuf:"varint,6,opt,name=icmp_type,json=icmpType" json:"icmp_type,omitempty"` // error code for this ICMP message IcmpCode *int32 `protobuf:"varint,7,opt,name=icmp_code,json=icmpCode" json:"icmp_code,omitempty"` // The network of the VM the firewall rule will be created for NetworkId *int64 `protobuf:"varint,8,opt,name=network_id,json=networkId" json:"network_id,omitempty"` // the traffic type for the Routing firewall rule, can be ingress or egress, defaulted to ingress if not specified TrafficType *string `protobuf:"bytes,9,opt,name=traffic_type,json=trafficType" json:"traffic_type,omitempty"` // an optional field, whether to the display the rule to the end user or not Display *bool `protobuf:"varint,10,opt,name=display" json:"display,omitempty"` StartEventId *int64 `protobuf:"varint,11,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"` InjectedJobId *string `protobuf:"bytes,12,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"` ResponseType *string `protobuf:"bytes,13,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
CreateRoutingFirewallRuleRequest represents the parameters for creates a routing firewall rule in the given network in routed mode
func (*CreateRoutingFirewallRuleRequest) Descriptor
deprecated
func (*CreateRoutingFirewallRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoutingFirewallRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateRoutingFirewallRuleRequest) GetDestinationCidrlist ¶
func (x *CreateRoutingFirewallRuleRequest) GetDestinationCidrlist() []string
func (*CreateRoutingFirewallRuleRequest) GetDisplay ¶
func (x *CreateRoutingFirewallRuleRequest) GetDisplay() bool
func (*CreateRoutingFirewallRuleRequest) GetIcmpCode ¶
func (x *CreateRoutingFirewallRuleRequest) GetIcmpCode() int32
func (*CreateRoutingFirewallRuleRequest) GetIcmpType ¶
func (x *CreateRoutingFirewallRuleRequest) GetIcmpType() int32
func (*CreateRoutingFirewallRuleRequest) GetInjectedJobId ¶
func (x *CreateRoutingFirewallRuleRequest) GetInjectedJobId() string
func (*CreateRoutingFirewallRuleRequest) GetNetworkId ¶
func (x *CreateRoutingFirewallRuleRequest) GetNetworkId() int64
func (*CreateRoutingFirewallRuleRequest) GetProtocol ¶
func (x *CreateRoutingFirewallRuleRequest) GetProtocol() string
func (*CreateRoutingFirewallRuleRequest) GetPublicEndPort ¶
func (x *CreateRoutingFirewallRuleRequest) GetPublicEndPort() int32
func (*CreateRoutingFirewallRuleRequest) GetPublicStartPort ¶
func (x *CreateRoutingFirewallRuleRequest) GetPublicStartPort() int32
func (*CreateRoutingFirewallRuleRequest) GetResponseType ¶
func (x *CreateRoutingFirewallRuleRequest) GetResponseType() string
func (*CreateRoutingFirewallRuleRequest) GetSourceCidrList ¶
func (x *CreateRoutingFirewallRuleRequest) GetSourceCidrList() []string
func (*CreateRoutingFirewallRuleRequest) GetStartEventId ¶
func (x *CreateRoutingFirewallRuleRequest) GetStartEventId() int64
func (*CreateRoutingFirewallRuleRequest) GetTrafficType ¶
func (x *CreateRoutingFirewallRuleRequest) GetTrafficType() string
func (*CreateRoutingFirewallRuleRequest) ProtoMessage ¶
func (*CreateRoutingFirewallRuleRequest) ProtoMessage()
func (*CreateRoutingFirewallRuleRequest) ProtoReflect ¶
func (x *CreateRoutingFirewallRuleRequest) ProtoReflect() protoreflect.Message
func (*CreateRoutingFirewallRuleRequest) Reset ¶
func (x *CreateRoutingFirewallRuleRequest) Reset()
func (*CreateRoutingFirewallRuleRequest) String ¶
func (x *CreateRoutingFirewallRuleRequest) String() string
type CreateRoutingFirewallRuleResponse ¶
type CreateRoutingFirewallRuleResponse struct { // The Result Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
CreateRoutingFirewallRuleResponse represents the response from creates a routing firewall rule in the given network in routed mode
func (*CreateRoutingFirewallRuleResponse) Descriptor
deprecated
func (*CreateRoutingFirewallRuleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoutingFirewallRuleResponse.ProtoReflect.Descriptor instead.
func (*CreateRoutingFirewallRuleResponse) GetResult ¶
func (x *CreateRoutingFirewallRuleResponse) GetResult() *Result
func (*CreateRoutingFirewallRuleResponse) ProtoMessage ¶
func (*CreateRoutingFirewallRuleResponse) ProtoMessage()
func (*CreateRoutingFirewallRuleResponse) ProtoReflect ¶
func (x *CreateRoutingFirewallRuleResponse) ProtoReflect() protoreflect.Message
func (*CreateRoutingFirewallRuleResponse) Reset ¶
func (x *CreateRoutingFirewallRuleResponse) Reset()
func (*CreateRoutingFirewallRuleResponse) String ¶
func (x *CreateRoutingFirewallRuleResponse) String() string
type DeleteRoutingFirewallRuleRequest ¶
type DeleteRoutingFirewallRuleRequest struct { // the ID of the Routing firewall rule 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 }
DeleteRoutingFirewallRuleRequest represents the parameters for deletes a routing firewall rule
func (*DeleteRoutingFirewallRuleRequest) Descriptor
deprecated
func (*DeleteRoutingFirewallRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoutingFirewallRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoutingFirewallRuleRequest) GetId ¶
func (x *DeleteRoutingFirewallRuleRequest) GetId() int64
func (*DeleteRoutingFirewallRuleRequest) GetInjectedJobId ¶
func (x *DeleteRoutingFirewallRuleRequest) GetInjectedJobId() string
func (*DeleteRoutingFirewallRuleRequest) GetResponseType ¶
func (x *DeleteRoutingFirewallRuleRequest) GetResponseType() string
func (*DeleteRoutingFirewallRuleRequest) GetStartEventId ¶
func (x *DeleteRoutingFirewallRuleRequest) GetStartEventId() int64
func (*DeleteRoutingFirewallRuleRequest) ProtoMessage ¶
func (*DeleteRoutingFirewallRuleRequest) ProtoMessage()
func (*DeleteRoutingFirewallRuleRequest) ProtoReflect ¶
func (x *DeleteRoutingFirewallRuleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoutingFirewallRuleRequest) Reset ¶
func (x *DeleteRoutingFirewallRuleRequest) Reset()
func (*DeleteRoutingFirewallRuleRequest) String ¶
func (x *DeleteRoutingFirewallRuleRequest) String() string
type DeleteRoutingFirewallRuleResponse ¶
type DeleteRoutingFirewallRuleResponse struct { // The Result Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
DeleteRoutingFirewallRuleResponse represents the response from deletes a routing firewall rule
func (*DeleteRoutingFirewallRuleResponse) Descriptor
deprecated
func (*DeleteRoutingFirewallRuleResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoutingFirewallRuleResponse.ProtoReflect.Descriptor instead.
func (*DeleteRoutingFirewallRuleResponse) GetResult ¶
func (x *DeleteRoutingFirewallRuleResponse) GetResult() *Result
func (*DeleteRoutingFirewallRuleResponse) ProtoMessage ¶
func (*DeleteRoutingFirewallRuleResponse) ProtoMessage()
func (*DeleteRoutingFirewallRuleResponse) ProtoReflect ¶
func (x *DeleteRoutingFirewallRuleResponse) ProtoReflect() protoreflect.Message
func (*DeleteRoutingFirewallRuleResponse) Reset ¶
func (x *DeleteRoutingFirewallRuleResponse) Reset()
func (*DeleteRoutingFirewallRuleResponse) String ¶
func (x *DeleteRoutingFirewallRuleResponse) String() string
type FirewallRule ¶
type FirewallRule struct { // The ID of the FirewallRule Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The name of the FirewallRule Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // The display name of the FirewallRule DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // The description of the FirewallRule 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 }
FirewallRule represents a FirewallRule Item
func (*FirewallRule) Descriptor
deprecated
func (*FirewallRule) Descriptor() ([]byte, []int)
Deprecated: Use FirewallRule.ProtoReflect.Descriptor instead.
func (*FirewallRule) GetCreated ¶
func (x *FirewallRule) GetCreated() string
func (*FirewallRule) GetDescription ¶
func (x *FirewallRule) GetDescription() string
func (*FirewallRule) GetDisplayName ¶
func (x *FirewallRule) GetDisplayName() string
func (*FirewallRule) GetId ¶
func (x *FirewallRule) GetId() string
func (*FirewallRule) GetName ¶
func (x *FirewallRule) GetName() string
func (*FirewallRule) ProtoMessage ¶
func (*FirewallRule) ProtoMessage()
func (*FirewallRule) ProtoReflect ¶
func (x *FirewallRule) ProtoReflect() protoreflect.Message
func (*FirewallRule) Reset ¶
func (x *FirewallRule) Reset()
func (*FirewallRule) String ¶
func (x *FirewallRule) String() string
type ListRoutingFirewallRulesRequest ¶
type ListRoutingFirewallRulesRequest struct { // Lists Routing firewall rule with the specified ID Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // list Routing firewall rules by network ID NetworkId *int64 `protobuf:"varint,2,opt,name=network_id,json=networkId" json:"network_id,omitempty"` // list Routing firewall rules by traffic type - ingress or egress TrafficType *string `protobuf:"bytes,3,opt,name=traffic_type,json=trafficType" json:"traffic_type,omitempty"` // list resources by display flag; only ROOT admin is eligible to pass this parameter Display *bool `protobuf:"varint,4,opt,name=display" json:"display,omitempty"` // List resources by tags (key/value pairs) Tags map[string]string `` /* 128-byte string literal not displayed */ // list objects by project; if projectid=-1 lists All VMs ProjectId *int64 `protobuf:"varint,6,opt,name=project_id,json=projectId" json:"project_id,omitempty"` // list resources by account. Must be used with the domainId parameter. AccountName *string `protobuf:"bytes,7,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter. ListAll *bool `protobuf:"varint,8,opt,name=list_all,json=listAll" json:"list_all,omitempty"` // list only resources belonging to the domain specified DomainId *int64 `protobuf:"varint,9,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"` // defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves. Recursive *bool `protobuf:"varint,10,opt,name=recursive" json:"recursive,omitempty"` // List by keyword Keyword *string `protobuf:"bytes,11,opt,name=keyword" json:"keyword,omitempty"` Page *int32 `protobuf:"varint,12,opt,name=page" json:"page,omitempty"` PageSize *int32 `protobuf:"varint,13,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` ResponseType *string `protobuf:"bytes,14,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
ListRoutingFirewallRulesRequest represents the parameters for lists all routing firewall rules
func (*ListRoutingFirewallRulesRequest) Descriptor
deprecated
func (*ListRoutingFirewallRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoutingFirewallRulesRequest.ProtoReflect.Descriptor instead.
func (*ListRoutingFirewallRulesRequest) GetAccountName ¶
func (x *ListRoutingFirewallRulesRequest) GetAccountName() string
func (*ListRoutingFirewallRulesRequest) GetDisplay ¶
func (x *ListRoutingFirewallRulesRequest) GetDisplay() bool
func (*ListRoutingFirewallRulesRequest) GetDomainId ¶
func (x *ListRoutingFirewallRulesRequest) GetDomainId() int64
func (*ListRoutingFirewallRulesRequest) GetId ¶
func (x *ListRoutingFirewallRulesRequest) GetId() int64
func (*ListRoutingFirewallRulesRequest) GetKeyword ¶
func (x *ListRoutingFirewallRulesRequest) GetKeyword() string
func (*ListRoutingFirewallRulesRequest) GetListAll ¶
func (x *ListRoutingFirewallRulesRequest) GetListAll() bool
func (*ListRoutingFirewallRulesRequest) GetNetworkId ¶
func (x *ListRoutingFirewallRulesRequest) GetNetworkId() int64
func (*ListRoutingFirewallRulesRequest) GetPage ¶
func (x *ListRoutingFirewallRulesRequest) GetPage() int32
func (*ListRoutingFirewallRulesRequest) GetPageSize ¶
func (x *ListRoutingFirewallRulesRequest) GetPageSize() int32
func (*ListRoutingFirewallRulesRequest) GetProjectId ¶
func (x *ListRoutingFirewallRulesRequest) GetProjectId() int64
func (*ListRoutingFirewallRulesRequest) GetRecursive ¶
func (x *ListRoutingFirewallRulesRequest) GetRecursive() bool
func (*ListRoutingFirewallRulesRequest) GetResponseType ¶
func (x *ListRoutingFirewallRulesRequest) GetResponseType() string
func (*ListRoutingFirewallRulesRequest) GetTags ¶
func (x *ListRoutingFirewallRulesRequest) GetTags() map[string]string
func (*ListRoutingFirewallRulesRequest) GetTrafficType ¶
func (x *ListRoutingFirewallRulesRequest) GetTrafficType() string
func (*ListRoutingFirewallRulesRequest) ProtoMessage ¶
func (*ListRoutingFirewallRulesRequest) ProtoMessage()
func (*ListRoutingFirewallRulesRequest) ProtoReflect ¶
func (x *ListRoutingFirewallRulesRequest) ProtoReflect() protoreflect.Message
func (*ListRoutingFirewallRulesRequest) Reset ¶
func (x *ListRoutingFirewallRulesRequest) Reset()
func (*ListRoutingFirewallRulesRequest) String ¶
func (x *ListRoutingFirewallRulesRequest) String() string
type ListRoutingFirewallRulesResponse ¶
type ListRoutingFirewallRulesResponse struct { // The list of FirewallRules Items []*FirewallRule `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` // The total count of FirewallRules TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"` // contains filtered or unexported fields }
ListRoutingFirewallRulesResponse represents the response from lists all routing firewall rules
func (*ListRoutingFirewallRulesResponse) Descriptor
deprecated
func (*ListRoutingFirewallRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoutingFirewallRulesResponse.ProtoReflect.Descriptor instead.
func (*ListRoutingFirewallRulesResponse) GetItems ¶
func (x *ListRoutingFirewallRulesResponse) GetItems() []*FirewallRule
func (*ListRoutingFirewallRulesResponse) GetTotalCount ¶
func (x *ListRoutingFirewallRulesResponse) GetTotalCount() int32
func (*ListRoutingFirewallRulesResponse) ProtoMessage ¶
func (*ListRoutingFirewallRulesResponse) ProtoMessage()
func (*ListRoutingFirewallRulesResponse) ProtoReflect ¶
func (x *ListRoutingFirewallRulesResponse) ProtoReflect() protoreflect.Message
func (*ListRoutingFirewallRulesResponse) Reset ¶
func (x *ListRoutingFirewallRulesResponse) Reset()
func (*ListRoutingFirewallRulesResponse) String ¶
func (x *ListRoutingFirewallRulesResponse) String() string
type ProtocolType ¶
type ProtocolType int32
ProtocolType represents the possible values for the protocol for the firewall rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol number
const ( // Default unspecified value ProtocolType_PROTOCOL_TYPE_UNSPECIFIED ProtocolType = 0 // ALL value ProtocolType_PROTOCOL_TYPE_ALL ProtocolType = 1 // ICMP value ProtocolType_PROTOCOL_TYPE_ICMP ProtocolType = 2 // TCP value ProtocolType_PROTOCOL_TYPE_TCP ProtocolType = 3 // UDP value ProtocolType_PROTOCOL_TYPE_UDP ProtocolType = 4 )
func (ProtocolType) Descriptor ¶
func (ProtocolType) Descriptor() protoreflect.EnumDescriptor
func (ProtocolType) Enum ¶
func (x ProtocolType) Enum() *ProtocolType
func (ProtocolType) EnumDescriptor
deprecated
func (ProtocolType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProtocolType.Descriptor instead.
func (ProtocolType) Number ¶
func (x ProtocolType) Number() protoreflect.EnumNumber
func (ProtocolType) String ¶
func (x ProtocolType) String() string
func (ProtocolType) Type ¶
func (ProtocolType) Type() protoreflect.EnumType
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 RoutingServiceClient ¶
type RoutingServiceClient interface { // CreateRoutingFirewallRule Creates a routing firewall rule in the given network in ROUTED mode CreateRoutingFirewallRule(ctx context.Context, in *CreateRoutingFirewallRuleRequest, opts ...grpc.CallOption) (*CreateRoutingFirewallRuleResponse, error) // DeleteRoutingFirewallRule Deletes a routing firewall rule DeleteRoutingFirewallRule(ctx context.Context, in *DeleteRoutingFirewallRuleRequest, opts ...grpc.CallOption) (*DeleteRoutingFirewallRuleResponse, error) // ListRoutingFirewallRules Lists all Routing firewall rules ListRoutingFirewallRules(ctx context.Context, in *ListRoutingFirewallRulesRequest, opts ...grpc.CallOption) (*ListRoutingFirewallRulesResponse, error) // UpdateRoutingFirewallRule Updates Routing firewall rule with specified ID UpdateRoutingFirewallRule(ctx context.Context, in *UpdateRoutingFirewallRuleRequest, opts ...grpc.CallOption) (*UpdateRoutingFirewallRuleResponse, error) }
RoutingServiceClient is the client API for RoutingService 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.
RoutingService provides operations for managing Network.Routings
func NewRoutingServiceClient ¶
func NewRoutingServiceClient(cc grpc.ClientConnInterface) RoutingServiceClient
type RoutingServiceServer ¶
type RoutingServiceServer interface { // CreateRoutingFirewallRule Creates a routing firewall rule in the given network in ROUTED mode CreateRoutingFirewallRule(context.Context, *CreateRoutingFirewallRuleRequest) (*CreateRoutingFirewallRuleResponse, error) // DeleteRoutingFirewallRule Deletes a routing firewall rule DeleteRoutingFirewallRule(context.Context, *DeleteRoutingFirewallRuleRequest) (*DeleteRoutingFirewallRuleResponse, error) // ListRoutingFirewallRules Lists all Routing firewall rules ListRoutingFirewallRules(context.Context, *ListRoutingFirewallRulesRequest) (*ListRoutingFirewallRulesResponse, error) // UpdateRoutingFirewallRule Updates Routing firewall rule with specified ID UpdateRoutingFirewallRule(context.Context, *UpdateRoutingFirewallRuleRequest) (*UpdateRoutingFirewallRuleResponse, error) // contains filtered or unexported methods }
RoutingServiceServer is the server API for RoutingService service. All implementations must embed UnimplementedRoutingServiceServer for forward compatibility.
RoutingService provides operations for managing Network.Routings
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 UnimplementedRoutingServiceServer ¶
type UnimplementedRoutingServiceServer struct{}
UnimplementedRoutingServiceServer 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 (UnimplementedRoutingServiceServer) CreateRoutingFirewallRule ¶
func (UnimplementedRoutingServiceServer) CreateRoutingFirewallRule(context.Context, *CreateRoutingFirewallRuleRequest) (*CreateRoutingFirewallRuleResponse, error)
func (UnimplementedRoutingServiceServer) DeleteRoutingFirewallRule ¶
func (UnimplementedRoutingServiceServer) DeleteRoutingFirewallRule(context.Context, *DeleteRoutingFirewallRuleRequest) (*DeleteRoutingFirewallRuleResponse, error)
func (UnimplementedRoutingServiceServer) ListRoutingFirewallRules ¶
func (UnimplementedRoutingServiceServer) ListRoutingFirewallRules(context.Context, *ListRoutingFirewallRulesRequest) (*ListRoutingFirewallRulesResponse, error)
func (UnimplementedRoutingServiceServer) UpdateRoutingFirewallRule ¶
func (UnimplementedRoutingServiceServer) UpdateRoutingFirewallRule(context.Context, *UpdateRoutingFirewallRuleRequest) (*UpdateRoutingFirewallRuleResponse, error)
type UnsafeRoutingServiceServer ¶
type UnsafeRoutingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRoutingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoutingServiceServer will result in compilation errors.
type UpdateRoutingFirewallRuleRequest ¶
type UpdateRoutingFirewallRuleRequest struct { // the ID of the Routing firewall rule Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // an optional field, whether to the display the Routing firewall rule to the end user or not Display *bool `protobuf:"varint,2,opt,name=display" json:"display,omitempty"` // an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only CustomId *string `protobuf:"bytes,3,opt,name=custom_id,json=customId" json:"custom_id,omitempty"` StartEventId *int64 `protobuf:"varint,4,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"` InjectedJobId *string `protobuf:"bytes,5,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"` ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
UpdateRoutingFirewallRuleRequest represents the parameters for updates routing firewall rule with specified id
func (*UpdateRoutingFirewallRuleRequest) Descriptor
deprecated
func (*UpdateRoutingFirewallRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoutingFirewallRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoutingFirewallRuleRequest) GetCustomId ¶
func (x *UpdateRoutingFirewallRuleRequest) GetCustomId() string
func (*UpdateRoutingFirewallRuleRequest) GetDisplay ¶
func (x *UpdateRoutingFirewallRuleRequest) GetDisplay() bool
func (*UpdateRoutingFirewallRuleRequest) GetId ¶
func (x *UpdateRoutingFirewallRuleRequest) GetId() int64
func (*UpdateRoutingFirewallRuleRequest) GetInjectedJobId ¶
func (x *UpdateRoutingFirewallRuleRequest) GetInjectedJobId() string
func (*UpdateRoutingFirewallRuleRequest) GetResponseType ¶
func (x *UpdateRoutingFirewallRuleRequest) GetResponseType() string
func (*UpdateRoutingFirewallRuleRequest) GetStartEventId ¶
func (x *UpdateRoutingFirewallRuleRequest) GetStartEventId() int64
func (*UpdateRoutingFirewallRuleRequest) ProtoMessage ¶
func (*UpdateRoutingFirewallRuleRequest) ProtoMessage()
func (*UpdateRoutingFirewallRuleRequest) ProtoReflect ¶
func (x *UpdateRoutingFirewallRuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoutingFirewallRuleRequest) Reset ¶
func (x *UpdateRoutingFirewallRuleRequest) Reset()
func (*UpdateRoutingFirewallRuleRequest) String ¶
func (x *UpdateRoutingFirewallRuleRequest) String() string
type UpdateRoutingFirewallRuleResponse ¶
type UpdateRoutingFirewallRuleResponse struct { // The Result Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
UpdateRoutingFirewallRuleResponse represents the response from updates routing firewall rule with specified id
func (*UpdateRoutingFirewallRuleResponse) Descriptor
deprecated
func (*UpdateRoutingFirewallRuleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoutingFirewallRuleResponse.ProtoReflect.Descriptor instead.
func (*UpdateRoutingFirewallRuleResponse) GetResult ¶
func (x *UpdateRoutingFirewallRuleResponse) GetResult() *Result
func (*UpdateRoutingFirewallRuleResponse) ProtoMessage ¶
func (*UpdateRoutingFirewallRuleResponse) ProtoMessage()
func (*UpdateRoutingFirewallRuleResponse) ProtoReflect ¶
func (x *UpdateRoutingFirewallRuleResponse) ProtoReflect() protoreflect.Message
func (*UpdateRoutingFirewallRuleResponse) Reset ¶
func (x *UpdateRoutingFirewallRuleResponse) Reset()
func (*UpdateRoutingFirewallRuleResponse) String ¶
func (x *UpdateRoutingFirewallRuleResponse) String() string