Class WebhookReceiver
java.lang.Object
com.microsoft.azure.management.monitor.WebhookReceiver
A webhook receiver.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet indicates the identifier uri for aad auth.name()
Get the name of the webhook receiver.objectId()
Get indicates the webhook app object Id for aad auth.Get the URI where webhooks should be sent.tenantId()
Get indicates the tenant id for aad auth.Get indicates whether or not use AAD authentication.boolean
Get indicates whether to use common alert schema.withIdentifierUri
(String identifierUri) Set indicates the identifier uri for aad auth.Set the name of the webhook receiver.withObjectId
(String objectId) Set indicates the webhook app object Id for aad auth.withServiceUri
(String serviceUri) Set the URI where webhooks should be sent.withTenantId
(String tenantId) Set indicates the tenant id for aad auth.withUseAadAuth
(Boolean useAadAuth) Set indicates whether or not use AAD authentication.withUseCommonAlertSchema
(boolean useCommonAlertSchema) Set indicates whether to use common alert schema.
-
Constructor Details
-
WebhookReceiver
public WebhookReceiver()
-
-
Method Details
-
name
Get the name of the webhook receiver. Names must be unique across all receivers within an action group.- Returns:
- the name value
-
withName
Set the name of the webhook receiver. Names must be unique across all receivers within an action group.- Parameters:
name
- the name value to set- Returns:
- the WebhookReceiver object itself.
-
serviceUri
Get the URI where webhooks should be sent.- Returns:
- the serviceUri value
-
withServiceUri
Set the URI where webhooks should be sent.- Parameters:
serviceUri
- the serviceUri value to set- Returns:
- the WebhookReceiver object itself.
-
useCommonAlertSchema
public boolean useCommonAlertSchema()Get indicates whether to use common alert schema.- Returns:
- the useCommonAlertSchema value
-
withUseCommonAlertSchema
Set indicates whether to use common alert schema.- Parameters:
useCommonAlertSchema
- the useCommonAlertSchema value to set- Returns:
- the WebhookReceiver object itself.
-
useAadAuth
Get indicates whether or not use AAD authentication.- Returns:
- the useAadAuth value
-
withUseAadAuth
Set indicates whether or not use AAD authentication.- Parameters:
useAadAuth
- the useAadAuth value to set- Returns:
- the WebhookReceiver object itself.
-
objectId
Get indicates the webhook app object Id for aad auth.- Returns:
- the objectId value
-
withObjectId
Set indicates the webhook app object Id for aad auth.- Parameters:
objectId
- the objectId value to set- Returns:
- the WebhookReceiver object itself.
-
identifierUri
Get indicates the identifier uri for aad auth.- Returns:
- the identifierUri value
-
withIdentifierUri
Set indicates the identifier uri for aad auth.- Parameters:
identifierUri
- the identifierUri value to set- Returns:
- the WebhookReceiver object itself.
-
tenantId
Get indicates the tenant id for aad auth.- Returns:
- the tenantId value
-
withTenantId
Set indicates the tenant id for aad auth.- Parameters:
tenantId
- the tenantId value to set- Returns:
- the WebhookReceiver object itself.
-