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 AuthorizationRuleOperationPredicate
- type AuthorizationRuleProperties
- type CreateOrUpdateAuthorizationRuleOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteAuthorizationRuleOperationResponse
- type DeleteOperationResponse
- type GetAuthorizationRuleOperationResponse
- type GetOperationResponse
- 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 HybridConnectionOperationPredicate
- type HybridConnectionProperties
- func (o *HybridConnectionProperties) GetCreatedAtAsTime() (*time.Time, error)
- func (o *HybridConnectionProperties) GetUpdatedAtAsTime() (*time.Time, error)
- func (o *HybridConnectionProperties) SetCreatedAtAsTime(input time.Time)
- func (o *HybridConnectionProperties) SetUpdatedAtAsTime(input time.Time)
- type HybridConnectionsClient
- func (c HybridConnectionsClient) CreateOrUpdate(ctx context.Context, id HybridConnectionId, input HybridConnection) (result CreateOrUpdateOperationResponse, err error)
- func (c HybridConnectionsClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId, ...) (result CreateOrUpdateAuthorizationRuleOperationResponse, err error)
- func (c HybridConnectionsClient) Delete(ctx context.Context, id HybridConnectionId) (result DeleteOperationResponse, err error)
- func (c HybridConnectionsClient) DeleteAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result DeleteAuthorizationRuleOperationResponse, err error)
- func (c HybridConnectionsClient) Get(ctx context.Context, id HybridConnectionId) (result GetOperationResponse, err error)
- func (c HybridConnectionsClient) GetAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result GetAuthorizationRuleOperationResponse, err error)
- func (c HybridConnectionsClient) ListAuthorizationRules(ctx context.Context, id HybridConnectionId) (resp ListAuthorizationRulesOperationResponse, 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 ListByNamespaceOperationResponse, err error)
- func (c HybridConnectionsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId) (ListByNamespaceCompleteResult, error)
- func (c HybridConnectionsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, ...) (resp ListByNamespaceCompleteResult, err error)
- func (c HybridConnectionsClient) ListKeys(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result ListKeysOperationResponse, err error)
- func (c HybridConnectionsClient) RegenerateKeys(ctx context.Context, id HybridConnectionAuthorizationRuleId, ...) (result RegenerateKeysOperationResponse, err error)
- type KeyType
- type ListAuthorizationRulesCompleteResult
- type ListAuthorizationRulesOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceOperationResponse
- type ListKeysOperationResponse
- type NamespaceId
- type RegenerateAccessKeyParameters
- type RegenerateKeysOperationResponse
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 AuthorizationRuleOperationPredicate ¶
func (AuthorizationRuleOperationPredicate) Matches ¶
func (p AuthorizationRuleOperationPredicate) Matches(input AuthorizationRule) bool
type AuthorizationRuleProperties ¶
type AuthorizationRuleProperties struct {
Rights []AccessRights `json:"rights"`
}
type CreateOrUpdateAuthorizationRuleOperationResponse ¶
type CreateOrUpdateAuthorizationRuleOperationResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *HybridConnection }
type DeleteOperationResponse ¶
type GetAuthorizationRuleOperationResponse ¶
type GetAuthorizationRuleOperationResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type GetOperationResponse ¶
type GetOperationResponse 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 HybridConnectionOperationPredicate ¶
func (HybridConnectionOperationPredicate) Matches ¶
func (p HybridConnectionOperationPredicate) 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"` }
func (*HybridConnectionProperties) GetCreatedAtAsTime ¶
func (o *HybridConnectionProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*HybridConnectionProperties) GetUpdatedAtAsTime ¶
func (o *HybridConnectionProperties) GetUpdatedAtAsTime() (*time.Time, error)
func (*HybridConnectionProperties) SetCreatedAtAsTime ¶
func (o *HybridConnectionProperties) SetCreatedAtAsTime(input time.Time)
func (*HybridConnectionProperties) SetUpdatedAtAsTime ¶
func (o *HybridConnectionProperties) SetUpdatedAtAsTime(input time.Time)
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 CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (HybridConnectionsClient) CreateOrUpdateAuthorizationRule ¶
func (c HybridConnectionsClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId, input AuthorizationRule) (result CreateOrUpdateAuthorizationRuleOperationResponse, err error)
CreateOrUpdateAuthorizationRule ...
func (HybridConnectionsClient) Delete ¶
func (c HybridConnectionsClient) Delete(ctx context.Context, id HybridConnectionId) (result DeleteOperationResponse, err error)
Delete ...
func (HybridConnectionsClient) DeleteAuthorizationRule ¶
func (c HybridConnectionsClient) DeleteAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result DeleteAuthorizationRuleOperationResponse, err error)
DeleteAuthorizationRule ...
func (HybridConnectionsClient) Get ¶
func (c HybridConnectionsClient) Get(ctx context.Context, id HybridConnectionId) (result GetOperationResponse, err error)
Get ...
func (HybridConnectionsClient) GetAuthorizationRule ¶
func (c HybridConnectionsClient) GetAuthorizationRule(ctx context.Context, id HybridConnectionAuthorizationRuleId) (result GetAuthorizationRuleOperationResponse, err error)
GetAuthorizationRule ...
func (HybridConnectionsClient) ListAuthorizationRules ¶
func (c HybridConnectionsClient) ListAuthorizationRules(ctx context.Context, id HybridConnectionId) (resp ListAuthorizationRulesOperationResponse, 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 AuthorizationRuleOperationPredicate) (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 ListByNamespaceOperationResponse, 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 HybridConnectionOperationPredicate) (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 ListKeysOperationResponse, err error)
ListKeys ...
func (HybridConnectionsClient) RegenerateKeys ¶
func (c HybridConnectionsClient) RegenerateKeys(ctx context.Context, id HybridConnectionAuthorizationRuleId, input RegenerateAccessKeyParameters) (result RegenerateKeysOperationResponse, err error)
RegenerateKeys ...
type ListAuthorizationRulesCompleteResult ¶
type ListAuthorizationRulesCompleteResult struct {
Items []AuthorizationRule
}
type ListAuthorizationRulesOperationResponse ¶
type ListAuthorizationRulesOperationResponse struct { HttpResponse *http.Response Model *[]AuthorizationRule // contains filtered or unexported fields }
func (ListAuthorizationRulesOperationResponse) HasMore ¶
func (r ListAuthorizationRulesOperationResponse) HasMore() bool
func (ListAuthorizationRulesOperationResponse) LoadMore ¶
func (r ListAuthorizationRulesOperationResponse) LoadMore(ctx context.Context) (resp ListAuthorizationRulesOperationResponse, err error)
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct {
Items []HybridConnection
}
type ListByNamespaceOperationResponse ¶
type ListByNamespaceOperationResponse struct { HttpResponse *http.Response Model *[]HybridConnection // contains filtered or unexported fields }
func (ListByNamespaceOperationResponse) HasMore ¶
func (r ListByNamespaceOperationResponse) HasMore() bool
func (ListByNamespaceOperationResponse) LoadMore ¶
func (r ListByNamespaceOperationResponse) LoadMore(ctx context.Context) (resp ListByNamespaceOperationResponse, err error)
type ListKeysOperationResponse ¶
type ListKeysOperationResponse 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 RegenerateKeysOperationResponse ¶
type RegenerateKeysOperationResponse 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