Skip to content

Commit 447c35f

Browse files
author
SDKAuto
committed
CodeGen from PR 13269 in Azure/azure-rest-api-specs
Merge 66c63683ee74c5fb3fcf42b0b489bb8a1b54fad7 into e5644555384e5001fae0bf1aacf496cc7db5bcff
1 parent 1cc2c94 commit 447c35f

Some content is hidden

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

47 files changed

+487
-10790
lines changed

sdk/applicationinsights/arm-appinsights/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Microsoft
3+
Copyright (c) 2021 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/applicationinsights/arm-appinsights/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @azure/arm-appinsights
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and list operations as an example written in TypeScript.
18+
#### nodejs - client creation and list operations as an example written in TypeScript.
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
2626

2727
##### Sample code
2828

29+
While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
2930
```typescript
30-
import * as msRest from "@azure/ms-rest-js";
31-
import * as msRestAzure from "@azure/ms-rest-azure-js";
32-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { ApplicationInsightsManagementClient, ApplicationInsightsManagementModels, ApplicationInsightsManagementMappers } from "@azure/arm-appinsights";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { ApplicationInsightsManagementClient } = require("@azure/arm-appinsights");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

3635
msRestNodeAuth.interactiveLogin().then((creds) => {

sdk/applicationinsights/arm-appinsights/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is
@@ -18,24 +17,7 @@ import { ApplicationInsightsManagementClientContext } from "./applicationInsight
1817
class ApplicationInsightsManagementClient extends ApplicationInsightsManagementClientContext {
1918
// Operation groups
2019
operations: operations.Operations;
21-
annotations: operations.Annotations;
22-
aPIKeys: operations.APIKeys;
23-
exportConfigurations: operations.ExportConfigurations;
24-
componentCurrentBillingFeatures: operations.ComponentCurrentBillingFeatures;
25-
componentQuotaStatus: operations.ComponentQuotaStatus;
26-
componentFeatureCapabilities: operations.ComponentFeatureCapabilities;
27-
componentAvailableFeatures: operations.ComponentAvailableFeatures;
28-
proactiveDetectionConfigurations: operations.ProactiveDetectionConfigurations;
29-
workItemConfigurations: operations.WorkItemConfigurations;
30-
favorites: operations.Favorites;
31-
webTestLocations: operations.WebTestLocations;
3220
webTests: operations.WebTests;
33-
analyticsItems: operations.AnalyticsItems;
34-
workbooks: operations.Workbooks;
35-
myWorkbooks: operations.MyWorkbooks;
36-
components: operations.Components;
37-
componentLinkedStorageAccounts: operations.ComponentLinkedStorageAccountsOperations;
38-
liveToken: operations.LiveToken;
3921

4022
/**
4123
* Initializes a new instance of the ApplicationInsightsManagementClient class.
@@ -46,24 +28,7 @@ class ApplicationInsightsManagementClient extends ApplicationInsightsManagementC
4628
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApplicationInsightsManagementClientOptions) {
4729
super(credentials, subscriptionId, options);
4830
this.operations = new operations.Operations(this);
49-
this.annotations = new operations.Annotations(this);
50-
this.aPIKeys = new operations.APIKeys(this);
51-
this.exportConfigurations = new operations.ExportConfigurations(this);
52-
this.componentCurrentBillingFeatures = new operations.ComponentCurrentBillingFeatures(this);
53-
this.componentQuotaStatus = new operations.ComponentQuotaStatus(this);
54-
this.componentFeatureCapabilities = new operations.ComponentFeatureCapabilities(this);
55-
this.componentAvailableFeatures = new operations.ComponentAvailableFeatures(this);
56-
this.proactiveDetectionConfigurations = new operations.ProactiveDetectionConfigurations(this);
57-
this.workItemConfigurations = new operations.WorkItemConfigurations(this);
58-
this.favorites = new operations.Favorites(this);
59-
this.webTestLocations = new operations.WebTestLocations(this);
6031
this.webTests = new operations.WebTests(this);
61-
this.analyticsItems = new operations.AnalyticsItems(this);
62-
this.workbooks = new operations.Workbooks(this);
63-
this.myWorkbooks = new operations.MyWorkbooks(this);
64-
this.components = new operations.Components(this);
65-
this.componentLinkedStorageAccounts = new operations.ComponentLinkedStorageAccountsOperations(this);
66-
this.liveToken = new operations.LiveToken(this);
6732
}
6833
}
6934

sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is
@@ -18,6 +17,7 @@ const packageVersion = "3.0.0";
1817
export class ApplicationInsightsManagementClientContext extends msRestAzure.AzureServiceClient {
1918
credentials: msRest.ServiceClientCredentials;
2019
subscriptionId: string;
20+
apiVersion?: string;
2121

2222
/**
2323
* Initializes a new instance of the ApplicationInsightsManagementClient class.
@@ -43,6 +43,7 @@ export class ApplicationInsightsManagementClientContext extends msRestAzure.Azur
4343

4444
super(credentials, options);
4545

46+
this.apiVersion = '2020-10-05-preview';
4647
this.acceptLanguage = 'en-US';
4748
this.longRunningOperationRetryTimeout = 30;
4849
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";

sdk/applicationinsights/arm-appinsights/src/models/aPIKeysMappers.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

sdk/applicationinsights/arm-appinsights/src/models/analyticsItemsMappers.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

sdk/applicationinsights/arm-appinsights/src/models/annotationsMappers.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

sdk/applicationinsights/arm-appinsights/src/models/componentAvailableFeaturesMappers.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

sdk/applicationinsights/arm-appinsights/src/models/componentCurrentBillingFeaturesMappers.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)