Documentation ¶
Index ¶
- type AccessKeys
- type AccessRights
- type AuthorizationRule
- type AuthorizationRuleId
- type AuthorizationRulePredicate
- type AuthorizationRuleProperties
- type AuthorizationRulesEventHubsClient
- func (c AuthorizationRulesEventHubsClient) EventHubsCreateOrUpdateAuthorizationRule(ctx context.Context, id AuthorizationRuleId, input AuthorizationRule) (result EventHubsCreateOrUpdateAuthorizationRuleResponse, err error)
- func (c AuthorizationRulesEventHubsClient) EventHubsListAuthorizationRules(ctx context.Context, id EventhubId) (resp EventHubsListAuthorizationRulesResponse, err error)
- func (c AuthorizationRulesEventHubsClient) EventHubsListAuthorizationRulesComplete(ctx context.Context, id EventhubId) (EventHubsListAuthorizationRulesCompleteResult, error)
- func (c AuthorizationRulesEventHubsClient) EventHubsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id EventhubId, predicate AuthorizationRulePredicate) (resp EventHubsListAuthorizationRulesCompleteResult, err error)
- func (c AuthorizationRulesEventHubsClient) EventHubsListKeys(ctx context.Context, id AuthorizationRuleId) (result EventHubsListKeysResponse, err error)
- func (c AuthorizationRulesEventHubsClient) EventHubsRegenerateKeys(ctx context.Context, id AuthorizationRuleId, ...) (result EventHubsRegenerateKeysResponse, err error)
- type EventHubsCreateOrUpdateAuthorizationRuleResponse
- type EventHubsListAuthorizationRulesCompleteResult
- type EventHubsListAuthorizationRulesResponse
- type EventHubsListKeysResponse
- type EventHubsRegenerateKeysResponse
- type EventhubId
- type KeyType
- type RegenerateAccessKeyParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 AuthorizationRule ¶
type AuthorizationRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationRuleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AuthorizationRuleId ¶
type AuthorizationRuleId struct { SubscriptionId string ResourceGroup string NamespaceName string EventhubName string Name string }
func NewAuthorizationRuleID ¶
func NewAuthorizationRuleID(subscriptionId, resourceGroup, namespaceName, eventhubName, name string) AuthorizationRuleId
func ParseAuthorizationRuleID ¶
func ParseAuthorizationRuleID(input string) (*AuthorizationRuleId, error)
ParseAuthorizationRuleID parses a AuthorizationRule ID into an AuthorizationRuleId struct
func ParseAuthorizationRuleIDInsensitively ¶
func ParseAuthorizationRuleIDInsensitively(input string) (*AuthorizationRuleId, error)
ParseAuthorizationRuleIDInsensitively parses an AuthorizationRule ID into an AuthorizationRuleId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseAuthorizationRuleID method should be used instead for validation etc.
func (AuthorizationRuleId) ID ¶
func (id AuthorizationRuleId) ID() string
func (AuthorizationRuleId) String ¶
func (id AuthorizationRuleId) String() string
type AuthorizationRulePredicate ¶
func (AuthorizationRulePredicate) Matches ¶
func (p AuthorizationRulePredicate) Matches(input AuthorizationRule) bool
type AuthorizationRuleProperties ¶
type AuthorizationRuleProperties struct {
Rights []AccessRights `json:"rights"`
}
type AuthorizationRulesEventHubsClient ¶
type AuthorizationRulesEventHubsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAuthorizationRulesEventHubsClientWithBaseURI ¶
func NewAuthorizationRulesEventHubsClientWithBaseURI(endpoint string) AuthorizationRulesEventHubsClient
func (AuthorizationRulesEventHubsClient) EventHubsCreateOrUpdateAuthorizationRule ¶
func (c AuthorizationRulesEventHubsClient) EventHubsCreateOrUpdateAuthorizationRule(ctx context.Context, id AuthorizationRuleId, input AuthorizationRule) (result EventHubsCreateOrUpdateAuthorizationRuleResponse, err error)
EventHubsCreateOrUpdateAuthorizationRule ...
func (AuthorizationRulesEventHubsClient) EventHubsListAuthorizationRules ¶
func (c AuthorizationRulesEventHubsClient) EventHubsListAuthorizationRules(ctx context.Context, id EventhubId) (resp EventHubsListAuthorizationRulesResponse, err error)
EventHubsListAuthorizationRules ...
func (AuthorizationRulesEventHubsClient) EventHubsListAuthorizationRulesComplete ¶
func (c AuthorizationRulesEventHubsClient) EventHubsListAuthorizationRulesComplete(ctx context.Context, id EventhubId) (EventHubsListAuthorizationRulesCompleteResult, error)
EventHubsListAuthorizationRulesComplete retrieves all of the results into a single object
func (AuthorizationRulesEventHubsClient) EventHubsListAuthorizationRulesCompleteMatchingPredicate ¶
func (c AuthorizationRulesEventHubsClient) EventHubsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id EventhubId, predicate AuthorizationRulePredicate) (resp EventHubsListAuthorizationRulesCompleteResult, err error)
EventHubsListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AuthorizationRulesEventHubsClient) EventHubsListKeys ¶
func (c AuthorizationRulesEventHubsClient) EventHubsListKeys(ctx context.Context, id AuthorizationRuleId) (result EventHubsListKeysResponse, err error)
EventHubsListKeys ...
func (AuthorizationRulesEventHubsClient) EventHubsRegenerateKeys ¶
func (c AuthorizationRulesEventHubsClient) EventHubsRegenerateKeys(ctx context.Context, id AuthorizationRuleId, input RegenerateAccessKeyParameters) (result EventHubsRegenerateKeysResponse, err error)
EventHubsRegenerateKeys ...
type EventHubsCreateOrUpdateAuthorizationRuleResponse ¶
type EventHubsCreateOrUpdateAuthorizationRuleResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type EventHubsListAuthorizationRulesCompleteResult ¶
type EventHubsListAuthorizationRulesCompleteResult struct {
Items []AuthorizationRule
}
type EventHubsListAuthorizationRulesResponse ¶
type EventHubsListAuthorizationRulesResponse struct { HttpResponse *http.Response Model *[]AuthorizationRule // contains filtered or unexported fields }
func (EventHubsListAuthorizationRulesResponse) HasMore ¶
func (r EventHubsListAuthorizationRulesResponse) HasMore() bool
func (EventHubsListAuthorizationRulesResponse) LoadMore ¶
func (r EventHubsListAuthorizationRulesResponse) LoadMore(ctx context.Context) (resp EventHubsListAuthorizationRulesResponse, err error)
type EventHubsListKeysResponse ¶
type EventHubsListKeysResponse struct { HttpResponse *http.Response Model *AccessKeys }
type EventHubsRegenerateKeysResponse ¶
type EventHubsRegenerateKeysResponse struct { HttpResponse *http.Response Model *AccessKeys }
type EventhubId ¶
type EventhubId struct { SubscriptionId string ResourceGroup string NamespaceName string Name string }
func NewEventhubID ¶
func NewEventhubID(subscriptionId, resourceGroup, namespaceName, name string) EventhubId
func ParseEventhubID ¶
func ParseEventhubID(input string) (*EventhubId, error)
ParseEventhubID parses a Eventhub ID into an EventhubId struct
func ParseEventhubIDInsensitively ¶
func ParseEventhubIDInsensitively(input string) (*EventhubId, error)
ParseEventhubIDInsensitively parses an Eventhub ID into an EventhubId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseEventhubID method should be used instead for validation etc.
func (EventhubId) ID ¶
func (id EventhubId) ID() string
func (EventhubId) String ¶
func (id EventhubId) String() string
Source Files ¶
- client.go
- constants.go
- id_authorizationrule.go
- id_eventhub.go
- method_eventhubscreateorupdateauthorizationrule_autorest.go
- method_eventhubslistauthorizationrules_autorest.go
- method_eventhubslistkeys_autorest.go
- method_eventhubsregeneratekeys_autorest.go
- model_accesskeys.go
- model_authorizationrule.go
- model_authorizationruleproperties.go
- model_regenerateaccesskeyparameters.go
- predicates.go
- version.go