EmailTemplateContract Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EmailTemplateContract() |
Initializes a new instance of the EmailTemplateContract class. |
EmailTemplateContract(String, String, String, String, String, String, String, Nullable<Boolean>, IList<EmailTemplateParametersContractProperties>) |
Initializes a new instance of the EmailTemplateContract class. |
EmailTemplateContract()
Initializes a new instance of the EmailTemplateContract class.
public EmailTemplateContract ();
Public Sub New ()
Applies to
EmailTemplateContract(String, String, String, String, String, String, String, Nullable<Boolean>, IList<EmailTemplateParametersContractProperties>)
Initializes a new instance of the EmailTemplateContract class.
public EmailTemplateContract (string subject, string body, string id = default, string name = default, string type = default, string title = default, string description = default, bool? isDefault = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateParametersContractProperties> parameters = default);
new Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract : string * string * string * string * string * string * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateParametersContractProperties> -> Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract
Public Sub New (subject As String, body As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional title As String = Nothing, Optional description As String = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional parameters As IList(Of EmailTemplateParametersContractProperties) = Nothing)
Parameters
- subject
- String
Subject of the Template.
- body
- String
Email Template Body. This should be a valid XDocument
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- title
- String
Title of the Template.
- description
- String
Description of the Email Template.
Whether the template is the default template provided by API Management or has been edited.
- parameters
- IList<EmailTemplateParametersContractProperties>
Email Template Parameter values.
Applies to
Azure SDK for .NET