NotificationChannel Interface

public interface NotificationChannel

An immutable client-side representation of NotificationChannel.

Method Summary

Modifier and Type Method and Description
abstract OffsetDateTime createdDate()

Gets the createdDate property: The creation date of the notification channel.

abstract String description()

Gets the description property: Description of notification.

abstract String emailRecipient()

Gets the emailRecipient property: The email recipient to send notifications to (can be a list of semi-colon separated email addresses).

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 NotificationChannelInner innerModel()

Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.NotificationChannelInner object.

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 notificationLocale property: The locale to use when sending a notification (fallback for unsupported languages is EN).

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 provisioningState property: The provisioning status of the resource.

abstract NotificationChannel refresh()

Refreshes the resource to sync with Azure.

abstract NotificationChannel 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 uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

abstract Update update()

Begins update for the NotificationChannel resource.

abstract String webhookUrl()

Gets the webhookUrl property: The webhook URL to send notifications to.

Method Details

createdDate

public abstract OffsetDateTime createdDate()

Gets the createdDate property: The creation date of the notification channel.

Returns:

the createdDate value.

description

public abstract String description()

Gets the description property: Description of notification.

Returns:

the description value.

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:

the emailRecipient value.

events

public abstract List events()

Gets the events property: The list of event for which this notification is enabled.

Returns:

the events value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract NotificationChannelInner innerModel()

Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.NotificationChannelInner object.

Returns:

the inner object.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

notificationLocale

public abstract String notificationLocale()

Gets the notificationLocale property: The locale to use when sending a notification (fallback for unsupported languages is EN).

Returns:

the notificationLocale value.

notify

public abstract void notify(NotifyParameters notifyParameters)

Send notification to provided channel.

Parameters:

notifyParameters - Properties for generating a Notification.

notifyWithResponse

public abstract Response notifyWithResponse(NotifyParameters notifyParameters, Context context)

Send notification to provided channel.

Parameters:

notifyParameters - Properties for generating a Notification.
context - The context to associate with this operation.

Returns:

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: The provisioning status of the resource.

Returns:

the provisioningState value.

refresh

public abstract NotificationChannel refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract NotificationChannel refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

uniqueIdentifier

public abstract String uniqueIdentifier()

Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

Returns:

the uniqueIdentifier value.

update

public abstract NotificationChannel.Update update()

Begins update for the NotificationChannel resource.

Returns:

the stage of resource update.

webhookUrl

public abstract String webhookUrl()

Gets the webhookUrl property: The webhook URL to send notifications to.

Returns:

the webhookUrl value.

Applies to