Share via


BotConnections Interface

public interface BotConnections

Resource collection API of BotConnections.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new ConnectionSetting resource.

abstract void delete(String resourceGroupName, String resourceName, String connectionName)

Deletes a Connection Setting registration for a Bot Service.

abstract void deleteById(String id)

Deletes a Connection Setting registration for a Bot Service.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes a Connection Setting registration for a Bot Service.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, String connectionName, Context context)

Deletes a Connection Setting registration for a Bot Service.

abstract ConnectionSetting get(String resourceGroupName, String resourceName, String connectionName)

Get a Connection Setting registration for a Bot Service.

abstract ConnectionSetting getById(String id)

Get a Connection Setting registration for a Bot Service.

abstract Response<ConnectionSetting> getByIdWithResponse(String id, Context context)

Get a Connection Setting registration for a Bot Service.

abstract Response<ConnectionSetting> getWithResponse(String resourceGroupName, String resourceName, String connectionName, Context context)

Get a Connection Setting registration for a Bot Service.

abstract PagedIterable<ConnectionSetting> listByBotService(String resourceGroupName, String resourceName)

Returns all the Connection Settings registered to a particular BotService resource.

abstract PagedIterable<ConnectionSetting> listByBotService(String resourceGroupName, String resourceName, Context context)

Returns all the Connection Settings registered to a particular BotService resource.

abstract ServiceProviderResponseList listServiceProviders()

Lists the available Service Providers for creating Connection Settings.

abstract Response<ServiceProviderResponseList> listServiceProvidersWithResponse(Context context)

Lists the available Service Providers for creating Connection Settings.

abstract ConnectionSetting listWithSecrets(String resourceGroupName, String resourceName, String connectionName)

Get a Connection Setting registration for a Bot Service.

abstract Response<ConnectionSetting> listWithSecretsWithResponse(String resourceGroupName, String resourceName, String connectionName, Context context)

Get a Connection Setting registration for a Bot Service.

Method Details

define

public abstract ConnectionSetting.DefinitionStages.Blank define(String name)

Begins definition for a new ConnectionSetting resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ConnectionSetting definition.

delete

public abstract void delete(String resourceGroupName, String resourceName, String connectionName)

Deletes a Connection Setting registration for a Bot Service.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
connectionName - The name of the Bot Service Connection Setting resource.

deleteById

public abstract void deleteById(String id)

Deletes a Connection Setting registration for a Bot Service.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes a Connection Setting registration for a Bot Service.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, String connectionName, Context context)

Deletes a Connection Setting registration for a Bot Service.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
connectionName - The name of the Bot Service Connection Setting resource.
context - The context to associate with this operation.

Returns:

get

public abstract ConnectionSetting get(String resourceGroupName, String resourceName, String connectionName)

Get a Connection Setting registration for a Bot Service.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
connectionName - The name of the Bot Service Connection Setting resource.

Returns:

a Connection Setting registration for a Bot Service.

getById

public abstract ConnectionSetting getById(String id)

Get a Connection Setting registration for a Bot Service.

Parameters:

id - the resource ID.

Returns:

a Connection Setting registration for a Bot Service along with Response<T>.

getByIdWithResponse

public abstract Response<ConnectionSetting> getByIdWithResponse(String id, Context context)

Get a Connection Setting registration for a Bot Service.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a Connection Setting registration for a Bot Service along with Response<T>.

getWithResponse

public abstract Response<ConnectionSetting> getWithResponse(String resourceGroupName, String resourceName, String connectionName, Context context)

Get a Connection Setting registration for a Bot Service.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
connectionName - The name of the Bot Service Connection Setting resource.
context - The context to associate with this operation.

Returns:

a Connection Setting registration for a Bot Service along with Response<T>.

listByBotService

public abstract PagedIterable<ConnectionSetting> listByBotService(String resourceGroupName, String resourceName)

Returns all the Connection Settings registered to a particular BotService resource.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.

Returns:

the list of bot service connection settings response as paginated response with PagedIterable<T>.

listByBotService

public abstract PagedIterable<ConnectionSetting> listByBotService(String resourceGroupName, String resourceName, Context context)

Returns all the Connection Settings registered to a particular BotService resource.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
context - The context to associate with this operation.

Returns:

the list of bot service connection settings response as paginated response with PagedIterable<T>.

listServiceProviders

public abstract ServiceProviderResponseList listServiceProviders()

Lists the available Service Providers for creating Connection Settings.

Returns:

the list of bot service providers response.

listServiceProvidersWithResponse

public abstract Response<ServiceProviderResponseList> listServiceProvidersWithResponse(Context context)

Lists the available Service Providers for creating Connection Settings.

Parameters:

context - The context to associate with this operation.

Returns:

the list of bot service providers response along with Response<T>.

listWithSecrets

public abstract ConnectionSetting listWithSecrets(String resourceGroupName, String resourceName, String connectionName)

Get a Connection Setting registration for a Bot Service.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
connectionName - The name of the Bot Service Connection Setting resource.

Returns:

a Connection Setting registration for a Bot Service.

listWithSecretsWithResponse

public abstract Response<ConnectionSetting> listWithSecretsWithResponse(String resourceGroupName, String resourceName, String connectionName, Context context)

Get a Connection Setting registration for a Bot Service.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
connectionName - The name of the Bot Service Connection Setting resource.
context - The context to associate with this operation.

Returns:

a Connection Setting registration for a Bot Service along with Response<T>.

Applies to