Email Template - Get Entity Tag
Tanımlayıcısı tarafından belirtilen e-posta şablonunun varlık durumu (Etag) sürümünü alır.
HEAD https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}?api-version=2022-08-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir. |
service
|
path | True |
string |
API Management hizmetinin adı. Regex pattern: |
subscription
|
path | True |
string |
Hedef aboneliğin kimliği. |
template
|
path | True |
Şablon Adı Tanımlayıcısı'nı Email. |
|
api-version
|
query | True |
string |
Bu işlem için kullanılacak API sürümü. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Belirtilen e-posta şablonu varlığı var ve geçerli varlık durumu sürümü ETag üst bilgisinde mevcut. Headers ETag: string |
|
Other Status Codes |
İşlemin neden başarısız olduğunu açıklayan hata yanıtı. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
ApiManagementHeadEmailTemplate
Sample Request
HEAD https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/newIssueNotificationMessage?api-version=2022-08-01
Sample Response
etag: AAAAAAAAAAa=
Tanımlar
Name | Description |
---|---|
Error |
Hata Alanı sözleşmesi. |
Error |
Hata Yanıtı. |
Template |
Şablon Adı Tanımlayıcısı'nı Email. |
ErrorFieldContract
Hata Alanı sözleşmesi.
Name | Tür | Description |
---|---|---|
code |
string |
Özellik düzeyi hata kodu. |
message |
string |
Özellik düzeyi hatanın insan tarafından okunabilir gösterimi. |
target |
string |
Özellik adı. |
ErrorResponse
Hata Yanıtı.
Name | Tür | Description |
---|---|---|
error.code |
string |
Hizmet tanımlı hata kodu. Bu kod, yanıtta belirtilen HTTP hata kodu için bir alt durum görevi görür. |
error.details |
Doğrulama hatası durumunda istekte gönderilen geçersiz alanların listesi. |
|
error.message |
string |
Hatanın insan tarafından okunabilir gösterimi. |
TemplateName
Şablon Adı Tanımlayıcısı'nı Email.
Name | Tür | Description |
---|---|---|
accountClosedDeveloper |
string |
|
applicationApprovedNotificationMessage |
string |
|
confirmSignUpIdentityDefault |
string |
|
emailChangeIdentityDefault |
string |
|
inviteUserNotificationMessage |
string |
|
newCommentNotificationMessage |
string |
|
newDeveloperNotificationMessage |
string |
|
newIssueNotificationMessage |
string |
|
passwordResetByAdminNotificationMessage |
string |
|
passwordResetIdentityDefault |
string |
|
purchaseDeveloperNotificationMessage |
string |
|
quotaLimitApproachingDeveloperNotificationMessage |
string |
|
rejectDeveloperNotificationMessage |
string |
|
requestDeveloperNotificationMessage |
string |