Documentation ¶
Index ¶
- func PossibleValuesForIntervalInMins() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type ExportRequestRateByIntervalOperationResponse
- type ExportThrottledRequestsOperationResponse
- type IntervalInMins
- type LocationId
- type LogAnalyticsClient
- func (c LogAnalyticsClient) ExportRequestRateByInterval(ctx context.Context, id LocationId, input RequestRateByIntervalInput) (result ExportRequestRateByIntervalOperationResponse, err error)
- func (c LogAnalyticsClient) ExportRequestRateByIntervalThenPoll(ctx context.Context, id LocationId, input RequestRateByIntervalInput) error
- func (c LogAnalyticsClient) ExportThrottledRequests(ctx context.Context, id LocationId, input LogAnalyticsInputBase) (result ExportThrottledRequestsOperationResponse, err error)
- func (c LogAnalyticsClient) ExportThrottledRequestsThenPoll(ctx context.Context, id LocationId, input LogAnalyticsInputBase) error
- type LogAnalyticsInputBase
- type LogAnalyticsOperationResult
- type LogAnalyticsOutput
- type RequestRateByIntervalInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIntervalInMins ¶
func PossibleValuesForIntervalInMins() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type IntervalInMins ¶
type IntervalInMins string
const ( IntervalInMinsFiveMins IntervalInMins = "FiveMins" IntervalInMinsSixtyMins IntervalInMins = "SixtyMins" IntervalInMinsThirtyMins IntervalInMins = "ThirtyMins" IntervalInMinsThreeMins IntervalInMins = "ThreeMins" )
func (*IntervalInMins) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *IntervalInMins) UnmarshalJSON(bytes []byte) error
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type LogAnalyticsClient ¶
type LogAnalyticsClient struct {
Client *resourcemanager.Client
}
func NewLogAnalyticsClientWithBaseURI ¶
func NewLogAnalyticsClientWithBaseURI(sdkApi sdkEnv.Api) (*LogAnalyticsClient, error)
func (LogAnalyticsClient) ExportRequestRateByInterval ¶
func (c LogAnalyticsClient) ExportRequestRateByInterval(ctx context.Context, id LocationId, input RequestRateByIntervalInput) (result ExportRequestRateByIntervalOperationResponse, err error)
ExportRequestRateByInterval ...
func (LogAnalyticsClient) ExportRequestRateByIntervalThenPoll ¶
func (c LogAnalyticsClient) ExportRequestRateByIntervalThenPoll(ctx context.Context, id LocationId, input RequestRateByIntervalInput) error
ExportRequestRateByIntervalThenPoll performs ExportRequestRateByInterval then polls until it's completed
func (LogAnalyticsClient) ExportThrottledRequests ¶
func (c LogAnalyticsClient) ExportThrottledRequests(ctx context.Context, id LocationId, input LogAnalyticsInputBase) (result ExportThrottledRequestsOperationResponse, err error)
ExportThrottledRequests ...
func (LogAnalyticsClient) ExportThrottledRequestsThenPoll ¶
func (c LogAnalyticsClient) ExportThrottledRequestsThenPoll(ctx context.Context, id LocationId, input LogAnalyticsInputBase) error
ExportThrottledRequestsThenPoll performs ExportThrottledRequests then polls until it's completed
type LogAnalyticsInputBase ¶
type LogAnalyticsInputBase struct { BlobContainerSasUri string `json:"blobContainerSasUri"` FromTime string `json:"fromTime"` GroupByClientApplicationId *bool `json:"groupByClientApplicationId,omitempty"` GroupByOperationName *bool `json:"groupByOperationName,omitempty"` GroupByResourceName *bool `json:"groupByResourceName,omitempty"` GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"` GroupByUserAgent *bool `json:"groupByUserAgent,omitempty"` ToTime string `json:"toTime"` }
func (*LogAnalyticsInputBase) GetFromTimeAsTime ¶
func (o *LogAnalyticsInputBase) GetFromTimeAsTime() (*time.Time, error)
func (*LogAnalyticsInputBase) GetToTimeAsTime ¶
func (o *LogAnalyticsInputBase) GetToTimeAsTime() (*time.Time, error)
func (*LogAnalyticsInputBase) SetFromTimeAsTime ¶
func (o *LogAnalyticsInputBase) SetFromTimeAsTime(input time.Time)
func (*LogAnalyticsInputBase) SetToTimeAsTime ¶
func (o *LogAnalyticsInputBase) SetToTimeAsTime(input time.Time)
type LogAnalyticsOperationResult ¶
type LogAnalyticsOperationResult struct {
Properties *LogAnalyticsOutput `json:"properties,omitempty"`
}
type LogAnalyticsOutput ¶
type LogAnalyticsOutput struct {
Output *string `json:"output,omitempty"`
}
type RequestRateByIntervalInput ¶
type RequestRateByIntervalInput struct { BlobContainerSasUri string `json:"blobContainerSasUri"` FromTime string `json:"fromTime"` GroupByClientApplicationId *bool `json:"groupByClientApplicationId,omitempty"` GroupByOperationName *bool `json:"groupByOperationName,omitempty"` GroupByResourceName *bool `json:"groupByResourceName,omitempty"` GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"` GroupByUserAgent *bool `json:"groupByUserAgent,omitempty"` IntervalLength IntervalInMins `json:"intervalLength"` ToTime string `json:"toTime"` }
func (*RequestRateByIntervalInput) GetFromTimeAsTime ¶
func (o *RequestRateByIntervalInput) GetFromTimeAsTime() (*time.Time, error)
func (*RequestRateByIntervalInput) GetToTimeAsTime ¶
func (o *RequestRateByIntervalInput) GetToTimeAsTime() (*time.Time, error)
func (*RequestRateByIntervalInput) SetFromTimeAsTime ¶
func (o *RequestRateByIntervalInput) SetFromTimeAsTime(input time.Time)
func (*RequestRateByIntervalInput) SetToTimeAsTime ¶
func (o *RequestRateByIntervalInput) SetToTimeAsTime(input time.Time)