From 7a815a8a21eb6d6d344da31907a8f27cb0d25b5a Mon Sep 17 00:00:00 2001 From: Kamil Pajdzik Date: Wed, 10 Oct 2018 13:46:12 -0700 Subject: [PATCH] Generate @azure/arm-rediscache package --- packages/@azure/arm-rediscache/.npmignore | 35 + packages/@azure/arm-rediscache/LICENSE.txt | 21 + packages/@azure/arm-rediscache/README.md | 77 + .../arm-rediscache/dist/arm-rediscache.js | 2949 +++++++++++++++++ .../arm-rediscache/dist/arm-rediscache.js.map | 1 + .../arm-rediscache/dist/arm-rediscache.min.js | 1 + .../dist/arm-rediscache.min.js.map | 1 + .../lib/models/firewallRulesMappers.ts | 28 + .../@azure/arm-rediscache/lib/models/index.ts | 1492 +++++++++ .../lib/models/linkedServerMappers.ts | 28 + .../arm-rediscache/lib/models/mappers.ts | 1177 +++++++ .../lib/models/operationsMappers.ts | 17 + .../arm-rediscache/lib/models/parameters.ts | 125 + .../lib/models/patchSchedulesMappers.ts | 27 + .../arm-rediscache/lib/models/redisMappers.ts | 37 + .../lib/operations/firewallRules.ts | 335 ++ .../arm-rediscache/lib/operations/index.ts | 15 + .../lib/operations/linkedServer.ts | 331 ++ .../lib/operations/operations.ts | 123 + .../lib/operations/patchSchedules.ts | 325 ++ .../arm-rediscache/lib/operations/redis.ts | 928 ++++++ .../lib/redisManagementClient.ts | 51 + .../lib/redisManagementClientContext.ts | 66 + packages/@azure/arm-rediscache/package.json | 42 + .../@azure/arm-rediscache/rollup.config.js | 31 + packages/@azure/arm-rediscache/tsconfig.json | 19 + 26 files changed, 8282 insertions(+) create mode 100644 packages/@azure/arm-rediscache/.npmignore create mode 100644 packages/@azure/arm-rediscache/LICENSE.txt create mode 100644 packages/@azure/arm-rediscache/README.md create mode 100644 packages/@azure/arm-rediscache/dist/arm-rediscache.js create mode 100644 packages/@azure/arm-rediscache/dist/arm-rediscache.js.map create mode 100644 packages/@azure/arm-rediscache/dist/arm-rediscache.min.js create mode 100644 packages/@azure/arm-rediscache/dist/arm-rediscache.min.js.map create mode 100644 packages/@azure/arm-rediscache/lib/models/firewallRulesMappers.ts create mode 100644 packages/@azure/arm-rediscache/lib/models/index.ts create mode 100644 packages/@azure/arm-rediscache/lib/models/linkedServerMappers.ts create mode 100644 packages/@azure/arm-rediscache/lib/models/mappers.ts create mode 100644 packages/@azure/arm-rediscache/lib/models/operationsMappers.ts create mode 100644 packages/@azure/arm-rediscache/lib/models/parameters.ts create mode 100644 packages/@azure/arm-rediscache/lib/models/patchSchedulesMappers.ts create mode 100644 packages/@azure/arm-rediscache/lib/models/redisMappers.ts create mode 100644 packages/@azure/arm-rediscache/lib/operations/firewallRules.ts create mode 100644 packages/@azure/arm-rediscache/lib/operations/index.ts create mode 100644 packages/@azure/arm-rediscache/lib/operations/linkedServer.ts create mode 100644 packages/@azure/arm-rediscache/lib/operations/operations.ts create mode 100644 packages/@azure/arm-rediscache/lib/operations/patchSchedules.ts create mode 100644 packages/@azure/arm-rediscache/lib/operations/redis.ts create mode 100644 packages/@azure/arm-rediscache/lib/redisManagementClient.ts create mode 100644 packages/@azure/arm-rediscache/lib/redisManagementClientContext.ts create mode 100644 packages/@azure/arm-rediscache/package.json create mode 100644 packages/@azure/arm-rediscache/rollup.config.js create mode 100644 packages/@azure/arm-rediscache/tsconfig.json diff --git a/packages/@azure/arm-rediscache/.npmignore b/packages/@azure/arm-rediscache/.npmignore new file mode 100644 index 000000000000..3b46bc6202d8 --- /dev/null +++ b/packages/@azure/arm-rediscache/.npmignore @@ -0,0 +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 diff --git a/packages/@azure/arm-rediscache/LICENSE.txt b/packages/@azure/arm-rediscache/LICENSE.txt new file mode 100644 index 000000000000..a70e8cf66038 --- /dev/null +++ b/packages/@azure/arm-rediscache/LICENSE.txt @@ -0,0 +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. diff --git a/packages/@azure/arm-rediscache/README.md b/packages/@azure/arm-rediscache/README.md new file mode 100644 index 000000000000..4e3f9ceac6f0 --- /dev/null +++ b/packages/@azure/arm-rediscache/README.md @@ -0,0 +1,77 @@ +# Azure RedisManagementClient SDK for JavaScript +This package contains an isomorphic SDK for RedisManagementClient. + +## Currently supported environments +- Node.js version 6.x.x or higher +- Browser JavaScript + +## How to Install +``` +npm install @azure/arm-rediscache +``` + + +## How to use + +### nodejs - Authentication, client creation and list operations as an example written in TypeScript. + +```ts +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as msRestNodeAuth from "ms-rest-nodeauth"; +import { RedisManagementClient, RedisManagementModels, RedisManagementMappers } from "@azure/arm-rediscache"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new RedisManagementClient(creds, subscriptionId); + client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +### browser - Authentication, client creation and list operations as an example written in JavaScript. +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/arm-rediscache sample + + + + + + + + + +``` + +# Related projects + - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-rediscache/dist/arm-rediscache.js b/packages/@azure/arm-rediscache/dist/arm-rediscache.js new file mode 100644 index 000000000000..25918c5d9454 --- /dev/null +++ b/packages/@azure/arm-rediscache/dist/arm-rediscache.js @@ -0,0 +1,2949 @@ +/* + * 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. + */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ms-rest-azure-js'), require('ms-rest-js')) : + typeof define === 'function' && define.amd ? define(['exports', 'ms-rest-azure-js', 'ms-rest-js'], factory) : + (factory((global.Azure = global.Azure || {}, global.Azure.ArmRediscache = {}),global.msRestAzure,global.msRest)); +}(this, (function (exports,msRestAzure,msRest) { 'use strict'; + + /*! ***************************************************************************** + Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at http://www.apache.org/licenses/LICENSE-2.0 + + THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED + WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, + MERCHANTABLITY OR NON-INFRINGEMENT. + + See the Apache Version 2.0 License for specific language governing permissions + and limitations under the License. + ***************************************************************************** */ + /* global Reflect, Promise */ + + var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + + function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + } + + var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); + }; + + /* + * 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. + */ + /** + * Defines values for SkuName. + * Possible values include: 'Basic', 'Standard', 'Premium' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: SkuName = "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ + var SkuName; + (function (SkuName) { + SkuName["Basic"] = "Basic"; + SkuName["Standard"] = "Standard"; + SkuName["Premium"] = "Premium"; + })(SkuName || (SkuName = {})); + /** + * Defines values for SkuFamily. + * Possible values include: 'C', 'P' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: SkuFamily = "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ + var SkuFamily; + (function (SkuFamily) { + SkuFamily["C"] = "C"; + SkuFamily["P"] = "P"; + })(SkuFamily || (SkuFamily = {})); + /** + * Defines values for TlsVersion. + * Possible values include: '1.0', '1.1', '1.2' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: TlsVersion = "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ + var TlsVersion; + (function (TlsVersion) { + TlsVersion["OneFullStopZero"] = "1.0"; + TlsVersion["OneFullStopOne"] = "1.1"; + TlsVersion["OneFullStopTwo"] = "1.2"; + })(TlsVersion || (TlsVersion = {})); + /** + * Defines values for ProvisioningState. + * Possible values include: 'Creating', 'Deleting', 'Disabled', 'Failed', + * 'Linking', 'Provisioning', 'RecoveringScaleFailure', 'Scaling', 'Succeeded', + * 'Unlinking', 'Unprovisioning', 'Updating' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: ProvisioningState = + * "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ + var ProvisioningState; + (function (ProvisioningState) { + ProvisioningState["Creating"] = "Creating"; + ProvisioningState["Deleting"] = "Deleting"; + ProvisioningState["Disabled"] = "Disabled"; + ProvisioningState["Failed"] = "Failed"; + ProvisioningState["Linking"] = "Linking"; + ProvisioningState["Provisioning"] = "Provisioning"; + ProvisioningState["RecoveringScaleFailure"] = "RecoveringScaleFailure"; + ProvisioningState["Scaling"] = "Scaling"; + ProvisioningState["Succeeded"] = "Succeeded"; + ProvisioningState["Unlinking"] = "Unlinking"; + ProvisioningState["Unprovisioning"] = "Unprovisioning"; + ProvisioningState["Updating"] = "Updating"; + })(ProvisioningState || (ProvisioningState = {})); + /** + * Defines values for RedisKeyType. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} + */ + var RedisKeyType; + (function (RedisKeyType) { + RedisKeyType["Primary"] = "Primary"; + RedisKeyType["Secondary"] = "Secondary"; + })(RedisKeyType || (RedisKeyType = {})); + /** + * Defines values for RebootType. + * Possible values include: 'PrimaryNode', 'SecondaryNode', 'AllNodes' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: RebootType = "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ + var RebootType; + (function (RebootType) { + RebootType["PrimaryNode"] = "PrimaryNode"; + RebootType["SecondaryNode"] = "SecondaryNode"; + RebootType["AllNodes"] = "AllNodes"; + })(RebootType || (RebootType = {})); + /** + * Defines values for DayOfWeek. + * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', + * 'Friday', 'Saturday', 'Sunday', 'Everyday', 'Weekend' + * @readonly + * @enum {string} + */ + var DayOfWeek; + (function (DayOfWeek) { + DayOfWeek["Monday"] = "Monday"; + DayOfWeek["Tuesday"] = "Tuesday"; + DayOfWeek["Wednesday"] = "Wednesday"; + DayOfWeek["Thursday"] = "Thursday"; + DayOfWeek["Friday"] = "Friday"; + DayOfWeek["Saturday"] = "Saturday"; + DayOfWeek["Sunday"] = "Sunday"; + DayOfWeek["Everyday"] = "Everyday"; + DayOfWeek["Weekend"] = "Weekend"; + })(DayOfWeek || (DayOfWeek = {})); + /** + * Defines values for ReplicationRole. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} + */ + var ReplicationRole; + (function (ReplicationRole) { + ReplicationRole["Primary"] = "Primary"; + ReplicationRole["Secondary"] = "Secondary"; + })(ReplicationRole || (ReplicationRole = {})); + + var index = /*#__PURE__*/Object.freeze({ + get SkuName () { return SkuName; }, + get SkuFamily () { return SkuFamily; }, + get TlsVersion () { return TlsVersion; }, + get ProvisioningState () { return ProvisioningState; }, + get RedisKeyType () { return RedisKeyType; }, + get RebootType () { return RebootType; }, + get DayOfWeek () { return DayOfWeek; }, + get ReplicationRole () { return ReplicationRole; } + }); + + /* + * 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. + */ + var CloudError = msRestAzure.CloudErrorMapper; + var BaseResource = msRestAzure.BaseResourceMapper; + var Sku = { + serializedName: "Sku", + type: { + name: "Composite", + className: "Sku", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + family: { + required: true, + serializedName: "family", + type: { + name: "String" + } + }, + capacity: { + required: true, + serializedName: "capacity", + type: { + name: "Number" + } + } + } + } + }; + var RedisAccessKeys = { + serializedName: "RedisAccessKeys", + type: { + name: "Composite", + className: "RedisAccessKeys", + modelProperties: { + primaryKey: { + readOnly: true, + serializedName: "primaryKey", + type: { + name: "String" + } + }, + secondaryKey: { + readOnly: true, + serializedName: "secondaryKey", + type: { + name: "String" + } + } + } + } + }; + var RedisLinkedServer = { + serializedName: "RedisLinkedServer", + type: { + name: "Composite", + className: "RedisLinkedServer", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } + }; + var Resource = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } + }; + var ProxyResource = { + serializedName: "ProxyResource", + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: __assign({}, Resource.type.modelProperties) + } + }; + var TrackedResource = { + serializedName: "TrackedResource", + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: __assign({}, Resource.type.modelProperties, { tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + } }) + } + }; + var RedisCreateParameters = { + serializedName: "RedisCreateParameters", + type: { + name: "Composite", + className: "RedisCreateParameters", + modelProperties: { + redisConfiguration: { + serializedName: "properties.redisConfiguration", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + enableNonSslPort: { + serializedName: "properties.enableNonSslPort", + type: { + name: "Boolean" + } + }, + tenantSettings: { + serializedName: "properties.tenantSettings", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + shardCount: { + serializedName: "properties.shardCount", + type: { + name: "Number" + } + }, + minimumTlsVersion: { + serializedName: "properties.minimumTlsVersion", + type: { + name: "String" + } + }, + sku: { + required: true, + serializedName: "properties.sku", + type: { + name: "Composite", + className: "Sku" + } + }, + subnetId: { + serializedName: "properties.subnetId", + constraints: { + Pattern: /^\/subscriptions\/[^\/]*\/resourceGroups\/[^\/]*\/providers\/Microsoft.(ClassicNetwork|Network)\/virtualNetworks\/[^\/]*\/subnets\/[^\/]*$/ + }, + type: { + name: "String" + } + }, + staticIP: { + serializedName: "properties.staticIP", + constraints: { + Pattern: /^\d+\.\d+\.\d+\.\d+$/ + }, + type: { + name: "String" + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } + }; + var RedisUpdateParameters = { + serializedName: "RedisUpdateParameters", + type: { + name: "Composite", + className: "RedisUpdateParameters", + modelProperties: { + redisConfiguration: { + serializedName: "properties.redisConfiguration", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + enableNonSslPort: { + serializedName: "properties.enableNonSslPort", + type: { + name: "Boolean" + } + }, + tenantSettings: { + serializedName: "properties.tenantSettings", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + shardCount: { + serializedName: "properties.shardCount", + type: { + name: "Number" + } + }, + minimumTlsVersion: { + serializedName: "properties.minimumTlsVersion", + type: { + name: "String" + } + }, + sku: { + serializedName: "properties.sku", + type: { + name: "Composite", + className: "Sku" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } + }; + var RedisFirewallRuleProperties = { + serializedName: "RedisFirewallRuleProperties", + type: { + name: "Composite", + className: "RedisFirewallRuleProperties", + modelProperties: { + startIP: { + required: true, + serializedName: "startIP", + type: { + name: "String" + } + }, + endIP: { + required: true, + serializedName: "endIP", + type: { + name: "String" + } + } + } + } + }; + var RedisFirewallRule = { + serializedName: "RedisFirewallRule", + type: { + name: "Composite", + className: "RedisFirewallRule", + modelProperties: __assign({}, ProxyResource.type.modelProperties, { startIP: { + required: true, + serializedName: "properties.startIP", + type: { + name: "String" + } + }, endIP: { + required: true, + serializedName: "properties.endIP", + type: { + name: "String" + } + } }) + } + }; + var RedisFirewallRuleCreateParameters = { + serializedName: "RedisFirewallRuleCreateParameters", + type: { + name: "Composite", + className: "RedisFirewallRuleCreateParameters", + modelProperties: { + startIP: { + required: true, + serializedName: "properties.startIP", + type: { + name: "String" + } + }, + endIP: { + required: true, + serializedName: "properties.endIP", + type: { + name: "String" + } + } + } + } + }; + var RedisResource = { + serializedName: "RedisResource", + type: { + name: "Composite", + className: "RedisResource", + modelProperties: __assign({}, TrackedResource.type.modelProperties, { redisConfiguration: { + serializedName: "properties.redisConfiguration", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, enableNonSslPort: { + serializedName: "properties.enableNonSslPort", + type: { + name: "Boolean" + } + }, tenantSettings: { + serializedName: "properties.tenantSettings", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, shardCount: { + serializedName: "properties.shardCount", + type: { + name: "Number" + } + }, minimumTlsVersion: { + serializedName: "properties.minimumTlsVersion", + type: { + name: "String" + } + }, sku: { + required: true, + serializedName: "properties.sku", + type: { + name: "Composite", + className: "Sku" + } + }, subnetId: { + serializedName: "properties.subnetId", + constraints: { + Pattern: /^\/subscriptions\/[^\/]*\/resourceGroups\/[^\/]*\/providers\/Microsoft.(ClassicNetwork|Network)\/virtualNetworks\/[^\/]*\/subnets\/[^\/]*$/ + }, + type: { + name: "String" + } + }, staticIP: { + serializedName: "properties.staticIP", + constraints: { + Pattern: /^\d+\.\d+\.\d+\.\d+$/ + }, + type: { + name: "String" + } + }, redisVersion: { + readOnly: true, + serializedName: "properties.redisVersion", + type: { + name: "String" + } + }, provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, hostName: { + readOnly: true, + serializedName: "properties.hostName", + type: { + name: "String" + } + }, port: { + readOnly: true, + serializedName: "properties.port", + type: { + name: "Number" + } + }, sslPort: { + readOnly: true, + serializedName: "properties.sslPort", + type: { + name: "Number" + } + }, accessKeys: { + readOnly: true, + serializedName: "properties.accessKeys", + type: { + name: "Composite", + className: "RedisAccessKeys" + } + }, linkedServers: { + readOnly: true, + serializedName: "properties.linkedServers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisLinkedServer" + } + } + } + }, zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } }) + } + }; + var RedisRegenerateKeyParameters = { + serializedName: "RedisRegenerateKeyParameters", + type: { + name: "Composite", + className: "RedisRegenerateKeyParameters", + modelProperties: { + keyType: { + required: true, + serializedName: "keyType", + type: { + name: "Enum", + allowedValues: [ + "Primary", + "Secondary" + ] + } + } + } + } + }; + var RedisRebootParameters = { + serializedName: "RedisRebootParameters", + type: { + name: "Composite", + className: "RedisRebootParameters", + modelProperties: { + rebootType: { + required: true, + serializedName: "rebootType", + type: { + name: "String" + } + }, + shardId: { + serializedName: "shardId", + type: { + name: "Number" + } + } + } + } + }; + var ExportRDBParameters = { + serializedName: "ExportRDBParameters", + type: { + name: "Composite", + className: "ExportRDBParameters", + modelProperties: { + format: { + serializedName: "format", + type: { + name: "String" + } + }, + prefix: { + required: true, + serializedName: "prefix", + type: { + name: "String" + } + }, + container: { + required: true, + serializedName: "container", + type: { + name: "String" + } + } + } + } + }; + var ImportRDBParameters = { + serializedName: "ImportRDBParameters", + type: { + name: "Composite", + className: "ImportRDBParameters", + modelProperties: { + format: { + serializedName: "format", + type: { + name: "String" + } + }, + files: { + required: true, + serializedName: "files", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } + }; + var ScheduleEntry = { + serializedName: "ScheduleEntry", + type: { + name: "Composite", + className: "ScheduleEntry", + modelProperties: { + dayOfWeek: { + required: true, + serializedName: "dayOfWeek", + type: { + name: "Enum", + allowedValues: [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday", + "Everyday", + "Weekend" + ] + } + }, + startHourUtc: { + required: true, + serializedName: "startHourUtc", + type: { + name: "Number" + } + }, + maintenanceWindow: { + serializedName: "maintenanceWindow", + type: { + name: "TimeSpan" + } + } + } + } + }; + var ScheduleEntries = { + serializedName: "ScheduleEntries", + type: { + name: "Composite", + className: "ScheduleEntries", + modelProperties: { + scheduleEntries: { + required: true, + serializedName: "scheduleEntries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScheduleEntry" + } + } + } + } + } + } + }; + var RedisPatchSchedule = { + serializedName: "RedisPatchSchedule", + type: { + name: "Composite", + className: "RedisPatchSchedule", + modelProperties: __assign({}, ProxyResource.type.modelProperties, { scheduleEntries: { + required: true, + serializedName: "properties.scheduleEntries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScheduleEntry" + } + } + } + } }) + } + }; + var RedisForceRebootResponse = { + serializedName: "RedisForceRebootResponse", + type: { + name: "Composite", + className: "RedisForceRebootResponse", + modelProperties: { + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + } + } + } + }; + var RedisLinkedServerCreateProperties = { + serializedName: "RedisLinkedServerCreateProperties", + type: { + name: "Composite", + className: "RedisLinkedServerCreateProperties", + modelProperties: { + linkedRedisCacheId: { + required: true, + serializedName: "linkedRedisCacheId", + type: { + name: "String" + } + }, + linkedRedisCacheLocation: { + required: true, + serializedName: "linkedRedisCacheLocation", + type: { + name: "String" + } + }, + serverRole: { + required: true, + serializedName: "serverRole", + type: { + name: "Enum", + allowedValues: [ + "Primary", + "Secondary" + ] + } + } + } + } + }; + var RedisLinkedServerProperties = { + serializedName: "RedisLinkedServerProperties", + type: { + name: "Composite", + className: "RedisLinkedServerProperties", + modelProperties: __assign({}, RedisLinkedServerCreateProperties.type.modelProperties, { provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + } }) + } + }; + var RedisLinkedServerWithProperties = { + serializedName: "RedisLinkedServerWithProperties", + type: { + name: "Composite", + className: "RedisLinkedServerWithProperties", + modelProperties: __assign({}, ProxyResource.type.modelProperties, { linkedRedisCacheId: { + required: true, + serializedName: "properties.linkedRedisCacheId", + type: { + name: "String" + } + }, linkedRedisCacheLocation: { + required: true, + serializedName: "properties.linkedRedisCacheLocation", + type: { + name: "String" + } + }, serverRole: { + required: true, + serializedName: "properties.serverRole", + type: { + name: "Enum", + allowedValues: [ + "Primary", + "Secondary" + ] + } + }, provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } }) + } + }; + var RedisLinkedServerCreateParameters = { + serializedName: "RedisLinkedServerCreateParameters", + type: { + name: "Composite", + className: "RedisLinkedServerCreateParameters", + modelProperties: { + linkedRedisCacheId: { + required: true, + serializedName: "properties.linkedRedisCacheId", + type: { + name: "String" + } + }, + linkedRedisCacheLocation: { + required: true, + serializedName: "properties.linkedRedisCacheLocation", + type: { + name: "String" + } + }, + serverRole: { + required: true, + serializedName: "properties.serverRole", + type: { + name: "Enum", + allowedValues: [ + "Primary", + "Secondary" + ] + } + } + } + } + }; + var OperationDisplay = { + serializedName: "Operation_display", + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + } + } + } + }; + var Operation = { + serializedName: "Operation", + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + } + } + } + }; + var CheckNameAvailabilityParameters = { + serializedName: "CheckNameAvailabilityParameters", + type: { + name: "Composite", + className: "CheckNameAvailabilityParameters", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } + }; + var UpgradeNotification = { + serializedName: "UpgradeNotification", + type: { + name: "Composite", + className: "UpgradeNotification", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + timestamp: { + readOnly: true, + serializedName: "timestamp", + type: { + name: "DateTime" + } + }, + upsellNotification: { + readOnly: true, + serializedName: "upsellNotification", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } + }; + var NotificationListResponse = { + serializedName: "NotificationListResponse", + type: { + name: "Composite", + className: "NotificationListResponse", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpgradeNotification" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } + }; + var OperationListResult = { + serializedName: "OperationListResult", + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } + }; + var RedisListResult = { + serializedName: "RedisListResult", + type: { + name: "Composite", + className: "RedisListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisResource" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } + }; + var RedisFirewallRuleListResult = { + serializedName: "RedisFirewallRuleListResult", + type: { + name: "Composite", + className: "RedisFirewallRuleListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisFirewallRule" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } + }; + var RedisPatchScheduleListResult = { + serializedName: "RedisPatchScheduleListResult", + type: { + name: "Composite", + className: "RedisPatchScheduleListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisPatchSchedule" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } + }; + var RedisLinkedServerWithPropertiesList = { + serializedName: "RedisLinkedServerWithPropertiesList", + type: { + name: "Composite", + className: "RedisLinkedServerWithPropertiesList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisLinkedServerWithProperties" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } + }; + + var mappers = /*#__PURE__*/Object.freeze({ + CloudError: CloudError, + BaseResource: BaseResource, + Sku: Sku, + RedisAccessKeys: RedisAccessKeys, + RedisLinkedServer: RedisLinkedServer, + Resource: Resource, + ProxyResource: ProxyResource, + TrackedResource: TrackedResource, + RedisCreateParameters: RedisCreateParameters, + RedisUpdateParameters: RedisUpdateParameters, + RedisFirewallRuleProperties: RedisFirewallRuleProperties, + RedisFirewallRule: RedisFirewallRule, + RedisFirewallRuleCreateParameters: RedisFirewallRuleCreateParameters, + RedisResource: RedisResource, + RedisRegenerateKeyParameters: RedisRegenerateKeyParameters, + RedisRebootParameters: RedisRebootParameters, + ExportRDBParameters: ExportRDBParameters, + ImportRDBParameters: ImportRDBParameters, + ScheduleEntry: ScheduleEntry, + ScheduleEntries: ScheduleEntries, + RedisPatchSchedule: RedisPatchSchedule, + RedisForceRebootResponse: RedisForceRebootResponse, + RedisLinkedServerCreateProperties: RedisLinkedServerCreateProperties, + RedisLinkedServerProperties: RedisLinkedServerProperties, + RedisLinkedServerWithProperties: RedisLinkedServerWithProperties, + RedisLinkedServerCreateParameters: RedisLinkedServerCreateParameters, + OperationDisplay: OperationDisplay, + Operation: Operation, + CheckNameAvailabilityParameters: CheckNameAvailabilityParameters, + UpgradeNotification: UpgradeNotification, + NotificationListResponse: NotificationListResponse, + OperationListResult: OperationListResult, + RedisListResult: RedisListResult, + RedisFirewallRuleListResult: RedisFirewallRuleListResult, + RedisPatchScheduleListResult: RedisPatchScheduleListResult, + RedisLinkedServerWithPropertiesList: RedisLinkedServerWithPropertiesList + }); + + /* + * 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. + */ + + var Mappers = /*#__PURE__*/Object.freeze({ + OperationListResult: OperationListResult, + Operation: Operation, + OperationDisplay: OperationDisplay, + CloudError: CloudError + }); + + /* + * 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. + */ + var acceptLanguage = { + parameterPath: "acceptLanguage", + mapper: { + serializedName: "accept-language", + defaultValue: 'en-US', + type: { + name: "String" + } + } + }; + var apiVersion = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } + }; + var cacheName = { + parameterPath: "cacheName", + mapper: { + required: true, + serializedName: "cacheName", + type: { + name: "String" + } + } + }; + var defaultParameter = { + parameterPath: "defaultParameter", + mapper: { + required: true, + isConstant: true, + serializedName: "default", + defaultValue: 'default', + type: { + name: "String" + } + } + }; + var history = { + parameterPath: "history", + mapper: { + required: true, + serializedName: "history", + type: { + name: "Number" + } + } + }; + var linkedServerName = { + parameterPath: "linkedServerName", + mapper: { + required: true, + serializedName: "linkedServerName", + type: { + name: "String" + } + } + }; + var name = { + parameterPath: "name", + mapper: { + required: true, + serializedName: "name", + type: { + name: "String" + } + } + }; + var nextPageLink = { + parameterPath: "nextPageLink", + mapper: { + required: true, + serializedName: "nextLink", + type: { + name: "String" + } + }, + skipEncoding: true + }; + var resourceGroupName = { + parameterPath: "resourceGroupName", + mapper: { + required: true, + serializedName: "resourceGroupName", + type: { + name: "String" + } + } + }; + var ruleName = { + parameterPath: "ruleName", + mapper: { + required: true, + serializedName: "ruleName", + type: { + name: "String" + } + } + }; + var subscriptionId = { + parameterPath: "subscriptionId", + mapper: { + required: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + } + }; + + /* + * 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. + */ + /** Class representing a Operations. */ + var Operations = /** @class */ (function () { + /** + * Create a Operations. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + function Operations(client) { + this.client = client; + } + Operations.prototype.list = function (options, callback) { + return this.client.sendOperationRequest({ + options: options + }, listOperationSpec, callback); + }; + Operations.prototype.listNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listNextOperationSpec, callback); + }; + return Operations; + }()); + // Operation Specifications + var serializer = new msRest.Serializer(Mappers); + var listOperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.Cache/operations", + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: OperationListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var listNextOperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: OperationListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + + /* + * 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. + */ + + var Mappers$1 = /*#__PURE__*/Object.freeze({ + CheckNameAvailabilityParameters: CheckNameAvailabilityParameters, + CloudError: CloudError, + NotificationListResponse: NotificationListResponse, + UpgradeNotification: UpgradeNotification, + RedisCreateParameters: RedisCreateParameters, + Sku: Sku, + RedisResource: RedisResource, + TrackedResource: TrackedResource, + Resource: Resource, + BaseResource: BaseResource, + RedisAccessKeys: RedisAccessKeys, + RedisLinkedServer: RedisLinkedServer, + RedisUpdateParameters: RedisUpdateParameters, + RedisListResult: RedisListResult, + RedisRegenerateKeyParameters: RedisRegenerateKeyParameters, + RedisRebootParameters: RedisRebootParameters, + RedisForceRebootResponse: RedisForceRebootResponse, + ImportRDBParameters: ImportRDBParameters, + ExportRDBParameters: ExportRDBParameters, + ProxyResource: ProxyResource, + RedisFirewallRule: RedisFirewallRule, + RedisPatchSchedule: RedisPatchSchedule, + ScheduleEntry: ScheduleEntry, + RedisLinkedServerWithProperties: RedisLinkedServerWithProperties + }); + + /* + * 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. + */ + /** Class representing a Redis. */ + var Redis = /** @class */ (function () { + /** + * Create a Redis. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + function Redis(client) { + this.client = client; + } + Redis.prototype.checkNameAvailability = function (parameters, options, callback) { + return this.client.sendOperationRequest({ + parameters: parameters, + options: options + }, checkNameAvailabilityOperationSpec, callback); + }; + Redis.prototype.listUpgradeNotifications = function (resourceGroupName$$1, name$$1, history$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + history: history$$1, + options: options + }, listUpgradeNotificationsOperationSpec, callback); + }; + /** + * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters supplied to the Create Redis operation. + * @param [options] The optional parameters + * @returns Promise + */ + Redis.prototype.create = function (resourceGroupName$$1, name$$1, parameters, options) { + return this.beginCreate(resourceGroupName$$1, name$$1, parameters, options) + .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); + }; + Redis.prototype.update = function (resourceGroupName$$1, name$$1, parameters, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + parameters: parameters, + options: options + }, updateOperationSpec, callback); + }; + /** + * Deletes a Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + Redis.prototype.deleteMethod = function (resourceGroupName$$1, name$$1, options) { + return this.beginDeleteMethod(resourceGroupName$$1, name$$1, options) + .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); + }; + Redis.prototype.get = function (resourceGroupName$$1, name$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + options: options + }, getOperationSpec, callback); + }; + Redis.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + options: options + }, listByResourceGroupOperationSpec, callback); + }; + Redis.prototype.list = function (options, callback) { + return this.client.sendOperationRequest({ + options: options + }, listOperationSpec$1, callback); + }; + Redis.prototype.listKeys = function (resourceGroupName$$1, name$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + options: options + }, listKeysOperationSpec, callback); + }; + Redis.prototype.regenerateKey = function (resourceGroupName$$1, name$$1, keyType, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + keyType: keyType, + options: options + }, regenerateKeyOperationSpec, callback); + }; + Redis.prototype.forceReboot = function (resourceGroupName$$1, name$$1, parameters, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + parameters: parameters, + options: options + }, forceRebootOperationSpec, callback); + }; + /** + * Import data into Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters for Redis import operation. + * @param [options] The optional parameters + * @returns Promise + */ + Redis.prototype.importData = function (resourceGroupName$$1, name$$1, parameters, options) { + return this.beginImportData(resourceGroupName$$1, name$$1, parameters, options) + .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); + }; + /** + * Export data from the redis cache to blobs in a container. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters for Redis export operation. + * @param [options] The optional parameters + * @returns Promise + */ + Redis.prototype.exportData = function (resourceGroupName$$1, name$$1, parameters, options) { + return this.beginExportData(resourceGroupName$$1, name$$1, parameters, options) + .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); + }; + /** + * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters supplied to the Create Redis operation. + * @param [options] The optional parameters + * @returns Promise + */ + Redis.prototype.beginCreate = function (resourceGroupName$$1, name$$1, parameters, options) { + return this.client.sendLRORequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + parameters: parameters, + options: options + }, beginCreateOperationSpec, options); + }; + /** + * Deletes a Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + Redis.prototype.beginDeleteMethod = function (resourceGroupName$$1, name$$1, options) { + return this.client.sendLRORequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + options: options + }, beginDeleteMethodOperationSpec, options); + }; + /** + * Import data into Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters for Redis import operation. + * @param [options] The optional parameters + * @returns Promise + */ + Redis.prototype.beginImportData = function (resourceGroupName$$1, name$$1, parameters, options) { + return this.client.sendLRORequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + parameters: parameters, + options: options + }, beginImportDataOperationSpec, options); + }; + /** + * Export data from the redis cache to blobs in a container. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters for Redis export operation. + * @param [options] The optional parameters + * @returns Promise + */ + Redis.prototype.beginExportData = function (resourceGroupName$$1, name$$1, parameters, options) { + return this.client.sendLRORequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + parameters: parameters, + options: options + }, beginExportDataOperationSpec, options); + }; + Redis.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listByResourceGroupNextOperationSpec, callback); + }; + Redis.prototype.listNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listNextOperationSpec$1, callback); + }; + return Redis; + }()); + // Operation Specifications + var serializer$1 = new msRest.Serializer(Mappers$1); + var checkNameAvailabilityOperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability", + urlParameters: [ + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: __assign({}, CheckNameAvailabilityParameters, { required: true }) + }, + responses: { + 200: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listUpgradeNotificationsOperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listUpgradeNotifications", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion, + history + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: NotificationListResponse + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var updateOperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: __assign({}, RedisUpdateParameters, { required: true }) + }, + responses: { + 200: { + bodyMapper: RedisResource + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var getOperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisResource + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listByResourceGroupOperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis", + urlParameters: [ + resourceGroupName, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listOperationSpec$1 = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Cache/Redis", + urlParameters: [ + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listKeysOperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listKeys", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisAccessKeys + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var regenerateKeyOperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/regenerateKey", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: { + keyType: "keyType" + }, + mapper: __assign({}, RedisRegenerateKeyParameters, { required: true }) + }, + responses: { + 200: { + bodyMapper: RedisAccessKeys + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var forceRebootOperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/forceReboot", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: __assign({}, RedisRebootParameters, { required: true }) + }, + responses: { + 200: { + bodyMapper: RedisForceRebootResponse + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var beginCreateOperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: __assign({}, RedisCreateParameters, { required: true }) + }, + responses: { + 200: { + bodyMapper: RedisResource + }, + 201: { + bodyMapper: RedisResource + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var beginDeleteMethodOperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var beginImportDataOperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/import", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: __assign({}, ImportRDBParameters, { required: true }) + }, + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var beginExportDataOperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/export", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: __assign({}, ExportRDBParameters, { required: true }) + }, + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listByResourceGroupNextOperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listNextOperationSpec$1 = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + + /* + * 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. + */ + + var Mappers$2 = /*#__PURE__*/Object.freeze({ + RedisFirewallRuleListResult: RedisFirewallRuleListResult, + RedisFirewallRule: RedisFirewallRule, + ProxyResource: ProxyResource, + Resource: Resource, + BaseResource: BaseResource, + CloudError: CloudError, + RedisFirewallRuleCreateParameters: RedisFirewallRuleCreateParameters, + TrackedResource: TrackedResource, + RedisResource: RedisResource, + Sku: Sku, + RedisAccessKeys: RedisAccessKeys, + RedisLinkedServer: RedisLinkedServer, + RedisPatchSchedule: RedisPatchSchedule, + ScheduleEntry: ScheduleEntry, + RedisLinkedServerWithProperties: RedisLinkedServerWithProperties + }); + + /* + * 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. + */ + /** Class representing a FirewallRules. */ + var FirewallRules = /** @class */ (function () { + /** + * Create a FirewallRules. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + function FirewallRules(client) { + this.client = client; + } + FirewallRules.prototype.listByRedisResource = function (resourceGroupName$$1, cacheName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + cacheName: cacheName$$1, + options: options + }, listByRedisResourceOperationSpec, callback); + }; + FirewallRules.prototype.createOrUpdate = function (resourceGroupName$$1, cacheName$$1, ruleName$$1, parameters, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + cacheName: cacheName$$1, + ruleName: ruleName$$1, + parameters: parameters, + options: options + }, createOrUpdateOperationSpec, callback); + }; + FirewallRules.prototype.get = function (resourceGroupName$$1, cacheName$$1, ruleName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + cacheName: cacheName$$1, + ruleName: ruleName$$1, + options: options + }, getOperationSpec$1, callback); + }; + FirewallRules.prototype.deleteMethod = function (resourceGroupName$$1, cacheName$$1, ruleName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + cacheName: cacheName$$1, + ruleName: ruleName$$1, + options: options + }, deleteMethodOperationSpec, callback); + }; + FirewallRules.prototype.listByRedisResourceNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listByRedisResourceNextOperationSpec, callback); + }; + return FirewallRules; + }()); + // Operation Specifications + var serializer$2 = new msRest.Serializer(Mappers$2); + var listByRedisResourceOperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules", + urlParameters: [ + subscriptionId, + resourceGroupName, + cacheName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisFirewallRuleListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$2 + }; + var createOrUpdateOperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", + urlParameters: [ + resourceGroupName, + cacheName, + ruleName, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: __assign({}, RedisFirewallRuleCreateParameters, { required: true }) + }, + responses: { + 200: { + bodyMapper: RedisFirewallRule + }, + 201: { + bodyMapper: RedisFirewallRule + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$2 + }; + var getOperationSpec$1 = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", + urlParameters: [ + resourceGroupName, + cacheName, + ruleName, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisFirewallRule + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$2 + }; + var deleteMethodOperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", + urlParameters: [ + resourceGroupName, + cacheName, + ruleName, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$2 + }; + var listByRedisResourceNextOperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisFirewallRuleListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$2 + }; + + /* + * 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. + */ + + var Mappers$3 = /*#__PURE__*/Object.freeze({ + RedisPatchScheduleListResult: RedisPatchScheduleListResult, + RedisPatchSchedule: RedisPatchSchedule, + ProxyResource: ProxyResource, + Resource: Resource, + BaseResource: BaseResource, + ScheduleEntry: ScheduleEntry, + CloudError: CloudError, + TrackedResource: TrackedResource, + RedisFirewallRule: RedisFirewallRule, + RedisResource: RedisResource, + Sku: Sku, + RedisAccessKeys: RedisAccessKeys, + RedisLinkedServer: RedisLinkedServer, + RedisLinkedServerWithProperties: RedisLinkedServerWithProperties + }); + + /* + * 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. + */ + /** Class representing a PatchSchedules. */ + var PatchSchedules = /** @class */ (function () { + /** + * Create a PatchSchedules. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + function PatchSchedules(client) { + this.client = client; + } + PatchSchedules.prototype.listByRedisResource = function (resourceGroupName$$1, cacheName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + cacheName: cacheName$$1, + options: options + }, listByRedisResourceOperationSpec$1, callback); + }; + PatchSchedules.prototype.createOrUpdate = function (resourceGroupName$$1, name$$1, scheduleEntries, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + scheduleEntries: scheduleEntries, + options: options + }, createOrUpdateOperationSpec$1, callback); + }; + PatchSchedules.prototype.deleteMethod = function (resourceGroupName$$1, name$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + options: options + }, deleteMethodOperationSpec$1, callback); + }; + PatchSchedules.prototype.get = function (resourceGroupName$$1, name$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + options: options + }, getOperationSpec$2, callback); + }; + PatchSchedules.prototype.listByRedisResourceNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listByRedisResourceNextOperationSpec$1, callback); + }; + return PatchSchedules; + }()); + // Operation Specifications + var serializer$3 = new msRest.Serializer(Mappers$3); + var listByRedisResourceOperationSpec$1 = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/patchSchedules", + urlParameters: [ + subscriptionId, + resourceGroupName, + cacheName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisPatchScheduleListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$3 + }; + var createOrUpdateOperationSpec$1 = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}", + urlParameters: [ + resourceGroupName, + name, + defaultParameter, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: { + scheduleEntries: "scheduleEntries" + }, + mapper: __assign({}, RedisPatchSchedule, { required: true }) + }, + responses: { + 200: { + bodyMapper: RedisPatchSchedule + }, + 201: { + bodyMapper: RedisPatchSchedule + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$3 + }; + var deleteMethodOperationSpec$1 = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}", + urlParameters: [ + resourceGroupName, + name, + defaultParameter, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$3 + }; + var getOperationSpec$2 = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}", + urlParameters: [ + resourceGroupName, + name, + defaultParameter, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisPatchSchedule + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$3 + }; + var listByRedisResourceNextOperationSpec$1 = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisPatchScheduleListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$3 + }; + + /* + * 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. + */ + + var Mappers$4 = /*#__PURE__*/Object.freeze({ + RedisLinkedServerCreateParameters: RedisLinkedServerCreateParameters, + RedisLinkedServerWithProperties: RedisLinkedServerWithProperties, + ProxyResource: ProxyResource, + Resource: Resource, + BaseResource: BaseResource, + CloudError: CloudError, + RedisLinkedServerWithPropertiesList: RedisLinkedServerWithPropertiesList, + TrackedResource: TrackedResource, + RedisFirewallRule: RedisFirewallRule, + RedisResource: RedisResource, + Sku: Sku, + RedisAccessKeys: RedisAccessKeys, + RedisLinkedServer: RedisLinkedServer, + RedisPatchSchedule: RedisPatchSchedule, + ScheduleEntry: ScheduleEntry + }); + + /* + * 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. + */ + /** Class representing a LinkedServer. */ + var LinkedServer = /** @class */ (function () { + /** + * Create a LinkedServer. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + function LinkedServer(client) { + this.client = client; + } + /** + * Adds a linked server to the Redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param linkedServerName The name of the linked server that is being added to the Redis cache. + * @param parameters Parameters supplied to the Create Linked server operation. + * @param [options] The optional parameters + * @returns Promise + */ + LinkedServer.prototype.create = function (resourceGroupName$$1, name$$1, linkedServerName$$1, parameters, options) { + return this.beginCreate(resourceGroupName$$1, name$$1, linkedServerName$$1, parameters, options) + .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); + }; + LinkedServer.prototype.deleteMethod = function (resourceGroupName$$1, name$$1, linkedServerName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + linkedServerName: linkedServerName$$1, + options: options + }, deleteMethodOperationSpec$2, callback); + }; + LinkedServer.prototype.get = function (resourceGroupName$$1, name$$1, linkedServerName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + linkedServerName: linkedServerName$$1, + options: options + }, getOperationSpec$3, callback); + }; + LinkedServer.prototype.list = function (resourceGroupName$$1, name$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + options: options + }, listOperationSpec$2, callback); + }; + /** + * Adds a linked server to the Redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param linkedServerName The name of the linked server that is being added to the Redis cache. + * @param parameters Parameters supplied to the Create Linked server operation. + * @param [options] The optional parameters + * @returns Promise + */ + LinkedServer.prototype.beginCreate = function (resourceGroupName$$1, name$$1, linkedServerName$$1, parameters, options) { + return this.client.sendLRORequest({ + resourceGroupName: resourceGroupName$$1, + name: name$$1, + linkedServerName: linkedServerName$$1, + parameters: parameters, + options: options + }, beginCreateOperationSpec$1, options); + }; + LinkedServer.prototype.listNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listNextOperationSpec$2, callback); + }; + return LinkedServer; + }()); + // Operation Specifications + var serializer$4 = new msRest.Serializer(Mappers$4); + var deleteMethodOperationSpec$2 = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}", + urlParameters: [ + resourceGroupName, + name, + linkedServerName, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$4 + }; + var getOperationSpec$3 = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}", + urlParameters: [ + resourceGroupName, + name, + linkedServerName, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisLinkedServerWithProperties + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$4 + }; + var listOperationSpec$2 = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers", + urlParameters: [ + resourceGroupName, + name, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisLinkedServerWithPropertiesList + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$4 + }; + var beginCreateOperationSpec$1 = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}", + urlParameters: [ + resourceGroupName, + name, + linkedServerName, + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: __assign({}, RedisLinkedServerCreateParameters, { required: true }) + }, + responses: { + 200: { + bodyMapper: RedisLinkedServerWithProperties + }, + 201: { + bodyMapper: RedisLinkedServerWithProperties + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$4 + }; + var listNextOperationSpec$2 = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: RedisLinkedServerWithPropertiesList + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$4 + }; + + /* + * 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. + */ + + /* + * 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. + */ + var packageName = "@azure/arm-rediscache"; + var packageVersion = "1.0.0"; + var RedisManagementClientContext = /** @class */ (function (_super) { + __extends(RedisManagementClientContext, _super); + /** + * Initializes a new instance of the RedisManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure + * subscription. The subscription ID forms part of the URI for every service call. + * @param [options] The parameter options + */ + function RedisManagementClientContext(credentials, subscriptionId, options) { + var _this = this; + if (credentials == undefined) { + throw new Error('\'credentials\' cannot be null.'); + } + if (subscriptionId == undefined) { + throw new Error('\'subscriptionId\' cannot be null.'); + } + if (!options) { + options = {}; + } + _this = _super.call(this, credentials, options) || this; + _this.apiVersion = '2018-03-01'; + _this.acceptLanguage = 'en-US'; + _this.longRunningOperationRetryTimeout = 30; + _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com"; + _this.requestContentType = "application/json; charset=utf-8"; + _this.credentials = credentials; + _this.subscriptionId = subscriptionId; + _this.addUserAgentInfo(packageName + "/" + packageVersion); + if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + _this.acceptLanguage = options.acceptLanguage; + } + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; + } + return _this; + } + return RedisManagementClientContext; + }(msRestAzure.AzureServiceClient)); + + /* + * 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. + */ + var RedisManagementClient = /** @class */ (function (_super) { + __extends(RedisManagementClient, _super); + /** + * Initializes a new instance of the RedisManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure + * subscription. The subscription ID forms part of the URI for every service call. + * @param [options] The parameter options + */ + function RedisManagementClient(credentials, subscriptionId, options) { + var _this = _super.call(this, credentials, subscriptionId, options) || this; + _this.operations = new Operations(_this); + _this.redis = new Redis(_this); + _this.firewallRules = new FirewallRules(_this); + _this.patchSchedules = new PatchSchedules(_this); + _this.linkedServer = new LinkedServer(_this); + return _this; + } + return RedisManagementClient; + }(RedisManagementClientContext)); + + exports.RedisManagementClient = RedisManagementClient; + exports.RedisManagementClientContext = RedisManagementClientContext; + exports.RedisManagementModels = index; + exports.RedisManagementMappers = mappers; + exports.Operations = Operations; + exports.Redis = Redis; + exports.FirewallRules = FirewallRules; + exports.PatchSchedules = PatchSchedules; + exports.LinkedServer = LinkedServer; + + Object.defineProperty(exports, '__esModule', { value: true }); + +}))); +//# sourceMappingURL=arm-rediscache.js.map diff --git a/packages/@azure/arm-rediscache/dist/arm-rediscache.js.map b/packages/@azure/arm-rediscache/dist/arm-rediscache.js.map new file mode 100644 index 000000000000..f8570c3f3ff5 --- /dev/null +++ b/packages/@azure/arm-rediscache/dist/arm-rediscache.js.map @@ -0,0 +1 @@ +{"version":3,"file":"arm-rediscache.js","sources":["../node_modules/tslib/tslib.es6.js","../esm/models/index.js","../esm/models/mappers.js","../esm/models/operationsMappers.js","../esm/models/parameters.js","../esm/operations/operations.js","../esm/models/redisMappers.js","../esm/operations/redis.js","../esm/models/firewallRulesMappers.js","../esm/operations/firewallRules.js","../esm/models/patchSchedulesMappers.js","../esm/operations/patchSchedules.js","../esm/models/linkedServerMappers.js","../esm/operations/linkedServer.js","../esm/operations/index.js","../esm/redisManagementClientContext.js","../esm/redisManagementClient.js"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\n/**\r\n * Defines values for SkuName.\r\n * Possible values include: 'Basic', 'Standard', 'Premium'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: SkuName = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var SkuName;\r\n(function (SkuName) {\r\n SkuName[\"Basic\"] = \"Basic\";\r\n SkuName[\"Standard\"] = \"Standard\";\r\n SkuName[\"Premium\"] = \"Premium\";\r\n})(SkuName || (SkuName = {}));\r\n/**\r\n * Defines values for SkuFamily.\r\n * Possible values include: 'C', 'P'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: SkuFamily = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var SkuFamily;\r\n(function (SkuFamily) {\r\n SkuFamily[\"C\"] = \"C\";\r\n SkuFamily[\"P\"] = \"P\";\r\n})(SkuFamily || (SkuFamily = {}));\r\n/**\r\n * Defines values for TlsVersion.\r\n * Possible values include: '1.0', '1.1', '1.2'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: TlsVersion = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var TlsVersion;\r\n(function (TlsVersion) {\r\n TlsVersion[\"OneFullStopZero\"] = \"1.0\";\r\n TlsVersion[\"OneFullStopOne\"] = \"1.1\";\r\n TlsVersion[\"OneFullStopTwo\"] = \"1.2\";\r\n})(TlsVersion || (TlsVersion = {}));\r\n/**\r\n * Defines values for ProvisioningState.\r\n * Possible values include: 'Creating', 'Deleting', 'Disabled', 'Failed',\r\n * 'Linking', 'Provisioning', 'RecoveringScaleFailure', 'Scaling', 'Succeeded',\r\n * 'Unlinking', 'Unprovisioning', 'Updating'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: ProvisioningState =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ProvisioningState;\r\n(function (ProvisioningState) {\r\n ProvisioningState[\"Creating\"] = \"Creating\";\r\n ProvisioningState[\"Deleting\"] = \"Deleting\";\r\n ProvisioningState[\"Disabled\"] = \"Disabled\";\r\n ProvisioningState[\"Failed\"] = \"Failed\";\r\n ProvisioningState[\"Linking\"] = \"Linking\";\r\n ProvisioningState[\"Provisioning\"] = \"Provisioning\";\r\n ProvisioningState[\"RecoveringScaleFailure\"] = \"RecoveringScaleFailure\";\r\n ProvisioningState[\"Scaling\"] = \"Scaling\";\r\n ProvisioningState[\"Succeeded\"] = \"Succeeded\";\r\n ProvisioningState[\"Unlinking\"] = \"Unlinking\";\r\n ProvisioningState[\"Unprovisioning\"] = \"Unprovisioning\";\r\n ProvisioningState[\"Updating\"] = \"Updating\";\r\n})(ProvisioningState || (ProvisioningState = {}));\r\n/**\r\n * Defines values for RedisKeyType.\r\n * Possible values include: 'Primary', 'Secondary'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var RedisKeyType;\r\n(function (RedisKeyType) {\r\n RedisKeyType[\"Primary\"] = \"Primary\";\r\n RedisKeyType[\"Secondary\"] = \"Secondary\";\r\n})(RedisKeyType || (RedisKeyType = {}));\r\n/**\r\n * Defines values for RebootType.\r\n * Possible values include: 'PrimaryNode', 'SecondaryNode', 'AllNodes'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: RebootType = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var RebootType;\r\n(function (RebootType) {\r\n RebootType[\"PrimaryNode\"] = \"PrimaryNode\";\r\n RebootType[\"SecondaryNode\"] = \"SecondaryNode\";\r\n RebootType[\"AllNodes\"] = \"AllNodes\";\r\n})(RebootType || (RebootType = {}));\r\n/**\r\n * Defines values for DayOfWeek.\r\n * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday',\r\n * 'Friday', 'Saturday', 'Sunday', 'Everyday', 'Weekend'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var DayOfWeek;\r\n(function (DayOfWeek) {\r\n DayOfWeek[\"Monday\"] = \"Monday\";\r\n DayOfWeek[\"Tuesday\"] = \"Tuesday\";\r\n DayOfWeek[\"Wednesday\"] = \"Wednesday\";\r\n DayOfWeek[\"Thursday\"] = \"Thursday\";\r\n DayOfWeek[\"Friday\"] = \"Friday\";\r\n DayOfWeek[\"Saturday\"] = \"Saturday\";\r\n DayOfWeek[\"Sunday\"] = \"Sunday\";\r\n DayOfWeek[\"Everyday\"] = \"Everyday\";\r\n DayOfWeek[\"Weekend\"] = \"Weekend\";\r\n})(DayOfWeek || (DayOfWeek = {}));\r\n/**\r\n * Defines values for ReplicationRole.\r\n * Possible values include: 'Primary', 'Secondary'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ReplicationRole;\r\n(function (ReplicationRole) {\r\n ReplicationRole[\"Primary\"] = \"Primary\";\r\n ReplicationRole[\"Secondary\"] = \"Secondary\";\r\n})(ReplicationRole || (ReplicationRole = {}));\r\n//# sourceMappingURL=index.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport { CloudErrorMapper, BaseResourceMapper } from \"ms-rest-azure-js\";\r\nexport var CloudError = CloudErrorMapper;\r\nexport var BaseResource = BaseResourceMapper;\r\nexport var Sku = {\r\n serializedName: \"Sku\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Sku\",\r\n modelProperties: {\r\n name: {\r\n required: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n family: {\r\n required: true,\r\n serializedName: \"family\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n capacity: {\r\n required: true,\r\n serializedName: \"capacity\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisAccessKeys = {\r\n serializedName: \"RedisAccessKeys\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisAccessKeys\",\r\n modelProperties: {\r\n primaryKey: {\r\n readOnly: true,\r\n serializedName: \"primaryKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n secondaryKey: {\r\n readOnly: true,\r\n serializedName: \"secondaryKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisLinkedServer = {\r\n serializedName: \"RedisLinkedServer\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisLinkedServer\",\r\n modelProperties: {\r\n id: {\r\n readOnly: true,\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Resource = {\r\n serializedName: \"Resource\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Resource\",\r\n modelProperties: {\r\n id: {\r\n readOnly: true,\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n readOnly: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProxyResource = {\r\n serializedName: \"ProxyResource\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProxyResource\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties)\r\n }\r\n};\r\nexport var TrackedResource = {\r\n serializedName: \"TrackedResource\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TrackedResource\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { tags: {\r\n serializedName: \"tags\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, location: {\r\n required: true,\r\n serializedName: \"location\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RedisCreateParameters = {\r\n serializedName: \"RedisCreateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisCreateParameters\",\r\n modelProperties: {\r\n redisConfiguration: {\r\n serializedName: \"properties.redisConfiguration\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n enableNonSslPort: {\r\n serializedName: \"properties.enableNonSslPort\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n tenantSettings: {\r\n serializedName: \"properties.tenantSettings\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n shardCount: {\r\n serializedName: \"properties.shardCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n minimumTlsVersion: {\r\n serializedName: \"properties.minimumTlsVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sku: {\r\n required: true,\r\n serializedName: \"properties.sku\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Sku\"\r\n }\r\n },\r\n subnetId: {\r\n serializedName: \"properties.subnetId\",\r\n constraints: {\r\n Pattern: /^\\/subscriptions\\/[^\\/]*\\/resourceGroups\\/[^\\/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^\\/]*\\/subnets\\/[^\\/]*$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n staticIP: {\r\n serializedName: \"properties.staticIP\",\r\n constraints: {\r\n Pattern: /^\\d+\\.\\d+\\.\\d+\\.\\d+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n zones: {\r\n serializedName: \"zones\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n location: {\r\n required: true,\r\n serializedName: \"location\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n tags: {\r\n serializedName: \"tags\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisUpdateParameters = {\r\n serializedName: \"RedisUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisUpdateParameters\",\r\n modelProperties: {\r\n redisConfiguration: {\r\n serializedName: \"properties.redisConfiguration\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n enableNonSslPort: {\r\n serializedName: \"properties.enableNonSslPort\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n tenantSettings: {\r\n serializedName: \"properties.tenantSettings\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n shardCount: {\r\n serializedName: \"properties.shardCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n minimumTlsVersion: {\r\n serializedName: \"properties.minimumTlsVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sku: {\r\n serializedName: \"properties.sku\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Sku\"\r\n }\r\n },\r\n tags: {\r\n serializedName: \"tags\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisFirewallRuleProperties = {\r\n serializedName: \"RedisFirewallRuleProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisFirewallRuleProperties\",\r\n modelProperties: {\r\n startIP: {\r\n required: true,\r\n serializedName: \"startIP\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n endIP: {\r\n required: true,\r\n serializedName: \"endIP\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisFirewallRule = {\r\n serializedName: \"RedisFirewallRule\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisFirewallRule\",\r\n modelProperties: tslib_1.__assign({}, ProxyResource.type.modelProperties, { startIP: {\r\n required: true,\r\n serializedName: \"properties.startIP\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, endIP: {\r\n required: true,\r\n serializedName: \"properties.endIP\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RedisFirewallRuleCreateParameters = {\r\n serializedName: \"RedisFirewallRuleCreateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisFirewallRuleCreateParameters\",\r\n modelProperties: {\r\n startIP: {\r\n required: true,\r\n serializedName: \"properties.startIP\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n endIP: {\r\n required: true,\r\n serializedName: \"properties.endIP\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisResource = {\r\n serializedName: \"RedisResource\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisResource\",\r\n modelProperties: tslib_1.__assign({}, TrackedResource.type.modelProperties, { redisConfiguration: {\r\n serializedName: \"properties.redisConfiguration\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, enableNonSslPort: {\r\n serializedName: \"properties.enableNonSslPort\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, tenantSettings: {\r\n serializedName: \"properties.tenantSettings\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, shardCount: {\r\n serializedName: \"properties.shardCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, minimumTlsVersion: {\r\n serializedName: \"properties.minimumTlsVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, sku: {\r\n required: true,\r\n serializedName: \"properties.sku\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Sku\"\r\n }\r\n }, subnetId: {\r\n serializedName: \"properties.subnetId\",\r\n constraints: {\r\n Pattern: /^\\/subscriptions\\/[^\\/]*\\/resourceGroups\\/[^\\/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^\\/]*\\/subnets\\/[^\\/]*$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, staticIP: {\r\n serializedName: \"properties.staticIP\",\r\n constraints: {\r\n Pattern: /^\\d+\\.\\d+\\.\\d+\\.\\d+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, redisVersion: {\r\n readOnly: true,\r\n serializedName: \"properties.redisVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, provisioningState: {\r\n readOnly: true,\r\n serializedName: \"properties.provisioningState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, hostName: {\r\n readOnly: true,\r\n serializedName: \"properties.hostName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, port: {\r\n readOnly: true,\r\n serializedName: \"properties.port\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, sslPort: {\r\n readOnly: true,\r\n serializedName: \"properties.sslPort\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, accessKeys: {\r\n readOnly: true,\r\n serializedName: \"properties.accessKeys\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisAccessKeys\"\r\n }\r\n }, linkedServers: {\r\n readOnly: true,\r\n serializedName: \"properties.linkedServers\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisLinkedServer\"\r\n }\r\n }\r\n }\r\n }, zones: {\r\n serializedName: \"zones\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var RedisRegenerateKeyParameters = {\r\n serializedName: \"RedisRegenerateKeyParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisRegenerateKeyParameters\",\r\n modelProperties: {\r\n keyType: {\r\n required: true,\r\n serializedName: \"keyType\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Primary\",\r\n \"Secondary\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisRebootParameters = {\r\n serializedName: \"RedisRebootParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisRebootParameters\",\r\n modelProperties: {\r\n rebootType: {\r\n required: true,\r\n serializedName: \"rebootType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n shardId: {\r\n serializedName: \"shardId\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ExportRDBParameters = {\r\n serializedName: \"ExportRDBParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ExportRDBParameters\",\r\n modelProperties: {\r\n format: {\r\n serializedName: \"format\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n prefix: {\r\n required: true,\r\n serializedName: \"prefix\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n container: {\r\n required: true,\r\n serializedName: \"container\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ImportRDBParameters = {\r\n serializedName: \"ImportRDBParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ImportRDBParameters\",\r\n modelProperties: {\r\n format: {\r\n serializedName: \"format\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n files: {\r\n required: true,\r\n serializedName: \"files\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ScheduleEntry = {\r\n serializedName: \"ScheduleEntry\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ScheduleEntry\",\r\n modelProperties: {\r\n dayOfWeek: {\r\n required: true,\r\n serializedName: \"dayOfWeek\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Monday\",\r\n \"Tuesday\",\r\n \"Wednesday\",\r\n \"Thursday\",\r\n \"Friday\",\r\n \"Saturday\",\r\n \"Sunday\",\r\n \"Everyday\",\r\n \"Weekend\"\r\n ]\r\n }\r\n },\r\n startHourUtc: {\r\n required: true,\r\n serializedName: \"startHourUtc\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n maintenanceWindow: {\r\n serializedName: \"maintenanceWindow\",\r\n type: {\r\n name: \"TimeSpan\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ScheduleEntries = {\r\n serializedName: \"ScheduleEntries\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ScheduleEntries\",\r\n modelProperties: {\r\n scheduleEntries: {\r\n required: true,\r\n serializedName: \"scheduleEntries\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ScheduleEntry\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisPatchSchedule = {\r\n serializedName: \"RedisPatchSchedule\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisPatchSchedule\",\r\n modelProperties: tslib_1.__assign({}, ProxyResource.type.modelProperties, { scheduleEntries: {\r\n required: true,\r\n serializedName: \"properties.scheduleEntries\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ScheduleEntry\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var RedisForceRebootResponse = {\r\n serializedName: \"RedisForceRebootResponse\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisForceRebootResponse\",\r\n modelProperties: {\r\n message: {\r\n readOnly: true,\r\n serializedName: \"message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisLinkedServerCreateProperties = {\r\n serializedName: \"RedisLinkedServerCreateProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisLinkedServerCreateProperties\",\r\n modelProperties: {\r\n linkedRedisCacheId: {\r\n required: true,\r\n serializedName: \"linkedRedisCacheId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n linkedRedisCacheLocation: {\r\n required: true,\r\n serializedName: \"linkedRedisCacheLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n serverRole: {\r\n required: true,\r\n serializedName: \"serverRole\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Primary\",\r\n \"Secondary\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisLinkedServerProperties = {\r\n serializedName: \"RedisLinkedServerProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisLinkedServerProperties\",\r\n modelProperties: tslib_1.__assign({}, RedisLinkedServerCreateProperties.type.modelProperties, { provisioningState: {\r\n readOnly: true,\r\n serializedName: \"provisioningState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RedisLinkedServerWithProperties = {\r\n serializedName: \"RedisLinkedServerWithProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisLinkedServerWithProperties\",\r\n modelProperties: tslib_1.__assign({}, ProxyResource.type.modelProperties, { linkedRedisCacheId: {\r\n required: true,\r\n serializedName: \"properties.linkedRedisCacheId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, linkedRedisCacheLocation: {\r\n required: true,\r\n serializedName: \"properties.linkedRedisCacheLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, serverRole: {\r\n required: true,\r\n serializedName: \"properties.serverRole\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Primary\",\r\n \"Secondary\"\r\n ]\r\n }\r\n }, provisioningState: {\r\n readOnly: true,\r\n serializedName: \"properties.provisioningState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RedisLinkedServerCreateParameters = {\r\n serializedName: \"RedisLinkedServerCreateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisLinkedServerCreateParameters\",\r\n modelProperties: {\r\n linkedRedisCacheId: {\r\n required: true,\r\n serializedName: \"properties.linkedRedisCacheId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n linkedRedisCacheLocation: {\r\n required: true,\r\n serializedName: \"properties.linkedRedisCacheLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n serverRole: {\r\n required: true,\r\n serializedName: \"properties.serverRole\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Primary\",\r\n \"Secondary\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OperationDisplay = {\r\n serializedName: \"Operation_display\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationDisplay\",\r\n modelProperties: {\r\n provider: {\r\n serializedName: \"provider\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n operation: {\r\n serializedName: \"operation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resource: {\r\n serializedName: \"resource\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Operation = {\r\n serializedName: \"Operation\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Operation\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n display: {\r\n serializedName: \"display\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationDisplay\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CheckNameAvailabilityParameters = {\r\n serializedName: \"CheckNameAvailabilityParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CheckNameAvailabilityParameters\",\r\n modelProperties: {\r\n name: {\r\n required: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n required: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpgradeNotification = {\r\n serializedName: \"UpgradeNotification\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpgradeNotification\",\r\n modelProperties: {\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n timestamp: {\r\n readOnly: true,\r\n serializedName: \"timestamp\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n upsellNotification: {\r\n readOnly: true,\r\n serializedName: \"upsellNotification\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var NotificationListResponse = {\r\n serializedName: \"NotificationListResponse\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NotificationListResponse\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"value\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpgradeNotification\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OperationListResult = {\r\n serializedName: \"OperationListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationListResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"Operation\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisListResult = {\r\n serializedName: \"RedisListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisListResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisResource\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisFirewallRuleListResult = {\r\n serializedName: \"RedisFirewallRuleListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisFirewallRuleListResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisFirewallRule\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisPatchScheduleListResult = {\r\n serializedName: \"RedisPatchScheduleListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisPatchScheduleListResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisPatchSchedule\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RedisLinkedServerWithPropertiesList = {\r\n serializedName: \"RedisLinkedServerWithPropertiesList\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisLinkedServerWithPropertiesList\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RedisLinkedServerWithProperties\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\n//# sourceMappingURL=mappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { OperationListResult, Operation, OperationDisplay, CloudError } from \"../models/mappers\";\r\n//# sourceMappingURL=operationsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport var acceptLanguage = {\r\n parameterPath: \"acceptLanguage\",\r\n mapper: {\r\n serializedName: \"accept-language\",\r\n defaultValue: 'en-US',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var apiVersion = {\r\n parameterPath: \"apiVersion\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"api-version\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var cacheName = {\r\n parameterPath: \"cacheName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"cacheName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var defaultParameter = {\r\n parameterPath: \"defaultParameter\",\r\n mapper: {\r\n required: true,\r\n isConstant: true,\r\n serializedName: \"default\",\r\n defaultValue: 'default',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var history = {\r\n parameterPath: \"history\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"history\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n};\r\nexport var linkedServerName = {\r\n parameterPath: \"linkedServerName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"linkedServerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var name = {\r\n parameterPath: \"name\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var nextPageLink = {\r\n parameterPath: \"nextPageLink\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n skipEncoding: true\r\n};\r\nexport var resourceGroupName = {\r\n parameterPath: \"resourceGroupName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"resourceGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var ruleName = {\r\n parameterPath: \"ruleName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"ruleName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var subscriptionId = {\r\n parameterPath: \"subscriptionId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"subscriptionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\n//# sourceMappingURL=parameters.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/operationsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Operations. */\r\nvar Operations = /** @class */ (function () {\r\n /**\r\n * Create a Operations.\r\n * @param {RedisManagementClientContext} client Reference to the service client.\r\n */\r\n function Operations(client) {\r\n this.client = client;\r\n }\r\n Operations.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n Operations.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return Operations;\r\n}());\r\nexport { Operations };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"providers/Microsoft.Cache/operations\",\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=operations.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { CheckNameAvailabilityParameters, CloudError, NotificationListResponse, UpgradeNotification, RedisCreateParameters, Sku, RedisResource, TrackedResource, Resource, BaseResource, RedisAccessKeys, RedisLinkedServer, RedisUpdateParameters, RedisListResult, RedisRegenerateKeyParameters, RedisRebootParameters, RedisForceRebootResponse, ImportRDBParameters, ExportRDBParameters, ProxyResource, RedisFirewallRule, RedisPatchSchedule, ScheduleEntry, RedisLinkedServerWithProperties } from \"../models/mappers\";\r\n//# sourceMappingURL=redisMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/redisMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Redis. */\r\nvar Redis = /** @class */ (function () {\r\n /**\r\n * Create a Redis.\r\n * @param {RedisManagementClientContext} client Reference to the service client.\r\n */\r\n function Redis(client) {\r\n this.client = client;\r\n }\r\n Redis.prototype.checkNameAvailability = function (parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n parameters: parameters,\r\n options: options\r\n }, checkNameAvailabilityOperationSpec, callback);\r\n };\r\n Redis.prototype.listUpgradeNotifications = function (resourceGroupName, name, history, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n history: history,\r\n options: options\r\n }, listUpgradeNotificationsOperationSpec, callback);\r\n };\r\n /**\r\n * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param parameters Parameters supplied to the Create Redis operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n Redis.prototype.create = function (resourceGroupName, name, parameters, options) {\r\n return this.beginCreate(resourceGroupName, name, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n Redis.prototype.update = function (resourceGroupName, name, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n parameters: parameters,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n /**\r\n * Deletes a Redis cache.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n Redis.prototype.deleteMethod = function (resourceGroupName, name, options) {\r\n return this.beginDeleteMethod(resourceGroupName, name, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n Redis.prototype.get = function (resourceGroupName, name, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Redis.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n options: options\r\n }, listByResourceGroupOperationSpec, callback);\r\n };\r\n Redis.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n Redis.prototype.listKeys = function (resourceGroupName, name, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n options: options\r\n }, listKeysOperationSpec, callback);\r\n };\r\n Redis.prototype.regenerateKey = function (resourceGroupName, name, keyType, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n keyType: keyType,\r\n options: options\r\n }, regenerateKeyOperationSpec, callback);\r\n };\r\n Redis.prototype.forceReboot = function (resourceGroupName, name, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n parameters: parameters,\r\n options: options\r\n }, forceRebootOperationSpec, callback);\r\n };\r\n /**\r\n * Import data into Redis cache.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param parameters Parameters for Redis import operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n Redis.prototype.importData = function (resourceGroupName, name, parameters, options) {\r\n return this.beginImportData(resourceGroupName, name, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Export data from the redis cache to blobs in a container.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param parameters Parameters for Redis export operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n Redis.prototype.exportData = function (resourceGroupName, name, parameters, options) {\r\n return this.beginExportData(resourceGroupName, name, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param parameters Parameters supplied to the Create Redis operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n Redis.prototype.beginCreate = function (resourceGroupName, name, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n parameters: parameters,\r\n options: options\r\n }, beginCreateOperationSpec, options);\r\n };\r\n /**\r\n * Deletes a Redis cache.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n Redis.prototype.beginDeleteMethod = function (resourceGroupName, name, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n /**\r\n * Import data into Redis cache.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param parameters Parameters for Redis import operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n Redis.prototype.beginImportData = function (resourceGroupName, name, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n parameters: parameters,\r\n options: options\r\n }, beginImportDataOperationSpec, options);\r\n };\r\n /**\r\n * Export data from the redis cache to blobs in a container.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param parameters Parameters for Redis export operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n Redis.prototype.beginExportData = function (resourceGroupName, name, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n parameters: parameters,\r\n options: options\r\n }, beginExportDataOperationSpec, options);\r\n };\r\n Redis.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByResourceGroupNextOperationSpec, callback);\r\n };\r\n Redis.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return Redis;\r\n}());\r\nexport { Redis };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar checkNameAvailabilityOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability\",\r\n urlParameters: [\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.CheckNameAvailabilityParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listUpgradeNotificationsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listUpgradeNotifications\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.history\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NotificationListResponse\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.RedisUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisResource\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisResource\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByResourceGroupOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/providers/Microsoft.Cache/Redis\",\r\n urlParameters: [\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listKeysOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listKeys\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisAccessKeys\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar regenerateKeyOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/regenerateKey\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: {\r\n keyType: \"keyType\"\r\n },\r\n mapper: tslib_1.__assign({}, Mappers.RedisRegenerateKeyParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisAccessKeys\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar forceRebootOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/forceReboot\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.RedisRebootParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisForceRebootResponse\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.RedisCreateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisResource\r\n },\r\n 201: {\r\n bodyMapper: Mappers.RedisResource\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginImportDataOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/import\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ImportRDBParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {},\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginExportDataOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/export\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ExportRDBParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {},\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByResourceGroupNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=redis.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { RedisFirewallRuleListResult, RedisFirewallRule, ProxyResource, Resource, BaseResource, CloudError, RedisFirewallRuleCreateParameters, TrackedResource, RedisResource, Sku, RedisAccessKeys, RedisLinkedServer, RedisPatchSchedule, ScheduleEntry, RedisLinkedServerWithProperties } from \"../models/mappers\";\r\n//# sourceMappingURL=firewallRulesMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/firewallRulesMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a FirewallRules. */\r\nvar FirewallRules = /** @class */ (function () {\r\n /**\r\n * Create a FirewallRules.\r\n * @param {RedisManagementClientContext} client Reference to the service client.\r\n */\r\n function FirewallRules(client) {\r\n this.client = client;\r\n }\r\n FirewallRules.prototype.listByRedisResource = function (resourceGroupName, cacheName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n cacheName: cacheName,\r\n options: options\r\n }, listByRedisResourceOperationSpec, callback);\r\n };\r\n FirewallRules.prototype.createOrUpdate = function (resourceGroupName, cacheName, ruleName, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n cacheName: cacheName,\r\n ruleName: ruleName,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n FirewallRules.prototype.get = function (resourceGroupName, cacheName, ruleName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n cacheName: cacheName,\r\n ruleName: ruleName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n FirewallRules.prototype.deleteMethod = function (resourceGroupName, cacheName, ruleName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n cacheName: cacheName,\r\n ruleName: ruleName,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n FirewallRules.prototype.listByRedisResourceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByRedisResourceNextOperationSpec, callback);\r\n };\r\n return FirewallRules;\r\n}());\r\nexport { FirewallRules };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByRedisResourceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.cacheName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisFirewallRuleListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.cacheName,\r\n Parameters.ruleName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.RedisFirewallRuleCreateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisFirewallRule\r\n },\r\n 201: {\r\n bodyMapper: Mappers.RedisFirewallRule\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.cacheName,\r\n Parameters.ruleName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisFirewallRule\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.cacheName,\r\n Parameters.ruleName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByRedisResourceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisFirewallRuleListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=firewallRules.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { RedisPatchScheduleListResult, RedisPatchSchedule, ProxyResource, Resource, BaseResource, ScheduleEntry, CloudError, TrackedResource, RedisFirewallRule, RedisResource, Sku, RedisAccessKeys, RedisLinkedServer, RedisLinkedServerWithProperties } from \"../models/mappers\";\r\n//# sourceMappingURL=patchSchedulesMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/patchSchedulesMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a PatchSchedules. */\r\nvar PatchSchedules = /** @class */ (function () {\r\n /**\r\n * Create a PatchSchedules.\r\n * @param {RedisManagementClientContext} client Reference to the service client.\r\n */\r\n function PatchSchedules(client) {\r\n this.client = client;\r\n }\r\n PatchSchedules.prototype.listByRedisResource = function (resourceGroupName, cacheName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n cacheName: cacheName,\r\n options: options\r\n }, listByRedisResourceOperationSpec, callback);\r\n };\r\n PatchSchedules.prototype.createOrUpdate = function (resourceGroupName, name, scheduleEntries, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n scheduleEntries: scheduleEntries,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n PatchSchedules.prototype.deleteMethod = function (resourceGroupName, name, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n PatchSchedules.prototype.get = function (resourceGroupName, name, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n PatchSchedules.prototype.listByRedisResourceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByRedisResourceNextOperationSpec, callback);\r\n };\r\n return PatchSchedules;\r\n}());\r\nexport { PatchSchedules };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByRedisResourceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/patchSchedules\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.cacheName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisPatchScheduleListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.defaultParameter,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: {\r\n scheduleEntries: \"scheduleEntries\"\r\n },\r\n mapper: tslib_1.__assign({}, Mappers.RedisPatchSchedule, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisPatchSchedule\r\n },\r\n 201: {\r\n bodyMapper: Mappers.RedisPatchSchedule\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.defaultParameter,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.defaultParameter,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisPatchSchedule\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByRedisResourceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisPatchScheduleListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=patchSchedules.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { RedisLinkedServerCreateParameters, RedisLinkedServerWithProperties, ProxyResource, Resource, BaseResource, CloudError, RedisLinkedServerWithPropertiesList, TrackedResource, RedisFirewallRule, RedisResource, Sku, RedisAccessKeys, RedisLinkedServer, RedisPatchSchedule, ScheduleEntry } from \"../models/mappers\";\r\n//# sourceMappingURL=linkedServerMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/linkedServerMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a LinkedServer. */\r\nvar LinkedServer = /** @class */ (function () {\r\n /**\r\n * Create a LinkedServer.\r\n * @param {RedisManagementClientContext} client Reference to the service client.\r\n */\r\n function LinkedServer(client) {\r\n this.client = client;\r\n }\r\n /**\r\n * Adds a linked server to the Redis cache (requires Premium SKU).\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param linkedServerName The name of the linked server that is being added to the Redis cache.\r\n * @param parameters Parameters supplied to the Create Linked server operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n LinkedServer.prototype.create = function (resourceGroupName, name, linkedServerName, parameters, options) {\r\n return this.beginCreate(resourceGroupName, name, linkedServerName, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n LinkedServer.prototype.deleteMethod = function (resourceGroupName, name, linkedServerName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n linkedServerName: linkedServerName,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n LinkedServer.prototype.get = function (resourceGroupName, name, linkedServerName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n linkedServerName: linkedServerName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n LinkedServer.prototype.list = function (resourceGroupName, name, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n /**\r\n * Adds a linked server to the Redis cache (requires Premium SKU).\r\n * @param resourceGroupName The name of the resource group.\r\n * @param name The name of the Redis cache.\r\n * @param linkedServerName The name of the linked server that is being added to the Redis cache.\r\n * @param parameters Parameters supplied to the Create Linked server operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n LinkedServer.prototype.beginCreate = function (resourceGroupName, name, linkedServerName, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n name: name,\r\n linkedServerName: linkedServerName,\r\n parameters: parameters,\r\n options: options\r\n }, beginCreateOperationSpec, options);\r\n };\r\n LinkedServer.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return LinkedServer;\r\n}());\r\nexport { LinkedServer };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.linkedServerName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.linkedServerName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisLinkedServerWithProperties\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisLinkedServerWithPropertiesList\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.name,\r\n Parameters.linkedServerName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.RedisLinkedServerCreateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisLinkedServerWithProperties\r\n },\r\n 201: {\r\n bodyMapper: Mappers.RedisLinkedServerWithProperties\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RedisLinkedServerWithPropertiesList\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=linkedServer.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport * from \"./operations\";\r\nexport * from \"./redis\";\r\nexport * from \"./firewallRules\";\r\nexport * from \"./patchSchedules\";\r\nexport * from \"./linkedServer\";\r\n//# sourceMappingURL=index.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRestAzure from \"ms-rest-azure-js\";\r\nvar packageName = \"@azure/arm-rediscache\";\r\nvar packageVersion = \"1.0.0\";\r\nvar RedisManagementClientContext = /** @class */ (function (_super) {\r\n tslib_1.__extends(RedisManagementClientContext, _super);\r\n /**\r\n * Initializes a new instance of the RedisManagementClient class.\r\n * @param credentials Credentials needed for the client to connect to Azure.\r\n * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure\r\n * subscription. The subscription ID forms part of the URI for every service call.\r\n * @param [options] The parameter options\r\n */\r\n function RedisManagementClientContext(credentials, subscriptionId, options) {\r\n var _this = this;\r\n if (credentials == undefined) {\r\n throw new Error('\\'credentials\\' cannot be null.');\r\n }\r\n if (subscriptionId == undefined) {\r\n throw new Error('\\'subscriptionId\\' cannot be null.');\r\n }\r\n if (!options) {\r\n options = {};\r\n }\r\n _this = _super.call(this, credentials, options) || this;\r\n _this.apiVersion = '2018-03-01';\r\n _this.acceptLanguage = 'en-US';\r\n _this.longRunningOperationRetryTimeout = 30;\r\n _this.baseUri = options.baseUri || _this.baseUri || \"https://management.azure.com\";\r\n _this.requestContentType = \"application/json; charset=utf-8\";\r\n _this.credentials = credentials;\r\n _this.subscriptionId = subscriptionId;\r\n _this.addUserAgentInfo(packageName + \"/\" + packageVersion);\r\n if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {\r\n _this.acceptLanguage = options.acceptLanguage;\r\n }\r\n if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {\r\n _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;\r\n }\r\n return _this;\r\n }\r\n return RedisManagementClientContext;\r\n}(msRestAzure.AzureServiceClient));\r\nexport { RedisManagementClientContext };\r\n//# sourceMappingURL=redisManagementClientContext.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as Models from \"./models\";\r\nimport * as Mappers from \"./models/mappers\";\r\nimport * as operations from \"./operations\";\r\nimport { RedisManagementClientContext } from \"./redisManagementClientContext\";\r\nvar RedisManagementClient = /** @class */ (function (_super) {\r\n tslib_1.__extends(RedisManagementClient, _super);\r\n /**\r\n * Initializes a new instance of the RedisManagementClient class.\r\n * @param credentials Credentials needed for the client to connect to Azure.\r\n * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure\r\n * subscription. The subscription ID forms part of the URI for every service call.\r\n * @param [options] The parameter options\r\n */\r\n function RedisManagementClient(credentials, subscriptionId, options) {\r\n var _this = _super.call(this, credentials, subscriptionId, options) || this;\r\n _this.operations = new operations.Operations(_this);\r\n _this.redis = new operations.Redis(_this);\r\n _this.firewallRules = new operations.FirewallRules(_this);\r\n _this.patchSchedules = new operations.PatchSchedules(_this);\r\n _this.linkedServer = new operations.LinkedServer(_this);\r\n return _this;\r\n }\r\n return RedisManagementClient;\r\n}(RedisManagementClientContext));\r\n// Operation Specifications\r\nexport { RedisManagementClient, RedisManagementClientContext, Models as RedisManagementModels, Mappers as RedisManagementMappers };\r\nexport * from \"./operations\";\r\n//# sourceMappingURL=redisManagementClient.js.map"],"names":["CloudErrorMapper","BaseResourceMapper","tslib_1.__assign","nextPageLink","msRest.Serializer","Parameters.apiVersion","Parameters.acceptLanguage","Mappers.OperationListResult","Mappers.CloudError","Parameters.nextPageLink","resourceGroupName","name","history","listOperationSpec","listNextOperationSpec","serializer","Mappers","Parameters.subscriptionId","Mappers.CheckNameAvailabilityParameters","Parameters.resourceGroupName","Parameters.name","Parameters.history","Mappers.NotificationListResponse","Mappers.RedisUpdateParameters","Mappers.RedisResource","Mappers.RedisListResult","Mappers.RedisAccessKeys","Mappers.RedisRegenerateKeyParameters","Mappers.RedisRebootParameters","Mappers.RedisForceRebootResponse","Mappers.RedisCreateParameters","Mappers.ImportRDBParameters","Mappers.ExportRDBParameters","cacheName","ruleName","getOperationSpec","Parameters.cacheName","Mappers.RedisFirewallRuleListResult","Parameters.ruleName","Mappers.RedisFirewallRuleCreateParameters","Mappers.RedisFirewallRule","listByRedisResourceOperationSpec","createOrUpdateOperationSpec","deleteMethodOperationSpec","listByRedisResourceNextOperationSpec","Mappers.RedisPatchScheduleListResult","Parameters.defaultParameter","Mappers.RedisPatchSchedule","linkedServerName","beginCreateOperationSpec","Parameters.linkedServerName","Mappers.RedisLinkedServerWithProperties","Mappers.RedisLinkedServerWithPropertiesList","Mappers.RedisLinkedServerCreateParameters","tslib_1.__extends","msRestAzure.AzureServiceClient","operations.Operations","operations.Redis","operations.FirewallRules","operations.PatchSch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qB,kBAAkB,UAAU,MAAM,EAAE;IAC7D,IAAID,SAAiB,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;IACrD;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,SAAS,qBAAqB,CAAC,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE;IACzE,QAAQ,IAAI,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,IAAI,IAAI,CAAC;IACpF,QAAQ,KAAK,CAAC,UAAU,GAAG,IAAIE,UAAqB,CAAC,KAAK,CAAC,CAAC;IAC5D,QAAQ,KAAK,CAAC,KAAK,GAAG,IAAIC,KAAgB,CAAC,KAAK,CAAC,CAAC;IAClD,QAAQ,KAAK,CAAC,aAAa,GAAG,IAAIC,aAAwB,CAAC,KAAK,CAAC,CAAC;IAClE,QAAQ,KAAK,CAAC,cAAc,GAAG,IAAIC,cAAyB,CAAC,KAAK,CAAC,CAAC;IACpE,QAAQ,KAAK,CAAC,YAAY,GAAG,IAAIC,YAAuB,CAAC,KAAK,CAAC,CAAC;IAChE,QAAQ,OAAO,KAAK,CAAC;IACrB,KAAK;IACL,IAAI,OAAO,qBAAqB,CAAC;IACjC,CAAC,CAAC,4BAA4B,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/packages/@azure/arm-rediscache/dist/arm-rediscache.min.js b/packages/@azure/arm-rediscache/dist/arm-rediscache.min.js new file mode 100644 index 000000000000..67e9ad4b6590 --- /dev/null +++ b/packages/@azure/arm-rediscache/dist/arm-rediscache.min.js @@ -0,0 +1 @@ +!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("ms-rest-azure-js"),require("ms-rest-js")):"function"==typeof define&&define.amd?define(["exports","ms-rest-azure-js","ms-rest-js"],r):r((e.Azure=e.Azure||{},e.Azure.ArmRediscache={}),e.msRestAzure,e.msRest)}(this,function(e,r,a){"use strict";var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])})(e,r)};function s(e,r){function a(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(a.prototype=r.prototype,new a)}var i,o,n,p,d,m,u,l,c,y,h,N,R,P,S,z,g=function(){return(g=Object.assign||function(e){for(var r,a=1,t=arguments.length;a + */ +export interface OperationListResult extends Array { + /** + * @member {string} [nextLink] URL to get the next set of operation list + * results if there are any. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the RedisListResult. + * The response of list Redis operation. + * + * @extends Array + */ +export interface RedisListResult extends Array { + /** + * @member {string} [nextLink] Link for next page of results. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the RedisFirewallRuleListResult. + * The response of list firewall rules Redis operation. + * + * @extends Array + */ +export interface RedisFirewallRuleListResult extends Array { + /** + * @member {string} [nextLink] Link for next page of results. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the RedisPatchScheduleListResult. + * The response of list patch schedules Redis operation. + * + * @extends Array + */ +export interface RedisPatchScheduleListResult extends Array { + /** + * @member {string} [nextLink] Link for next page of results. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the RedisLinkedServerWithPropertiesList. + * List of linked servers (with properites) of a Redis cache. + * + * @extends Array + */ +export interface RedisLinkedServerWithPropertiesList extends Array { + /** + * @member {string} [nextLink] Link for next set. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextLink?: string; +} + +/** + * Defines values for SkuName. + * Possible values include: 'Basic', 'Standard', 'Premium' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: SkuName = "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ +export enum SkuName { + Basic = 'Basic', + Standard = 'Standard', + Premium = 'Premium', +} + +/** + * Defines values for SkuFamily. + * Possible values include: 'C', 'P' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: SkuFamily = "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ +export enum SkuFamily { + C = 'C', + P = 'P', +} + +/** + * Defines values for TlsVersion. + * Possible values include: '1.0', '1.1', '1.2' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: TlsVersion = "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ +export enum TlsVersion { + OneFullStopZero = '1.0', + OneFullStopOne = '1.1', + OneFullStopTwo = '1.2', +} + +/** + * Defines values for ProvisioningState. + * Possible values include: 'Creating', 'Deleting', 'Disabled', 'Failed', + * 'Linking', 'Provisioning', 'RecoveringScaleFailure', 'Scaling', 'Succeeded', + * 'Unlinking', 'Unprovisioning', 'Updating' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: ProvisioningState = + * "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ +export enum ProvisioningState { + Creating = 'Creating', + Deleting = 'Deleting', + Disabled = 'Disabled', + Failed = 'Failed', + Linking = 'Linking', + Provisioning = 'Provisioning', + RecoveringScaleFailure = 'RecoveringScaleFailure', + Scaling = 'Scaling', + Succeeded = 'Succeeded', + Unlinking = 'Unlinking', + Unprovisioning = 'Unprovisioning', + Updating = 'Updating', +} + +/** + * Defines values for RedisKeyType. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} + */ +export enum RedisKeyType { + Primary = 'Primary', + Secondary = 'Secondary', +} + +/** + * Defines values for RebootType. + * Possible values include: 'PrimaryNode', 'SecondaryNode', 'AllNodes' + * There could be more values for this enum apart from the ones defined here.If + * you want to set a value that is not from the known values then you can do + * the following: + * let param: RebootType = "someUnknownValueThatWillStillBeValid"; + * @readonly + * @enum {string} + */ +export enum RebootType { + PrimaryNode = 'PrimaryNode', + SecondaryNode = 'SecondaryNode', + AllNodes = 'AllNodes', +} + +/** + * Defines values for DayOfWeek. + * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', + * 'Friday', 'Saturday', 'Sunday', 'Everyday', 'Weekend' + * @readonly + * @enum {string} + */ +export enum DayOfWeek { + Monday = 'Monday', + Tuesday = 'Tuesday', + Wednesday = 'Wednesday', + Thursday = 'Thursday', + Friday = 'Friday', + Saturday = 'Saturday', + Sunday = 'Sunday', + Everyday = 'Everyday', + Weekend = 'Weekend', +} + +/** + * Defines values for ReplicationRole. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} + */ +export enum ReplicationRole { + Primary = 'Primary', + Secondary = 'Secondary', +} + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type OperationsListNextResponse = OperationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; +}; + +/** + * Contains response data for the listUpgradeNotifications operation. + */ +export type RedisListUpgradeNotificationsResponse = NotificationListResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: NotificationListResponse; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type RedisCreateResponse = RedisResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisResource; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type RedisUpdateResponse = RedisResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisResource; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type RedisGetResponse = RedisResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisResource; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type RedisListByResourceGroupResponse = RedisListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type RedisListResponse = RedisListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisListResult; + }; +}; + +/** + * Contains response data for the listKeys operation. + */ +export type RedisListKeysResponse = RedisAccessKeys & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisAccessKeys; + }; +}; + +/** + * Contains response data for the regenerateKey operation. + */ +export type RedisRegenerateKeyResponse = RedisAccessKeys & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisAccessKeys; + }; +}; + +/** + * Contains response data for the forceReboot operation. + */ +export type RedisForceRebootResponse2 = RedisForceRebootResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisForceRebootResponse; + }; +}; + +/** + * Contains response data for the beginCreate operation. + */ +export type RedisBeginCreateResponse = RedisResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisResource; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type RedisListByResourceGroupNextResponse = RedisListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type RedisListNextResponse = RedisListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisListResult; + }; +}; + +/** + * Contains response data for the listByRedisResource operation. + */ +export type FirewallRulesListByRedisResourceResponse = RedisFirewallRuleListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisFirewallRuleListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type FirewallRulesCreateOrUpdateResponse = RedisFirewallRule & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisFirewallRule; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type FirewallRulesGetResponse = RedisFirewallRule & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisFirewallRule; + }; +}; + +/** + * Contains response data for the listByRedisResourceNext operation. + */ +export type FirewallRulesListByRedisResourceNextResponse = RedisFirewallRuleListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisFirewallRuleListResult; + }; +}; + +/** + * Contains response data for the listByRedisResource operation. + */ +export type PatchSchedulesListByRedisResourceResponse = RedisPatchScheduleListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisPatchScheduleListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type PatchSchedulesCreateOrUpdateResponse = RedisPatchSchedule & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisPatchSchedule; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type PatchSchedulesGetResponse = RedisPatchSchedule & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisPatchSchedule; + }; +}; + +/** + * Contains response data for the listByRedisResourceNext operation. + */ +export type PatchSchedulesListByRedisResourceNextResponse = RedisPatchScheduleListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisPatchScheduleListResult; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type LinkedServerCreateResponse = RedisLinkedServerWithProperties & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisLinkedServerWithProperties; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type LinkedServerGetResponse = RedisLinkedServerWithProperties & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisLinkedServerWithProperties; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type LinkedServerListResponse = RedisLinkedServerWithPropertiesList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisLinkedServerWithPropertiesList; + }; +}; + +/** + * Contains response data for the beginCreate operation. + */ +export type LinkedServerBeginCreateResponse = RedisLinkedServerWithProperties & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisLinkedServerWithProperties; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type LinkedServerListNextResponse = RedisLinkedServerWithPropertiesList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RedisLinkedServerWithPropertiesList; + }; +}; diff --git a/packages/@azure/arm-rediscache/lib/models/linkedServerMappers.ts b/packages/@azure/arm-rediscache/lib/models/linkedServerMappers.ts new file mode 100644 index 000000000000..4bd5868deb18 --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/models/linkedServerMappers.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +export { + RedisLinkedServerCreateParameters, + RedisLinkedServerWithProperties, + ProxyResource, + Resource, + BaseResource, + CloudError, + RedisLinkedServerWithPropertiesList, + TrackedResource, + RedisFirewallRule, + RedisResource, + Sku, + RedisAccessKeys, + RedisLinkedServer, + RedisPatchSchedule, + ScheduleEntry +} from "../models/mappers"; + diff --git a/packages/@azure/arm-rediscache/lib/models/mappers.ts b/packages/@azure/arm-rediscache/lib/models/mappers.ts new file mode 100644 index 000000000000..7467a558b4cc --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/models/mappers.ts @@ -0,0 +1,1177 @@ +/* + * 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. + */ + +import { CloudErrorMapper, BaseResourceMapper } from "ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; + +export const CloudError = CloudErrorMapper; +export const BaseResource = BaseResourceMapper; + +export const Sku: msRest.CompositeMapper = { + serializedName: "Sku", + type: { + name: "Composite", + className: "Sku", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + family: { + required: true, + serializedName: "family", + type: { + name: "String" + } + }, + capacity: { + required: true, + serializedName: "capacity", + type: { + name: "Number" + } + } + } + } +}; + +export const RedisAccessKeys: msRest.CompositeMapper = { + serializedName: "RedisAccessKeys", + type: { + name: "Composite", + className: "RedisAccessKeys", + modelProperties: { + primaryKey: { + readOnly: true, + serializedName: "primaryKey", + type: { + name: "String" + } + }, + secondaryKey: { + readOnly: true, + serializedName: "secondaryKey", + type: { + name: "String" + } + } + } + } +}; + +export const RedisLinkedServer: msRest.CompositeMapper = { + serializedName: "RedisLinkedServer", + type: { + name: "Composite", + className: "RedisLinkedServer", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const ProxyResource: msRest.CompositeMapper = { + serializedName: "ProxyResource", + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + +export const TrackedResource: msRest.CompositeMapper = { + serializedName: "TrackedResource", + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const RedisCreateParameters: msRest.CompositeMapper = { + serializedName: "RedisCreateParameters", + type: { + name: "Composite", + className: "RedisCreateParameters", + modelProperties: { + redisConfiguration: { + serializedName: "properties.redisConfiguration", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + enableNonSslPort: { + serializedName: "properties.enableNonSslPort", + type: { + name: "Boolean" + } + }, + tenantSettings: { + serializedName: "properties.tenantSettings", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + shardCount: { + serializedName: "properties.shardCount", + type: { + name: "Number" + } + }, + minimumTlsVersion: { + serializedName: "properties.minimumTlsVersion", + type: { + name: "String" + } + }, + sku: { + required: true, + serializedName: "properties.sku", + type: { + name: "Composite", + className: "Sku" + } + }, + subnetId: { + serializedName: "properties.subnetId", + constraints: { + Pattern: /^\/subscriptions\/[^\/]*\/resourceGroups\/[^\/]*\/providers\/Microsoft.(ClassicNetwork|Network)\/virtualNetworks\/[^\/]*\/subnets\/[^\/]*$/ + }, + type: { + name: "String" + } + }, + staticIP: { + serializedName: "properties.staticIP", + constraints: { + Pattern: /^\d+\.\d+\.\d+\.\d+$/ + }, + type: { + name: "String" + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const RedisUpdateParameters: msRest.CompositeMapper = { + serializedName: "RedisUpdateParameters", + type: { + name: "Composite", + className: "RedisUpdateParameters", + modelProperties: { + redisConfiguration: { + serializedName: "properties.redisConfiguration", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + enableNonSslPort: { + serializedName: "properties.enableNonSslPort", + type: { + name: "Boolean" + } + }, + tenantSettings: { + serializedName: "properties.tenantSettings", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + shardCount: { + serializedName: "properties.shardCount", + type: { + name: "Number" + } + }, + minimumTlsVersion: { + serializedName: "properties.minimumTlsVersion", + type: { + name: "String" + } + }, + sku: { + serializedName: "properties.sku", + type: { + name: "Composite", + className: "Sku" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const RedisFirewallRuleProperties: msRest.CompositeMapper = { + serializedName: "RedisFirewallRuleProperties", + type: { + name: "Composite", + className: "RedisFirewallRuleProperties", + modelProperties: { + startIP: { + required: true, + serializedName: "startIP", + type: { + name: "String" + } + }, + endIP: { + required: true, + serializedName: "endIP", + type: { + name: "String" + } + } + } + } +}; + +export const RedisFirewallRule: msRest.CompositeMapper = { + serializedName: "RedisFirewallRule", + type: { + name: "Composite", + className: "RedisFirewallRule", + modelProperties: { + ...ProxyResource.type.modelProperties, + startIP: { + required: true, + serializedName: "properties.startIP", + type: { + name: "String" + } + }, + endIP: { + required: true, + serializedName: "properties.endIP", + type: { + name: "String" + } + } + } + } +}; + +export const RedisFirewallRuleCreateParameters: msRest.CompositeMapper = { + serializedName: "RedisFirewallRuleCreateParameters", + type: { + name: "Composite", + className: "RedisFirewallRuleCreateParameters", + modelProperties: { + startIP: { + required: true, + serializedName: "properties.startIP", + type: { + name: "String" + } + }, + endIP: { + required: true, + serializedName: "properties.endIP", + type: { + name: "String" + } + } + } + } +}; + +export const RedisResource: msRest.CompositeMapper = { + serializedName: "RedisResource", + type: { + name: "Composite", + className: "RedisResource", + modelProperties: { + ...TrackedResource.type.modelProperties, + redisConfiguration: { + serializedName: "properties.redisConfiguration", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + enableNonSslPort: { + serializedName: "properties.enableNonSslPort", + type: { + name: "Boolean" + } + }, + tenantSettings: { + serializedName: "properties.tenantSettings", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + shardCount: { + serializedName: "properties.shardCount", + type: { + name: "Number" + } + }, + minimumTlsVersion: { + serializedName: "properties.minimumTlsVersion", + type: { + name: "String" + } + }, + sku: { + required: true, + serializedName: "properties.sku", + type: { + name: "Composite", + className: "Sku" + } + }, + subnetId: { + serializedName: "properties.subnetId", + constraints: { + Pattern: /^\/subscriptions\/[^\/]*\/resourceGroups\/[^\/]*\/providers\/Microsoft.(ClassicNetwork|Network)\/virtualNetworks\/[^\/]*\/subnets\/[^\/]*$/ + }, + type: { + name: "String" + } + }, + staticIP: { + serializedName: "properties.staticIP", + constraints: { + Pattern: /^\d+\.\d+\.\d+\.\d+$/ + }, + type: { + name: "String" + } + }, + redisVersion: { + readOnly: true, + serializedName: "properties.redisVersion", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + hostName: { + readOnly: true, + serializedName: "properties.hostName", + type: { + name: "String" + } + }, + port: { + readOnly: true, + serializedName: "properties.port", + type: { + name: "Number" + } + }, + sslPort: { + readOnly: true, + serializedName: "properties.sslPort", + type: { + name: "Number" + } + }, + accessKeys: { + readOnly: true, + serializedName: "properties.accessKeys", + type: { + name: "Composite", + className: "RedisAccessKeys" + } + }, + linkedServers: { + readOnly: true, + serializedName: "properties.linkedServers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisLinkedServer" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const RedisRegenerateKeyParameters: msRest.CompositeMapper = { + serializedName: "RedisRegenerateKeyParameters", + type: { + name: "Composite", + className: "RedisRegenerateKeyParameters", + modelProperties: { + keyType: { + required: true, + serializedName: "keyType", + type: { + name: "Enum", + allowedValues: [ + "Primary", + "Secondary" + ] + } + } + } + } +}; + +export const RedisRebootParameters: msRest.CompositeMapper = { + serializedName: "RedisRebootParameters", + type: { + name: "Composite", + className: "RedisRebootParameters", + modelProperties: { + rebootType: { + required: true, + serializedName: "rebootType", + type: { + name: "String" + } + }, + shardId: { + serializedName: "shardId", + type: { + name: "Number" + } + } + } + } +}; + +export const ExportRDBParameters: msRest.CompositeMapper = { + serializedName: "ExportRDBParameters", + type: { + name: "Composite", + className: "ExportRDBParameters", + modelProperties: { + format: { + serializedName: "format", + type: { + name: "String" + } + }, + prefix: { + required: true, + serializedName: "prefix", + type: { + name: "String" + } + }, + container: { + required: true, + serializedName: "container", + type: { + name: "String" + } + } + } + } +}; + +export const ImportRDBParameters: msRest.CompositeMapper = { + serializedName: "ImportRDBParameters", + type: { + name: "Composite", + className: "ImportRDBParameters", + modelProperties: { + format: { + serializedName: "format", + type: { + name: "String" + } + }, + files: { + required: true, + serializedName: "files", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ScheduleEntry: msRest.CompositeMapper = { + serializedName: "ScheduleEntry", + type: { + name: "Composite", + className: "ScheduleEntry", + modelProperties: { + dayOfWeek: { + required: true, + serializedName: "dayOfWeek", + type: { + name: "Enum", + allowedValues: [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday", + "Everyday", + "Weekend" + ] + } + }, + startHourUtc: { + required: true, + serializedName: "startHourUtc", + type: { + name: "Number" + } + }, + maintenanceWindow: { + serializedName: "maintenanceWindow", + type: { + name: "TimeSpan" + } + } + } + } +}; + +export const ScheduleEntries: msRest.CompositeMapper = { + serializedName: "ScheduleEntries", + type: { + name: "Composite", + className: "ScheduleEntries", + modelProperties: { + scheduleEntries: { + required: true, + serializedName: "scheduleEntries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScheduleEntry" + } + } + } + } + } + } +}; + +export const RedisPatchSchedule: msRest.CompositeMapper = { + serializedName: "RedisPatchSchedule", + type: { + name: "Composite", + className: "RedisPatchSchedule", + modelProperties: { + ...ProxyResource.type.modelProperties, + scheduleEntries: { + required: true, + serializedName: "properties.scheduleEntries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScheduleEntry" + } + } + } + } + } + } +}; + +export const RedisForceRebootResponse: msRest.CompositeMapper = { + serializedName: "RedisForceRebootResponse", + type: { + name: "Composite", + className: "RedisForceRebootResponse", + modelProperties: { + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + } + } + } +}; + +export const RedisLinkedServerCreateProperties: msRest.CompositeMapper = { + serializedName: "RedisLinkedServerCreateProperties", + type: { + name: "Composite", + className: "RedisLinkedServerCreateProperties", + modelProperties: { + linkedRedisCacheId: { + required: true, + serializedName: "linkedRedisCacheId", + type: { + name: "String" + } + }, + linkedRedisCacheLocation: { + required: true, + serializedName: "linkedRedisCacheLocation", + type: { + name: "String" + } + }, + serverRole: { + required: true, + serializedName: "serverRole", + type: { + name: "Enum", + allowedValues: [ + "Primary", + "Secondary" + ] + } + } + } + } +}; + +export const RedisLinkedServerProperties: msRest.CompositeMapper = { + serializedName: "RedisLinkedServerProperties", + type: { + name: "Composite", + className: "RedisLinkedServerProperties", + modelProperties: { + ...RedisLinkedServerCreateProperties.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const RedisLinkedServerWithProperties: msRest.CompositeMapper = { + serializedName: "RedisLinkedServerWithProperties", + type: { + name: "Composite", + className: "RedisLinkedServerWithProperties", + modelProperties: { + ...ProxyResource.type.modelProperties, + linkedRedisCacheId: { + required: true, + serializedName: "properties.linkedRedisCacheId", + type: { + name: "String" + } + }, + linkedRedisCacheLocation: { + required: true, + serializedName: "properties.linkedRedisCacheLocation", + type: { + name: "String" + } + }, + serverRole: { + required: true, + serializedName: "properties.serverRole", + type: { + name: "Enum", + allowedValues: [ + "Primary", + "Secondary" + ] + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const RedisLinkedServerCreateParameters: msRest.CompositeMapper = { + serializedName: "RedisLinkedServerCreateParameters", + type: { + name: "Composite", + className: "RedisLinkedServerCreateParameters", + modelProperties: { + linkedRedisCacheId: { + required: true, + serializedName: "properties.linkedRedisCacheId", + type: { + name: "String" + } + }, + linkedRedisCacheLocation: { + required: true, + serializedName: "properties.linkedRedisCacheLocation", + type: { + name: "String" + } + }, + serverRole: { + required: true, + serializedName: "properties.serverRole", + type: { + name: "Enum", + allowedValues: [ + "Primary", + "Secondary" + ] + } + } + } + } +}; + +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "Operation_display", + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + } + } + } +}; + +export const CheckNameAvailabilityParameters: msRest.CompositeMapper = { + serializedName: "CheckNameAvailabilityParameters", + type: { + name: "Composite", + className: "CheckNameAvailabilityParameters", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const UpgradeNotification: msRest.CompositeMapper = { + serializedName: "UpgradeNotification", + type: { + name: "Composite", + className: "UpgradeNotification", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + timestamp: { + readOnly: true, + serializedName: "timestamp", + type: { + name: "DateTime" + } + }, + upsellNotification: { + readOnly: true, + serializedName: "upsellNotification", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const NotificationListResponse: msRest.CompositeMapper = { + serializedName: "NotificationListResponse", + type: { + name: "Composite", + className: "NotificationListResponse", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpgradeNotification" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const OperationListResult: msRest.CompositeMapper = { + serializedName: "OperationListResult", + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const RedisListResult: msRest.CompositeMapper = { + serializedName: "RedisListResult", + type: { + name: "Composite", + className: "RedisListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisResource" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const RedisFirewallRuleListResult: msRest.CompositeMapper = { + serializedName: "RedisFirewallRuleListResult", + type: { + name: "Composite", + className: "RedisFirewallRuleListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisFirewallRule" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const RedisPatchScheduleListResult: msRest.CompositeMapper = { + serializedName: "RedisPatchScheduleListResult", + type: { + name: "Composite", + className: "RedisPatchScheduleListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisPatchSchedule" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const RedisLinkedServerWithPropertiesList: msRest.CompositeMapper = { + serializedName: "RedisLinkedServerWithPropertiesList", + type: { + name: "Composite", + className: "RedisLinkedServerWithPropertiesList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RedisLinkedServerWithProperties" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; diff --git a/packages/@azure/arm-rediscache/lib/models/operationsMappers.ts b/packages/@azure/arm-rediscache/lib/models/operationsMappers.ts new file mode 100644 index 000000000000..2edcc577920e --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/models/operationsMappers.ts @@ -0,0 +1,17 @@ +/* + * 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. + */ + +export { + OperationListResult, + Operation, + OperationDisplay, + CloudError +} from "../models/mappers"; + diff --git a/packages/@azure/arm-rediscache/lib/models/parameters.ts b/packages/@azure/arm-rediscache/lib/models/parameters.ts new file mode 100644 index 000000000000..253aad551799 --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/models/parameters.ts @@ -0,0 +1,125 @@ +/* + * 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. + */ + +import * as msRest from "ms-rest-js"; + +export const acceptLanguage: msRest.OperationParameter = { + parameterPath: "acceptLanguage", + mapper: { + serializedName: "accept-language", + defaultValue: 'en-US', + type: { + name: "String" + } + } +}; +export const apiVersion: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; +export const cacheName: msRest.OperationURLParameter = { + parameterPath: "cacheName", + mapper: { + required: true, + serializedName: "cacheName", + type: { + name: "String" + } + } +}; +export const defaultParameter: msRest.OperationURLParameter = { + parameterPath: "defaultParameter", + mapper: { + required: true, + isConstant: true, + serializedName: "default", + defaultValue: 'default', + type: { + name: "String" + } + } +}; +export const history: msRest.OperationQueryParameter = { + parameterPath: "history", + mapper: { + required: true, + serializedName: "history", + type: { + name: "Number" + } + } +}; +export const linkedServerName: msRest.OperationURLParameter = { + parameterPath: "linkedServerName", + mapper: { + required: true, + serializedName: "linkedServerName", + type: { + name: "String" + } + } +}; +export const name: msRest.OperationURLParameter = { + parameterPath: "name", + mapper: { + required: true, + serializedName: "name", + type: { + name: "String" + } + } +}; +export const nextPageLink: msRest.OperationURLParameter = { + parameterPath: "nextPageLink", + mapper: { + required: true, + serializedName: "nextLink", + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const resourceGroupName: msRest.OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { + required: true, + serializedName: "resourceGroupName", + type: { + name: "String" + } + } +}; +export const ruleName: msRest.OperationURLParameter = { + parameterPath: "ruleName", + mapper: { + required: true, + serializedName: "ruleName", + type: { + name: "String" + } + } +}; +export const subscriptionId: msRest.OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + required: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + } +}; diff --git a/packages/@azure/arm-rediscache/lib/models/patchSchedulesMappers.ts b/packages/@azure/arm-rediscache/lib/models/patchSchedulesMappers.ts new file mode 100644 index 000000000000..f6b7ba073b86 --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/models/patchSchedulesMappers.ts @@ -0,0 +1,27 @@ +/* + * 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. + */ + +export { + RedisPatchScheduleListResult, + RedisPatchSchedule, + ProxyResource, + Resource, + BaseResource, + ScheduleEntry, + CloudError, + TrackedResource, + RedisFirewallRule, + RedisResource, + Sku, + RedisAccessKeys, + RedisLinkedServer, + RedisLinkedServerWithProperties +} from "../models/mappers"; + diff --git a/packages/@azure/arm-rediscache/lib/models/redisMappers.ts b/packages/@azure/arm-rediscache/lib/models/redisMappers.ts new file mode 100644 index 000000000000..f780133713ea --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/models/redisMappers.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +export { + CheckNameAvailabilityParameters, + CloudError, + NotificationListResponse, + UpgradeNotification, + RedisCreateParameters, + Sku, + RedisResource, + TrackedResource, + Resource, + BaseResource, + RedisAccessKeys, + RedisLinkedServer, + RedisUpdateParameters, + RedisListResult, + RedisRegenerateKeyParameters, + RedisRebootParameters, + RedisForceRebootResponse, + ImportRDBParameters, + ExportRDBParameters, + ProxyResource, + RedisFirewallRule, + RedisPatchSchedule, + ScheduleEntry, + RedisLinkedServerWithProperties +} from "../models/mappers"; + diff --git a/packages/@azure/arm-rediscache/lib/operations/firewallRules.ts b/packages/@azure/arm-rediscache/lib/operations/firewallRules.ts new file mode 100644 index 000000000000..06c4479181ec --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/operations/firewallRules.ts @@ -0,0 +1,335 @@ +/* + * 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. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/firewallRulesMappers"; +import * as Parameters from "../models/parameters"; +import { RedisManagementClientContext } from "../redisManagementClientContext"; + +/** Class representing a FirewallRules. */ +export class FirewallRules { + private readonly client: RedisManagementClientContext; + + /** + * Create a FirewallRules. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + constructor(client: RedisManagementClientContext) { + this.client = client; + } + + /** + * Gets all firewall rules in the specified redis cache. + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + listByRedisResource(resourceGroupName: string, cacheName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param callback The callback + */ + listByRedisResource(resourceGroupName: string, cacheName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param options The optional parameters + * @param callback The callback + */ + listByRedisResource(resourceGroupName: string, cacheName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByRedisResource(resourceGroupName: string, cacheName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cacheName, + options + }, + listByRedisResourceOperationSpec, + callback) as Promise; + } + + /** + * Create or update a redis cache firewall rule + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param ruleName The name of the firewall rule. + * @param parameters Parameters supplied to the create or update redis firewall rule operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, cacheName: string, ruleName: string, parameters: Models.RedisFirewallRuleCreateParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param ruleName The name of the firewall rule. + * @param parameters Parameters supplied to the create or update redis firewall rule operation. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, cacheName: string, ruleName: string, parameters: Models.RedisFirewallRuleCreateParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param ruleName The name of the firewall rule. + * @param parameters Parameters supplied to the create or update redis firewall rule operation. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, cacheName: string, ruleName: string, parameters: Models.RedisFirewallRuleCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, cacheName: string, ruleName: string, parameters: Models.RedisFirewallRuleCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cacheName, + ruleName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Gets a single firewall rule in a specified redis cache. + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param ruleName The name of the firewall rule. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, cacheName: string, ruleName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param ruleName The name of the firewall rule. + * @param callback The callback + */ + get(resourceGroupName: string, cacheName: string, ruleName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param ruleName The name of the firewall rule. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, cacheName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, cacheName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cacheName, + ruleName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes a single firewall rule in a specified redis cache. + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param ruleName The name of the firewall rule. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, cacheName: string, ruleName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param ruleName The name of the firewall rule. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, cacheName: string, ruleName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param ruleName The name of the firewall rule. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, cacheName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, cacheName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cacheName, + ruleName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets all firewall rules in the specified redis cache. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByRedisResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByRedisResourceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByRedisResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByRedisResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByRedisResourceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByRedisResourceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.cacheName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisFirewallRuleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cacheName, + Parameters.ruleName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.RedisFirewallRuleCreateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RedisFirewallRule + }, + 201: { + bodyMapper: Mappers.RedisFirewallRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cacheName, + Parameters.ruleName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisFirewallRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cacheName, + Parameters.ruleName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByRedisResourceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisFirewallRuleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-rediscache/lib/operations/index.ts b/packages/@azure/arm-rediscache/lib/operations/index.ts new file mode 100644 index 000000000000..a2f30803474f --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/operations/index.ts @@ -0,0 +1,15 @@ +/* + * 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. + */ + +export * from "./operations"; +export * from "./redis"; +export * from "./firewallRules"; +export * from "./patchSchedules"; +export * from "./linkedServer"; diff --git a/packages/@azure/arm-rediscache/lib/operations/linkedServer.ts b/packages/@azure/arm-rediscache/lib/operations/linkedServer.ts new file mode 100644 index 000000000000..f6d9e451193c --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/operations/linkedServer.ts @@ -0,0 +1,331 @@ +/* + * 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. + */ + +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/linkedServerMappers"; +import * as Parameters from "../models/parameters"; +import { RedisManagementClientContext } from "../redisManagementClientContext"; + +/** Class representing a LinkedServer. */ +export class LinkedServer { + private readonly client: RedisManagementClientContext; + + /** + * Create a LinkedServer. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + constructor(client: RedisManagementClientContext) { + this.client = client; + } + + /** + * Adds a linked server to the Redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param linkedServerName The name of the linked server that is being added to the Redis cache. + * @param parameters Parameters supplied to the Create Linked server operation. + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, name: string, linkedServerName: string, parameters: Models.RedisLinkedServerCreateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(resourceGroupName,name,linkedServerName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes the linked server from a redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param linkedServerName The name of the linked server that is being added to the Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, name: string, linkedServerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param linkedServerName The name of the linked server that is being added to the Redis cache. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, name: string, linkedServerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param linkedServerName The name of the linked server that is being added to the Redis cache. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, name: string, linkedServerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, name: string, linkedServerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + linkedServerName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets the detailed information about a linked server of a redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param linkedServerName The name of the linked server. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, name: string, linkedServerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param linkedServerName The name of the linked server. + * @param callback The callback + */ + get(resourceGroupName: string, name: string, linkedServerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param linkedServerName The name of the linked server. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, name: string, linkedServerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, name: string, linkedServerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + linkedServerName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets the list of linked servers associated with this redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param callback The callback + */ + list(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Adds a linked server to the Redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param linkedServerName The name of the linked server that is being added to the Redis cache. + * @param parameters Parameters supplied to the Create Linked server operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(resourceGroupName: string, name: string, linkedServerName: string, parameters: Models.RedisLinkedServerCreateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + linkedServerName, + parameters, + options + }, + beginCreateOperationSpec, + options); + } + + /** + * Gets the list of linked servers associated with this redis cache (requires Premium SKU). + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.linkedServerName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.linkedServerName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisLinkedServerWithProperties + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisLinkedServerWithPropertiesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.linkedServerName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.RedisLinkedServerCreateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RedisLinkedServerWithProperties + }, + 201: { + bodyMapper: Mappers.RedisLinkedServerWithProperties + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisLinkedServerWithPropertiesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-rediscache/lib/operations/operations.ts b/packages/@azure/arm-rediscache/lib/operations/operations.ts new file mode 100644 index 000000000000..589c072e0b68 --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/operations/operations.ts @@ -0,0 +1,123 @@ +/* + * 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. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/operationsMappers"; +import * as Parameters from "../models/parameters"; +import { RedisManagementClientContext } from "../redisManagementClientContext"; + +/** Class representing a Operations. */ +export class Operations { + private readonly client: RedisManagementClientContext; + + /** + * Create a Operations. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + constructor(client: RedisManagementClientContext) { + this.client = client; + } + + /** + * Lists all of the available REST API operations of the Microsoft.Cache provider. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the available REST API operations of the Microsoft.Cache provider. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.Cache/operations", + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OperationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OperationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-rediscache/lib/operations/patchSchedules.ts b/packages/@azure/arm-rediscache/lib/operations/patchSchedules.ts new file mode 100644 index 000000000000..4e09d5a857f7 --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/operations/patchSchedules.ts @@ -0,0 +1,325 @@ +/* + * 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. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/patchSchedulesMappers"; +import * as Parameters from "../models/parameters"; +import { RedisManagementClientContext } from "../redisManagementClientContext"; + +/** Class representing a PatchSchedules. */ +export class PatchSchedules { + private readonly client: RedisManagementClientContext; + + /** + * Create a PatchSchedules. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + constructor(client: RedisManagementClientContext) { + this.client = client; + } + + /** + * Gets all patch schedules in the specified redis cache (there is only one). + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + listByRedisResource(resourceGroupName: string, cacheName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param callback The callback + */ + listByRedisResource(resourceGroupName: string, cacheName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param cacheName The name of the Redis cache. + * @param options The optional parameters + * @param callback The callback + */ + listByRedisResource(resourceGroupName: string, cacheName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByRedisResource(resourceGroupName: string, cacheName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cacheName, + options + }, + listByRedisResourceOperationSpec, + callback) as Promise; + } + + /** + * Create or replace the patching schedule for Redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param scheduleEntries List of patch schedules for a Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, name: string, scheduleEntries: Models.ScheduleEntry[], options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param scheduleEntries List of patch schedules for a Redis cache. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, name: string, scheduleEntries: Models.ScheduleEntry[], callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param scheduleEntries List of patch schedules for a Redis cache. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, name: string, scheduleEntries: Models.ScheduleEntry[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, name: string, scheduleEntries: Models.ScheduleEntry[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + scheduleEntries, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes the patching schedule of a redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets the patching schedule of a redis cache (requires Premium SKU). + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param callback The callback + */ + get(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the redis cache. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets all patch schedules in the specified redis cache (there is only one). + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByRedisResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByRedisResourceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByRedisResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByRedisResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByRedisResourceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByRedisResourceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/patchSchedules", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.cacheName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisPatchScheduleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.defaultParameter, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: { + scheduleEntries: "scheduleEntries" + }, + mapper: { + ...Mappers.RedisPatchSchedule, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RedisPatchSchedule + }, + 201: { + bodyMapper: Mappers.RedisPatchSchedule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.defaultParameter, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.defaultParameter, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisPatchSchedule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByRedisResourceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisPatchScheduleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-rediscache/lib/operations/redis.ts b/packages/@azure/arm-rediscache/lib/operations/redis.ts new file mode 100644 index 000000000000..f92752599903 --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/operations/redis.ts @@ -0,0 +1,928 @@ +/* + * 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. + */ + +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/redisMappers"; +import * as Parameters from "../models/parameters"; +import { RedisManagementClientContext } from "../redisManagementClientContext"; + +/** Class representing a Redis. */ +export class Redis { + private readonly client: RedisManagementClientContext; + + /** + * Create a Redis. + * @param {RedisManagementClientContext} client Reference to the service client. + */ + constructor(client: RedisManagementClientContext) { + this.client = client; + } + + /** + * Checks that the redis cache name is valid and is not already in use. + * @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only + * supported resource type is 'Microsoft.Cache/redis' + * @param [options] The optional parameters + * @returns Promise + */ + checkNameAvailability(parameters: Models.CheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only + * supported resource type is 'Microsoft.Cache/redis' + * @param callback The callback + */ + checkNameAvailability(parameters: Models.CheckNameAvailabilityParameters, callback: msRest.ServiceCallback): void; + /** + * @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only + * supported resource type is 'Microsoft.Cache/redis' + * @param options The optional parameters + * @param callback The callback + */ + checkNameAvailability(parameters: Models.CheckNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + checkNameAvailability(parameters: Models.CheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + parameters, + options + }, + checkNameAvailabilityOperationSpec, + callback); + } + + /** + * Gets any upgrade notifications for a Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param history how many minutes in past to look for upgrade notifications + * @param [options] The optional parameters + * @returns Promise + */ + listUpgradeNotifications(resourceGroupName: string, name: string, history: number, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param history how many minutes in past to look for upgrade notifications + * @param callback The callback + */ + listUpgradeNotifications(resourceGroupName: string, name: string, history: number, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param history how many minutes in past to look for upgrade notifications + * @param options The optional parameters + * @param callback The callback + */ + listUpgradeNotifications(resourceGroupName: string, name: string, history: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listUpgradeNotifications(resourceGroupName: string, name: string, history: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + history, + options + }, + listUpgradeNotificationsOperationSpec, + callback) as Promise; + } + + /** + * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters supplied to the Create Redis operation. + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, name: string, parameters: Models.RedisCreateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(resourceGroupName,name,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Update an existing Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters supplied to the Update Redis operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, name: string, parameters: Models.RedisUpdateParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters supplied to the Update Redis operation. + * @param callback The callback + */ + update(resourceGroupName: string, name: string, parameters: Models.RedisUpdateParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters supplied to the Update Redis operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, name: string, parameters: Models.RedisUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, name: string, parameters: Models.RedisUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Deletes a Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,name,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets a Redis cache (resource description). + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param callback The callback + */ + get(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all Redis caches in a resource group. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Gets all Redis caches in the specified subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Retrieve a Redis cache's access keys. This operation requires write permission to the cache + * resource. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + listKeys(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param callback The callback + */ + listKeys(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param options The optional parameters + * @param callback The callback + */ + listKeys(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listKeys(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + listKeysOperationSpec, + callback) as Promise; + } + + /** + * Regenerate Redis cache's access keys. This operation requires write permission to the cache + * resource. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param keyType The Redis access key to regenerate. Possible values include: 'Primary', + * 'Secondary' + * @param [options] The optional parameters + * @returns Promise + */ + regenerateKey(resourceGroupName: string, name: string, keyType: Models.RedisKeyType, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param keyType The Redis access key to regenerate. Possible values include: 'Primary', + * 'Secondary' + * @param callback The callback + */ + regenerateKey(resourceGroupName: string, name: string, keyType: Models.RedisKeyType, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param keyType The Redis access key to regenerate. Possible values include: 'Primary', + * 'Secondary' + * @param options The optional parameters + * @param callback The callback + */ + regenerateKey(resourceGroupName: string, name: string, keyType: Models.RedisKeyType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regenerateKey(resourceGroupName: string, name: string, keyType: Models.RedisKeyType, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + keyType, + options + }, + regenerateKeyOperationSpec, + callback) as Promise; + } + + /** + * Reboot specified Redis node(s). This operation requires write permission to the cache resource. + * There can be potential data loss. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Specifies which Redis node(s) to reboot. + * @param [options] The optional parameters + * @returns Promise + */ + forceReboot(resourceGroupName: string, name: string, parameters: Models.RedisRebootParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Specifies which Redis node(s) to reboot. + * @param callback The callback + */ + forceReboot(resourceGroupName: string, name: string, parameters: Models.RedisRebootParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Specifies which Redis node(s) to reboot. + * @param options The optional parameters + * @param callback The callback + */ + forceReboot(resourceGroupName: string, name: string, parameters: Models.RedisRebootParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + forceReboot(resourceGroupName: string, name: string, parameters: Models.RedisRebootParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + parameters, + options + }, + forceRebootOperationSpec, + callback) as Promise; + } + + /** + * Import data into Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters for Redis import operation. + * @param [options] The optional parameters + * @returns Promise + */ + importData(resourceGroupName: string, name: string, parameters: Models.ImportRDBParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginImportData(resourceGroupName,name,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Export data from the redis cache to blobs in a container. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters for Redis export operation. + * @param [options] The optional parameters + * @returns Promise + */ + exportData(resourceGroupName: string, name: string, parameters: Models.ExportRDBParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginExportData(resourceGroupName,name,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters supplied to the Create Redis operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(resourceGroupName: string, name: string, parameters: Models.RedisCreateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + parameters, + options + }, + beginCreateOperationSpec, + options); + } + + /** + * Deletes a Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Import data into Redis cache. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters for Redis import operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginImportData(resourceGroupName: string, name: string, parameters: Models.ImportRDBParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + parameters, + options + }, + beginImportDataOperationSpec, + options); + } + + /** + * Export data from the redis cache to blobs in a container. + * @param resourceGroupName The name of the resource group. + * @param name The name of the Redis cache. + * @param parameters Parameters for Redis export operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginExportData(resourceGroupName: string, name: string, parameters: Models.ExportRDBParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + parameters, + options + }, + beginExportDataOperationSpec, + options); + } + + /** + * Lists all Redis caches in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Gets all Redis caches in the specified subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CheckNameAvailabilityParameters, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listUpgradeNotificationsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listUpgradeNotifications", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.history + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.NotificationListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.RedisUpdateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RedisResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Cache/Redis", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listKeysOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listKeys", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisAccessKeys + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const regenerateKeyOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/regenerateKey", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: { + keyType: "keyType" + }, + mapper: { + ...Mappers.RedisRegenerateKeyParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RedisAccessKeys + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const forceRebootOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/forceReboot", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.RedisRebootParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RedisForceRebootResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.RedisCreateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RedisResource + }, + 201: { + bodyMapper: Mappers.RedisResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginImportDataOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/import", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ImportRDBParameters, + required: true + } + }, + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginExportDataOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/export", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ExportRDBParameters, + required: true + } + }, + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RedisListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-rediscache/lib/redisManagementClient.ts b/packages/@azure/arm-rediscache/lib/redisManagementClient.ts new file mode 100644 index 000000000000..7b809071ab88 --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/redisManagementClient.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "./models"; +import * as Mappers from "./models/mappers"; +import * as operations from "./operations"; +import { RedisManagementClientContext } from "./redisManagementClientContext"; + + +class RedisManagementClient extends RedisManagementClientContext { + // Operation groups + operations: operations.Operations; + redis: operations.Redis; + firewallRules: operations.FirewallRules; + patchSchedules: operations.PatchSchedules; + linkedServer: operations.LinkedServer; + + /** + * Initializes a new instance of the RedisManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure + * subscription. The subscription ID forms part of the URI for every service call. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RedisManagementClientOptions) { + super(credentials, subscriptionId, options); + this.operations = new operations.Operations(this); + this.redis = new operations.Redis(this); + this.firewallRules = new operations.FirewallRules(this); + this.patchSchedules = new operations.PatchSchedules(this); + this.linkedServer = new operations.LinkedServer(this); + } +} + +// Operation Specifications + +export { + RedisManagementClient, + RedisManagementClientContext, + Models as RedisManagementModels, + Mappers as RedisManagementMappers +}; +export * from "./operations"; diff --git a/packages/@azure/arm-rediscache/lib/redisManagementClientContext.ts b/packages/@azure/arm-rediscache/lib/redisManagementClientContext.ts new file mode 100644 index 000000000000..051aee26c4c8 --- /dev/null +++ b/packages/@azure/arm-rediscache/lib/redisManagementClientContext.ts @@ -0,0 +1,66 @@ +/* + * 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. + */ + +import * as Models from "./models"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; + +const packageName = "@azure/arm-rediscache"; +const packageVersion = "1.0.0"; + +export class RedisManagementClientContext extends msRestAzure.AzureServiceClient { + + credentials: msRest.ServiceClientCredentials; + + subscriptionId: string; + + apiVersion: string; + + acceptLanguage: string; + + longRunningOperationRetryTimeout: number; + + /** + * Initializes a new instance of the RedisManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure + * subscription. The subscription ID forms part of the URI for every service call. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RedisManagementClientOptions) { + if (credentials == undefined) { + throw new Error('\'credentials\' cannot be null.'); + } + if (subscriptionId == undefined) { + throw new Error('\'subscriptionId\' cannot be null.'); + } + + if (!options) { + options = {}; + } + super(credentials, options); + + this.apiVersion = '2018-03-01'; + this.acceptLanguage = 'en-US'; + this.longRunningOperationRetryTimeout = 30; + this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; + this.requestContentType = "application/json; charset=utf-8"; + this.credentials = credentials; + this.subscriptionId = subscriptionId; + + this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + this.acceptLanguage = options.acceptLanguage; + } + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; + } + } +} diff --git a/packages/@azure/arm-rediscache/package.json b/packages/@azure/arm-rediscache/package.json new file mode 100644 index 000000000000..735e5ef8f43b --- /dev/null +++ b/packages/@azure/arm-rediscache/package.json @@ -0,0 +1,42 @@ +{ + "name": "@azure/arm-rediscache", + "author": "Microsoft Corporation", + "description": "RedisManagementClient Library with typescript type definitions for node.js and browser.", + "version": "1.0.0", + "dependencies": { + "ms-rest-azure-js": "^1.0.166", + "ms-rest-js": "^1.0.439", + "tslib": "^1.9.3" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "license": "MIT", + "main": "./dist/arm-rediscache.js", + "module": "./esm/redisManagementClient.js", + "types": "./esm/redisManagementClient.d.ts", + "devDependencies": { + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", + "uglify-js": "^3.4.9" + }, + "homepage": "https://github.com/azure/azure-sdk-for-js", + "repository": { + "type": "git", + "url": "https://github.com/azure/azure-sdk-for-js.git" + }, + "bugs": { + "url": "https://github.com/azure/azure-sdk-for-js/issues" + }, + "scripts": { + "build": "tsc && rollup -c rollup.config.js && npm run minify", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-rediscache.js.map'\" -o ./dist/arm-rediscache.min.js ./dist/arm-rediscache.js", + "prepare": "npm run build" + }, + "sideEffects": false +} diff --git a/packages/@azure/arm-rediscache/rollup.config.js b/packages/@azure/arm-rediscache/rollup.config.js new file mode 100644 index 000000000000..556440c8b839 --- /dev/null +++ b/packages/@azure/arm-rediscache/rollup.config.js @@ -0,0 +1,31 @@ +import nodeResolve from "rollup-plugin-node-resolve"; +/** + * @type {import('rollup').RollupFileOptions} + */ +const config = { + input: './esm/redisManagementClient.js', + external: ["ms-rest-js", "ms-rest-azure-js"], + output: { + file: "./dist/arm-rediscache.js", + format: "umd", + name: "Azure.ArmRediscache", + sourcemap: true, + globals: { + "ms-rest-js": "msRest", + "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. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */` + }, + plugins: [ + nodeResolve({ module: true }) + ] +}; +export default config; diff --git a/packages/@azure/arm-rediscache/tsconfig.json b/packages/@azure/arm-rediscache/tsconfig.json new file mode 100644 index 000000000000..f32d1664f320 --- /dev/null +++ b/packages/@azure/arm-rediscache/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "es6", + "moduleResolution": "node", + "strict": true, + "target": "es5", + "sourceMap": true, + "declarationMap": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "lib": ["es6"], + "declaration": true, + "outDir": "./esm", + "importHelpers": true + }, + "include": ["./lib/**/*"], + "exclude": ["node_modules"] +}