Skip to content

Commit 11dbbe8

Browse files
author
SDKAuto
committed
CodeGen from PR 11859 in Azure/azure-rest-api-specs
Merge 091ad6a55ec321c52832d10be022ede6b6021d83 into c6ae7e9a1ff90c116baa2cacb944aebf74d72cb9
1 parent 6c6ce54 commit 11dbbe8

File tree

142 files changed

+9224
-2932
lines changed

Some content is hidden

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

142 files changed

+9224
-2932
lines changed

sdk/apimanagement/arm-apimanagement/README.md

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

1616
### How to use
1717

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

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

sdk/apimanagement/arm-apimanagement/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/apimanagement/arm-apimanagement/src/apiManagementClient.ts

Lines changed: 8 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
@@ -37,6 +36,9 @@ class ApiManagementClient extends ApiManagementClientContext {
3736
backend: operations.Backend;
3837
cache: operations.Cache;
3938
certificate: operations.Certificate;
39+
contentType: operations.ContentType;
40+
contentItem: operations.ContentItem;
41+
deletedServices: operations.DeletedServices;
4042
apiManagementOperations: operations.ApiManagementOperations;
4143
apiManagementServiceSkus: operations.ApiManagementServiceSkus;
4244
apiManagementService: operations.ApiManagementService;
@@ -111,6 +113,9 @@ class ApiManagementClient extends ApiManagementClientContext {
111113
this.backend = new operations.Backend(this);
112114
this.cache = new operations.Cache(this);
113115
this.certificate = new operations.Certificate(this);
116+
this.contentType = new operations.ContentType(this);
117+
this.contentItem = new operations.ContentItem(this);
118+
this.deletedServices = new operations.DeletedServices(this);
114119
this.apiManagementOperations = new operations.ApiManagementOperations(this);
115120
this.apiManagementServiceSkus = new operations.ApiManagementServiceSkus(this);
116121
this.apiManagementService = new operations.ApiManagementService(this);

sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts

Lines changed: 3 additions & 4 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
@@ -45,7 +44,7 @@ export class ApiManagementClientContext extends msRestAzure.AzureServiceClient {
4544

4645
super(credentials, options);
4746

48-
this.apiVersion = '2019-12-01';
47+
this.apiVersion = '2020-06-01-preview';
4948
this.acceptLanguage = 'en-US';
5049
this.longRunningOperationRetryTimeout = 30;
5150
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";

sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +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 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.
@@ -12,6 +12,7 @@ export {
1212
ApiDiagnosticCreateOrUpdateHeaders,
1313
ApiDiagnosticGetEntityTagHeaders,
1414
ApiDiagnosticGetHeaders,
15+
ApiDiagnosticUpdateHeaders,
1516
ApiManagementServiceIdentity,
1617
ApiManagementServiceResource,
1718
ApiManagementServiceSkuProperties,
@@ -39,6 +40,11 @@ export {
3940
CertificateConfiguration,
4041
CertificateContract,
4142
CertificateInformation,
43+
ContentItemContract,
44+
ContentTypeContract,
45+
DataMasking,
46+
DataMaskingEntity,
47+
DeletedServiceContract,
4248
DiagnosticCollection,
4349
DiagnosticContract,
4450
EmailTemplateContract,
@@ -56,6 +62,9 @@ export {
5662
IssueAttachmentContract,
5763
IssueCommentContract,
5864
IssueContract,
65+
KeyVaultContractCreateProperties,
66+
KeyVaultContractProperties,
67+
KeyVaultLastAccessStatusContractProperties,
5968
LoggerContract,
6069
NamedValueContract,
6170
NamedValueCreateContract,

sdk/apimanagement/arm-apimanagement/src/models/apiExportMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +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 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.

sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +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 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.
@@ -39,6 +39,11 @@ export {
3939
CertificateConfiguration,
4040
CertificateContract,
4141
CertificateInformation,
42+
ContentItemContract,
43+
ContentTypeContract,
44+
DataMasking,
45+
DataMaskingEntity,
46+
DeletedServiceContract,
4247
DiagnosticContract,
4348
EmailTemplateContract,
4449
EmailTemplateParametersContractProperties,
@@ -56,6 +61,9 @@ export {
5661
IssueAttachmentContract,
5762
IssueCommentContract,
5863
IssueContract,
64+
KeyVaultContractCreateProperties,
65+
KeyVaultContractProperties,
66+
KeyVaultLastAccessStatusContractProperties,
5967
LoggerContract,
6068
NamedValueContract,
6169
NamedValueCreateContract,

sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +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 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.
@@ -39,6 +39,11 @@ export {
3939
CertificateConfiguration,
4040
CertificateContract,
4141
CertificateInformation,
42+
ContentItemContract,
43+
ContentTypeContract,
44+
DataMasking,
45+
DataMaskingEntity,
46+
DeletedServiceContract,
4247
DiagnosticContract,
4348
EmailTemplateContract,
4449
EmailTemplateParametersContractProperties,
@@ -56,6 +61,9 @@ export {
5661
IssueCommentCollection,
5762
IssueCommentContract,
5863
IssueContract,
64+
KeyVaultContractCreateProperties,
65+
KeyVaultContractProperties,
66+
KeyVaultLastAccessStatusContractProperties,
5967
LoggerContract,
6068
NamedValueContract,
6169
NamedValueCreateContract,

sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +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 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.
@@ -12,6 +12,7 @@ export {
1212
ApiIssueCreateOrUpdateHeaders,
1313
ApiIssueGetEntityTagHeaders,
1414
ApiIssueGetHeaders,
15+
ApiIssueUpdateHeaders,
1516
ApiManagementServiceIdentity,
1617
ApiManagementServiceResource,
1718
ApiManagementServiceSkuProperties,
@@ -39,6 +40,11 @@ export {
3940
CertificateConfiguration,
4041
CertificateContract,
4142
CertificateInformation,
43+
ContentItemContract,
44+
ContentTypeContract,
45+
DataMasking,
46+
DataMaskingEntity,
47+
DeletedServiceContract,
4248
DiagnosticContract,
4349
EmailTemplateContract,
4450
EmailTemplateParametersContractProperties,
@@ -57,6 +63,9 @@ export {
5763
IssueCommentContract,
5864
IssueContract,
5965
IssueUpdateContract,
66+
KeyVaultContractCreateProperties,
67+
KeyVaultContractProperties,
68+
KeyVaultLastAccessStatusContractProperties,
6069
LoggerContract,
6170
NamedValueContract,
6271
NamedValueCreateContract,

sdk/apimanagement/arm-apimanagement/src/models/apiManagementOperationsMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +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 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.

0 commit comments

Comments
 (0)