Action Groups - Create Or Update

建立新的動作群組或更新現有的動作群組。

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}?api-version=2021-09-01

URI 參數

名稱 位於 必要 類型 Description
actionGroupName
path True

string

動作群組的名稱。

resourceGroupName
path True

string

資源群組的名稱。 名稱不區分大小寫。

subscriptionId
path True

string

目標訂用帳戶的標識碼。

api-version
query True

string

用於此作業的 API 版本。

要求本文

名稱 必要 類型 Description
location True

string

資源位置

properties.enabled True

boolean

指出是否啟用此動作群組。 如果未啟用動作群組,則沒有任何接收者會收到通訊。

properties.groupShortName True

string

動作群組的簡短名稱。 這將會用於SMS訊息中。

properties.armRoleReceivers

ArmRoleReceiver[]

屬於此動作群組一部分的ARM角色接收者清單。 角色是 Azure RBAC 角色,且僅支持內建角色。

properties.automationRunbookReceivers

AutomationRunbookReceiver[]

屬於此動作群組一部分的 AutomationRunbook 接收者清單。

properties.azureAppPushReceivers

AzureAppPushReceiver[]

屬於此動作群組一部分的 AzureAppPush 接收者清單。

properties.azureFunctionReceivers

AzureFunctionReceiver[]

屬於此動作群組一部分的 azure 函式接收者清單。

properties.emailReceivers

EmailReceiver[]

屬於此動作群組一部分的電子郵件接收者清單。

properties.eventHubReceivers

EventHubReceiver[]

屬於此動作群組一部分的事件中樞接收者清單。

properties.itsmReceivers

ItsmReceiver[]

屬於此動作群組一部分的 ITSM 接收者清單。

properties.logicAppReceivers

LogicAppReceiver[]

屬於此動作群組一部分的邏輯應用程式接收者清單。

properties.smsReceivers

SmsReceiver[]

屬於此動作群組一部分的SMS接收者清單。

properties.voiceReceivers

VoiceReceiver[]

屬於此動作群組一部分的語音接收器清單。

properties.webhookReceivers

WebhookReceiver[]

屬於此動作群組一部分的 Webhook 接收者清單。

tags

object

資源標籤

回應

名稱 類型 Description
200 OK

ActionGroupResource

已成功更新現有的動作群組。

201 Created

ActionGroupResource

已成功建立新的動作群組。

Other Status Codes

ErrorResponse

發生錯誤,且無法建立或更新動作群組。

安全性

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Create or update an action group

Sample Request

PUT https://management.azure.com/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/Microsoft.Insights/actionGroups/SampleActionGroup?api-version=2021-09-01

{
  "location": "Global",
  "tags": {},
  "properties": {
    "groupShortName": "sample",
    "enabled": true,
    "emailReceivers": [
      {
        "name": "John Doe's email",
        "emailAddress": "johndoe@email.com",
        "useCommonAlertSchema": false
      },
      {
        "name": "Jane Smith's email",
        "emailAddress": "janesmith@email.com",
        "useCommonAlertSchema": true
      }
    ],
    "smsReceivers": [
      {
        "name": "John Doe's mobile",
        "countryCode": "1",
        "phoneNumber": "1234567890"
      },
      {
        "name": "Jane Smith's mobile",
        "countryCode": "1",
        "phoneNumber": "0987654321"
      }
    ],
    "webhookReceivers": [
      {
        "name": "Sample webhook 1",
        "serviceUri": "http://www.example.com/webhook1",
        "useCommonAlertSchema": true
      },
      {
        "name": "Sample webhook 2",
        "serviceUri": "http://www.example.com/webhook2",
        "useCommonAlertSchema": true,
        "useAadAuth": true,
        "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808",
        "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
        "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
      }
    ],
    "itsmReceivers": [
      {
        "name": "Sample itsm",
        "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
        "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
        "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
        "region": "westcentralus"
      }
    ],
    "azureAppPushReceivers": [
      {
        "name": "Sample azureAppPush",
        "emailAddress": "johndoe@email.com"
      }
    ],
    "automationRunbookReceivers": [
      {
        "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
        "runbookName": "Sample runbook",
        "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
        "isGlobalRunbook": false,
        "name": "testRunbook",
        "serviceUri": "<serviceUri>",
        "useCommonAlertSchema": true
      }
    ],
    "voiceReceivers": [
      {
        "name": "Sample voice",
        "countryCode": "1",
        "phoneNumber": "1234567890"
      }
    ],
    "logicAppReceivers": [
      {
        "name": "Sample logicApp",
        "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
        "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
        "useCommonAlertSchema": false
      }
    ],
    "azureFunctionReceivers": [
      {
        "name": "Sample azureFunction",
        "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
        "functionName": "HttpTriggerCSharp1",
        "httpTriggerUrl": "http://test.me",
        "useCommonAlertSchema": true
      }
    ],
    "armRoleReceivers": [
      {
        "name": "Sample armRole",
        "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
        "useCommonAlertSchema": true
      }
    ],
    "eventHubReceivers": [
      {
        "name": "Sample eventHub",
        "eventHubNameSpace": "testEventHubNameSpace",
        "eventHubName": "testEventHub",
        "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
        "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
      }
    ]
  }
}

Sample Response

{
  "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
  "type": "Microsoft.Insights/ActionGroups",
  "name": "SampleActionGroup",
  "location": "Global",
  "tags": {},
  "properties": {
    "groupShortName": "sample",
    "enabled": true,
    "emailReceivers": [
      {
        "name": "John Doe's email",
        "emailAddress": "johndoe@email.com",
        "status": "Enabled",
        "useCommonAlertSchema": false
      },
      {
        "name": "Jane Smith's email",
        "emailAddress": "janesmith@email.com",
        "status": "Enabled",
        "useCommonAlertSchema": true
      }
    ],
    "smsReceivers": [
      {
        "name": "John Doe's mobile",
        "countryCode": "1",
        "phoneNumber": "1234567890",
        "status": "Enabled"
      },
      {
        "name": "Jane Smith's mobile",
        "countryCode": "1",
        "phoneNumber": "0987654321",
        "status": "Enabled"
      }
    ],
    "webhookReceivers": [
      {
        "name": "Sample webhook 1",
        "serviceUri": "http://www.example.com/webhook1",
        "useCommonAlertSchema": true
      },
      {
        "name": "Sample webhook 2",
        "serviceUri": "http://www.example.com/webhook2",
        "useCommonAlertSchema": true,
        "useAadAuth": true,
        "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808",
        "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
        "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
      }
    ],
    "itsmReceivers": [
      {
        "name": "Sample itsm",
        "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
        "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
        "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
        "region": "westcentralus"
      }
    ],
    "azureAppPushReceivers": [
      {
        "name": "Sample azureAppPush",
        "emailAddress": "johndoe@email.com"
      }
    ],
    "automationRunbookReceivers": [
      {
        "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
        "runbookName": "Sample runbook",
        "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
        "isGlobalRunbook": false,
        "name": "testRunbook",
        "serviceUri": "<serviceUri>",
        "useCommonAlertSchema": true
      }
    ],
    "voiceReceivers": [
      {
        "name": "Sample voice",
        "countryCode": "1",
        "phoneNumber": "1234567890"
      }
    ],
    "logicAppReceivers": [
      {
        "name": "Sample logicApp",
        "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
        "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
        "useCommonAlertSchema": false
      }
    ],
    "azureFunctionReceivers": [
      {
        "name": "Sample azureFunction",
        "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
        "functionName": "HttpTriggerCSharp1",
        "httpTriggerUrl": "<httpTriggerUrl>",
        "useCommonAlertSchema": true
      }
    ],
    "armRoleReceivers": [
      {
        "name": "Sample armRole",
        "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
        "useCommonAlertSchema": true
      }
    ],
    "eventHubReceivers": [
      {
        "name": "Sample eventHub",
        "eventHubNameSpace": "testEventHubNameSpace",
        "eventHubName": "testEventHub",
        "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
        "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84",
        "useCommonAlertSchema": false
      }
    ]
  }
}
{
  "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
  "type": "Microsoft.Insights/ActionGroups",
  "name": "SampleActionGroup",
  "location": "Global",
  "tags": {},
  "properties": {
    "groupShortName": "sample",
    "enabled": true,
    "emailReceivers": [
      {
        "name": "John Doe's email",
        "emailAddress": "johndoe@email.com",
        "status": "Enabled",
        "useCommonAlertSchema": false
      },
      {
        "name": "Jane Smith's email",
        "emailAddress": "janesmith@email.com",
        "status": "Enabled",
        "useCommonAlertSchema": true
      }
    ],
    "smsReceivers": [
      {
        "name": "John Doe's mobile",
        "countryCode": "1",
        "phoneNumber": "1234567890",
        "status": "Enabled"
      },
      {
        "name": "Jane Smith's mobile",
        "countryCode": "1",
        "phoneNumber": "0987654321",
        "status": "Enabled"
      }
    ],
    "webhookReceivers": [
      {
        "name": "Sample webhook 1",
        "serviceUri": "http://www.example.com/webhook1",
        "useCommonAlertSchema": true
      },
      {
        "name": "Sample webhook 2",
        "serviceUri": "http://www.example.com/webhook2",
        "useCommonAlertSchema": true,
        "useAadAuth": true,
        "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808",
        "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
        "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
      }
    ],
    "itsmReceivers": [
      {
        "name": "Sample itsm",
        "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
        "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
        "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
        "region": "westcentralus"
      }
    ],
    "azureAppPushReceivers": [
      {
        "name": "Sample azureAppPush",
        "emailAddress": "johndoe@email.com"
      }
    ],
    "automationRunbookReceivers": [
      {
        "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
        "runbookName": "Sample runbook",
        "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
        "isGlobalRunbook": false,
        "name": "testRunbook",
        "serviceUri": "<serviceUri>",
        "useCommonAlertSchema": true
      }
    ],
    "voiceReceivers": [
      {
        "name": "Sample voice",
        "countryCode": "1",
        "phoneNumber": "1234567890"
      }
    ],
    "logicAppReceivers": [
      {
        "name": "Sample logicApp",
        "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
        "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
        "useCommonAlertSchema": false
      }
    ],
    "azureFunctionReceivers": [
      {
        "name": "Sample azureFunction",
        "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
        "functionName": "HttpTriggerCSharp1",
        "httpTriggerUrl": "<httpTriggerUrl>",
        "useCommonAlertSchema": true
      }
    ],
    "armRoleReceivers": [
      {
        "name": "Sample armRole",
        "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
        "useCommonAlertSchema": true
      }
    ],
    "eventHubReceivers": [
      {
        "name": "Sample eventHub",
        "eventHubNameSpace": "testEventHubNameSpace",
        "eventHubName": "testEventHub",
        "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
        "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84",
        "useCommonAlertSchema": false
      }
    ]
  }
}

定義

名稱 Description
ActionGroupResource

動作群組資源。

ArmRoleReceiver

arm 角色接收者。

AutomationRunbookReceiver

Azure 自動化 Runbook 通知接收者。

AzureAppPushReceiver

Azure 行動應用程式推播通知接收者。

AzureFunctionReceiver

Azure 函式接收者。

EmailReceiver

電子郵件接收者。

ErrorResponse

描述錯誤回應的格式。

EventHubReceiver

事件中樞接收者。

ItsmReceiver

Itsm 接收者。

LogicAppReceiver

邏輯應用程式接收者。

ReceiverStatus

指出接收者的狀態。 未啟用的接收者將不會收到任何通訊。

SmsReceiver

SMS 接收者。

VoiceReceiver

語音接收器。

WebhookReceiver

Webhook 接收者。

ActionGroupResource

動作群組資源。

名稱 類型 預設值 Description
id

string

Azure 資源標識碼

location

string

資源位置

name

string

Azure 資源名稱

properties.armRoleReceivers

ArmRoleReceiver[]

屬於此動作群組一部分的ARM角色接收者清單。 角色是 Azure RBAC 角色,僅支援內建角色。

properties.automationRunbookReceivers

AutomationRunbookReceiver[]

屬於此動作群組一部分的 AutomationRunbook 接收者清單。

properties.azureAppPushReceivers

AzureAppPushReceiver[]

屬於此動作群組一部分的 AzureAppPush 接收者清單。

properties.azureFunctionReceivers

AzureFunctionReceiver[]

屬於此動作群組一部分的 Azure 函式接收者清單。

properties.emailReceivers

EmailReceiver[]

屬於此動作群組一部分的電子郵件接收者清單。

properties.enabled

boolean

True

指出是否啟用此動作群組。 如果未啟用動作群組,則其接收者都不會收到通訊。

properties.eventHubReceivers

EventHubReceiver[]

屬於此動作群組一部分的事件中樞接收者清單。

properties.groupShortName

string

動作群組的簡短名稱。 這將會用於SMS訊息中。

properties.itsmReceivers

ItsmReceiver[]

屬於此動作群組一部分的 ITSM 接收者清單。

properties.logicAppReceivers

LogicAppReceiver[]

屬於此動作群組一部分的邏輯應用程式接收者清單。

properties.smsReceivers

SmsReceiver[]

屬於此動作群組一部分的SMS接收者清單。

properties.voiceReceivers

VoiceReceiver[]

屬於此動作群組一部分的語音接收者清單。

properties.webhookReceivers

WebhookReceiver[]

屬於此動作群組一部分的 Webhook 接收者清單。

tags

object

資源標籤

type

string

Azure 資源類型

ArmRoleReceiver

arm 角色接收者。

名稱 類型 預設值 Description
name

string

arm 角色接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

roleId

string

arm 角色標識碼。

useCommonAlertSchema

boolean

False

指出是否要使用一般警示架構。

AutomationRunbookReceiver

Azure 自動化 Runbook 通知接收者。

名稱 類型 預設值 Description
automationAccountId

string

保留此 Runbook 並向 Azure 資源驗證的 Azure 自動化帳戶標識碼。

isGlobalRunbook

boolean

指出這個實例是否為全域 Runbook。

name

string

表示 Webhook 的名稱。

runbookName

string

此 Runbook 的名稱。

serviceUri

string

應該傳送 Webhook 的 URI。

useCommonAlertSchema

boolean

False

指出是否要使用一般警示架構。

webhookResourceId

string

連結至此 Runbook 的 Webhook 資源識別碼。

AzureAppPushReceiver

Azure 行動應用程式推播通知接收者。

名稱 類型 Description
emailAddress

string

為 Azure 行動應用程式註冊的電子郵件位址。

name

string

Azure 行動應用程式推送接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

AzureFunctionReceiver

Azure 函式接收者。

名稱 類型 預設值 Description
functionAppResourceId

string

函式應用程式的 Azure 資源識別碼。

functionName

string

函式應用程式中的函式名稱。

httpTriggerUrl

string

HTTP 觸發程式 URL,其中 HTTP 要求傳送至 。

name

string

azure 函式接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

useCommonAlertSchema

boolean

False

指出是否要使用一般警示架構。

EmailReceiver

電子郵件接收者。

名稱 類型 預設值 Description
emailAddress

string

此接收者的電子郵件位址。

name

string

電子郵件接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

status

ReceiverStatus

電子郵件的接收者狀態。

useCommonAlertSchema

boolean

False

指出是否要使用一般警示架構。

ErrorResponse

描述錯誤回應的格式。

名稱 類型 Description
code

string

錯誤碼

message

string

指出作業失敗原因的錯誤訊息。

EventHubReceiver

事件中樞接收者。

名稱 類型 預設值 Description
eventHubName

string

特定事件中樞佇列的名稱

eventHubNameSpace

string

事件中樞命名空間

name

string

事件中樞接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

subscriptionId

string

包含此事件中樞的訂用帳戶標識碼

tenantId

string

包含此事件中樞之訂用帳戶的租用戶標識碼

useCommonAlertSchema

boolean

False

指出是否要使用一般警示架構。

ItsmReceiver

Itsm 接收者。

名稱 類型 Description
connectionId

string

在上述工作區中定義的多個之間唯一識別 ITSM 連線。

name

string

Itsm 接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

region

string

工作區所在的區域。 支援的值:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'

ticketConfiguration

string

ITSM 動作組態的 JSON Blob。 CreateMultipleWorkItems 選項也會是此 Blob 的一部分。

workspaceId

string

OMS LA 實例標識碼。

LogicAppReceiver

邏輯應用程式接收者。

名稱 類型 預設值 Description
callbackUrl

string

HTTP 要求傳送至的回呼 URL。

name

string

邏輯應用程式接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

resourceId

string

邏輯應用程式接收者的 Azure 資源識別碼。

useCommonAlertSchema

boolean

False

指出是否要使用一般警示架構。

ReceiverStatus

指出接收者的狀態。 未啟用的接收者將不會收到任何通訊。

名稱 類型 Description
Disabled

string

Enabled

string

NotSpecified

string

SmsReceiver

SMS 接收者。

名稱 類型 Description
countryCode

string

SMS 接收者的國家/地區代碼。

name

string

SMS 接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

phoneNumber

string

SMS 接收者的電話號碼。

status

ReceiverStatus

接收者的狀態。

VoiceReceiver

語音接收器。

名稱 類型 Description
countryCode

string

語音接收器的國家/地區代碼。

name

string

語音接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

phoneNumber

string

語音接收器的電話號碼。

WebhookReceiver

Webhook 接收者。

名稱 類型 預設值 Description
identifierUri

string

指出 aad 驗證的識別碼 URI。

name

string

Webhook 接收者的名稱。 在動作群組內的所有接收者中,名稱必須是唯一的。

objectId

string

指出 aad 驗證的 Webhook 應用程式物件識別碼。

serviceUri

string

應該傳送 Webhook 的 URI。

tenantId

string

指出 aad 驗證的租用戶標識碼。

useAadAuth

boolean

False

指出是否使用 AAD 驗證。

useCommonAlertSchema

boolean

False

指出是否要使用一般警示架構。