Documentation ¶
Index ¶
- func PossibleValuesForAccessRights() []string
- func PossibleValuesForKeyType() []string
- func ValidateHybridConnectionAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateHybridConnectionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type AccessKeys
- type AccessRights
- type AuthorizationRule
- type AuthorizationRulePredicate
- type AuthorizationRuleProperties
- type CreateOrUpdateAuthorizationRuleResponse
- type CreateOrUpdateResponse
- type DeleteAuthorizationRuleResponse
- type DeleteResponse
- type GetAuthorizationRuleResponse
- type GetResponse
- type HybridConnection
- type HybridConnectionAuthorizationRuleId
- func NewHybridConnectionAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, ...) HybridConnectionAuthorizationRuleId
- func ParseHybridConnectionAuthorizationRuleID(input string) (*HybridConnectionAuthorizationRuleId, error)
- func ParseHybridConnectionAuthorizationRuleIDInsensitively(input string) (*HybridConnectionAuthorizationRuleId, error)
- type HybridConnectionId
- type HybridConnectionPredicate
- type HybridConnectionProperties
- type HybridConnectionsClient
- func (c HybridConnectionsClient) CreateOrUpdate(ctx context.Context, id HybridConnectionId, input HybridConnection) (result CreateOrUpdateResponse, err error)
- func (c HybridConnectionsClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId, ...) (result CreateOrUpdateAuthorizationRuleResponse, err error)
- func (c HybridConnectionsClient) Delete(ctx context.Context, id HybridConnectionId) (result DeleteResponse, err error)
- func (c HybridConnectionsClient) DeleteAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result DeleteAuthorizationRuleResponse, err error)
- func (c HybridConnectionsClient) Get(ctx context.Context, id HybridConnectionId) (result GetResponse, err error)
- func (c HybridConnectionsClient) GetAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result GetAuthorizationRuleResponse, err error)
- func (c HybridConnectionsClient) ListAuthorizationRules(ctx context.Context, id HybridConnectionId) (resp ListAuthorizationRulesResponse, err error)
- func (c HybridConnectionsClient) ListAuthorizationRulesComplete(ctx context.Context, id HybridConnectionId) (ListAuthorizationRulesCompleteResult, error)
- func (c HybridConnectionsClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id HybridConnectionId, ...) (resp ListAuthorizationRulesCompleteResult, err error)
- func (c HybridConnectionsClient) ListByNamespace(ctx context.Context, id NamespaceId) (resp ListByNamespaceResponse, err error)
- func (c HybridConnectionsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId) (ListByNamespaceCompleteResult, error)
- func (c HybridConnectionsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate HybridConnectionPredicate) (resp ListByNamespaceCompleteResult, err error)
- func (c HybridConnectionsClient) ListKeys(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result ListKeysResponse, err error)
- func (c HybridConnectionsClient) RegenerateKeys(ctx context.Context, id HybridConnectionAuthorizationRuleId, ...) (result RegenerateKeysResponse, err error)
- type KeyType
- type ListAuthorizationRulesCompleteResult
- type ListAuthorizationRulesResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceResponse
- type ListKeysResponse
- type NamespaceId
- type RegenerateAccessKeyParameters
- type RegenerateKeysResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func ValidateHybridConnectionAuthorizationRuleID ¶
func ValidateHybridConnectionAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateHybridConnectionAuthorizationRuleID checks that 'input' can be parsed as a Hybrid Connection Authorization Rule ID
func ValidateHybridConnectionID ¶
ValidateHybridConnectionID checks that 'input' can be parsed as a Hybrid Connection ID
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
Types ¶
type AccessKeys ¶
type AccessKeys struct { 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"` Type *string `json:"type,omitempty"` }
type AuthorizationRulePredicate ¶
func (AuthorizationRulePredicate) Matches ¶
func (p AuthorizationRulePredicate) Matches(input AuthorizationRule) bool
type AuthorizationRuleProperties ¶
type AuthorizationRuleProperties struct {
Rights []AccessRights `json:"rights"`
}
type CreateOrUpdateAuthorizationRuleResponse ¶
type CreateOrUpdateAuthorizationRuleResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { HttpResponse *http.Response Model *HybridConnection }
type DeleteResponse ¶
type GetAuthorizationRuleResponse ¶
type GetAuthorizationRuleResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *HybridConnection }
type HybridConnection ¶
type HybridConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HybridConnectionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type HybridConnectionAuthorizationRuleId ¶
type HybridConnectionAuthorizationRuleId struct { SubscriptionId string ResourceGroupName string NamespaceName string HybridConnectionName string AuthorizationRuleName string }
HybridConnectionAuthorizationRuleId is a struct representing the Resource ID for a Hybrid Connection Authorization Rule
func NewHybridConnectionAuthorizationRuleID ¶
func NewHybridConnectionAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) HybridConnectionAuthorizationRuleId
NewHybridConnectionAuthorizationRuleID returns a new HybridConnectionAuthorizationRuleId struct
func ParseHybridConnectionAuthorizationRuleID ¶
func ParseHybridConnectionAuthorizationRuleID(input string) (*HybridConnectionAuthorizationRuleId, error)
ParseHybridConnectionAuthorizationRuleID parses 'input' into a HybridConnectionAuthorizationRuleId
func ParseHybridConnectionAuthorizationRuleIDInsensitively ¶
func ParseHybridConnectionAuthorizationRuleIDInsensitively(input string) (*HybridConnectionAuthorizationRuleId, error)
ParseHybridConnectionAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a HybridConnectionAuthorizationRuleId note: this method should only be used for API response data and not user input
func (HybridConnectionAuthorizationRuleId) ID ¶
func (id HybridConnectionAuthorizationRuleId) ID() string
ID returns the formatted Hybrid Connection Authorization Rule ID
func (HybridConnectionAuthorizationRuleId) Segments ¶
func (id HybridConnectionAuthorizationRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hybrid Connection Authorization Rule ID
func (HybridConnectionAuthorizationRuleId) String ¶
func (id HybridConnectionAuthorizationRuleId) String() string
String returns a human-readable description of this Hybrid Connection Authorization Rule ID
type HybridConnectionId ¶
type HybridConnectionId struct { SubscriptionId string ResourceGroupName string NamespaceName string HybridConnectionName string }
HybridConnectionId is a struct representing the Resource ID for a Hybrid Connection
func NewHybridConnectionID ¶
func NewHybridConnectionID(subscriptionId string, resourceGroupName string, namespaceName string, hybridConnectionName string) HybridConnectionId
NewHybridConnectionID returns a new HybridConnectionId struct
func ParseHybridConnectionID ¶
func ParseHybridConnectionID(input string) (*HybridConnectionId, error)
ParseHybridConnectionID parses 'input' into a HybridConnectionId
func ParseHybridConnectionIDInsensitively ¶
func ParseHybridConnectionIDInsensitively(input string) (*HybridConnectionId, error)
ParseHybridConnectionIDInsensitively parses 'input' case-insensitively into a HybridConnectionId note: this method should only be used for API response data and not user input
func (HybridConnectionId) ID ¶
func (id HybridConnectionId) ID() string
ID returns the formatted Hybrid Connection ID
func (HybridConnectionId) Segments ¶
func (id HybridConnectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hybrid Connection ID
func (HybridConnectionId) String ¶
func (id HybridConnectionId) String() string
String returns a human-readable description of this Hybrid Connection ID
type HybridConnectionPredicate ¶
func (HybridConnectionPredicate) Matches ¶
func (p HybridConnectionPredicate) Matches(input HybridConnection) bool
type HybridConnectionProperties ¶
type HybridConnectionProperties struct { CreatedAt *string `json:"createdAt,omitempty"` ListenerCount *int64 `json:"listenerCount,omitempty"` RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` UserMetadata *string `json:"userMetadata,omitempty"` }
type HybridConnectionsClient ¶
type HybridConnectionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewHybridConnectionsClientWithBaseURI ¶
func NewHybridConnectionsClientWithBaseURI(endpoint string) HybridConnectionsClient
func (HybridConnectionsClient) CreateOrUpdate ¶
func (c HybridConnectionsClient) CreateOrUpdate(ctx context.Context, id HybridConnectionId, input HybridConnection) (result CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (HybridConnectionsClient) CreateOrUpdateAuthorizationRule ¶
func (c HybridConnectionsClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId, input AuthorizationRule) (result CreateOrUpdateAuthorizationRuleResponse, err error)
CreateOrUpdateAuthorizationRule ...
func (HybridConnectionsClient) Delete ¶
func (c HybridConnectionsClient) Delete(ctx context.Context, id HybridConnectionId) (result DeleteResponse, err error)
Delete ...
func (HybridConnectionsClient) DeleteAuthorizationRule ¶
func (c HybridConnectionsClient) DeleteAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result DeleteAuthorizationRuleResponse, err error)
DeleteAuthorizationRule ...
func (HybridConnectionsClient) Get ¶
func (c HybridConnectionsClient) Get(ctx context.Context, id HybridConnectionId) (result GetResponse, err error)
Get ...
func (HybridConnectionsClient) GetAuthorizationRule ¶
func (c HybridConnectionsClient) GetAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result GetAuthorizationRuleResponse, err error)
GetAuthorizationRule ...
func (HybridConnectionsClient) ListAuthorizationRules ¶
func (c HybridConnectionsClient) ListAuthorizationRules(ctx context.Context, id HybridConnectionId) (resp ListAuthorizationRulesResponse, err error)
ListAuthorizationRules ...
func (HybridConnectionsClient) ListAuthorizationRulesComplete ¶
func (c HybridConnectionsClient) ListAuthorizationRulesComplete(ctx context.Context, id HybridConnectionId) (ListAuthorizationRulesCompleteResult, error)
ListAuthorizationRulesComplete retrieves all of the results into a single object
func (HybridConnectionsClient) ListAuthorizationRulesCompleteMatchingPredicate ¶
func (c HybridConnectionsClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id HybridConnectionId, predicate AuthorizationRulePredicate) (resp ListAuthorizationRulesCompleteResult, err error)
ListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (HybridConnectionsClient) ListByNamespace ¶
func (c HybridConnectionsClient) ListByNamespace(ctx context.Context, id NamespaceId) (resp ListByNamespaceResponse, err error)
ListByNamespace ...
func (HybridConnectionsClient) ListByNamespaceComplete ¶
func (c HybridConnectionsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all of the results into a single object
func (HybridConnectionsClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c HybridConnectionsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate HybridConnectionPredicate) (resp ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (HybridConnectionsClient) ListKeys ¶
func (c HybridConnectionsClient) ListKeys(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result ListKeysResponse, err error)
ListKeys ...
func (HybridConnectionsClient) RegenerateKeys ¶
func (c HybridConnectionsClient) RegenerateKeys(ctx context.Context, id HybridConnectionAuthorizationRuleId, input RegenerateAccessKeyParameters) (result RegenerateKeysResponse, err error)
RegenerateKeys ...
type ListAuthorizationRulesCompleteResult ¶
type ListAuthorizationRulesCompleteResult struct {
Items []AuthorizationRule
}
type ListAuthorizationRulesResponse ¶
type ListAuthorizationRulesResponse struct { HttpResponse *http.Response Model *[]AuthorizationRule // contains filtered or unexported fields }
func (ListAuthorizationRulesResponse) HasMore ¶
func (r ListAuthorizationRulesResponse) HasMore() bool
func (ListAuthorizationRulesResponse) LoadMore ¶
func (r ListAuthorizationRulesResponse) LoadMore(ctx context.Context) (resp ListAuthorizationRulesResponse, err error)
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct {
Items []HybridConnection
}
type ListByNamespaceResponse ¶
type ListByNamespaceResponse struct { HttpResponse *http.Response Model *[]HybridConnection // contains filtered or unexported fields }
func (ListByNamespaceResponse) HasMore ¶
func (r ListByNamespaceResponse) HasMore() bool
func (ListByNamespaceResponse) LoadMore ¶
func (r ListByNamespaceResponse) LoadMore(ctx context.Context) (resp ListByNamespaceResponse, err error)
type ListKeysResponse ¶
type ListKeysResponse struct { HttpResponse *http.Response Model *AccessKeys }
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 RegenerateKeysResponse ¶
type RegenerateKeysResponse struct { HttpResponse *http.Response Model *AccessKeys }
Source Files ¶
- client.go
- constants.go
- id_hybridconnection.go
- id_hybridconnectionauthorizationrule.go
- id_namespace.go
- method_createorupdate_autorest.go
- method_createorupdateauthorizationrule_autorest.go
- method_delete_autorest.go
- method_deleteauthorizationrule_autorest.go
- method_get_autorest.go
- method_getauthorizationrule_autorest.go
- method_listauthorizationrules_autorest.go
- method_listbynamespace_autorest.go
- method_listkeys_autorest.go
- method_regeneratekeys_autorest.go
- model_accesskeys.go
- model_authorizationrule.go
- model_authorizationruleproperties.go
- model_hybridconnection.go
- model_hybridconnectionproperties.go
- model_regenerateaccesskeyparameters.go
- predicates.go
- version.go