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) (result 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, ...) (result ListByApiCompleteResult, err error)
- func (c ReportsClient) ListByGeo(ctx context.Context, id ServiceId, options ListByGeoOperationOptions) (result 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, ...) (result ListByGeoCompleteResult, err error)
- func (c ReportsClient) ListByOperation(ctx context.Context, id ServiceId, options ListByOperationOperationOptions) (result 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, ...) (result ListByOperationCompleteResult, err error)
- func (c ReportsClient) ListByProduct(ctx context.Context, id ServiceId, options ListByProductOperationOptions) (result 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, ...) (result 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) (result 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, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c ReportsClient) ListByTime(ctx context.Context, id ServiceId, options ListByTimeOperationOptions) (result 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, ...) (result ListByTimeCompleteResult, err error)
- func (c ReportsClient) ListByUser(ctx context.Context, id ServiceId, options ListByUserOperationOptions) (result 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, ...) (result 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 { LatestHttpResponse *http.Response Items []ReportRecordContract }
type ListByApiOperationOptions ¶
func DefaultListByApiOperationOptions ¶
func DefaultListByApiOperationOptions() ListByApiOperationOptions
func (ListByApiOperationOptions) ToHeaders ¶
func (o ListByApiOperationOptions) ToHeaders() *client.Headers
func (ListByApiOperationOptions) ToOData ¶
func (o ListByApiOperationOptions) ToOData() *odata.Query
func (ListByApiOperationOptions) ToQuery ¶
func (o ListByApiOperationOptions) ToQuery() *client.QueryParams
type ListByApiOperationResponse ¶
type ListByApiOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReportRecordContract }
type ListByGeoCompleteResult ¶
type ListByGeoCompleteResult struct { LatestHttpResponse *http.Response Items []ReportRecordContract }
type ListByGeoOperationOptions ¶
func DefaultListByGeoOperationOptions ¶
func DefaultListByGeoOperationOptions() ListByGeoOperationOptions
func (ListByGeoOperationOptions) ToHeaders ¶
func (o ListByGeoOperationOptions) ToHeaders() *client.Headers
func (ListByGeoOperationOptions) ToOData ¶
func (o ListByGeoOperationOptions) ToOData() *odata.Query
func (ListByGeoOperationOptions) ToQuery ¶
func (o ListByGeoOperationOptions) ToQuery() *client.QueryParams
type ListByGeoOperationResponse ¶
type ListByGeoOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReportRecordContract }
type ListByOperationCompleteResult ¶
type ListByOperationCompleteResult struct { LatestHttpResponse *http.Response Items []ReportRecordContract }
type ListByOperationOperationOptions ¶
type ListByOperationOperationOptions struct { Filter *string Orderby *string Skip *int64 Top *int64 }
func DefaultListByOperationOperationOptions ¶
func DefaultListByOperationOperationOptions() ListByOperationOperationOptions
func (ListByOperationOperationOptions) ToHeaders ¶
func (o ListByOperationOperationOptions) ToHeaders() *client.Headers
func (ListByOperationOperationOptions) ToOData ¶
func (o ListByOperationOperationOptions) ToOData() *odata.Query
func (ListByOperationOperationOptions) ToQuery ¶
func (o ListByOperationOperationOptions) ToQuery() *client.QueryParams
type ListByOperationOperationResponse ¶
type ListByOperationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReportRecordContract }
type ListByProductCompleteResult ¶
type ListByProductCompleteResult struct { LatestHttpResponse *http.Response Items []ReportRecordContract }
type ListByProductOperationOptions ¶
func DefaultListByProductOperationOptions ¶
func DefaultListByProductOperationOptions() ListByProductOperationOptions
func (ListByProductOperationOptions) ToHeaders ¶
func (o ListByProductOperationOptions) ToHeaders() *client.Headers
func (ListByProductOperationOptions) ToOData ¶
func (o ListByProductOperationOptions) ToOData() *odata.Query
func (ListByProductOperationOptions) ToQuery ¶
func (o ListByProductOperationOptions) ToQuery() *client.QueryParams
type ListByProductOperationResponse ¶
type ListByProductOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReportRecordContract }
type ListByRequestOperationOptions ¶
func DefaultListByRequestOperationOptions ¶
func DefaultListByRequestOperationOptions() ListByRequestOperationOptions
func (ListByRequestOperationOptions) ToHeaders ¶
func (o ListByRequestOperationOptions) ToHeaders() *client.Headers
func (ListByRequestOperationOptions) ToOData ¶
func (o ListByRequestOperationOptions) ToOData() *odata.Query
func (ListByRequestOperationOptions) ToQuery ¶
func (o ListByRequestOperationOptions) ToQuery() *client.QueryParams
type ListByRequestOperationResponse ¶
type ListByRequestOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RequestReportCollection }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []ReportRecordContract }
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct { Filter *string Orderby *string Skip *int64 Top *int64 }
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReportRecordContract }
type ListByTimeCompleteResult ¶
type ListByTimeCompleteResult struct { LatestHttpResponse *http.Response Items []ReportRecordContract }
type ListByTimeOperationOptions ¶
type ListByTimeOperationOptions struct { Filter *string Interval *string Orderby *string Skip *int64 Top *int64 }
func DefaultListByTimeOperationOptions ¶
func DefaultListByTimeOperationOptions() ListByTimeOperationOptions
func (ListByTimeOperationOptions) ToHeaders ¶
func (o ListByTimeOperationOptions) ToHeaders() *client.Headers
func (ListByTimeOperationOptions) ToOData ¶
func (o ListByTimeOperationOptions) ToOData() *odata.Query
func (ListByTimeOperationOptions) ToQuery ¶
func (o ListByTimeOperationOptions) ToQuery() *client.QueryParams
type ListByTimeOperationResponse ¶
type ListByTimeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReportRecordContract }
type ListByUserCompleteResult ¶
type ListByUserCompleteResult struct { LatestHttpResponse *http.Response Items []ReportRecordContract }
type ListByUserOperationOptions ¶
func DefaultListByUserOperationOptions ¶
func DefaultListByUserOperationOptions() ListByUserOperationOptions
func (ListByUserOperationOptions) ToHeaders ¶
func (o ListByUserOperationOptions) ToHeaders() *client.Headers
func (ListByUserOperationOptions) ToOData ¶
func (o ListByUserOperationOptions) ToOData() *odata.Query
func (ListByUserOperationOptions) ToQuery ¶
func (o ListByUserOperationOptions) ToQuery() *client.QueryParams
type ListByUserOperationResponse ¶
type ListByUserOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReportRecordContract }
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 ¶
type ReportsClient struct {
Client *resourcemanager.Client
}
func NewReportsClientWithBaseURI ¶
func NewReportsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReportsClient, error)
func (ReportsClient) ListByApi ¶
func (c ReportsClient) ListByApi(ctx context.Context, id ServiceId, options ListByApiOperationOptions) (result ListByApiOperationResponse, err error)
ListByApi ...
func (ReportsClient) ListByApiComplete ¶
func (c ReportsClient) ListByApiComplete(ctx context.Context, id ServiceId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
ListByApiComplete retrieves all the results into a single object
func (ReportsClient) ListByApiCompleteMatchingPredicate ¶
func (c ReportsClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByApiOperationOptions, predicate ReportRecordContractOperationPredicate) (result ListByApiCompleteResult, err error)
ListByApiCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReportsClient) ListByGeo ¶
func (c ReportsClient) ListByGeo(ctx context.Context, id ServiceId, options ListByGeoOperationOptions) (result ListByGeoOperationResponse, err error)
ListByGeo ...
func (ReportsClient) ListByGeoComplete ¶
func (c ReportsClient) ListByGeoComplete(ctx context.Context, id ServiceId, options ListByGeoOperationOptions) (ListByGeoCompleteResult, error)
ListByGeoComplete retrieves all the results into a single object
func (ReportsClient) ListByGeoCompleteMatchingPredicate ¶
func (c ReportsClient) ListByGeoCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByGeoOperationOptions, predicate ReportRecordContractOperationPredicate) (result ListByGeoCompleteResult, err error)
ListByGeoCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReportsClient) ListByOperation ¶
func (c ReportsClient) ListByOperation(ctx context.Context, id ServiceId, options ListByOperationOperationOptions) (result ListByOperationOperationResponse, err error)
ListByOperation ...
func (ReportsClient) ListByOperationComplete ¶
func (c ReportsClient) ListByOperationComplete(ctx context.Context, id ServiceId, options ListByOperationOperationOptions) (ListByOperationCompleteResult, error)
ListByOperationComplete retrieves all the results into a single object
func (ReportsClient) ListByOperationCompleteMatchingPredicate ¶
func (c ReportsClient) ListByOperationCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByOperationOperationOptions, predicate ReportRecordContractOperationPredicate) (result ListByOperationCompleteResult, err error)
ListByOperationCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReportsClient) ListByProduct ¶
func (c ReportsClient) ListByProduct(ctx context.Context, id ServiceId, options ListByProductOperationOptions) (result ListByProductOperationResponse, err error)
ListByProduct ...
func (ReportsClient) ListByProductComplete ¶
func (c ReportsClient) ListByProductComplete(ctx context.Context, id ServiceId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
ListByProductComplete retrieves all the results into a single object
func (ReportsClient) ListByProductCompleteMatchingPredicate ¶
func (c ReportsClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByProductOperationOptions, predicate ReportRecordContractOperationPredicate) (result ListByProductCompleteResult, err error)
ListByProductCompleteMatchingPredicate retrieves all the results and then applies 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) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ReportsClient) ListBySubscriptionComplete ¶
func (c ReportsClient) ListBySubscriptionComplete(ctx context.Context, id ServiceId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (ReportsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ReportsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListBySubscriptionOperationOptions, predicate ReportRecordContractOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReportsClient) ListByTime ¶
func (c ReportsClient) ListByTime(ctx context.Context, id ServiceId, options ListByTimeOperationOptions) (result ListByTimeOperationResponse, err error)
ListByTime ...
func (ReportsClient) ListByTimeComplete ¶
func (c ReportsClient) ListByTimeComplete(ctx context.Context, id ServiceId, options ListByTimeOperationOptions) (ListByTimeCompleteResult, error)
ListByTimeComplete retrieves all the results into a single object
func (ReportsClient) ListByTimeCompleteMatchingPredicate ¶
func (c ReportsClient) ListByTimeCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByTimeOperationOptions, predicate ReportRecordContractOperationPredicate) (result ListByTimeCompleteResult, err error)
ListByTimeCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReportsClient) ListByUser ¶
func (c ReportsClient) ListByUser(ctx context.Context, id ServiceId, options ListByUserOperationOptions) (result ListByUserOperationResponse, err error)
ListByUser ...
func (ReportsClient) ListByUserComplete ¶
func (c ReportsClient) ListByUserComplete(ctx context.Context, id ServiceId, options ListByUserOperationOptions) (ListByUserCompleteResult, error)
ListByUserComplete retrieves all the results into a single object
func (ReportsClient) ListByUserCompleteMatchingPredicate ¶
func (c ReportsClient) ListByUserCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByUserOperationOptions, predicate ReportRecordContractOperationPredicate) (result ListByUserCompleteResult, err error)
ListByUserCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_listbygeo.go
- method_listbyoperation.go
- method_listbyproduct.go
- method_listbyrequest.go
- method_listbysubscription.go
- method_listbytime.go
- method_listbyuser.go
- model_reportrecordcontract.go
- model_requestreportcollection.go
- model_requestreportrecordcontract.go
- predicates.go
- version.go