Documentation ¶
Index ¶
- func PossibleValuesForAccessRights() []string
- func PossibleValuesForCaptureIdentityType() []string
- func PossibleValuesForCleanupPolicyRetentionDescription() []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 CaptureIdentity
- type CaptureIdentityType
- type CleanupPolicyRetentionDescription
- 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) (result 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, ...) (result 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
- type RetentionDescription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func PossibleValuesForCaptureIdentityType ¶
func PossibleValuesForCaptureIdentityType() []string
func PossibleValuesForCleanupPolicyRetentionDescription ¶
func PossibleValuesForCleanupPolicyRetentionDescription() []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" )
func (*AccessRights) UnmarshalJSON ¶
func (s *AccessRights) UnmarshalJSON(bytes []byte) error
type AuthorizationRule ¶
type AuthorizationRule struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationRuleProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,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 CaptureIdentity ¶
type CaptureIdentity struct { Type *CaptureIdentityType `json:"type,omitempty"` UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"` }
type CaptureIdentityType ¶
type CaptureIdentityType string
const ( CaptureIdentityTypeSystemAssigned CaptureIdentityType = "SystemAssigned" CaptureIdentityTypeUserAssigned CaptureIdentityType = "UserAssigned" )
func (*CaptureIdentityType) UnmarshalJSON ¶
func (s *CaptureIdentityType) UnmarshalJSON(bytes []byte) error
type CleanupPolicyRetentionDescription ¶
type CleanupPolicyRetentionDescription string
const ( CleanupPolicyRetentionDescriptionCompact CleanupPolicyRetentionDescription = "Compact" CleanupPolicyRetentionDescriptionDelete CleanupPolicyRetentionDescription = "Delete" )
func (*CleanupPolicyRetentionDescription) UnmarshalJSON ¶
func (s *CleanupPolicyRetentionDescription) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type Destination ¶
type Destination struct { Identity *CaptureIdentity `json:"identity,omitempty"` Name *string `json:"name,omitempty"` Properties *DestinationProperties `json:"properties,omitempty"` }
type DestinationProperties ¶
type DestinationProperties struct { ArchiveNameFormat *string `json:"archiveNameFormat,omitempty"` BlobContainer *string `json:"blobContainer,omitempty"` DataLakeAccountName *string `json:"dataLakeAccountName,omitempty"` DataLakeFolderPath *string `json:"dataLakeFolderPath,omitempty"` DataLakeSubscriptionId *string `json:"dataLakeSubscriptionId,omitempty"` StorageAccountResourceId *string `json:"storageAccountResourceId,omitempty"` }
type EncodingCaptureDescription ¶
type EncodingCaptureDescription string
const ( EncodingCaptureDescriptionAvro EncodingCaptureDescription = "Avro" EncodingCaptureDescriptionAvroDeflate EncodingCaptureDescription = "AvroDeflate" )
func (*EncodingCaptureDescription) UnmarshalJSON ¶
func (s *EncodingCaptureDescription) UnmarshalJSON(bytes []byte) error
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" )
func (*EntityStatus) UnmarshalJSON ¶
func (s *EntityStatus) UnmarshalJSON(bytes []byte) error
type EventHubsClient ¶
type EventHubsClient struct {
Client *resourcemanager.Client
}
func NewEventHubsClientWithBaseURI ¶
func NewEventHubsClientWithBaseURI(sdkApi sdkEnv.Api) (*EventHubsClient, error)
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) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (EventHubsClient) ListByNamespaceComplete ¶
func (c EventHubsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (EventHubsClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c EventHubsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate EventhubOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type Eventhub ¶
type Eventhub struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *EventhubProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,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) FromParseResult ¶ added in v0.20231127.1171502
func (id *EventhubAuthorizationRuleId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *EventhubId) FromParseResult(input resourceids.ParseResult) error
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"` RetentionDescription *RetentionDescription `json:"retentionDescription,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 OData *odata.OData Model *AuthorizationRule }
type GetOperationResponse ¶
type ListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions() ListByNamespaceOperationOptions
func (ListByNamespaceOperationOptions) ToHeaders ¶
func (o ListByNamespaceOperationOptions) ToHeaders() *client.Headers
func (ListByNamespaceOperationOptions) ToOData ¶
func (o ListByNamespaceOperationOptions) ToOData() *odata.Query
func (ListByNamespaceOperationOptions) ToQuery ¶
func (o ListByNamespaceOperationOptions) ToQuery() *client.QueryParams
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *NamespaceId) FromParseResult(input resourceids.ParseResult) error
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
type RetentionDescription ¶
type RetentionDescription struct { CleanupPolicy *CleanupPolicyRetentionDescription `json:"cleanupPolicy,omitempty"` RetentionTimeInHours *int64 `json:"retentionTimeInHours,omitempty"` TombstoneRetentionTimeInHours *int64 `json:"tombstoneRetentionTimeInHours,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_eventhub.go
- id_eventhubauthorizationrule.go
- id_namespace.go
- method_createorupdate.go
- method_delete.go
- method_deleteauthorizationrule.go
- method_get.go
- method_getauthorizationrule.go
- method_listbynamespace.go
- model_authorizationrule.go
- model_authorizationruleproperties.go
- model_capturedescription.go
- model_captureidentity.go
- model_destination.go
- model_destinationproperties.go
- model_eventhub.go
- model_eventhubproperties.go
- model_retentiondescription.go
- predicates.go
- version.go