Skip to content

Commit

Permalink
CodeGen from PR 14337 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 58f17fd026449d07e3b04a5e0b690e852c8bbbc4 into a80c025adbc7c41a7a99d47e35965ef5684b879d
  • Loading branch information
SDKAuto committed May 10, 2021
1 parent 5b5d822 commit bbefc79
Show file tree
Hide file tree
Showing 67 changed files with 3,783 additions and 2,811 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2021-05-10)

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

## 1.0.0-beta.1 (2021-04-20)

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-2020-10-20. 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-preview-2020-06. 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.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
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-2020-10-20.</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-preview-2020-06.</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 @@ -28,10 +28,12 @@
import com.azure.resourcemanager.applicationinsights.implementation.ComponentAvailableFeaturesImpl;
import com.azure.resourcemanager.applicationinsights.implementation.ComponentCurrentBillingFeaturesImpl;
import com.azure.resourcemanager.applicationinsights.implementation.ComponentFeatureCapabilitiesImpl;
import com.azure.resourcemanager.applicationinsights.implementation.ComponentLinkedStorageAccountsOperationsImpl;
import com.azure.resourcemanager.applicationinsights.implementation.ComponentQuotaStatusImpl;
import com.azure.resourcemanager.applicationinsights.implementation.ComponentsImpl;
import com.azure.resourcemanager.applicationinsights.implementation.ExportConfigurationsImpl;
import com.azure.resourcemanager.applicationinsights.implementation.FavoritesImpl;
import com.azure.resourcemanager.applicationinsights.implementation.LiveTokensImpl;
import com.azure.resourcemanager.applicationinsights.implementation.MyWorkbooksImpl;
import com.azure.resourcemanager.applicationinsights.implementation.OperationsImpl;
import com.azure.resourcemanager.applicationinsights.implementation.ProactiveDetectionConfigurationsImpl;
Expand All @@ -45,10 +47,12 @@
import com.azure.resourcemanager.applicationinsights.models.ComponentAvailableFeatures;
import com.azure.resourcemanager.applicationinsights.models.ComponentCurrentBillingFeatures;
import com.azure.resourcemanager.applicationinsights.models.ComponentFeatureCapabilities;
import com.azure.resourcemanager.applicationinsights.models.ComponentLinkedStorageAccountsOperations;
import com.azure.resourcemanager.applicationinsights.models.ComponentQuotaStatus;
import com.azure.resourcemanager.applicationinsights.models.Components;
import com.azure.resourcemanager.applicationinsights.models.ExportConfigurations;
import com.azure.resourcemanager.applicationinsights.models.Favorites;
import com.azure.resourcemanager.applicationinsights.models.LiveTokens;
import com.azure.resourcemanager.applicationinsights.models.MyWorkbooks;
import com.azure.resourcemanager.applicationinsights.models.Operations;
import com.azure.resourcemanager.applicationinsights.models.ProactiveDetectionConfigurations;
Expand All @@ -64,7 +68,7 @@

/** Entry point to ApplicationInsightsManager. Composite Swagger for Application Insights Management Client. */
public final class ApplicationInsightsManager {
private AnalyticsItems analyticsItems;
private Operations operations;

private Annotations annotations;

Expand All @@ -82,8 +86,6 @@ public final class ApplicationInsightsManager {

private ProactiveDetectionConfigurations proactiveDetectionConfigurations;

private Components components;

private WorkItemConfigurations workItemConfigurations;

private Favorites favorites;
Expand All @@ -92,11 +94,17 @@ public final class ApplicationInsightsManager {

private WebTests webTests;

private MyWorkbooks myWorkbooks;
private AnalyticsItems analyticsItems;

private Workbooks workbooks;

private Operations operations;
private MyWorkbooks myWorkbooks;

private Components components;

private ComponentLinkedStorageAccountsOperations componentLinkedStorageAccountsOperations;

private LiveTokens liveTokens;

private final ApplicationInsightsManagementClient clientObject;

Expand Down Expand Up @@ -261,12 +269,12 @@ public ApplicationInsightsManager authenticate(TokenCredential credential, Azure
}
}

/** @return Resource collection API of AnalyticsItems. */
public AnalyticsItems analyticsItems() {
if (this.analyticsItems == null) {
this.analyticsItems = new AnalyticsItemsImpl(clientObject.getAnalyticsItems(), this);
/** @return Resource collection API of Operations. */
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
return analyticsItems;
return operations;
}

/** @return Resource collection API of Annotations. */
Expand Down Expand Up @@ -337,14 +345,6 @@ public ProactiveDetectionConfigurations proactiveDetectionConfigurations() {
return proactiveDetectionConfigurations;
}

/** @return Resource collection API of Components. */
public Components components() {
if (this.components == null) {
this.components = new ComponentsImpl(clientObject.getComponents(), this);
}
return components;
}

/** @return Resource collection API of WorkItemConfigurations. */
public WorkItemConfigurations workItemConfigurations() {
if (this.workItemConfigurations == null) {
Expand Down Expand Up @@ -378,12 +378,12 @@ public WebTests webTests() {
return webTests;
}

/** @return Resource collection API of MyWorkbooks. */
public MyWorkbooks myWorkbooks() {
if (this.myWorkbooks == null) {
this.myWorkbooks = new MyWorkbooksImpl(clientObject.getMyWorkbooks(), this);
/** @return Resource collection API of AnalyticsItems. */
public AnalyticsItems analyticsItems() {
if (this.analyticsItems == null) {
this.analyticsItems = new AnalyticsItemsImpl(clientObject.getAnalyticsItems(), this);
}
return myWorkbooks;
return analyticsItems;
}

/** @return Resource collection API of Workbooks. */
Expand All @@ -394,12 +394,38 @@ public Workbooks workbooks() {
return workbooks;
}

/** @return Resource collection API of Operations. */
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
/** @return Resource collection API of MyWorkbooks. */
public MyWorkbooks myWorkbooks() {
if (this.myWorkbooks == null) {
this.myWorkbooks = new MyWorkbooksImpl(clientObject.getMyWorkbooks(), this);
}
return operations;
return myWorkbooks;
}

/** @return Resource collection API of Components. */
public Components components() {
if (this.components == null) {
this.components = new ComponentsImpl(clientObject.getComponents(), this);
}
return components;
}

/** @return Resource collection API of ComponentLinkedStorageAccountsOperations. */
public ComponentLinkedStorageAccountsOperations componentLinkedStorageAccountsOperations() {
if (this.componentLinkedStorageAccountsOperations == null) {
this.componentLinkedStorageAccountsOperations =
new ComponentLinkedStorageAccountsOperationsImpl(
clientObject.getComponentLinkedStorageAccountsOperations(), this);
}
return componentLinkedStorageAccountsOperations;
}

/** @return Resource collection API of LiveTokens. */
public LiveTokens liveTokens() {
if (this.liveTokens == null) {
this.liveTokens = new LiveTokensImpl(clientObject.getLiveTokens(), this);
}
return liveTokens;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ public interface ApplicationInsightsManagementClient {
Duration getDefaultPollInterval();

/**
* Gets the AnalyticsItemsClient object to access its operations.
* Gets the OperationsClient object to access its operations.
*
* @return the AnalyticsItemsClient object.
* @return the OperationsClient object.
*/
AnalyticsItemsClient getAnalyticsItems();
OperationsClient getOperations();

/**
* Gets the AnnotationsClient object to access its operations.
Expand Down Expand Up @@ -100,13 +100,6 @@ public interface ApplicationInsightsManagementClient {
*/
ProactiveDetectionConfigurationsClient getProactiveDetectionConfigurations();

/**
* Gets the ComponentsClient object to access its operations.
*
* @return the ComponentsClient object.
*/
ComponentsClient getComponents();

/**
* Gets the WorkItemConfigurationsClient object to access its operations.
*
Expand Down Expand Up @@ -136,11 +129,11 @@ public interface ApplicationInsightsManagementClient {
WebTestsClient getWebTests();

/**
* Gets the MyWorkbooksClient object to access its operations.
* Gets the AnalyticsItemsClient object to access its operations.
*
* @return the MyWorkbooksClient object.
* @return the AnalyticsItemsClient object.
*/
MyWorkbooksClient getMyWorkbooks();
AnalyticsItemsClient getAnalyticsItems();

/**
* Gets the WorkbooksClient object to access its operations.
Expand All @@ -150,9 +143,30 @@ public interface ApplicationInsightsManagementClient {
WorkbooksClient getWorkbooks();

/**
* Gets the OperationsClient object to access its operations.
* Gets the MyWorkbooksClient object to access its operations.
*
* @return the OperationsClient object.
* @return the MyWorkbooksClient object.
*/
OperationsClient getOperations();
MyWorkbooksClient getMyWorkbooks();

/**
* Gets the ComponentsClient object to access its operations.
*
* @return the ComponentsClient object.
*/
ComponentsClient getComponents();

/**
* Gets the ComponentLinkedStorageAccountsOperationsClient object to access its operations.
*
* @return the ComponentLinkedStorageAccountsOperationsClient object.
*/
ComponentLinkedStorageAccountsOperationsClient getComponentLinkedStorageAccountsOperations();

/**
* Gets the LiveTokensClient object to access its operations.
*
* @return the LiveTokensClient object.
*/
LiveTokensClient getLiveTokens();
}
Loading

0 comments on commit bbefc79

Please sign in to comment.