Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSendAadLogsStatus() []string
- func PossibleValuesForSendActivityLogsStatus() []string
- func PossibleValuesForSendSubscriptionLogsStatus() []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 CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FilteringTag
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type LogRules
- type MetricRules
- type MonitorId
- type MonitoringTagRulesProperties
- type ProvisioningState
- type SendAadLogsStatus
- type SendActivityLogsStatus
- type SendSubscriptionLogsStatus
- type TagAction
- type TagRule
- type TagRuleId
- type TagRuleOperationPredicate
- type TagRuleUpdate
- type TagRulesClient
- func (c TagRulesClient) CreateOrUpdate(ctx context.Context, id TagRuleId, input TagRule) (result CreateOrUpdateOperationResponse, err error)
- func (c TagRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id TagRuleId, input TagRule) error
- func (c TagRulesClient) Delete(ctx context.Context, id TagRuleId) (result DeleteOperationResponse, err error)
- func (c TagRulesClient) DeleteThenPoll(ctx context.Context, id TagRuleId) error
- func (c TagRulesClient) Get(ctx context.Context, id TagRuleId) (result GetOperationResponse, err error)
- func (c TagRulesClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
- func (c TagRulesClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
- func (c TagRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate TagRuleOperationPredicate) (result ListCompleteResult, err error)
- func (c TagRulesClient) Update(ctx context.Context, id TagRuleId, input TagRuleUpdate) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSendAadLogsStatus ¶
func PossibleValuesForSendAadLogsStatus() []string
func PossibleValuesForSendActivityLogsStatus ¶
func PossibleValuesForSendActivityLogsStatus() []string
func PossibleValuesForSendSubscriptionLogsStatus ¶
func PossibleValuesForSendSubscriptionLogsStatus() []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 DeleteOperationResponse ¶
type FilteringTag ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type LogRules ¶
type LogRules struct { FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"` SendAadLogs *SendAadLogsStatus `json:"sendAadLogs,omitempty"` SendActivityLogs *SendActivityLogsStatus `json:"sendActivityLogs,omitempty"` SendSubscriptionLogs *SendSubscriptionLogsStatus `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 MonitoringTagRulesProperties ¶
type MonitoringTagRulesProperties struct { 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 SendAadLogsStatus ¶
type SendAadLogsStatus string
const ( SendAadLogsStatusDisabled SendAadLogsStatus = "Disabled" SendAadLogsStatusEnabled SendAadLogsStatus = "Enabled" )
func (*SendAadLogsStatus) UnmarshalJSON ¶
func (s *SendAadLogsStatus) UnmarshalJSON(bytes []byte) error
type SendActivityLogsStatus ¶
type SendActivityLogsStatus string
const ( SendActivityLogsStatusDisabled SendActivityLogsStatus = "Disabled" SendActivityLogsStatusEnabled SendActivityLogsStatus = "Enabled" )
func (*SendActivityLogsStatus) UnmarshalJSON ¶
func (s *SendActivityLogsStatus) UnmarshalJSON(bytes []byte) error
type SendSubscriptionLogsStatus ¶
type SendSubscriptionLogsStatus string
const ( SendSubscriptionLogsStatusDisabled SendSubscriptionLogsStatus = "Disabled" SendSubscriptionLogsStatusEnabled SendSubscriptionLogsStatus = "Enabled" )
func (*SendSubscriptionLogsStatus) UnmarshalJSON ¶
func (s *SendSubscriptionLogsStatus) UnmarshalJSON(bytes []byte) error
type TagRule ¶
type TagRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties MonitoringTagRulesProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
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 TagRuleOperationPredicate ¶
func (TagRuleOperationPredicate) Matches ¶
func (p TagRuleOperationPredicate) Matches(input TagRule) bool
type TagRuleUpdate ¶
type TagRuleUpdate struct { LogRules *LogRules `json:"logRules,omitempty"` MetricRules *MetricRules `json:"metricRules,omitempty"` }
type TagRulesClient ¶
type TagRulesClient struct {
Client *resourcemanager.Client
}
func NewTagRulesClientWithBaseURI ¶
func NewTagRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*TagRulesClient, error)
func (TagRulesClient) CreateOrUpdate ¶
func (c TagRulesClient) CreateOrUpdate(ctx context.Context, id TagRuleId, input TagRule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TagRulesClient) CreateOrUpdateThenPoll ¶
func (c TagRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id TagRuleId, input TagRule) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (TagRulesClient) Delete ¶
func (c TagRulesClient) Delete(ctx context.Context, id TagRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (TagRulesClient) DeleteThenPoll ¶
func (c TagRulesClient) DeleteThenPoll(ctx context.Context, id TagRuleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (TagRulesClient) Get ¶
func (c TagRulesClient) Get(ctx context.Context, id TagRuleId) (result GetOperationResponse, err error)
Get ...
func (TagRulesClient) List ¶
func (c TagRulesClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
List ...
func (TagRulesClient) ListComplete ¶
func (c TagRulesClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TagRulesClient) ListCompleteMatchingPredicate ¶
func (c TagRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate TagRuleOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TagRulesClient) Update ¶
func (c TagRulesClient) Update(ctx context.Context, id TagRuleId, input TagRuleUpdate) (result UpdateOperationResponse, err error)
Update ...
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- id_tagrule.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_filteringtag.go
- model_logrules.go
- model_metricrules.go
- model_monitoringtagrulesproperties.go
- model_tagrule.go
- model_tagruleupdate.go
- predicates.go
- version.go