NotificationChannel Interface
public interface NotificationChannel
An immutable client-side representation of NotificationChannel.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Offset |
createdDate()
Gets the created |
abstract String |
description()
Gets the description property: Description of notification. |
abstract String |
emailRecipient()
Gets the email |
abstract List<Event> |
events()
Gets the events property: The list of event for which this notification is enabled. |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Notification |
innerModel()
Gets the inner com. |
abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract String |
notificationLocale()
Gets the notification |
abstract void |
notify(NotifyParameters notifyParameters)
Send notification to provided channel. |
abstract Response<Void> |
notifyWithResponse(NotifyParameters notifyParameters, Context context)
Send notification to provided channel. |
abstract String |
provisioningState()
Gets the provisioning |
abstract
Notification |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Notification |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract Region |
region()
Gets the region of the resource. |
abstract String |
regionName()
Gets the name of the resource region. |
abstract String |
resourceGroupName()
Gets the name of the resource group. |
abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract String |
uniqueIdentifier()
Gets the unique |
abstract Update |
update()
Begins update for the Notification |
abstract String |
webhookUrl()
Gets the webhook |
Method Details
createdDate
public abstract OffsetDateTime createdDate()
Gets the createdDate property: The creation date of the notification channel.
Returns:
description
public abstract String description()
Gets the description property: Description of notification.
Returns:
emailRecipient
public abstract String emailRecipient()
Gets the emailRecipient property: The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
Returns:
events
public abstract List
Gets the events property: The list of event for which this notification is enabled.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract NotificationChannelInner innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.NotificationChannelInner object.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
notificationLocale
public abstract String notificationLocale()
Gets the notificationLocale property: The locale to use when sending a notification (fallback for unsupported languages is EN).
Returns:
notify
public abstract void notify(NotifyParameters notifyParameters)
Send notification to provided channel.
Parameters:
notifyWithResponse
public abstract Response
Send notification to provided channel.
Parameters:
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
Returns:
refresh
public abstract NotificationChannel refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract NotificationChannel refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
tags
public abstract Map
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
uniqueIdentifier
public abstract String uniqueIdentifier()
Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
update
public abstract NotificationChannel.Update update()
Begins update for the NotificationChannel resource.
Returns:
webhookUrl
public abstract String webhookUrl()
Gets the webhookUrl property: The webhook URL to send notifications to.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for