hybridconnections

package
v2.85.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

func ValidateHybridConnectionID(input interface{}, key string) (warnings []string, errors []error)

ValidateHybridConnectionID checks that 'input' can be parsed as a Hybrid Connection ID

func ValidateNamespaceID

func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)

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

type AuthorizationRulePredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (AuthorizationRulePredicate) Matches

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 DeleteAuthorizationRuleResponse

type DeleteAuthorizationRuleResponse struct {
	HttpResponse *http.Response
}

type DeleteResponse

type DeleteResponse struct {
	HttpResponse *http.Response
}

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

ID returns the formatted Hybrid Connection Authorization Rule ID

func (HybridConnectionAuthorizationRuleId) Segments

Segments returns a slice of Resource ID Segments which comprise this Hybrid Connection Authorization Rule ID

func (HybridConnectionAuthorizationRuleId) 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

type HybridConnectionPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (HybridConnectionPredicate) Matches

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

CreateOrUpdate ...

func (HybridConnectionsClient) CreateOrUpdateAuthorizationRule

CreateOrUpdateAuthorizationRule ...

func (HybridConnectionsClient) Delete

Delete ...

func (HybridConnectionsClient) DeleteAuthorizationRule

DeleteAuthorizationRule ...

func (HybridConnectionsClient) Get

Get ...

func (HybridConnectionsClient) GetAuthorizationRule

GetAuthorizationRule ...

func (HybridConnectionsClient) ListAuthorizationRules

func (c HybridConnectionsClient) ListAuthorizationRules(ctx context.Context, id HybridConnectionId) (resp ListAuthorizationRulesResponse, err error)

ListAuthorizationRules ...

func (HybridConnectionsClient) ListAuthorizationRulesComplete

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

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

ListKeys ...

func (HybridConnectionsClient) RegenerateKeys

RegenerateKeys ...

type KeyType

type KeyType string
const (
	KeyTypePrimaryKey   KeyType = "PrimaryKey"
	KeyTypeSecondaryKey KeyType = "SecondaryKey"
)

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 (ListAuthorizationRulesResponse) LoadMore

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

type ListKeysResponse

type ListKeysResponse struct {
	HttpResponse *http.Response
	Model        *AccessKeys
}

type NamespaceId

type NamespaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	NamespaceName     string
}

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) ID

func (id NamespaceId) ID() string

ID returns the formatted Namespace ID

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 RegenerateAccessKeyParameters

type RegenerateAccessKeyParameters struct {
	Key     *string `json:"key,omitempty"`
	KeyType KeyType `json:"keyType"`
}

type RegenerateKeysResponse

type RegenerateKeysResponse struct {
	HttpResponse *http.Response
	Model        *AccessKeys
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL