Documentation ¶
Index ¶
- func PossibleValuesForPermissionBindingProvisioningState() []string
- func PossibleValuesForPermissionType() []string
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePermissionBindingID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceCustomPager
- type ListByNamespaceOperationOptions
- type ListByNamespaceOperationResponse
- type NamespaceId
- type PermissionBinding
- type PermissionBindingId
- type PermissionBindingOperationPredicate
- type PermissionBindingProperties
- type PermissionBindingProvisioningState
- type PermissionBindingsClient
- func (c PermissionBindingsClient) CreateOrUpdate(ctx context.Context, id PermissionBindingId, input PermissionBinding) (result CreateOrUpdateOperationResponse, err error)
- func (c PermissionBindingsClient) CreateOrUpdateThenPoll(ctx context.Context, id PermissionBindingId, input PermissionBinding) error
- func (c PermissionBindingsClient) Delete(ctx context.Context, id PermissionBindingId) (result DeleteOperationResponse, err error)
- func (c PermissionBindingsClient) DeleteThenPoll(ctx context.Context, id PermissionBindingId) error
- func (c PermissionBindingsClient) Get(ctx context.Context, id PermissionBindingId) (result GetOperationResponse, err error)
- func (c PermissionBindingsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
- func (c PermissionBindingsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c PermissionBindingsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (result ListByNamespaceCompleteResult, err error)
- type PermissionType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPermissionBindingProvisioningState ¶
func PossibleValuesForPermissionBindingProvisioningState() []string
func PossibleValuesForPermissionType ¶
func PossibleValuesForPermissionType() []string
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
func ValidatePermissionBindingID ¶
ValidatePermissionBindingID checks that 'input' can be parsed as a Permission Binding ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PermissionBinding }
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct { LatestHttpResponse *http.Response Items []PermissionBinding }
type ListByNamespaceCustomPager ¶ added in v0.20240628.1153531
func (*ListByNamespaceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByNamespaceCustomPager) NextPageLink() *odata.Link
type ListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions() ListByNamespaceOperationOptions
func (ListByNamespaceOperationOptions) ToHeaders ¶
func (o ListByNamespaceOperationOptions) ToHeaders() *client.Headers
func (ListByNamespaceOperationOptions) ToOData ¶
func (o ListByNamespaceOperationOptions) ToOData() *odata.Query
func (ListByNamespaceOperationOptions) ToQuery ¶
func (o ListByNamespaceOperationOptions) ToQuery() *client.QueryParams
type ListByNamespaceOperationResponse ¶
type ListByNamespaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PermissionBinding }
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 PermissionBinding ¶
type PermissionBinding struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PermissionBindingProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PermissionBindingId ¶
type PermissionBindingId struct { SubscriptionId string ResourceGroupName string NamespaceName string PermissionBindingName string }
PermissionBindingId is a struct representing the Resource ID for a Permission Binding
func NewPermissionBindingID ¶
func NewPermissionBindingID(subscriptionId string, resourceGroupName string, namespaceName string, permissionBindingName string) PermissionBindingId
NewPermissionBindingID returns a new PermissionBindingId struct
func ParsePermissionBindingID ¶
func ParsePermissionBindingID(input string) (*PermissionBindingId, error)
ParsePermissionBindingID parses 'input' into a PermissionBindingId
func ParsePermissionBindingIDInsensitively ¶
func ParsePermissionBindingIDInsensitively(input string) (*PermissionBindingId, error)
ParsePermissionBindingIDInsensitively parses 'input' case-insensitively into a PermissionBindingId note: this method should only be used for API response data and not user input
func (*PermissionBindingId) FromParseResult ¶
func (id *PermissionBindingId) FromParseResult(input resourceids.ParseResult) error
func (PermissionBindingId) ID ¶
func (id PermissionBindingId) ID() string
ID returns the formatted Permission Binding ID
func (PermissionBindingId) Segments ¶
func (id PermissionBindingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Permission Binding ID
func (PermissionBindingId) String ¶
func (id PermissionBindingId) String() string
String returns a human-readable description of this Permission Binding ID
type PermissionBindingOperationPredicate ¶
func (PermissionBindingOperationPredicate) Matches ¶
func (p PermissionBindingOperationPredicate) Matches(input PermissionBinding) bool
type PermissionBindingProperties ¶
type PermissionBindingProperties struct { ClientGroupName *string `json:"clientGroupName,omitempty"` Description *string `json:"description,omitempty"` Permission *PermissionType `json:"permission,omitempty"` ProvisioningState *PermissionBindingProvisioningState `json:"provisioningState,omitempty"` TopicSpaceName *string `json:"topicSpaceName,omitempty"` }
type PermissionBindingProvisioningState ¶
type PermissionBindingProvisioningState string
const ( PermissionBindingProvisioningStateCanceled PermissionBindingProvisioningState = "Canceled" PermissionBindingProvisioningStateCreating PermissionBindingProvisioningState = "Creating" PermissionBindingProvisioningStateDeleted PermissionBindingProvisioningState = "Deleted" PermissionBindingProvisioningStateDeleting PermissionBindingProvisioningState = "Deleting" PermissionBindingProvisioningStateFailed PermissionBindingProvisioningState = "Failed" PermissionBindingProvisioningStateSucceeded PermissionBindingProvisioningState = "Succeeded" PermissionBindingProvisioningStateUpdating PermissionBindingProvisioningState = "Updating" )
func (*PermissionBindingProvisioningState) UnmarshalJSON ¶
func (s *PermissionBindingProvisioningState) UnmarshalJSON(bytes []byte) error
type PermissionBindingsClient ¶
type PermissionBindingsClient struct {
Client *resourcemanager.Client
}
func NewPermissionBindingsClientWithBaseURI ¶
func NewPermissionBindingsClientWithBaseURI(sdkApi sdkEnv.Api) (*PermissionBindingsClient, error)
func (PermissionBindingsClient) CreateOrUpdate ¶
func (c PermissionBindingsClient) CreateOrUpdate(ctx context.Context, id PermissionBindingId, input PermissionBinding) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PermissionBindingsClient) CreateOrUpdateThenPoll ¶
func (c PermissionBindingsClient) CreateOrUpdateThenPoll(ctx context.Context, id PermissionBindingId, input PermissionBinding) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PermissionBindingsClient) Delete ¶
func (c PermissionBindingsClient) Delete(ctx context.Context, id PermissionBindingId) (result DeleteOperationResponse, err error)
Delete ...
func (PermissionBindingsClient) DeleteThenPoll ¶
func (c PermissionBindingsClient) DeleteThenPoll(ctx context.Context, id PermissionBindingId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PermissionBindingsClient) Get ¶
func (c PermissionBindingsClient) Get(ctx context.Context, id PermissionBindingId) (result GetOperationResponse, err error)
Get ...
func (PermissionBindingsClient) ListByNamespace ¶
func (c PermissionBindingsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (PermissionBindingsClient) ListByNamespaceComplete ¶
func (c PermissionBindingsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (PermissionBindingsClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c PermissionBindingsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate PermissionBindingOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type PermissionType ¶
type PermissionType string
const ( PermissionTypePublisher PermissionType = "Publisher" PermissionTypeSubscriber PermissionType = "Subscriber" )
func (*PermissionType) UnmarshalJSON ¶
func (s *PermissionType) UnmarshalJSON(bytes []byte) error