Documentation ¶
Index ¶
- func PossibleValuesForEventInputSchema() []string
- func PossibleValuesForNamespaceTopicProvisioningState() []string
- func PossibleValuesForPublisherType() []string
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNamespaceTopicID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EventInputSchema
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceCustomPager
- type ListByNamespaceOperationOptions
- type ListByNamespaceOperationResponse
- type ListSharedAccessKeysOperationResponse
- type NamespaceId
- type NamespaceTopic
- type NamespaceTopicId
- type NamespaceTopicOperationPredicate
- type NamespaceTopicProperties
- type NamespaceTopicProvisioningState
- type NamespaceTopicUpdateParameterProperties
- type NamespaceTopicUpdateParameters
- type NamespaceTopicsClient
- func (c NamespaceTopicsClient) CreateOrUpdate(ctx context.Context, id NamespaceTopicId, input NamespaceTopic) (result CreateOrUpdateOperationResponse, err error)
- func (c NamespaceTopicsClient) CreateOrUpdateThenPoll(ctx context.Context, id NamespaceTopicId, input NamespaceTopic) error
- func (c NamespaceTopicsClient) Delete(ctx context.Context, id NamespaceTopicId) (result DeleteOperationResponse, err error)
- func (c NamespaceTopicsClient) DeleteThenPoll(ctx context.Context, id NamespaceTopicId) error
- func (c NamespaceTopicsClient) Get(ctx context.Context, id NamespaceTopicId) (result GetOperationResponse, err error)
- func (c NamespaceTopicsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
- func (c NamespaceTopicsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c NamespaceTopicsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (result ListByNamespaceCompleteResult, err error)
- func (c NamespaceTopicsClient) ListSharedAccessKeys(ctx context.Context, id NamespaceTopicId) (result ListSharedAccessKeysOperationResponse, err error)
- func (c NamespaceTopicsClient) RegenerateKey(ctx context.Context, id NamespaceTopicId, input TopicRegenerateKeyRequest) (result RegenerateKeyOperationResponse, err error)
- func (c NamespaceTopicsClient) RegenerateKeyThenPoll(ctx context.Context, id NamespaceTopicId, input TopicRegenerateKeyRequest) error
- func (c NamespaceTopicsClient) Update(ctx context.Context, id NamespaceTopicId, input NamespaceTopicUpdateParameters) (result UpdateOperationResponse, err error)
- func (c NamespaceTopicsClient) UpdateThenPoll(ctx context.Context, id NamespaceTopicId, input NamespaceTopicUpdateParameters) error
- type PublisherType
- type RegenerateKeyOperationResponse
- type TopicRegenerateKeyRequest
- type TopicSharedAccessKeys
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEventInputSchema ¶
func PossibleValuesForEventInputSchema() []string
func PossibleValuesForNamespaceTopicProvisioningState ¶
func PossibleValuesForNamespaceTopicProvisioningState() []string
func PossibleValuesForPublisherType ¶
func PossibleValuesForPublisherType() []string
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
func ValidateNamespaceTopicID ¶
ValidateNamespaceTopicID checks that 'input' can be parsed as a Namespace Topic ID
Types ¶
type DeleteOperationResponse ¶
type EventInputSchema ¶
type EventInputSchema string
const (
EventInputSchemaCloudEventSchemaVOneZero EventInputSchema = "CloudEventSchemaV1_0"
)
func (*EventInputSchema) UnmarshalJSON ¶
func (s *EventInputSchema) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NamespaceTopic }
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct { LatestHttpResponse *http.Response Items []NamespaceTopic }
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 *[]NamespaceTopic }
type ListSharedAccessKeysOperationResponse ¶
type ListSharedAccessKeysOperationResponse struct {}
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 NamespaceTopic ¶
type NamespaceTopic struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NamespaceTopicProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type NamespaceTopicId ¶
type NamespaceTopicId struct { SubscriptionId string ResourceGroupName string NamespaceName string TopicName string }
NamespaceTopicId is a struct representing the Resource ID for a Namespace Topic
func NewNamespaceTopicID ¶
func NewNamespaceTopicID(subscriptionId string, resourceGroupName string, namespaceName string, topicName string) NamespaceTopicId
NewNamespaceTopicID returns a new NamespaceTopicId struct
func ParseNamespaceTopicID ¶
func ParseNamespaceTopicID(input string) (*NamespaceTopicId, error)
ParseNamespaceTopicID parses 'input' into a NamespaceTopicId
func ParseNamespaceTopicIDInsensitively ¶
func ParseNamespaceTopicIDInsensitively(input string) (*NamespaceTopicId, error)
ParseNamespaceTopicIDInsensitively parses 'input' case-insensitively into a NamespaceTopicId note: this method should only be used for API response data and not user input
func (*NamespaceTopicId) FromParseResult ¶
func (id *NamespaceTopicId) FromParseResult(input resourceids.ParseResult) error
func (NamespaceTopicId) ID ¶
func (id NamespaceTopicId) ID() string
ID returns the formatted Namespace Topic ID
func (NamespaceTopicId) Segments ¶
func (id NamespaceTopicId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Namespace Topic ID
func (NamespaceTopicId) String ¶
func (id NamespaceTopicId) String() string
String returns a human-readable description of this Namespace Topic ID
type NamespaceTopicOperationPredicate ¶
func (NamespaceTopicOperationPredicate) Matches ¶
func (p NamespaceTopicOperationPredicate) Matches(input NamespaceTopic) bool
type NamespaceTopicProperties ¶
type NamespaceTopicProperties struct { EventRetentionInDays *int64 `json:"eventRetentionInDays,omitempty"` InputSchema *EventInputSchema `json:"inputSchema,omitempty"` ProvisioningState *NamespaceTopicProvisioningState `json:"provisioningState,omitempty"` PublisherType *PublisherType `json:"publisherType,omitempty"` }
type NamespaceTopicProvisioningState ¶
type NamespaceTopicProvisioningState string
const ( NamespaceTopicProvisioningStateCanceled NamespaceTopicProvisioningState = "Canceled" NamespaceTopicProvisioningStateCreateFailed NamespaceTopicProvisioningState = "CreateFailed" NamespaceTopicProvisioningStateCreating NamespaceTopicProvisioningState = "Creating" NamespaceTopicProvisioningStateDeleteFailed NamespaceTopicProvisioningState = "DeleteFailed" NamespaceTopicProvisioningStateDeleted NamespaceTopicProvisioningState = "Deleted" NamespaceTopicProvisioningStateDeleting NamespaceTopicProvisioningState = "Deleting" NamespaceTopicProvisioningStateFailed NamespaceTopicProvisioningState = "Failed" NamespaceTopicProvisioningStateSucceeded NamespaceTopicProvisioningState = "Succeeded" NamespaceTopicProvisioningStateUpdatedFailed NamespaceTopicProvisioningState = "UpdatedFailed" NamespaceTopicProvisioningStateUpdating NamespaceTopicProvisioningState = "Updating" )
func (*NamespaceTopicProvisioningState) UnmarshalJSON ¶
func (s *NamespaceTopicProvisioningState) UnmarshalJSON(bytes []byte) error
type NamespaceTopicUpdateParameterProperties ¶
type NamespaceTopicUpdateParameterProperties struct {
EventRetentionInDays *int64 `json:"eventRetentionInDays,omitempty"`
}
type NamespaceTopicUpdateParameters ¶
type NamespaceTopicUpdateParameters struct {
Properties *NamespaceTopicUpdateParameterProperties `json:"properties,omitempty"`
}
type NamespaceTopicsClient ¶
type NamespaceTopicsClient struct {
Client *resourcemanager.Client
}
func NewNamespaceTopicsClientWithBaseURI ¶
func NewNamespaceTopicsClientWithBaseURI(sdkApi sdkEnv.Api) (*NamespaceTopicsClient, error)
func (NamespaceTopicsClient) CreateOrUpdate ¶
func (c NamespaceTopicsClient) CreateOrUpdate(ctx context.Context, id NamespaceTopicId, input NamespaceTopic) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NamespaceTopicsClient) CreateOrUpdateThenPoll ¶
func (c NamespaceTopicsClient) CreateOrUpdateThenPoll(ctx context.Context, id NamespaceTopicId, input NamespaceTopic) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (NamespaceTopicsClient) Delete ¶
func (c NamespaceTopicsClient) Delete(ctx context.Context, id NamespaceTopicId) (result DeleteOperationResponse, err error)
Delete ...
func (NamespaceTopicsClient) DeleteThenPoll ¶
func (c NamespaceTopicsClient) DeleteThenPoll(ctx context.Context, id NamespaceTopicId) error
DeleteThenPoll performs Delete then polls until it's completed
func (NamespaceTopicsClient) Get ¶
func (c NamespaceTopicsClient) Get(ctx context.Context, id NamespaceTopicId) (result GetOperationResponse, err error)
Get ...
func (NamespaceTopicsClient) ListByNamespace ¶
func (c NamespaceTopicsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (NamespaceTopicsClient) ListByNamespaceComplete ¶
func (c NamespaceTopicsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (NamespaceTopicsClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c NamespaceTopicsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate NamespaceTopicOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NamespaceTopicsClient) ListSharedAccessKeys ¶
func (c NamespaceTopicsClient) ListSharedAccessKeys(ctx context.Context, id NamespaceTopicId) (result ListSharedAccessKeysOperationResponse, err error)
ListSharedAccessKeys ...
func (NamespaceTopicsClient) RegenerateKey ¶
func (c NamespaceTopicsClient) RegenerateKey(ctx context.Context, id NamespaceTopicId, input TopicRegenerateKeyRequest) (result RegenerateKeyOperationResponse, err error)
RegenerateKey ...
func (NamespaceTopicsClient) RegenerateKeyThenPoll ¶
func (c NamespaceTopicsClient) RegenerateKeyThenPoll(ctx context.Context, id NamespaceTopicId, input TopicRegenerateKeyRequest) error
RegenerateKeyThenPoll performs RegenerateKey then polls until it's completed
func (NamespaceTopicsClient) Update ¶
func (c NamespaceTopicsClient) Update(ctx context.Context, id NamespaceTopicId, input NamespaceTopicUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (NamespaceTopicsClient) UpdateThenPoll ¶
func (c NamespaceTopicsClient) UpdateThenPoll(ctx context.Context, id NamespaceTopicId, input NamespaceTopicUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type PublisherType ¶
type PublisherType string
const (
PublisherTypeCustom PublisherType = "Custom"
)
func (*PublisherType) UnmarshalJSON ¶
func (s *PublisherType) UnmarshalJSON(bytes []byte) error
type TopicRegenerateKeyRequest ¶
type TopicRegenerateKeyRequest struct {
KeyName string `json:"keyName"`
}
type TopicSharedAccessKeys ¶
type TopicSharedAccessKeys struct {}
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_namespace.go
- id_namespacetopic.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbynamespace.go
- method_listsharedaccesskeys.go
- method_regeneratekey.go
- method_update.go
- model_namespacetopic.go
- model_namespacetopicproperties.go
- model_namespacetopicupdateparameterproperties.go
- model_namespacetopicupdateparameters.go
- model_topicregeneratekeyrequest.go
- model_topicsharedaccesskeys.go
- predicates.go
- version.go