Documentation ¶
Index ¶
- func ValidateActionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateAlertRuleID(input interface{}, key string) (warnings []string, errors []error)
- type ActionId
- type ActionRequest
- type ActionRequestProperties
- type ActionResponse
- type ActionResponseOperationPredicate
- type ActionResponseProperties
- type ActionsClient
- func (c ActionsClient) CreateOrUpdate(ctx context.Context, id ActionId, input ActionRequest) (result CreateOrUpdateOperationResponse, err error)
- func (c ActionsClient) Delete(ctx context.Context, id ActionId) (result DeleteOperationResponse, err error)
- func (c ActionsClient) Get(ctx context.Context, id ActionId) (result GetOperationResponse, err error)
- func (c ActionsClient) ListByAlertRule(ctx context.Context, id AlertRuleId) (resp ListByAlertRuleOperationResponse, err error)
- func (c ActionsClient) ListByAlertRuleComplete(ctx context.Context, id AlertRuleId) (ListByAlertRuleCompleteResult, error)
- func (c ActionsClient) ListByAlertRuleCompleteMatchingPredicate(ctx context.Context, id AlertRuleId, ...) (resp ListByAlertRuleCompleteResult, err error)
- type AlertRuleId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAlertRuleCompleteResult
- type ListByAlertRuleOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateActionID ¶
ValidateActionID checks that 'input' can be parsed as a Action ID
func ValidateAlertRuleID ¶
ValidateAlertRuleID checks that 'input' can be parsed as a Alert Rule ID
Types ¶
type ActionId ¶
type ActionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string RuleId string ActionId string }
ActionId is a struct representing the Resource ID for a Action
func NewActionID ¶
func NewActionID(subscriptionId string, resourceGroupName string, workspaceName string, ruleId string, actionId string) ActionId
NewActionID returns a new ActionId struct
func ParseActionID ¶
ParseActionID parses 'input' into a ActionId
func ParseActionIDInsensitively ¶
ParseActionIDInsensitively parses 'input' case-insensitively into a ActionId note: this method should only be used for API response data and not user input
func (*ActionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ActionId) FromParseResult(input resourceids.ParseResult) error
func (ActionId) Segments ¶
func (id ActionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Action ID
type ActionRequest ¶
type ActionRequest struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ActionRequestProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ActionRequestProperties ¶
type ActionResponse ¶
type ActionResponse struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ActionResponseProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ActionResponseOperationPredicate ¶
func (ActionResponseOperationPredicate) Matches ¶
func (p ActionResponseOperationPredicate) Matches(input ActionResponse) bool
type ActionsClient ¶
func NewActionsClientWithBaseURI ¶
func NewActionsClientWithBaseURI(endpoint string) ActionsClient
func (ActionsClient) CreateOrUpdate ¶
func (c ActionsClient) CreateOrUpdate(ctx context.Context, id ActionId, input ActionRequest) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ActionsClient) Delete ¶
func (c ActionsClient) Delete(ctx context.Context, id ActionId) (result DeleteOperationResponse, err error)
Delete ...
func (ActionsClient) Get ¶
func (c ActionsClient) Get(ctx context.Context, id ActionId) (result GetOperationResponse, err error)
Get ...
func (ActionsClient) ListByAlertRule ¶
func (c ActionsClient) ListByAlertRule(ctx context.Context, id AlertRuleId) (resp ListByAlertRuleOperationResponse, err error)
ListByAlertRule ...
func (ActionsClient) ListByAlertRuleComplete ¶
func (c ActionsClient) ListByAlertRuleComplete(ctx context.Context, id AlertRuleId) (ListByAlertRuleCompleteResult, error)
ListByAlertRuleComplete retrieves all of the results into a single object
func (ActionsClient) ListByAlertRuleCompleteMatchingPredicate ¶
func (c ActionsClient) ListByAlertRuleCompleteMatchingPredicate(ctx context.Context, id AlertRuleId, predicate ActionResponseOperationPredicate) (resp ListByAlertRuleCompleteResult, err error)
ListByAlertRuleCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type AlertRuleId ¶
type AlertRuleId struct { SubscriptionId string ResourceGroupName string WorkspaceName string RuleId string }
AlertRuleId is a struct representing the Resource ID for a Alert Rule
func NewAlertRuleID ¶
func NewAlertRuleID(subscriptionId string, resourceGroupName string, workspaceName string, ruleId string) AlertRuleId
NewAlertRuleID returns a new AlertRuleId struct
func ParseAlertRuleID ¶
func ParseAlertRuleID(input string) (*AlertRuleId, error)
ParseAlertRuleID parses 'input' into a AlertRuleId
func ParseAlertRuleIDInsensitively ¶
func ParseAlertRuleIDInsensitively(input string) (*AlertRuleId, error)
ParseAlertRuleIDInsensitively parses 'input' case-insensitively into a AlertRuleId note: this method should only be used for API response data and not user input
func (*AlertRuleId) FromParseResult ¶ added in v0.20231127.1171502
func (id *AlertRuleId) FromParseResult(input resourceids.ParseResult) error
func (AlertRuleId) Segments ¶
func (id AlertRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Alert Rule ID
func (AlertRuleId) String ¶
func (id AlertRuleId) String() string
String returns a human-readable description of this Alert Rule ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ActionResponse }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ActionResponse }
type ListByAlertRuleCompleteResult ¶
type ListByAlertRuleCompleteResult struct {
Items []ActionResponse
}
type ListByAlertRuleOperationResponse ¶
type ListByAlertRuleOperationResponse struct { HttpResponse *http.Response Model *[]ActionResponse // contains filtered or unexported fields }
func (ListByAlertRuleOperationResponse) HasMore ¶
func (r ListByAlertRuleOperationResponse) HasMore() bool
func (ListByAlertRuleOperationResponse) LoadMore ¶
func (r ListByAlertRuleOperationResponse) LoadMore(ctx context.Context) (resp ListByAlertRuleOperationResponse, err error)