Documentation ¶
Index ¶
- func PossibleValuesForAccessRights() []string
- func PossibleValuesForEncodingCaptureDescription() []string
- func PossibleValuesForEntityStatus() []string
- func ValidateEventhubAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEventhubID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type AccessRights
- type AuthorizationRule
- type AuthorizationRuleProperties
- type CaptureDescription
- type CreateOrUpdateOperationResponse
- type DeleteAuthorizationRuleOperationResponse
- type DeleteOperationResponse
- type Destination
- type DestinationProperties
- type EncodingCaptureDescription
- type EntityStatus
- type EventHubsClient
- func (c EventHubsClient) CreateOrUpdate(ctx context.Context, id EventhubId, input Eventhub) (result CreateOrUpdateOperationResponse, err error)
- func (c EventHubsClient) Delete(ctx context.Context, id EventhubId) (result DeleteOperationResponse, err error)
- func (c EventHubsClient) DeleteAuthorizationRule(ctx context.Context, id EventhubAuthorizationRuleId) (result DeleteAuthorizationRuleOperationResponse, err error)
- func (c EventHubsClient) Get(ctx context.Context, id EventhubId) (result GetOperationResponse, err error)
- func (c EventHubsClient) GetAuthorizationRule(ctx context.Context, id EventhubAuthorizationRuleId) (result GetAuthorizationRuleOperationResponse, err error)
- func (c EventHubsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (resp ListByNamespaceOperationResponse, err error)
- func (c EventHubsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c EventHubsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (resp ListByNamespaceCompleteResult, err error)
- type Eventhub
- type EventhubAuthorizationRuleId
- func NewEventhubAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, ...) EventhubAuthorizationRuleId
- func ParseEventhubAuthorizationRuleID(input string) (*EventhubAuthorizationRuleId, error)
- func ParseEventhubAuthorizationRuleIDInsensitively(input string) (*EventhubAuthorizationRuleId, error)
- type EventhubId
- type EventhubOperationPredicate
- type EventhubProperties
- type GetAuthorizationRuleOperationResponse
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceOperationOptions
- type ListByNamespaceOperationResponse
- type NamespaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func PossibleValuesForEncodingCaptureDescription ¶
func PossibleValuesForEncodingCaptureDescription() []string
func PossibleValuesForEntityStatus ¶
func PossibleValuesForEntityStatus() []string
func ValidateEventhubAuthorizationRuleID ¶
func ValidateEventhubAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateEventhubAuthorizationRuleID checks that 'input' can be parsed as a Eventhub Authorization Rule ID
func ValidateEventhubID ¶
ValidateEventhubID checks that 'input' can be parsed as a Eventhub ID
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
Types ¶
type AccessRights ¶
type AccessRights string
const ( AccessRightsListen AccessRights = "Listen" AccessRightsManage AccessRights = "Manage" AccessRightsSend AccessRights = "Send" )
type AuthorizationRule ¶
type AuthorizationRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationRuleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AuthorizationRuleProperties ¶
type AuthorizationRuleProperties struct {
Rights []AccessRights `json:"rights"`
}
type CaptureDescription ¶
type CaptureDescription struct { Destination *Destination `json:"destination,omitempty"` Enabled *bool `json:"enabled,omitempty"` Encoding *EncodingCaptureDescription `json:"encoding,omitempty"` IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty"` SizeLimitInBytes *int64 `json:"sizeLimitInBytes,omitempty"` SkipEmptyArchives *bool `json:"skipEmptyArchives,omitempty"` }
type DeleteOperationResponse ¶
type Destination ¶
type Destination struct { Name *string `json:"name,omitempty"` Properties *DestinationProperties `json:"properties,omitempty"` }
type DestinationProperties ¶
type EncodingCaptureDescription ¶
type EncodingCaptureDescription string
const ( EncodingCaptureDescriptionAvro EncodingCaptureDescription = "Avro" EncodingCaptureDescriptionAvroDeflate EncodingCaptureDescription = "AvroDeflate" )
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 EventHubsClient ¶
func NewEventHubsClientWithBaseURI ¶
func NewEventHubsClientWithBaseURI(endpoint string) EventHubsClient
func (EventHubsClient) CreateOrUpdate ¶
func (c EventHubsClient) CreateOrUpdate(ctx context.Context, id EventhubId, input Eventhub) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EventHubsClient) Delete ¶
func (c EventHubsClient) Delete(ctx context.Context, id EventhubId) (result DeleteOperationResponse, err error)
Delete ...
func (EventHubsClient) DeleteAuthorizationRule ¶
func (c EventHubsClient) DeleteAuthorizationRule(ctx context.Context, id EventhubAuthorizationRuleId) (result DeleteAuthorizationRuleOperationResponse, err error)
DeleteAuthorizationRule ...
func (EventHubsClient) Get ¶
func (c EventHubsClient) Get(ctx context.Context, id EventhubId) (result GetOperationResponse, err error)
Get ...
func (EventHubsClient) GetAuthorizationRule ¶
func (c EventHubsClient) GetAuthorizationRule(ctx context.Context, id EventhubAuthorizationRuleId) (result GetAuthorizationRuleOperationResponse, err error)
GetAuthorizationRule ...
func (EventHubsClient) ListByNamespace ¶
func (c EventHubsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (resp ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (EventHubsClient) ListByNamespaceComplete ¶
func (c EventHubsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all of the results into a single object
func (EventHubsClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c EventHubsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate EventhubOperationPredicate) (resp ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type Eventhub ¶
type Eventhub struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EventhubProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type EventhubAuthorizationRuleId ¶
type EventhubAuthorizationRuleId struct { SubscriptionId string ResourceGroupName string NamespaceName string EventHubName string AuthorizationRuleName string }
EventhubAuthorizationRuleId is a struct representing the Resource ID for a Eventhub Authorization Rule
func NewEventhubAuthorizationRuleID ¶
func NewEventhubAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, eventHubName string, authorizationRuleName string) EventhubAuthorizationRuleId
NewEventhubAuthorizationRuleID returns a new EventhubAuthorizationRuleId struct
func ParseEventhubAuthorizationRuleID ¶
func ParseEventhubAuthorizationRuleID(input string) (*EventhubAuthorizationRuleId, error)
ParseEventhubAuthorizationRuleID parses 'input' into a EventhubAuthorizationRuleId
func ParseEventhubAuthorizationRuleIDInsensitively ¶
func ParseEventhubAuthorizationRuleIDInsensitively(input string) (*EventhubAuthorizationRuleId, error)
ParseEventhubAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a EventhubAuthorizationRuleId note: this method should only be used for API response data and not user input
func (EventhubAuthorizationRuleId) ID ¶
func (id EventhubAuthorizationRuleId) ID() string
ID returns the formatted Eventhub Authorization Rule ID
func (EventhubAuthorizationRuleId) Segments ¶
func (id EventhubAuthorizationRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Eventhub Authorization Rule ID
func (EventhubAuthorizationRuleId) String ¶
func (id EventhubAuthorizationRuleId) String() string
String returns a human-readable description of this Eventhub Authorization Rule ID
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 EventhubOperationPredicate ¶
func (EventhubOperationPredicate) Matches ¶
func (p EventhubOperationPredicate) Matches(input Eventhub) bool
type EventhubProperties ¶
type EventhubProperties struct { CaptureDescription *CaptureDescription `json:"captureDescription,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` MessageRetentionInDays *int64 `json:"messageRetentionInDays,omitempty"` PartitionCount *int64 `json:"partitionCount,omitempty"` PartitionIds *[]string `json:"partitionIds,omitempty"` Status *EntityStatus `json:"status,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` }
func (*EventhubProperties) GetCreatedAtAsTime ¶
func (o *EventhubProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*EventhubProperties) GetUpdatedAtAsTime ¶
func (o *EventhubProperties) GetUpdatedAtAsTime() (*time.Time, error)
func (*EventhubProperties) SetCreatedAtAsTime ¶
func (o *EventhubProperties) SetCreatedAtAsTime(input time.Time)
func (*EventhubProperties) SetUpdatedAtAsTime ¶
func (o *EventhubProperties) SetUpdatedAtAsTime(input time.Time)
type GetAuthorizationRuleOperationResponse ¶
type GetAuthorizationRuleOperationResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type GetOperationResponse ¶
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct {
Items []Eventhub
}
type ListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions() ListByNamespaceOperationOptions
type ListByNamespaceOperationResponse ¶
type ListByNamespaceOperationResponse struct { HttpResponse *http.Response Model *[]Eventhub // contains filtered or unexported fields }
func (ListByNamespaceOperationResponse) HasMore ¶
func (r ListByNamespaceOperationResponse) HasMore() bool
func (ListByNamespaceOperationResponse) LoadMore ¶
func (r ListByNamespaceOperationResponse) LoadMore(ctx context.Context) (resp ListByNamespaceOperationResponse, err error)
type NamespaceId ¶
NamespaceId is a struct representing the Resource ID for a Namespace
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId
NewNamespaceID returns a new NamespaceId struct
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses 'input' into a NamespaceId
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses 'input' case-insensitively into a NamespaceId note: this method should only be used for API response data and not user input
func (NamespaceId) Segments ¶
func (id NamespaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Namespace ID
func (NamespaceId) String ¶
func (id NamespaceId) String() string
String returns a human-readable description of this Namespace ID
Source Files ¶
- client.go
- constants.go
- id_eventhub.go
- id_eventhubauthorizationrule.go
- id_namespace.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_deleteauthorizationrule_autorest.go
- method_get_autorest.go
- method_getauthorizationrule_autorest.go
- method_listbynamespace_autorest.go
- model_authorizationrule.go
- model_authorizationruleproperties.go
- model_capturedescription.go
- model_destination.go
- model_destinationproperties.go
- model_eventhub.go
- model_eventhubproperties.go
- predicates.go
- version.go