Interface DirectLinesClient
public interface DirectLinesClient
An instance of this class provides access to all the operations defined in DirectLinesClient.
-
Method Summary
Modifier and TypeMethodDescriptionregenerateKeys(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<BotChannelInner> 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 Details
-
regenerateKeysWithResponse
com.azure.core.http.rest.Response<BotChannelInner> 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.
-
regenerateKeys
BotChannelInner 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.
-