Documentation ¶
Index ¶
- func PossibleValuesForChannelProvisioningState() []string
- func PossibleValuesForChannelType() []string
- func PossibleValuesForEventDefinitionKind() []string
- func PossibleValuesForPartnerClientAuthenticationType() []string
- func PossibleValuesForPartnerEndpointType() []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 AzureADPartnerClientAuthentication
- type AzureADPartnerClientAuthenticationProperties
- 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 PartnerClientAuthentication
- type PartnerClientAuthenticationType
- type PartnerDestinationInfo
- type PartnerEndpointType
- type PartnerNamespaceId
- type PartnerTopicInfo
- type PartnerUpdateDestinationInfo
- type PartnerUpdateTopicInfo
- type RawPartnerClientAuthenticationImpl
- type RawPartnerDestinationInfoImpl
- type RawPartnerUpdateDestinationInfoImpl
- type ReadinessState
- type ResourceMoveChangeHistory
- type UpdateOperationResponse
- type WebhookPartnerDestinationInfo
- type WebhookPartnerDestinationProperties
- type WebhookUpdatePartnerDestinationInfo
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 PossibleValuesForPartnerClientAuthenticationType ¶
func PossibleValuesForPartnerClientAuthenticationType() []string
func PossibleValuesForPartnerEndpointType ¶
func PossibleValuesForPartnerEndpointType() []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 AzureADPartnerClientAuthentication ¶
type AzureADPartnerClientAuthentication struct {
Properties *AzureADPartnerClientAuthenticationProperties `json:"properties,omitempty"`
}
func (AzureADPartnerClientAuthentication) MarshalJSON ¶
func (s AzureADPartnerClientAuthentication) MarshalJSON() ([]byte, error)
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"` PartnerDestinationInfo PartnerDestinationInfo `json:"partnerDestinationInfo"` 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)
func (*ChannelProperties) UnmarshalJSON ¶
func (s *ChannelProperties) UnmarshalJSON(bytes []byte) error
type ChannelProvisioningState ¶
type ChannelProvisioningState string
const ( ChannelProvisioningStateCanceled ChannelProvisioningState = "Canceled" ChannelProvisioningStateCreating ChannelProvisioningState = "Creating" ChannelProvisioningStateDeleting ChannelProvisioningState = "Deleting" ChannelProvisioningStateFailed ChannelProvisioningState = "Failed" ChannelProvisioningStateIdleDueToMirroredPartnerDestinationDeletion ChannelProvisioningState = "IdleDueToMirroredPartnerDestinationDeletion" 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 ( ChannelTypePartnerDestination ChannelType = "PartnerDestination" 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"` PartnerDestinationInfo PartnerUpdateDestinationInfo `json:"partnerDestinationInfo"` 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)
func (*ChannelUpdateParametersProperties) UnmarshalJSON ¶
func (s *ChannelUpdateParametersProperties) UnmarshalJSON(bytes []byte) error
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 PartnerClientAuthentication ¶
type PartnerClientAuthentication interface { }
type PartnerClientAuthenticationType ¶
type PartnerClientAuthenticationType string
const (
PartnerClientAuthenticationTypeAzureAD PartnerClientAuthenticationType = "AzureAD"
)
func (*PartnerClientAuthenticationType) UnmarshalJSON ¶
func (s *PartnerClientAuthenticationType) UnmarshalJSON(bytes []byte) error
type PartnerDestinationInfo ¶
type PartnerDestinationInfo interface { }
type PartnerEndpointType ¶
type PartnerEndpointType string
const (
PartnerEndpointTypeWebHook PartnerEndpointType = "WebHook"
)
func (*PartnerEndpointType) UnmarshalJSON ¶
func (s *PartnerEndpointType) UnmarshalJSON(bytes []byte) error
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 PartnerUpdateDestinationInfo ¶
type PartnerUpdateDestinationInfo interface { }
type PartnerUpdateTopicInfo ¶
type PartnerUpdateTopicInfo struct {
EventTypeInfo *EventTypeInfo `json:"eventTypeInfo,omitempty"`
}
type RawPartnerClientAuthenticationImpl ¶
RawPartnerClientAuthenticationImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawPartnerDestinationInfoImpl ¶
RawPartnerDestinationInfoImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawPartnerUpdateDestinationInfoImpl ¶
RawPartnerUpdateDestinationInfoImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type ReadinessState ¶
type ReadinessState string
const ( ReadinessStateActivated ReadinessState = "Activated" ReadinessStateNeverActivated ReadinessState = "NeverActivated" )
func (*ReadinessState) UnmarshalJSON ¶
func (s *ReadinessState) UnmarshalJSON(bytes []byte) error
type ResourceMoveChangeHistory ¶
type ResourceMoveChangeHistory struct { AzureSubscriptionId *string `json:"azureSubscriptionId,omitempty"` ChangedTimeUtc *string `json:"changedTimeUtc,omitempty"` ResourceGroupName *string `json:"resourceGroupName,omitempty"` }
func (*ResourceMoveChangeHistory) GetChangedTimeUtcAsTime ¶
func (o *ResourceMoveChangeHistory) GetChangedTimeUtcAsTime() (*time.Time, error)
func (*ResourceMoveChangeHistory) SetChangedTimeUtcAsTime ¶
func (o *ResourceMoveChangeHistory) SetChangedTimeUtcAsTime(input time.Time)
type UpdateOperationResponse ¶
type WebhookPartnerDestinationInfo ¶
type WebhookPartnerDestinationInfo struct { Properties *WebhookPartnerDestinationProperties `json:"properties,omitempty"` // Fields inherited from PartnerDestinationInfo AzureSubscriptionId *string `json:"azureSubscriptionId,omitempty"` EndpointServiceContext *string `json:"endpointServiceContext,omitempty"` Name *string `json:"name,omitempty"` ResourceGroupName *string `json:"resourceGroupName,omitempty"` ResourceMoveChangeHistory *[]ResourceMoveChangeHistory `json:"resourceMoveChangeHistory,omitempty"` }
func (WebhookPartnerDestinationInfo) MarshalJSON ¶
func (s WebhookPartnerDestinationInfo) MarshalJSON() ([]byte, error)
type WebhookPartnerDestinationProperties ¶
type WebhookPartnerDestinationProperties struct { ClientAuthentication PartnerClientAuthentication `json:"clientAuthentication"` EndpointBaseUrl *string `json:"endpointBaseUrl,omitempty"` EndpointUrl *string `json:"endpointUrl,omitempty"` }
func (*WebhookPartnerDestinationProperties) UnmarshalJSON ¶
func (s *WebhookPartnerDestinationProperties) UnmarshalJSON(bytes []byte) error
type WebhookUpdatePartnerDestinationInfo ¶
type WebhookUpdatePartnerDestinationInfo struct {
Properties *WebhookPartnerDestinationProperties `json:"properties,omitempty"`
}
func (WebhookUpdatePartnerDestinationInfo) MarshalJSON ¶
func (s WebhookUpdatePartnerDestinationInfo) MarshalJSON() ([]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_azureadpartnerclientauthentication.go
- model_azureadpartnerclientauthenticationproperties.go
- model_channel.go
- model_channelproperties.go
- model_channelupdateparameters.go
- model_channelupdateparametersproperties.go
- model_eventsubscriptionfullurl.go
- model_eventtypeinfo.go
- model_inlineeventproperties.go
- model_partnerclientauthentication.go
- model_partnerdestinationinfo.go
- model_partnertopicinfo.go
- model_partnerupdatedestinationinfo.go
- model_partnerupdatetopicinfo.go
- model_resourcemovechangehistory.go
- model_webhookpartnerdestinationinfo.go
- model_webhookpartnerdestinationproperties.go
- model_webhookupdatepartnerdestinationinfo.go
- predicates.go
- version.go