public interface NotificationChannelsClient
Modifier and Type | Method and Description |
---|---|
NotificationChannelInner |
createOrUpdate(String resourceGroupName,
String labName,
String name,
NotificationChannelInner notificationChannel)
Create or replace an existing notification channel.
|
com.azure.core.http.rest.Response<NotificationChannelInner> |
createOrUpdateWithResponse(String resourceGroupName,
String labName,
String name,
NotificationChannelInner notificationChannel,
com.azure.core.util.Context context)
Create or replace an existing notification channel.
|
void |
delete(String resourceGroupName,
String labName,
String name)
Delete notification channel.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String labName,
String name,
com.azure.core.util.Context context)
Delete notification channel.
|
NotificationChannelInner |
get(String resourceGroupName,
String labName,
String name)
Get notification channel.
|
com.azure.core.http.rest.Response<NotificationChannelInner> |
getWithResponse(String resourceGroupName,
String labName,
String name,
String expand,
com.azure.core.util.Context context)
Get notification channel.
|
com.azure.core.http.rest.PagedIterable<NotificationChannelInner> |
list(String resourceGroupName,
String labName)
List notification channels in a given lab.
|
com.azure.core.http.rest.PagedIterable<NotificationChannelInner> |
list(String resourceGroupName,
String labName,
String expand,
String filter,
Integer top,
String orderby,
com.azure.core.util.Context context)
List notification channels in a given lab.
|
void |
notify(String resourceGroupName,
String labName,
String name,
NotifyParameters notifyParameters)
Send notification to provided channel.
|
com.azure.core.http.rest.Response<Void> |
notifyWithResponse(String resourceGroupName,
String labName,
String name,
NotifyParameters notifyParameters,
com.azure.core.util.Context context)
Send notification to provided channel.
|
NotificationChannelInner |
update(String resourceGroupName,
String labName,
String name,
NotificationChannelFragment notificationChannel)
Allows modifying tags of notification channels.
|
com.azure.core.http.rest.Response<NotificationChannelInner> |
updateWithResponse(String resourceGroupName,
String labName,
String name,
NotificationChannelFragment notificationChannel,
com.azure.core.util.Context context)
Allows modifying tags of notification channels.
|
com.azure.core.http.rest.PagedIterable<NotificationChannelInner> list(String resourceGroupName, String labName)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.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.PagedIterable<NotificationChannelInner> list(String resourceGroupName, String labName, String expand, String filter, Integer top, String orderby, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.expand
- Specify the $expand query. Example: 'properties($select=webHookUrl)'.filter
- The filter to apply to the operation. Example: '$filter=contains(name,'myName').top
- The maximum number of resources to return from the operation. Example: '$top=10'.orderby
- The ordering expression for the results, using OData notation. Example: '$orderby=name desc'.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.NotificationChannelInner get(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.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<NotificationChannelInner> getWithResponse(String resourceGroupName, String labName, String name, String expand, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.expand
- Specify the $expand query. Example: 'properties($select=webHookUrl)'.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.NotificationChannelInner createOrUpdate(String resourceGroupName, String labName, String name, NotificationChannelInner notificationChannel)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.notificationChannel
- 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<NotificationChannelInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String name, NotificationChannelInner notificationChannel, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.notificationChannel
- 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.void delete(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.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> deleteWithResponse(String resourceGroupName, String labName, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.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.NotificationChannelInner update(String resourceGroupName, String labName, String name, NotificationChannelFragment notificationChannel)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.notificationChannel
- 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<NotificationChannelInner> updateWithResponse(String resourceGroupName, String labName, String name, NotificationChannelFragment notificationChannel, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.notificationChannel
- 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.void notify(String resourceGroupName, String labName, String name, NotifyParameters notifyParameters)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.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(String resourceGroupName, String labName, String name, NotifyParameters notifyParameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the notification channel.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.