共用方式為


ApiManagementEmailTemplateCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operation Id: EmailTemplate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
public virtual Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementEmailTemplateResource> GetIfExists (Azure.ResourceManager.ApiManagement.Models.TemplateName templateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.ApiManagement.Models.TemplateName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementEmailTemplateResource>
override this.GetIfExists : Azure.ResourceManager.ApiManagement.Models.TemplateName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementEmailTemplateResource>
Public Overridable Function GetIfExists (templateName As TemplateName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ApiManagementEmailTemplateResource)

Parameters

templateName
TemplateName

Email Template Name Identifier.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to