Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4543 from Azure/restapi_auto_redis/resource-manager
Browse files Browse the repository at this point in the history
Restapi auto redis/resource manager
  • Loading branch information
kpajdzik authored Jan 14, 2019
2 parents d89df96 + 846a61c commit 05140d5
Show file tree
Hide file tree
Showing 47 changed files with 5,679 additions and 709 deletions.
42 changes: 21 additions & 21 deletions lib/services/rediscachemanagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2017 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) 2019 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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* Parameters body to pass for resource name availability check.
*
*/
class CheckNameAvailabilityParameters {
/**
* Create a CheckNameAvailabilityParameters.
* @property {string} name Resource name.
* @property {string} type Resource type. The only legal value of this
* property for checking redis cache name availability is
* 'Microsoft.Cache/redis'.
*/
constructor() {
}

/**
* Defines the metadata of CheckNameAvailabilityParameters
*
* @returns {object} metadata of CheckNameAvailabilityParameters
*
*/
mapper() {
return {
required: false,
serializedName: 'CheckNameAvailabilityParameters',
type: {
name: 'Composite',
className: 'CheckNameAvailabilityParameters',
modelProperties: {
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: true,
serializedName: 'type',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = CheckNameAvailabilityParameters;
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class ExportRDBParameters {
/**
* Create a ExportRDBParameters.
* @member {string} [format] File format.
* @member {string} prefix Prefix to use for exported files.
* @member {string} container Container name to export to.
* @property {string} [format] File format.
* @property {string} prefix Prefix to use for exported files.
* @property {string} container Container name to export to.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class ImportRDBParameters {
/**
* Create a ImportRDBParameters.
* @member {string} [format] File format.
* @member {array} files files to import.
* @property {string} [format] File format.
* @property {array} files files to import.
*/
constructor() {
}
Expand Down
Loading

0 comments on commit 05140d5

Please sign in to comment.