authorizationrulesnamespaces

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 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 ValidateAuthorizationRuleID

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

ValidateAuthorizationRuleID checks that 'input' can be parsed as a Authorization Rule 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 {
	AliasPrimaryConnectionString   *string `json:"aliasPrimaryConnectionString,omitempty"`
	AliasSecondaryConnectionString *string `json:"aliasSecondaryConnectionString,omitempty"`
	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,omitempty"`
	Type       *string                      `json:"type,omitempty"`
}

type AuthorizationRuleId

type AuthorizationRuleId struct {
	SubscriptionId        string
	ResourceGroupName     string
	NamespaceName         string
	AuthorizationRuleName string
}

AuthorizationRuleId is a struct representing the Resource ID for a Authorization Rule

func NewAuthorizationRuleID

func NewAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, authorizationRuleName string) AuthorizationRuleId

NewAuthorizationRuleID returns a new AuthorizationRuleId struct

func ParseAuthorizationRuleID

func ParseAuthorizationRuleID(input string) (*AuthorizationRuleId, error)

ParseAuthorizationRuleID parses 'input' into a AuthorizationRuleId

func ParseAuthorizationRuleIDInsensitively

func ParseAuthorizationRuleIDInsensitively(input string) (*AuthorizationRuleId, error)

ParseAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a AuthorizationRuleId note: this method should only be used for API response data and not user input

func (AuthorizationRuleId) ID

func (id AuthorizationRuleId) ID() string

ID returns the formatted Authorization Rule ID

func (AuthorizationRuleId) Segments

func (id AuthorizationRuleId) Segments() []resourceids.Segment

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

func (AuthorizationRuleId) String

func (id AuthorizationRuleId) String() string

String returns a human-readable description of this Authorization Rule ID

type AuthorizationRulePredicate

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

func (AuthorizationRulePredicate) Matches

type AuthorizationRuleProperties

type AuthorizationRuleProperties struct {
	Rights []AccessRights `json:"rights"`
}

type AuthorizationRulesNamespacesClient

type AuthorizationRulesNamespacesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewAuthorizationRulesNamespacesClientWithBaseURI

func NewAuthorizationRulesNamespacesClientWithBaseURI(endpoint string) AuthorizationRulesNamespacesClient

func (AuthorizationRulesNamespacesClient) NamespacesCreateOrUpdateAuthorizationRule

NamespacesCreateOrUpdateAuthorizationRule ...

func (AuthorizationRulesNamespacesClient) NamespacesDeleteAuthorizationRule

NamespacesDeleteAuthorizationRule ...

func (AuthorizationRulesNamespacesClient) NamespacesGetAuthorizationRule

NamespacesGetAuthorizationRule ...

func (AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRules

func (c AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRules(ctx context.Context, id NamespaceId) (resp NamespacesListAuthorizationRulesResponse, err error)

NamespacesListAuthorizationRules ...

func (AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRulesComplete

NamespacesListAuthorizationRulesComplete retrieves all of the results into a single object

func (AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRulesCompleteMatchingPredicate

func (c AuthorizationRulesNamespacesClient) NamespacesListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate AuthorizationRulePredicate) (resp NamespacesListAuthorizationRulesCompleteResult, err error)

NamespacesListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (AuthorizationRulesNamespacesClient) NamespacesListKeys

NamespacesListKeys ...

func (AuthorizationRulesNamespacesClient) NamespacesRegenerateKeys

NamespacesRegenerateKeys ...

type KeyType

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

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 NamespacesCreateOrUpdateAuthorizationRuleResponse

type NamespacesCreateOrUpdateAuthorizationRuleResponse struct {
	HttpResponse *http.Response
	Model        *AuthorizationRule
}

type NamespacesDeleteAuthorizationRuleResponse

type NamespacesDeleteAuthorizationRuleResponse struct {
	HttpResponse *http.Response
}

type NamespacesGetAuthorizationRuleResponse

type NamespacesGetAuthorizationRuleResponse struct {
	HttpResponse *http.Response
	Model        *AuthorizationRule
}

type NamespacesListAuthorizationRulesCompleteResult

type NamespacesListAuthorizationRulesCompleteResult struct {
	Items []AuthorizationRule
}

type NamespacesListAuthorizationRulesResponse

type NamespacesListAuthorizationRulesResponse struct {
	HttpResponse *http.Response
	Model        *[]AuthorizationRule
	// contains filtered or unexported fields
}

func (NamespacesListAuthorizationRulesResponse) HasMore

func (NamespacesListAuthorizationRulesResponse) LoadMore

type NamespacesListKeysResponse

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

type NamespacesRegenerateKeysResponse

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

type RegenerateAccessKeyParameters

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

Jump to

Keyboard shortcuts

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