Partilhar via


ApiManagementEmailTemplateCollection.ExistsAsync Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operação IdEmailTemplate_Get
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (Azure.ResourceManager.ApiManagement.Models.TemplateName templateName, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : Azure.ResourceManager.ApiManagement.Models.TemplateName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : Azure.ResourceManager.ApiManagement.Models.TemplateName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (templateName As TemplateName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parâmetros

templateName
TemplateName

Email identificador de nome de modelo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a