Skip to content

Commit

Permalink
CodeGen from PR 17466 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
config (Azure#17466)
  • Loading branch information
SDKAuto committed Jan 24, 2022
1 parent 63b7951 commit 6a5c2e0
Show file tree
Hide file tree
Showing 75 changed files with 1,057 additions and 491 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2022-01-24)

- 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 @@ -2,7 +2,7 @@

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-2021-11-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
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).

## We'd love to hear your feedback

Expand Down 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.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ import java.util.Map;
/** Samples for Components CreateOrUpdate. */
public final class ComponentsCreateOrUpdateSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsCreate.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json
*/
/**
* Sample code: ComponentCreate.
Expand All @@ -757,11 +757,13 @@ public final class ComponentsCreateOrUpdateSamples {
.withApplicationType(ApplicationType.WEB)
.withFlowType(FlowType.BLUEFIELD)
.withRequestSource(RequestSource.REST)
.withWorkspaceResourceId(
"/subscriptions/subid/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace")
.create();
}

/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdate.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdate.json
*/
/**
* Sample code: ComponentUpdate.
Expand Down Expand Up @@ -801,7 +803,7 @@ import com.azure.core.util.Context;
/** Samples for Components Delete. */
public final class ComponentsDeleteSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsDelete.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsDelete.json
*/
/**
* Sample code: ComponentsDelete.
Expand All @@ -823,7 +825,7 @@ import com.azure.core.util.Context;
/** Samples for Components GetByResourceGroup. */
public final class ComponentsGetByResourceGroupSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsGet.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json
*/
/**
* Sample code: ComponentGet.
Expand All @@ -844,7 +846,7 @@ import com.azure.core.util.Context;
/** Samples for Components GetPurgeStatus. */
public final class ComponentsGetPurgeStatusSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurgeStatus.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsPurgeStatus.json
*/
/**
* Sample code: ComponentPurge.
Expand All @@ -869,7 +871,7 @@ import com.azure.core.util.Context;
/** Samples for Components List. */
public final class ComponentsListSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsList.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json
*/
/**
* Sample code: ComponentsList.json.
Expand All @@ -891,7 +893,7 @@ import com.azure.core.util.Context;
/** Samples for Components ListByResourceGroup. */
public final class ComponentsListByResourceGroupSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsListByResourceGroup.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsListByResourceGroup.json
*/
/**
* Sample code: ComponentListByResourceGroup.
Expand All @@ -916,7 +918,7 @@ import java.util.Arrays;
/** Samples for Components Purge. */
public final class ComponentsPurgeSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsPurge.json
*/
/**
* Sample code: ComponentPurge.
Expand Down Expand Up @@ -955,7 +957,7 @@ import java.util.Map;
/** Samples for Components UpdateTags. */
public final class ComponentsUpdateTagsSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdateTagsOnly.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdateTagsOnly.json
*/
/**
* Sample code: ComponentUpdateTagsOnly.
Expand Down Expand Up @@ -1471,7 +1473,7 @@ import com.azure.core.util.Context;
/** Samples for LiveToken Get. */
public final class LiveTokenGetSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-10-14/examples/LiveTokenGet.json
*/
/**
* Sample code: Get live token for resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for ApplicationInsights Management</name>
<description>This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Composite Swagger for Application Insights Management Client. Package tag package-2021-11-01.</description>
<description>This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Composite Swagger for Application Insights Management Client. Package tag package-2022-01-11.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
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.2");
.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 @@ -48,7 +48,7 @@ List<ApplicationInsightsComponentAnalyticsItemInner> list(
* @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 Analytics Items defined within an Application Insights component.
* @return a list of Analytics Items defined within an Application Insights component along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<List<ApplicationInsightsComponentAnalyticsItemInner>> listWithResponse(
Expand Down Expand Up @@ -89,7 +89,7 @@ ApplicationInsightsComponentAnalyticsItemInner get(
* @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 specific Analytics Items defined within an Application Insights component.
* @return a specific Analytics Items defined within an Application Insights component along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInsightsComponentAnalyticsItemInner> getWithResponse(
Expand Down Expand Up @@ -136,7 +136,8 @@ ApplicationInsightsComponentAnalyticsItemInner put(
* @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 properties that define an Analytics item that is associated to an Application Insights component.
* @return properties that define an Analytics item that is associated to an Application Insights component along
* with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInsightsComponentAnalyticsItemInner> putWithResponse(
Expand Down Expand Up @@ -174,7 +175,7 @@ Response<ApplicationInsightsComponentAnalyticsItemInner> putWithResponse(
* @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 the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ PagedIterable<AnnotationInner> list(
* @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 array of Annotation.
* @return array of Annotation along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<List<AnnotationInner>> createWithResponse(
Expand Down Expand Up @@ -105,7 +105,7 @@ Response<List<AnnotationInner>> createWithResponse(
* @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 the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(
Expand Down Expand Up @@ -137,7 +137,7 @@ Response<Void> deleteWithResponse(
* @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 annotation for given id.
* @return the annotation for given id along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<List<AnnotationInner>> getWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ApplicationInsightsComponentApiKeyInner create(
* @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 properties that define an API key of an Application Insights Component.
* @return properties that define an API key of an Application Insights Component along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInsightsComponentApiKeyInner> createWithResponse(
Expand Down Expand Up @@ -99,7 +99,7 @@ Response<ApplicationInsightsComponentApiKeyInner> createWithResponse(
* @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 properties that define an API key of an Application Insights Component.
* @return properties that define an API key of an Application Insights Component along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInsightsComponentApiKeyInner> deleteWithResponse(
Expand Down Expand Up @@ -129,7 +129,7 @@ Response<ApplicationInsightsComponentApiKeyInner> deleteWithResponse(
* @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 the API Key for this key id.
* @return the API Key for this key id along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInsightsComponentApiKeyInner> getWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface ComponentAvailableFeaturesClient {
* @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 an Application Insights component available features.
* @return an Application Insights component available features along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInsightsComponentAvailableFeaturesInner> getWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface ComponentCurrentBillingFeaturesClient {
* @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 an Application Insights component billing features.
* @return an Application Insights component billing features along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInsightsComponentBillingFeaturesInner> getWithResponse(
Expand Down Expand Up @@ -69,7 +69,7 @@ ApplicationInsightsComponentBillingFeaturesInner update(
* @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 an Application Insights component billing features.
* @return an Application Insights component billing features along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInsightsComponentBillingFeaturesInner> updateWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface ComponentFeatureCapabilitiesClient {
* @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 an Application Insights component feature capabilities.
* @return an Application Insights component feature capabilities along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInsightsComponentFeatureCapabilitiesInner> getWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public interface ComponentLinkedStorageAccountsOperationsClient {
* @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 an Application Insights component linked storage accounts.
* @return an Application Insights component linked storage accounts along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ComponentLinkedStorageAccountsInner> getWithResponse(
Expand Down Expand Up @@ -79,7 +79,7 @@ ComponentLinkedStorageAccountsInner createAndUpdate(
* @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 an Application Insights component linked storage accounts.
* @return an Application Insights component linked storage accounts along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ComponentLinkedStorageAccountsInner> createAndUpdateWithResponse(
Expand Down Expand Up @@ -121,7 +121,7 @@ ComponentLinkedStorageAccountsInner update(
* @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 an Application Insights component linked storage accounts.
* @return an Application Insights component linked storage accounts along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ComponentLinkedStorageAccountsInner> updateWithResponse(
Expand Down Expand Up @@ -154,7 +154,7 @@ Response<ComponentLinkedStorageAccountsInner> updateWithResponse(
* @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 the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(
Expand Down
Loading

0 comments on commit 6a5c2e0

Please sign in to comment.