Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForTagAction() []string
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagRuleID(input interface{}, key string) (warnings []string, errors []error)
- type FilteringTag
- type LogRules
- type MetricRules
- type MonitorId
- type MonitoringTagRules
- type MonitoringTagRulesOperationPredicate
- type MonitoringTagRulesProperties
- type ProvisioningState
- type RulesClient
- func (c RulesClient) TagRulesCreateOrUpdate(ctx context.Context, id TagRuleId, input MonitoringTagRules) (result TagRulesCreateOrUpdateOperationResponse, err error)
- func (c RulesClient) TagRulesGet(ctx context.Context, id TagRuleId) (result TagRulesGetOperationResponse, err error)
- func (c RulesClient) TagRulesList(ctx context.Context, id MonitorId) (result TagRulesListOperationResponse, err error)
- func (c RulesClient) TagRulesListComplete(ctx context.Context, id MonitorId) (TagRulesListCompleteResult, error)
- func (c RulesClient) TagRulesListCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result TagRulesListCompleteResult, err error)
- type TagAction
- type TagRuleId
- type TagRulesCreateOrUpdateOperationResponse
- type TagRulesGetOperationResponse
- type TagRulesListCompleteResult
- type TagRulesListCustomPager
- type TagRulesListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForTagAction ¶
func PossibleValuesForTagAction() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
func ValidateTagRuleID ¶
ValidateTagRuleID checks that 'input' can be parsed as a Tag Rule ID
Types ¶
type FilteringTag ¶
type LogRules ¶
type LogRules struct { FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"` SendAadLogs *bool `json:"sendAadLogs,omitempty"` SendResourceLogs *bool `json:"sendResourceLogs,omitempty"` SendSubscriptionLogs *bool `json:"sendSubscriptionLogs,omitempty"` }
type MetricRules ¶
type MetricRules struct {
FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"`
}
type MonitorId ¶
MonitorId is a struct representing the Resource ID for a Monitor
func NewMonitorID ¶
NewMonitorID returns a new MonitorId struct
func ParseMonitorID ¶
ParseMonitorID parses 'input' into a MonitorId
func ParseMonitorIDInsensitively ¶
ParseMonitorIDInsensitively parses 'input' case-insensitively into a MonitorId note: this method should only be used for API response data and not user input
func (*MonitorId) FromParseResult ¶
func (id *MonitorId) FromParseResult(input resourceids.ParseResult) error
func (MonitorId) Segments ¶
func (id MonitorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitor ID
type MonitoringTagRules ¶
type MonitoringTagRules struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MonitoringTagRulesProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type MonitoringTagRulesOperationPredicate ¶
func (MonitoringTagRulesOperationPredicate) Matches ¶
func (p MonitoringTagRulesOperationPredicate) Matches(input MonitoringTagRules) bool
type MonitoringTagRulesProperties ¶
type MonitoringTagRulesProperties struct { Automuting *bool `json:"automuting,omitempty"` LogRules *LogRules `json:"logRules,omitempty"` MetricRules *MetricRules `json:"metricRules,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RulesClient ¶
type RulesClient struct {
Client *resourcemanager.Client
}
func NewRulesClientWithBaseURI ¶
func NewRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*RulesClient, error)
func (RulesClient) TagRulesCreateOrUpdate ¶
func (c RulesClient) TagRulesCreateOrUpdate(ctx context.Context, id TagRuleId, input MonitoringTagRules) (result TagRulesCreateOrUpdateOperationResponse, err error)
TagRulesCreateOrUpdate ...
func (RulesClient) TagRulesGet ¶
func (c RulesClient) TagRulesGet(ctx context.Context, id TagRuleId) (result TagRulesGetOperationResponse, err error)
TagRulesGet ...
func (RulesClient) TagRulesList ¶
func (c RulesClient) TagRulesList(ctx context.Context, id MonitorId) (result TagRulesListOperationResponse, err error)
TagRulesList ...
func (RulesClient) TagRulesListComplete ¶
func (c RulesClient) TagRulesListComplete(ctx context.Context, id MonitorId) (TagRulesListCompleteResult, error)
TagRulesListComplete retrieves all the results into a single object
func (RulesClient) TagRulesListCompleteMatchingPredicate ¶
func (c RulesClient) TagRulesListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate MonitoringTagRulesOperationPredicate) (result TagRulesListCompleteResult, err error)
TagRulesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type TagRuleId ¶
type TagRuleId struct { SubscriptionId string ResourceGroupName string MonitorName string TagRuleName string }
TagRuleId is a struct representing the Resource ID for a Tag Rule
func NewTagRuleID ¶
func NewTagRuleID(subscriptionId string, resourceGroupName string, monitorName string, tagRuleName string) TagRuleId
NewTagRuleID returns a new TagRuleId struct
func ParseTagRuleID ¶
ParseTagRuleID parses 'input' into a TagRuleId
func ParseTagRuleIDInsensitively ¶
ParseTagRuleIDInsensitively parses 'input' case-insensitively into a TagRuleId note: this method should only be used for API response data and not user input
func (*TagRuleId) FromParseResult ¶
func (id *TagRuleId) FromParseResult(input resourceids.ParseResult) error
func (TagRuleId) Segments ¶
func (id TagRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Tag Rule ID
type TagRulesCreateOrUpdateOperationResponse ¶
type TagRulesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MonitoringTagRules }
type TagRulesGetOperationResponse ¶
type TagRulesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MonitoringTagRules }
type TagRulesListCompleteResult ¶
type TagRulesListCompleteResult struct { LatestHttpResponse *http.Response Items []MonitoringTagRules }
type TagRulesListCustomPager ¶ added in v0.20240628.1153531
func (*TagRulesListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *TagRulesListCustomPager) NextPageLink() *odata.Link
type TagRulesListOperationResponse ¶
type TagRulesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoringTagRules }