Client library for ApiManagementClient
npm install --save @datafire/azure_apimanagement_apimemailtemplates
let azure_apimanagement_apimemailtemplates = require('@datafire/azure_apimanagement_apimemailtemplates').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Use these REST APIs for performing operations on Email Templates associated with your Azure API Management deployment.
Lists a collection of properties defined within a service instance.
azure_apimanagement_apimemailtemplates.EmailTemplate_ListByService({
"resourceGroupName": "",
"serviceName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group. - serviceName required
string
: The name of the API Management service. - $filter
string
: | Field | Usage | Supported operators | Supported functions |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - $top
integer
: Number of records to return. - $skip
integer
: Number of records to skip. - api-version required
string
: Version of the API to be used with the client request. - subscriptionId required
string
: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- resourceGroupName required
- output
object
: Paged email template list representation.- nextLink
string
: Next page link if any. - value
array
: Page values.- items
object
: Email Template details.- properties
object
: Email Template Contract properties.- body required
string
: Email Template Body. This should be a valid XDocument - description
string
: Description of the Email Template. - isDefault
boolean
: Whether the template is the default template provided by Api Management or has been edited. - parameters
array
: Email Template Parameter values.- items
object
: Email Template Parameter contract.
- items
- subject required
string
: Subject of the Template. - title
string
: Title of the Template.
- body required
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type for API Management resource.
- properties
- items
- nextLink
Reset the Email Template to default template provided by the API Management service instance.
azure_apimanagement_apimemailtemplates.EmailTemplate_Delete({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"If-Match": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group. - serviceName required
string
: The name of the API Management service. - templateName required
string
(values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier. - If-Match required
string
: ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update. - api-version required
string
: Version of the API to be used with the client request. - subscriptionId required
string
: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- resourceGroupName required
Output schema unknown
Gets the details of the email template specified by its identifier.
azure_apimanagement_apimemailtemplates.EmailTemplate_Get({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group. - serviceName required
string
: The name of the API Management service. - templateName required
string
(values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier. - api-version required
string
: Version of the API to be used with the client request. - subscriptionId required
string
: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- resourceGroupName required
- output
object
: Email Template details.- properties
object
: Email Template Contract properties.- body required
string
: Email Template Body. This should be a valid XDocument - description
string
: Description of the Email Template. - isDefault
boolean
: Whether the template is the default template provided by Api Management or has been edited. - parameters
array
: Email Template Parameter values.- items
object
: Email Template Parameter contract.- description
string
: Template parameter description. - name
string
: Template parameter name. - title
string
: Template parameter title.
- description
- items
- subject required
string
: Subject of the Template. - title
string
: Title of the Template.
- body required
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type for API Management resource.
- properties
Gets the entity state (Etag) version of the email template specified by its identifier.
azure_apimanagement_apimemailtemplates.EmailTemplate_GetEntityTag({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group. - serviceName required
string
: The name of the API Management service. - templateName required
string
(values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier. - api-version required
string
: Version of the API to be used with the client request. - subscriptionId required
string
: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- resourceGroupName required
Output schema unknown
Updates the specific Email Template.
azure_apimanagement_apimemailtemplates.EmailTemplate_Update({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"parameters": null,
"If-Match": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group. - serviceName required
string
: The name of the API Management service. - templateName required
string
(values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier. - parameters required
object
: Email Template update Parameters.- properties
object
: Email Template Update Contract properties.- body
string
: Email Template Body. This should be a valid XDocument - description
string
: Description of the Email Template. - parameters
array
: Email Template Parameter values.- items
object
: Email Template Parameter contract.- description
string
: Template parameter description. - name
string
: Template parameter name. - title
string
: Template parameter title.
- description
- items
- subject
string
: Subject of the Template. - title
string
: Title of the Template.
- body
- properties
- If-Match required
string
: ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update. - api-version required
string
: Version of the API to be used with the client request. - subscriptionId required
string
: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- resourceGroupName required
Output schema unknown
Updates an Email Template.
azure_apimanagement_apimemailtemplates.EmailTemplate_CreateOrUpdate({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group. - serviceName required
string
: The name of the API Management service. - templateName required
string
(values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier. - parameters required
object
: Email Template update Parameters.- properties
object
: Email Template Update Contract properties.- body
string
: Email Template Body. This should be a valid XDocument - description
string
: Description of the Email Template. - parameters
array
: Email Template Parameter values.- items
object
: Email Template Parameter contract.- description
string
: Template parameter description. - name
string
: Template parameter name. - title
string
: Template parameter title.
- description
- items
- subject
string
: Subject of the Template. - title
string
: Title of the Template.
- body
- properties
- If-Match
string
: ETag of the Entity. Not required when creating an entity, but required when updating an entity. - api-version required
string
: Version of the API to be used with the client request. - subscriptionId required
string
: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- resourceGroupName required
- output
object
: Email Template details.- properties
object
: Email Template Contract properties.- body required
string
: Email Template Body. This should be a valid XDocument - description
string
: Description of the Email Template. - isDefault
boolean
: Whether the template is the default template provided by Api Management or has been edited. - parameters
array
: Email Template Parameter values.- items
object
: Email Template Parameter contract.- description
string
: Template parameter description. - name
string
: Template parameter name. - title
string
: Template parameter title.
- description
- items
- subject required
string
: Subject of the Template. - title
string
: Title of the Template.
- body required
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type for API Management resource.
- properties
This integration has no definitions