Interface AnalyticsItemsClient
-
public interface AnalyticsItemsClient
An instance of this class provides access to all the operations defined in AnalyticsItemsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(String resourceGroupName, String resourceName, ItemScopePath scopePath)
Deletes a specific Analytics Items defined within an Application Insights component.com.azure.core.http.rest.Response<Void>
deleteWithResponse(String resourceGroupName, String resourceName, ItemScopePath scopePath, String id, String name, com.azure.core.util.Context context)
Deletes a specific Analytics Items defined within an Application Insights component.ApplicationInsightsComponentAnalyticsItemInner
get(String resourceGroupName, String resourceName, ItemScopePath scopePath)
Gets a specific Analytics Items defined within an Application Insights component.com.azure.core.http.rest.Response<ApplicationInsightsComponentAnalyticsItemInner>
getWithResponse(String resourceGroupName, String resourceName, ItemScopePath scopePath, String id, String name, com.azure.core.util.Context context)
Gets a specific Analytics Items defined within an Application Insights component.List<ApplicationInsightsComponentAnalyticsItemInner>
list(String resourceGroupName, String resourceName, ItemScopePath scopePath)
Gets a list of Analytics Items defined within an Application Insights component.com.azure.core.http.rest.Response<List<ApplicationInsightsComponentAnalyticsItemInner>>
listWithResponse(String resourceGroupName, String resourceName, ItemScopePath scopePath, ItemScope scope, ItemTypeParameter type, Boolean includeContent, com.azure.core.util.Context context)
Gets a list of Analytics Items defined within an Application Insights component.ApplicationInsightsComponentAnalyticsItemInner
put(String resourceGroupName, String resourceName, ItemScopePath scopePath, ApplicationInsightsComponentAnalyticsItemInner itemProperties)
Adds or Updates a specific Analytics Item within an Application Insights component.com.azure.core.http.rest.Response<ApplicationInsightsComponentAnalyticsItemInner>
putWithResponse(String resourceGroupName, String resourceName, ItemScopePath scopePath, ApplicationInsightsComponentAnalyticsItemInner itemProperties, Boolean overrideItem, com.azure.core.util.Context context)
Adds or Updates a specific Analytics Item within an Application Insights component.
-
-
-
Method Detail
-
list
List<ApplicationInsightsComponentAnalyticsItemInner> list(String resourceGroupName, String resourceName, ItemScopePath scopePath)
Gets a list of Analytics Items defined within 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.scopePath
- Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.- Returns:
- a list of Analytics Items defined within 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<ApplicationInsightsComponentAnalyticsItemInner>> listWithResponse(String resourceGroupName, String resourceName, ItemScopePath scopePath, ItemScope scope, ItemTypeParameter type, Boolean includeContent, com.azure.core.util.Context context)
Gets a list of Analytics Items defined within 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.scopePath
- Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.scope
- Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.type
- Enum indicating the type of the Analytics item.includeContent
- Flag indicating whether or not to return the content of each applicable item. If false, only return the item information.context
- The context to associate with this operation.- Returns:
- a list of Analytics Items defined within 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
ApplicationInsightsComponentAnalyticsItemInner get(String resourceGroupName, String resourceName, ItemScopePath scopePath)
Gets a specific Analytics Items defined within 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.scopePath
- Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.- Returns:
- a specific Analytics Items defined within 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.
-
getWithResponse
com.azure.core.http.rest.Response<ApplicationInsightsComponentAnalyticsItemInner> getWithResponse(String resourceGroupName, String resourceName, ItemScopePath scopePath, String id, String name, com.azure.core.util.Context context)
Gets a specific Analytics Items defined within 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.scopePath
- Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.id
- The Id of a specific item defined in the Application Insights component.name
- The name of a specific item defined in the Application Insights component.context
- The context to associate with this operation.- Returns:
- a specific Analytics Items defined within 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.
-
put
ApplicationInsightsComponentAnalyticsItemInner put(String resourceGroupName, String resourceName, ItemScopePath scopePath, ApplicationInsightsComponentAnalyticsItemInner itemProperties)
Adds or Updates a specific Analytics Item within 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.scopePath
- Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.itemProperties
- Properties that need to be specified to create a new item and add it to an Application Insights component.- Returns:
- properties that define an Analytics item that is associated to 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.
-
putWithResponse
com.azure.core.http.rest.Response<ApplicationInsightsComponentAnalyticsItemInner> putWithResponse(String resourceGroupName, String resourceName, ItemScopePath scopePath, ApplicationInsightsComponentAnalyticsItemInner itemProperties, Boolean overrideItem, com.azure.core.util.Context context)
Adds or Updates a specific Analytics Item within 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.scopePath
- Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.itemProperties
- Properties that need to be specified to create a new item and add it to an Application Insights component.overrideItem
- Flag indicating whether or not to force save an item. This allows overriding an item if it already exists.context
- The context to associate with this operation.- Returns:
- properties that define an Analytics item that is associated to 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.
-
delete
void delete(String resourceGroupName, String resourceName, ItemScopePath scopePath)
Deletes a specific Analytics Items defined within 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.scopePath
- Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, ItemScopePath scopePath, String id, String name, com.azure.core.util.Context context)
Deletes a specific Analytics Items defined within 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.scopePath
- Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.id
- The Id of a specific item defined in the Application Insights component.name
- The name of a specific item defined in the Application Insights component.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.
-
-