Skip to content

Commit

Permalink
CodeGen from PR 17590 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Adding x-ms-ids for Application Insights (Azure#17590)

* Adding x-ms-ids for Application Insights

* Corrections from rebasing
  • Loading branch information
SDKAuto committed Mar 7, 2022
1 parent bd70cab commit 819d884
Show file tree
Hide file tree
Showing 33 changed files with 251 additions and 135 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.4 (Unreleased)
## 1.0.0-beta.1 (2022-03-07)

- Azure Resource Manager ApplicationInsights client library for Java. This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. Composite Swagger for Application Insights Management Client. Package tag package-2022-01-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-applicationinsights</artifactId>
<version>1.0.0-beta.3</version>
<version>1.0.0-beta.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public ApplicationInsightsManager authenticate(TokenCredential credential, Azure
.append("-")
.append("com.azure.resourcemanager.applicationinsights")
.append("/")
.append("1.0.0-beta.3");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public interface AnnotationsClient {
* @throws com.azure.resourcemanager.applicationinsights.models.AnnotationErrorException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of annotations for a component for given time range.
* @return the list of annotations for a component for given time range as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<AnnotationInner> list(String resourceGroupName, String resourceName, String start, String end);
Expand All @@ -42,7 +43,8 @@ public interface AnnotationsClient {
* @throws com.azure.resourcemanager.applicationinsights.models.AnnotationErrorException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of annotations for a component for given time range.
* @return the list of annotations for a component for given time range as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<AnnotationInner> list(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public interface ApiKeysClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of API keys of an Application Insights component.
* @return a list of API keys of an Application Insights component as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ApplicationInsightsComponentApiKeyInner> list(String resourceGroupName, String resourceName);
Expand All @@ -36,7 +36,7 @@ public interface ApiKeysClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of API keys of an Application Insights component.
* @return a list of API keys of an Application Insights component as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ApplicationInsightsComponentApiKeyInner> list(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public interface ComponentsClient {
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of all Application Insights components within a subscription.
* @return a list of all Application Insights components within a subscription as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ApplicationInsightsComponentInner> list();
Expand All @@ -34,7 +35,8 @@ public interface ComponentsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of all Application Insights components within a subscription.
* @return a list of all Application Insights components within a subscription as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ApplicationInsightsComponentInner> list(Context context);
Expand All @@ -46,7 +48,8 @@ public interface ComponentsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of Application Insights components within a resource group.
* @return a list of Application Insights components within a resource group as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ApplicationInsightsComponentInner> listByResourceGroup(String resourceGroupName);
Expand All @@ -59,7 +62,8 @@ public interface ComponentsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of Application Insights components within a resource group.
* @return a list of Application Insights components within a resource group as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ApplicationInsightsComponentInner> listByResourceGroup(String resourceGroupName, Context context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public interface MyWorkbooksClient {
* @throws com.azure.resourcemanager.applicationinsights.models.ErrorDefinitionException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all private workbooks defined within a specified resource group and category.
* @return all private workbooks defined within a specified resource group and category as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<MyWorkbookInner> listByResourceGroup(String resourceGroupName, CategoryType category);
Expand All @@ -43,7 +44,8 @@ public interface MyWorkbooksClient {
* @throws com.azure.resourcemanager.applicationinsights.models.ErrorDefinitionException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all private workbooks defined within a specified resource group and category.
* @return all private workbooks defined within a specified resource group and category as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<MyWorkbookInner> listByResourceGroup(
Expand All @@ -62,7 +64,8 @@ PagedIterable<MyWorkbookInner> listByResourceGroup(
* @throws com.azure.resourcemanager.applicationinsights.models.ErrorDefinitionException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all private workbooks defined within a specified subscription and category.
* @return all private workbooks defined within a specified subscription and category as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<MyWorkbookInner> list(CategoryType category);
Expand All @@ -79,7 +82,8 @@ PagedIterable<MyWorkbookInner> listByResourceGroup(
* @throws com.azure.resourcemanager.applicationinsights.models.ErrorDefinitionException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all private workbooks defined within a specified subscription and category.
* @return all private workbooks defined within a specified subscription and category as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<MyWorkbookInner> list(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface OperationsClient {
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return result of the request to list CDN operations.
* @return result of the request to list CDN operations as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<OperationInner> list();
Expand All @@ -29,7 +29,7 @@ public interface OperationsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return result of the request to list CDN operations.
* @return result of the request to list CDN operations as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<OperationInner> list(Context context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public interface WebTestLocationsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of web test locations available to this Application Insights component.
* @return a list of web test locations available to this Application Insights component as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ApplicationInsightsComponentWebTestLocationInner> list(String resourceGroupName, String resourceName);
Expand All @@ -34,7 +35,8 @@ public interface WebTestLocationsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of web test locations available to this Application Insights component.
* @return a list of web test locations available to this Application Insights component as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ApplicationInsightsComponentWebTestLocationInner> list(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public interface WebTestsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Application Insights web tests defined within a specified resource group.
* @return all Application Insights web tests defined within a specified resource group as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WebTestInner> listByResourceGroup(String resourceGroupName);
Expand All @@ -34,7 +35,8 @@ public interface WebTestsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Application Insights web tests defined within a specified resource group.
* @return all Application Insights web tests defined within a specified resource group as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WebTestInner> listByResourceGroup(String resourceGroupName, Context context);
Expand Down Expand Up @@ -160,7 +162,8 @@ Response<WebTestInner> updateTagsWithResponse(
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Application Insights web test alerts definitions within a subscription.
* @return all Application Insights web test alerts definitions within a subscription as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WebTestInner> list();
Expand All @@ -172,7 +175,8 @@ Response<WebTestInner> updateTagsWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Application Insights web test alerts definitions within a subscription.
* @return all Application Insights web test alerts definitions within a subscription as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WebTestInner> list(Context context);
Expand All @@ -185,7 +189,8 @@ Response<WebTestInner> updateTagsWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Application Insights web tests defined for the specified component.
* @return all Application Insights web tests defined for the specified component as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WebTestInner> listByComponent(String componentName, String resourceGroupName);
Expand All @@ -199,7 +204,8 @@ Response<WebTestInner> updateTagsWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Application Insights web tests defined for the specified component.
* @return all Application Insights web tests defined for the specified component as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WebTestInner> listByComponent(String componentName, String resourceGroupName, Context context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ public interface WorkItemConfigurationsClient {
* @throws com.azure.resourcemanager.applicationinsights.models.WorkItemConfigurationErrorException thrown if the
* request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list work item configurations that exist for the application.
* @return the list work item configurations that exist for the application as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WorkItemConfigurationInner> list(String resourceGroupName, String resourceName);
Expand All @@ -38,7 +39,8 @@ public interface WorkItemConfigurationsClient {
* @throws com.azure.resourcemanager.applicationinsights.models.WorkItemConfigurationErrorException thrown if the
* request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list work item configurations that exist for the application.
* @return the list work item configurations that exist for the application as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WorkItemConfigurationInner> list(String resourceGroupName, String resourceName, Context context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public interface WorkbookTemplatesClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Workbook templates defined within a specified resource group.
* @return all Workbook templates defined within a specified resource group as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WorkbookTemplateInner> listByResourceGroup(String resourceGroupName);
Expand All @@ -34,7 +35,8 @@ public interface WorkbookTemplatesClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Workbook templates defined within a specified resource group.
* @return all Workbook templates defined within a specified resource group as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<WorkbookTemplateInner> listByResourceGroup(String resourceGroupName, Context context);
Expand Down
Loading

0 comments on commit 819d884

Please sign in to comment.