Documentation ¶
Index ¶
- func PossibleValuesForWafGranularity() []string
- func PossibleValuesForWafMetricsGranularity() []string
- func PossibleValuesForWafMetricsSeriesUnit() []string
- func ValidateProfileID(input interface{}, key string) (warnings []string, errors []error)
- type LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions
- type LogAnalyticsGetWafLogAnalyticsMetricsOperationResponse
- type LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions
- type LogAnalyticsGetWafLogAnalyticsRankingsOperationResponse
- type ProfileId
- type WafGranularity
- type WafLogAnalyticsClient
- func (c WafLogAnalyticsClient) LogAnalyticsGetWafLogAnalyticsMetrics(ctx context.Context, id ProfileId, ...) (result LogAnalyticsGetWafLogAnalyticsMetricsOperationResponse, err error)
- func (c WafLogAnalyticsClient) LogAnalyticsGetWafLogAnalyticsRankings(ctx context.Context, id ProfileId, ...) (result LogAnalyticsGetWafLogAnalyticsRankingsOperationResponse, err error)
- type WafMetricsGranularity
- type WafMetricsResponse
- type WafMetricsResponseSeriesInlined
- type WafMetricsResponseSeriesInlinedDataInlined
- type WafMetricsResponseSeriesInlinedGroupsInlined
- type WafMetricsSeriesUnit
- type WafRankingsResponse
- type WafRankingsResponseDataInlined
- type WafRankingsResponseDataInlinedMetricsInlined
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForWafGranularity ¶
func PossibleValuesForWafGranularity() []string
func PossibleValuesForWafMetricsGranularity ¶
func PossibleValuesForWafMetricsGranularity() []string
func PossibleValuesForWafMetricsSeriesUnit ¶
func PossibleValuesForWafMetricsSeriesUnit() []string
func ValidateProfileID ¶
ValidateProfileID checks that 'input' can be parsed as a Profile ID
Types ¶
type LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions ¶
type LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions struct { Actions *[]string DateTimeBegin *string DateTimeEnd *string Granularity *WafGranularity GroupBy *[]string Metrics *[]string RuleTypes *[]string }
func DefaultLogAnalyticsGetWafLogAnalyticsMetricsOperationOptions ¶
func DefaultLogAnalyticsGetWafLogAnalyticsMetricsOperationOptions() LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions
func (LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions) ToHeaders ¶
func (o LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions) ToHeaders() *client.Headers
func (LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions) ToOData ¶
func (o LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions) ToOData() *odata.Query
func (LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions) ToQuery ¶
func (o LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions) ToQuery() *client.QueryParams
type LogAnalyticsGetWafLogAnalyticsMetricsOperationResponse ¶
type LogAnalyticsGetWafLogAnalyticsMetricsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WafMetricsResponse }
type LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions ¶
type LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions struct { Actions *[]string DateTimeBegin *string DateTimeEnd *string MaxRanking *int64 Metrics *[]string Rankings *[]string RuleTypes *[]string }
func DefaultLogAnalyticsGetWafLogAnalyticsRankingsOperationOptions ¶
func DefaultLogAnalyticsGetWafLogAnalyticsRankingsOperationOptions() LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions
func (LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions) ToHeaders ¶
func (o LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions) ToHeaders() *client.Headers
func (LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions) ToOData ¶
func (o LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions) ToOData() *odata.Query
func (LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions) ToQuery ¶
func (o LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions) ToQuery() *client.QueryParams
type LogAnalyticsGetWafLogAnalyticsRankingsOperationResponse ¶
type LogAnalyticsGetWafLogAnalyticsRankingsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WafRankingsResponse }
type ProfileId ¶
ProfileId is a struct representing the Resource ID for a Profile
func NewProfileID ¶
NewProfileID returns a new ProfileId struct
func ParseProfileID ¶
ParseProfileID parses 'input' into a ProfileId
func ParseProfileIDInsensitively ¶
ParseProfileIDInsensitively parses 'input' case-insensitively into a ProfileId note: this method should only be used for API response data and not user input
func (*ProfileId) FromParseResult ¶
func (id *ProfileId) FromParseResult(input resourceids.ParseResult) error
func (ProfileId) Segments ¶
func (id ProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Profile ID
type WafGranularity ¶
type WafGranularity string
const ( WafGranularityPOneD WafGranularity = "P1D" WafGranularityPTFiveM WafGranularity = "PT5M" WafGranularityPTOneH WafGranularity = "PT1H" )
func (*WafGranularity) UnmarshalJSON ¶
func (s *WafGranularity) UnmarshalJSON(bytes []byte) error
type WafLogAnalyticsClient ¶
type WafLogAnalyticsClient struct {
Client *resourcemanager.Client
}
func NewWafLogAnalyticsClientWithBaseURI ¶
func NewWafLogAnalyticsClientWithBaseURI(sdkApi sdkEnv.Api) (*WafLogAnalyticsClient, error)
func (WafLogAnalyticsClient) LogAnalyticsGetWafLogAnalyticsMetrics ¶
func (c WafLogAnalyticsClient) LogAnalyticsGetWafLogAnalyticsMetrics(ctx context.Context, id ProfileId, options LogAnalyticsGetWafLogAnalyticsMetricsOperationOptions) (result LogAnalyticsGetWafLogAnalyticsMetricsOperationResponse, err error)
LogAnalyticsGetWafLogAnalyticsMetrics ...
func (WafLogAnalyticsClient) LogAnalyticsGetWafLogAnalyticsRankings ¶
func (c WafLogAnalyticsClient) LogAnalyticsGetWafLogAnalyticsRankings(ctx context.Context, id ProfileId, options LogAnalyticsGetWafLogAnalyticsRankingsOperationOptions) (result LogAnalyticsGetWafLogAnalyticsRankingsOperationResponse, err error)
LogAnalyticsGetWafLogAnalyticsRankings ...
type WafMetricsGranularity ¶
type WafMetricsGranularity string
const ( WafMetricsGranularityPOneD WafMetricsGranularity = "P1D" WafMetricsGranularityPTFiveM WafMetricsGranularity = "PT5M" WafMetricsGranularityPTOneH WafMetricsGranularity = "PT1H" )
func (*WafMetricsGranularity) UnmarshalJSON ¶
func (s *WafMetricsGranularity) UnmarshalJSON(bytes []byte) error
type WafMetricsResponse ¶
type WafMetricsResponse struct { DateTimeBegin *string `json:"dateTimeBegin,omitempty"` DateTimeEnd *string `json:"dateTimeEnd,omitempty"` Granularity *WafMetricsGranularity `json:"granularity,omitempty"` Series *[]WafMetricsResponseSeriesInlined `json:"series,omitempty"` }
func (*WafMetricsResponse) GetDateTimeBeginAsTime ¶
func (o *WafMetricsResponse) GetDateTimeBeginAsTime() (*time.Time, error)
func (*WafMetricsResponse) GetDateTimeEndAsTime ¶
func (o *WafMetricsResponse) GetDateTimeEndAsTime() (*time.Time, error)
func (*WafMetricsResponse) SetDateTimeBeginAsTime ¶
func (o *WafMetricsResponse) SetDateTimeBeginAsTime(input time.Time)
func (*WafMetricsResponse) SetDateTimeEndAsTime ¶
func (o *WafMetricsResponse) SetDateTimeEndAsTime(input time.Time)
type WafMetricsResponseSeriesInlined ¶
type WafMetricsResponseSeriesInlined struct { Data *[]WafMetricsResponseSeriesInlinedDataInlined `json:"data,omitempty"` Groups *[]WafMetricsResponseSeriesInlinedGroupsInlined `json:"groups,omitempty"` Metric *string `json:"metric,omitempty"` Unit *WafMetricsSeriesUnit `json:"unit,omitempty"` }
type WafMetricsResponseSeriesInlinedDataInlined ¶
type WafMetricsResponseSeriesInlinedDataInlined struct { DateTime *string `json:"dateTime,omitempty"` Value *float64 `json:"value,omitempty"` }
func (*WafMetricsResponseSeriesInlinedDataInlined) GetDateTimeAsTime ¶
func (o *WafMetricsResponseSeriesInlinedDataInlined) GetDateTimeAsTime() (*time.Time, error)
func (*WafMetricsResponseSeriesInlinedDataInlined) SetDateTimeAsTime ¶
func (o *WafMetricsResponseSeriesInlinedDataInlined) SetDateTimeAsTime(input time.Time)
type WafMetricsSeriesUnit ¶
type WafMetricsSeriesUnit string
const (
WafMetricsSeriesUnitCount WafMetricsSeriesUnit = "count"
)
func (*WafMetricsSeriesUnit) UnmarshalJSON ¶
func (s *WafMetricsSeriesUnit) UnmarshalJSON(bytes []byte) error
type WafRankingsResponse ¶
type WafRankingsResponse struct { Data *[]WafRankingsResponseDataInlined `json:"data,omitempty"` DateTimeBegin *string `json:"dateTimeBegin,omitempty"` DateTimeEnd *string `json:"dateTimeEnd,omitempty"` Groups *[]string `json:"groups,omitempty"` }
func (*WafRankingsResponse) GetDateTimeBeginAsTime ¶
func (o *WafRankingsResponse) GetDateTimeBeginAsTime() (*time.Time, error)
func (*WafRankingsResponse) GetDateTimeEndAsTime ¶
func (o *WafRankingsResponse) GetDateTimeEndAsTime() (*time.Time, error)
func (*WafRankingsResponse) SetDateTimeBeginAsTime ¶
func (o *WafRankingsResponse) SetDateTimeBeginAsTime(input time.Time)
func (*WafRankingsResponse) SetDateTimeEndAsTime ¶
func (o *WafRankingsResponse) SetDateTimeEndAsTime(input time.Time)
type WafRankingsResponseDataInlined ¶
type WafRankingsResponseDataInlined struct { GroupValues *[]string `json:"groupValues,omitempty"` Metrics *[]WafRankingsResponseDataInlinedMetricsInlined `json:"metrics,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_profile.go
- method_loganalyticsgetwafloganalyticsmetrics.go
- method_loganalyticsgetwafloganalyticsrankings.go
- model_wafmetricsresponse.go
- model_wafmetricsresponseseriesinlined.go
- model_wafmetricsresponseseriesinlineddatainlined.go
- model_wafmetricsresponseseriesinlinedgroupsinlined.go
- model_wafrankingsresponse.go
- model_wafrankingsresponsedatainlined.go
- model_wafrankingsresponsedatainlinedmetricsinlined.go
- version.go
Click to show internal directories.
Click to hide internal directories.