Documentation ¶
Index ¶
- func ValidateActivityLogAlertID(input interface{}, key string) (warnings []string, errors []error)
- type ActionGroup
- type ActionList
- type ActivityLogAlertId
- type ActivityLogAlertResource
- type ActivityLogAlertResourceOperationPredicate
- type ActivityLogAlertsAPIsClient
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsCreateOrUpdate(ctx context.Context, id ActivityLogAlertId, input ActivityLogAlertResource) (result ActivityLogAlertsCreateOrUpdateOperationResponse, err error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsDelete(ctx context.Context, id ActivityLogAlertId) (result ActivityLogAlertsDeleteOperationResponse, err error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsGet(ctx context.Context, id ActivityLogAlertId) (result ActivityLogAlertsGetOperationResponse, err error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ActivityLogAlertsListByResourceGroupOperationResponse, err error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ActivityLogAlertsListByResourceGroupCompleteResult, error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ActivityLogAlertsListByResourceGroupCompleteResult, err error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionId(ctx context.Context, id commonids.SubscriptionId) (resp ActivityLogAlertsListBySubscriptionIdOperationResponse, err error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdComplete(ctx context.Context, id commonids.SubscriptionId) (ActivityLogAlertsListBySubscriptionIdCompleteResult, error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ActivityLogAlertsListBySubscriptionIdCompleteResult, err error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsUpdate(ctx context.Context, id ActivityLogAlertId, input AlertRulePatchObject) (result ActivityLogAlertsUpdateOperationResponse, err error)
- type ActivityLogAlertsCreateOrUpdateOperationResponse
- type ActivityLogAlertsDeleteOperationResponse
- type ActivityLogAlertsGetOperationResponse
- type ActivityLogAlertsListByResourceGroupCompleteResult
- type ActivityLogAlertsListByResourceGroupOperationResponse
- type ActivityLogAlertsListBySubscriptionIdCompleteResult
- type ActivityLogAlertsListBySubscriptionIdOperationResponse
- type ActivityLogAlertsUpdateOperationResponse
- type AlertRuleAllOfCondition
- type AlertRuleAnyOfOrLeafCondition
- type AlertRuleLeafCondition
- type AlertRulePatchObject
- type AlertRulePatchProperties
- type AlertRuleProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateActivityLogAlertID ¶
ValidateActivityLogAlertID checks that 'input' can be parsed as a Activity Log Alert ID
Types ¶
type ActionGroup ¶
type ActionList ¶
type ActionList struct {
ActionGroups *[]ActionGroup `json:"actionGroups,omitempty"`
}
type ActivityLogAlertId ¶
type ActivityLogAlertId struct { SubscriptionId string ResourceGroupName string ActivityLogAlertName string }
ActivityLogAlertId is a struct representing the Resource ID for a Activity Log Alert
func NewActivityLogAlertID ¶
func NewActivityLogAlertID(subscriptionId string, resourceGroupName string, activityLogAlertName string) ActivityLogAlertId
NewActivityLogAlertID returns a new ActivityLogAlertId struct
func ParseActivityLogAlertID ¶
func ParseActivityLogAlertID(input string) (*ActivityLogAlertId, error)
ParseActivityLogAlertID parses 'input' into a ActivityLogAlertId
func ParseActivityLogAlertIDInsensitively ¶
func ParseActivityLogAlertIDInsensitively(input string) (*ActivityLogAlertId, error)
ParseActivityLogAlertIDInsensitively parses 'input' case-insensitively into a ActivityLogAlertId note: this method should only be used for API response data and not user input
func (ActivityLogAlertId) ID ¶
func (id ActivityLogAlertId) ID() string
ID returns the formatted Activity Log Alert ID
func (ActivityLogAlertId) Segments ¶
func (id ActivityLogAlertId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Activity Log Alert ID
func (ActivityLogAlertId) String ¶
func (id ActivityLogAlertId) String() string
String returns a human-readable description of this Activity Log Alert ID
type ActivityLogAlertResource ¶
type ActivityLogAlertResource struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AlertRuleProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ActivityLogAlertResourceOperationPredicate ¶
type ActivityLogAlertResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ActivityLogAlertResourceOperationPredicate) Matches ¶
func (p ActivityLogAlertResourceOperationPredicate) Matches(input ActivityLogAlertResource) bool
type ActivityLogAlertsAPIsClient ¶
type ActivityLogAlertsAPIsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewActivityLogAlertsAPIsClientWithBaseURI ¶
func NewActivityLogAlertsAPIsClientWithBaseURI(endpoint string) ActivityLogAlertsAPIsClient
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsCreateOrUpdate ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsCreateOrUpdate(ctx context.Context, id ActivityLogAlertId, input ActivityLogAlertResource) (result ActivityLogAlertsCreateOrUpdateOperationResponse, err error)
ActivityLogAlertsCreateOrUpdate ...
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsDelete ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsDelete(ctx context.Context, id ActivityLogAlertId) (result ActivityLogAlertsDeleteOperationResponse, err error)
ActivityLogAlertsDelete ...
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsGet ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsGet(ctx context.Context, id ActivityLogAlertId) (result ActivityLogAlertsGetOperationResponse, err error)
ActivityLogAlertsGet ...
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroup ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ActivityLogAlertsListByResourceGroupOperationResponse, err error)
ActivityLogAlertsListByResourceGroup ...
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupComplete ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ActivityLogAlertsListByResourceGroupCompleteResult, error)
ActivityLogAlertsListByResourceGroupComplete retrieves all of the results into a single object
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupCompleteMatchingPredicate ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ActivityLogAlertResourceOperationPredicate) (resp ActivityLogAlertsListByResourceGroupCompleteResult, err error)
ActivityLogAlertsListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionId ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionId(ctx context.Context, id commonids.SubscriptionId) (resp ActivityLogAlertsListBySubscriptionIdOperationResponse, err error)
ActivityLogAlertsListBySubscriptionId ...
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdComplete ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdComplete(ctx context.Context, id commonids.SubscriptionId) (ActivityLogAlertsListBySubscriptionIdCompleteResult, error)
ActivityLogAlertsListBySubscriptionIdComplete retrieves all of the results into a single object
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdCompleteMatchingPredicate ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ActivityLogAlertResourceOperationPredicate) (resp ActivityLogAlertsListBySubscriptionIdCompleteResult, err error)
ActivityLogAlertsListBySubscriptionIdCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsUpdate ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsUpdate(ctx context.Context, id ActivityLogAlertId, input AlertRulePatchObject) (result ActivityLogAlertsUpdateOperationResponse, err error)
ActivityLogAlertsUpdate ...
type ActivityLogAlertsCreateOrUpdateOperationResponse ¶
type ActivityLogAlertsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ActivityLogAlertResource }
type ActivityLogAlertsGetOperationResponse ¶
type ActivityLogAlertsGetOperationResponse struct { HttpResponse *http.Response Model *ActivityLogAlertResource }
type ActivityLogAlertsListByResourceGroupCompleteResult ¶
type ActivityLogAlertsListByResourceGroupCompleteResult struct {
Items []ActivityLogAlertResource
}
type ActivityLogAlertsListByResourceGroupOperationResponse ¶
type ActivityLogAlertsListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]ActivityLogAlertResource // contains filtered or unexported fields }
func (ActivityLogAlertsListByResourceGroupOperationResponse) HasMore ¶
func (r ActivityLogAlertsListByResourceGroupOperationResponse) HasMore() bool
func (ActivityLogAlertsListByResourceGroupOperationResponse) LoadMore ¶
func (r ActivityLogAlertsListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ActivityLogAlertsListByResourceGroupOperationResponse, err error)
type ActivityLogAlertsListBySubscriptionIdCompleteResult ¶
type ActivityLogAlertsListBySubscriptionIdCompleteResult struct {
Items []ActivityLogAlertResource
}
type ActivityLogAlertsListBySubscriptionIdOperationResponse ¶
type ActivityLogAlertsListBySubscriptionIdOperationResponse struct { HttpResponse *http.Response Model *[]ActivityLogAlertResource // contains filtered or unexported fields }
func (ActivityLogAlertsListBySubscriptionIdOperationResponse) HasMore ¶
func (r ActivityLogAlertsListBySubscriptionIdOperationResponse) HasMore() bool
func (ActivityLogAlertsListBySubscriptionIdOperationResponse) LoadMore ¶
func (r ActivityLogAlertsListBySubscriptionIdOperationResponse) LoadMore(ctx context.Context) (resp ActivityLogAlertsListBySubscriptionIdOperationResponse, err error)
type ActivityLogAlertsUpdateOperationResponse ¶
type ActivityLogAlertsUpdateOperationResponse struct { HttpResponse *http.Response Model *ActivityLogAlertResource }
type AlertRuleAllOfCondition ¶
type AlertRuleAllOfCondition struct {
AllOf []AlertRuleAnyOfOrLeafCondition `json:"allOf"`
}
type AlertRuleAnyOfOrLeafCondition ¶
type AlertRuleAnyOfOrLeafCondition struct { AnyOf *[]AlertRuleLeafCondition `json:"anyOf,omitempty"` ContainsAny *[]string `json:"containsAny,omitempty"` Equals *string `json:"equals,omitempty"` Field *string `json:"field,omitempty"` }
type AlertRuleLeafCondition ¶
type AlertRulePatchObject ¶
type AlertRulePatchObject struct { Properties *AlertRulePatchProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AlertRulePatchProperties ¶
type AlertRulePatchProperties struct {
Enabled *bool `json:"enabled,omitempty"`
}
type AlertRuleProperties ¶
type AlertRuleProperties struct { Actions ActionList `json:"actions"` Condition AlertRuleAllOfCondition `json:"condition"` Description *string `json:"description,omitempty"` Enabled *bool `json:"enabled,omitempty"` Scopes []string `json:"scopes"` }
Source Files ¶
- client.go
- id_activitylogalert.go
- method_activitylogalertscreateorupdate_autorest.go
- method_activitylogalertsdelete_autorest.go
- method_activitylogalertsget_autorest.go
- method_activitylogalertslistbyresourcegroup_autorest.go
- method_activitylogalertslistbysubscriptionid_autorest.go
- method_activitylogalertsupdate_autorest.go
- model_actiongroup.go
- model_actionlist.go
- model_activitylogalertresource.go
- model_alertruleallofcondition.go
- model_alertruleanyoforleafcondition.go
- model_alertruleleafcondition.go
- model_alertrulepatchobject.go
- model_alertrulepatchproperties.go
- model_alertruleproperties.go
- predicates.go
- version.go