Documentation ¶
Index ¶
- func PossibleValuesForFilterType() []string
- func ValidateRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptions2ID(input interface{}, key string) (warnings []string, errors []error)
- type Action
- type CorrelationFilter
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FilterType
- type ListBySubscriptionsCompleteResult
- type ListBySubscriptionsCustomPager
- type ListBySubscriptionsOperationOptions
- type ListBySubscriptionsOperationResponse
- type Rule
- type RuleId
- type RuleOperationPredicate
- type Ruleproperties
- type RulesClient
- func (c RulesClient) CreateOrUpdate(ctx context.Context, id RuleId, input Rule) (result CreateOrUpdateOperationResponse, err error)
- func (c RulesClient) Delete(ctx context.Context, id RuleId) (result DeleteOperationResponse, err error)
- func (c RulesClient) ListBySubscriptions(ctx context.Context, id Subscriptions2Id, ...) (result ListBySubscriptionsOperationResponse, err error)
- func (c RulesClient) ListBySubscriptionsComplete(ctx context.Context, id Subscriptions2Id, ...) (ListBySubscriptionsCompleteResult, error)
- func (c RulesClient) ListBySubscriptionsCompleteMatchingPredicate(ctx context.Context, id Subscriptions2Id, ...) (result ListBySubscriptionsCompleteResult, err error)
- type SqlFilter
- type Subscriptions2Id
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFilterType ¶
func PossibleValuesForFilterType() []string
func ValidateRuleID ¶
ValidateRuleID checks that 'input' can be parsed as a Rule ID
func ValidateSubscriptions2ID ¶
ValidateSubscriptions2ID checks that 'input' can be parsed as a Subscriptions 2 ID
Types ¶
type CorrelationFilter ¶
type CorrelationFilter struct { ContentType *string `json:"contentType,omitempty"` CorrelationId *string `json:"correlationId,omitempty"` Label *string `json:"label,omitempty"` MessageId *string `json:"messageId,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ReplyTo *string `json:"replyTo,omitempty"` ReplyToSessionId *string `json:"replyToSessionId,omitempty"` RequiresPreprocessing *bool `json:"requiresPreprocessing,omitempty"` SessionId *string `json:"sessionId,omitempty"` To *string `json:"to,omitempty"` }
type DeleteOperationResponse ¶
type FilterType ¶
type FilterType string
const ( FilterTypeCorrelationFilter FilterType = "CorrelationFilter" FilterTypeSqlFilter FilterType = "SqlFilter" )
func (*FilterType) UnmarshalJSON ¶
func (s *FilterType) UnmarshalJSON(bytes []byte) error
type ListBySubscriptionsCustomPager ¶
func (*ListBySubscriptionsCustomPager) NextPageLink ¶
func (p *ListBySubscriptionsCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionsOperationOptions ¶
func DefaultListBySubscriptionsOperationOptions ¶
func DefaultListBySubscriptionsOperationOptions() ListBySubscriptionsOperationOptions
func (ListBySubscriptionsOperationOptions) ToHeaders ¶
func (o ListBySubscriptionsOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionsOperationOptions) ToOData ¶
func (o ListBySubscriptionsOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionsOperationOptions) ToQuery ¶
func (o ListBySubscriptionsOperationOptions) ToQuery() *client.QueryParams
type Rule ¶
type Rule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *Ruleproperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type RuleId ¶
type RuleId struct { SubscriptionId string ResourceGroupName string NamespaceName string TopicName string SubscriptionName string RuleName string }
RuleId is a struct representing the Resource ID for a Rule
func NewRuleID ¶
func NewRuleID(subscriptionId string, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string) RuleId
NewRuleID returns a new RuleId struct
func ParseRuleID ¶
ParseRuleID parses 'input' into a RuleId
func ParseRuleIDInsensitively ¶
ParseRuleIDInsensitively parses 'input' case-insensitively into a RuleId note: this method should only be used for API response data and not user input
func (*RuleId) FromParseResult ¶
func (id *RuleId) FromParseResult(input resourceids.ParseResult) error
func (RuleId) Segments ¶
func (id RuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Rule ID
type RuleOperationPredicate ¶
func (RuleOperationPredicate) Matches ¶
func (p RuleOperationPredicate) Matches(input Rule) bool
type Ruleproperties ¶
type Ruleproperties struct { Action *Action `json:"action,omitempty"` CorrelationFilter *CorrelationFilter `json:"correlationFilter,omitempty"` FilterType *FilterType `json:"filterType,omitempty"` SqlFilter *SqlFilter `json:"sqlFilter,omitempty"` }
type RulesClient ¶
type RulesClient struct {
Client *resourcemanager.Client
}
func NewRulesClientWithBaseURI ¶
func NewRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*RulesClient, error)
func (RulesClient) CreateOrUpdate ¶
func (c RulesClient) CreateOrUpdate(ctx context.Context, id RuleId, input Rule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (RulesClient) Delete ¶
func (c RulesClient) Delete(ctx context.Context, id RuleId) (result DeleteOperationResponse, err error)
Delete ...
func (RulesClient) ListBySubscriptions ¶
func (c RulesClient) ListBySubscriptions(ctx context.Context, id Subscriptions2Id, options ListBySubscriptionsOperationOptions) (result ListBySubscriptionsOperationResponse, err error)
ListBySubscriptions ...
func (RulesClient) ListBySubscriptionsComplete ¶
func (c RulesClient) ListBySubscriptionsComplete(ctx context.Context, id Subscriptions2Id, options ListBySubscriptionsOperationOptions) (ListBySubscriptionsCompleteResult, error)
ListBySubscriptionsComplete retrieves all the results into a single object
func (RulesClient) ListBySubscriptionsCompleteMatchingPredicate ¶
func (c RulesClient) ListBySubscriptionsCompleteMatchingPredicate(ctx context.Context, id Subscriptions2Id, options ListBySubscriptionsOperationOptions, predicate RuleOperationPredicate) (result ListBySubscriptionsCompleteResult, err error)
ListBySubscriptionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
type Subscriptions2Id ¶
type Subscriptions2Id struct { SubscriptionId string ResourceGroupName string NamespaceName string TopicName string SubscriptionName string }
Subscriptions2Id is a struct representing the Resource ID for a Subscriptions 2
func NewSubscriptions2ID ¶
func NewSubscriptions2ID(subscriptionId string, resourceGroupName string, namespaceName string, topicName string, subscriptionName string) Subscriptions2Id
NewSubscriptions2ID returns a new Subscriptions2Id struct
func ParseSubscriptions2ID ¶
func ParseSubscriptions2ID(input string) (*Subscriptions2Id, error)
ParseSubscriptions2ID parses 'input' into a Subscriptions2Id
func ParseSubscriptions2IDInsensitively ¶
func ParseSubscriptions2IDInsensitively(input string) (*Subscriptions2Id, error)
ParseSubscriptions2IDInsensitively parses 'input' case-insensitively into a Subscriptions2Id note: this method should only be used for API response data and not user input
func (*Subscriptions2Id) FromParseResult ¶
func (id *Subscriptions2Id) FromParseResult(input resourceids.ParseResult) error
func (Subscriptions2Id) ID ¶
func (id Subscriptions2Id) ID() string
ID returns the formatted Subscriptions 2 ID
func (Subscriptions2Id) Segments ¶
func (id Subscriptions2Id) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscriptions 2 ID
func (Subscriptions2Id) String ¶
func (id Subscriptions2Id) String() string
String returns a human-readable description of this Subscriptions 2 ID