Skip to content

Commit f773f10

Browse files
author
SDKAuto
committed
CodeGen from PR 13951 in Azure/azure-rest-api-specs
Merge 945bbc673a28c374116df89c4113b5fea742566b into 66d52ece127b50b17f21ceba984b975f2f095fb0
1 parent 5c8d55d commit f773f10

File tree

67 files changed

+3738
-2811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+3738
-2811
lines changed

sdk/applicationinsights/azure-resourcemanager-applicationinsights/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.1 (2021-04-26)
44

5+
- 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).
56

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

sdk/applicationinsights/azure-resourcemanager-applicationinsights/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager ApplicationInsights client library for Java.
44

5-
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).
5+
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).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-applicationinsights</artifactId>
35-
<version>1.0.0-beta.1</version>
35+
<version>1.0.0-beta.2</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/applicationinsights/azure-resourcemanager-applicationinsights/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<packaging>jar</packaging>
1414

1515
<name>Microsoft Azure SDK for ApplicationInsights Management</name>
16-
<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>
16+
<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>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/ApplicationInsightsManager.java

Lines changed: 54 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@
2828
import com.azure.resourcemanager.applicationinsights.implementation.ComponentAvailableFeaturesImpl;
2929
import com.azure.resourcemanager.applicationinsights.implementation.ComponentCurrentBillingFeaturesImpl;
3030
import com.azure.resourcemanager.applicationinsights.implementation.ComponentFeatureCapabilitiesImpl;
31+
import com.azure.resourcemanager.applicationinsights.implementation.ComponentLinkedStorageAccountsOperationsImpl;
3132
import com.azure.resourcemanager.applicationinsights.implementation.ComponentQuotaStatusImpl;
3233
import com.azure.resourcemanager.applicationinsights.implementation.ComponentsImpl;
3334
import com.azure.resourcemanager.applicationinsights.implementation.ExportConfigurationsImpl;
3435
import com.azure.resourcemanager.applicationinsights.implementation.FavoritesImpl;
36+
import com.azure.resourcemanager.applicationinsights.implementation.LiveTokensImpl;
3537
import com.azure.resourcemanager.applicationinsights.implementation.MyWorkbooksImpl;
3638
import com.azure.resourcemanager.applicationinsights.implementation.OperationsImpl;
3739
import com.azure.resourcemanager.applicationinsights.implementation.ProactiveDetectionConfigurationsImpl;
@@ -45,10 +47,12 @@
4547
import com.azure.resourcemanager.applicationinsights.models.ComponentAvailableFeatures;
4648
import com.azure.resourcemanager.applicationinsights.models.ComponentCurrentBillingFeatures;
4749
import com.azure.resourcemanager.applicationinsights.models.ComponentFeatureCapabilities;
50+
import com.azure.resourcemanager.applicationinsights.models.ComponentLinkedStorageAccountsOperations;
4851
import com.azure.resourcemanager.applicationinsights.models.ComponentQuotaStatus;
4952
import com.azure.resourcemanager.applicationinsights.models.Components;
5053
import com.azure.resourcemanager.applicationinsights.models.ExportConfigurations;
5154
import com.azure.resourcemanager.applicationinsights.models.Favorites;
55+
import com.azure.resourcemanager.applicationinsights.models.LiveTokens;
5256
import com.azure.resourcemanager.applicationinsights.models.MyWorkbooks;
5357
import com.azure.resourcemanager.applicationinsights.models.Operations;
5458
import com.azure.resourcemanager.applicationinsights.models.ProactiveDetectionConfigurations;
@@ -64,7 +68,7 @@
6468

6569
/** Entry point to ApplicationInsightsManager. Composite Swagger for Application Insights Management Client. */
6670
public final class ApplicationInsightsManager {
67-
private AnalyticsItems analyticsItems;
71+
private Operations operations;
6872

6973
private Annotations annotations;
7074

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

8387
private ProactiveDetectionConfigurations proactiveDetectionConfigurations;
8488

85-
private Components components;
86-
8789
private WorkItemConfigurations workItemConfigurations;
8890

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

9395
private WebTests webTests;
9496

95-
private MyWorkbooks myWorkbooks;
97+
private AnalyticsItems analyticsItems;
9698

9799
private Workbooks workbooks;
98100

99-
private Operations operations;
101+
private MyWorkbooks myWorkbooks;
102+
103+
private Components components;
104+
105+
private ComponentLinkedStorageAccountsOperations componentLinkedStorageAccountsOperations;
106+
107+
private LiveTokens liveTokens;
100108

101109
private final ApplicationInsightsManagementClient clientObject;
102110

@@ -261,12 +269,12 @@ public ApplicationInsightsManager authenticate(TokenCredential credential, Azure
261269
}
262270
}
263271

264-
/** @return Resource collection API of AnalyticsItems. */
265-
public AnalyticsItems analyticsItems() {
266-
if (this.analyticsItems == null) {
267-
this.analyticsItems = new AnalyticsItemsImpl(clientObject.getAnalyticsItems(), this);
272+
/** @return Resource collection API of Operations. */
273+
public Operations operations() {
274+
if (this.operations == null) {
275+
this.operations = new OperationsImpl(clientObject.getOperations(), this);
268276
}
269-
return analyticsItems;
277+
return operations;
270278
}
271279

272280
/** @return Resource collection API of Annotations. */
@@ -337,14 +345,6 @@ public ProactiveDetectionConfigurations proactiveDetectionConfigurations() {
337345
return proactiveDetectionConfigurations;
338346
}
339347

340-
/** @return Resource collection API of Components. */
341-
public Components components() {
342-
if (this.components == null) {
343-
this.components = new ComponentsImpl(clientObject.getComponents(), this);
344-
}
345-
return components;
346-
}
347-
348348
/** @return Resource collection API of WorkItemConfigurations. */
349349
public WorkItemConfigurations workItemConfigurations() {
350350
if (this.workItemConfigurations == null) {
@@ -378,12 +378,12 @@ public WebTests webTests() {
378378
return webTests;
379379
}
380380

381-
/** @return Resource collection API of MyWorkbooks. */
382-
public MyWorkbooks myWorkbooks() {
383-
if (this.myWorkbooks == null) {
384-
this.myWorkbooks = new MyWorkbooksImpl(clientObject.getMyWorkbooks(), this);
381+
/** @return Resource collection API of AnalyticsItems. */
382+
public AnalyticsItems analyticsItems() {
383+
if (this.analyticsItems == null) {
384+
this.analyticsItems = new AnalyticsItemsImpl(clientObject.getAnalyticsItems(), this);
385385
}
386-
return myWorkbooks;
386+
return analyticsItems;
387387
}
388388

389389
/** @return Resource collection API of Workbooks. */
@@ -394,12 +394,38 @@ public Workbooks workbooks() {
394394
return workbooks;
395395
}
396396

397-
/** @return Resource collection API of Operations. */
398-
public Operations operations() {
399-
if (this.operations == null) {
400-
this.operations = new OperationsImpl(clientObject.getOperations(), this);
397+
/** @return Resource collection API of MyWorkbooks. */
398+
public MyWorkbooks myWorkbooks() {
399+
if (this.myWorkbooks == null) {
400+
this.myWorkbooks = new MyWorkbooksImpl(clientObject.getMyWorkbooks(), this);
401401
}
402-
return operations;
402+
return myWorkbooks;
403+
}
404+
405+
/** @return Resource collection API of Components. */
406+
public Components components() {
407+
if (this.components == null) {
408+
this.components = new ComponentsImpl(clientObject.getComponents(), this);
409+
}
410+
return components;
411+
}
412+
413+
/** @return Resource collection API of ComponentLinkedStorageAccountsOperations. */
414+
public ComponentLinkedStorageAccountsOperations componentLinkedStorageAccountsOperations() {
415+
if (this.componentLinkedStorageAccountsOperations == null) {
416+
this.componentLinkedStorageAccountsOperations =
417+
new ComponentLinkedStorageAccountsOperationsImpl(
418+
clientObject.getComponentLinkedStorageAccountsOperations(), this);
419+
}
420+
return componentLinkedStorageAccountsOperations;
421+
}
422+
423+
/** @return Resource collection API of LiveTokens. */
424+
public LiveTokens liveTokens() {
425+
if (this.liveTokens == null) {
426+
this.liveTokens = new LiveTokensImpl(clientObject.getLiveTokens(), this);
427+
}
428+
return liveTokens;
403429
}
404430

405431
/**

sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/ApplicationInsightsManagementClient.java

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ public interface ApplicationInsightsManagementClient {
3838
Duration getDefaultPollInterval();
3939

4040
/**
41-
* Gets the AnalyticsItemsClient object to access its operations.
41+
* Gets the OperationsClient object to access its operations.
4242
*
43-
* @return the AnalyticsItemsClient object.
43+
* @return the OperationsClient object.
4444
*/
45-
AnalyticsItemsClient getAnalyticsItems();
45+
OperationsClient getOperations();
4646

4747
/**
4848
* Gets the AnnotationsClient object to access its operations.
@@ -100,13 +100,6 @@ public interface ApplicationInsightsManagementClient {
100100
*/
101101
ProactiveDetectionConfigurationsClient getProactiveDetectionConfigurations();
102102

103-
/**
104-
* Gets the ComponentsClient object to access its operations.
105-
*
106-
* @return the ComponentsClient object.
107-
*/
108-
ComponentsClient getComponents();
109-
110103
/**
111104
* Gets the WorkItemConfigurationsClient object to access its operations.
112105
*
@@ -136,11 +129,11 @@ public interface ApplicationInsightsManagementClient {
136129
WebTestsClient getWebTests();
137130

138131
/**
139-
* Gets the MyWorkbooksClient object to access its operations.
132+
* Gets the AnalyticsItemsClient object to access its operations.
140133
*
141-
* @return the MyWorkbooksClient object.
134+
* @return the AnalyticsItemsClient object.
142135
*/
143-
MyWorkbooksClient getMyWorkbooks();
136+
AnalyticsItemsClient getAnalyticsItems();
144137

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

152145
/**
153-
* Gets the OperationsClient object to access its operations.
146+
* Gets the MyWorkbooksClient object to access its operations.
154147
*
155-
* @return the OperationsClient object.
148+
* @return the MyWorkbooksClient object.
156149
*/
157-
OperationsClient getOperations();
150+
MyWorkbooksClient getMyWorkbooks();
151+
152+
/**
153+
* Gets the ComponentsClient object to access its operations.
154+
*
155+
* @return the ComponentsClient object.
156+
*/
157+
ComponentsClient getComponents();
158+
159+
/**
160+
* Gets the ComponentLinkedStorageAccountsOperationsClient object to access its operations.
161+
*
162+
* @return the ComponentLinkedStorageAccountsOperationsClient object.
163+
*/
164+
ComponentLinkedStorageAccountsOperationsClient getComponentLinkedStorageAccountsOperations();
165+
166+
/**
167+
* Gets the LiveTokensClient object to access its operations.
168+
*
169+
* @return the LiveTokensClient object.
170+
*/
171+
LiveTokensClient getLiveTokens();
158172
}

0 commit comments

Comments
 (0)