Skip to content
Merged
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
70 changes: 35 additions & 35 deletions packages/@azure/arm-sql/.npmignore
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
#git
.git
.gitignore
#gulp
gulpfile.js
#documentation
doc/
docs/
#dependencies
node_modules/
#samples
sample/
samples/
#tests
test/
tests/
coverage/
#tools and scripts
tools/
scripts/
#IDE settings
*.sln
.vscode/
.idea
.editorconfig
.ntvs_analysis.*
#build tools
.travis.yml
.jenkins.yml
.codeclimate.yml
appveyor.yml
# Nuget packages #
.nuget/
packages/
packages.config
#git
.git
.gitignore
#gulp
gulpfile.js
#documentation
doc/
docs/
#dependencies
node_modules/
#samples
sample/
samples/
#tests
test/
tests/
coverage/
#tools and scripts
tools/
scripts/
#IDE settings
*.sln
.vscode/
.idea
.editorconfig
.ntvs_analysis.*
#build tools
.travis.yml
.jenkins.yml
.codeclimate.yml
appveyor.yml
# Nuget packages #
.nuget/
packages/
packages.config
42 changes: 21 additions & 21 deletions packages/@azure/arm-sql/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion packages/@azure/arm-sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
console.log("The result is:");
console.log(result);
}).catch((err) => {
console.log('An error occurred:');
console.log("An error occurred:");
console.error(err);
});
});
Expand Down
4 changes: 2 additions & 2 deletions packages/@azure/arm-sql/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4216,8 +4216,8 @@ export interface BackupLongTermRetentionPolicy extends ProxyResource {
*/
weeklyRetention?: string;
/**
* @member {string} [monthlyRetention] The montly retention policy for an LTR
* backup in an ISO 8601 format.
* @member {string} [monthlyRetention] The monthly retention policy for an
* LTR backup in an ISO 8601 format.
*/
monthlyRetention?: string;
/**
Expand Down
36 changes: 18 additions & 18 deletions packages/@azure/arm-sql/lib/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,45 +184,45 @@ export const credentialName: msRest.OperationURLParameter = {
}
}
};
export const databaseName: msRest.OperationURLParameter = {
parameterPath: "databaseName",
export const dataMaskingPolicyName: msRest.OperationURLParameter = {
parameterPath: "dataMaskingPolicyName",
mapper: {
required: true,
serializedName: "databaseName",
isConstant: true,
serializedName: "dataMaskingPolicyName",
defaultValue: 'Default',
type: {
name: "String"
}
}
};
export const databaseState: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"databaseState"
],
export const dataMaskingRuleName: msRest.OperationURLParameter = {
parameterPath: "dataMaskingRuleName",
mapper: {
serializedName: "databaseState",
required: true,
serializedName: "dataMaskingRuleName",
type: {
name: "String"
}
}
};
export const dataMaskingPolicyName: msRest.OperationURLParameter = {
parameterPath: "dataMaskingPolicyName",
export const databaseName: msRest.OperationURLParameter = {
parameterPath: "databaseName",
mapper: {
required: true,
isConstant: true,
serializedName: "dataMaskingPolicyName",
defaultValue: 'Default',
serializedName: "databaseName",
type: {
name: "String"
}
}
};
export const dataMaskingRuleName: msRest.OperationURLParameter = {
parameterPath: "dataMaskingRuleName",
export const databaseState: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"databaseState"
],
mapper: {
required: true,
serializedName: "dataMaskingRuleName",
serializedName: "databaseState",
type: {
name: "String"
}
Expand Down
15 changes: 14 additions & 1 deletion packages/@azure/arm-sql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,23 @@
"bugs": {
"url": "https://github.com/azure/azure-sdk-for-js/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
"esm/**/*.js",
"esm/**/*.js.map",
"esm/**/*.d.ts",
"esm/**/*.d.ts.map",
"lib/**/*.ts",
"rollup.config.js",
"tsconfig.json"
],
"scripts": {
"build": "tsc && rollup -c rollup.config.js && npm run minify",
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-sql.js.map'\" -o ./dist/arm-sql.min.js ./dist/arm-sql.js",
"prepare": "npm run build"
"prepack": "npm install && npm run build"
},
"sideEffects": false
}