Documentation ¶
Index ¶
- func PossibleValuesForAccessRights() []string
- func PossibleValuesForKeyType() []string
- func PossibleValuesForRelaytype() []string
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWcfRelayAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWcfRelayID(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 KeyType
- type ListAuthorizationRulesCompleteResult
- type ListAuthorizationRulesResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceResponse
- type ListKeysResponse
- type NamespaceId
- type RegenerateAccessKeyParameters
- type RegenerateKeysResponse
- type Relaytype
- type WCFRelaysClient
- func (c WCFRelaysClient) CreateOrUpdate(ctx context.Context, id WcfRelayId, input WcfRelay) (result CreateOrUpdateResponse, err error)
- func (c WCFRelaysClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id WcfRelayAuthorizationRuleId, input AuthorizationRule) (result CreateOrUpdateAuthorizationRuleResponse, err error)
- func (c WCFRelaysClient) Delete(ctx context.Context, id WcfRelayId) (result DeleteResponse, err error)
- func (c WCFRelaysClient) DeleteAuthorizationRule(ctx context.Context, id WcfRelayAuthorizationRuleId) (result DeleteAuthorizationRuleResponse, err error)
- func (c WCFRelaysClient) Get(ctx context.Context, id WcfRelayId) (result GetResponse, err error)
- func (c WCFRelaysClient) GetAuthorizationRule(ctx context.Context, id WcfRelayAuthorizationRuleId) (result GetAuthorizationRuleResponse, err error)
- func (c WCFRelaysClient) ListAuthorizationRules(ctx context.Context, id WcfRelayId) (resp ListAuthorizationRulesResponse, err error)
- func (c WCFRelaysClient) ListAuthorizationRulesComplete(ctx context.Context, id WcfRelayId) (ListAuthorizationRulesCompleteResult, error)
- func (c WCFRelaysClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id WcfRelayId, predicate AuthorizationRulePredicate) (resp ListAuthorizationRulesCompleteResult, err error)
- func (c WCFRelaysClient) ListByNamespace(ctx context.Context, id NamespaceId) (resp ListByNamespaceResponse, err error)
- func (c WCFRelaysClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId) (ListByNamespaceCompleteResult, error)
- func (c WCFRelaysClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate WcfRelayPredicate) (resp ListByNamespaceCompleteResult, err error)
- func (c WCFRelaysClient) ListKeys(ctx context.Context, id WcfRelayAuthorizationRuleId) (result ListKeysResponse, err error)
- func (c WCFRelaysClient) RegenerateKeys(ctx context.Context, id WcfRelayAuthorizationRuleId, ...) (result RegenerateKeysResponse, err error)
- type WcfRelay
- type WcfRelayAuthorizationRuleId
- func NewWcfRelayAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, ...) WcfRelayAuthorizationRuleId
- func ParseWcfRelayAuthorizationRuleID(input string) (*WcfRelayAuthorizationRuleId, error)
- func ParseWcfRelayAuthorizationRuleIDInsensitively(input string) (*WcfRelayAuthorizationRuleId, error)
- type WcfRelayId
- type WcfRelayPredicate
- type WcfRelayProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func PossibleValuesForRelaytype ¶
func PossibleValuesForRelaytype() []string
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
func ValidateWcfRelayAuthorizationRuleID ¶
func ValidateWcfRelayAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateWcfRelayAuthorizationRuleID checks that 'input' can be parsed as a Wcf Relay Authorization Rule ID
func ValidateWcfRelayID ¶
ValidateWcfRelayID checks that 'input' can be parsed as a Wcf Relay 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 DeleteResponse ¶
type GetAuthorizationRuleResponse ¶
type GetAuthorizationRuleResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type GetResponse ¶
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 []WcfRelay
}
type ListByNamespaceResponse ¶
type ListByNamespaceResponse struct { HttpResponse *http.Response Model *[]WcfRelay // 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 }
type WCFRelaysClient ¶
func NewWCFRelaysClientWithBaseURI ¶
func NewWCFRelaysClientWithBaseURI(endpoint string) WCFRelaysClient
func (WCFRelaysClient) CreateOrUpdate ¶
func (c WCFRelaysClient) CreateOrUpdate(ctx context.Context, id WcfRelayId, input WcfRelay) (result CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (WCFRelaysClient) CreateOrUpdateAuthorizationRule ¶
func (c WCFRelaysClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id WcfRelayAuthorizationRuleId, input AuthorizationRule) (result CreateOrUpdateAuthorizationRuleResponse, err error)
CreateOrUpdateAuthorizationRule ...
func (WCFRelaysClient) Delete ¶
func (c WCFRelaysClient) Delete(ctx context.Context, id WcfRelayId) (result DeleteResponse, err error)
Delete ...
func (WCFRelaysClient) DeleteAuthorizationRule ¶
func (c WCFRelaysClient) DeleteAuthorizationRule(ctx context.Context, id WcfRelayAuthorizationRuleId) (result DeleteAuthorizationRuleResponse, err error)
DeleteAuthorizationRule ...
func (WCFRelaysClient) Get ¶
func (c WCFRelaysClient) Get(ctx context.Context, id WcfRelayId) (result GetResponse, err error)
Get ...
func (WCFRelaysClient) GetAuthorizationRule ¶
func (c WCFRelaysClient) GetAuthorizationRule(ctx context.Context, id WcfRelayAuthorizationRuleId) (result GetAuthorizationRuleResponse, err error)
GetAuthorizationRule ...
func (WCFRelaysClient) ListAuthorizationRules ¶
func (c WCFRelaysClient) ListAuthorizationRules(ctx context.Context, id WcfRelayId) (resp ListAuthorizationRulesResponse, err error)
ListAuthorizationRules ...
func (WCFRelaysClient) ListAuthorizationRulesComplete ¶
func (c WCFRelaysClient) ListAuthorizationRulesComplete(ctx context.Context, id WcfRelayId) (ListAuthorizationRulesCompleteResult, error)
ListAuthorizationRulesComplete retrieves all of the results into a single object
func (WCFRelaysClient) ListAuthorizationRulesCompleteMatchingPredicate ¶
func (c WCFRelaysClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id WcfRelayId, predicate AuthorizationRulePredicate) (resp ListAuthorizationRulesCompleteResult, err error)
ListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (WCFRelaysClient) ListByNamespace ¶
func (c WCFRelaysClient) ListByNamespace(ctx context.Context, id NamespaceId) (resp ListByNamespaceResponse, err error)
ListByNamespace ...
func (WCFRelaysClient) ListByNamespaceComplete ¶
func (c WCFRelaysClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all of the results into a single object
func (WCFRelaysClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c WCFRelaysClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate WcfRelayPredicate) (resp ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (WCFRelaysClient) ListKeys ¶
func (c WCFRelaysClient) ListKeys(ctx context.Context, id WcfRelayAuthorizationRuleId) (result ListKeysResponse, err error)
ListKeys ...
func (WCFRelaysClient) RegenerateKeys ¶
func (c WCFRelaysClient) RegenerateKeys(ctx context.Context, id WcfRelayAuthorizationRuleId, input RegenerateAccessKeyParameters) (result RegenerateKeysResponse, err error)
RegenerateKeys ...
type WcfRelay ¶
type WcfRelay struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WcfRelayProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type WcfRelayAuthorizationRuleId ¶
type WcfRelayAuthorizationRuleId struct { SubscriptionId string ResourceGroupName string NamespaceName string RelayName string AuthorizationRuleName string }
WcfRelayAuthorizationRuleId is a struct representing the Resource ID for a Wcf Relay Authorization Rule
func NewWcfRelayAuthorizationRuleID ¶
func NewWcfRelayAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) WcfRelayAuthorizationRuleId
NewWcfRelayAuthorizationRuleID returns a new WcfRelayAuthorizationRuleId struct
func ParseWcfRelayAuthorizationRuleID ¶
func ParseWcfRelayAuthorizationRuleID(input string) (*WcfRelayAuthorizationRuleId, error)
ParseWcfRelayAuthorizationRuleID parses 'input' into a WcfRelayAuthorizationRuleId
func ParseWcfRelayAuthorizationRuleIDInsensitively ¶
func ParseWcfRelayAuthorizationRuleIDInsensitively(input string) (*WcfRelayAuthorizationRuleId, error)
ParseWcfRelayAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a WcfRelayAuthorizationRuleId note: this method should only be used for API response data and not user input
func (WcfRelayAuthorizationRuleId) ID ¶
func (id WcfRelayAuthorizationRuleId) ID() string
ID returns the formatted Wcf Relay Authorization Rule ID
func (WcfRelayAuthorizationRuleId) Segments ¶
func (id WcfRelayAuthorizationRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Wcf Relay Authorization Rule ID
func (WcfRelayAuthorizationRuleId) String ¶
func (id WcfRelayAuthorizationRuleId) String() string
String returns a human-readable description of this Wcf Relay Authorization Rule ID
type WcfRelayId ¶
type WcfRelayId struct { SubscriptionId string ResourceGroupName string NamespaceName string RelayName string }
WcfRelayId is a struct representing the Resource ID for a Wcf Relay
func NewWcfRelayID ¶
func NewWcfRelayID(subscriptionId string, resourceGroupName string, namespaceName string, relayName string) WcfRelayId
NewWcfRelayID returns a new WcfRelayId struct
func ParseWcfRelayID ¶
func ParseWcfRelayID(input string) (*WcfRelayId, error)
ParseWcfRelayID parses 'input' into a WcfRelayId
func ParseWcfRelayIDInsensitively ¶
func ParseWcfRelayIDInsensitively(input string) (*WcfRelayId, error)
ParseWcfRelayIDInsensitively parses 'input' case-insensitively into a WcfRelayId note: this method should only be used for API response data and not user input
func (WcfRelayId) Segments ¶
func (id WcfRelayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Wcf Relay ID
func (WcfRelayId) String ¶
func (id WcfRelayId) String() string
String returns a human-readable description of this Wcf Relay ID
type WcfRelayPredicate ¶
func (WcfRelayPredicate) Matches ¶
func (p WcfRelayPredicate) Matches(input WcfRelay) bool
type WcfRelayProperties ¶
type WcfRelayProperties struct { CreatedAt *string `json:"createdAt,omitempty"` IsDynamic *bool `json:"isDynamic,omitempty"` ListenerCount *int64 `json:"listenerCount,omitempty"` RelayType *Relaytype `json:"relayType,omitempty"` RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty"` RequiresTransportSecurity *bool `json:"requiresTransportSecurity,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` UserMetadata *string `json:"userMetadata,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_namespace.go
- id_wcfrelay.go
- id_wcfrelayauthorizationrule.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_regenerateaccesskeyparameters.go
- model_wcfrelay.go
- model_wcfrelayproperties.go
- predicates.go
- version.go