你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApiManagementServiceResource.GetApiManagementEmailTemplateAsync 方法

定义

获取由其标识符指定的电子邮件模板的详细信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • 操作IdEmailTemplate_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementEmailTemplateResource>> GetApiManagementEmailTemplateAsync (Azure.ResourceManager.ApiManagement.Models.TemplateName templateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiManagementEmailTemplateAsync : Azure.ResourceManager.ApiManagement.Models.TemplateName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementEmailTemplateResource>>
override this.GetApiManagementEmailTemplateAsync : Azure.ResourceManager.ApiManagement.Models.TemplateName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementEmailTemplateResource>>
Public Overridable Function GetApiManagementEmailTemplateAsync (templateName As TemplateName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApiManagementEmailTemplateResource))

参数

templateName
TemplateName

Email模板名称标识符。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于