Documentation ¶
Index ¶
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ListByApiCompleteResult
- type ListByApiOperationOptions
- type ListByApiOperationResponse
- type ListByGeoCompleteResult
- type ListByGeoOperationOptions
- type ListByGeoOperationResponse
- type ListByOperationCompleteResult
- type ListByOperationOperationOptions
- type ListByOperationOperationResponse
- type ListByProductCompleteResult
- type ListByProductOperationOptions
- type ListByProductOperationResponse
- type ListByRequestOperationOptions
- type ListByRequestOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type ListByTimeCompleteResult
- type ListByTimeOperationOptions
- type ListByTimeOperationResponse
- type ListByUserCompleteResult
- type ListByUserOperationOptions
- type ListByUserOperationResponse
- type ReportRecordContract
- type ReportRecordContractOperationPredicate
- type ReportsClient
- func (c ReportsClient) ListByApi(ctx context.Context, id ServiceId, options ListByApiOperationOptions) (resp ListByApiOperationResponse, err error)
- func (c ReportsClient) ListByApiComplete(ctx context.Context, id ServiceId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
- func (c ReportsClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByApiOperationOptions, ...) (resp ListByApiCompleteResult, err error)
- func (c ReportsClient) ListByGeo(ctx context.Context, id ServiceId, options ListByGeoOperationOptions) (resp ListByGeoOperationResponse, err error)
- func (c ReportsClient) ListByGeoComplete(ctx context.Context, id ServiceId, options ListByGeoOperationOptions) (ListByGeoCompleteResult, error)
- func (c ReportsClient) ListByGeoCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByGeoOperationOptions, ...) (resp ListByGeoCompleteResult, err error)
- func (c ReportsClient) ListByOperation(ctx context.Context, id ServiceId, options ListByOperationOperationOptions) (resp ListByOperationOperationResponse, err error)
- func (c ReportsClient) ListByOperationComplete(ctx context.Context, id ServiceId, options ListByOperationOperationOptions) (ListByOperationCompleteResult, error)
- func (c ReportsClient) ListByOperationCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByOperationOperationOptions, ...) (resp ListByOperationCompleteResult, err error)
- func (c ReportsClient) ListByProduct(ctx context.Context, id ServiceId, options ListByProductOperationOptions) (resp ListByProductOperationResponse, err error)
- func (c ReportsClient) ListByProductComplete(ctx context.Context, id ServiceId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
- func (c ReportsClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByProductOperationOptions, ...) (resp ListByProductCompleteResult, err error)
- func (c ReportsClient) ListByRequest(ctx context.Context, id ServiceId, options ListByRequestOperationOptions) (result ListByRequestOperationResponse, err error)
- func (c ReportsClient) ListBySubscription(ctx context.Context, id ServiceId, options ListBySubscriptionOperationOptions) (resp ListBySubscriptionOperationResponse, err error)
- func (c ReportsClient) ListBySubscriptionComplete(ctx context.Context, id ServiceId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
- func (c ReportsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListBySubscriptionOperationOptions, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c ReportsClient) ListByTime(ctx context.Context, id ServiceId, options ListByTimeOperationOptions) (resp ListByTimeOperationResponse, err error)
- func (c ReportsClient) ListByTimeComplete(ctx context.Context, id ServiceId, options ListByTimeOperationOptions) (ListByTimeCompleteResult, error)
- func (c ReportsClient) ListByTimeCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByTimeOperationOptions, ...) (resp ListByTimeCompleteResult, err error)
- func (c ReportsClient) ListByUser(ctx context.Context, id ServiceId, options ListByUserOperationOptions) (resp ListByUserOperationResponse, err error)
- func (c ReportsClient) ListByUserComplete(ctx context.Context, id ServiceId, options ListByUserOperationOptions) (ListByUserCompleteResult, error)
- func (c ReportsClient) ListByUserCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByUserOperationOptions, ...) (resp ListByUserCompleteResult, err error)
- type RequestReportCollection
- type RequestReportRecordContract
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type ListByApiCompleteResult ¶
type ListByApiCompleteResult struct {
Items []ReportRecordContract
}
type ListByApiOperationOptions ¶
func DefaultListByApiOperationOptions ¶
func DefaultListByApiOperationOptions() ListByApiOperationOptions
type ListByApiOperationResponse ¶
type ListByApiOperationResponse struct { HttpResponse *http.Response Model *[]ReportRecordContract // contains filtered or unexported fields }
func (ListByApiOperationResponse) HasMore ¶
func (r ListByApiOperationResponse) HasMore() bool
func (ListByApiOperationResponse) LoadMore ¶
func (r ListByApiOperationResponse) LoadMore(ctx context.Context) (resp ListByApiOperationResponse, err error)
type ListByGeoCompleteResult ¶
type ListByGeoCompleteResult struct {
Items []ReportRecordContract
}
type ListByGeoOperationOptions ¶
func DefaultListByGeoOperationOptions ¶
func DefaultListByGeoOperationOptions() ListByGeoOperationOptions
type ListByGeoOperationResponse ¶
type ListByGeoOperationResponse struct { HttpResponse *http.Response Model *[]ReportRecordContract // contains filtered or unexported fields }
func (ListByGeoOperationResponse) HasMore ¶
func (r ListByGeoOperationResponse) HasMore() bool
func (ListByGeoOperationResponse) LoadMore ¶
func (r ListByGeoOperationResponse) LoadMore(ctx context.Context) (resp ListByGeoOperationResponse, err error)
type ListByOperationCompleteResult ¶
type ListByOperationCompleteResult struct {
Items []ReportRecordContract
}
type ListByOperationOperationOptions ¶
type ListByOperationOperationOptions struct { Filter *string Orderby *string Skip *int64 Top *int64 }
func DefaultListByOperationOperationOptions ¶
func DefaultListByOperationOperationOptions() ListByOperationOperationOptions
type ListByOperationOperationResponse ¶
type ListByOperationOperationResponse struct { HttpResponse *http.Response Model *[]ReportRecordContract // contains filtered or unexported fields }
func (ListByOperationOperationResponse) HasMore ¶
func (r ListByOperationOperationResponse) HasMore() bool
func (ListByOperationOperationResponse) LoadMore ¶
func (r ListByOperationOperationResponse) LoadMore(ctx context.Context) (resp ListByOperationOperationResponse, err error)
type ListByProductCompleteResult ¶
type ListByProductCompleteResult struct {
Items []ReportRecordContract
}
type ListByProductOperationOptions ¶
func DefaultListByProductOperationOptions ¶
func DefaultListByProductOperationOptions() ListByProductOperationOptions
type ListByProductOperationResponse ¶
type ListByProductOperationResponse struct { HttpResponse *http.Response Model *[]ReportRecordContract // contains filtered or unexported fields }
func (ListByProductOperationResponse) HasMore ¶
func (r ListByProductOperationResponse) HasMore() bool
func (ListByProductOperationResponse) LoadMore ¶
func (r ListByProductOperationResponse) LoadMore(ctx context.Context) (resp ListByProductOperationResponse, err error)
type ListByRequestOperationOptions ¶
func DefaultListByRequestOperationOptions ¶
func DefaultListByRequestOperationOptions() ListByRequestOperationOptions
type ListByRequestOperationResponse ¶
type ListByRequestOperationResponse struct { HttpResponse *http.Response Model *RequestReportCollection }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []ReportRecordContract
}
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct { Filter *string Orderby *string Skip *int64 Top *int64 }
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ReportRecordContract // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ListByTimeCompleteResult ¶
type ListByTimeCompleteResult struct {
Items []ReportRecordContract
}
type ListByTimeOperationOptions ¶
type ListByTimeOperationOptions struct { Filter *string Interval *string Orderby *string Skip *int64 Top *int64 }
func DefaultListByTimeOperationOptions ¶
func DefaultListByTimeOperationOptions() ListByTimeOperationOptions
type ListByTimeOperationResponse ¶
type ListByTimeOperationResponse struct { HttpResponse *http.Response Model *[]ReportRecordContract // contains filtered or unexported fields }
func (ListByTimeOperationResponse) HasMore ¶
func (r ListByTimeOperationResponse) HasMore() bool
func (ListByTimeOperationResponse) LoadMore ¶
func (r ListByTimeOperationResponse) LoadMore(ctx context.Context) (resp ListByTimeOperationResponse, err error)
type ListByUserCompleteResult ¶
type ListByUserCompleteResult struct {
Items []ReportRecordContract
}
type ListByUserOperationOptions ¶
func DefaultListByUserOperationOptions ¶
func DefaultListByUserOperationOptions() ListByUserOperationOptions
type ListByUserOperationResponse ¶
type ListByUserOperationResponse struct { HttpResponse *http.Response Model *[]ReportRecordContract // contains filtered or unexported fields }
func (ListByUserOperationResponse) HasMore ¶
func (r ListByUserOperationResponse) HasMore() bool
func (ListByUserOperationResponse) LoadMore ¶
func (r ListByUserOperationResponse) LoadMore(ctx context.Context) (resp ListByUserOperationResponse, err error)
type ReportRecordContract ¶
type ReportRecordContract struct { ApiId *string `json:"apiId,omitempty"` ApiRegion *string `json:"apiRegion,omitempty"` ApiTimeAvg *float64 `json:"apiTimeAvg,omitempty"` ApiTimeMax *float64 `json:"apiTimeMax,omitempty"` ApiTimeMin *float64 `json:"apiTimeMin,omitempty"` Bandwidth *int64 `json:"bandwidth,omitempty"` CacheHitCount *int64 `json:"cacheHitCount,omitempty"` CacheMissCount *int64 `json:"cacheMissCount,omitempty"` CallCountBlocked *int64 `json:"callCountBlocked,omitempty"` CallCountFailed *int64 `json:"callCountFailed,omitempty"` CallCountOther *int64 `json:"callCountOther,omitempty"` CallCountSuccess *int64 `json:"callCountSuccess,omitempty"` CallCountTotal *int64 `json:"callCountTotal,omitempty"` Country *string `json:"country,omitempty"` Interval *string `json:"interval,omitempty"` Name *string `json:"name,omitempty"` OperationId *string `json:"operationId,omitempty"` ProductId *string `json:"productId,omitempty"` Region *string `json:"region,omitempty"` ServiceTimeAvg *float64 `json:"serviceTimeAvg,omitempty"` ServiceTimeMax *float64 `json:"serviceTimeMax,omitempty"` ServiceTimeMin *float64 `json:"serviceTimeMin,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` Timestamp *string `json:"timestamp,omitempty"` UserId *string `json:"userId,omitempty"` Zip *string `json:"zip,omitempty"` }
func (*ReportRecordContract) GetTimestampAsTime ¶
func (o *ReportRecordContract) GetTimestampAsTime() (*time.Time, error)
func (*ReportRecordContract) SetTimestampAsTime ¶
func (o *ReportRecordContract) SetTimestampAsTime(input time.Time)
type ReportRecordContractOperationPredicate ¶
type ReportRecordContractOperationPredicate struct { ApiId *string ApiRegion *string ApiTimeAvg *float64 ApiTimeMax *float64 ApiTimeMin *float64 Bandwidth *int64 CacheHitCount *int64 CacheMissCount *int64 CallCountBlocked *int64 CallCountFailed *int64 CallCountOther *int64 CallCountSuccess *int64 CallCountTotal *int64 Country *string Interval *string Name *string OperationId *string ProductId *string Region *string ServiceTimeAvg *float64 ServiceTimeMax *float64 ServiceTimeMin *float64 SubscriptionId *string Timestamp *string UserId *string Zip *string }
func (ReportRecordContractOperationPredicate) Matches ¶
func (p ReportRecordContractOperationPredicate) Matches(input ReportRecordContract) bool
type ReportsClient ¶
func NewReportsClientWithBaseURI ¶
func NewReportsClientWithBaseURI(endpoint string) ReportsClient
func (ReportsClient) ListByApi ¶
func (c ReportsClient) ListByApi(ctx context.Context, id ServiceId, options ListByApiOperationOptions) (resp ListByApiOperationResponse, err error)
ListByApi ...
func (ReportsClient) ListByApiComplete ¶
func (c ReportsClient) ListByApiComplete(ctx context.Context, id ServiceId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
ListByApiComplete retrieves all of the results into a single object
func (ReportsClient) ListByApiCompleteMatchingPredicate ¶
func (c ReportsClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByApiOperationOptions, predicate ReportRecordContractOperationPredicate) (resp ListByApiCompleteResult, err error)
ListByApiCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReportsClient) ListByGeo ¶
func (c ReportsClient) ListByGeo(ctx context.Context, id ServiceId, options ListByGeoOperationOptions) (resp ListByGeoOperationResponse, err error)
ListByGeo ...
func (ReportsClient) ListByGeoComplete ¶
func (c ReportsClient) ListByGeoComplete(ctx context.Context, id ServiceId, options ListByGeoOperationOptions) (ListByGeoCompleteResult, error)
ListByGeoComplete retrieves all of the results into a single object
func (ReportsClient) ListByGeoCompleteMatchingPredicate ¶
func (c ReportsClient) ListByGeoCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByGeoOperationOptions, predicate ReportRecordContractOperationPredicate) (resp ListByGeoCompleteResult, err error)
ListByGeoCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReportsClient) ListByOperation ¶
func (c ReportsClient) ListByOperation(ctx context.Context, id ServiceId, options ListByOperationOperationOptions) (resp ListByOperationOperationResponse, err error)
ListByOperation ...
func (ReportsClient) ListByOperationComplete ¶
func (c ReportsClient) ListByOperationComplete(ctx context.Context, id ServiceId, options ListByOperationOperationOptions) (ListByOperationCompleteResult, error)
ListByOperationComplete retrieves all of the results into a single object
func (ReportsClient) ListByOperationCompleteMatchingPredicate ¶
func (c ReportsClient) ListByOperationCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByOperationOperationOptions, predicate ReportRecordContractOperationPredicate) (resp ListByOperationCompleteResult, err error)
ListByOperationCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReportsClient) ListByProduct ¶
func (c ReportsClient) ListByProduct(ctx context.Context, id ServiceId, options ListByProductOperationOptions) (resp ListByProductOperationResponse, err error)
ListByProduct ...
func (ReportsClient) ListByProductComplete ¶
func (c ReportsClient) ListByProductComplete(ctx context.Context, id ServiceId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
ListByProductComplete retrieves all of the results into a single object
func (ReportsClient) ListByProductCompleteMatchingPredicate ¶
func (c ReportsClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByProductOperationOptions, predicate ReportRecordContractOperationPredicate) (resp ListByProductCompleteResult, err error)
ListByProductCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReportsClient) ListByRequest ¶
func (c ReportsClient) ListByRequest(ctx context.Context, id ServiceId, options ListByRequestOperationOptions) (result ListByRequestOperationResponse, err error)
ListByRequest ...
func (ReportsClient) ListBySubscription ¶
func (c ReportsClient) ListBySubscription(ctx context.Context, id ServiceId, options ListBySubscriptionOperationOptions) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ReportsClient) ListBySubscriptionComplete ¶
func (c ReportsClient) ListBySubscriptionComplete(ctx context.Context, id ServiceId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (ReportsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ReportsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListBySubscriptionOperationOptions, predicate ReportRecordContractOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReportsClient) ListByTime ¶
func (c ReportsClient) ListByTime(ctx context.Context, id ServiceId, options ListByTimeOperationOptions) (resp ListByTimeOperationResponse, err error)
ListByTime ...
func (ReportsClient) ListByTimeComplete ¶
func (c ReportsClient) ListByTimeComplete(ctx context.Context, id ServiceId, options ListByTimeOperationOptions) (ListByTimeCompleteResult, error)
ListByTimeComplete retrieves all of the results into a single object
func (ReportsClient) ListByTimeCompleteMatchingPredicate ¶
func (c ReportsClient) ListByTimeCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByTimeOperationOptions, predicate ReportRecordContractOperationPredicate) (resp ListByTimeCompleteResult, err error)
ListByTimeCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReportsClient) ListByUser ¶
func (c ReportsClient) ListByUser(ctx context.Context, id ServiceId, options ListByUserOperationOptions) (resp ListByUserOperationResponse, err error)
ListByUser ...
func (ReportsClient) ListByUserComplete ¶
func (c ReportsClient) ListByUserComplete(ctx context.Context, id ServiceId, options ListByUserOperationOptions) (ListByUserCompleteResult, error)
ListByUserComplete retrieves all of the results into a single object
func (ReportsClient) ListByUserCompleteMatchingPredicate ¶
func (c ReportsClient) ListByUserCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByUserOperationOptions, predicate ReportRecordContractOperationPredicate) (resp ListByUserCompleteResult, err error)
ListByUserCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type RequestReportCollection ¶
type RequestReportCollection struct { Count *int64 `json:"count,omitempty"` Value *[]RequestReportRecordContract `json:"value,omitempty"` }
type RequestReportRecordContract ¶
type RequestReportRecordContract struct { ApiId *string `json:"apiId,omitempty"` ApiRegion *string `json:"apiRegion,omitempty"` ApiTime *float64 `json:"apiTime,omitempty"` BackendResponseCode *string `json:"backendResponseCode,omitempty"` Cache *string `json:"cache,omitempty"` IPAddress *string `json:"ipAddress,omitempty"` Method *string `json:"method,omitempty"` OperationId *string `json:"operationId,omitempty"` ProductId *string `json:"productId,omitempty"` RequestId *string `json:"requestId,omitempty"` RequestSize *int64 `json:"requestSize,omitempty"` ResponseCode *int64 `json:"responseCode,omitempty"` ResponseSize *int64 `json:"responseSize,omitempty"` ServiceTime *float64 `json:"serviceTime,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` Timestamp *string `json:"timestamp,omitempty"` Url *string `json:"url,omitempty"` UserId *string `json:"userId,omitempty"` }
func (*RequestReportRecordContract) GetTimestampAsTime ¶
func (o *RequestReportRecordContract) GetTimestampAsTime() (*time.Time, error)
func (*RequestReportRecordContract) SetTimestampAsTime ¶
func (o *RequestReportRecordContract) SetTimestampAsTime(input time.Time)
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
Source Files ¶
- client.go
- id_service.go
- method_listbyapi_autorest.go
- method_listbygeo_autorest.go
- method_listbyoperation_autorest.go
- method_listbyproduct_autorest.go
- method_listbyrequest_autorest.go
- method_listbysubscription_autorest.go
- method_listbytime_autorest.go
- method_listbyuser_autorest.go
- model_reportrecordcontract.go
- model_requestreportcollection.go
- model_requestreportrecordcontract.go
- predicates.go
- version.go