Documentation ¶
Index ¶
- func PossibleValuesForEventDefinitionKind() []string
- func PossibleValuesForPartnerTopicActivationState() []string
- func PossibleValuesForPartnerTopicProvisioningState() []string
- func ValidatePartnerTopicID(input interface{}, key string) (warnings []string, errors []error)
- type ActivateOperationResponse
- type CreateOrUpdateOperationResponse
- type DeactivateOperationResponse
- type DeleteOperationResponse
- type EventDefinitionKind
- type EventTypeInfo
- type GetOperationResponse
- type InlineEventProperties
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type PartnerTopic
- type PartnerTopicActivationState
- type PartnerTopicId
- type PartnerTopicOperationPredicate
- type PartnerTopicProperties
- type PartnerTopicProvisioningState
- type PartnerTopicUpdateParameters
- type PartnerTopicsClient
- func (c PartnerTopicsClient) Activate(ctx context.Context, id PartnerTopicId) (result ActivateOperationResponse, err error)
- func (c PartnerTopicsClient) CreateOrUpdate(ctx context.Context, id PartnerTopicId, input PartnerTopic) (result CreateOrUpdateOperationResponse, err error)
- func (c PartnerTopicsClient) Deactivate(ctx context.Context, id PartnerTopicId) (result DeactivateOperationResponse, err error)
- func (c PartnerTopicsClient) Delete(ctx context.Context, id PartnerTopicId) (result DeleteOperationResponse, err error)
- func (c PartnerTopicsClient) DeleteThenPoll(ctx context.Context, id PartnerTopicId) error
- func (c PartnerTopicsClient) Get(ctx context.Context, id PartnerTopicId) (result GetOperationResponse, err error)
- func (c PartnerTopicsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c PartnerTopicsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c PartnerTopicsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c PartnerTopicsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c PartnerTopicsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c PartnerTopicsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c PartnerTopicsClient) Update(ctx context.Context, id PartnerTopicId, input PartnerTopicUpdateParameters) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEventDefinitionKind ¶
func PossibleValuesForEventDefinitionKind() []string
func PossibleValuesForPartnerTopicActivationState ¶
func PossibleValuesForPartnerTopicActivationState() []string
func PossibleValuesForPartnerTopicProvisioningState ¶
func PossibleValuesForPartnerTopicProvisioningState() []string
func ValidatePartnerTopicID ¶
ValidatePartnerTopicID checks that 'input' can be parsed as a Partner Topic ID
Types ¶
type ActivateOperationResponse ¶
type ActivateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PartnerTopic }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PartnerTopic }
type DeactivateOperationResponse ¶
type DeactivateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PartnerTopic }
type DeleteOperationResponse ¶
type EventDefinitionKind ¶
type EventDefinitionKind string
const (
EventDefinitionKindInline EventDefinitionKind = "Inline"
)
func (*EventDefinitionKind) UnmarshalJSON ¶
func (s *EventDefinitionKind) UnmarshalJSON(bytes []byte) error
type EventTypeInfo ¶
type EventTypeInfo struct { InlineEventTypes *map[string]InlineEventProperties `json:"inlineEventTypes,omitempty"` Kind *EventDefinitionKind `json:"kind,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PartnerTopic }
type InlineEventProperties ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []PartnerTopic }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PartnerTopic }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []PartnerTopic }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PartnerTopic }
type PartnerTopic ¶
type PartnerTopic struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *PartnerTopicProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type PartnerTopicActivationState ¶
type PartnerTopicActivationState string
const ( PartnerTopicActivationStateActivated PartnerTopicActivationState = "Activated" PartnerTopicActivationStateDeactivated PartnerTopicActivationState = "Deactivated" PartnerTopicActivationStateNeverActivated PartnerTopicActivationState = "NeverActivated" )
func (*PartnerTopicActivationState) UnmarshalJSON ¶
func (s *PartnerTopicActivationState) UnmarshalJSON(bytes []byte) error
type PartnerTopicId ¶
type PartnerTopicId struct { SubscriptionId string ResourceGroupName string PartnerTopicName string }
PartnerTopicId is a struct representing the Resource ID for a Partner Topic
func NewPartnerTopicID ¶
func NewPartnerTopicID(subscriptionId string, resourceGroupName string, partnerTopicName string) PartnerTopicId
NewPartnerTopicID returns a new PartnerTopicId struct
func ParsePartnerTopicID ¶
func ParsePartnerTopicID(input string) (*PartnerTopicId, error)
ParsePartnerTopicID parses 'input' into a PartnerTopicId
func ParsePartnerTopicIDInsensitively ¶
func ParsePartnerTopicIDInsensitively(input string) (*PartnerTopicId, error)
ParsePartnerTopicIDInsensitively parses 'input' case-insensitively into a PartnerTopicId note: this method should only be used for API response data and not user input
func (*PartnerTopicId) FromParseResult ¶
func (id *PartnerTopicId) FromParseResult(input resourceids.ParseResult) error
func (PartnerTopicId) ID ¶
func (id PartnerTopicId) ID() string
ID returns the formatted Partner Topic ID
func (PartnerTopicId) Segments ¶
func (id PartnerTopicId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Partner Topic ID
func (PartnerTopicId) String ¶
func (id PartnerTopicId) String() string
String returns a human-readable description of this Partner Topic ID
type PartnerTopicOperationPredicate ¶
type PartnerTopicOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (PartnerTopicOperationPredicate) Matches ¶
func (p PartnerTopicOperationPredicate) Matches(input PartnerTopic) bool
type PartnerTopicProperties ¶
type PartnerTopicProperties struct { ActivationState *PartnerTopicActivationState `json:"activationState,omitempty"` EventTypeInfo *EventTypeInfo `json:"eventTypeInfo,omitempty"` ExpirationTimeIfNotActivatedUtc *string `json:"expirationTimeIfNotActivatedUtc,omitempty"` MessageForActivation *string `json:"messageForActivation,omitempty"` PartnerRegistrationImmutableId *string `json:"partnerRegistrationImmutableId,omitempty"` PartnerTopicFriendlyDescription *string `json:"partnerTopicFriendlyDescription,omitempty"` ProvisioningState *PartnerTopicProvisioningState `json:"provisioningState,omitempty"` Source *string `json:"source,omitempty"` }
func (*PartnerTopicProperties) GetExpirationTimeIfNotActivatedUtcAsTime ¶
func (o *PartnerTopicProperties) GetExpirationTimeIfNotActivatedUtcAsTime() (*time.Time, error)
func (*PartnerTopicProperties) SetExpirationTimeIfNotActivatedUtcAsTime ¶
func (o *PartnerTopicProperties) SetExpirationTimeIfNotActivatedUtcAsTime(input time.Time)
type PartnerTopicProvisioningState ¶
type PartnerTopicProvisioningState string
const ( PartnerTopicProvisioningStateCanceled PartnerTopicProvisioningState = "Canceled" PartnerTopicProvisioningStateCreating PartnerTopicProvisioningState = "Creating" PartnerTopicProvisioningStateDeleting PartnerTopicProvisioningState = "Deleting" PartnerTopicProvisioningStateFailed PartnerTopicProvisioningState = "Failed" PartnerTopicProvisioningStateIdleDueToMirroredChannelResourceDeletion PartnerTopicProvisioningState = "IdleDueToMirroredChannelResourceDeletion" PartnerTopicProvisioningStateSucceeded PartnerTopicProvisioningState = "Succeeded" PartnerTopicProvisioningStateUpdating PartnerTopicProvisioningState = "Updating" )
func (*PartnerTopicProvisioningState) UnmarshalJSON ¶
func (s *PartnerTopicProvisioningState) UnmarshalJSON(bytes []byte) error
type PartnerTopicUpdateParameters ¶
type PartnerTopicUpdateParameters struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type PartnerTopicsClient ¶
type PartnerTopicsClient struct {
Client *resourcemanager.Client
}
func NewPartnerTopicsClientWithBaseURI ¶
func NewPartnerTopicsClientWithBaseURI(sdkApi sdkEnv.Api) (*PartnerTopicsClient, error)
func (PartnerTopicsClient) Activate ¶
func (c PartnerTopicsClient) Activate(ctx context.Context, id PartnerTopicId) (result ActivateOperationResponse, err error)
Activate ...
func (PartnerTopicsClient) CreateOrUpdate ¶
func (c PartnerTopicsClient) CreateOrUpdate(ctx context.Context, id PartnerTopicId, input PartnerTopic) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PartnerTopicsClient) Deactivate ¶
func (c PartnerTopicsClient) Deactivate(ctx context.Context, id PartnerTopicId) (result DeactivateOperationResponse, err error)
Deactivate ...
func (PartnerTopicsClient) Delete ¶
func (c PartnerTopicsClient) Delete(ctx context.Context, id PartnerTopicId) (result DeleteOperationResponse, err error)
Delete ...
func (PartnerTopicsClient) DeleteThenPoll ¶
func (c PartnerTopicsClient) DeleteThenPoll(ctx context.Context, id PartnerTopicId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PartnerTopicsClient) Get ¶
func (c PartnerTopicsClient) Get(ctx context.Context, id PartnerTopicId) (result GetOperationResponse, err error)
Get ...
func (PartnerTopicsClient) ListByResourceGroup ¶
func (c PartnerTopicsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (PartnerTopicsClient) ListByResourceGroupComplete ¶
func (c PartnerTopicsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (PartnerTopicsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c PartnerTopicsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate PartnerTopicOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PartnerTopicsClient) ListBySubscription ¶
func (c PartnerTopicsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (PartnerTopicsClient) ListBySubscriptionComplete ¶
func (c PartnerTopicsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (PartnerTopicsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c PartnerTopicsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate PartnerTopicOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PartnerTopicsClient) Update ¶
func (c PartnerTopicsClient) Update(ctx context.Context, id PartnerTopicId, input PartnerTopicUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PartnerTopic }
Source Files ¶
- client.go
- constants.go
- id_partnertopic.go
- method_activate.go
- method_createorupdate.go
- method_deactivate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_eventtypeinfo.go
- model_inlineeventproperties.go
- model_partnertopic.go
- model_partnertopicproperties.go
- model_partnertopicupdateparameters.go
- predicates.go
- version.go