Documentation ¶
Index ¶
- func PossibleValuesForTemplateName() []string
- func ValidateTemplateID(input interface{}, key string) (warnings []string, errors []error)
- type EmailTemplateContract
- type EmailTemplateContractProperties
- type EmailTemplateCreateOrUpdateOperationOptions
- type EmailTemplateCreateOrUpdateOperationResponse
- type EmailTemplateDeleteOperationOptions
- type EmailTemplateDeleteOperationResponse
- type EmailTemplateGetEntityTagOperationResponse
- type EmailTemplateGetOperationResponse
- type EmailTemplateParametersContractProperties
- type EmailTemplateUpdateOperationOptions
- type EmailTemplateUpdateOperationResponse
- type EmailTemplateUpdateParameterProperties
- type EmailTemplateUpdateParameters
- type EmailTemplatesClient
- func (c EmailTemplatesClient) EmailTemplateCreateOrUpdate(ctx context.Context, id TemplateId, input EmailTemplateUpdateParameters, ...) (result EmailTemplateCreateOrUpdateOperationResponse, err error)
- func (c EmailTemplatesClient) EmailTemplateDelete(ctx context.Context, id TemplateId, ...) (result EmailTemplateDeleteOperationResponse, err error)
- func (c EmailTemplatesClient) EmailTemplateGet(ctx context.Context, id TemplateId) (result EmailTemplateGetOperationResponse, err error)
- func (c EmailTemplatesClient) EmailTemplateGetEntityTag(ctx context.Context, id TemplateId) (result EmailTemplateGetEntityTagOperationResponse, err error)
- func (c EmailTemplatesClient) EmailTemplateUpdate(ctx context.Context, id TemplateId, input EmailTemplateUpdateParameters, ...) (result EmailTemplateUpdateOperationResponse, err error)
- type TemplateId
- type TemplateName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTemplateName ¶
func PossibleValuesForTemplateName() []string
func ValidateTemplateID ¶
ValidateTemplateID checks that 'input' can be parsed as a Template ID
Types ¶
type EmailTemplateContract ¶
type EmailTemplateContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EmailTemplateContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type EmailTemplateContractProperties ¶
type EmailTemplateContractProperties struct { Body string `json:"body"` Description *string `json:"description,omitempty"` IsDefault *bool `json:"isDefault,omitempty"` Parameters *[]EmailTemplateParametersContractProperties `json:"parameters,omitempty"` Subject string `json:"subject"` Title *string `json:"title,omitempty"` }
type EmailTemplateCreateOrUpdateOperationOptions ¶
type EmailTemplateCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultEmailTemplateCreateOrUpdateOperationOptions ¶
func DefaultEmailTemplateCreateOrUpdateOperationOptions() EmailTemplateCreateOrUpdateOperationOptions
type EmailTemplateCreateOrUpdateOperationResponse ¶
type EmailTemplateCreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *EmailTemplateContract }
type EmailTemplateDeleteOperationOptions ¶
type EmailTemplateDeleteOperationOptions struct {
IfMatch *string
}
func DefaultEmailTemplateDeleteOperationOptions ¶
func DefaultEmailTemplateDeleteOperationOptions() EmailTemplateDeleteOperationOptions
type EmailTemplateGetOperationResponse ¶
type EmailTemplateGetOperationResponse struct { HttpResponse *http.Response Model *EmailTemplateContract }
type EmailTemplateUpdateOperationOptions ¶
type EmailTemplateUpdateOperationOptions struct {
IfMatch *string
}
func DefaultEmailTemplateUpdateOperationOptions ¶
func DefaultEmailTemplateUpdateOperationOptions() EmailTemplateUpdateOperationOptions
type EmailTemplateUpdateOperationResponse ¶
type EmailTemplateUpdateOperationResponse struct { HttpResponse *http.Response Model *EmailTemplateContract }
type EmailTemplateUpdateParameterProperties ¶
type EmailTemplateUpdateParameterProperties struct { Body *string `json:"body,omitempty"` Description *string `json:"description,omitempty"` Parameters *[]EmailTemplateParametersContractProperties `json:"parameters,omitempty"` Subject *string `json:"subject,omitempty"` Title *string `json:"title,omitempty"` }
type EmailTemplateUpdateParameters ¶
type EmailTemplateUpdateParameters struct {
Properties *EmailTemplateUpdateParameterProperties `json:"properties,omitempty"`
}
type EmailTemplatesClient ¶
type EmailTemplatesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewEmailTemplatesClientWithBaseURI ¶
func NewEmailTemplatesClientWithBaseURI(endpoint string) EmailTemplatesClient
func (EmailTemplatesClient) EmailTemplateCreateOrUpdate ¶
func (c EmailTemplatesClient) EmailTemplateCreateOrUpdate(ctx context.Context, id TemplateId, input EmailTemplateUpdateParameters, options EmailTemplateCreateOrUpdateOperationOptions) (result EmailTemplateCreateOrUpdateOperationResponse, err error)
EmailTemplateCreateOrUpdate ...
func (EmailTemplatesClient) EmailTemplateDelete ¶
func (c EmailTemplatesClient) EmailTemplateDelete(ctx context.Context, id TemplateId, options EmailTemplateDeleteOperationOptions) (result EmailTemplateDeleteOperationResponse, err error)
EmailTemplateDelete ...
func (EmailTemplatesClient) EmailTemplateGet ¶
func (c EmailTemplatesClient) EmailTemplateGet(ctx context.Context, id TemplateId) (result EmailTemplateGetOperationResponse, err error)
EmailTemplateGet ...
func (EmailTemplatesClient) EmailTemplateGetEntityTag ¶
func (c EmailTemplatesClient) EmailTemplateGetEntityTag(ctx context.Context, id TemplateId) (result EmailTemplateGetEntityTagOperationResponse, err error)
EmailTemplateGetEntityTag ...
func (EmailTemplatesClient) EmailTemplateUpdate ¶
func (c EmailTemplatesClient) EmailTemplateUpdate(ctx context.Context, id TemplateId, input EmailTemplateUpdateParameters, options EmailTemplateUpdateOperationOptions) (result EmailTemplateUpdateOperationResponse, err error)
EmailTemplateUpdate ...
type TemplateId ¶
type TemplateId struct { SubscriptionId string ResourceGroupName string ServiceName string TemplateName TemplateName }
TemplateId is a struct representing the Resource ID for a Template
func NewTemplateID ¶
func NewTemplateID(subscriptionId string, resourceGroupName string, serviceName string, templateName TemplateName) TemplateId
NewTemplateID returns a new TemplateId struct
func ParseTemplateID ¶
func ParseTemplateID(input string) (*TemplateId, error)
ParseTemplateID parses 'input' into a TemplateId
func ParseTemplateIDInsensitively ¶
func ParseTemplateIDInsensitively(input string) (*TemplateId, error)
ParseTemplateIDInsensitively parses 'input' case-insensitively into a TemplateId note: this method should only be used for API response data and not user input
func (TemplateId) Segments ¶
func (id TemplateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Template ID
func (TemplateId) String ¶
func (id TemplateId) String() string
String returns a human-readable description of this Template ID
type TemplateName ¶
type TemplateName string
const ( TemplateNameAccountClosedDeveloper TemplateName = "accountClosedDeveloper" TemplateNameApplicationApprovedNotificationMessage TemplateName = "applicationApprovedNotificationMessage" TemplateNameConfirmSignUpIdentityDefault TemplateName = "confirmSignUpIdentityDefault" TemplateNameEmailChangeIdentityDefault TemplateName = "emailChangeIdentityDefault" TemplateNameInviteUserNotificationMessage TemplateName = "inviteUserNotificationMessage" TemplateNameNewCommentNotificationMessage TemplateName = "newCommentNotificationMessage" TemplateNameNewDeveloperNotificationMessage TemplateName = "newDeveloperNotificationMessage" TemplateNameNewIssueNotificationMessage TemplateName = "newIssueNotificationMessage" TemplateNamePasswordResetByAdminNotificationMessage TemplateName = "passwordResetByAdminNotificationMessage" TemplateNamePasswordResetIdentityDefault TemplateName = "passwordResetIdentityDefault" TemplateNamePurchaseDeveloperNotificationMessage TemplateName = "purchaseDeveloperNotificationMessage" TemplateNameQuotaLimitApproachingDeveloperNotificationMessage TemplateName = "quotaLimitApproachingDeveloperNotificationMessage" TemplateNameRejectDeveloperNotificationMessage TemplateName = "rejectDeveloperNotificationMessage" TemplateNameRequestDeveloperNotificationMessage TemplateName = "requestDeveloperNotificationMessage" )
Source Files ¶
- client.go
- constants.go
- id_template.go
- method_emailtemplatecreateorupdate_autorest.go
- method_emailtemplatedelete_autorest.go
- method_emailtemplateget_autorest.go
- method_emailtemplategetentitytag_autorest.go
- method_emailtemplateupdate_autorest.go
- model_emailtemplatecontract.go
- model_emailtemplatecontractproperties.go
- model_emailtemplateparameterscontractproperties.go
- model_emailtemplateupdateparameterproperties.go
- model_emailtemplateupdateparameters.go
- version.go