Udostępnij za pośrednictwem


ArmApiManagementModelFactory.ApiManagementEmailTemplateData Method

Definition

Initializes a new instance of ApiManagementEmailTemplateData.

public static Azure.ResourceManager.ApiManagement.ApiManagementEmailTemplateData ApiManagementEmailTemplateData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string subject = default, string body = default, string title = default, string description = default, bool? isDefault = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.Models.EmailTemplateParametersContractProperties> parameters = default);
static member ApiManagementEmailTemplateData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<bool> * seq<Azure.ResourceManager.ApiManagement.Models.EmailTemplateParametersContractProperties> -> Azure.ResourceManager.ApiManagement.ApiManagementEmailTemplateData
Public Shared Function ApiManagementEmailTemplateData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional subject As String = Nothing, Optional body As String = Nothing, Optional title As String = Nothing, Optional description As String = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional parameters As IEnumerable(Of EmailTemplateParametersContractProperties) = Nothing) As ApiManagementEmailTemplateData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

subject
String

Subject of the Template.

body
String

Email Template Body. This should be a valid XDocument.

title
String

Title of the Template.

description
String

Description of the Email Template.

isDefault
Nullable<Boolean>

Whether the template is the default template provided by API Management or has been edited.

parameters
IEnumerable<EmailTemplateParametersContractProperties>

Email Template Parameter values.

Returns

A new ApiManagementEmailTemplateData instance for mocking.

Applies to