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) (result ListAuthorizationRulesOperationResponse, err error)
- func (c HybridConnectionsClient) ListAuthorizationRulesComplete(ctx context.Context, id HybridConnectionId) (ListAuthorizationRulesCompleteResult, error)
- func (c HybridConnectionsClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id HybridConnectionId, ...) (result ListAuthorizationRulesCompleteResult, err error)
- func (c HybridConnectionsClient) ListByNamespace(ctx context.Context, id NamespaceId) (result ListByNamespaceOperationResponse, err error)
- func (c HybridConnectionsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId) (ListByNamespaceCompleteResult, error)
- func (c HybridConnectionsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, ...) (result 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" )
func (*AccessRights) UnmarshalJSON ¶
func (s *AccessRights) UnmarshalJSON(bytes []byte) error
type AuthorizationRule ¶
type AuthorizationRule struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationRuleProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AuthorizationRuleOperationPredicate ¶
type AuthorizationRuleOperationPredicate struct { Id *string Location *string Name *string Type *string }
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 OData *odata.OData Model *AuthorizationRule }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HybridConnection }
type DeleteOperationResponse ¶
type GetAuthorizationRuleOperationResponse ¶
type GetAuthorizationRuleOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AuthorizationRule }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HybridConnection }
type HybridConnection ¶
type HybridConnection struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *HybridConnectionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,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) FromParseResult ¶
func (id *HybridConnectionAuthorizationRuleId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *HybridConnectionId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type HybridConnectionOperationPredicate struct { Id *string Location *string Name *string Type *string }
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 *resourcemanager.Client
}
func NewHybridConnectionsClientWithBaseURI ¶
func NewHybridConnectionsClientWithBaseURI(sdkApi sdkEnv.Api) (*HybridConnectionsClient, error)
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) (result ListAuthorizationRulesOperationResponse, err error)
ListAuthorizationRules ...
func (HybridConnectionsClient) ListAuthorizationRulesComplete ¶
func (c HybridConnectionsClient) ListAuthorizationRulesComplete(ctx context.Context, id HybridConnectionId) (ListAuthorizationRulesCompleteResult, error)
ListAuthorizationRulesComplete retrieves all the results into a single object
func (HybridConnectionsClient) ListAuthorizationRulesCompleteMatchingPredicate ¶
func (c HybridConnectionsClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id HybridConnectionId, predicate AuthorizationRuleOperationPredicate) (result ListAuthorizationRulesCompleteResult, err error)
ListAuthorizationRulesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (HybridConnectionsClient) ListByNamespace ¶
func (c HybridConnectionsClient) ListByNamespace(ctx context.Context, id NamespaceId) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (HybridConnectionsClient) ListByNamespaceComplete ¶
func (c HybridConnectionsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (HybridConnectionsClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c HybridConnectionsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate HybridConnectionOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies 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 { LatestHttpResponse *http.Response Items []AuthorizationRule }
type ListAuthorizationRulesOperationResponse ¶
type ListAuthorizationRulesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AuthorizationRule }
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct { LatestHttpResponse *http.Response Items []HybridConnection }
type ListByNamespaceOperationResponse ¶
type ListByNamespaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]HybridConnection }
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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) FromParseResult ¶
func (id *NamespaceId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData Model *AccessKeys }
Source Files ¶
- client.go
- constants.go
- id_hybridconnection.go
- id_hybridconnectionauthorizationrule.go
- id_namespace.go
- method_createorupdate.go
- method_createorupdateauthorizationrule.go
- method_delete.go
- method_deleteauthorizationrule.go
- method_get.go
- method_getauthorizationrule.go
- method_listauthorizationrules.go
- method_listbynamespace.go
- method_listkeys.go
- method_regeneratekeys.go
- model_accesskeys.go
- model_authorizationrule.go
- model_authorizationruleproperties.go
- model_hybridconnection.go
- model_hybridconnectionproperties.go
- model_regenerateaccesskeyparameters.go
- predicates.go
- version.go