Documentation ¶
Index ¶
- func PossibleValuesForNotificationName() []string
- func ValidateNotificationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- 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)
- type NotificationContract
- type NotificationContractOperationPredicate
- type NotificationContractProperties
- type NotificationId
- type NotificationName
- type RecipientsContractProperties
- type ServiceId
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 ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service 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 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
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 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