usagev1

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

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

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

Documentation

Index

Constants

View Source
const (
	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

View Source
var File_cloudstack_management_usage_v1_usage_gen_proto protoreflect.FileDescriptor
View Source
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 (*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 (*DeleteTrafficMonitorRequest) GetResponseType

func (x *DeleteTrafficMonitorRequest) GetResponseType() string

func (*DeleteTrafficMonitorRequest) ProtoMessage

func (*DeleteTrafficMonitorRequest) ProtoMessage()

func (*DeleteTrafficMonitorRequest) ProtoReflect

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 (*DeleteTrafficMonitorResponse) Reset

func (x *DeleteTrafficMonitorResponse) Reset()

func (*DeleteTrafficMonitorResponse) 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 (*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 (*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 (*GenerateUsageRecordsResponse) Reset

func (x *GenerateUsageRecordsResponse) Reset()

func (*GenerateUsageRecordsResponse) 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 (*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 (*ListTrafficMonitorsResponse) GetTotalCount

func (x *ListTrafficMonitorsResponse) GetTotalCount() int32

func (*ListTrafficMonitorsResponse) ProtoMessage

func (*ListTrafficMonitorsResponse) ProtoMessage()

func (*ListTrafficMonitorsResponse) ProtoReflect

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 (*ListTrafficTypeImplementorsRequest) GetPage

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 (*ListTrafficTypeImplementorsRequest) Reset

func (*ListTrafficTypeImplementorsRequest) 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 (*ListTrafficTypeImplementorsResponse) GetTotalCount

func (x *ListTrafficTypeImplementorsResponse) GetTotalCount() int32

func (*ListTrafficTypeImplementorsResponse) ProtoMessage

func (*ListTrafficTypeImplementorsResponse) ProtoMessage()

func (*ListTrafficTypeImplementorsResponse) ProtoReflect

func (*ListTrafficTypeImplementorsResponse) Reset

func (*ListTrafficTypeImplementorsResponse) 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) Descriptor() ([]byte, []int)

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) GetCreated

func (x *Provider) GetCreated() string

func (*Provider) GetDescription

func (x *Provider) GetDescription() string

func (*Provider) GetDisplayName

func (x *Provider) GetDisplayName() string

func (*Provider) GetId

func (x *Provider) GetId() string

func (*Provider) GetName

func (x *Provider) GetName() string

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) ProtoReflect

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

func (*Provider) Reset

func (x *Provider) Reset()

func (*Provider) String

func (x *Provider) String() string

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 (*RemoveRawUsageRecordsRequest) Reset

func (x *RemoveRawUsageRecordsRequest) Reset()

func (*RemoveRawUsageRecordsRequest) 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 (*RemoveRawUsageRecordsResponse) Reset

func (x *RemoveRawUsageRecordsResponse) Reset()

func (*RemoveRawUsageRecordsResponse) String

type Result

type Result struct {

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

Result represents a generic operation result

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDisplayText

func (x *Result) GetDisplayText() string

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetJobId

func (x *Result) GetJobId() string

func (*Result) GetJobStatus

func (x *Result) GetJobStatus() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type Success

type Success struct {

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

Success represents a Success Operation Response

func (*Success) Descriptor deprecated

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

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetDisplayText

func (x *Success) GetDisplayText() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

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

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type 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) AddTrafficType

func (UnimplementedUsageServiceServer) DeleteTrafficType

func (UnimplementedUsageServiceServer) ListTrafficTypes

func (UnimplementedUsageServiceServer) ListUsageRecords

func (UnimplementedUsageServiceServer) ListUsageTypes

func (UnimplementedUsageServiceServer) UpdateTrafficType

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 (*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

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) Descriptor() ([]byte, []int)

Deprecated: Use UsageType.ProtoReflect.Descriptor instead.

func (*UsageType) GetCreated

func (x *UsageType) GetCreated() string

func (*UsageType) GetDescription

func (x *UsageType) GetDescription() string

func (*UsageType) GetDisplayName

func (x *UsageType) GetDisplayName() string

func (*UsageType) GetId

func (x *UsageType) GetId() string

func (*UsageType) GetName

func (x *UsageType) GetName() string

func (*UsageType) ProtoMessage

func (*UsageType) ProtoMessage()

func (*UsageType) ProtoReflect

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

func (*UsageType) Reset

func (x *UsageType) Reset()

func (*UsageType) String

func (x *UsageType) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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