public interface NotificationChannel
Modifier and Type | Interface and Description |
---|---|
static interface |
NotificationChannel.Definition
The entirety of the NotificationChannel definition.
|
static interface |
NotificationChannel.DefinitionStages
The NotificationChannel definition stages.
|
static interface |
NotificationChannel.Update
The template for NotificationChannel update.
|
static interface |
NotificationChannel.UpdateStages
The NotificationChannel update stages.
|
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
createdDate()
Gets the createdDate property: The creation date of the notification channel.
|
String |
description()
Gets the description property: Description of notification.
|
String |
emailRecipient()
Gets the emailRecipient property: The email recipient to send notifications to (can be a list of semi-colon
separated email addresses).
|
List<Event> |
events()
Gets the events property: The list of event for which this notification is enabled.
|
String |
id()
Gets the id property: Fully qualified resource Id for the resource.
|
NotificationChannelInner |
innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.NotificationChannelInner object.
|
String |
location()
Gets the location property: The geo-location where the resource lives.
|
String |
name()
Gets the name property: The name of the resource.
|
String |
notificationLocale()
Gets the notificationLocale property: The locale to use when sending a notification (fallback for unsupported
languages is EN).
|
void |
notify(NotifyParameters notifyParameters)
Send notification to provided channel.
|
com.azure.core.http.rest.Response<Void> |
notifyWithResponse(NotifyParameters notifyParameters,
com.azure.core.util.Context context)
Send notification to provided channel.
|
String |
provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
|
NotificationChannel |
refresh()
Refreshes the resource to sync with Azure.
|
NotificationChannel |
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
|
com.azure.core.management.Region |
region()
Gets the region of the resource.
|
String |
regionName()
Gets the name of the resource region.
|
Map<String,String> |
tags()
Gets the tags property: Resource tags.
|
String |
type()
Gets the type property: The type of the resource.
|
String |
uniqueIdentifier()
Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
NotificationChannel.Update |
update()
Begins update for the NotificationChannel resource.
|
String |
webhookUrl()
Gets the webhookUrl property: The webhook URL to send notifications to.
|
String id()
String name()
String type()
String location()
String webhookUrl()
String emailRecipient()
String notificationLocale()
String description()
List<Event> events()
OffsetDateTime createdDate()
String provisioningState()
String uniqueIdentifier()
com.azure.core.management.Region region()
String regionName()
NotificationChannelInner innerModel()
NotificationChannel.Update update()
NotificationChannel refresh()
NotificationChannel refresh(com.azure.core.util.Context context)
context
- The context to associate with this operation.void notify(NotifyParameters notifyParameters)
notifyParameters
- Properties for generating a Notification.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> notifyWithResponse(NotifyParameters notifyParameters, com.azure.core.util.Context context)
notifyParameters
- Properties for generating a Notification.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.