Skip to content

Commit 9031d2e

Browse files
authored
arm-appplatform-release (Azure#13025)
1 parent 5d922f7 commit 9031d2e

31 files changed

+805
-95
lines changed

sdk/appplatform/arm-appplatform/README.md

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

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and get services as an example written in TypeScript.
18+
#### nodejs - client creation and get services 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 { AppPlatformManagementClient, AppPlatformManagementModels, AppPlatformManagementMappers } from "@azure/arm-appplatform";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { AppPlatformManagementClient } = require("@azure/arm-appplatform");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

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

sdk/appplatform/arm-appplatform/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/arm-appplatform",
33
"author": "Microsoft Corporation",
44
"description": "AppPlatformManagementClient Library with typescript type definitions for node.js and browser.",
5-
"version": "1.0.0",
5+
"version": "1.1.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.0.1",
88
"@azure/ms-rest-js": "^2.0.4",

sdk/appplatform/arm-appplatform/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/appplatform/arm-appplatform/src/appPlatformManagementClient.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
@@ -26,6 +25,7 @@ class AppPlatformManagementClient extends AppPlatformManagementClientContext {
2625
customDomains: operations.CustomDomains;
2726
deployments: operations.Deployments;
2827
operations: operations.Operations;
28+
runtimeVersions: operations.RuntimeVersions;
2929
skus: operations.Skus;
3030

3131
/**
@@ -46,6 +46,7 @@ class AppPlatformManagementClient extends AppPlatformManagementClientContext {
4646
this.customDomains = new operations.CustomDomains(this);
4747
this.deployments = new operations.Deployments(this);
4848
this.operations = new operations.Operations(this);
49+
this.runtimeVersions = new operations.RuntimeVersions(this);
4950
this.skus = new operations.Skus(this);
5051
}
5152
}

sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts

Lines changed: 7 additions & 8 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
@@ -13,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js";
1312
import * as msRestAzure from "@azure/ms-rest-azure-js";
1413

1514
const packageName = "@azure/arm-appplatform";
16-
const packageVersion = "1.0.0";
15+
const packageVersion = "1.1.0";
1716

1817
export class AppPlatformManagementClientContext extends msRestAzure.AzureServiceClient {
1918
credentials: msRest.ServiceClientCredentials;
@@ -38,25 +37,25 @@ export class AppPlatformManagementClientContext extends msRestAzure.AzureService
3837
if (!options) {
3938
options = {};
4039
}
41-
if(!options.userAgent) {
40+
if (!options.userAgent) {
4241
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
4342
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
4443
}
4544

4645
super(credentials, options);
4746

48-
this.apiVersion = '2020-07-01';
47+
this.apiVersion = '2020-11-01-preview';
4948
this.acceptLanguage = 'en-US';
5049
this.longRunningOperationRetryTimeout = 30;
5150
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
5251
this.requestContentType = "application/json; charset=utf-8";
5352
this.credentials = credentials;
5453
this.subscriptionId = subscriptionId;
5554

56-
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
55+
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
5756
this.acceptLanguage = options.acceptLanguage;
5857
}
59-
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
58+
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
6059
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
6160
}
6261
}

sdk/appplatform/arm-appplatform/src/models/appsMappers.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
*/
88

99
export {
10+
ApplicationInsightsAgentVersions,
1011
AppResource,
1112
AppResourceCollection,
1213
AppResourceProperties,
@@ -35,8 +36,10 @@ export {
3536
MonitoringSettingProperties,
3637
MonitoringSettingResource,
3738
NetworkProfile,
39+
NetworkProfileOutboundIPs,
3840
PersistentDisk,
3941
ProxyResource,
42+
RequiredTraffic,
4043
Resource,
4144
ResourceUploadDefinition,
4245
ServiceResource,

sdk/appplatform/arm-appplatform/src/models/bindingsMappers.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
*/
88

99
export {
10+
ApplicationInsightsAgentVersions,
1011
AppResource,
1112
AppResourceProperties,
1213
BaseResource,
@@ -33,8 +34,10 @@ export {
3334
MonitoringSettingProperties,
3435
MonitoringSettingResource,
3536
NetworkProfile,
37+
NetworkProfileOutboundIPs,
3638
PersistentDisk,
3739
ProxyResource,
40+
RequiredTraffic,
3841
Resource,
3942
ServiceResource,
4043
Sku,

sdk/appplatform/arm-appplatform/src/models/certificatesMappers.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
*/
88

99
export {
10+
ApplicationInsightsAgentVersions,
1011
AppResource,
1112
AppResourceProperties,
1213
BaseResource,
@@ -33,8 +34,10 @@ export {
3334
MonitoringSettingProperties,
3435
MonitoringSettingResource,
3536
NetworkProfile,
37+
NetworkProfileOutboundIPs,
3638
PersistentDisk,
3739
ProxyResource,
40+
RequiredTraffic,
3841
Resource,
3942
ServiceResource,
4043
Sku,

sdk/appplatform/arm-appplatform/src/models/configServersMappers.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
*/
88

99
export {
10+
ApplicationInsightsAgentVersions,
1011
AppResource,
1112
AppResourceProperties,
1213
BaseResource,
@@ -20,6 +21,8 @@ export {
2021
ConfigServerProperties,
2122
ConfigServerResource,
2223
ConfigServerSettings,
24+
ConfigServerSettingsErrorRecord,
25+
ConfigServerSettingsValidateResult,
2326
CustomDomainProperties,
2427
CustomDomainResource,
2528
DeploymentInstance,
@@ -32,8 +35,10 @@ export {
3235
MonitoringSettingProperties,
3336
MonitoringSettingResource,
3437
NetworkProfile,
38+
NetworkProfileOutboundIPs,
3539
PersistentDisk,
3640
ProxyResource,
41+
RequiredTraffic,
3742
Resource,
3843
ServiceResource,
3944
Sku,

sdk/appplatform/arm-appplatform/src/models/customDomainsMappers.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
*/
88

99
export {
10+
ApplicationInsightsAgentVersions,
1011
AppResource,
1112
AppResourceProperties,
1213
BaseResource,
@@ -33,8 +34,10 @@ export {
3334
MonitoringSettingProperties,
3435
MonitoringSettingResource,
3536
NetworkProfile,
37+
NetworkProfileOutboundIPs,
3638
PersistentDisk,
3739
ProxyResource,
40+
RequiredTraffic,
3841
Resource,
3942
ServiceResource,
4043
Sku,

0 commit comments

Comments
 (0)