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 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) TagRulesDelete(ctx context.Context, id TagRuleId) (result TagRulesDeleteOperationResponse, err error)
- func (c RulesClient) TagRulesDeleteThenPoll(ctx context.Context, id TagRuleId) error
- func (c RulesClient) TagRulesGet(ctx context.Context, id TagRuleId) (result TagRulesGetOperationResponse, err error)
- func (c RulesClient) TagRulesList(ctx context.Context, id MonitorId) (resp TagRulesListOperationResponse, err error)
- func (c RulesClient) TagRulesListComplete(ctx context.Context, id MonitorId) (TagRulesListCompleteResult, error)
- func (c RulesClient) TagRulesListCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (resp TagRulesListCompleteResult, err error)
- type TagAction
- type TagRuleId
- type TagRulesCreateOrUpdateOperationResponse
- type TagRulesDeleteOperationResponse
- type TagRulesGetOperationResponse
- type TagRulesListCompleteResult
- 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"` SendActivityLogs *bool `json:"sendActivityLogs,omitempty"` SendSubscriptionLogs *bool `json:"sendSubscriptionLogs,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) 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 { LogRules *LogRules `json:"logRules,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" )
type RulesClient ¶
func NewRulesClientWithBaseURI ¶
func NewRulesClientWithBaseURI(endpoint string) RulesClient
func (RulesClient) TagRulesCreateOrUpdate ¶
func (c RulesClient) TagRulesCreateOrUpdate(ctx context.Context, id TagRuleId, input MonitoringTagRules) (result TagRulesCreateOrUpdateOperationResponse, err error)
TagRulesCreateOrUpdate ...
func (RulesClient) TagRulesDelete ¶
func (c RulesClient) TagRulesDelete(ctx context.Context, id TagRuleId) (result TagRulesDeleteOperationResponse, err error)
TagRulesDelete ...
func (RulesClient) TagRulesDeleteThenPoll ¶
func (c RulesClient) TagRulesDeleteThenPoll(ctx context.Context, id TagRuleId) error
TagRulesDeleteThenPoll performs TagRulesDelete then polls until it's completed
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) (resp TagRulesListOperationResponse, err error)
TagRulesList ...
func (RulesClient) TagRulesListComplete ¶
func (c RulesClient) TagRulesListComplete(ctx context.Context, id MonitorId) (TagRulesListCompleteResult, error)
TagRulesListComplete retrieves all of the results into a single object
func (RulesClient) TagRulesListCompleteMatchingPredicate ¶
func (c RulesClient) TagRulesListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate MonitoringTagRulesOperationPredicate) (resp TagRulesListCompleteResult, err error)
TagRulesListCompleteMatchingPredicate retrieves all of the results and then applied 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) 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 Model *MonitoringTagRules }
type TagRulesDeleteOperationResponse ¶
type TagRulesDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type TagRulesGetOperationResponse ¶
type TagRulesGetOperationResponse struct { HttpResponse *http.Response Model *MonitoringTagRules }
type TagRulesListCompleteResult ¶
type TagRulesListCompleteResult struct {
Items []MonitoringTagRules
}
type TagRulesListOperationResponse ¶
type TagRulesListOperationResponse struct { HttpResponse *http.Response Model *[]MonitoringTagRules // contains filtered or unexported fields }
func (TagRulesListOperationResponse) HasMore ¶
func (r TagRulesListOperationResponse) HasMore() bool
func (TagRulesListOperationResponse) LoadMore ¶
func (r TagRulesListOperationResponse) LoadMore(ctx context.Context) (resp TagRulesListOperationResponse, err error)
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- id_tagrule.go
- method_tagrulescreateorupdate_autorest.go
- method_tagrulesdelete_autorest.go
- method_tagrulesget_autorest.go
- method_tagruleslist_autorest.go
- model_filteringtag.go
- model_logrules.go
- model_monitoringtagrules.go
- model_monitoringtagrulesproperties.go
- predicates.go
- version.go