Interface IntelligencePacksClient
public interface IntelligencePacksClient
An instance of this class provides access to all the operations defined in IntelligencePacksClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDisables an intelligence pack for a given workspace.com.azure.core.http.rest.Response<Void>disableWithResponse(String resourceGroupName, String workspaceName, String intelligencePackName, com.azure.core.util.Context context) Disables an intelligence pack for a given workspace.voidEnables an intelligence pack for a given workspace.com.azure.core.http.rest.Response<Void>enableWithResponse(String resourceGroupName, String workspaceName, String intelligencePackName, com.azure.core.util.Context context) Enables an intelligence pack for a given workspace.Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.com.azure.core.http.rest.Response<List<IntelligencePackInner>>listWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.
-
Method Details
-
disable
Disables an intelligence pack for a given workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.intelligencePackName- The name of the intelligence pack to be disabled.- 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.
-
disableWithResponse
com.azure.core.http.rest.Response<Void> disableWithResponse(String resourceGroupName, String workspaceName, String intelligencePackName, com.azure.core.util.Context context) Disables an intelligence pack for a given workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.intelligencePackName- The name of the intelligence pack to be disabled.context- The context to associate with this operation.- Returns:
- the
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.
-
enable
Enables an intelligence pack for a given workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.intelligencePackName- The name of the intelligence pack to be enabled.- 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.
-
enableWithResponse
com.azure.core.http.rest.Response<Void> enableWithResponse(String resourceGroupName, String workspaceName, String intelligencePackName, com.azure.core.util.Context context) Enables an intelligence pack for a given workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.intelligencePackName- The name of the intelligence pack to be enabled.context- The context to associate with this operation.- Returns:
- the
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.
-
list
Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.- Returns:
- array of IntelligencePack.
- 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.
-
listWithResponse
com.azure.core.http.rest.Response<List<IntelligencePackInner>> listWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.context- The context to associate with this operation.- Returns:
- array of IntelligencePack 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.
-