Documentation ¶
Index ¶
- func PossibleValuesForEntityStatus() []string
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateQueueID(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 QueueId
- type QueuesClient
- func (c QueuesClient) CreateOrUpdate(ctx context.Context, id QueueId, input SBQueue) (result CreateOrUpdateOperationResponse, err error)
- func (c QueuesClient) Delete(ctx context.Context, id QueueId) (result DeleteOperationResponse, err error)
- func (c QueuesClient) Get(ctx context.Context, id QueueId) (result GetOperationResponse, err error)
- func (c QueuesClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
- func (c QueuesClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c QueuesClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (result ListByNamespaceCompleteResult, err error)
- type SBQueue
- type SBQueueOperationPredicate
- type SBQueueProperties
- func (o *SBQueueProperties) GetAccessedAtAsTime() (*time.Time, error)
- func (o *SBQueueProperties) GetCreatedAtAsTime() (*time.Time, error)
- func (o *SBQueueProperties) GetUpdatedAtAsTime() (*time.Time, error)
- func (o *SBQueueProperties) SetAccessedAtAsTime(input time.Time)
- func (o *SBQueueProperties) SetCreatedAtAsTime(input time.Time)
- func (o *SBQueueProperties) SetUpdatedAtAsTime(input time.Time)
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 ValidateQueueID ¶
ValidateQueueID checks that 'input' can be parsed as a Queue 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 ¶
func (s *EntityStatus) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct {
Items []SBQueue
}
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 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) 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 QueueId ¶
type QueueId struct { SubscriptionId string ResourceGroupName string NamespaceName string QueueName string }
QueueId is a struct representing the Resource ID for a Queue
func NewQueueID ¶
func NewQueueID(subscriptionId string, resourceGroupName string, namespaceName string, queueName string) QueueId
NewQueueID returns a new QueueId struct
func ParseQueueID ¶
ParseQueueID parses 'input' into a QueueId
func ParseQueueIDInsensitively ¶
ParseQueueIDInsensitively parses 'input' case-insensitively into a QueueId note: this method should only be used for API response data and not user input
func (QueueId) Segments ¶
func (id QueueId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Queue ID
type QueuesClient ¶
type QueuesClient struct {
Client *resourcemanager.Client
}
func NewQueuesClientWithBaseURI ¶
func NewQueuesClientWithBaseURI(api environments.Api) (*QueuesClient, error)
func (QueuesClient) CreateOrUpdate ¶
func (c QueuesClient) CreateOrUpdate(ctx context.Context, id QueueId, input SBQueue) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (QueuesClient) Delete ¶
func (c QueuesClient) Delete(ctx context.Context, id QueueId) (result DeleteOperationResponse, err error)
Delete ...
func (QueuesClient) Get ¶
func (c QueuesClient) Get(ctx context.Context, id QueueId) (result GetOperationResponse, err error)
Get ...
func (QueuesClient) ListByNamespace ¶
func (c QueuesClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (QueuesClient) ListByNamespaceComplete ¶
func (c QueuesClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (QueuesClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c QueuesClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate SBQueueOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SBQueue ¶
type SBQueue struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SBQueueProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SBQueueOperationPredicate ¶
func (SBQueueOperationPredicate) Matches ¶
func (p SBQueueOperationPredicate) Matches(input SBQueue) bool
type SBQueueProperties ¶
type SBQueueProperties struct { AccessedAt *string `json:"accessedAt,omitempty"` AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"` CountDetails *MessageCountDetails `json:"countDetails,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,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"` ForwardDeadLetteredMessagesTo *string `json:"forwardDeadLetteredMessagesTo,omitempty"` ForwardTo *string `json:"forwardTo,omitempty"` LockDuration *string `json:"lockDuration,omitempty"` MaxDeliveryCount *int64 `json:"maxDeliveryCount,omitempty"` MaxMessageSizeInKilobytes *int64 `json:"maxMessageSizeInKilobytes,omitempty"` MaxSizeInMegabytes *int64 `json:"maxSizeInMegabytes,omitempty"` MessageCount *int64 `json:"messageCount,omitempty"` RequiresDuplicateDetection *bool `json:"requiresDuplicateDetection,omitempty"` RequiresSession *bool `json:"requiresSession,omitempty"` SizeInBytes *int64 `json:"sizeInBytes,omitempty"` Status *EntityStatus `json:"status,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` }
func (*SBQueueProperties) GetAccessedAtAsTime ¶
func (o *SBQueueProperties) GetAccessedAtAsTime() (*time.Time, error)
func (*SBQueueProperties) GetCreatedAtAsTime ¶
func (o *SBQueueProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*SBQueueProperties) GetUpdatedAtAsTime ¶
func (o *SBQueueProperties) GetUpdatedAtAsTime() (*time.Time, error)
func (*SBQueueProperties) SetAccessedAtAsTime ¶
func (o *SBQueueProperties) SetAccessedAtAsTime(input time.Time)
func (*SBQueueProperties) SetCreatedAtAsTime ¶
func (o *SBQueueProperties) SetCreatedAtAsTime(input time.Time)
func (*SBQueueProperties) SetUpdatedAtAsTime ¶
func (o *SBQueueProperties) SetUpdatedAtAsTime(input time.Time)