com.azure.resourcemanager.healthbot.fluent.BotsClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-healthbot Show documentation
Show all versions of azure-resourcemanager-healthbot Show documentation
This package contains Microsoft Azure SDK for Healthbot Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft Healthcare Bot is a cloud platform that empowers developers in Healthcare organizations to build and deploy their compliant, AI-powered virtual health assistants and health bots, that help them improve processes and reduce costs. Package tag package-2020-12-08.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.healthbot.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.healthbot.fluent.models.HealthBotInner;
import com.azure.resourcemanager.healthbot.models.HealthBotUpdateParameters;
/**
* An instance of this class provides access to all the operations defined in BotsClient.
*/
public interface BotsClient {
/**
* Create a new HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @param parameters The parameters to provide for the created bot.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of healthBot resource definition.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, HealthBotInner> beginCreate(String resourceGroupName, String botName,
HealthBotInner parameters);
/**
* Create a new HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @param parameters The parameters to provide for the created bot.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of healthBot resource definition.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, HealthBotInner> beginCreate(String resourceGroupName, String botName,
HealthBotInner parameters, Context context);
/**
* Create a new HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @param parameters The parameters to provide for the created bot.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return healthBot resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
HealthBotInner create(String resourceGroupName, String botName, HealthBotInner parameters);
/**
* Create a new HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @param parameters The parameters to provide for the created bot.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return healthBot resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
HealthBotInner create(String resourceGroupName, String botName, HealthBotInner parameters, Context context);
/**
* Get a HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a HealthBot along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(String resourceGroupName, String botName, Context context);
/**
* Get a HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a HealthBot.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
HealthBotInner getByResourceGroup(String resourceGroupName, String botName);
/**
* Patch a HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @param parameters The parameters to provide for the required bot.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return healthBot resource definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response updateWithResponse(String resourceGroupName, String botName,
HealthBotUpdateParameters parameters, Context context);
/**
* Patch a HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @param parameters The parameters to provide for the required bot.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return healthBot resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
HealthBotInner update(String resourceGroupName, String botName, HealthBotUpdateParameters parameters);
/**
* Delete a HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String botName);
/**
* Delete a HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String botName, Context context);
/**
* Delete a HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String botName);
/**
* Delete a HealthBot.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param botName The name of the Bot resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String botName, Context context);
/**
* Returns all the resources of a particular type belonging to a resource group.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of Healthbot operation response as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
* Returns all the resources of a particular type belonging to a resource group.
*
* @param resourceGroupName The name of the Bot resource group in the user subscription.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of Healthbot operation response as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
* Returns all the resources of a particular type belonging to a subscription.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of Healthbot operation response as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* Returns all the resources of a particular type belonging to a subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of Healthbot operation response as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy