Documentation ¶
Index ¶
- func ValidateConsumerGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEventhubID(input interface{}, key string) (warnings []string, errors []error)
- type ConsumerGroup
- type ConsumerGroupId
- type ConsumerGroupPredicate
- type ConsumerGroupProperties
- type ConsumerGroupsClient
- func (c ConsumerGroupsClient) CreateOrUpdate(ctx context.Context, id ConsumerGroupId, input ConsumerGroup) (result CreateOrUpdateResponse, err error)
- func (c ConsumerGroupsClient) Delete(ctx context.Context, id ConsumerGroupId) (result DeleteResponse, err error)
- func (c ConsumerGroupsClient) Get(ctx context.Context, id ConsumerGroupId) (result GetResponse, err error)
- func (c ConsumerGroupsClient) ListByEventHub(ctx context.Context, id EventhubId, options ListByEventHubOptions) (resp ListByEventHubResponse, err error)
- func (c ConsumerGroupsClient) ListByEventHubComplete(ctx context.Context, id EventhubId, options ListByEventHubOptions) (ListByEventHubCompleteResult, error)
- func (c ConsumerGroupsClient) ListByEventHubCompleteMatchingPredicate(ctx context.Context, id EventhubId, options ListByEventHubOptions, ...) (resp ListByEventHubCompleteResult, err error)
- type CreateOrUpdateResponse
- type DeleteResponse
- type EventhubId
- type GetResponse
- type ListByEventHubCompleteResult
- type ListByEventHubOptions
- type ListByEventHubResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConsumerGroupID ¶
ValidateConsumerGroupID checks that 'input' can be parsed as a Consumer Group ID
func ValidateEventhubID ¶
ValidateEventhubID checks that 'input' can be parsed as a Eventhub ID
Types ¶
type ConsumerGroup ¶
type ConsumerGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ConsumerGroupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ConsumerGroupId ¶
type ConsumerGroupId struct { SubscriptionId string ResourceGroupName string NamespaceName string EventHubName string ConsumerGroupName string }
ConsumerGroupId is a struct representing the Resource ID for a Consumer Group
func NewConsumerGroupID ¶
func NewConsumerGroupID(subscriptionId string, resourceGroupName string, namespaceName string, eventHubName string, consumerGroupName string) ConsumerGroupId
NewConsumerGroupID returns a new ConsumerGroupId struct
func ParseConsumerGroupID ¶
func ParseConsumerGroupID(input string) (*ConsumerGroupId, error)
ParseConsumerGroupID parses 'input' into a ConsumerGroupId
func ParseConsumerGroupIDInsensitively ¶
func ParseConsumerGroupIDInsensitively(input string) (*ConsumerGroupId, error)
ParseConsumerGroupIDInsensitively parses 'input' case-insensitively into a ConsumerGroupId note: this method should only be used for API response data and not user input
func (ConsumerGroupId) ID ¶
func (id ConsumerGroupId) ID() string
ID returns the formatted Consumer Group ID
func (ConsumerGroupId) Segments ¶
func (id ConsumerGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Consumer Group ID
func (ConsumerGroupId) String ¶
func (id ConsumerGroupId) String() string
String returns a human-readable description of this Consumer Group ID
type ConsumerGroupPredicate ¶
func (ConsumerGroupPredicate) Matches ¶
func (p ConsumerGroupPredicate) Matches(input ConsumerGroup) bool
type ConsumerGroupProperties ¶
type ConsumerGroupProperties struct { CreatedAt *string `json:"createdAt,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` UserMetadata *string `json:"userMetadata,omitempty"` }
func (ConsumerGroupProperties) GetCreatedAtAsTime ¶
func (o ConsumerGroupProperties) GetCreatedAtAsTime() (*time.Time, error)
func (ConsumerGroupProperties) GetUpdatedAtAsTime ¶
func (o ConsumerGroupProperties) GetUpdatedAtAsTime() (*time.Time, error)
func (ConsumerGroupProperties) SetCreatedAtAsTime ¶
func (o ConsumerGroupProperties) SetCreatedAtAsTime(input time.Time)
func (ConsumerGroupProperties) SetUpdatedAtAsTime ¶
func (o ConsumerGroupProperties) SetUpdatedAtAsTime(input time.Time)
type ConsumerGroupsClient ¶
type ConsumerGroupsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewConsumerGroupsClientWithBaseURI ¶
func NewConsumerGroupsClientWithBaseURI(endpoint string) ConsumerGroupsClient
func (ConsumerGroupsClient) CreateOrUpdate ¶
func (c ConsumerGroupsClient) CreateOrUpdate(ctx context.Context, id ConsumerGroupId, input ConsumerGroup) (result CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (ConsumerGroupsClient) Delete ¶
func (c ConsumerGroupsClient) Delete(ctx context.Context, id ConsumerGroupId) (result DeleteResponse, err error)
Delete ...
func (ConsumerGroupsClient) Get ¶
func (c ConsumerGroupsClient) Get(ctx context.Context, id ConsumerGroupId) (result GetResponse, err error)
Get ...
func (ConsumerGroupsClient) ListByEventHub ¶
func (c ConsumerGroupsClient) ListByEventHub(ctx context.Context, id EventhubId, options ListByEventHubOptions) (resp ListByEventHubResponse, err error)
ListByEventHub ...
func (ConsumerGroupsClient) ListByEventHubComplete ¶
func (c ConsumerGroupsClient) ListByEventHubComplete(ctx context.Context, id EventhubId, options ListByEventHubOptions) (ListByEventHubCompleteResult, error)
ListByEventHubComplete retrieves all of the results into a single object
func (ConsumerGroupsClient) ListByEventHubCompleteMatchingPredicate ¶
func (c ConsumerGroupsClient) ListByEventHubCompleteMatchingPredicate(ctx context.Context, id EventhubId, options ListByEventHubOptions, predicate ConsumerGroupPredicate) (resp ListByEventHubCompleteResult, err error)
ListByEventHubCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { HttpResponse *http.Response Model *ConsumerGroup }
type DeleteResponse ¶
type EventhubId ¶
type EventhubId struct { SubscriptionId string ResourceGroupName string NamespaceName string EventHubName string }
EventhubId is a struct representing the Resource ID for a Eventhub
func NewEventhubID ¶
func NewEventhubID(subscriptionId string, resourceGroupName string, namespaceName string, eventHubName string) EventhubId
NewEventhubID returns a new EventhubId struct
func ParseEventhubID ¶
func ParseEventhubID(input string) (*EventhubId, error)
ParseEventhubID parses 'input' into a EventhubId
func ParseEventhubIDInsensitively ¶
func ParseEventhubIDInsensitively(input string) (*EventhubId, error)
ParseEventhubIDInsensitively parses 'input' case-insensitively into a EventhubId note: this method should only be used for API response data and not user input
func (EventhubId) Segments ¶
func (id EventhubId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Eventhub ID
func (EventhubId) String ¶
func (id EventhubId) String() string
String returns a human-readable description of this Eventhub ID
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *ConsumerGroup }
type ListByEventHubCompleteResult ¶
type ListByEventHubCompleteResult struct {
Items []ConsumerGroup
}
type ListByEventHubOptions ¶
func DefaultListByEventHubOptions ¶
func DefaultListByEventHubOptions() ListByEventHubOptions
type ListByEventHubResponse ¶
type ListByEventHubResponse struct { HttpResponse *http.Response Model *[]ConsumerGroup // contains filtered or unexported fields }
func (ListByEventHubResponse) HasMore ¶
func (r ListByEventHubResponse) HasMore() bool
func (ListByEventHubResponse) LoadMore ¶
func (r ListByEventHubResponse) LoadMore(ctx context.Context) (resp ListByEventHubResponse, err error)