Skip to content

Commit

Permalink
Generated from 1949140635efebf7dd93d103a90479e4b32b35a1
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Nov 9, 2020
1 parent 7e9fcae commit 0d3f30c
Show file tree
Hide file tree
Showing 142 changed files with 9,221 additions and 2,931 deletions.
9 changes: 4 additions & 5 deletions sdk/apimanagement/arm-apimanagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ npm install @azure/arm-apimanagement

### How to use

#### nodejs - Authentication, client creation and listByService api as an example written in TypeScript.
#### nodejs - client creation and listByService api as an example written in TypeScript.

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

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

##### Sample code

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
```typescript
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
import { ApiManagementClient, ApiManagementModels, ApiManagementMappers } from "@azure/arm-apimanagement";
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
const { ApiManagementClient } = require("@azure/arm-apimanagement");
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];

msRestNodeAuth.interactiveLogin().then((creds) => {
Expand Down
4 changes: 2 additions & 2 deletions sdk/apimanagement/arm-apimanagement/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const config = {
"@azure/ms-rest-azure-js": "msRestAzure"
},
banner: `/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down
11 changes: 8 additions & 3 deletions sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
Expand Down Expand Up @@ -37,6 +36,9 @@ class ApiManagementClient extends ApiManagementClientContext {
backend: operations.Backend;
cache: operations.Cache;
certificate: operations.Certificate;
contentType: operations.ContentType;
contentItem: operations.ContentItem;
deletedServices: operations.DeletedServices;
apiManagementOperations: operations.ApiManagementOperations;
apiManagementServiceSkus: operations.ApiManagementServiceSkus;
apiManagementService: operations.ApiManagementService;
Expand Down Expand Up @@ -111,6 +113,9 @@ class ApiManagementClient extends ApiManagementClientContext {
this.backend = new operations.Backend(this);
this.cache = new operations.Cache(this);
this.certificate = new operations.Certificate(this);
this.contentType = new operations.ContentType(this);
this.contentItem = new operations.ContentItem(this);
this.deletedServices = new operations.DeletedServices(this);
this.apiManagementOperations = new operations.ApiManagementOperations(this);
this.apiManagementServiceSkus = new operations.ApiManagementServiceSkus(this);
this.apiManagementService = new operations.ApiManagementService(this);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
Expand Down Expand Up @@ -45,7 +44,7 @@ export class ApiManagementClientContext extends msRestAzure.AzureServiceClient {

super(credentials, options);

this.apiVersion = '2019-12-01';
this.apiVersion = '2020-06-01-preview';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand All @@ -12,6 +12,7 @@ export {
ApiDiagnosticCreateOrUpdateHeaders,
ApiDiagnosticGetEntityTagHeaders,
ApiDiagnosticGetHeaders,
ApiDiagnosticUpdateHeaders,
ApiManagementServiceIdentity,
ApiManagementServiceResource,
ApiManagementServiceSkuProperties,
Expand Down Expand Up @@ -39,6 +40,11 @@ export {
CertificateConfiguration,
CertificateContract,
CertificateInformation,
ContentItemContract,
ContentTypeContract,
DataMasking,
DataMaskingEntity,
DeletedServiceContract,
DiagnosticCollection,
DiagnosticContract,
EmailTemplateContract,
Expand All @@ -56,6 +62,9 @@ export {
IssueAttachmentContract,
IssueCommentContract,
IssueContract,
KeyVaultContractCreateProperties,
KeyVaultContractProperties,
KeyVaultLastAccessStatusContractProperties,
LoggerContract,
NamedValueContract,
NamedValueCreateContract,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down Expand Up @@ -39,6 +39,11 @@ export {
CertificateConfiguration,
CertificateContract,
CertificateInformation,
ContentItemContract,
ContentTypeContract,
DataMasking,
DataMaskingEntity,
DeletedServiceContract,
DiagnosticContract,
EmailTemplateContract,
EmailTemplateParametersContractProperties,
Expand All @@ -56,6 +61,9 @@ export {
IssueAttachmentContract,
IssueCommentContract,
IssueContract,
KeyVaultContractCreateProperties,
KeyVaultContractProperties,
KeyVaultLastAccessStatusContractProperties,
LoggerContract,
NamedValueContract,
NamedValueCreateContract,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down Expand Up @@ -39,6 +39,11 @@ export {
CertificateConfiguration,
CertificateContract,
CertificateInformation,
ContentItemContract,
ContentTypeContract,
DataMasking,
DataMaskingEntity,
DeletedServiceContract,
DiagnosticContract,
EmailTemplateContract,
EmailTemplateParametersContractProperties,
Expand All @@ -56,6 +61,9 @@ export {
IssueCommentCollection,
IssueCommentContract,
IssueContract,
KeyVaultContractCreateProperties,
KeyVaultContractProperties,
KeyVaultLastAccessStatusContractProperties,
LoggerContract,
NamedValueContract,
NamedValueCreateContract,
Expand Down
13 changes: 11 additions & 2 deletions sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand All @@ -12,6 +12,7 @@ export {
ApiIssueCreateOrUpdateHeaders,
ApiIssueGetEntityTagHeaders,
ApiIssueGetHeaders,
ApiIssueUpdateHeaders,
ApiManagementServiceIdentity,
ApiManagementServiceResource,
ApiManagementServiceSkuProperties,
Expand Down Expand Up @@ -39,6 +40,11 @@ export {
CertificateConfiguration,
CertificateContract,
CertificateInformation,
ContentItemContract,
ContentTypeContract,
DataMasking,
DataMaskingEntity,
DeletedServiceContract,
DiagnosticContract,
EmailTemplateContract,
EmailTemplateParametersContractProperties,
Expand All @@ -57,6 +63,9 @@ export {
IssueCommentContract,
IssueContract,
IssueUpdateContract,
KeyVaultContractCreateProperties,
KeyVaultContractProperties,
KeyVaultLastAccessStatusContractProperties,
LoggerContract,
NamedValueContract,
NamedValueCreateContract,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down Expand Up @@ -43,6 +43,11 @@ export {
CertificateContract,
CertificateInformation,
CloudError,
ContentItemContract,
ContentTypeContract,
DataMasking,
DataMaskingEntity,
DeletedServiceContract,
DiagnosticContract,
EmailTemplateContract,
EmailTemplateParametersContractProperties,
Expand All @@ -59,6 +64,9 @@ export {
IssueAttachmentContract,
IssueCommentContract,
IssueContract,
KeyVaultContractCreateProperties,
KeyVaultContractProperties,
KeyVaultLastAccessStatusContractProperties,
LoggerContract,
NamedValueContract,
NamedValueCreateContract,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down
13 changes: 11 additions & 2 deletions sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand All @@ -25,6 +25,7 @@ export {
ApiReleaseContract,
ApiTagResourceContractProperties,
ApiUpdateContract,
ApiUpdateHeaders,
ApiVersionConstraint,
ApiVersionSetContract,
ApiVersionSetContractDetails,
Expand All @@ -46,6 +47,11 @@ export {
CertificateConfiguration,
CertificateContract,
CertificateInformation,
ContentItemContract,
ContentTypeContract,
DataMasking,
DataMaskingEntity,
DeletedServiceContract,
DiagnosticContract,
EmailTemplateContract,
EmailTemplateParametersContractProperties,
Expand All @@ -62,6 +68,9 @@ export {
IssueAttachmentContract,
IssueCommentContract,
IssueContract,
KeyVaultContractCreateProperties,
KeyVaultContractProperties,
KeyVaultLastAccessStatusContractProperties,
LoggerContract,
NamedValueContract,
NamedValueCreateContract,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand All @@ -17,6 +17,7 @@ export {
ApiOperationCreateOrUpdateHeaders,
ApiOperationGetEntityTagHeaders,
ApiOperationGetHeaders,
ApiOperationUpdateHeaders,
ApiReleaseContract,
ApiVersionConstraint,
ApiVersionSetContract,
Expand All @@ -39,6 +40,11 @@ export {
CertificateConfiguration,
CertificateContract,
CertificateInformation,
ContentItemContract,
ContentTypeContract,
DataMasking,
DataMaskingEntity,
DeletedServiceContract,
DiagnosticContract,
EmailTemplateContract,
EmailTemplateParametersContractProperties,
Expand All @@ -55,6 +61,9 @@ export {
IssueAttachmentContract,
IssueCommentContract,
IssueContract,
KeyVaultContractCreateProperties,
KeyVaultContractProperties,
KeyVaultLastAccessStatusContractProperties,
LoggerContract,
NamedValueContract,
NamedValueCreateContract,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down Expand Up @@ -39,6 +39,11 @@ export {
CertificateConfiguration,
CertificateContract,
CertificateInformation,
ContentItemContract,
ContentTypeContract,
DataMasking,
DataMaskingEntity,
DeletedServiceContract,
DiagnosticContract,
EmailTemplateContract,
EmailTemplateParametersContractProperties,
Expand All @@ -55,6 +60,9 @@ export {
IssueAttachmentContract,
IssueCommentContract,
IssueContract,
KeyVaultContractCreateProperties,
KeyVaultContractProperties,
KeyVaultLastAccessStatusContractProperties,
LoggerContract,
NamedValueContract,
NamedValueCreateContract,
Expand Down
Loading

0 comments on commit 0d3f30c

Please sign in to comment.