consumergroups

package
v0.20220621.123833 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MPL-2.0 Imports: 11 Imported by: 1

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"`
	Location   *string                  `json:"location,omitempty"`
	Name       *string                  `json:"name,omitempty"`
	Properties *ConsumerGroupProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData   `json:"systemData,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 ConsumerGroupOperationPredicate

type ConsumerGroupOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ConsumerGroupOperationPredicate) Matches

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

CreateOrUpdate ...

func (ConsumerGroupsClient) Delete

Delete ...

func (ConsumerGroupsClient) Get

Get ...

func (ConsumerGroupsClient) ListByEventHub

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 ListByEventHubOperationOptions, predicate ConsumerGroupOperationPredicate) (resp ListByEventHubCompleteResult, err error)

ListByEventHubCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *ConsumerGroup
}

type DeleteOperationResponse

type DeleteOperationResponse 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 GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *ConsumerGroup
}

type ListByEventHubCompleteResult

type ListByEventHubCompleteResult struct {
	Items []ConsumerGroup
}

type ListByEventHubOperationOptions

type ListByEventHubOperationOptions struct {
	Skip *int64
	Top  *int64
}

func DefaultListByEventHubOperationOptions

func DefaultListByEventHubOperationOptions() ListByEventHubOperationOptions

type ListByEventHubOperationResponse

type ListByEventHubOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ConsumerGroup
	// contains filtered or unexported fields
}

func (ListByEventHubOperationResponse) HasMore

func (ListByEventHubOperationResponse) LoadMore

Jump to

Keyboard shortcuts

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