Interface DirectLines
-
public interface DirectLines
Resource collection API of DirectLines.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BotChannel
regenerateKeys(String resourceGroupName, String resourceName, RegenerateKeysChannelName channelName, SiteInfo parameters)
Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource.com.azure.core.http.rest.Response<BotChannel>
regenerateKeysWithResponse(String resourceGroupName, String resourceName, RegenerateKeysChannelName channelName, SiteInfo parameters, com.azure.core.util.Context context)
Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource.
-
-
-
Method Detail
-
regenerateKeys
BotChannel regenerateKeys(String resourceGroupName, String resourceName, RegenerateKeysChannelName channelName, SiteInfo parameters)
Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource.- Parameters:
resourceGroupName
- The name of the Bot resource group in the user subscription.resourceName
- The name of the Bot resource.channelName
- The name of the Channel resource for which keys are to be regenerated.parameters
- The parameters to provide for the created bot.- Returns:
- bot channel resource definition.
- Throws:
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.
-
regenerateKeysWithResponse
com.azure.core.http.rest.Response<BotChannel> regenerateKeysWithResponse(String resourceGroupName, String resourceName, RegenerateKeysChannelName channelName, SiteInfo parameters, com.azure.core.util.Context context)
Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource.- Parameters:
resourceGroupName
- The name of the Bot resource group in the user subscription.resourceName
- The name of the Bot resource.channelName
- The name of the Channel resource for which keys are to be regenerated.parameters
- The parameters to provide for the created bot.context
- The context to associate with this operation.- Returns:
- bot channel resource definition along with
Response
. - Throws:
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.
-
-