Documentation ¶
Index ¶
- type AccessKeys
- type AccessRights
- type AuthorizationRule
- type AuthorizationRuleId
- type AuthorizationRulePredicate
- type AuthorizationRuleProperties
- type AuthorizationRulesNamespacesClient
- func (c AuthorizationRulesNamespacesClient) NamespacesCreateOrUpdateAuthorizationRule(ctx context.Context, id AuthorizationRuleId, input AuthorizationRule) (result NamespacesCreateOrUpdateAuthorizationRuleResponse, err error)
- func (c AuthorizationRulesNamespacesClient) NamespacesDeleteAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result NamespacesDeleteAuthorizationRuleResponse, err error)
- func (c AuthorizationRulesNamespacesClient) NamespacesGetAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result NamespacesGetAuthorizationRuleResponse, err error)
- func (c AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRules(ctx context.Context, id NamespaceId) (resp NamespacesListAuthorizationRulesResponse, err error)
- func (c AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRulesComplete(ctx context.Context, id NamespaceId) (NamespacesListAuthorizationRulesCompleteResult, error)
- func (c AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate AuthorizationRulePredicate) (resp NamespacesListAuthorizationRulesCompleteResult, err error)
- func (c AuthorizationRulesNamespacesClient) NamespacesListKeys(ctx context.Context, id AuthorizationRuleId) (result NamespacesListKeysResponse, err error)
- func (c AuthorizationRulesNamespacesClient) NamespacesRegenerateKeys(ctx context.Context, id AuthorizationRuleId, ...) (result NamespacesRegenerateKeysResponse, err error)
- type KeyType
- type NamespaceId
- type NamespacesCreateOrUpdateAuthorizationRuleResponse
- type NamespacesDeleteAuthorizationRuleResponse
- type NamespacesGetAuthorizationRuleResponse
- type NamespacesListAuthorizationRulesCompleteResult
- type NamespacesListAuthorizationRulesResponse
- type NamespacesListKeysResponse
- type NamespacesRegenerateKeysResponse
- 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 Name string }
func NewAuthorizationRuleID ¶
func NewAuthorizationRuleID(subscriptionId, resourceGroup, namespaceName, 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 AuthorizationRulesNamespacesClient ¶
type AuthorizationRulesNamespacesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAuthorizationRulesNamespacesClientWithBaseURI ¶
func NewAuthorizationRulesNamespacesClientWithBaseURI(endpoint string) AuthorizationRulesNamespacesClient
func (AuthorizationRulesNamespacesClient) NamespacesCreateOrUpdateAuthorizationRule ¶
func (c AuthorizationRulesNamespacesClient) NamespacesCreateOrUpdateAuthorizationRule(ctx context.Context, id AuthorizationRuleId, input AuthorizationRule) (result NamespacesCreateOrUpdateAuthorizationRuleResponse, err error)
NamespacesCreateOrUpdateAuthorizationRule ...
func (AuthorizationRulesNamespacesClient) NamespacesDeleteAuthorizationRule ¶
func (c AuthorizationRulesNamespacesClient) NamespacesDeleteAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result NamespacesDeleteAuthorizationRuleResponse, err error)
NamespacesDeleteAuthorizationRule ...
func (AuthorizationRulesNamespacesClient) NamespacesGetAuthorizationRule ¶
func (c AuthorizationRulesNamespacesClient) NamespacesGetAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result NamespacesGetAuthorizationRuleResponse, err error)
NamespacesGetAuthorizationRule ...
func (AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRules ¶
func (c AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRules(ctx context.Context, id NamespaceId) (resp NamespacesListAuthorizationRulesResponse, err error)
NamespacesListAuthorizationRules ...
func (AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRulesComplete ¶
func (c AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRulesComplete(ctx context.Context, id NamespaceId) (NamespacesListAuthorizationRulesCompleteResult, error)
NamespacesListAuthorizationRulesComplete retrieves all of the results into a single object
func (AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRulesCompleteMatchingPredicate ¶
func (c AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate AuthorizationRulePredicate) (resp NamespacesListAuthorizationRulesCompleteResult, err error)
NamespacesListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AuthorizationRulesNamespacesClient) NamespacesListKeys ¶
func (c AuthorizationRulesNamespacesClient) NamespacesListKeys(ctx context.Context, id AuthorizationRuleId) (result NamespacesListKeysResponse, err error)
NamespacesListKeys ...
func (AuthorizationRulesNamespacesClient) NamespacesRegenerateKeys ¶
func (c AuthorizationRulesNamespacesClient) NamespacesRegenerateKeys(ctx context.Context, id AuthorizationRuleId, input RegenerateAccessKeyParameters) (result NamespacesRegenerateKeysResponse, err error)
NamespacesRegenerateKeys ...
type NamespaceId ¶
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId, resourceGroup, name string) NamespaceId
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses a Namespace ID into an NamespaceId struct
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses an Namespace ID into an NamespaceId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseNamespaceID method should be used instead for validation etc.
func (NamespaceId) ID ¶
func (id NamespaceId) ID() string
func (NamespaceId) String ¶
func (id NamespaceId) String() string
type NamespacesCreateOrUpdateAuthorizationRuleResponse ¶
type NamespacesCreateOrUpdateAuthorizationRuleResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type NamespacesGetAuthorizationRuleResponse ¶
type NamespacesGetAuthorizationRuleResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type NamespacesListAuthorizationRulesCompleteResult ¶
type NamespacesListAuthorizationRulesCompleteResult struct {
Items []AuthorizationRule
}
type NamespacesListAuthorizationRulesResponse ¶
type NamespacesListAuthorizationRulesResponse struct { HttpResponse *http.Response Model *[]AuthorizationRule // contains filtered or unexported fields }
func (NamespacesListAuthorizationRulesResponse) HasMore ¶
func (r NamespacesListAuthorizationRulesResponse) HasMore() bool
func (NamespacesListAuthorizationRulesResponse) LoadMore ¶
func (r NamespacesListAuthorizationRulesResponse) LoadMore(ctx context.Context) (resp NamespacesListAuthorizationRulesResponse, err error)
type NamespacesListKeysResponse ¶
type NamespacesListKeysResponse struct { HttpResponse *http.Response Model *AccessKeys }
type NamespacesRegenerateKeysResponse ¶
type NamespacesRegenerateKeysResponse struct { HttpResponse *http.Response Model *AccessKeys }
Source Files ¶
- client.go
- constants.go
- id_authorizationrule.go
- id_namespace.go
- method_namespacescreateorupdateauthorizationrule_autorest.go
- method_namespacesdeleteauthorizationrule_autorest.go
- method_namespacesgetauthorizationrule_autorest.go
- method_namespaceslistauthorizationrules_autorest.go
- method_namespaceslistkeys_autorest.go
- method_namespacesregeneratekeys_autorest.go
- model_accesskeys.go
- model_authorizationrule.go
- model_authorizationruleproperties.go
- model_regenerateaccesskeyparameters.go
- predicates.go
- version.go