Documentation ¶
Index ¶
- func PossibleValuesForNotificationName() []string
- func ValidateNotificationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNotificationNotificationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceCustomPager
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type NotificationClient
- func (c NotificationClient) CreateOrUpdate(ctx context.Context, id NotificationId, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
- func (c NotificationClient) Get(ctx context.Context, id NotificationId) (result GetOperationResponse, err error)
- func (c NotificationClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c NotificationClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c NotificationClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c NotificationClient) WorkspaceNotificationCreateOrUpdate(ctx context.Context, id NotificationNotificationId, ...) (result WorkspaceNotificationCreateOrUpdateOperationResponse, err error)
- func (c NotificationClient) WorkspaceNotificationGet(ctx context.Context, id NotificationNotificationId) (result WorkspaceNotificationGetOperationResponse, err error)
- func (c NotificationClient) WorkspaceNotificationListByService(ctx context.Context, id WorkspaceId, ...) (result WorkspaceNotificationListByServiceOperationResponse, err error)
- func (c NotificationClient) WorkspaceNotificationListByServiceComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceNotificationListByServiceCompleteResult, error)
- func (c NotificationClient) WorkspaceNotificationListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspaceNotificationListByServiceCompleteResult, err error)
- type NotificationContract
- type NotificationContractOperationPredicate
- type NotificationContractProperties
- type NotificationId
- type NotificationName
- type NotificationNotificationId
- func NewNotificationNotificationID(subscriptionId string, resourceGroupName string, serviceName string, ...) NotificationNotificationId
- func ParseNotificationNotificationID(input string) (*NotificationNotificationId, error)
- func ParseNotificationNotificationIDInsensitively(input string) (*NotificationNotificationId, error)
- type RecipientsContractProperties
- type ServiceId
- type WorkspaceId
- type WorkspaceNotificationCreateOrUpdateOperationOptions
- type WorkspaceNotificationCreateOrUpdateOperationResponse
- type WorkspaceNotificationGetOperationResponse
- type WorkspaceNotificationListByServiceCompleteResult
- type WorkspaceNotificationListByServiceCustomPager
- type WorkspaceNotificationListByServiceOperationOptions
- type WorkspaceNotificationListByServiceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForNotificationName ¶
func PossibleValuesForNotificationName() []string
func ValidateNotificationID ¶
ValidateNotificationID checks that 'input' can be parsed as a Notification ID
func ValidateNotificationNotificationID ¶
func ValidateNotificationNotificationID(input interface{}, key string) (warnings []string, errors []error)
ValidateNotificationNotificationID checks that 'input' can be parsed as a Notification Notification ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NotificationContract }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NotificationContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []NotificationContract }
type ListByServiceCustomPager ¶ added in v0.20240628.1153531
func (*ListByServiceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByServiceCustomPager) NextPageLink() *odata.Link
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NotificationContract }
type NotificationClient ¶
type NotificationClient struct {
Client *resourcemanager.Client
}
func NewNotificationClientWithBaseURI ¶
func NewNotificationClientWithBaseURI(sdkApi sdkEnv.Api) (*NotificationClient, error)
func (NotificationClient) CreateOrUpdate ¶
func (c NotificationClient) CreateOrUpdate(ctx context.Context, id NotificationId, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NotificationClient) Get ¶
func (c NotificationClient) Get(ctx context.Context, id NotificationId) (result GetOperationResponse, err error)
Get ...
func (NotificationClient) ListByService ¶
func (c NotificationClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (NotificationClient) ListByServiceComplete ¶
func (c NotificationClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (NotificationClient) ListByServiceCompleteMatchingPredicate ¶
func (c NotificationClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate NotificationContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NotificationClient) WorkspaceNotificationCreateOrUpdate ¶
func (c NotificationClient) WorkspaceNotificationCreateOrUpdate(ctx context.Context, id NotificationNotificationId, options WorkspaceNotificationCreateOrUpdateOperationOptions) (result WorkspaceNotificationCreateOrUpdateOperationResponse, err error)
WorkspaceNotificationCreateOrUpdate ...
func (NotificationClient) WorkspaceNotificationGet ¶
func (c NotificationClient) WorkspaceNotificationGet(ctx context.Context, id NotificationNotificationId) (result WorkspaceNotificationGetOperationResponse, err error)
WorkspaceNotificationGet ...
func (NotificationClient) WorkspaceNotificationListByService ¶
func (c NotificationClient) WorkspaceNotificationListByService(ctx context.Context, id WorkspaceId, options WorkspaceNotificationListByServiceOperationOptions) (result WorkspaceNotificationListByServiceOperationResponse, err error)
WorkspaceNotificationListByService ...
func (NotificationClient) WorkspaceNotificationListByServiceComplete ¶
func (c NotificationClient) WorkspaceNotificationListByServiceComplete(ctx context.Context, id WorkspaceId, options WorkspaceNotificationListByServiceOperationOptions) (WorkspaceNotificationListByServiceCompleteResult, error)
WorkspaceNotificationListByServiceComplete retrieves all the results into a single object
func (NotificationClient) WorkspaceNotificationListByServiceCompleteMatchingPredicate ¶
func (c NotificationClient) WorkspaceNotificationListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceNotificationListByServiceOperationOptions, predicate NotificationContractOperationPredicate) (result WorkspaceNotificationListByServiceCompleteResult, err error)
WorkspaceNotificationListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type NotificationContract ¶
type NotificationContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NotificationContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type NotificationContractOperationPredicate ¶
func (NotificationContractOperationPredicate) Matches ¶
func (p NotificationContractOperationPredicate) Matches(input NotificationContract) bool
type NotificationContractProperties ¶
type NotificationContractProperties struct { Description *string `json:"description,omitempty"` Recipients *RecipientsContractProperties `json:"recipients,omitempty"` Title string `json:"title"` }
type NotificationId ¶
type NotificationId struct { SubscriptionId string ResourceGroupName string ServiceName string NotificationName NotificationName }
NotificationId is a struct representing the Resource ID for a Notification
func NewNotificationID ¶
func NewNotificationID(subscriptionId string, resourceGroupName string, serviceName string, notificationName NotificationName) NotificationId
NewNotificationID returns a new NotificationId struct
func ParseNotificationID ¶
func ParseNotificationID(input string) (*NotificationId, error)
ParseNotificationID parses 'input' into a NotificationId
func ParseNotificationIDInsensitively ¶
func ParseNotificationIDInsensitively(input string) (*NotificationId, error)
ParseNotificationIDInsensitively parses 'input' case-insensitively into a NotificationId note: this method should only be used for API response data and not user input
func (*NotificationId) FromParseResult ¶
func (id *NotificationId) FromParseResult(input resourceids.ParseResult) error
func (NotificationId) ID ¶
func (id NotificationId) ID() string
ID returns the formatted Notification ID
func (NotificationId) Segments ¶
func (id NotificationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Notification ID
func (NotificationId) String ¶
func (id NotificationId) String() string
String returns a human-readable description of this Notification ID
type NotificationName ¶
type NotificationName string
const ( NotificationNameAccountClosedPublisher NotificationName = "AccountClosedPublisher" NotificationNameBCC NotificationName = "BCC" NotificationNameNewApplicationNotificationMessage NotificationName = "NewApplicationNotificationMessage" NotificationNameNewIssuePublisherNotificationMessage NotificationName = "NewIssuePublisherNotificationMessage" NotificationNamePurchasePublisherNotificationMessage NotificationName = "PurchasePublisherNotificationMessage" NotificationNameQuotaLimitApproachingPublisherNotificationMessage NotificationName = "QuotaLimitApproachingPublisherNotificationMessage" NotificationNameRequestPublisherNotificationMessage NotificationName = "RequestPublisherNotificationMessage" )
func (*NotificationName) UnmarshalJSON ¶
func (s *NotificationName) UnmarshalJSON(bytes []byte) error
type NotificationNotificationId ¶
type NotificationNotificationId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string NotificationName NotificationName }
NotificationNotificationId is a struct representing the Resource ID for a Notification Notification
func NewNotificationNotificationID ¶
func NewNotificationNotificationID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, notificationName NotificationName) NotificationNotificationId
NewNotificationNotificationID returns a new NotificationNotificationId struct
func ParseNotificationNotificationID ¶
func ParseNotificationNotificationID(input string) (*NotificationNotificationId, error)
ParseNotificationNotificationID parses 'input' into a NotificationNotificationId
func ParseNotificationNotificationIDInsensitively ¶
func ParseNotificationNotificationIDInsensitively(input string) (*NotificationNotificationId, error)
ParseNotificationNotificationIDInsensitively parses 'input' case-insensitively into a NotificationNotificationId note: this method should only be used for API response data and not user input
func (*NotificationNotificationId) FromParseResult ¶
func (id *NotificationNotificationId) FromParseResult(input resourceids.ParseResult) error
func (NotificationNotificationId) ID ¶
func (id NotificationNotificationId) ID() string
ID returns the formatted Notification Notification ID
func (NotificationNotificationId) Segments ¶
func (id NotificationNotificationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Notification Notification ID
func (NotificationNotificationId) String ¶
func (id NotificationNotificationId) String() string
String returns a human-readable description of this Notification Notification ID
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type WorkspaceId ¶
type WorkspaceId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string }
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
type WorkspaceNotificationCreateOrUpdateOperationOptions ¶
type WorkspaceNotificationCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceNotificationCreateOrUpdateOperationOptions ¶
func DefaultWorkspaceNotificationCreateOrUpdateOperationOptions() WorkspaceNotificationCreateOrUpdateOperationOptions
func (WorkspaceNotificationCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceNotificationCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceNotificationCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspaceNotificationCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceNotificationCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspaceNotificationCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceNotificationCreateOrUpdateOperationResponse ¶
type WorkspaceNotificationCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NotificationContract }
type WorkspaceNotificationGetOperationResponse ¶
type WorkspaceNotificationGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NotificationContract }
type WorkspaceNotificationListByServiceCompleteResult ¶
type WorkspaceNotificationListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []NotificationContract }
type WorkspaceNotificationListByServiceCustomPager ¶ added in v0.20240628.1153531
type WorkspaceNotificationListByServiceCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*WorkspaceNotificationListByServiceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *WorkspaceNotificationListByServiceCustomPager) NextPageLink() *odata.Link
type WorkspaceNotificationListByServiceOperationOptions ¶
func DefaultWorkspaceNotificationListByServiceOperationOptions ¶
func DefaultWorkspaceNotificationListByServiceOperationOptions() WorkspaceNotificationListByServiceOperationOptions
func (WorkspaceNotificationListByServiceOperationOptions) ToHeaders ¶
func (o WorkspaceNotificationListByServiceOperationOptions) ToHeaders() *client.Headers
func (WorkspaceNotificationListByServiceOperationOptions) ToOData ¶
func (o WorkspaceNotificationListByServiceOperationOptions) ToOData() *odata.Query
func (WorkspaceNotificationListByServiceOperationOptions) ToQuery ¶
func (o WorkspaceNotificationListByServiceOperationOptions) ToQuery() *client.QueryParams
type WorkspaceNotificationListByServiceOperationResponse ¶
type WorkspaceNotificationListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NotificationContract }
Source Files ¶
- client.go
- constants.go
- id_notification.go
- id_notificationnotification.go
- id_service.go
- id_workspace.go
- method_createorupdate.go
- method_get.go
- method_listbyservice.go
- method_workspacenotificationcreateorupdate.go
- method_workspacenotificationget.go
- method_workspacenotificationlistbyservice.go
- model_notificationcontract.go
- model_notificationcontractproperties.go
- model_recipientscontractproperties.go
- predicates.go
- version.go