Documentation ¶
Index ¶
- func PossibleValuesForEntityStatus() []string
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTopicID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EntityStatus
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceOperationOptions
- type ListByNamespaceOperationResponse
- type MessageCountDetails
- type NamespaceId
- type SBTopic
- type SBTopicOperationPredicate
- type SBTopicProperties
- func (o *SBTopicProperties) GetAccessedAtAsTime() (*time.Time, error)
- func (o *SBTopicProperties) GetCreatedAtAsTime() (*time.Time, error)
- func (o *SBTopicProperties) GetUpdatedAtAsTime() (*time.Time, error)
- func (o *SBTopicProperties) SetAccessedAtAsTime(input time.Time)
- func (o *SBTopicProperties) SetCreatedAtAsTime(input time.Time)
- func (o *SBTopicProperties) SetUpdatedAtAsTime(input time.Time)
- type TopicId
- type TopicsClient
- func (c TopicsClient) CreateOrUpdate(ctx context.Context, id TopicId, input SBTopic) (result CreateOrUpdateOperationResponse, err error)
- func (c TopicsClient) Delete(ctx context.Context, id TopicId) (result DeleteOperationResponse, err error)
- func (c TopicsClient) Get(ctx context.Context, id TopicId) (result GetOperationResponse, err error)
- func (c TopicsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
- func (c TopicsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c TopicsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (result ListByNamespaceCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEntityStatus ¶
func PossibleValuesForEntityStatus() []string
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
func ValidateTopicID ¶
ValidateTopicID checks that 'input' can be parsed as a Topic ID
Types ¶
type DeleteOperationResponse ¶
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 ¶ added in v0.20230406.1124617
func (s *EntityStatus) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct {
Items []SBTopic
}
type ListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions() ListByNamespaceOperationOptions
func (ListByNamespaceOperationOptions) ToHeaders ¶ added in v0.20230307.1085324
func (o ListByNamespaceOperationOptions) ToHeaders() *client.Headers
func (ListByNamespaceOperationOptions) ToOData ¶ added in v0.20230307.1085324
func (o ListByNamespaceOperationOptions) ToOData() *odata.Query
func (ListByNamespaceOperationOptions) ToQuery ¶ added in v0.20230307.1085324
func (o ListByNamespaceOperationOptions) ToQuery() *client.QueryParams
type MessageCountDetails ¶
type MessageCountDetails struct { ActiveMessageCount *int64 `json:"activeMessageCount,omitempty"` DeadLetterMessageCount *int64 `json:"deadLetterMessageCount,omitempty"` ScheduledMessageCount *int64 `json:"scheduledMessageCount,omitempty"` TransferDeadLetterMessageCount *int64 `json:"transferDeadLetterMessageCount,omitempty"` TransferMessageCount *int64 `json:"transferMessageCount,omitempty"` }
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 SBTopic ¶
type SBTopic struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *SBTopicProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SBTopicOperationPredicate ¶
func (SBTopicOperationPredicate) Matches ¶
func (p SBTopicOperationPredicate) Matches(input SBTopic) bool
type SBTopicProperties ¶
type SBTopicProperties struct { AccessedAt *string `json:"accessedAt,omitempty"` AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"` CountDetails *MessageCountDetails `json:"countDetails,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` DefaultMessageTimeToLive *string `json:"defaultMessageTimeToLive,omitempty"` DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty"` EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty"` EnableExpress *bool `json:"enableExpress,omitempty"` EnablePartitioning *bool `json:"enablePartitioning,omitempty"` MaxMessageSizeInKilobytes *int64 `json:"maxMessageSizeInKilobytes,omitempty"` MaxSizeInMegabytes *int64 `json:"maxSizeInMegabytes,omitempty"` RequiresDuplicateDetection *bool `json:"requiresDuplicateDetection,omitempty"` SizeInBytes *int64 `json:"sizeInBytes,omitempty"` Status *EntityStatus `json:"status,omitempty"` SubscriptionCount *int64 `json:"subscriptionCount,omitempty"` SupportOrdering *bool `json:"supportOrdering,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` }
func (*SBTopicProperties) GetAccessedAtAsTime ¶
func (o *SBTopicProperties) GetAccessedAtAsTime() (*time.Time, error)
func (*SBTopicProperties) GetCreatedAtAsTime ¶
func (o *SBTopicProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*SBTopicProperties) GetUpdatedAtAsTime ¶
func (o *SBTopicProperties) GetUpdatedAtAsTime() (*time.Time, error)
func (*SBTopicProperties) SetAccessedAtAsTime ¶
func (o *SBTopicProperties) SetAccessedAtAsTime(input time.Time)
func (*SBTopicProperties) SetCreatedAtAsTime ¶
func (o *SBTopicProperties) SetCreatedAtAsTime(input time.Time)
func (*SBTopicProperties) SetUpdatedAtAsTime ¶
func (o *SBTopicProperties) SetUpdatedAtAsTime(input time.Time)
type TopicId ¶
type TopicId struct { SubscriptionId string ResourceGroupName string NamespaceName string TopicName string }
TopicId is a struct representing the Resource ID for a Topic
func NewTopicID ¶
func NewTopicID(subscriptionId string, resourceGroupName string, namespaceName string, topicName string) TopicId
NewTopicID returns a new TopicId struct
func ParseTopicID ¶
ParseTopicID parses 'input' into a TopicId
func ParseTopicIDInsensitively ¶
ParseTopicIDInsensitively parses 'input' case-insensitively into a TopicId note: this method should only be used for API response data and not user input
func (*TopicId) FromParseResult ¶ added in v0.20231127.1171502
func (id *TopicId) FromParseResult(input resourceids.ParseResult) error
func (TopicId) Segments ¶
func (id TopicId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Topic ID
type TopicsClient ¶
type TopicsClient struct {
Client *resourcemanager.Client
}
func NewTopicsClientWithBaseURI ¶
func NewTopicsClientWithBaseURI(sdkApi sdkEnv.Api) (*TopicsClient, error)
func (TopicsClient) CreateOrUpdate ¶
func (c TopicsClient) CreateOrUpdate(ctx context.Context, id TopicId, input SBTopic) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TopicsClient) Delete ¶
func (c TopicsClient) Delete(ctx context.Context, id TopicId) (result DeleteOperationResponse, err error)
Delete ...
func (TopicsClient) Get ¶
func (c TopicsClient) Get(ctx context.Context, id TopicId) (result GetOperationResponse, err error)
Get ...
func (TopicsClient) ListByNamespace ¶
func (c TopicsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (TopicsClient) ListByNamespaceComplete ¶
func (c TopicsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (TopicsClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c TopicsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate SBTopicOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate