Interface ProactiveDetectionConfigurations
public interface ProactiveDetectionConfigurations
Resource collection API of ProactiveDetectionConfigurations.
-
Method Summary
Modifier and TypeMethodDescriptionGet the ProactiveDetection configuration for this configuration id.com.azure.core.http.rest.Response<ApplicationInsightsComponentProactiveDetectionConfiguration>
getWithResponse
(String resourceGroupName, String resourceName, String configurationId, com.azure.core.util.Context context) Get the ProactiveDetection configuration for this configuration id.Gets a list of ProactiveDetection configurations of an Application Insights component.com.azure.core.http.rest.Response<List<ApplicationInsightsComponentProactiveDetectionConfiguration>>
listWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of ProactiveDetection configurations of an Application Insights component.update
(String resourceGroupName, String resourceName, String configurationId, ApplicationInsightsComponentProactiveDetectionConfigurationInner proactiveDetectionProperties) Update the ProactiveDetection configuration for this configuration id.com.azure.core.http.rest.Response<ApplicationInsightsComponentProactiveDetectionConfiguration>
updateWithResponse
(String resourceGroupName, String resourceName, String configurationId, ApplicationInsightsComponentProactiveDetectionConfigurationInner proactiveDetectionProperties, com.azure.core.util.Context context) Update the ProactiveDetection configuration for this configuration id.
-
Method Details
-
list
List<ApplicationInsightsComponentProactiveDetectionConfiguration> list(String resourceGroupName, String resourceName) Gets a list of ProactiveDetection configurations of an Application Insights component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.- Returns:
- a list of ProactiveDetection configurations of an Application Insights component.
- 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<ApplicationInsightsComponentProactiveDetectionConfiguration>> listWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of ProactiveDetection configurations of an Application Insights component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.context
- The context to associate with this operation.- Returns:
- a list of ProactiveDetection configurations of an Application Insights component 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.
-
get
ApplicationInsightsComponentProactiveDetectionConfiguration get(String resourceGroupName, String resourceName, String configurationId) Get the ProactiveDetection configuration for this configuration id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.configurationId
- The ProactiveDetection configuration ID. This is unique within a Application Insights component.- Returns:
- the ProactiveDetection configuration for this configuration id.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<ApplicationInsightsComponentProactiveDetectionConfiguration> getWithResponse(String resourceGroupName, String resourceName, String configurationId, com.azure.core.util.Context context) Get the ProactiveDetection configuration for this configuration id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.configurationId
- The ProactiveDetection configuration ID. This is unique within a Application Insights component.context
- The context to associate with this operation.- Returns:
- the ProactiveDetection configuration for this configuration id 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.
-
update
ApplicationInsightsComponentProactiveDetectionConfiguration update(String resourceGroupName, String resourceName, String configurationId, ApplicationInsightsComponentProactiveDetectionConfigurationInner proactiveDetectionProperties) Update the ProactiveDetection configuration for this configuration id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.configurationId
- The ProactiveDetection configuration ID. This is unique within a Application Insights component.proactiveDetectionProperties
- Properties that need to be specified to update the ProactiveDetection configuration.- Returns:
- properties that define a ProactiveDetection configuration.
- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<ApplicationInsightsComponentProactiveDetectionConfiguration> updateWithResponse(String resourceGroupName, String resourceName, String configurationId, ApplicationInsightsComponentProactiveDetectionConfigurationInner proactiveDetectionProperties, com.azure.core.util.Context context) Update the ProactiveDetection configuration for this configuration id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.configurationId
- The ProactiveDetection configuration ID. This is unique within a Application Insights component.proactiveDetectionProperties
- Properties that need to be specified to update the ProactiveDetection configuration.context
- The context to associate with this operation.- Returns:
- properties that define a ProactiveDetection configuration 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.
-