Documentation ¶
Index ¶
- func PossibleValuesForAccessRights() []string
- func PossibleValuesForKeyType() []string
- func ValidateTopicAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTopicID(input interface{}, key string) (warnings []string, errors []error)
- type AccessKeys
- type AccessRights
- type KeyType
- type RegenerateAccessKeyParameters
- type SBAuthorizationRule
- type SBAuthorizationRuleOperationPredicate
- type SBAuthorizationRuleProperties
- type TopicAuthorizationRuleId
- func NewTopicAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, ...) TopicAuthorizationRuleId
- func ParseTopicAuthorizationRuleID(input string) (*TopicAuthorizationRuleId, error)
- func ParseTopicAuthorizationRuleIDInsensitively(input string) (*TopicAuthorizationRuleId, error)
- type TopicId
- type TopicsAuthorizationRuleClient
- func (c TopicsAuthorizationRuleClient) TopicsCreateOrUpdateAuthorizationRule(ctx context.Context, id TopicAuthorizationRuleId, input SBAuthorizationRule) (result TopicsCreateOrUpdateAuthorizationRuleOperationResponse, err error)
- func (c TopicsAuthorizationRuleClient) TopicsDeleteAuthorizationRule(ctx context.Context, id TopicAuthorizationRuleId) (result TopicsDeleteAuthorizationRuleOperationResponse, err error)
- func (c TopicsAuthorizationRuleClient) TopicsGetAuthorizationRule(ctx context.Context, id TopicAuthorizationRuleId) (result TopicsGetAuthorizationRuleOperationResponse, err error)
- func (c TopicsAuthorizationRuleClient) TopicsListAuthorizationRules(ctx context.Context, id TopicId) (resp TopicsListAuthorizationRulesOperationResponse, err error)
- func (c TopicsAuthorizationRuleClient) TopicsListAuthorizationRulesComplete(ctx context.Context, id TopicId) (TopicsListAuthorizationRulesCompleteResult, error)
- func (c TopicsAuthorizationRuleClient) TopicsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id TopicId, ...) (resp TopicsListAuthorizationRulesCompleteResult, err error)
- func (c TopicsAuthorizationRuleClient) TopicsListKeys(ctx context.Context, id TopicAuthorizationRuleId) (result TopicsListKeysOperationResponse, err error)
- func (c TopicsAuthorizationRuleClient) TopicsRegenerateKeys(ctx context.Context, id TopicAuthorizationRuleId, ...) (result TopicsRegenerateKeysOperationResponse, err error)
- type TopicsCreateOrUpdateAuthorizationRuleOperationResponse
- type TopicsDeleteAuthorizationRuleOperationResponse
- type TopicsGetAuthorizationRuleOperationResponse
- type TopicsListAuthorizationRulesCompleteResult
- type TopicsListAuthorizationRulesOperationResponse
- type TopicsListKeysOperationResponse
- type TopicsRegenerateKeysOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func ValidateTopicAuthorizationRuleID ¶
func ValidateTopicAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateTopicAuthorizationRuleID checks that 'input' can be parsed as a Topic Authorization Rule ID
func ValidateTopicID ¶
ValidateTopicID checks that 'input' can be parsed as a Topic 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" )
type SBAuthorizationRule ¶
type SBAuthorizationRule struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *SBAuthorizationRuleProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SBAuthorizationRuleOperationPredicate ¶
type SBAuthorizationRuleOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (SBAuthorizationRuleOperationPredicate) Matches ¶
func (p SBAuthorizationRuleOperationPredicate) Matches(input SBAuthorizationRule) bool
type SBAuthorizationRuleProperties ¶
type SBAuthorizationRuleProperties struct {
Rights []AccessRights `json:"rights"`
}
type TopicAuthorizationRuleId ¶
type TopicAuthorizationRuleId struct { SubscriptionId string ResourceGroupName string NamespaceName string TopicName string AuthorizationRuleName string }
TopicAuthorizationRuleId is a struct representing the Resource ID for a Topic Authorization Rule
func NewTopicAuthorizationRuleID ¶
func NewTopicAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) TopicAuthorizationRuleId
NewTopicAuthorizationRuleID returns a new TopicAuthorizationRuleId struct
func ParseTopicAuthorizationRuleID ¶
func ParseTopicAuthorizationRuleID(input string) (*TopicAuthorizationRuleId, error)
ParseTopicAuthorizationRuleID parses 'input' into a TopicAuthorizationRuleId
func ParseTopicAuthorizationRuleIDInsensitively ¶
func ParseTopicAuthorizationRuleIDInsensitively(input string) (*TopicAuthorizationRuleId, error)
ParseTopicAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a TopicAuthorizationRuleId note: this method should only be used for API response data and not user input
func (TopicAuthorizationRuleId) ID ¶
func (id TopicAuthorizationRuleId) ID() string
ID returns the formatted Topic Authorization Rule ID
func (TopicAuthorizationRuleId) Segments ¶
func (id TopicAuthorizationRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Topic Authorization Rule ID
func (TopicAuthorizationRuleId) String ¶
func (id TopicAuthorizationRuleId) String() string
String returns a human-readable description of this Topic Authorization Rule ID
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) Segments ¶
func (id TopicId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Topic ID
type TopicsAuthorizationRuleClient ¶
type TopicsAuthorizationRuleClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewTopicsAuthorizationRuleClientWithBaseURI ¶
func NewTopicsAuthorizationRuleClientWithBaseURI(endpoint string) TopicsAuthorizationRuleClient
func (TopicsAuthorizationRuleClient) TopicsCreateOrUpdateAuthorizationRule ¶
func (c TopicsAuthorizationRuleClient) TopicsCreateOrUpdateAuthorizationRule(ctx context.Context, id TopicAuthorizationRuleId, input SBAuthorizationRule) (result TopicsCreateOrUpdateAuthorizationRuleOperationResponse, err error)
TopicsCreateOrUpdateAuthorizationRule ...
func (TopicsAuthorizationRuleClient) TopicsDeleteAuthorizationRule ¶
func (c TopicsAuthorizationRuleClient) TopicsDeleteAuthorizationRule(ctx context.Context, id TopicAuthorizationRuleId) (result TopicsDeleteAuthorizationRuleOperationResponse, err error)
TopicsDeleteAuthorizationRule ...
func (TopicsAuthorizationRuleClient) TopicsGetAuthorizationRule ¶
func (c TopicsAuthorizationRuleClient) TopicsGetAuthorizationRule(ctx context.Context, id TopicAuthorizationRuleId) (result TopicsGetAuthorizationRuleOperationResponse, err error)
TopicsGetAuthorizationRule ...
func (TopicsAuthorizationRuleClient) TopicsListAuthorizationRules ¶
func (c TopicsAuthorizationRuleClient) TopicsListAuthorizationRules(ctx context.Context, id TopicId) (resp TopicsListAuthorizationRulesOperationResponse, err error)
TopicsListAuthorizationRules ...
func (TopicsAuthorizationRuleClient) TopicsListAuthorizationRulesComplete ¶
func (c TopicsAuthorizationRuleClient) TopicsListAuthorizationRulesComplete(ctx context.Context, id TopicId) (TopicsListAuthorizationRulesCompleteResult, error)
TopicsListAuthorizationRulesComplete retrieves all of the results into a single object
func (TopicsAuthorizationRuleClient) TopicsListAuthorizationRulesCompleteMatchingPredicate ¶
func (c TopicsAuthorizationRuleClient) TopicsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id TopicId, predicate SBAuthorizationRuleOperationPredicate) (resp TopicsListAuthorizationRulesCompleteResult, err error)
TopicsListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (TopicsAuthorizationRuleClient) TopicsListKeys ¶
func (c TopicsAuthorizationRuleClient) TopicsListKeys(ctx context.Context, id TopicAuthorizationRuleId) (result TopicsListKeysOperationResponse, err error)
TopicsListKeys ...
func (TopicsAuthorizationRuleClient) TopicsRegenerateKeys ¶
func (c TopicsAuthorizationRuleClient) TopicsRegenerateKeys(ctx context.Context, id TopicAuthorizationRuleId, input RegenerateAccessKeyParameters) (result TopicsRegenerateKeysOperationResponse, err error)
TopicsRegenerateKeys ...
type TopicsCreateOrUpdateAuthorizationRuleOperationResponse ¶
type TopicsCreateOrUpdateAuthorizationRuleOperationResponse struct { HttpResponse *http.Response Model *SBAuthorizationRule }
type TopicsGetAuthorizationRuleOperationResponse ¶
type TopicsGetAuthorizationRuleOperationResponse struct { HttpResponse *http.Response Model *SBAuthorizationRule }
type TopicsListAuthorizationRulesCompleteResult ¶
type TopicsListAuthorizationRulesCompleteResult struct {
Items []SBAuthorizationRule
}
type TopicsListAuthorizationRulesOperationResponse ¶
type TopicsListAuthorizationRulesOperationResponse struct { HttpResponse *http.Response Model *[]SBAuthorizationRule // contains filtered or unexported fields }
func (TopicsListAuthorizationRulesOperationResponse) HasMore ¶
func (r TopicsListAuthorizationRulesOperationResponse) HasMore() bool
func (TopicsListAuthorizationRulesOperationResponse) LoadMore ¶
func (r TopicsListAuthorizationRulesOperationResponse) LoadMore(ctx context.Context) (resp TopicsListAuthorizationRulesOperationResponse, err error)
type TopicsListKeysOperationResponse ¶
type TopicsListKeysOperationResponse struct { HttpResponse *http.Response Model *AccessKeys }
type TopicsRegenerateKeysOperationResponse ¶
type TopicsRegenerateKeysOperationResponse struct { HttpResponse *http.Response Model *AccessKeys }
Source Files ¶
- client.go
- constants.go
- id_topic.go
- id_topicauthorizationrule.go
- method_topicscreateorupdateauthorizationrule_autorest.go
- method_topicsdeleteauthorizationrule_autorest.go
- method_topicsgetauthorizationrule_autorest.go
- method_topicslistauthorizationrules_autorest.go
- method_topicslistkeys_autorest.go
- method_topicsregeneratekeys_autorest.go
- model_accesskeys.go
- model_regenerateaccesskeyparameters.go
- model_sbauthorizationrule.go
- model_sbauthorizationruleproperties.go
- predicates.go
- version.go