Interface WorkItemConfigurations


  • public interface WorkItemConfigurations
    Resource collection API of WorkItemConfigurations.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<WorkItemConfiguration> 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<WorkItemConfiguration> 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

        WorkItemConfiguration 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<WorkItemConfiguration> 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

        WorkItemConfiguration 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<WorkItemConfiguration> 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

        WorkItemConfiguration 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<WorkItemConfiguration> 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

        WorkItemConfiguration 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<WorkItemConfiguration> 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.