consumergroups

package
v2.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConsumerGroupID

func ValidateConsumerGroupID(input interface{}, key string) (warnings []string, errors []error)

ValidateConsumerGroupID checks that 'input' can be parsed as a Consumer Group ID

func ValidateEventhubID

func ValidateEventhubID(input interface{}, key string) (warnings []string, errors []error)

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

type ConsumerGroupPredicate struct {
	Id   *string
	Name *string
	Type *string
}

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

Get ...

func (ConsumerGroupsClient) ListByEventHub

func (c ConsumerGroupsClient) ListByEventHub(ctx context.Context, id EventhubId, options ListByEventHubOptions) (resp ListByEventHubResponse, err error)

ListByEventHub ...

func (ConsumerGroupsClient) ListByEventHubComplete

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 DeleteResponse struct {
	HttpResponse *http.Response
}

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) ID

func (id EventhubId) ID() string

ID returns the formatted Eventhub ID

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

type ListByEventHubOptions struct {
	Skip *int64
	Top  *int64
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL