Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/apimanagement/arm-apimanagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Microsoft
Copyright (c) 2020 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 3 additions & 2 deletions sdk/apimanagement/arm-apimanagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ npm install @azure/arm-apimanagement

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

- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
```bash
npm install @azure/ms-rest-nodeauth
npm install @azure/ms-rest-nodeauth@"^3.0.0"
```

##### Sample code
Expand Down Expand Up @@ -109,4 +110,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to

- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fapimanagement%2Farm-apimanagement%2FREADME.png)
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/apimanagement/arm-apimanagement/README.png)
14 changes: 7 additions & 7 deletions sdk/apimanagement/arm-apimanagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "ApiManagementClient Library with typescript type definitions for node.js and browser.",
"version": "5.1.1",
"dependencies": {
"@azure/ms-rest-azure-js": "^1.3.2",
"@azure/ms-rest-js": "^1.8.1",
"tslib": "^1.9.3"
"@azure/ms-rest-azure-js": "^2.0.1",
"@azure/ms-rest-js": "^2.0.4",
"tslib": "^1.10.0"
},
"keywords": [
"node",
Expand All @@ -20,11 +20,11 @@
"module": "./esm/apiManagementClient.js",
"types": "./esm/apiManagementClient.d.ts",
"devDependencies": {
"typescript": "^3.1.1",
"rollup": "^0.66.2",
"rollup-plugin-node-resolve": "^3.4.0",
"typescript": "^3.5.3",
"rollup": "^1.18.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.4.9"
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/apimanagement/arm-apimanagement",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/apimanagement/arm-apimanagement/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const config = {
*/`
},
plugins: [
nodeResolve({ module: true }),
nodeResolve({ mainFields: ['module', 'main'] }),
sourcemaps()
]
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";

const packageName = "@azure/arm-apimanagement";
const packageVersion = "5.1.0";
const packageVersion = "5.1.1";

export class ApiManagementClientContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;
Expand Down
18 changes: 12 additions & 6 deletions sdk/apimanagement/arm-apimanagement/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,6 @@ export interface AuthenticationSettingsContract {
* OpenID Connect Authentication Settings
*/
openid?: OpenIdAuthenticationSettingsContract;
/**
* Specifies whether subscription key is required during call to this API, true - API is included
* into closed products only, false - API is included into open products alone, null - there is a
* mix of products.
*/
subscriptionKeyRequired?: boolean;
}

/**
Expand Down Expand Up @@ -3115,6 +3109,10 @@ export interface IdentityProviderBaseParameters {
* 'twitter', 'aad', 'aadB2C'
*/
type?: IdentityProviderType;
/**
* The TenantId to use instead of Common when logging into Active Directory
*/
signinTenant?: string;
/**
* List of Allowed Tenants when configuring Azure Active Directory login.
*/
Expand Down Expand Up @@ -3150,6 +3148,10 @@ export interface IdentityProviderUpdateParameters {
* 'twitter', 'aad', 'aadB2C'
*/
type?: IdentityProviderType;
/**
* The TenantId to use instead of Common when logging into Active Directory
*/
signinTenant?: string;
/**
* List of Allowed Tenants when configuring Azure Active Directory login.
*/
Expand Down Expand Up @@ -3196,6 +3198,10 @@ export interface IdentityProviderContract extends Resource {
* 'twitter', 'aad', 'aadB2C'
*/
identityProviderContractType?: IdentityProviderType;
/**
* The TenantId to use instead of Common when logging into Active Directory
*/
signinTenant?: string;
/**
* List of Allowed Tenants when configuring Azure Active Directory login.
*/
Expand Down
24 changes: 18 additions & 6 deletions sdk/apimanagement/arm-apimanagement/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,6 @@ export const AuthenticationSettingsContract: msRest.CompositeMapper = {
name: "Composite",
className: "OpenIdAuthenticationSettingsContract"
}
},
subscriptionKeyRequired: {
serializedName: "subscriptionKeyRequired",
type: {
name: "Boolean"
}
}
}
}
Expand Down Expand Up @@ -5336,6 +5330,12 @@ export const IdentityProviderBaseParameters: msRest.CompositeMapper = {
name: "String"
}
},
signinTenant: {
serializedName: "signinTenant",
type: {
name: "String"
}
},
allowedTenants: {
serializedName: "allowedTenants",
constraints: {
Expand Down Expand Up @@ -5408,6 +5408,12 @@ export const IdentityProviderUpdateParameters: msRest.CompositeMapper = {
name: "String"
}
},
signinTenant: {
serializedName: "properties.signinTenant",
type: {
name: "String"
}
},
allowedTenants: {
serializedName: "properties.allowedTenants",
constraints: {
Expand Down Expand Up @@ -5499,6 +5505,12 @@ export const IdentityProviderContract: msRest.CompositeMapper = {
name: "String"
}
},
signinTenant: {
serializedName: "properties.signinTenant",
type: {
name: "String"
}
},
allowedTenants: {
serializedName: "properties.allowedTenants",
constraints: {
Expand Down
2 changes: 1 addition & 1 deletion sdk/apimanagement/arm-apimanagement/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es6"],
"lib": ["es6", "dom"],
"declaration": true,
"outDir": "./esm",
"importHelpers": true
Expand Down