Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAlertSeverity() []int64 + func PossibleValuesForConditionOperator() []string + func PossibleValuesForDimensionOperator() []string + func PossibleValuesForKind() []string + func PossibleValuesForTimeAggregation() []string + func ValidateScheduledQueryRuleID(input interface{}, key string) (warnings []string, errors []error) + type Actions struct + ActionGroups *[]string + ActionProperties *map[string]string + CustomProperties *map[string]string + type AlertSeverity int64 + const AlertSeverityFour + const AlertSeverityOne + const AlertSeverityThree + const AlertSeverityTwo + const AlertSeverityZero + type Condition struct + Dimensions *[]Dimension + FailingPeriods *ConditionFailingPeriods + MetricMeasureColumn *string + MetricName *string + Operator *ConditionOperator + Query *string + ResourceIdColumn *string + Threshold *float64 + TimeAggregation *TimeAggregation + type ConditionFailingPeriods struct + MinFailingPeriodsToAlert *int64 + NumberOfEvaluationPeriods *int64 + type ConditionOperator string + const ConditionOperatorEquals + const ConditionOperatorGreaterThan + const ConditionOperatorGreaterThanOrEqual + const ConditionOperatorLessThan + const ConditionOperatorLessThanOrEqual + func (s *ConditionOperator) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ScheduledQueryRuleResource + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type Dimension struct + Name string + Operator DimensionOperator + Values []string + type DimensionOperator string + const DimensionOperatorExclude + const DimensionOperatorInclude + func (s *DimensionOperator) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *ScheduledQueryRuleResource + OData *odata.OData + type Kind string + const KindLogAlert + const KindLogToMetric + func (s *Kind) UnmarshalJSON(bytes []byte) error + type ListByResourceGroupCompleteResult struct + Items []ScheduledQueryRuleResource + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]ScheduledQueryRuleResource + OData *odata.OData + type ListBySubscriptionCompleteResult struct + Items []ScheduledQueryRuleResource + LatestHttpResponse *http.Response + type ListBySubscriptionCustomPager struct + NextLink *odata.Link + func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link + type ListBySubscriptionOperationResponse struct + HttpResponse *http.Response + Model *[]ScheduledQueryRuleResource + OData *odata.OData + type RuleResolveConfiguration struct + AutoResolved *bool + TimeToResolve *string + type ScheduledQueryRuleCriteria struct + AllOf *[]Condition + type ScheduledQueryRuleId struct + ResourceGroupName string + ScheduledQueryRuleName string + SubscriptionId string + func NewScheduledQueryRuleID(subscriptionId string, resourceGroupName string, scheduledQueryRuleName string) ScheduledQueryRuleId + func ParseScheduledQueryRuleID(input string) (*ScheduledQueryRuleId, error) + func ParseScheduledQueryRuleIDInsensitively(input string) (*ScheduledQueryRuleId, error) + func (id *ScheduledQueryRuleId) FromParseResult(input resourceids.ParseResult) error + func (id ScheduledQueryRuleId) ID() string + func (id ScheduledQueryRuleId) Segments() []resourceids.Segment + func (id ScheduledQueryRuleId) String() string + type ScheduledQueryRuleProperties struct + Actions *Actions + AutoMitigate *bool + CheckWorkspaceAlertsStorageConfigured *bool + CreatedWithApiVersion *string + Criteria *ScheduledQueryRuleCriteria + Description *string + DisplayName *string + Enabled *bool + EvaluationFrequency *string + IsLegacyLogAnalyticsRule *bool + IsWorkspaceAlertsStorageConfigured *bool + MuteActionsDuration *string + OverrideQueryTimeRange *string + ResolveConfiguration *RuleResolveConfiguration + Scopes *[]string + Severity *AlertSeverity + SkipQueryValidation *bool + TargetResourceTypes *[]string + WindowSize *string + type ScheduledQueryRuleResource struct + Etag *string + Id *string + Identity *identity.SystemOrUserAssignedMap + Kind *Kind + Location string + Name *string + Properties ScheduledQueryRuleProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type ScheduledQueryRuleResourceOperationPredicate struct + Etag *string + Id *string + Location *string + Name *string + Type *string + func (p ScheduledQueryRuleResourceOperationPredicate) Matches(input ScheduledQueryRuleResource) bool + type ScheduledQueryRuleResourcePatch struct + Identity *identity.SystemOrUserAssignedMap + Properties *ScheduledQueryRuleProperties + Tags *map[string]string + type ScheduledQueryRulesClient struct + Client *resourcemanager.Client + func NewScheduledQueryRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*ScheduledQueryRulesClient, error) + func (c ScheduledQueryRulesClient) CreateOrUpdate(ctx context.Context, id ScheduledQueryRuleId, input ScheduledQueryRuleResource) (result CreateOrUpdateOperationResponse, err error) + func (c ScheduledQueryRulesClient) Delete(ctx context.Context, id ScheduledQueryRuleId) (result DeleteOperationResponse, err error) + func (c ScheduledQueryRulesClient) Get(ctx context.Context, id ScheduledQueryRuleId) (result GetOperationResponse, err error) + func (c ScheduledQueryRulesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) + func (c ScheduledQueryRulesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) + func (c ScheduledQueryRulesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error) + func (c ScheduledQueryRulesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error) + func (c ScheduledQueryRulesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error) + func (c ScheduledQueryRulesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error) + func (c ScheduledQueryRulesClient) Update(ctx context.Context, id ScheduledQueryRuleId, ...) (result UpdateOperationResponse, err error) + type TimeAggregation string + const TimeAggregationAverage + const TimeAggregationCount + const TimeAggregationMaximum + const TimeAggregationMinimum + const TimeAggregationTotal + func (s *TimeAggregation) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *ScheduledQueryRuleResource + OData *odata.OData