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 ListCustomPager
- type ListOperationResponse
- type LogRules
- type MonitorId
- type MonitoringTagRules
- type MonitoringTagRulesOperationPredicate
- type MonitoringTagRulesProperties
- type ProvisioningState
- type SubAccountTagRulesCreateOrUpdateOperationResponse
- type SubAccountTagRulesDeleteOperationResponse
- type SubAccountTagRulesGetOperationResponse
- type SubAccountTagRulesListCompleteResult
- type SubAccountTagRulesListCustomPager
- 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) (result ListOperationResponse, err error)
- func (c TagRulesClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
- func (c TagRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result 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) (result SubAccountTagRulesListOperationResponse, err error)
- func (c TagRulesClient) SubAccountTagRulesListComplete(ctx context.Context, id AccountId) (SubAccountTagRulesListCompleteResult, error)
- func (c TagRulesClient) SubAccountTagRulesListCompleteMatchingPredicate(ctx context.Context, id AccountId, ...) (result 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) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *AccountTagRuleId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData Model *MonitoringTagRules }
type DeleteOperationResponse ¶
type FilteringTag ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MonitoringTagRules }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []MonitoringTagRules }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoringTagRules }
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) 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 { 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" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SubAccountTagRulesCreateOrUpdateOperationResponse ¶
type SubAccountTagRulesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MonitoringTagRules }
type SubAccountTagRulesGetOperationResponse ¶
type SubAccountTagRulesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MonitoringTagRules }
type SubAccountTagRulesListCompleteResult ¶
type SubAccountTagRulesListCompleteResult struct { LatestHttpResponse *http.Response Items []MonitoringTagRules }
type SubAccountTagRulesListCustomPager ¶
func (*SubAccountTagRulesListCustomPager) NextPageLink ¶
func (p *SubAccountTagRulesListCustomPager) NextPageLink() *odata.Link
type SubAccountTagRulesListOperationResponse ¶
type SubAccountTagRulesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoringTagRules }
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 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 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) (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 MonitoringTagRulesOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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) (result SubAccountTagRulesListOperationResponse, err error)
SubAccountTagRulesList ...
func (TagRulesClient) SubAccountTagRulesListComplete ¶
func (c TagRulesClient) SubAccountTagRulesListComplete(ctx context.Context, id AccountId) (SubAccountTagRulesListCompleteResult, error)
SubAccountTagRulesListComplete retrieves all the results into a single object
func (TagRulesClient) SubAccountTagRulesListCompleteMatchingPredicate ¶
func (c TagRulesClient) SubAccountTagRulesListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate MonitoringTagRulesOperationPredicate) (result SubAccountTagRulesListCompleteResult, err error)
SubAccountTagRulesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_accounttagrule.go
- id_monitor.go
- id_tagrule.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_subaccounttagrulescreateorupdate.go
- method_subaccounttagrulesdelete.go
- method_subaccounttagrulesget.go
- method_subaccounttagruleslist.go
- model_filteringtag.go
- model_logrules.go
- model_monitoringtagrules.go
- model_monitoringtagrulesproperties.go
- predicates.go
- version.go