ArmMonitorModelFactory.MonitorWebhookReceiver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A webhook receiver.
public static Azure.ResourceManager.Monitor.Models.MonitorWebhookReceiver MonitorWebhookReceiver(string name = default, Uri serviceUri = default, bool? useCommonAlertSchema = default, bool? useAadAuth = default, string objectId = default, Uri identifierUri = default, Guid? tenantId = default, string managedIdentity = default);
static member MonitorWebhookReceiver : string * Uri * Nullable<bool> * Nullable<bool> * string * Uri * Nullable<Guid> * string -> Azure.ResourceManager.Monitor.Models.MonitorWebhookReceiver
Public Shared Function MonitorWebhookReceiver (Optional name As String = Nothing, Optional serviceUri As Uri = Nothing, Optional useCommonAlertSchema As Nullable(Of Boolean) = Nothing, Optional useAadAuth As Nullable(Of Boolean) = Nothing, Optional objectId As String = Nothing, Optional identifierUri As Uri = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional managedIdentity As String = Nothing) As MonitorWebhookReceiver
Parameters
- name
- String
The name of the webhook receiver. Names must be unique across all receivers within an action group.
- serviceUri
- Uri
The URI where webhooks should be sent.
- objectId
- String
Indicates the webhook app object Id for aad auth.
- identifierUri
- Uri
Indicates the identifier uri for aad auth.
- managedIdentity
- String
The principal id of the managed identity. The value can be "None", "SystemAssigned".
Returns
A new MonitorWebhookReceiver instance for mocking.