Interface WorkItemConfigurationsClient
-
public interface WorkItemConfigurationsClient
An instance of this class provides access to all the operations defined in WorkItemConfigurationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkItemConfigurationInner
create(String resourceGroupName, String resourceName, WorkItemCreateConfiguration workItemConfigurationProperties)
Create a work item configuration for an Application Insights component.com.azure.core.http.rest.Response<WorkItemConfigurationInner>
createWithResponse(String resourceGroupName, String resourceName, WorkItemCreateConfiguration workItemConfigurationProperties, com.azure.core.util.Context context)
Create a work item configuration for an Application Insights component.void
delete(String resourceGroupName, String resourceName, String workItemConfigId)
Delete a work item configuration of an Application Insights component.com.azure.core.http.rest.Response<Void>
deleteWithResponse(String resourceGroupName, String resourceName, String workItemConfigId, com.azure.core.util.Context context)
Delete a work item configuration of an Application Insights component.WorkItemConfigurationInner
getDefault(String resourceGroupName, String resourceName)
Gets default work item configurations that exist for the application.com.azure.core.http.rest.Response<WorkItemConfigurationInner>
getDefaultWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Gets default work item configurations that exist for the application.WorkItemConfigurationInner
getItem(String resourceGroupName, String resourceName, String workItemConfigId)
Gets specified work item configuration for an Application Insights component.com.azure.core.http.rest.Response<WorkItemConfigurationInner>
getItemWithResponse(String resourceGroupName, String resourceName, String workItemConfigId, com.azure.core.util.Context context)
Gets specified work item configuration for an Application Insights component.com.azure.core.http.rest.PagedIterable<WorkItemConfigurationInner>
list(String resourceGroupName, String resourceName)
Gets the list work item configurations that exist for the application.com.azure.core.http.rest.PagedIterable<WorkItemConfigurationInner>
list(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Gets the list work item configurations that exist for the application.WorkItemConfigurationInner
updateItem(String resourceGroupName, String resourceName, String workItemConfigId, WorkItemCreateConfiguration workItemConfigurationProperties)
Update a work item configuration for an Application Insights component.com.azure.core.http.rest.Response<WorkItemConfigurationInner>
updateItemWithResponse(String resourceGroupName, String resourceName, String workItemConfigId, WorkItemCreateConfiguration workItemConfigurationProperties, com.azure.core.util.Context context)
Update a work item configuration for an Application Insights component.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<WorkItemConfigurationInner> list(String resourceGroupName, String resourceName)
Gets the list work item configurations that exist for the application.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.- Returns:
- the list work item configurations that exist for the application as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.WorkItemConfigurationErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<WorkItemConfigurationInner> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Gets the list work item configurations that exist for the application.- 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:
- the list work item configurations that exist for the application as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.WorkItemConfigurationErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
WorkItemConfigurationInner create(String resourceGroupName, String resourceName, WorkItemCreateConfiguration workItemConfigurationProperties)
Create a work item configuration for 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.workItemConfigurationProperties
- Properties that need to be specified to create a work item configuration of a Application Insights component.- Returns:
- work item configuration associated with an application insights resource.
- 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.
-
createWithResponse
com.azure.core.http.rest.Response<WorkItemConfigurationInner> createWithResponse(String resourceGroupName, String resourceName, WorkItemCreateConfiguration workItemConfigurationProperties, com.azure.core.util.Context context)
Create a work item configuration for 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.workItemConfigurationProperties
- Properties that need to be specified to create a work item configuration of a Application Insights component.context
- The context to associate with this operation.- Returns:
- work item configuration associated with an application insights resource 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.
-
getDefault
WorkItemConfigurationInner getDefault(String resourceGroupName, String resourceName)
Gets default work item configurations that exist for the application.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.- Returns:
- default work item configurations that exist for the application.
- 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.
-
getDefaultWithResponse
com.azure.core.http.rest.Response<WorkItemConfigurationInner> getDefaultWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Gets default work item configurations that exist for the application.- 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:
- default work item configurations that exist for the application 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.
-
delete
void delete(String resourceGroupName, String resourceName, String workItemConfigId)
Delete a work item configuration 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.workItemConfigId
- The unique work item configuration Id. This can be either friendly name of connector as defined in connector 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, String workItemConfigId, com.azure.core.util.Context context)
Delete a work item configuration 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.workItemConfigId
- The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration.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.
-
getItem
WorkItemConfigurationInner getItem(String resourceGroupName, String resourceName, String workItemConfigId)
Gets specified work item configuration for 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.workItemConfigId
- The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration.- Returns:
- specified work item configuration for 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.
-
getItemWithResponse
com.azure.core.http.rest.Response<WorkItemConfigurationInner> getItemWithResponse(String resourceGroupName, String resourceName, String workItemConfigId, com.azure.core.util.Context context)
Gets specified work item configuration for 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.workItemConfigId
- The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration.context
- The context to associate with this operation.- Returns:
- specified work item configuration for 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.
-
updateItem
WorkItemConfigurationInner updateItem(String resourceGroupName, String resourceName, String workItemConfigId, WorkItemCreateConfiguration workItemConfigurationProperties)
Update a work item configuration for 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.workItemConfigId
- The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration.workItemConfigurationProperties
- Properties that need to be specified to update a work item configuration for this Application Insights component.- Returns:
- work item configuration associated with an application insights resource.
- 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.
-
updateItemWithResponse
com.azure.core.http.rest.Response<WorkItemConfigurationInner> updateItemWithResponse(String resourceGroupName, String resourceName, String workItemConfigId, WorkItemCreateConfiguration workItemConfigurationProperties, com.azure.core.util.Context context)
Update a work item configuration for 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.workItemConfigId
- The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration.workItemConfigurationProperties
- Properties that need to be specified to update a work item configuration for this Application Insights component.context
- The context to associate with this operation.- Returns:
- work item configuration associated with an application insights resource 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.
-
-