Notification Hubs - Debug Send
Anında iletme bildirimi göndermeyi test edin.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend?api-version=2023-09-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
namespace
|
path | True |
string |
Ad alanı adı Normal ifade deseni: |
notification
|
path | True |
string |
Bildirim Merkezi adı Normal ifade deseni: |
resource
|
path | True |
string |
Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir. |
subscription
|
path | True |
string uuid |
Hedef aboneliğin kimliği. Değer bir UUID olmalıdır. |
api-version
|
query | True |
string |
Bu işlem için kullanılacak API sürümü. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Başarılı |
|
Other Status Codes |
Nedeni olan hata kodu. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow
Tür:
oauth2
Akış:
implicit
Yetkilendirme URL’si:
https://login.microsoftonline.com/common/oauth2/authorize
Kapsamlar
Name | Description |
---|---|
user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
NotificationHubs_DebugSend
Örnek isteği
POST https://management.azure.com/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub/debugsend?api-version=2023-09-01
Örnek yanıt
{
"properties": {
"success": 0,
"failure": 0,
"results": []
},
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test",
"name": "test",
"type": "Microsoft.NotificationHubs/namespaces/notificationHubs/debugSend"
}
Tanımlar
Name | Description |
---|---|
created |
Kaynağı oluşturan kimliğin türü. |
Debug |
NotificationHub Kaynağının açıklaması. |
Debug |
DebugSend işlemlerinin sonucu. |
Error |
Kaynak yönetimi hatası ek bilgileri. |
Error |
Hata ayrıntısı. |
Error |
Hata yanıtı |
Registration |
Tek bir kayıt için bildirim sonucu. |
system |
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler. |
createdByType
Kaynağı oluşturan kimliğin türü.
Name | Tür | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
DebugSendResponse
NotificationHub Kaynağının açıklaması.
Name | Tür | Description |
---|---|---|
id |
string |
Kaynağın tam kaynak kimliği. Örneğin, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
location |
string |
Kullanım dışı - yalnızca uyumluluk için. |
name |
string |
Kaynağın adı |
properties |
DebugSend işlemlerinin sonucu. |
|
systemData |
Azure Resource Manager createdBy ve modifiedBy bilgilerini içeren meta veriler. |
|
tags |
object |
Kullanım dışı - yalnızca uyumluluk için. |
type |
string |
Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts" |
DebugSendResult
DebugSend işlemlerinin sonucu.
Name | Tür | Description |
---|---|---|
failure |
integer |
Gönderme hatasını alır veya ayarlar |
results |
Gerçek hata açıklamasını alır veya ayarlar |
|
success |
integer |
Başarılı göndermeyi alır veya ayarlar |
ErrorAdditionalInfo
Kaynak yönetimi hatası ek bilgileri.
Name | Tür | Description |
---|---|---|
info |
object |
Ek bilgiler. |
type |
string |
Ek bilgi türü. |
ErrorDetail
Hata ayrıntısı.
Name | Tür | Description |
---|---|---|
additionalInfo |
Hata ek bilgileri. |
|
code |
string |
Hata kodu. |
details |
Hata ayrıntıları. |
|
message |
string |
Hata iletisi. |
target |
string |
Hata hedefi. |
ErrorResponse
Hata yanıtı
Name | Tür | Description |
---|---|---|
error |
Hata nesnesi. |
RegistrationResult
Tek bir kayıt için bildirim sonucu.
Name | Tür | Description |
---|---|---|
applicationPlatform |
string |
PNS türü. |
outcome |
string |
Bildirim sonucu. |
pnsHandle |
string |
PNS tutamacı. |
registrationId |
string |
Kayıt kimliği. |
systemData
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.
Name | Tür | Description |
---|---|---|
createdAt |
string |
Kaynak oluşturma (UTC) zaman damgası. |
createdBy |
string |
Kaynağı oluşturan kimlik. |
createdByType |
Kaynağı oluşturan kimliğin türü. |
|
lastModifiedAt |
string |
Kaynağın son değişikliğinin zaman damgası (UTC) |
lastModifiedBy |
string |
Kaynağı en son değiştiren kimlik. |
lastModifiedByType |
Kaynağı en son değiştiren kimliğin türü. |