Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterUsageServiceServer(s grpc.ServiceRegistrar, srv UsageServiceServer)
- type AddTrafficMonitorRequest
- func (*AddTrafficMonitorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTrafficMonitorRequest) GetExclZones() string
- func (x *AddTrafficMonitorRequest) GetInclZones() string
- func (x *AddTrafficMonitorRequest) GetResponseType() string
- func (x *AddTrafficMonitorRequest) GetUrl() string
- func (x *AddTrafficMonitorRequest) GetZoneId() int64
- func (*AddTrafficMonitorRequest) ProtoMessage()
- func (x *AddTrafficMonitorRequest) ProtoReflect() protoreflect.Message
- func (x *AddTrafficMonitorRequest) Reset()
- func (x *AddTrafficMonitorRequest) String() string
- type AddTrafficMonitorResponse
- func (*AddTrafficMonitorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddTrafficMonitorResponse) GetResult() *Result
- func (*AddTrafficMonitorResponse) ProtoMessage()
- func (x *AddTrafficMonitorResponse) ProtoReflect() protoreflect.Message
- func (x *AddTrafficMonitorResponse) Reset()
- func (x *AddTrafficMonitorResponse) String() string
- type AddTrafficTypeRequest
- func (*AddTrafficTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTrafficTypeRequest) GetHypervLabel() string
- func (x *AddTrafficTypeRequest) GetInjectedJobId() string
- func (x *AddTrafficTypeRequest) GetIsolationMethod() string
- func (x *AddTrafficTypeRequest) GetKvmLabel() string
- func (x *AddTrafficTypeRequest) GetOvm3Label() string
- func (x *AddTrafficTypeRequest) GetPhysicalNetworkId() int64
- func (x *AddTrafficTypeRequest) GetResponseType() string
- func (x *AddTrafficTypeRequest) GetStartEventId() int64
- func (x *AddTrafficTypeRequest) GetTrafficType() string
- func (x *AddTrafficTypeRequest) GetVlan() string
- func (x *AddTrafficTypeRequest) GetVmwareLabel() string
- func (x *AddTrafficTypeRequest) GetXenLabel() string
- func (*AddTrafficTypeRequest) ProtoMessage()
- func (x *AddTrafficTypeRequest) ProtoReflect() protoreflect.Message
- func (x *AddTrafficTypeRequest) Reset()
- func (x *AddTrafficTypeRequest) String() string
- type AddTrafficTypeResponse
- func (*AddTrafficTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddTrafficTypeResponse) GetResult() *Result
- func (*AddTrafficTypeResponse) ProtoMessage()
- func (x *AddTrafficTypeResponse) ProtoReflect() protoreflect.Message
- func (x *AddTrafficTypeResponse) Reset()
- func (x *AddTrafficTypeResponse) String() string
- type DeleteTrafficMonitorRequest
- func (*DeleteTrafficMonitorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTrafficMonitorRequest) GetId() int64
- func (x *DeleteTrafficMonitorRequest) GetResponseType() string
- func (*DeleteTrafficMonitorRequest) ProtoMessage()
- func (x *DeleteTrafficMonitorRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTrafficMonitorRequest) Reset()
- func (x *DeleteTrafficMonitorRequest) String() string
- type DeleteTrafficMonitorResponse
- func (*DeleteTrafficMonitorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTrafficMonitorResponse) GetResult() *Result
- func (*DeleteTrafficMonitorResponse) ProtoMessage()
- func (x *DeleteTrafficMonitorResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTrafficMonitorResponse) Reset()
- func (x *DeleteTrafficMonitorResponse) String() string
- type DeleteTrafficTypeRequest
- func (*DeleteTrafficTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTrafficTypeRequest) GetId() int64
- func (x *DeleteTrafficTypeRequest) GetInjectedJobId() string
- func (x *DeleteTrafficTypeRequest) GetResponseType() string
- func (x *DeleteTrafficTypeRequest) GetStartEventId() int64
- func (*DeleteTrafficTypeRequest) ProtoMessage()
- func (x *DeleteTrafficTypeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTrafficTypeRequest) Reset()
- func (x *DeleteTrafficTypeRequest) String() string
- type DeleteTrafficTypeResponse
- func (*DeleteTrafficTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTrafficTypeResponse) GetResult() *Result
- func (*DeleteTrafficTypeResponse) ProtoMessage()
- func (x *DeleteTrafficTypeResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTrafficTypeResponse) Reset()
- func (x *DeleteTrafficTypeResponse) String() string
- type GenerateUsageRecordsRequest
- func (*GenerateUsageRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateUsageRecordsRequest) GetDomainId() int64
- func (x *GenerateUsageRecordsRequest) GetEndDate() string
- func (x *GenerateUsageRecordsRequest) GetResponseType() string
- func (x *GenerateUsageRecordsRequest) GetStartDate() string
- func (*GenerateUsageRecordsRequest) ProtoMessage()
- func (x *GenerateUsageRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateUsageRecordsRequest) Reset()
- func (x *GenerateUsageRecordsRequest) String() string
- type GenerateUsageRecordsResponse
- func (*GenerateUsageRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateUsageRecordsResponse) GetResult() *Result
- func (*GenerateUsageRecordsResponse) ProtoMessage()
- func (x *GenerateUsageRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateUsageRecordsResponse) Reset()
- func (x *GenerateUsageRecordsResponse) String() string
- type ListTrafficMonitorsRequest
- func (*ListTrafficMonitorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrafficMonitorsRequest) GetKeyword() string
- func (x *ListTrafficMonitorsRequest) GetPage() int32
- func (x *ListTrafficMonitorsRequest) GetPageSize() int32
- func (x *ListTrafficMonitorsRequest) GetResponseType() string
- func (x *ListTrafficMonitorsRequest) GetZoneId() int64
- func (*ListTrafficMonitorsRequest) ProtoMessage()
- func (x *ListTrafficMonitorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTrafficMonitorsRequest) Reset()
- func (x *ListTrafficMonitorsRequest) String() string
- type ListTrafficMonitorsResponse
- func (*ListTrafficMonitorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrafficMonitorsResponse) GetItems() []*TrafficMonitor
- func (x *ListTrafficMonitorsResponse) GetTotalCount() int32
- func (*ListTrafficMonitorsResponse) ProtoMessage()
- func (x *ListTrafficMonitorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTrafficMonitorsResponse) Reset()
- func (x *ListTrafficMonitorsResponse) String() string
- type ListTrafficTypeImplementorsRequest
- func (*ListTrafficTypeImplementorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrafficTypeImplementorsRequest) GetKeyword() string
- func (x *ListTrafficTypeImplementorsRequest) GetPage() int32
- func (x *ListTrafficTypeImplementorsRequest) GetPageSize() int32
- func (x *ListTrafficTypeImplementorsRequest) GetResponseType() string
- func (x *ListTrafficTypeImplementorsRequest) GetTrafficType() string
- func (*ListTrafficTypeImplementorsRequest) ProtoMessage()
- func (x *ListTrafficTypeImplementorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTrafficTypeImplementorsRequest) Reset()
- func (x *ListTrafficTypeImplementorsRequest) String() string
- type ListTrafficTypeImplementorsResponse
- func (*ListTrafficTypeImplementorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrafficTypeImplementorsResponse) GetItems() []*TrafficTypeImplementor
- func (x *ListTrafficTypeImplementorsResponse) GetTotalCount() int32
- func (*ListTrafficTypeImplementorsResponse) ProtoMessage()
- func (x *ListTrafficTypeImplementorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTrafficTypeImplementorsResponse) Reset()
- func (x *ListTrafficTypeImplementorsResponse) String() string
- type ListTrafficTypesRequest
- func (*ListTrafficTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrafficTypesRequest) GetKeyword() string
- func (x *ListTrafficTypesRequest) GetPage() int32
- func (x *ListTrafficTypesRequest) GetPageSize() int32
- func (x *ListTrafficTypesRequest) GetPhysicalNetworkId() int64
- func (x *ListTrafficTypesRequest) GetResponseType() string
- func (*ListTrafficTypesRequest) ProtoMessage()
- func (x *ListTrafficTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTrafficTypesRequest) Reset()
- func (x *ListTrafficTypesRequest) String() string
- type ListTrafficTypesResponse
- func (*ListTrafficTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrafficTypesResponse) GetItems() []*Provider
- func (x *ListTrafficTypesResponse) GetTotalCount() int32
- func (*ListTrafficTypesResponse) ProtoMessage()
- func (x *ListTrafficTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTrafficTypesResponse) Reset()
- func (x *ListTrafficTypesResponse) String() string
- type ListUsageRecordsRequest
- func (*ListUsageRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsageRecordsRequest) GetAccountId() int64
- func (x *ListUsageRecordsRequest) GetAccountName() string
- func (x *ListUsageRecordsRequest) GetDomainId() int64
- func (x *ListUsageRecordsRequest) GetEndDate() string
- func (x *ListUsageRecordsRequest) GetIncludeTags() bool
- func (x *ListUsageRecordsRequest) GetKeyword() string
- func (x *ListUsageRecordsRequest) GetOldFormat() bool
- func (x *ListUsageRecordsRequest) GetPage() int32
- func (x *ListUsageRecordsRequest) GetPageSize() int32
- func (x *ListUsageRecordsRequest) GetProjectId() int64
- func (x *ListUsageRecordsRequest) GetRecursive() bool
- func (x *ListUsageRecordsRequest) GetResponseType() string
- func (x *ListUsageRecordsRequest) GetStartDate() string
- func (x *ListUsageRecordsRequest) GetUsageId() string
- func (x *ListUsageRecordsRequest) GetUsageType() int64
- func (*ListUsageRecordsRequest) ProtoMessage()
- func (x *ListUsageRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsageRecordsRequest) Reset()
- func (x *ListUsageRecordsRequest) String() string
- type ListUsageRecordsResponse
- func (*ListUsageRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsageRecordsResponse) GetItems() []*UsageRecord
- func (x *ListUsageRecordsResponse) GetTotalCount() int32
- func (*ListUsageRecordsResponse) ProtoMessage()
- func (x *ListUsageRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsageRecordsResponse) Reset()
- func (x *ListUsageRecordsResponse) String() string
- type ListUsageTypesRequest
- func (*ListUsageTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsageTypesRequest) GetResponseType() string
- func (*ListUsageTypesRequest) ProtoMessage()
- func (x *ListUsageTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsageTypesRequest) Reset()
- func (x *ListUsageTypesRequest) String() string
- type ListUsageTypesResponse
- func (*ListUsageTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsageTypesResponse) GetItems() []*UsageType
- func (x *ListUsageTypesResponse) GetTotalCount() int32
- func (*ListUsageTypesResponse) ProtoMessage()
- func (x *ListUsageTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsageTypesResponse) Reset()
- func (x *ListUsageTypesResponse) String() string
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)deprecated
- func (x *Provider) GetCreated() string
- func (x *Provider) GetDescription() string
- func (x *Provider) GetDisplayName() string
- func (x *Provider) GetId() string
- func (x *Provider) GetName() string
- func (*Provider) ProtoMessage()
- func (x *Provider) ProtoReflect() protoreflect.Message
- func (x *Provider) Reset()
- func (x *Provider) String() string
- type RemoveRawUsageRecordsRequest
- func (*RemoveRawUsageRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRawUsageRecordsRequest) GetInterval() int32
- func (x *RemoveRawUsageRecordsRequest) GetResponseType() string
- func (*RemoveRawUsageRecordsRequest) ProtoMessage()
- func (x *RemoveRawUsageRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRawUsageRecordsRequest) Reset()
- func (x *RemoveRawUsageRecordsRequest) String() string
- type RemoveRawUsageRecordsResponse
- func (*RemoveRawUsageRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRawUsageRecordsResponse) GetResult() *Result
- func (*RemoveRawUsageRecordsResponse) ProtoMessage()
- func (x *RemoveRawUsageRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveRawUsageRecordsResponse) Reset()
- func (x *RemoveRawUsageRecordsResponse) 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 TrafficMonitor
- func (*TrafficMonitor) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficMonitor) GetCreated() string
- func (x *TrafficMonitor) GetDescription() string
- func (x *TrafficMonitor) GetDisplayName() string
- func (x *TrafficMonitor) GetId() string
- func (x *TrafficMonitor) GetName() string
- func (*TrafficMonitor) ProtoMessage()
- func (x *TrafficMonitor) ProtoReflect() protoreflect.Message
- func (x *TrafficMonitor) Reset()
- func (x *TrafficMonitor) String() string
- type TrafficTypeImplementor
- func (*TrafficTypeImplementor) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficTypeImplementor) GetCreated() string
- func (x *TrafficTypeImplementor) GetDescription() string
- func (x *TrafficTypeImplementor) GetDisplayName() string
- func (x *TrafficTypeImplementor) GetId() string
- func (x *TrafficTypeImplementor) GetName() string
- func (*TrafficTypeImplementor) ProtoMessage()
- func (x *TrafficTypeImplementor) ProtoReflect() protoreflect.Message
- func (x *TrafficTypeImplementor) Reset()
- func (x *TrafficTypeImplementor) String() string
- type UnimplementedUsageServiceServer
- func (UnimplementedUsageServiceServer) AddTrafficMonitor(context.Context, *AddTrafficMonitorRequest) (*AddTrafficMonitorResponse, error)
- func (UnimplementedUsageServiceServer) AddTrafficType(context.Context, *AddTrafficTypeRequest) (*AddTrafficTypeResponse, error)
- func (UnimplementedUsageServiceServer) DeleteTrafficMonitor(context.Context, *DeleteTrafficMonitorRequest) (*DeleteTrafficMonitorResponse, error)
- func (UnimplementedUsageServiceServer) DeleteTrafficType(context.Context, *DeleteTrafficTypeRequest) (*DeleteTrafficTypeResponse, error)
- func (UnimplementedUsageServiceServer) GenerateUsageRecords(context.Context, *GenerateUsageRecordsRequest) (*GenerateUsageRecordsResponse, error)
- func (UnimplementedUsageServiceServer) ListTrafficMonitors(context.Context, *ListTrafficMonitorsRequest) (*ListTrafficMonitorsResponse, error)
- func (UnimplementedUsageServiceServer) ListTrafficTypeImplementors(context.Context, *ListTrafficTypeImplementorsRequest) (*ListTrafficTypeImplementorsResponse, error)
- func (UnimplementedUsageServiceServer) ListTrafficTypes(context.Context, *ListTrafficTypesRequest) (*ListTrafficTypesResponse, error)
- func (UnimplementedUsageServiceServer) ListUsageRecords(context.Context, *ListUsageRecordsRequest) (*ListUsageRecordsResponse, error)
- func (UnimplementedUsageServiceServer) ListUsageTypes(context.Context, *ListUsageTypesRequest) (*ListUsageTypesResponse, error)
- func (UnimplementedUsageServiceServer) RemoveRawUsageRecords(context.Context, *RemoveRawUsageRecordsRequest) (*RemoveRawUsageRecordsResponse, error)
- func (UnimplementedUsageServiceServer) UpdateTrafficType(context.Context, *UpdateTrafficTypeRequest) (*UpdateTrafficTypeResponse, error)
- type UnsafeUsageServiceServer
- type UpdateTrafficTypeRequest
- func (*UpdateTrafficTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTrafficTypeRequest) GetHypervLabel() string
- func (x *UpdateTrafficTypeRequest) GetId() int64
- func (x *UpdateTrafficTypeRequest) GetInjectedJobId() string
- func (x *UpdateTrafficTypeRequest) GetKvmLabel() string
- func (x *UpdateTrafficTypeRequest) GetOvm3Label() string
- func (x *UpdateTrafficTypeRequest) GetResponseType() string
- func (x *UpdateTrafficTypeRequest) GetStartEventId() int64
- func (x *UpdateTrafficTypeRequest) GetVmwareLabel() string
- func (x *UpdateTrafficTypeRequest) GetXenLabel() string
- func (*UpdateTrafficTypeRequest) ProtoMessage()
- func (x *UpdateTrafficTypeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTrafficTypeRequest) Reset()
- func (x *UpdateTrafficTypeRequest) String() string
- type UpdateTrafficTypeResponse
- func (*UpdateTrafficTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTrafficTypeResponse) GetResult() *Result
- func (*UpdateTrafficTypeResponse) ProtoMessage()
- func (x *UpdateTrafficTypeResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTrafficTypeResponse) Reset()
- func (x *UpdateTrafficTypeResponse) String() string
- type UsageRecord
- func (*UsageRecord) Descriptor() ([]byte, []int)deprecated
- func (x *UsageRecord) GetCreated() string
- func (x *UsageRecord) GetDescription() string
- func (x *UsageRecord) GetDisplayName() string
- func (x *UsageRecord) GetId() string
- func (x *UsageRecord) GetName() string
- func (*UsageRecord) ProtoMessage()
- func (x *UsageRecord) ProtoReflect() protoreflect.Message
- func (x *UsageRecord) Reset()
- func (x *UsageRecord) String() string
- type UsageServiceClient
- type UsageServiceServer
- type UsageType
- func (*UsageType) Descriptor() ([]byte, []int)deprecated
- func (x *UsageType) GetCreated() string
- func (x *UsageType) GetDescription() string
- func (x *UsageType) GetDisplayName() string
- func (x *UsageType) GetId() string
- func (x *UsageType) GetName() string
- func (*UsageType) ProtoMessage()
- func (x *UsageType) ProtoReflect() protoreflect.Message
- func (x *UsageType) Reset()
- func (x *UsageType) String() string
Constants ¶
const ( UsageService_AddTrafficMonitor_FullMethodName = "/cloudstack.management.usage.v1.UsageService/AddTrafficMonitor" UsageService_AddTrafficType_FullMethodName = "/cloudstack.management.usage.v1.UsageService/AddTrafficType" UsageService_DeleteTrafficMonitor_FullMethodName = "/cloudstack.management.usage.v1.UsageService/DeleteTrafficMonitor" UsageService_DeleteTrafficType_FullMethodName = "/cloudstack.management.usage.v1.UsageService/DeleteTrafficType" UsageService_GenerateUsageRecords_FullMethodName = "/cloudstack.management.usage.v1.UsageService/GenerateUsageRecords" UsageService_ListTrafficMonitors_FullMethodName = "/cloudstack.management.usage.v1.UsageService/ListTrafficMonitors" UsageService_ListTrafficTypeImplementors_FullMethodName = "/cloudstack.management.usage.v1.UsageService/ListTrafficTypeImplementors" UsageService_ListTrafficTypes_FullMethodName = "/cloudstack.management.usage.v1.UsageService/ListTrafficTypes" UsageService_ListUsageRecords_FullMethodName = "/cloudstack.management.usage.v1.UsageService/ListUsageRecords" UsageService_ListUsageTypes_FullMethodName = "/cloudstack.management.usage.v1.UsageService/ListUsageTypes" UsageService_RemoveRawUsageRecords_FullMethodName = "/cloudstack.management.usage.v1.UsageService/RemoveRawUsageRecords" UsageService_UpdateTrafficType_FullMethodName = "/cloudstack.management.usage.v1.UsageService/UpdateTrafficType" )
Variables ¶
var File_cloudstack_management_usage_v1_usage_gen_proto protoreflect.FileDescriptor
var UsageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.usage.v1.UsageService", HandlerType: (*UsageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddTrafficMonitor", Handler: _UsageService_AddTrafficMonitor_Handler, }, { MethodName: "AddTrafficType", Handler: _UsageService_AddTrafficType_Handler, }, { MethodName: "DeleteTrafficMonitor", Handler: _UsageService_DeleteTrafficMonitor_Handler, }, { MethodName: "DeleteTrafficType", Handler: _UsageService_DeleteTrafficType_Handler, }, { MethodName: "GenerateUsageRecords", Handler: _UsageService_GenerateUsageRecords_Handler, }, { MethodName: "ListTrafficMonitors", Handler: _UsageService_ListTrafficMonitors_Handler, }, { MethodName: "ListTrafficTypeImplementors", Handler: _UsageService_ListTrafficTypeImplementors_Handler, }, { MethodName: "ListTrafficTypes", Handler: _UsageService_ListTrafficTypes_Handler, }, { MethodName: "ListUsageRecords", Handler: _UsageService_ListUsageRecords_Handler, }, { MethodName: "ListUsageTypes", Handler: _UsageService_ListUsageTypes_Handler, }, { MethodName: "RemoveRawUsageRecords", Handler: _UsageService_RemoveRawUsageRecords_Handler, }, { MethodName: "UpdateTrafficType", Handler: _UsageService_UpdateTrafficType_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/usage/v1/usage.gen.proto", }
UsageService_ServiceDesc is the grpc.ServiceDesc for UsageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUsageServiceServer ¶
func RegisterUsageServiceServer(s grpc.ServiceRegistrar, srv UsageServiceServer)
Types ¶
type AddTrafficMonitorRequest ¶
type AddTrafficMonitorRequest struct {
// Zone in which to add the external firewall appliance.
ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// URL of the traffic monitor Host
Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
// Traffic going into the listed zones will be metered
InclZones *string `protobuf:"bytes,3,opt,name=incl_zones,json=inclZones" json:"incl_zones,omitempty"`
// Traffic going into the listed zones will not be metered
ExclZones *string `protobuf:"bytes,4,opt,name=excl_zones,json=exclZones" json:"excl_zones,omitempty"`
ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
AddTrafficMonitorRequest represents the parameters for adds traffic monitor host for direct network usage
func (*AddTrafficMonitorRequest) Descriptor
deprecated
func (*AddTrafficMonitorRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTrafficMonitorRequest.ProtoReflect.Descriptor instead.
func (*AddTrafficMonitorRequest) GetExclZones ¶
func (x *AddTrafficMonitorRequest) GetExclZones() string
func (*AddTrafficMonitorRequest) GetInclZones ¶
func (x *AddTrafficMonitorRequest) GetInclZones() string
func (*AddTrafficMonitorRequest) GetResponseType ¶
func (x *AddTrafficMonitorRequest) GetResponseType() string
func (*AddTrafficMonitorRequest) GetUrl ¶
func (x *AddTrafficMonitorRequest) GetUrl() string
func (*AddTrafficMonitorRequest) GetZoneId ¶
func (x *AddTrafficMonitorRequest) GetZoneId() int64
func (*AddTrafficMonitorRequest) ProtoMessage ¶
func (*AddTrafficMonitorRequest) ProtoMessage()
func (*AddTrafficMonitorRequest) ProtoReflect ¶
func (x *AddTrafficMonitorRequest) ProtoReflect() protoreflect.Message
func (*AddTrafficMonitorRequest) Reset ¶
func (x *AddTrafficMonitorRequest) Reset()
func (*AddTrafficMonitorRequest) String ¶
func (x *AddTrafficMonitorRequest) String() string
type AddTrafficMonitorResponse ¶
type AddTrafficMonitorResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
AddTrafficMonitorResponse represents the response from adds traffic monitor host for direct network usage
func (*AddTrafficMonitorResponse) Descriptor
deprecated
func (*AddTrafficMonitorResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddTrafficMonitorResponse.ProtoReflect.Descriptor instead.
func (*AddTrafficMonitorResponse) GetResult ¶
func (x *AddTrafficMonitorResponse) GetResult() *Result
func (*AddTrafficMonitorResponse) ProtoMessage ¶
func (*AddTrafficMonitorResponse) ProtoMessage()
func (*AddTrafficMonitorResponse) ProtoReflect ¶
func (x *AddTrafficMonitorResponse) ProtoReflect() protoreflect.Message
func (*AddTrafficMonitorResponse) Reset ¶
func (x *AddTrafficMonitorResponse) Reset()
func (*AddTrafficMonitorResponse) String ¶
func (x *AddTrafficMonitorResponse) String() string
type AddTrafficTypeRequest ¶
type AddTrafficTypeRequest struct {
// the Physical Network ID
PhysicalNetworkId *int64 `protobuf:"varint,1,opt,name=physical_network_id,json=physicalNetworkId" json:"physical_network_id,omitempty"`
// the trafficType to be added to the physical network
TrafficType *string `protobuf:"bytes,2,opt,name=traffic_type,json=trafficType" json:"traffic_type,omitempty"`
// The network name label of the physical device dedicated to this traffic on a XenServer host
XenLabel *string `protobuf:"bytes,3,opt,name=xen_label,json=xenLabel" json:"xen_label,omitempty"`
// The network name label of the physical device dedicated to this traffic on a KVM host
KvmLabel *string `protobuf:"bytes,4,opt,name=kvm_label,json=kvmLabel" json:"kvm_label,omitempty"`
// The network name label of the physical device dedicated to this traffic on a VMware host
VmwareLabel *string `protobuf:"bytes,5,opt,name=vmware_label,json=vmwareLabel" json:"vmware_label,omitempty"`
// The network name label of the physical device dedicated to this traffic on a Hyperv host
HypervLabel *string `protobuf:"bytes,6,opt,name=hyperv_label,json=hypervLabel" json:"hyperv_label,omitempty"`
// The network name of the physical device dedicated to this traffic on an OVM3 host
Ovm3Label *string `protobuf:"bytes,7,opt,name=ovm3_label,json=ovm3Label" json:"ovm3_label,omitempty"`
// The VLAN id to be used for Management traffic by VMware host
Vlan *string `protobuf:"bytes,8,opt,name=vlan" json:"vlan,omitempty"`
// Used if physical network has multiple isolation types and traffic type is public. Choose which isolation method. Valid options currently 'vlan' or 'vxlan', defaults to 'vlan'.
IsolationMethod *string `protobuf:"bytes,9,opt,name=isolation_method,json=isolationMethod" json:"isolation_method,omitempty"`
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
}
AddTrafficTypeRequest represents the parameters for adds traffic type to a physical network
func (*AddTrafficTypeRequest) Descriptor
deprecated
func (*AddTrafficTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTrafficTypeRequest.ProtoReflect.Descriptor instead.
func (*AddTrafficTypeRequest) GetHypervLabel ¶
func (x *AddTrafficTypeRequest) GetHypervLabel() string
func (*AddTrafficTypeRequest) GetInjectedJobId ¶
func (x *AddTrafficTypeRequest) GetInjectedJobId() string
func (*AddTrafficTypeRequest) GetIsolationMethod ¶
func (x *AddTrafficTypeRequest) GetIsolationMethod() string
func (*AddTrafficTypeRequest) GetKvmLabel ¶
func (x *AddTrafficTypeRequest) GetKvmLabel() string
func (*AddTrafficTypeRequest) GetOvm3Label ¶
func (x *AddTrafficTypeRequest) GetOvm3Label() string
func (*AddTrafficTypeRequest) GetPhysicalNetworkId ¶
func (x *AddTrafficTypeRequest) GetPhysicalNetworkId() int64
func (*AddTrafficTypeRequest) GetResponseType ¶
func (x *AddTrafficTypeRequest) GetResponseType() string
func (*AddTrafficTypeRequest) GetStartEventId ¶
func (x *AddTrafficTypeRequest) GetStartEventId() int64
func (*AddTrafficTypeRequest) GetTrafficType ¶
func (x *AddTrafficTypeRequest) GetTrafficType() string
func (*AddTrafficTypeRequest) GetVlan ¶
func (x *AddTrafficTypeRequest) GetVlan() string
func (*AddTrafficTypeRequest) GetVmwareLabel ¶
func (x *AddTrafficTypeRequest) GetVmwareLabel() string
func (*AddTrafficTypeRequest) GetXenLabel ¶
func (x *AddTrafficTypeRequest) GetXenLabel() string
func (*AddTrafficTypeRequest) ProtoMessage ¶
func (*AddTrafficTypeRequest) ProtoMessage()
func (*AddTrafficTypeRequest) ProtoReflect ¶
func (x *AddTrafficTypeRequest) ProtoReflect() protoreflect.Message
func (*AddTrafficTypeRequest) Reset ¶
func (x *AddTrafficTypeRequest) Reset()
func (*AddTrafficTypeRequest) String ¶
func (x *AddTrafficTypeRequest) String() string
type AddTrafficTypeResponse ¶
type AddTrafficTypeResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
AddTrafficTypeResponse represents the response from adds traffic type to a physical network
func (*AddTrafficTypeResponse) Descriptor
deprecated
func (*AddTrafficTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddTrafficTypeResponse.ProtoReflect.Descriptor instead.
func (*AddTrafficTypeResponse) GetResult ¶
func (x *AddTrafficTypeResponse) GetResult() *Result
func (*AddTrafficTypeResponse) ProtoMessage ¶
func (*AddTrafficTypeResponse) ProtoMessage()
func (*AddTrafficTypeResponse) ProtoReflect ¶
func (x *AddTrafficTypeResponse) ProtoReflect() protoreflect.Message
func (*AddTrafficTypeResponse) Reset ¶
func (x *AddTrafficTypeResponse) Reset()
func (*AddTrafficTypeResponse) String ¶
func (x *AddTrafficTypeResponse) String() string
type DeleteTrafficMonitorRequest ¶
type DeleteTrafficMonitorRequest struct {
// Id of the Traffic Monitor Host.
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
}
DeleteTrafficMonitorRequest represents the parameters for deletes an traffic monitor host.
func (*DeleteTrafficMonitorRequest) Descriptor
deprecated
func (*DeleteTrafficMonitorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTrafficMonitorRequest.ProtoReflect.Descriptor instead.
func (*DeleteTrafficMonitorRequest) GetId ¶
func (x *DeleteTrafficMonitorRequest) GetId() int64
func (*DeleteTrafficMonitorRequest) GetResponseType ¶
func (x *DeleteTrafficMonitorRequest) GetResponseType() string
func (*DeleteTrafficMonitorRequest) ProtoMessage ¶
func (*DeleteTrafficMonitorRequest) ProtoMessage()
func (*DeleteTrafficMonitorRequest) ProtoReflect ¶
func (x *DeleteTrafficMonitorRequest) ProtoReflect() protoreflect.Message
func (*DeleteTrafficMonitorRequest) Reset ¶
func (x *DeleteTrafficMonitorRequest) Reset()
func (*DeleteTrafficMonitorRequest) String ¶
func (x *DeleteTrafficMonitorRequest) String() string
type DeleteTrafficMonitorResponse ¶
type DeleteTrafficMonitorResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteTrafficMonitorResponse represents the response from deletes an traffic monitor host.
func (*DeleteTrafficMonitorResponse) Descriptor
deprecated
func (*DeleteTrafficMonitorResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTrafficMonitorResponse.ProtoReflect.Descriptor instead.
func (*DeleteTrafficMonitorResponse) GetResult ¶
func (x *DeleteTrafficMonitorResponse) GetResult() *Result
func (*DeleteTrafficMonitorResponse) ProtoMessage ¶
func (*DeleteTrafficMonitorResponse) ProtoMessage()
func (*DeleteTrafficMonitorResponse) ProtoReflect ¶
func (x *DeleteTrafficMonitorResponse) ProtoReflect() protoreflect.Message
func (*DeleteTrafficMonitorResponse) Reset ¶
func (x *DeleteTrafficMonitorResponse) Reset()
func (*DeleteTrafficMonitorResponse) String ¶
func (x *DeleteTrafficMonitorResponse) String() string
type DeleteTrafficTypeRequest ¶
type DeleteTrafficTypeRequest struct {
// traffic type id
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
}
DeleteTrafficTypeRequest represents the parameters for deletes traffic type of a physical network
func (*DeleteTrafficTypeRequest) Descriptor
deprecated
func (*DeleteTrafficTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTrafficTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteTrafficTypeRequest) GetId ¶
func (x *DeleteTrafficTypeRequest) GetId() int64
func (*DeleteTrafficTypeRequest) GetInjectedJobId ¶
func (x *DeleteTrafficTypeRequest) GetInjectedJobId() string
func (*DeleteTrafficTypeRequest) GetResponseType ¶
func (x *DeleteTrafficTypeRequest) GetResponseType() string
func (*DeleteTrafficTypeRequest) GetStartEventId ¶
func (x *DeleteTrafficTypeRequest) GetStartEventId() int64
func (*DeleteTrafficTypeRequest) ProtoMessage ¶
func (*DeleteTrafficTypeRequest) ProtoMessage()
func (*DeleteTrafficTypeRequest) ProtoReflect ¶
func (x *DeleteTrafficTypeRequest) ProtoReflect() protoreflect.Message
func (*DeleteTrafficTypeRequest) Reset ¶
func (x *DeleteTrafficTypeRequest) Reset()
func (*DeleteTrafficTypeRequest) String ¶
func (x *DeleteTrafficTypeRequest) String() string
type DeleteTrafficTypeResponse ¶
type DeleteTrafficTypeResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteTrafficTypeResponse represents the response from deletes traffic type of a physical network
func (*DeleteTrafficTypeResponse) Descriptor
deprecated
func (*DeleteTrafficTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTrafficTypeResponse.ProtoReflect.Descriptor instead.
func (*DeleteTrafficTypeResponse) GetResult ¶
func (x *DeleteTrafficTypeResponse) GetResult() *Result
func (*DeleteTrafficTypeResponse) ProtoMessage ¶
func (*DeleteTrafficTypeResponse) ProtoMessage()
func (*DeleteTrafficTypeResponse) ProtoReflect ¶
func (x *DeleteTrafficTypeResponse) ProtoReflect() protoreflect.Message
func (*DeleteTrafficTypeResponse) Reset ¶
func (x *DeleteTrafficTypeResponse) Reset()
func (*DeleteTrafficTypeResponse) String ¶
func (x *DeleteTrafficTypeResponse) String() string
type GenerateUsageRecordsRequest ¶
type GenerateUsageRecordsRequest struct {
// List events for the specified domain.
DomainId *int64 `protobuf:"varint,1,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// End date range for usage record query. Use yyyy-MM-dd as the date format, e.g. startDate=2009-06-03.
EndDate *string `protobuf:"bytes,2,opt,name=end_date,json=endDate" json:"end_date,omitempty"`
// Start date range for usage record query. Use yyyy-MM-dd as the date format, e.g. startDate=2009-06-01.
StartDate *string `protobuf:"bytes,3,opt,name=start_date,json=startDate" json:"start_date,omitempty"`
ResponseType *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
GenerateUsageRecordsRequest represents the parameters for generates usage records. this will generate records only if there any records to be generated, i.e if the scheduled usage job was not run or failed
func (*GenerateUsageRecordsRequest) Descriptor
deprecated
func (*GenerateUsageRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateUsageRecordsRequest.ProtoReflect.Descriptor instead.
func (*GenerateUsageRecordsRequest) GetDomainId ¶
func (x *GenerateUsageRecordsRequest) GetDomainId() int64
func (*GenerateUsageRecordsRequest) GetEndDate ¶
func (x *GenerateUsageRecordsRequest) GetEndDate() string
func (*GenerateUsageRecordsRequest) GetResponseType ¶
func (x *GenerateUsageRecordsRequest) GetResponseType() string
func (*GenerateUsageRecordsRequest) GetStartDate ¶
func (x *GenerateUsageRecordsRequest) GetStartDate() string
func (*GenerateUsageRecordsRequest) ProtoMessage ¶
func (*GenerateUsageRecordsRequest) ProtoMessage()
func (*GenerateUsageRecordsRequest) ProtoReflect ¶
func (x *GenerateUsageRecordsRequest) ProtoReflect() protoreflect.Message
func (*GenerateUsageRecordsRequest) Reset ¶
func (x *GenerateUsageRecordsRequest) Reset()
func (*GenerateUsageRecordsRequest) String ¶
func (x *GenerateUsageRecordsRequest) String() string
type GenerateUsageRecordsResponse ¶
type GenerateUsageRecordsResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
GenerateUsageRecordsResponse represents the response from generates usage records. this will generate records only if there any records to be generated, i.e if the scheduled usage job was not run or failed
func (*GenerateUsageRecordsResponse) Descriptor
deprecated
func (*GenerateUsageRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateUsageRecordsResponse.ProtoReflect.Descriptor instead.
func (*GenerateUsageRecordsResponse) GetResult ¶
func (x *GenerateUsageRecordsResponse) GetResult() *Result
func (*GenerateUsageRecordsResponse) ProtoMessage ¶
func (*GenerateUsageRecordsResponse) ProtoMessage()
func (*GenerateUsageRecordsResponse) ProtoReflect ¶
func (x *GenerateUsageRecordsResponse) ProtoReflect() protoreflect.Message
func (*GenerateUsageRecordsResponse) Reset ¶
func (x *GenerateUsageRecordsResponse) Reset()
func (*GenerateUsageRecordsResponse) String ¶
func (x *GenerateUsageRecordsResponse) String() string
type ListTrafficMonitorsRequest ¶
type ListTrafficMonitorsRequest struct {
// 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
}
ListTrafficMonitorsRequest represents the parameters for list traffic monitor hosts.
func (*ListTrafficMonitorsRequest) Descriptor
deprecated
func (*ListTrafficMonitorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTrafficMonitorsRequest.ProtoReflect.Descriptor instead.
func (*ListTrafficMonitorsRequest) GetKeyword ¶
func (x *ListTrafficMonitorsRequest) GetKeyword() string
func (*ListTrafficMonitorsRequest) GetPage ¶
func (x *ListTrafficMonitorsRequest) GetPage() int32
func (*ListTrafficMonitorsRequest) GetPageSize ¶
func (x *ListTrafficMonitorsRequest) GetPageSize() int32
func (*ListTrafficMonitorsRequest) GetResponseType ¶
func (x *ListTrafficMonitorsRequest) GetResponseType() string
func (*ListTrafficMonitorsRequest) GetZoneId ¶
func (x *ListTrafficMonitorsRequest) GetZoneId() int64
func (*ListTrafficMonitorsRequest) ProtoMessage ¶
func (*ListTrafficMonitorsRequest) ProtoMessage()
func (*ListTrafficMonitorsRequest) ProtoReflect ¶
func (x *ListTrafficMonitorsRequest) ProtoReflect() protoreflect.Message
func (*ListTrafficMonitorsRequest) Reset ¶
func (x *ListTrafficMonitorsRequest) Reset()
func (*ListTrafficMonitorsRequest) String ¶
func (x *ListTrafficMonitorsRequest) String() string
type ListTrafficMonitorsResponse ¶
type ListTrafficMonitorsResponse struct {
// The list of TrafficMonitors
Items []*TrafficMonitor `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of TrafficMonitors
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListTrafficMonitorsResponse represents the response from list traffic monitor hosts.
func (*ListTrafficMonitorsResponse) Descriptor
deprecated
func (*ListTrafficMonitorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTrafficMonitorsResponse.ProtoReflect.Descriptor instead.
func (*ListTrafficMonitorsResponse) GetItems ¶
func (x *ListTrafficMonitorsResponse) GetItems() []*TrafficMonitor
func (*ListTrafficMonitorsResponse) GetTotalCount ¶
func (x *ListTrafficMonitorsResponse) GetTotalCount() int32
func (*ListTrafficMonitorsResponse) ProtoMessage ¶
func (*ListTrafficMonitorsResponse) ProtoMessage()
func (*ListTrafficMonitorsResponse) ProtoReflect ¶
func (x *ListTrafficMonitorsResponse) ProtoReflect() protoreflect.Message
func (*ListTrafficMonitorsResponse) Reset ¶
func (x *ListTrafficMonitorsResponse) Reset()
func (*ListTrafficMonitorsResponse) String ¶
func (x *ListTrafficMonitorsResponse) String() string
type ListTrafficTypeImplementorsRequest ¶
type ListTrafficTypeImplementorsRequest struct {
// Optional. The network traffic type, if specified, return its implementor. Otherwise, return all traffic types with their implementor
TrafficType *string `protobuf:"bytes,1,opt,name=traffic_type,json=trafficType" json:"traffic_type,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
}
ListTrafficTypeImplementorsRequest represents the parameters for lists implementors of implementor of a network traffic type or implementors of all network traffic types
func (*ListTrafficTypeImplementorsRequest) Descriptor
deprecated
func (*ListTrafficTypeImplementorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTrafficTypeImplementorsRequest.ProtoReflect.Descriptor instead.
func (*ListTrafficTypeImplementorsRequest) GetKeyword ¶
func (x *ListTrafficTypeImplementorsRequest) GetKeyword() string
func (*ListTrafficTypeImplementorsRequest) GetPage ¶
func (x *ListTrafficTypeImplementorsRequest) GetPage() int32
func (*ListTrafficTypeImplementorsRequest) GetPageSize ¶
func (x *ListTrafficTypeImplementorsRequest) GetPageSize() int32
func (*ListTrafficTypeImplementorsRequest) GetResponseType ¶
func (x *ListTrafficTypeImplementorsRequest) GetResponseType() string
func (*ListTrafficTypeImplementorsRequest) GetTrafficType ¶
func (x *ListTrafficTypeImplementorsRequest) GetTrafficType() string
func (*ListTrafficTypeImplementorsRequest) ProtoMessage ¶
func (*ListTrafficTypeImplementorsRequest) ProtoMessage()
func (*ListTrafficTypeImplementorsRequest) ProtoReflect ¶
func (x *ListTrafficTypeImplementorsRequest) ProtoReflect() protoreflect.Message
func (*ListTrafficTypeImplementorsRequest) Reset ¶
func (x *ListTrafficTypeImplementorsRequest) Reset()
func (*ListTrafficTypeImplementorsRequest) String ¶
func (x *ListTrafficTypeImplementorsRequest) String() string
type ListTrafficTypeImplementorsResponse ¶
type ListTrafficTypeImplementorsResponse struct {
// The list of TrafficTypeImplementors
Items []*TrafficTypeImplementor `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of TrafficTypeImplementors
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListTrafficTypeImplementorsResponse represents the response from lists implementors of implementor of a network traffic type or implementors of all network traffic types
func (*ListTrafficTypeImplementorsResponse) Descriptor
deprecated
func (*ListTrafficTypeImplementorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTrafficTypeImplementorsResponse.ProtoReflect.Descriptor instead.
func (*ListTrafficTypeImplementorsResponse) GetItems ¶
func (x *ListTrafficTypeImplementorsResponse) GetItems() []*TrafficTypeImplementor
func (*ListTrafficTypeImplementorsResponse) GetTotalCount ¶
func (x *ListTrafficTypeImplementorsResponse) GetTotalCount() int32
func (*ListTrafficTypeImplementorsResponse) ProtoMessage ¶
func (*ListTrafficTypeImplementorsResponse) ProtoMessage()
func (*ListTrafficTypeImplementorsResponse) ProtoReflect ¶
func (x *ListTrafficTypeImplementorsResponse) ProtoReflect() protoreflect.Message
func (*ListTrafficTypeImplementorsResponse) Reset ¶
func (x *ListTrafficTypeImplementorsResponse) Reset()
func (*ListTrafficTypeImplementorsResponse) String ¶
func (x *ListTrafficTypeImplementorsResponse) String() string
type ListTrafficTypesRequest ¶
type ListTrafficTypesRequest struct {
// the Physical Network ID
PhysicalNetworkId *int64 `protobuf:"varint,1,opt,name=physical_network_id,json=physicalNetworkId" json:"physical_network_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
}
ListTrafficTypesRequest represents the parameters for lists traffic types of a given physical network.
func (*ListTrafficTypesRequest) Descriptor
deprecated
func (*ListTrafficTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTrafficTypesRequest.ProtoReflect.Descriptor instead.
func (*ListTrafficTypesRequest) GetKeyword ¶
func (x *ListTrafficTypesRequest) GetKeyword() string
func (*ListTrafficTypesRequest) GetPage ¶
func (x *ListTrafficTypesRequest) GetPage() int32
func (*ListTrafficTypesRequest) GetPageSize ¶
func (x *ListTrafficTypesRequest) GetPageSize() int32
func (*ListTrafficTypesRequest) GetPhysicalNetworkId ¶
func (x *ListTrafficTypesRequest) GetPhysicalNetworkId() int64
func (*ListTrafficTypesRequest) GetResponseType ¶
func (x *ListTrafficTypesRequest) GetResponseType() string
func (*ListTrafficTypesRequest) ProtoMessage ¶
func (*ListTrafficTypesRequest) ProtoMessage()
func (*ListTrafficTypesRequest) ProtoReflect ¶
func (x *ListTrafficTypesRequest) ProtoReflect() protoreflect.Message
func (*ListTrafficTypesRequest) Reset ¶
func (x *ListTrafficTypesRequest) Reset()
func (*ListTrafficTypesRequest) String ¶
func (x *ListTrafficTypesRequest) String() string
type ListTrafficTypesResponse ¶
type ListTrafficTypesResponse struct {
// The list of Providers
Items []*Provider `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of Providers
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListTrafficTypesResponse represents the response from lists traffic types of a given physical network.
func (*ListTrafficTypesResponse) Descriptor
deprecated
func (*ListTrafficTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTrafficTypesResponse.ProtoReflect.Descriptor instead.
func (*ListTrafficTypesResponse) GetItems ¶
func (x *ListTrafficTypesResponse) GetItems() []*Provider
func (*ListTrafficTypesResponse) GetTotalCount ¶
func (x *ListTrafficTypesResponse) GetTotalCount() int32
func (*ListTrafficTypesResponse) ProtoMessage ¶
func (*ListTrafficTypesResponse) ProtoMessage()
func (*ListTrafficTypesResponse) ProtoReflect ¶
func (x *ListTrafficTypesResponse) ProtoReflect() protoreflect.Message
func (*ListTrafficTypesResponse) Reset ¶
func (x *ListTrafficTypesResponse) Reset()
func (*ListTrafficTypesResponse) String ¶
func (x *ListTrafficTypesResponse) String() string
type ListUsageRecordsRequest ¶
type ListUsageRecordsRequest struct {
// List usage records for the specified user.
AccountName *string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
// List usage records for the specified domain.
DomainId *int64 `protobuf:"varint,2,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// End date range for usage record query. The recommended format is "yyyy-MM-dd'T'HH:mm:ssZ" (e.g.: "2023-01-01T12:00:00+0100"); however, the following formats are also accepted: "yyyy-MM-dd HH:mm:ss" (e.g.: "2023-01-01 12:00:00") and "yyyy-MM-dd" (e.g.: "2023-01-01" - if the time is not added, it will be interpreted as "23:59:59"). If the recommended format is not used, the date will be considered in the server timezone.
EndDate *string `protobuf:"bytes,3,opt,name=end_date,json=endDate" json:"end_date,omitempty"`
// Start date range for usage record query. The recommended format is "yyyy-MM-dd'T'HH:mm:ssZ" (e.g.: "2023-01-01T12:00:00+0100"); however, the following formats are also accepted: "yyyy-MM-dd HH:mm:ss" (e.g.: "2023-01-01 12:00:00") and "yyyy-MM-dd" (e.g.: "2023-01-01" - if the time is not added, it will be interpreted as "00:00:00"). If the recommended format is not used, the date will be considered in the server timezone.
StartDate *string `protobuf:"bytes,4,opt,name=start_date,json=startDate" json:"start_date,omitempty"`
// List usage records for the specified account
AccountId *int64 `protobuf:"varint,5,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
// List usage records for specified project
ProjectId *int64 `protobuf:"varint,6,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// List usage records for the specified usage type
UsageType *int64 `protobuf:"varint,7,opt,name=usage_type,json=usageType" json:"usage_type,omitempty"`
// List usage records for the specified usage UUID. Can be used only together with TYPE parameter.
UsageId *string `protobuf:"bytes,8,opt,name=usage_id,json=usageId" json:"usage_id,omitempty"`
// Flag to enable display of Tags for a resource
IncludeTags *bool `protobuf:"varint,9,opt,name=include_tags,json=includeTags" json:"include_tags,omitempty"`
// Flag to enable description rendered in old format which uses internal database IDs instead of UUIDs. False by default.
OldFormat *bool `protobuf:"varint,10,opt,name=old_format,json=oldFormat" json:"old_format,omitempty"`
// Specify if usage records should be fetched recursively per domain. If an account id is passed, records will be limited to that account.
Recursive *bool `protobuf:"varint,11,opt,name=recursive" json:"recursive,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,12,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,13,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,14,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,15,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListUsageRecordsRequest represents the parameters for lists usage records for accounts
func (*ListUsageRecordsRequest) Descriptor
deprecated
func (*ListUsageRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsageRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListUsageRecordsRequest) GetAccountId ¶
func (x *ListUsageRecordsRequest) GetAccountId() int64
func (*ListUsageRecordsRequest) GetAccountName ¶
func (x *ListUsageRecordsRequest) GetAccountName() string
func (*ListUsageRecordsRequest) GetDomainId ¶
func (x *ListUsageRecordsRequest) GetDomainId() int64
func (*ListUsageRecordsRequest) GetEndDate ¶
func (x *ListUsageRecordsRequest) GetEndDate() string
func (*ListUsageRecordsRequest) GetIncludeTags ¶
func (x *ListUsageRecordsRequest) GetIncludeTags() bool
func (*ListUsageRecordsRequest) GetKeyword ¶
func (x *ListUsageRecordsRequest) GetKeyword() string
func (*ListUsageRecordsRequest) GetOldFormat ¶
func (x *ListUsageRecordsRequest) GetOldFormat() bool
func (*ListUsageRecordsRequest) GetPage ¶
func (x *ListUsageRecordsRequest) GetPage() int32
func (*ListUsageRecordsRequest) GetPageSize ¶
func (x *ListUsageRecordsRequest) GetPageSize() int32
func (*ListUsageRecordsRequest) GetProjectId ¶
func (x *ListUsageRecordsRequest) GetProjectId() int64
func (*ListUsageRecordsRequest) GetRecursive ¶
func (x *ListUsageRecordsRequest) GetRecursive() bool
func (*ListUsageRecordsRequest) GetResponseType ¶
func (x *ListUsageRecordsRequest) GetResponseType() string
func (*ListUsageRecordsRequest) GetStartDate ¶
func (x *ListUsageRecordsRequest) GetStartDate() string
func (*ListUsageRecordsRequest) GetUsageId ¶
func (x *ListUsageRecordsRequest) GetUsageId() string
func (*ListUsageRecordsRequest) GetUsageType ¶
func (x *ListUsageRecordsRequest) GetUsageType() int64
func (*ListUsageRecordsRequest) ProtoMessage ¶
func (*ListUsageRecordsRequest) ProtoMessage()
func (*ListUsageRecordsRequest) ProtoReflect ¶
func (x *ListUsageRecordsRequest) ProtoReflect() protoreflect.Message
func (*ListUsageRecordsRequest) Reset ¶
func (x *ListUsageRecordsRequest) Reset()
func (*ListUsageRecordsRequest) String ¶
func (x *ListUsageRecordsRequest) String() string
type ListUsageRecordsResponse ¶
type ListUsageRecordsResponse struct {
// The list of UsageRecords
Items []*UsageRecord `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of UsageRecords
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListUsageRecordsResponse represents the response from lists usage records for accounts
func (*ListUsageRecordsResponse) Descriptor
deprecated
func (*ListUsageRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsageRecordsResponse.ProtoReflect.Descriptor instead.
func (*ListUsageRecordsResponse) GetItems ¶
func (x *ListUsageRecordsResponse) GetItems() []*UsageRecord
func (*ListUsageRecordsResponse) GetTotalCount ¶
func (x *ListUsageRecordsResponse) GetTotalCount() int32
func (*ListUsageRecordsResponse) ProtoMessage ¶
func (*ListUsageRecordsResponse) ProtoMessage()
func (*ListUsageRecordsResponse) ProtoReflect ¶
func (x *ListUsageRecordsResponse) ProtoReflect() protoreflect.Message
func (*ListUsageRecordsResponse) Reset ¶
func (x *ListUsageRecordsResponse) Reset()
func (*ListUsageRecordsResponse) String ¶
func (x *ListUsageRecordsResponse) String() string
type ListUsageTypesRequest ¶
type ListUsageTypesRequest struct {
ResponseType *string `protobuf:"bytes,1,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListUsageTypesRequest represents the parameters for list usage types
func (*ListUsageTypesRequest) Descriptor
deprecated
func (*ListUsageTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsageTypesRequest.ProtoReflect.Descriptor instead.
func (*ListUsageTypesRequest) GetResponseType ¶
func (x *ListUsageTypesRequest) GetResponseType() string
func (*ListUsageTypesRequest) ProtoMessage ¶
func (*ListUsageTypesRequest) ProtoMessage()
func (*ListUsageTypesRequest) ProtoReflect ¶
func (x *ListUsageTypesRequest) ProtoReflect() protoreflect.Message
func (*ListUsageTypesRequest) Reset ¶
func (x *ListUsageTypesRequest) Reset()
func (*ListUsageTypesRequest) String ¶
func (x *ListUsageTypesRequest) String() string
type ListUsageTypesResponse ¶
type ListUsageTypesResponse struct {
// The list of UsageTypes
Items []*UsageType `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of UsageTypes
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListUsageTypesResponse represents the response from list usage types
func (*ListUsageTypesResponse) Descriptor
deprecated
func (*ListUsageTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsageTypesResponse.ProtoReflect.Descriptor instead.
func (*ListUsageTypesResponse) GetItems ¶
func (x *ListUsageTypesResponse) GetItems() []*UsageType
func (*ListUsageTypesResponse) GetTotalCount ¶
func (x *ListUsageTypesResponse) GetTotalCount() int32
func (*ListUsageTypesResponse) ProtoMessage ¶
func (*ListUsageTypesResponse) ProtoMessage()
func (*ListUsageTypesResponse) ProtoReflect ¶
func (x *ListUsageTypesResponse) ProtoReflect() protoreflect.Message
func (*ListUsageTypesResponse) Reset ¶
func (x *ListUsageTypesResponse) Reset()
func (*ListUsageTypesResponse) String ¶
func (x *ListUsageTypesResponse) String() string
type Provider ¶
type Provider struct {
// The ID of the Provider
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the Provider
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the Provider
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the Provider
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
}
Provider represents a Provider Item
func (*Provider) Descriptor
deprecated
func (*Provider) GetCreated ¶
func (*Provider) GetDescription ¶
func (*Provider) GetDisplayName ¶
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶
func (x *Provider) ProtoReflect() protoreflect.Message
type RemoveRawUsageRecordsRequest ¶
type RemoveRawUsageRecordsRequest struct {
// Specify the number of days (greater than zero) to remove records that are older than those number of days from today. For example, specifying 10 would result in removing all the records created before 10 days from today
Interval *int32 `protobuf:"varint,1,opt,name=interval" json:"interval,omitempty"`
ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
RemoveRawUsageRecordsRequest represents the parameters for safely removes raw records from cloud_usage table
func (*RemoveRawUsageRecordsRequest) Descriptor
deprecated
func (*RemoveRawUsageRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRawUsageRecordsRequest.ProtoReflect.Descriptor instead.
func (*RemoveRawUsageRecordsRequest) GetInterval ¶
func (x *RemoveRawUsageRecordsRequest) GetInterval() int32
func (*RemoveRawUsageRecordsRequest) GetResponseType ¶
func (x *RemoveRawUsageRecordsRequest) GetResponseType() string
func (*RemoveRawUsageRecordsRequest) ProtoMessage ¶
func (*RemoveRawUsageRecordsRequest) ProtoMessage()
func (*RemoveRawUsageRecordsRequest) ProtoReflect ¶
func (x *RemoveRawUsageRecordsRequest) ProtoReflect() protoreflect.Message
func (*RemoveRawUsageRecordsRequest) Reset ¶
func (x *RemoveRawUsageRecordsRequest) Reset()
func (*RemoveRawUsageRecordsRequest) String ¶
func (x *RemoveRawUsageRecordsRequest) String() string
type RemoveRawUsageRecordsResponse ¶
type RemoveRawUsageRecordsResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
RemoveRawUsageRecordsResponse represents the response from safely removes raw records from cloud_usage table
func (*RemoveRawUsageRecordsResponse) Descriptor
deprecated
func (*RemoveRawUsageRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRawUsageRecordsResponse.ProtoReflect.Descriptor instead.
func (*RemoveRawUsageRecordsResponse) GetResult ¶
func (x *RemoveRawUsageRecordsResponse) GetResult() *Result
func (*RemoveRawUsageRecordsResponse) ProtoMessage ¶
func (*RemoveRawUsageRecordsResponse) ProtoMessage()
func (*RemoveRawUsageRecordsResponse) ProtoReflect ¶
func (x *RemoveRawUsageRecordsResponse) ProtoReflect() protoreflect.Message
func (*RemoveRawUsageRecordsResponse) Reset ¶
func (x *RemoveRawUsageRecordsResponse) Reset()
func (*RemoveRawUsageRecordsResponse) String ¶
func (x *RemoveRawUsageRecordsResponse) 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 TrafficMonitor ¶
type TrafficMonitor struct {
// The ID of the TrafficMonitor
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the TrafficMonitor
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the TrafficMonitor
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the TrafficMonitor
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
}
TrafficMonitor represents a TrafficMonitor Item
func (*TrafficMonitor) Descriptor
deprecated
func (*TrafficMonitor) Descriptor() ([]byte, []int)
Deprecated: Use TrafficMonitor.ProtoReflect.Descriptor instead.
func (*TrafficMonitor) GetCreated ¶
func (x *TrafficMonitor) GetCreated() string
func (*TrafficMonitor) GetDescription ¶
func (x *TrafficMonitor) GetDescription() string
func (*TrafficMonitor) GetDisplayName ¶
func (x *TrafficMonitor) GetDisplayName() string
func (*TrafficMonitor) GetId ¶
func (x *TrafficMonitor) GetId() string
func (*TrafficMonitor) GetName ¶
func (x *TrafficMonitor) GetName() string
func (*TrafficMonitor) ProtoMessage ¶
func (*TrafficMonitor) ProtoMessage()
func (*TrafficMonitor) ProtoReflect ¶
func (x *TrafficMonitor) ProtoReflect() protoreflect.Message
func (*TrafficMonitor) Reset ¶
func (x *TrafficMonitor) Reset()
func (*TrafficMonitor) String ¶
func (x *TrafficMonitor) String() string
type TrafficTypeImplementor ¶
type TrafficTypeImplementor struct {
// The ID of the TrafficTypeImplementor
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the TrafficTypeImplementor
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the TrafficTypeImplementor
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the TrafficTypeImplementor
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
}
TrafficTypeImplementor represents a TrafficTypeImplementor Item
func (*TrafficTypeImplementor) Descriptor
deprecated
func (*TrafficTypeImplementor) Descriptor() ([]byte, []int)
Deprecated: Use TrafficTypeImplementor.ProtoReflect.Descriptor instead.
func (*TrafficTypeImplementor) GetCreated ¶
func (x *TrafficTypeImplementor) GetCreated() string
func (*TrafficTypeImplementor) GetDescription ¶
func (x *TrafficTypeImplementor) GetDescription() string
func (*TrafficTypeImplementor) GetDisplayName ¶
func (x *TrafficTypeImplementor) GetDisplayName() string
func (*TrafficTypeImplementor) GetId ¶
func (x *TrafficTypeImplementor) GetId() string
func (*TrafficTypeImplementor) GetName ¶
func (x *TrafficTypeImplementor) GetName() string
func (*TrafficTypeImplementor) ProtoMessage ¶
func (*TrafficTypeImplementor) ProtoMessage()
func (*TrafficTypeImplementor) ProtoReflect ¶
func (x *TrafficTypeImplementor) ProtoReflect() protoreflect.Message
func (*TrafficTypeImplementor) Reset ¶
func (x *TrafficTypeImplementor) Reset()
func (*TrafficTypeImplementor) String ¶
func (x *TrafficTypeImplementor) String() string
type UnimplementedUsageServiceServer ¶
type UnimplementedUsageServiceServer struct{}
UnimplementedUsageServiceServer 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 (UnimplementedUsageServiceServer) AddTrafficMonitor ¶
func (UnimplementedUsageServiceServer) AddTrafficMonitor(context.Context, *AddTrafficMonitorRequest) (*AddTrafficMonitorResponse, error)
func (UnimplementedUsageServiceServer) AddTrafficType ¶
func (UnimplementedUsageServiceServer) AddTrafficType(context.Context, *AddTrafficTypeRequest) (*AddTrafficTypeResponse, error)
func (UnimplementedUsageServiceServer) DeleteTrafficMonitor ¶
func (UnimplementedUsageServiceServer) DeleteTrafficMonitor(context.Context, *DeleteTrafficMonitorRequest) (*DeleteTrafficMonitorResponse, error)
func (UnimplementedUsageServiceServer) DeleteTrafficType ¶
func (UnimplementedUsageServiceServer) DeleteTrafficType(context.Context, *DeleteTrafficTypeRequest) (*DeleteTrafficTypeResponse, error)
func (UnimplementedUsageServiceServer) GenerateUsageRecords ¶
func (UnimplementedUsageServiceServer) GenerateUsageRecords(context.Context, *GenerateUsageRecordsRequest) (*GenerateUsageRecordsResponse, error)
func (UnimplementedUsageServiceServer) ListTrafficMonitors ¶
func (UnimplementedUsageServiceServer) ListTrafficMonitors(context.Context, *ListTrafficMonitorsRequest) (*ListTrafficMonitorsResponse, error)
func (UnimplementedUsageServiceServer) ListTrafficTypeImplementors ¶
func (UnimplementedUsageServiceServer) ListTrafficTypeImplementors(context.Context, *ListTrafficTypeImplementorsRequest) (*ListTrafficTypeImplementorsResponse, error)
func (UnimplementedUsageServiceServer) ListTrafficTypes ¶
func (UnimplementedUsageServiceServer) ListTrafficTypes(context.Context, *ListTrafficTypesRequest) (*ListTrafficTypesResponse, error)
func (UnimplementedUsageServiceServer) ListUsageRecords ¶
func (UnimplementedUsageServiceServer) ListUsageRecords(context.Context, *ListUsageRecordsRequest) (*ListUsageRecordsResponse, error)
func (UnimplementedUsageServiceServer) ListUsageTypes ¶
func (UnimplementedUsageServiceServer) ListUsageTypes(context.Context, *ListUsageTypesRequest) (*ListUsageTypesResponse, error)
func (UnimplementedUsageServiceServer) RemoveRawUsageRecords ¶
func (UnimplementedUsageServiceServer) RemoveRawUsageRecords(context.Context, *RemoveRawUsageRecordsRequest) (*RemoveRawUsageRecordsResponse, error)
func (UnimplementedUsageServiceServer) UpdateTrafficType ¶
func (UnimplementedUsageServiceServer) UpdateTrafficType(context.Context, *UpdateTrafficTypeRequest) (*UpdateTrafficTypeResponse, error)
type UnsafeUsageServiceServer ¶
type UnsafeUsageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUsageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsageServiceServer will result in compilation errors.
type UpdateTrafficTypeRequest ¶
type UpdateTrafficTypeRequest struct {
// traffic type id
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// The network name label of the physical device dedicated to this traffic on a XenServer host
XenLabel *string `protobuf:"bytes,2,opt,name=xen_label,json=xenLabel" json:"xen_label,omitempty"`
// The network name label of the physical device dedicated to this traffic on a KVM host
KvmLabel *string `protobuf:"bytes,3,opt,name=kvm_label,json=kvmLabel" json:"kvm_label,omitempty"`
// The network name label of the physical device dedicated to this traffic on a VMware host
VmwareLabel *string `protobuf:"bytes,4,opt,name=vmware_label,json=vmwareLabel" json:"vmware_label,omitempty"`
// The network name label of the physical device dedicated to this traffic on a Hyperv host
HypervLabel *string `protobuf:"bytes,5,opt,name=hyperv_label,json=hypervLabel" json:"hyperv_label,omitempty"`
// The network name of the physical device dedicated to this traffic on an OVM3 host
Ovm3Label *string `protobuf:"bytes,6,opt,name=ovm3_label,json=ovm3Label" json:"ovm3_label,omitempty"`
StartEventId *int64 `protobuf:"varint,7,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
InjectedJobId *string `protobuf:"bytes,8,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
ResponseType *string `protobuf:"bytes,9,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UpdateTrafficTypeRequest represents the parameters for updates traffic type of a physical network
func (*UpdateTrafficTypeRequest) Descriptor
deprecated
func (*UpdateTrafficTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTrafficTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateTrafficTypeRequest) GetHypervLabel ¶
func (x *UpdateTrafficTypeRequest) GetHypervLabel() string
func (*UpdateTrafficTypeRequest) GetId ¶
func (x *UpdateTrafficTypeRequest) GetId() int64
func (*UpdateTrafficTypeRequest) GetInjectedJobId ¶
func (x *UpdateTrafficTypeRequest) GetInjectedJobId() string
func (*UpdateTrafficTypeRequest) GetKvmLabel ¶
func (x *UpdateTrafficTypeRequest) GetKvmLabel() string
func (*UpdateTrafficTypeRequest) GetOvm3Label ¶
func (x *UpdateTrafficTypeRequest) GetOvm3Label() string
func (*UpdateTrafficTypeRequest) GetResponseType ¶
func (x *UpdateTrafficTypeRequest) GetResponseType() string
func (*UpdateTrafficTypeRequest) GetStartEventId ¶
func (x *UpdateTrafficTypeRequest) GetStartEventId() int64
func (*UpdateTrafficTypeRequest) GetVmwareLabel ¶
func (x *UpdateTrafficTypeRequest) GetVmwareLabel() string
func (*UpdateTrafficTypeRequest) GetXenLabel ¶
func (x *UpdateTrafficTypeRequest) GetXenLabel() string
func (*UpdateTrafficTypeRequest) ProtoMessage ¶
func (*UpdateTrafficTypeRequest) ProtoMessage()
func (*UpdateTrafficTypeRequest) ProtoReflect ¶
func (x *UpdateTrafficTypeRequest) ProtoReflect() protoreflect.Message
func (*UpdateTrafficTypeRequest) Reset ¶
func (x *UpdateTrafficTypeRequest) Reset()
func (*UpdateTrafficTypeRequest) String ¶
func (x *UpdateTrafficTypeRequest) String() string
type UpdateTrafficTypeResponse ¶
type UpdateTrafficTypeResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UpdateTrafficTypeResponse represents the response from updates traffic type of a physical network
func (*UpdateTrafficTypeResponse) Descriptor
deprecated
func (*UpdateTrafficTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTrafficTypeResponse.ProtoReflect.Descriptor instead.
func (*UpdateTrafficTypeResponse) GetResult ¶
func (x *UpdateTrafficTypeResponse) GetResult() *Result
func (*UpdateTrafficTypeResponse) ProtoMessage ¶
func (*UpdateTrafficTypeResponse) ProtoMessage()
func (*UpdateTrafficTypeResponse) ProtoReflect ¶
func (x *UpdateTrafficTypeResponse) ProtoReflect() protoreflect.Message
func (*UpdateTrafficTypeResponse) Reset ¶
func (x *UpdateTrafficTypeResponse) Reset()
func (*UpdateTrafficTypeResponse) String ¶
func (x *UpdateTrafficTypeResponse) String() string
type UsageRecord ¶
type UsageRecord struct {
// The ID of the UsageRecord
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the UsageRecord
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the UsageRecord
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the UsageRecord
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
}
UsageRecord represents a UsageRecord Item
func (*UsageRecord) Descriptor
deprecated
func (*UsageRecord) Descriptor() ([]byte, []int)
Deprecated: Use UsageRecord.ProtoReflect.Descriptor instead.
func (*UsageRecord) GetCreated ¶
func (x *UsageRecord) GetCreated() string
func (*UsageRecord) GetDescription ¶
func (x *UsageRecord) GetDescription() string
func (*UsageRecord) GetDisplayName ¶
func (x *UsageRecord) GetDisplayName() string
func (*UsageRecord) GetId ¶
func (x *UsageRecord) GetId() string
func (*UsageRecord) GetName ¶
func (x *UsageRecord) GetName() string
func (*UsageRecord) ProtoMessage ¶
func (*UsageRecord) ProtoMessage()
func (*UsageRecord) ProtoReflect ¶
func (x *UsageRecord) ProtoReflect() protoreflect.Message
func (*UsageRecord) Reset ¶
func (x *UsageRecord) Reset()
func (*UsageRecord) String ¶
func (x *UsageRecord) String() string
type UsageServiceClient ¶
type UsageServiceClient interface {
// AddTrafficMonitor Adds Traffic Monitor Host for Direct Network Usage
AddTrafficMonitor(ctx context.Context, in *AddTrafficMonitorRequest, opts ...grpc.CallOption) (*AddTrafficMonitorResponse, error)
// AddTrafficType Adds traffic type to a physical network
AddTrafficType(ctx context.Context, in *AddTrafficTypeRequest, opts ...grpc.CallOption) (*AddTrafficTypeResponse, error)
// DeleteTrafficMonitor Deletes an traffic monitor host.
DeleteTrafficMonitor(ctx context.Context, in *DeleteTrafficMonitorRequest, opts ...grpc.CallOption) (*DeleteTrafficMonitorResponse, error)
// DeleteTrafficType Deletes traffic type of a physical network
DeleteTrafficType(ctx context.Context, in *DeleteTrafficTypeRequest, opts ...grpc.CallOption) (*DeleteTrafficTypeResponse, error)
// GenerateUsageRecords Generates usage records. This will generate records only if there any records to be generated, i.e if the scheduled usage job was not run or failed
GenerateUsageRecords(ctx context.Context, in *GenerateUsageRecordsRequest, opts ...grpc.CallOption) (*GenerateUsageRecordsResponse, error)
// ListTrafficMonitors List traffic monitor Hosts.
ListTrafficMonitors(ctx context.Context, in *ListTrafficMonitorsRequest, opts ...grpc.CallOption) (*ListTrafficMonitorsResponse, error)
// ListTrafficTypeImplementors Lists implementors of implementor of a network traffic type or implementors of all network traffic types
ListTrafficTypeImplementors(ctx context.Context, in *ListTrafficTypeImplementorsRequest, opts ...grpc.CallOption) (*ListTrafficTypeImplementorsResponse, error)
// ListTrafficTypes Lists traffic types of a given physical network.
ListTrafficTypes(ctx context.Context, in *ListTrafficTypesRequest, opts ...grpc.CallOption) (*ListTrafficTypesResponse, error)
// ListUsageRecords Lists usage records for accounts
ListUsageRecords(ctx context.Context, in *ListUsageRecordsRequest, opts ...grpc.CallOption) (*ListUsageRecordsResponse, error)
// ListUsageTypes List Usage Types
ListUsageTypes(ctx context.Context, in *ListUsageTypesRequest, opts ...grpc.CallOption) (*ListUsageTypesResponse, error)
// RemoveRawUsageRecords Safely removes raw records from cloud_usage table
RemoveRawUsageRecords(ctx context.Context, in *RemoveRawUsageRecordsRequest, opts ...grpc.CallOption) (*RemoveRawUsageRecordsResponse, error)
// UpdateTrafficType Updates traffic type of a physical network
UpdateTrafficType(ctx context.Context, in *UpdateTrafficTypeRequest, opts ...grpc.CallOption) (*UpdateTrafficTypeResponse, error)
}
UsageServiceClient is the client API for UsageService 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.
UsageService provides operations for managing Usages
func NewUsageServiceClient ¶
func NewUsageServiceClient(cc grpc.ClientConnInterface) UsageServiceClient
type UsageServiceServer ¶
type UsageServiceServer interface {
// AddTrafficMonitor Adds Traffic Monitor Host for Direct Network Usage
AddTrafficMonitor(context.Context, *AddTrafficMonitorRequest) (*AddTrafficMonitorResponse, error)
// AddTrafficType Adds traffic type to a physical network
AddTrafficType(context.Context, *AddTrafficTypeRequest) (*AddTrafficTypeResponse, error)
// DeleteTrafficMonitor Deletes an traffic monitor host.
DeleteTrafficMonitor(context.Context, *DeleteTrafficMonitorRequest) (*DeleteTrafficMonitorResponse, error)
// DeleteTrafficType Deletes traffic type of a physical network
DeleteTrafficType(context.Context, *DeleteTrafficTypeRequest) (*DeleteTrafficTypeResponse, error)
// GenerateUsageRecords Generates usage records. This will generate records only if there any records to be generated, i.e if the scheduled usage job was not run or failed
GenerateUsageRecords(context.Context, *GenerateUsageRecordsRequest) (*GenerateUsageRecordsResponse, error)
// ListTrafficMonitors List traffic monitor Hosts.
ListTrafficMonitors(context.Context, *ListTrafficMonitorsRequest) (*ListTrafficMonitorsResponse, error)
// ListTrafficTypeImplementors Lists implementors of implementor of a network traffic type or implementors of all network traffic types
ListTrafficTypeImplementors(context.Context, *ListTrafficTypeImplementorsRequest) (*ListTrafficTypeImplementorsResponse, error)
// ListTrafficTypes Lists traffic types of a given physical network.
ListTrafficTypes(context.Context, *ListTrafficTypesRequest) (*ListTrafficTypesResponse, error)
// ListUsageRecords Lists usage records for accounts
ListUsageRecords(context.Context, *ListUsageRecordsRequest) (*ListUsageRecordsResponse, error)
// ListUsageTypes List Usage Types
ListUsageTypes(context.Context, *ListUsageTypesRequest) (*ListUsageTypesResponse, error)
// RemoveRawUsageRecords Safely removes raw records from cloud_usage table
RemoveRawUsageRecords(context.Context, *RemoveRawUsageRecordsRequest) (*RemoveRawUsageRecordsResponse, error)
// UpdateTrafficType Updates traffic type of a physical network
UpdateTrafficType(context.Context, *UpdateTrafficTypeRequest) (*UpdateTrafficTypeResponse, error)
// contains filtered or unexported methods
}
UsageServiceServer is the server API for UsageService service. All implementations must embed UnimplementedUsageServiceServer for forward compatibility.
UsageService provides operations for managing Usages
type UsageType ¶
type UsageType struct {
// The ID of the UsageType
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the UsageType
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the UsageType
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the UsageType
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
}
UsageType represents a UsageType Item
func (*UsageType) Descriptor
deprecated
func (*UsageType) GetCreated ¶
func (*UsageType) GetDescription ¶
func (*UsageType) GetDisplayName ¶
func (*UsageType) ProtoMessage ¶
func (*UsageType) ProtoMessage()
func (*UsageType) ProtoReflect ¶
func (x *UsageType) ProtoReflect() protoreflect.Message