Documentation ¶
Index ¶
- func PossibleValuesForChannelProvisioningState() []string
- func PossibleValuesForChannelType() []string
- func PossibleValuesForEventDefinitionKind() []string
- func PossibleValuesForReadinessState() []string
- func ValidateChannelID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePartnerNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type Channel
- type ChannelId
- type ChannelOperationPredicate
- type ChannelProperties
- type ChannelProvisioningState
- type ChannelType
- type ChannelUpdateParameters
- type ChannelUpdateParametersProperties
- type ChannelsClient
- func (c ChannelsClient) CreateOrUpdate(ctx context.Context, id ChannelId, input Channel) (result CreateOrUpdateOperationResponse, err error)
- func (c ChannelsClient) Delete(ctx context.Context, id ChannelId) (result DeleteOperationResponse, err error)
- func (c ChannelsClient) DeleteThenPoll(ctx context.Context, id ChannelId) error
- func (c ChannelsClient) Get(ctx context.Context, id ChannelId) (result GetOperationResponse, err error)
- func (c ChannelsClient) GetFullUrl(ctx context.Context, id ChannelId) (result GetFullUrlOperationResponse, err error)
- func (c ChannelsClient) ListByPartnerNamespace(ctx context.Context, id PartnerNamespaceId, ...) (result ListByPartnerNamespaceOperationResponse, err error)
- func (c ChannelsClient) ListByPartnerNamespaceComplete(ctx context.Context, id PartnerNamespaceId, ...) (ListByPartnerNamespaceCompleteResult, error)
- func (c ChannelsClient) ListByPartnerNamespaceCompleteMatchingPredicate(ctx context.Context, id PartnerNamespaceId, ...) (result ListByPartnerNamespaceCompleteResult, err error)
- func (c ChannelsClient) Update(ctx context.Context, id ChannelId, input ChannelUpdateParameters) (result UpdateOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EventDefinitionKind
- type EventSubscriptionFullUrl
- type EventTypeInfo
- type GetFullUrlOperationResponse
- type GetOperationResponse
- type InlineEventProperties
- type ListByPartnerNamespaceCompleteResult
- type ListByPartnerNamespaceCustomPager
- type ListByPartnerNamespaceOperationOptions
- type ListByPartnerNamespaceOperationResponse
- type PartnerNamespaceId
- type PartnerTopicInfo
- type PartnerUpdateTopicInfo
- type ReadinessState
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForChannelProvisioningState ¶
func PossibleValuesForChannelProvisioningState() []string
func PossibleValuesForChannelType ¶
func PossibleValuesForChannelType() []string
func PossibleValuesForEventDefinitionKind ¶
func PossibleValuesForEventDefinitionKind() []string
func PossibleValuesForReadinessState ¶
func PossibleValuesForReadinessState() []string
func ValidateChannelID ¶
ValidateChannelID checks that 'input' can be parsed as a Channel ID
func ValidatePartnerNamespaceID ¶
ValidatePartnerNamespaceID checks that 'input' can be parsed as a Partner Namespace ID
Types ¶
type Channel ¶
type Channel struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ChannelProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ChannelId ¶
type ChannelId struct { SubscriptionId string ResourceGroupName string PartnerNamespaceName string ChannelName string }
ChannelId is a struct representing the Resource ID for a Channel
func NewChannelID ¶
func NewChannelID(subscriptionId string, resourceGroupName string, partnerNamespaceName string, channelName string) ChannelId
NewChannelID returns a new ChannelId struct
func ParseChannelID ¶
ParseChannelID parses 'input' into a ChannelId
func ParseChannelIDInsensitively ¶
ParseChannelIDInsensitively parses 'input' case-insensitively into a ChannelId note: this method should only be used for API response data and not user input
func (*ChannelId) FromParseResult ¶
func (id *ChannelId) FromParseResult(input resourceids.ParseResult) error
func (ChannelId) Segments ¶
func (id ChannelId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Channel ID
type ChannelOperationPredicate ¶
func (ChannelOperationPredicate) Matches ¶
func (p ChannelOperationPredicate) Matches(input Channel) bool
type ChannelProperties ¶
type ChannelProperties struct { ChannelType *ChannelType `json:"channelType,omitempty"` ExpirationTimeIfNotActivatedUtc *string `json:"expirationTimeIfNotActivatedUtc,omitempty"` MessageForActivation *string `json:"messageForActivation,omitempty"` PartnerTopicInfo *PartnerTopicInfo `json:"partnerTopicInfo,omitempty"` ProvisioningState *ChannelProvisioningState `json:"provisioningState,omitempty"` ReadinessState *ReadinessState `json:"readinessState,omitempty"` }
func (*ChannelProperties) GetExpirationTimeIfNotActivatedUtcAsTime ¶
func (o *ChannelProperties) GetExpirationTimeIfNotActivatedUtcAsTime() (*time.Time, error)
func (*ChannelProperties) SetExpirationTimeIfNotActivatedUtcAsTime ¶
func (o *ChannelProperties) SetExpirationTimeIfNotActivatedUtcAsTime(input time.Time)
type ChannelProvisioningState ¶
type ChannelProvisioningState string
const ( ChannelProvisioningStateCanceled ChannelProvisioningState = "Canceled" ChannelProvisioningStateCreating ChannelProvisioningState = "Creating" ChannelProvisioningStateDeleting ChannelProvisioningState = "Deleting" ChannelProvisioningStateFailed ChannelProvisioningState = "Failed" ChannelProvisioningStateIdleDueToMirroredPartnerTopicDeletion ChannelProvisioningState = "IdleDueToMirroredPartnerTopicDeletion" ChannelProvisioningStateSucceeded ChannelProvisioningState = "Succeeded" ChannelProvisioningStateUpdating ChannelProvisioningState = "Updating" )
func (*ChannelProvisioningState) UnmarshalJSON ¶
func (s *ChannelProvisioningState) UnmarshalJSON(bytes []byte) error
type ChannelType ¶
type ChannelType string
const (
ChannelTypePartnerTopic ChannelType = "PartnerTopic"
)
func (*ChannelType) UnmarshalJSON ¶
func (s *ChannelType) UnmarshalJSON(bytes []byte) error
type ChannelUpdateParameters ¶
type ChannelUpdateParameters struct {
Properties *ChannelUpdateParametersProperties `json:"properties,omitempty"`
}
type ChannelUpdateParametersProperties ¶
type ChannelUpdateParametersProperties struct { ExpirationTimeIfNotActivatedUtc *string `json:"expirationTimeIfNotActivatedUtc,omitempty"` PartnerTopicInfo *PartnerUpdateTopicInfo `json:"partnerTopicInfo,omitempty"` }
func (*ChannelUpdateParametersProperties) GetExpirationTimeIfNotActivatedUtcAsTime ¶
func (o *ChannelUpdateParametersProperties) GetExpirationTimeIfNotActivatedUtcAsTime() (*time.Time, error)
func (*ChannelUpdateParametersProperties) SetExpirationTimeIfNotActivatedUtcAsTime ¶
func (o *ChannelUpdateParametersProperties) SetExpirationTimeIfNotActivatedUtcAsTime(input time.Time)
type ChannelsClient ¶
type ChannelsClient struct {
Client *resourcemanager.Client
}
func NewChannelsClientWithBaseURI ¶
func NewChannelsClientWithBaseURI(sdkApi sdkEnv.Api) (*ChannelsClient, error)
func (ChannelsClient) CreateOrUpdate ¶
func (c ChannelsClient) CreateOrUpdate(ctx context.Context, id ChannelId, input Channel) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ChannelsClient) Delete ¶
func (c ChannelsClient) Delete(ctx context.Context, id ChannelId) (result DeleteOperationResponse, err error)
Delete ...
func (ChannelsClient) DeleteThenPoll ¶
func (c ChannelsClient) DeleteThenPoll(ctx context.Context, id ChannelId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ChannelsClient) Get ¶
func (c ChannelsClient) Get(ctx context.Context, id ChannelId) (result GetOperationResponse, err error)
Get ...
func (ChannelsClient) GetFullUrl ¶
func (c ChannelsClient) GetFullUrl(ctx context.Context, id ChannelId) (result GetFullUrlOperationResponse, err error)
GetFullUrl ...
func (ChannelsClient) ListByPartnerNamespace ¶
func (c ChannelsClient) ListByPartnerNamespace(ctx context.Context, id PartnerNamespaceId, options ListByPartnerNamespaceOperationOptions) (result ListByPartnerNamespaceOperationResponse, err error)
ListByPartnerNamespace ...
func (ChannelsClient) ListByPartnerNamespaceComplete ¶
func (c ChannelsClient) ListByPartnerNamespaceComplete(ctx context.Context, id PartnerNamespaceId, options ListByPartnerNamespaceOperationOptions) (ListByPartnerNamespaceCompleteResult, error)
ListByPartnerNamespaceComplete retrieves all the results into a single object
func (ChannelsClient) ListByPartnerNamespaceCompleteMatchingPredicate ¶
func (c ChannelsClient) ListByPartnerNamespaceCompleteMatchingPredicate(ctx context.Context, id PartnerNamespaceId, options ListByPartnerNamespaceOperationOptions, predicate ChannelOperationPredicate) (result ListByPartnerNamespaceCompleteResult, err error)
ListByPartnerNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ChannelsClient) Update ¶
func (c ChannelsClient) Update(ctx context.Context, id ChannelId, input ChannelUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type DeleteOperationResponse ¶
type EventDefinitionKind ¶
type EventDefinitionKind string
const (
EventDefinitionKindInline EventDefinitionKind = "Inline"
)
func (*EventDefinitionKind) UnmarshalJSON ¶
func (s *EventDefinitionKind) UnmarshalJSON(bytes []byte) error
type EventSubscriptionFullUrl ¶
type EventSubscriptionFullUrl struct {
EndpointUrl *string `json:"endpointUrl,omitempty"`
}
type EventTypeInfo ¶
type EventTypeInfo struct { InlineEventTypes *map[string]InlineEventProperties `json:"inlineEventTypes,omitempty"` Kind *EventDefinitionKind `json:"kind,omitempty"` }
type GetFullUrlOperationResponse ¶
type GetFullUrlOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EventSubscriptionFullUrl }
type GetOperationResponse ¶
type InlineEventProperties ¶
type ListByPartnerNamespaceCustomPager ¶ added in v0.20240628.1153531
func (*ListByPartnerNamespaceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByPartnerNamespaceCustomPager) NextPageLink() *odata.Link
type ListByPartnerNamespaceOperationOptions ¶
func DefaultListByPartnerNamespaceOperationOptions ¶
func DefaultListByPartnerNamespaceOperationOptions() ListByPartnerNamespaceOperationOptions
func (ListByPartnerNamespaceOperationOptions) ToHeaders ¶
func (o ListByPartnerNamespaceOperationOptions) ToHeaders() *client.Headers
func (ListByPartnerNamespaceOperationOptions) ToOData ¶
func (o ListByPartnerNamespaceOperationOptions) ToOData() *odata.Query
func (ListByPartnerNamespaceOperationOptions) ToQuery ¶
func (o ListByPartnerNamespaceOperationOptions) ToQuery() *client.QueryParams
type PartnerNamespaceId ¶
type PartnerNamespaceId struct { SubscriptionId string ResourceGroupName string PartnerNamespaceName string }
PartnerNamespaceId is a struct representing the Resource ID for a Partner Namespace
func NewPartnerNamespaceID ¶
func NewPartnerNamespaceID(subscriptionId string, resourceGroupName string, partnerNamespaceName string) PartnerNamespaceId
NewPartnerNamespaceID returns a new PartnerNamespaceId struct
func ParsePartnerNamespaceID ¶
func ParsePartnerNamespaceID(input string) (*PartnerNamespaceId, error)
ParsePartnerNamespaceID parses 'input' into a PartnerNamespaceId
func ParsePartnerNamespaceIDInsensitively ¶
func ParsePartnerNamespaceIDInsensitively(input string) (*PartnerNamespaceId, error)
ParsePartnerNamespaceIDInsensitively parses 'input' case-insensitively into a PartnerNamespaceId note: this method should only be used for API response data and not user input
func (*PartnerNamespaceId) FromParseResult ¶
func (id *PartnerNamespaceId) FromParseResult(input resourceids.ParseResult) error
func (PartnerNamespaceId) ID ¶
func (id PartnerNamespaceId) ID() string
ID returns the formatted Partner Namespace ID
func (PartnerNamespaceId) Segments ¶
func (id PartnerNamespaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Partner Namespace ID
func (PartnerNamespaceId) String ¶
func (id PartnerNamespaceId) String() string
String returns a human-readable description of this Partner Namespace ID
type PartnerTopicInfo ¶
type PartnerTopicInfo struct { AzureSubscriptionId *string `json:"azureSubscriptionId,omitempty"` EventTypeInfo *EventTypeInfo `json:"eventTypeInfo,omitempty"` Name *string `json:"name,omitempty"` ResourceGroupName *string `json:"resourceGroupName,omitempty"` Source *string `json:"source,omitempty"` }
type PartnerUpdateTopicInfo ¶
type PartnerUpdateTopicInfo struct {
EventTypeInfo *EventTypeInfo `json:"eventTypeInfo,omitempty"`
}
type ReadinessState ¶
type ReadinessState string
const ( ReadinessStateActivated ReadinessState = "Activated" ReadinessStateNeverActivated ReadinessState = "NeverActivated" )
func (*ReadinessState) UnmarshalJSON ¶
func (s *ReadinessState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_channel.go
- id_partnernamespace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getfullurl.go
- method_listbypartnernamespace.go
- method_update.go
- model_channel.go
- model_channelproperties.go
- model_channelupdateparameters.go
- model_channelupdateparametersproperties.go
- model_eventsubscriptionfullurl.go
- model_eventtypeinfo.go
- model_inlineeventproperties.go
- model_partnertopicinfo.go
- model_partnerupdatetopicinfo.go
- predicates.go
- version.go