Skip to content
Closed
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/mysql/arm-mysql/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/mysql/arm-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ npm install @azure/arm-mysql

##### 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 @@ -99,4 +100,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%2Fmysql%2Farm-mysql%2FREADME.png)
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/mysql/arm-mysql/README.png)
14 changes: 7 additions & 7 deletions sdk/mysql/arm-mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "MySQLManagementClient Library with typescript type definitions for node.js and browser.",
"version": "3.3.0",
"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/mySQLManagementClient.js",
"types": "./esm/mySQLManagementClient.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/mysql/arm-mysql",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/mysql/arm-mysql/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
18 changes: 9 additions & 9 deletions sdk/mysql/arm-mysql/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export interface ServerPropertiesForCreate {
*/
createMode: "ServerPropertiesForCreate";
/**
* Server version. Possible values include: '5.6', '5.7'
* Server version. Possible values include: '5.6', '5.7', '8.0'
*/
version?: ServerVersion;
/**
Expand All @@ -105,7 +105,7 @@ export interface ServerPropertiesForDefaultCreate {
*/
createMode: "Default";
/**
* Server version. Possible values include: '5.6', '5.7'
* Server version. Possible values include: '5.6', '5.7', '8.0'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -137,7 +137,7 @@ export interface ServerPropertiesForRestore {
*/
createMode: "PointInTimeRestore";
/**
* Server version. Possible values include: '5.6', '5.7'
* Server version. Possible values include: '5.6', '5.7', '8.0'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -169,7 +169,7 @@ export interface ServerPropertiesForGeoRestore {
*/
createMode: "GeoRestore";
/**
* Server version. Possible values include: '5.6', '5.7'
* Server version. Possible values include: '5.6', '5.7', '8.0'
*/
version?: ServerVersion;
/**
Expand All @@ -196,7 +196,7 @@ export interface ServerPropertiesForReplica {
*/
createMode: "Replica";
/**
* Server version. Possible values include: '5.6', '5.7'
* Server version. Possible values include: '5.6', '5.7', '8.0'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -255,7 +255,7 @@ export interface Server extends TrackedResource {
*/
administratorLogin?: string;
/**
* Server version. Possible values include: '5.6', '5.7'
* Server version. Possible values include: '5.6', '5.7', '8.0'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -333,7 +333,7 @@ export interface ServerUpdateParameters {
*/
administratorLoginPassword?: string;
/**
* The version of a server. Possible values include: '5.6', '5.7'
* The version of a server. Possible values include: '5.6', '5.7', '8.0'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -715,11 +715,11 @@ export interface PerformanceTierListResult extends Array<PerformanceTierProperti

/**
* Defines values for ServerVersion.
* Possible values include: '5.6', '5.7'
* Possible values include: '5.6', '5.7', '8.0'
* @readonly
* @enum {string}
*/
export type ServerVersion = '5.6' | '5.7';
export type ServerVersion = '5.6' | '5.7' | '8.0';

/**
* Defines values for SslEnforcementEnum.
Expand Down
2 changes: 1 addition & 1 deletion sdk/mysql/arm-mysql/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