Notification Recipient Email - Create Or Update
Email adresini Bildirim için Alıcılar listesine ekler.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}?api-version=2022-08-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
email
|
path | True |
string |
Email tanımlayıcı. |
notification
|
path | True |
Bildirim Adı Tanımlayıcısı. |
|
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. |
api-version
|
query | True |
string |
Bu işlem için kullanılacak API sürümü. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Alıcı Email zaten bildirim listesinin bir parçasıdır. |
|
201 Created |
Alıcı Email bildirim listesine başarıyla eklendi. |
|
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
ApiManagementCreateNotificationRecipientEmail
Sample Request
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com?api-version=2022-08-01
Sample Response
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com",
"type": "Microsoft.ApiManagement/service/notifications/recipientEmails",
"name": "foobar@live.com",
"properties": {
"email": "foobar@live.com"
}
}
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com",
"type": "Microsoft.ApiManagement/service/notifications/recipientEmails",
"name": "foobar@live.com",
"properties": {
"email": "foobar@live.com"
}
}
Tanımlar
Name | Description |
---|---|
Error |
Hata Alanı sözleşmesi. |
Error |
Hata Yanıtı. |
Notification |
Bildirim Adı Tanımlayıcısı. |
Recipient |
Alıcı Email ayrıntıları. |
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 okunabilen gösterimi. |
NotificationName
Bildirim Adı Tanımlayıcısı.
Name | Tür | Description |
---|---|---|
AccountClosedPublisher |
string |
Geliştirici hesabını kapattığında aşağıdaki e-posta alıcıları ve kullanıcılar e-posta bildirimleri alır. |
BCC |
string |
Aşağıdaki alıcılar, geliştiricilere gönderilen tüm e-postaların gizli kopyalarını alır. |
NewApplicationNotificationMessage |
string |
Aşağıdaki e-posta alıcıları ve kullanıcılar, uygulama galerisine yeni uygulamalar gönderildiğinde e-posta bildirimleri alır. |
NewIssuePublisherNotificationMessage |
string |
Geliştirici portalında yeni bir sorun veya açıklama gönderildiğinde aşağıdaki e-posta alıcıları ve kullanıcılar e-posta bildirimleri alır. |
PurchasePublisherNotificationMessage |
string |
Aşağıdaki e-posta alıcıları ve kullanıcıları yeni API ürün abonelikleri hakkında e-posta bildirimleri alır. |
QuotaLimitApproachingPublisherNotificationMessage |
string |
Abonelik kullanımı kullanım kotasına yaklaştığında aşağıdaki e-posta alıcıları ve kullanıcılar e-posta bildirimleri alır. |
RequestPublisherNotificationMessage |
string |
Aşağıdaki e-posta alıcıları ve kullanıcıları, onay gerektiren API ürünleri için abonelik istekleri hakkında e-posta bildirimleri alır. |
RecipientEmailContract
Alıcı Email ayrıntıları.
Name | Tür | Description |
---|---|---|
id |
string |
Kaynağın tam kaynak kimliği. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
Kaynağın adı |
properties.email |
string |
Kullanıcı Email bildirime abone oldu. |
type |
string |
Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts" |