Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForTagAction() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateAccountTagRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagRuleID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type AccountTagRuleId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FilteringTag
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type LogRules
- type MonitorId
- type MonitoringTagRules
- type MonitoringTagRulesOperationPredicate
- type MonitoringTagRulesProperties
- type ProvisioningState
- type SubAccountTagRulesCreateOrUpdateOperationResponse
- type SubAccountTagRulesDeleteOperationResponse
- type SubAccountTagRulesGetOperationResponse
- type SubAccountTagRulesListCompleteResult
- type SubAccountTagRulesListOperationResponse
- type TagAction
- type TagRuleId
- type TagRulesClient
- func (c TagRulesClient) CreateOrUpdate(ctx context.Context, id TagRuleId, input MonitoringTagRules) (result CreateOrUpdateOperationResponse, err error)
- func (c TagRulesClient) Delete(ctx context.Context, id TagRuleId) (result DeleteOperationResponse, err error)
- func (c TagRulesClient) Get(ctx context.Context, id TagRuleId) (result GetOperationResponse, err error)
- func (c TagRulesClient) List(ctx context.Context, id MonitorId) (resp ListOperationResponse, err error)
- func (c TagRulesClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
- func (c TagRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (resp ListCompleteResult, err error)
- func (c TagRulesClient) SubAccountTagRulesCreateOrUpdate(ctx context.Context, id AccountTagRuleId, input MonitoringTagRules) (result SubAccountTagRulesCreateOrUpdateOperationResponse, err error)
- func (c TagRulesClient) SubAccountTagRulesDelete(ctx context.Context, id AccountTagRuleId) (result SubAccountTagRulesDeleteOperationResponse, err error)
- func (c TagRulesClient) SubAccountTagRulesGet(ctx context.Context, id AccountTagRuleId) (result SubAccountTagRulesGetOperationResponse, err error)
- func (c TagRulesClient) SubAccountTagRulesList(ctx context.Context, id AccountId) (resp SubAccountTagRulesListOperationResponse, err error)
- func (c TagRulesClient) SubAccountTagRulesListComplete(ctx context.Context, id AccountId) (SubAccountTagRulesListCompleteResult, error)
- func (c TagRulesClient) SubAccountTagRulesListCompleteMatchingPredicate(ctx context.Context, id AccountId, ...) (resp SubAccountTagRulesListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForTagAction ¶
func PossibleValuesForTagAction() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateAccountTagRuleID ¶
ValidateAccountTagRuleID checks that 'input' can be parsed as a Account Tag Rule ID
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 AccountId ¶
type AccountId struct { SubscriptionId string ResourceGroupName string MonitorName string AccountName string }
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
func NewAccountID(subscriptionId string, resourceGroupName string, monitorName string, accountName string) AccountId
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type AccountTagRuleId ¶
type AccountTagRuleId struct { SubscriptionId string ResourceGroupName string MonitorName string AccountName string TagRuleName string }
AccountTagRuleId is a struct representing the Resource ID for a Account Tag Rule
func NewAccountTagRuleID ¶
func NewAccountTagRuleID(subscriptionId string, resourceGroupName string, monitorName string, accountName string, tagRuleName string) AccountTagRuleId
NewAccountTagRuleID returns a new AccountTagRuleId struct
func ParseAccountTagRuleID ¶
func ParseAccountTagRuleID(input string) (*AccountTagRuleId, error)
ParseAccountTagRuleID parses 'input' into a AccountTagRuleId
func ParseAccountTagRuleIDInsensitively ¶
func ParseAccountTagRuleIDInsensitively(input string) (*AccountTagRuleId, error)
ParseAccountTagRuleIDInsensitively parses 'input' case-insensitively into a AccountTagRuleId note: this method should only be used for API response data and not user input
func (AccountTagRuleId) ID ¶
func (id AccountTagRuleId) ID() string
ID returns the formatted Account Tag Rule ID
func (AccountTagRuleId) Segments ¶
func (id AccountTagRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account Tag Rule ID
func (AccountTagRuleId) String ¶
func (id AccountTagRuleId) String() string
String returns a human-readable description of this Account Tag Rule ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *MonitoringTagRules }
type DeleteOperationResponse ¶
type FilteringTag ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *MonitoringTagRules }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []MonitoringTagRules
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]MonitoringTagRules // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
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"` SystemData *systemdata.SystemData `json:"systemData,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 SubAccountTagRulesCreateOrUpdateOperationResponse ¶
type SubAccountTagRulesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *MonitoringTagRules }
type SubAccountTagRulesGetOperationResponse ¶
type SubAccountTagRulesGetOperationResponse struct { HttpResponse *http.Response Model *MonitoringTagRules }
type SubAccountTagRulesListCompleteResult ¶
type SubAccountTagRulesListCompleteResult struct {
Items []MonitoringTagRules
}
type SubAccountTagRulesListOperationResponse ¶
type SubAccountTagRulesListOperationResponse struct { HttpResponse *http.Response Model *[]MonitoringTagRules // contains filtered or unexported fields }
func (SubAccountTagRulesListOperationResponse) HasMore ¶
func (r SubAccountTagRulesListOperationResponse) HasMore() bool
func (SubAccountTagRulesListOperationResponse) LoadMore ¶
func (r SubAccountTagRulesListOperationResponse) LoadMore(ctx context.Context) (resp SubAccountTagRulesListOperationResponse, err error)
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 TagRulesClient ¶
func NewTagRulesClientWithBaseURI ¶
func NewTagRulesClientWithBaseURI(endpoint string) TagRulesClient
func (TagRulesClient) CreateOrUpdate ¶
func (c TagRulesClient) CreateOrUpdate(ctx context.Context, id TagRuleId, input MonitoringTagRules) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TagRulesClient) Delete ¶
func (c TagRulesClient) Delete(ctx context.Context, id TagRuleId) (result DeleteOperationResponse, err error)
Delete ...
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) (resp ListOperationResponse, err error)
List ...
func (TagRulesClient) ListComplete ¶
func (c TagRulesClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (TagRulesClient) ListCompleteMatchingPredicate ¶
func (c TagRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate MonitoringTagRulesOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (TagRulesClient) SubAccountTagRulesCreateOrUpdate ¶
func (c TagRulesClient) SubAccountTagRulesCreateOrUpdate(ctx context.Context, id AccountTagRuleId, input MonitoringTagRules) (result SubAccountTagRulesCreateOrUpdateOperationResponse, err error)
SubAccountTagRulesCreateOrUpdate ...
func (TagRulesClient) SubAccountTagRulesDelete ¶
func (c TagRulesClient) SubAccountTagRulesDelete(ctx context.Context, id AccountTagRuleId) (result SubAccountTagRulesDeleteOperationResponse, err error)
SubAccountTagRulesDelete ...
func (TagRulesClient) SubAccountTagRulesGet ¶
func (c TagRulesClient) SubAccountTagRulesGet(ctx context.Context, id AccountTagRuleId) (result SubAccountTagRulesGetOperationResponse, err error)
SubAccountTagRulesGet ...
func (TagRulesClient) SubAccountTagRulesList ¶
func (c TagRulesClient) SubAccountTagRulesList(ctx context.Context, id AccountId) (resp SubAccountTagRulesListOperationResponse, err error)
SubAccountTagRulesList ...
func (TagRulesClient) SubAccountTagRulesListComplete ¶
func (c TagRulesClient) SubAccountTagRulesListComplete(ctx context.Context, id AccountId) (SubAccountTagRulesListCompleteResult, error)
SubAccountTagRulesListComplete retrieves all of the results into a single object
func (TagRulesClient) SubAccountTagRulesListCompleteMatchingPredicate ¶
func (c TagRulesClient) SubAccountTagRulesListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate MonitoringTagRulesOperationPredicate) (resp SubAccountTagRulesListCompleteResult, err error)
SubAccountTagRulesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_accounttagrule.go
- id_monitor.go
- id_tagrule.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_subaccounttagrulescreateorupdate_autorest.go
- method_subaccounttagrulesdelete_autorest.go
- method_subaccounttagrulesget_autorest.go
- method_subaccounttagruleslist_autorest.go
- model_filteringtag.go
- model_logrules.go
- model_monitoringtagrules.go
- model_monitoringtagrulesproperties.go
- predicates.go
- version.go