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
func (EmailTemplateCreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o EmailTemplateCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (EmailTemplateCreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o EmailTemplateCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (EmailTemplateCreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o EmailTemplateCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type EmailTemplateCreateOrUpdateOperationResponse ¶
type EmailTemplateCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EmailTemplateContract }
type EmailTemplateDeleteOperationOptions ¶
type EmailTemplateDeleteOperationOptions struct {
IfMatch *string
}
func DefaultEmailTemplateDeleteOperationOptions ¶
func DefaultEmailTemplateDeleteOperationOptions() EmailTemplateDeleteOperationOptions
func (EmailTemplateDeleteOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o EmailTemplateDeleteOperationOptions) ToHeaders() *client.Headers
func (EmailTemplateDeleteOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o EmailTemplateDeleteOperationOptions) ToOData() *odata.Query
func (EmailTemplateDeleteOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o EmailTemplateDeleteOperationOptions) ToQuery() *client.QueryParams
type EmailTemplateGetOperationResponse ¶
type EmailTemplateGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EmailTemplateContract }
type EmailTemplateUpdateOperationOptions ¶
type EmailTemplateUpdateOperationOptions struct {
IfMatch *string
}
func DefaultEmailTemplateUpdateOperationOptions ¶
func DefaultEmailTemplateUpdateOperationOptions() EmailTemplateUpdateOperationOptions
func (EmailTemplateUpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o EmailTemplateUpdateOperationOptions) ToHeaders() *client.Headers
func (EmailTemplateUpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o EmailTemplateUpdateOperationOptions) ToOData() *odata.Query
func (EmailTemplateUpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o EmailTemplateUpdateOperationOptions) ToQuery() *client.QueryParams
type EmailTemplateUpdateOperationResponse ¶
type EmailTemplateUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 *resourcemanager.Client
}
func NewEmailTemplatesClientWithBaseURI ¶
func NewEmailTemplatesClientWithBaseURI(sdkApi sdkEnv.Api) (*EmailTemplatesClient, error)
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *TemplateId) FromParseResult(input resourceids.ParseResult) error
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" )
func (*TemplateName) UnmarshalJSON ¶ added in v0.20230801.1071415
func (s *TemplateName) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_template.go
- method_emailtemplatecreateorupdate.go
- method_emailtemplatedelete.go
- method_emailtemplateget.go
- method_emailtemplategetentitytag.go
- method_emailtemplateupdate.go
- model_emailtemplatecontract.go
- model_emailtemplatecontractproperties.go
- model_emailtemplateparameterscontractproperties.go
- model_emailtemplateupdateparameterproperties.go
- model_emailtemplateupdateparameters.go
- version.go