Documentation ¶
Index ¶
- func PossibleValuesForEntityStatus() []string
- func PossibleValuesForFilterType() []string
- func ValidateRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptions2ID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTopicID(input interface{}, key string) (warnings []string, errors []error)
- type Action
- type CorrelationFilter
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EntityStatus
- type FilterType
- type GetOperationResponse
- type ListByTopicCompleteResult
- type ListByTopicOperationOptions
- type ListByTopicOperationResponse
- type MessageCountDetails
- type Rule
- type RuleId
- type Ruleproperties
- type RulesGetOperationResponse
- type SBClientAffineProperties
- type SBSubscription
- type SBSubscriptionOperationPredicate
- type SBSubscriptionProperties
- func (o *SBSubscriptionProperties) GetAccessedAtAsTime() (*time.Time, error)
- func (o *SBSubscriptionProperties) GetCreatedAtAsTime() (*time.Time, error)
- func (o *SBSubscriptionProperties) GetUpdatedAtAsTime() (*time.Time, error)
- func (o *SBSubscriptionProperties) SetAccessedAtAsTime(input time.Time)
- func (o *SBSubscriptionProperties) SetCreatedAtAsTime(input time.Time)
- func (o *SBSubscriptionProperties) SetUpdatedAtAsTime(input time.Time)
- type SqlFilter
- type Subscriptions2Id
- type SubscriptionsClient
- func (c SubscriptionsClient) CreateOrUpdate(ctx context.Context, id Subscriptions2Id, input SBSubscription) (result CreateOrUpdateOperationResponse, err error)
- func (c SubscriptionsClient) Delete(ctx context.Context, id Subscriptions2Id) (result DeleteOperationResponse, err error)
- func (c SubscriptionsClient) Get(ctx context.Context, id Subscriptions2Id) (result GetOperationResponse, err error)
- func (c SubscriptionsClient) ListByTopic(ctx context.Context, id TopicId, options ListByTopicOperationOptions) (resp ListByTopicOperationResponse, err error)
- func (c SubscriptionsClient) ListByTopicComplete(ctx context.Context, id TopicId, options ListByTopicOperationOptions) (ListByTopicCompleteResult, error)
- func (c SubscriptionsClient) ListByTopicCompleteMatchingPredicate(ctx context.Context, id TopicId, options ListByTopicOperationOptions, ...) (resp ListByTopicCompleteResult, err error)
- func (c SubscriptionsClient) RulesGet(ctx context.Context, id RuleId) (result RulesGetOperationResponse, err error)
- type TopicId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEntityStatus ¶
func PossibleValuesForEntityStatus() []string
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
func ValidateTopicID ¶
ValidateTopicID checks that 'input' can be parsed as a Topic 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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *SBSubscription }
type DeleteOperationResponse ¶
type EntityStatus ¶
type EntityStatus string
const ( EntityStatusActive EntityStatus = "Active" EntityStatusCreating EntityStatus = "Creating" EntityStatusDeleting EntityStatus = "Deleting" EntityStatusDisabled EntityStatus = "Disabled" EntityStatusReceiveDisabled EntityStatus = "ReceiveDisabled" EntityStatusRenaming EntityStatus = "Renaming" EntityStatusRestoring EntityStatus = "Restoring" EntityStatusSendDisabled EntityStatus = "SendDisabled" EntityStatusUnknown EntityStatus = "Unknown" )
type FilterType ¶
type FilterType string
const ( FilterTypeCorrelationFilter FilterType = "CorrelationFilter" FilterTypeSqlFilter FilterType = "SqlFilter" )
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SBSubscription }
type ListByTopicCompleteResult ¶
type ListByTopicCompleteResult struct {
Items []SBSubscription
}
type ListByTopicOperationOptions ¶
func DefaultListByTopicOperationOptions ¶
func DefaultListByTopicOperationOptions() ListByTopicOperationOptions
type ListByTopicOperationResponse ¶
type ListByTopicOperationResponse struct { HttpResponse *http.Response Model *[]SBSubscription // contains filtered or unexported fields }
func (ListByTopicOperationResponse) HasMore ¶
func (r ListByTopicOperationResponse) HasMore() bool
func (ListByTopicOperationResponse) LoadMore ¶
func (r ListByTopicOperationResponse) LoadMore(ctx context.Context) (resp ListByTopicOperationResponse, err error)
type MessageCountDetails ¶
type MessageCountDetails struct { ActiveMessageCount *int64 `json:"activeMessageCount,omitempty"` DeadLetterMessageCount *int64 `json:"deadLetterMessageCount,omitempty"` ScheduledMessageCount *int64 `json:"scheduledMessageCount,omitempty"` TransferDeadLetterMessageCount *int64 `json:"transferDeadLetterMessageCount,omitempty"` TransferMessageCount *int64 `json:"transferMessageCount,omitempty"` }
type Rule ¶
type Rule struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *Ruleproperties `json:"properties"` 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) Segments ¶
func (id RuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Rule ID
type Ruleproperties ¶
type Ruleproperties struct { Action *Action `json:"action"` CorrelationFilter *CorrelationFilter `json:"correlationFilter"` FilterType *FilterType `json:"filterType,omitempty"` SqlFilter *SqlFilter `json:"sqlFilter"` }
type SBSubscription ¶
type SBSubscription struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *SBSubscriptionProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SBSubscriptionOperationPredicate ¶
type SBSubscriptionOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (SBSubscriptionOperationPredicate) Matches ¶
func (p SBSubscriptionOperationPredicate) Matches(input SBSubscription) bool
type SBSubscriptionProperties ¶
type SBSubscriptionProperties struct { AccessedAt *string `json:"accessedAt,omitempty"` AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"` ClientAffineProperties *SBClientAffineProperties `json:"clientAffineProperties"` CountDetails *MessageCountDetails `json:"countDetails"` CreatedAt *string `json:"createdAt,omitempty"` DeadLetteringOnFilterEvaluationExceptions *bool `json:"deadLetteringOnFilterEvaluationExceptions,omitempty"` DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,omitempty"` DefaultMessageTimeToLive *string `json:"defaultMessageTimeToLive,omitempty"` DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty"` EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty"` ForwardDeadLetteredMessagesTo *string `json:"forwardDeadLetteredMessagesTo,omitempty"` ForwardTo *string `json:"forwardTo,omitempty"` IsClientAffine *bool `json:"isClientAffine,omitempty"` LockDuration *string `json:"lockDuration,omitempty"` MaxDeliveryCount *int64 `json:"maxDeliveryCount,omitempty"` MessageCount *int64 `json:"messageCount,omitempty"` RequiresSession *bool `json:"requiresSession,omitempty"` Status *EntityStatus `json:"status,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` }
func (*SBSubscriptionProperties) GetAccessedAtAsTime ¶
func (o *SBSubscriptionProperties) GetAccessedAtAsTime() (*time.Time, error)
func (*SBSubscriptionProperties) GetCreatedAtAsTime ¶
func (o *SBSubscriptionProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*SBSubscriptionProperties) GetUpdatedAtAsTime ¶
func (o *SBSubscriptionProperties) GetUpdatedAtAsTime() (*time.Time, error)
func (*SBSubscriptionProperties) SetAccessedAtAsTime ¶
func (o *SBSubscriptionProperties) SetAccessedAtAsTime(input time.Time)
func (*SBSubscriptionProperties) SetCreatedAtAsTime ¶
func (o *SBSubscriptionProperties) SetCreatedAtAsTime(input time.Time)
func (*SBSubscriptionProperties) SetUpdatedAtAsTime ¶
func (o *SBSubscriptionProperties) SetUpdatedAtAsTime(input time.Time)
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) 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
type SubscriptionsClient ¶
type SubscriptionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSubscriptionsClientWithBaseURI ¶
func NewSubscriptionsClientWithBaseURI(endpoint string) SubscriptionsClient
func (SubscriptionsClient) CreateOrUpdate ¶
func (c SubscriptionsClient) CreateOrUpdate(ctx context.Context, id Subscriptions2Id, input SBSubscription) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SubscriptionsClient) Delete ¶
func (c SubscriptionsClient) Delete(ctx context.Context, id Subscriptions2Id) (result DeleteOperationResponse, err error)
Delete ...
func (SubscriptionsClient) Get ¶
func (c SubscriptionsClient) Get(ctx context.Context, id Subscriptions2Id) (result GetOperationResponse, err error)
Get ...
func (SubscriptionsClient) ListByTopic ¶
func (c SubscriptionsClient) ListByTopic(ctx context.Context, id TopicId, options ListByTopicOperationOptions) (resp ListByTopicOperationResponse, err error)
ListByTopic ...
func (SubscriptionsClient) ListByTopicComplete ¶
func (c SubscriptionsClient) ListByTopicComplete(ctx context.Context, id TopicId, options ListByTopicOperationOptions) (ListByTopicCompleteResult, error)
ListByTopicComplete retrieves all of the results into a single object
func (SubscriptionsClient) ListByTopicCompleteMatchingPredicate ¶
func (c SubscriptionsClient) ListByTopicCompleteMatchingPredicate(ctx context.Context, id TopicId, options ListByTopicOperationOptions, predicate SBSubscriptionOperationPredicate) (resp ListByTopicCompleteResult, err error)
ListByTopicCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SubscriptionsClient) RulesGet ¶
func (c SubscriptionsClient) RulesGet(ctx context.Context, id RuleId) (result RulesGetOperationResponse, err error)
RulesGet ...
type TopicId ¶
type TopicId struct { SubscriptionId string ResourceGroupName string NamespaceName string TopicName string }
TopicId is a struct representing the Resource ID for a Topic
func NewTopicID ¶
func NewTopicID(subscriptionId string, resourceGroupName string, namespaceName string, topicName string) TopicId
NewTopicID returns a new TopicId struct
func ParseTopicID ¶
ParseTopicID parses 'input' into a TopicId
func ParseTopicIDInsensitively ¶
ParseTopicIDInsensitively parses 'input' case-insensitively into a TopicId note: this method should only be used for API response data and not user input
func (TopicId) Segments ¶
func (id TopicId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Topic ID
Source Files ¶
- client.go
- constants.go
- id_rule.go
- id_subscriptions2.go
- id_topic.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbytopic_autorest.go
- method_rulesget_autorest.go
- model_action.go
- model_correlationfilter.go
- model_messagecountdetails.go
- model_rule.go
- model_ruleproperties.go
- model_sbclientaffineproperties.go
- model_sbsubscription.go
- model_sbsubscriptionproperties.go
- model_sqlfilter.go
- predicates.go
- version.go