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) (result 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, ...) (result ActivityLogAlertsListByResourceGroupCompleteResult, err error)
- func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionId(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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) FromParseResult ¶
func (id *ActivityLogAlertId) FromParseResult(input resourceids.ParseResult) error
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 *resourcemanager.Client
}
func NewActivityLogAlertsAPIsClientWithBaseURI ¶
func NewActivityLogAlertsAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*ActivityLogAlertsAPIsClient, error)
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) (result ActivityLogAlertsListByResourceGroupOperationResponse, err error)
ActivityLogAlertsListByResourceGroup ...
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupComplete ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ActivityLogAlertsListByResourceGroupCompleteResult, error)
ActivityLogAlertsListByResourceGroupComplete retrieves all the results into a single object
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupCompleteMatchingPredicate ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ActivityLogAlertResourceOperationPredicate) (result ActivityLogAlertsListByResourceGroupCompleteResult, err error)
ActivityLogAlertsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionId ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionId(ctx context.Context, id commonids.SubscriptionId) (result ActivityLogAlertsListBySubscriptionIdOperationResponse, err error)
ActivityLogAlertsListBySubscriptionId ...
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdComplete ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdComplete(ctx context.Context, id commonids.SubscriptionId) (ActivityLogAlertsListBySubscriptionIdCompleteResult, error)
ActivityLogAlertsListBySubscriptionIdComplete retrieves all the results into a single object
func (ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdCompleteMatchingPredicate ¶
func (c ActivityLogAlertsAPIsClient) ActivityLogAlertsListBySubscriptionIdCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ActivityLogAlertResourceOperationPredicate) (result ActivityLogAlertsListBySubscriptionIdCompleteResult, err error)
ActivityLogAlertsListBySubscriptionIdCompleteMatchingPredicate retrieves all the results and then applies 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 OData *odata.OData Model *ActivityLogAlertResource }
type ActivityLogAlertsGetOperationResponse ¶
type ActivityLogAlertsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ActivityLogAlertResource }
type ActivityLogAlertsListByResourceGroupCompleteResult ¶
type ActivityLogAlertsListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ActivityLogAlertResource }
type ActivityLogAlertsListByResourceGroupOperationResponse ¶
type ActivityLogAlertsListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ActivityLogAlertResource }
type ActivityLogAlertsListBySubscriptionIdCompleteResult ¶
type ActivityLogAlertsListBySubscriptionIdCompleteResult struct { LatestHttpResponse *http.Response Items []ActivityLogAlertResource }
type ActivityLogAlertsListBySubscriptionIdOperationResponse ¶
type ActivityLogAlertsListBySubscriptionIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ActivityLogAlertResource }
type ActivityLogAlertsUpdateOperationResponse ¶
type ActivityLogAlertsUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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.go
- method_activitylogalertsdelete.go
- method_activitylogalertsget.go
- method_activitylogalertslistbyresourcegroup.go
- method_activitylogalertslistbysubscriptionid.go
- method_activitylogalertsupdate.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