Documentation ¶
Index ¶
- func PossibleValuesForAccessRights() []string
- func PossibleValuesForKeyType() []string
- func ValidateQueueAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateQueueID(input interface{}, key string) (warnings []string, errors []error)
- type AccessKeys
- type AccessRights
- type KeyType
- type QueueAuthorizationRuleId
- func NewQueueAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, ...) QueueAuthorizationRuleId
- func ParseQueueAuthorizationRuleID(input string) (*QueueAuthorizationRuleId, error)
- func ParseQueueAuthorizationRuleIDInsensitively(input string) (*QueueAuthorizationRuleId, error)
- type QueueId
- type QueuesAuthorizationRuleClient
- func (c QueuesAuthorizationRuleClient) QueuesCreateOrUpdateAuthorizationRule(ctx context.Context, id QueueAuthorizationRuleId, input SBAuthorizationRule) (result QueuesCreateOrUpdateAuthorizationRuleOperationResponse, err error)
- func (c QueuesAuthorizationRuleClient) QueuesDeleteAuthorizationRule(ctx context.Context, id QueueAuthorizationRuleId) (result QueuesDeleteAuthorizationRuleOperationResponse, err error)
- func (c QueuesAuthorizationRuleClient) QueuesGetAuthorizationRule(ctx context.Context, id QueueAuthorizationRuleId) (result QueuesGetAuthorizationRuleOperationResponse, err error)
- func (c QueuesAuthorizationRuleClient) QueuesListAuthorizationRules(ctx context.Context, id QueueId) (result QueuesListAuthorizationRulesOperationResponse, err error)
- func (c QueuesAuthorizationRuleClient) QueuesListAuthorizationRulesComplete(ctx context.Context, id QueueId) (QueuesListAuthorizationRulesCompleteResult, error)
- func (c QueuesAuthorizationRuleClient) QueuesListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id QueueId, ...) (result QueuesListAuthorizationRulesCompleteResult, err error)
- func (c QueuesAuthorizationRuleClient) QueuesListKeys(ctx context.Context, id QueueAuthorizationRuleId) (result QueuesListKeysOperationResponse, err error)
- func (c QueuesAuthorizationRuleClient) QueuesRegenerateKeys(ctx context.Context, id QueueAuthorizationRuleId, ...) (result QueuesRegenerateKeysOperationResponse, err error)
- type QueuesCreateOrUpdateAuthorizationRuleOperationResponse
- type QueuesDeleteAuthorizationRuleOperationResponse
- type QueuesGetAuthorizationRuleOperationResponse
- type QueuesListAuthorizationRulesCompleteResult
- type QueuesListAuthorizationRulesOperationResponse
- type QueuesListKeysOperationResponse
- type QueuesRegenerateKeysOperationResponse
- type RegenerateAccessKeyParameters
- type SBAuthorizationRule
- type SBAuthorizationRuleOperationPredicate
- type SBAuthorizationRuleProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func ValidateQueueAuthorizationRuleID ¶
func ValidateQueueAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateQueueAuthorizationRuleID checks that 'input' can be parsed as a Queue Authorization Rule ID
func ValidateQueueID ¶
ValidateQueueID checks that 'input' can be parsed as a Queue ID
Types ¶
type AccessKeys ¶
type AccessKeys struct { AliasPrimaryConnectionString *string `json:"aliasPrimaryConnectionString,omitempty"` AliasSecondaryConnectionString *string `json:"aliasSecondaryConnectionString,omitempty"` KeyName *string `json:"keyName,omitempty"` PrimaryConnectionString *string `json:"primaryConnectionString,omitempty"` PrimaryKey *string `json:"primaryKey,omitempty"` SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"` SecondaryKey *string `json:"secondaryKey,omitempty"` }
type AccessRights ¶
type AccessRights string
const ( AccessRightsListen AccessRights = "Listen" AccessRightsManage AccessRights = "Manage" AccessRightsSend AccessRights = "Send" )
func (*AccessRights) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *AccessRights) UnmarshalJSON(bytes []byte) error
type QueueAuthorizationRuleId ¶
type QueueAuthorizationRuleId struct { SubscriptionId string ResourceGroupName string NamespaceName string QueueName string AuthorizationRuleName string }
QueueAuthorizationRuleId is a struct representing the Resource ID for a Queue Authorization Rule
func NewQueueAuthorizationRuleID ¶
func NewQueueAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) QueueAuthorizationRuleId
NewQueueAuthorizationRuleID returns a new QueueAuthorizationRuleId struct
func ParseQueueAuthorizationRuleID ¶
func ParseQueueAuthorizationRuleID(input string) (*QueueAuthorizationRuleId, error)
ParseQueueAuthorizationRuleID parses 'input' into a QueueAuthorizationRuleId
func ParseQueueAuthorizationRuleIDInsensitively ¶
func ParseQueueAuthorizationRuleIDInsensitively(input string) (*QueueAuthorizationRuleId, error)
ParseQueueAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a QueueAuthorizationRuleId note: this method should only be used for API response data and not user input
func (QueueAuthorizationRuleId) ID ¶
func (id QueueAuthorizationRuleId) ID() string
ID returns the formatted Queue Authorization Rule ID
func (QueueAuthorizationRuleId) Segments ¶
func (id QueueAuthorizationRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Queue Authorization Rule ID
func (QueueAuthorizationRuleId) String ¶
func (id QueueAuthorizationRuleId) String() string
String returns a human-readable description of this Queue Authorization Rule 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 QueuesAuthorizationRuleClient ¶
type QueuesAuthorizationRuleClient struct {
Client *resourcemanager.Client
}
func NewQueuesAuthorizationRuleClientWithBaseURI ¶
func NewQueuesAuthorizationRuleClientWithBaseURI(sdkApi sdkEnv.Api) (*QueuesAuthorizationRuleClient, error)
func (QueuesAuthorizationRuleClient) QueuesCreateOrUpdateAuthorizationRule ¶
func (c QueuesAuthorizationRuleClient) QueuesCreateOrUpdateAuthorizationRule(ctx context.Context, id QueueAuthorizationRuleId, input SBAuthorizationRule) (result QueuesCreateOrUpdateAuthorizationRuleOperationResponse, err error)
QueuesCreateOrUpdateAuthorizationRule ...
func (QueuesAuthorizationRuleClient) QueuesDeleteAuthorizationRule ¶
func (c QueuesAuthorizationRuleClient) QueuesDeleteAuthorizationRule(ctx context.Context, id QueueAuthorizationRuleId) (result QueuesDeleteAuthorizationRuleOperationResponse, err error)
QueuesDeleteAuthorizationRule ...
func (QueuesAuthorizationRuleClient) QueuesGetAuthorizationRule ¶
func (c QueuesAuthorizationRuleClient) QueuesGetAuthorizationRule(ctx context.Context, id QueueAuthorizationRuleId) (result QueuesGetAuthorizationRuleOperationResponse, err error)
QueuesGetAuthorizationRule ...
func (QueuesAuthorizationRuleClient) QueuesListAuthorizationRules ¶
func (c QueuesAuthorizationRuleClient) QueuesListAuthorizationRules(ctx context.Context, id QueueId) (result QueuesListAuthorizationRulesOperationResponse, err error)
QueuesListAuthorizationRules ...
func (QueuesAuthorizationRuleClient) QueuesListAuthorizationRulesComplete ¶
func (c QueuesAuthorizationRuleClient) QueuesListAuthorizationRulesComplete(ctx context.Context, id QueueId) (QueuesListAuthorizationRulesCompleteResult, error)
QueuesListAuthorizationRulesComplete retrieves all the results into a single object
func (QueuesAuthorizationRuleClient) QueuesListAuthorizationRulesCompleteMatchingPredicate ¶
func (c QueuesAuthorizationRuleClient) QueuesListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id QueueId, predicate SBAuthorizationRuleOperationPredicate) (result QueuesListAuthorizationRulesCompleteResult, err error)
QueuesListAuthorizationRulesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (QueuesAuthorizationRuleClient) QueuesListKeys ¶
func (c QueuesAuthorizationRuleClient) QueuesListKeys(ctx context.Context, id QueueAuthorizationRuleId) (result QueuesListKeysOperationResponse, err error)
QueuesListKeys ...
func (QueuesAuthorizationRuleClient) QueuesRegenerateKeys ¶
func (c QueuesAuthorizationRuleClient) QueuesRegenerateKeys(ctx context.Context, id QueueAuthorizationRuleId, input RegenerateAccessKeyParameters) (result QueuesRegenerateKeysOperationResponse, err error)
QueuesRegenerateKeys ...
type QueuesCreateOrUpdateAuthorizationRuleOperationResponse ¶
type QueuesCreateOrUpdateAuthorizationRuleOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SBAuthorizationRule }
type QueuesGetAuthorizationRuleOperationResponse ¶
type QueuesGetAuthorizationRuleOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SBAuthorizationRule }
type QueuesListAuthorizationRulesCompleteResult ¶
type QueuesListAuthorizationRulesCompleteResult struct {
Items []SBAuthorizationRule
}
type QueuesListAuthorizationRulesOperationResponse ¶
type QueuesListAuthorizationRulesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SBAuthorizationRule }
type QueuesListKeysOperationResponse ¶
type QueuesListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccessKeys }
type QueuesRegenerateKeysOperationResponse ¶
type QueuesRegenerateKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccessKeys }
type SBAuthorizationRule ¶
type SBAuthorizationRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SBAuthorizationRuleProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SBAuthorizationRuleOperationPredicate ¶
func (SBAuthorizationRuleOperationPredicate) Matches ¶
func (p SBAuthorizationRuleOperationPredicate) Matches(input SBAuthorizationRule) bool
type SBAuthorizationRuleProperties ¶
type SBAuthorizationRuleProperties struct {
Rights []AccessRights `json:"rights"`
}
Source Files ¶
- client.go
- constants.go
- id_queue.go
- id_queueauthorizationrule.go
- method_queuescreateorupdateauthorizationrule.go
- method_queuesdeleteauthorizationrule.go
- method_queuesgetauthorizationrule.go
- method_queueslistauthorizationrules.go
- method_queueslistkeys.go
- method_queuesregeneratekeys.go
- model_accesskeys.go
- model_regenerateaccesskeyparameters.go
- model_sbauthorizationrule.go
- model_sbauthorizationruleproperties.go
- predicates.go
- version.go