次の方法で共有


Notification Recipient Email - Create Or Update

通知の受信者の一覧にメール アドレスを追加します。

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}?api-version=2021-08-01

URI パラメーター

名前 / 必須 説明
email
path True

string

Email識別子。

notificationName
path True

NotificationName

通知名識別子。

resourceGroupName
path True

string

リソース グループの名前。

serviceName
path True

string

API Management サービスの名前。

正規表現パターン: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$

subscriptionId
path True

string

Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報。 サブスクリプション ID は、全ての修理依頼についてURI の一部を生じさせます。

api-version
query True

string

クライアント要求で使用される API のバージョン。

応答

名前 説明
200 OK

RecipientEmailContract

受信者Emailは既に通知リストの一部です。

201 Created

RecipientEmailContract

受信者Emailが通知リストに正常に追加されました。

Other Status Codes

ErrorResponse

操作に失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー。

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントの借用

ApiManagementCreateNotificationRecipientEmail

要求のサンプル

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com?api-version=2021-08-01

応答のサンプル

{
  "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"
  }
}

定義

名前 説明
ErrorFieldContract

エラー フィールド コントラクト。

ErrorResponse

エラー応答。

NotificationName

通知名識別子。

RecipientEmailContract

受信者のEmailの詳細。

ErrorFieldContract

エラー フィールド コントラクト。

名前 説明
code

string

プロパティ レベルのエラー コード。

message

string

プロパティ レベルエラーの人間が判読できる表現。

target

string

プロパティ名。

ErrorResponse

エラー応答。

名前 説明
error.code

string

サービスによって定義されたエラー コード。 このコードは、応答に指定された HTTP エラー コードのサブステータスとして機能します。

error.details

ErrorFieldContract[]

検証エラーが発生した場合に要求で送信される無効なフィールドの一覧。

error.message

string

人が判読できるエラーの表現。

NotificationName

通知名識別子。

名前 説明
AccountClosedPublisher

string

開発者がアカウントを閉じると、次のメール受信者とユーザーに電子メール通知が送信されます。

BCC

string

次の受信者は、開発者に送信されるすべてのメールのブラインド カーボン コピーを受け取ります。

NewApplicationNotificationMessage

string

次のメール受信者とユーザーは、新しいアプリケーションがアプリケーション ギャラリーに送信されると、電子メール通知を受け取ります。

NewIssuePublisherNotificationMessage

string

開発者ポータルで新しい問題またはコメントが送信されると、次の電子メール受信者とユーザーに電子メール通知が送信されます。

PurchasePublisherNotificationMessage

string

次のメール受信者とユーザーは、新しい API 製品サブスクリプションに関する電子メール通知を受け取ります。

QuotaLimitApproachingPublisherNotificationMessage

string

サブスクリプションの使用状況が使用量クォータに近づくと、次の電子メール受信者とユーザーは電子メール通知を受け取ります。

RequestPublisherNotificationMessage

string

次のメール受信者とユーザーは、承認を必要とする API 製品のサブスクリプション要求に関する電子メール通知を受け取ります。

RecipientEmailContract

受信者のEmailの詳細。

名前 説明
id

string

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

リソースの名前

properties.email

string

ユーザー Email通知をサブスクライブしています。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"