@azure/arm-rediscache 30.0.0-alpha.20210928.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -0
  4. package/README.md +94 -0
  5. package/dist/index.js +4051 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/index.d.ts +6 -0
  10. package/dist-esm/src/index.d.ts.map +1 -0
  11. package/dist-esm/src/index.js +13 -0
  12. package/dist-esm/src/index.js.map +1 -0
  13. package/dist-esm/src/lroImpl.d.ts +16 -0
  14. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  15. package/dist-esm/src/lroImpl.js +29 -0
  16. package/dist-esm/src/lroImpl.js.map +1 -0
  17. package/dist-esm/src/models/index.d.ts +1016 -0
  18. package/dist-esm/src/models/index.d.ts.map +1 -0
  19. package/dist-esm/src/models/index.js +77 -0
  20. package/dist-esm/src/models/index.js.map +1 -0
  21. package/dist-esm/src/models/mappers.d.ts +49 -0
  22. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  23. package/dist-esm/src/models/mappers.js +1580 -0
  24. package/dist-esm/src/models/mappers.js.map +1 -0
  25. package/dist-esm/src/models/parameters.d.ts +27 -0
  26. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  27. package/dist-esm/src/models/parameters.js +198 -0
  28. package/dist-esm/src/models/parameters.js.map +1 -0
  29. package/dist-esm/src/operations/firewallRules.d.ts +63 -0
  30. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
  31. package/dist-esm/src/operations/firewallRules.js +238 -0
  32. package/dist-esm/src/operations/firewallRules.js.map +1 -0
  33. package/dist-esm/src/operations/index.d.ts +8 -0
  34. package/dist-esm/src/operations/index.d.ts.map +1 -0
  35. package/dist-esm/src/operations/index.js +15 -0
  36. package/dist-esm/src/operations/index.js.map +1 -0
  37. package/dist-esm/src/operations/linkedServer.d.ts +73 -0
  38. package/dist-esm/src/operations/linkedServer.d.ts.map +1 -0
  39. package/dist-esm/src/operations/linkedServer.js +288 -0
  40. package/dist-esm/src/operations/linkedServer.js.map +1 -0
  41. package/dist-esm/src/operations/operations.d.ts +32 -0
  42. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  43. package/dist-esm/src/operations/operations.js +120 -0
  44. package/dist-esm/src/operations/operations.js.map +1 -0
  45. package/dist-esm/src/operations/patchSchedules.d.ts +63 -0
  46. package/dist-esm/src/operations/patchSchedules.d.ts.map +1 -0
  47. package/dist-esm/src/operations/patchSchedules.js +238 -0
  48. package/dist-esm/src/operations/patchSchedules.js.map +1 -0
  49. package/dist-esm/src/operations/privateEndpointConnections.d.ts +69 -0
  50. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  51. package/dist-esm/src/operations/privateEndpointConnections.js +260 -0
  52. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  53. package/dist-esm/src/operations/privateLinkResources.d.ts +30 -0
  54. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  55. package/dist-esm/src/operations/privateLinkResources.js +99 -0
  56. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  57. package/dist-esm/src/operations/redis.d.ts +192 -0
  58. package/dist-esm/src/operations/redis.d.ts.map +1 -0
  59. package/dist-esm/src/operations/redis.js +840 -0
  60. package/dist-esm/src/operations/redis.js.map +1 -0
  61. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +38 -0
  62. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
  63. package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
  64. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  66. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  67. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  68. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  69. package/dist-esm/src/operationsInterfaces/linkedServer.d.ts +48 -0
  70. package/dist-esm/src/operationsInterfaces/linkedServer.d.ts.map +1 -0
  71. package/dist-esm/src/operationsInterfaces/linkedServer.js +9 -0
  72. package/dist-esm/src/operationsInterfaces/linkedServer.js.map +1 -0
  73. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  74. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  75. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  76. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  77. package/dist-esm/src/operationsInterfaces/patchSchedules.d.ts +38 -0
  78. package/dist-esm/src/operationsInterfaces/patchSchedules.d.ts.map +1 -0
  79. package/dist-esm/src/operationsInterfaces/patchSchedules.js +9 -0
  80. package/dist-esm/src/operationsInterfaces/patchSchedules.js.map +1 -0
  81. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +52 -0
  82. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  83. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  84. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  85. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +13 -0
  86. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  87. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  88. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  89. package/dist-esm/src/operationsInterfaces/redis.d.ts +136 -0
  90. package/dist-esm/src/operationsInterfaces/redis.d.ts.map +1 -0
  91. package/dist-esm/src/operationsInterfaces/redis.js +9 -0
  92. package/dist-esm/src/operationsInterfaces/redis.js.map +1 -0
  93. package/dist-esm/src/redisManagementClient.d.ts +22 -0
  94. package/dist-esm/src/redisManagementClient.d.ts.map +1 -0
  95. package/dist-esm/src/redisManagementClient.js +29 -0
  96. package/dist-esm/src/redisManagementClient.js.map +1 -0
  97. package/dist-esm/src/redisManagementClientContext.d.ts +17 -0
  98. package/dist-esm/src/redisManagementClientContext.d.ts.map +1 -0
  99. package/dist-esm/src/redisManagementClientContext.js +50 -0
  100. package/dist-esm/src/redisManagementClientContext.js.map +1 -0
  101. package/dist-esm/test/redis_examples.d.ts +2 -0
  102. package/dist-esm/test/redis_examples.d.ts.map +1 -0
  103. package/dist-esm/test/redis_examples.js +209 -0
  104. package/dist-esm/test/redis_examples.js.map +1 -0
  105. package/package.json +103 -0
  106. package/review/arm-rediscache.api.md +879 -0
  107. package/rollup.config.js +188 -0
  108. package/src/index.ts +13 -0
  109. package/src/lroImpl.ts +34 -0
  110. package/src/models/index.ts +1154 -0
  111. package/src/models/mappers.ts +1709 -0
  112. package/src/models/parameters.ts +240 -0
  113. package/src/operations/firewallRules.ts +314 -0
  114. package/src/operations/index.ts +15 -0
  115. package/src/operations/linkedServer.ts +397 -0
  116. package/src/operations/operations.ts +137 -0
  117. package/src/operations/patchSchedules.ts +327 -0
  118. package/src/operations/privateEndpointConnections.ts +353 -0
  119. package/src/operations/privateLinkResources.ts +135 -0
  120. package/src/operations/redis.ts +1152 -0
  121. package/src/operationsInterfaces/firewallRules.ts +75 -0
  122. package/src/operationsInterfaces/index.ts +15 -0
  123. package/src/operationsInterfaces/linkedServer.ts +97 -0
  124. package/src/operationsInterfaces/operations.ts +22 -0
  125. package/src/operationsInterfaces/patchSchedules.ts +76 -0
  126. package/src/operationsInterfaces/privateEndpointConnections.ts +100 -0
  127. package/src/operationsInterfaces/privateLinkResources.ts +29 -0
  128. package/src/operationsInterfaces/redis.ts +250 -0
  129. package/src/redisManagementClient.ts +61 -0
  130. package/src/redisManagementClientContext.ts +71 -0
  131. package/tsconfig.json +19 -0
  132. package/types/arm-rediscache.d.ts +1509 -0
  133. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,99 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing PrivateLinkResources operations. */
14
+ export class PrivateLinkResourcesImpl {
15
+ /**
16
+ * Initialize a new instance of the class PrivateLinkResources class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Gets the private link resources that need to be created for a redis cache.
24
+ * @param resourceGroupName The name of the resource group.
25
+ * @param cacheName The name of the Redis cache.
26
+ * @param options The options parameters.
27
+ */
28
+ listByRedisCache(resourceGroupName, cacheName, options) {
29
+ const iter = this.listByRedisCachePagingAll(resourceGroupName, cacheName, options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listByRedisCachePagingPage(resourceGroupName, cacheName, options);
39
+ }
40
+ };
41
+ }
42
+ listByRedisCachePagingPage(resourceGroupName, cacheName, options) {
43
+ return __asyncGenerator(this, arguments, function* listByRedisCachePagingPage_1() {
44
+ let result = yield __await(this._listByRedisCache(resourceGroupName, cacheName, options));
45
+ yield yield __await(result.value || []);
46
+ });
47
+ }
48
+ listByRedisCachePagingAll(resourceGroupName, cacheName, options) {
49
+ return __asyncGenerator(this, arguments, function* listByRedisCachePagingAll_1() {
50
+ var e_1, _a;
51
+ try {
52
+ for (var _b = __asyncValues(this.listByRedisCachePagingPage(resourceGroupName, cacheName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
53
+ const page = _c.value;
54
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
55
+ }
56
+ }
57
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
58
+ finally {
59
+ try {
60
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
61
+ }
62
+ finally { if (e_1) throw e_1.error; }
63
+ }
64
+ });
65
+ }
66
+ /**
67
+ * Gets the private link resources that need to be created for a redis cache.
68
+ * @param resourceGroupName The name of the resource group.
69
+ * @param cacheName The name of the Redis cache.
70
+ * @param options The options parameters.
71
+ */
72
+ _listByRedisCache(resourceGroupName, cacheName, options) {
73
+ return this.client.sendOperationRequest({ resourceGroupName, cacheName, options }, listByRedisCacheOperationSpec);
74
+ }
75
+ }
76
+ // Operation Specifications
77
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
78
+ const listByRedisCacheOperationSpec = {
79
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateLinkResources",
80
+ httpMethod: "GET",
81
+ responses: {
82
+ 200: {
83
+ bodyMapper: Mappers.PrivateLinkResourceListResult
84
+ },
85
+ default: {
86
+ bodyMapper: Mappers.ErrorResponse
87
+ }
88
+ },
89
+ queryParameters: [Parameters.apiVersion],
90
+ urlParameters: [
91
+ Parameters.$host,
92
+ Parameters.subscriptionId,
93
+ Parameters.resourceGroupName,
94
+ Parameters.cacheName
95
+ ],
96
+ headerParameters: [Parameters.accept],
97
+ serializer
98
+ };
99
+ //# sourceMappingURL=privateLinkResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAQnD,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAo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6B,CAC9B,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EACF,qIAAqI;IACvI,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,192 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Redis } from "../operationsInterfaces";
3
+ import { RedisManagementClientContext } from "../redisManagementClientContext";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { UpgradeNotification, RedisListUpgradeNotificationsOptionalParams, RedisResource, RedisListByResourceGroupOptionalParams, RedisListBySubscriptionOptionalParams, CheckNameAvailabilityParameters, RedisCheckNameAvailabilityOptionalParams, RedisCreateParameters, RedisCreateOptionalParams, RedisCreateResponse, RedisUpdateParameters, RedisUpdateOptionalParams, RedisUpdateResponse, RedisDeleteOptionalParams, RedisGetOptionalParams, RedisGetResponse, RedisListKeysOptionalParams, RedisListKeysResponse, RedisRegenerateKeyParameters, RedisRegenerateKeyOptionalParams, RedisRegenerateKeyResponse, RedisRebootParameters, RedisForceRebootOptionalParams, RedisForceRebootOperationResponse, ImportRDBParameters, RedisImportDataOptionalParams, ExportRDBParameters, RedisExportDataOptionalParams } from "../models";
6
+ /** Class containing Redis operations. */
7
+ export declare class RedisImpl implements Redis {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class Redis class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: RedisManagementClientContext);
14
+ /**
15
+ * Gets any upgrade notifications for a Redis cache.
16
+ * @param resourceGroupName The name of the resource group.
17
+ * @param name The name of the Redis cache.
18
+ * @param history how many minutes in past to look for upgrade notifications
19
+ * @param options The options parameters.
20
+ */
21
+ listUpgradeNotifications(resourceGroupName: string, name: string, history: number, options?: RedisListUpgradeNotificationsOptionalParams): PagedAsyncIterableIterator<UpgradeNotification>;
22
+ private listUpgradeNotificationsPagingPage;
23
+ private listUpgradeNotificationsPagingAll;
24
+ /**
25
+ * Lists all Redis caches in a resource group.
26
+ * @param resourceGroupName The name of the resource group.
27
+ * @param options The options parameters.
28
+ */
29
+ listByResourceGroup(resourceGroupName: string, options?: RedisListByResourceGroupOptionalParams): PagedAsyncIterableIterator<RedisResource>;
30
+ private listByResourceGroupPagingPage;
31
+ private listByResourceGroupPagingAll;
32
+ /**
33
+ * Gets all Redis caches in the specified subscription.
34
+ * @param options The options parameters.
35
+ */
36
+ listBySubscription(options?: RedisListBySubscriptionOptionalParams): PagedAsyncIterableIterator<RedisResource>;
37
+ private listBySubscriptionPagingPage;
38
+ private listBySubscriptionPagingAll;
39
+ /**
40
+ * Checks that the redis cache name is valid and is not already in use.
41
+ * @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only
42
+ * supported resource type is 'Microsoft.Cache/redis'
43
+ * @param options The options parameters.
44
+ */
45
+ checkNameAvailability(parameters: CheckNameAvailabilityParameters, options?: RedisCheckNameAvailabilityOptionalParams): Promise<void>;
46
+ /**
47
+ * Gets any upgrade notifications for a Redis cache.
48
+ * @param resourceGroupName The name of the resource group.
49
+ * @param name The name of the Redis cache.
50
+ * @param history how many minutes in past to look for upgrade notifications
51
+ * @param options The options parameters.
52
+ */
53
+ private _listUpgradeNotifications;
54
+ /**
55
+ * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
56
+ * @param resourceGroupName The name of the resource group.
57
+ * @param name The name of the Redis cache.
58
+ * @param parameters Parameters supplied to the Create Redis operation.
59
+ * @param options The options parameters.
60
+ */
61
+ beginCreate(resourceGroupName: string, name: string, parameters: RedisCreateParameters, options?: RedisCreateOptionalParams): Promise<PollerLike<PollOperationState<RedisCreateResponse>, RedisCreateResponse>>;
62
+ /**
63
+ * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
64
+ * @param resourceGroupName The name of the resource group.
65
+ * @param name The name of the Redis cache.
66
+ * @param parameters Parameters supplied to the Create Redis operation.
67
+ * @param options The options parameters.
68
+ */
69
+ beginCreateAndWait(resourceGroupName: string, name: string, parameters: RedisCreateParameters, options?: RedisCreateOptionalParams): Promise<RedisCreateResponse>;
70
+ /**
71
+ * Update an existing Redis cache.
72
+ * @param resourceGroupName The name of the resource group.
73
+ * @param name The name of the Redis cache.
74
+ * @param parameters Parameters supplied to the Update Redis operation.
75
+ * @param options The options parameters.
76
+ */
77
+ update(resourceGroupName: string, name: string, parameters: RedisUpdateParameters, options?: RedisUpdateOptionalParams): Promise<RedisUpdateResponse>;
78
+ /**
79
+ * Deletes a Redis cache.
80
+ * @param resourceGroupName The name of the resource group.
81
+ * @param name The name of the Redis cache.
82
+ * @param options The options parameters.
83
+ */
84
+ beginDelete(resourceGroupName: string, name: string, options?: RedisDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
85
+ /**
86
+ * Deletes a Redis cache.
87
+ * @param resourceGroupName The name of the resource group.
88
+ * @param name The name of the Redis cache.
89
+ * @param options The options parameters.
90
+ */
91
+ beginDeleteAndWait(resourceGroupName: string, name: string, options?: RedisDeleteOptionalParams): Promise<void>;
92
+ /**
93
+ * Gets a Redis cache (resource description).
94
+ * @param resourceGroupName The name of the resource group.
95
+ * @param name The name of the Redis cache.
96
+ * @param options The options parameters.
97
+ */
98
+ get(resourceGroupName: string, name: string, options?: RedisGetOptionalParams): Promise<RedisGetResponse>;
99
+ /**
100
+ * Lists all Redis caches in a resource group.
101
+ * @param resourceGroupName The name of the resource group.
102
+ * @param options The options parameters.
103
+ */
104
+ private _listByResourceGroup;
105
+ /**
106
+ * Gets all Redis caches in the specified subscription.
107
+ * @param options The options parameters.
108
+ */
109
+ private _listBySubscription;
110
+ /**
111
+ * Retrieve a Redis cache's access keys. This operation requires write permission to the cache
112
+ * resource.
113
+ * @param resourceGroupName The name of the resource group.
114
+ * @param name The name of the Redis cache.
115
+ * @param options The options parameters.
116
+ */
117
+ listKeys(resourceGroupName: string, name: string, options?: RedisListKeysOptionalParams): Promise<RedisListKeysResponse>;
118
+ /**
119
+ * Regenerate Redis cache's access keys. This operation requires write permission to the cache
120
+ * resource.
121
+ * @param resourceGroupName The name of the resource group.
122
+ * @param name The name of the Redis cache.
123
+ * @param parameters Specifies which key to regenerate.
124
+ * @param options The options parameters.
125
+ */
126
+ regenerateKey(resourceGroupName: string, name: string, parameters: RedisRegenerateKeyParameters, options?: RedisRegenerateKeyOptionalParams): Promise<RedisRegenerateKeyResponse>;
127
+ /**
128
+ * Reboot specified Redis node(s). This operation requires write permission to the cache resource.
129
+ * There can be potential data loss.
130
+ * @param resourceGroupName The name of the resource group.
131
+ * @param name The name of the Redis cache.
132
+ * @param parameters Specifies which Redis node(s) to reboot.
133
+ * @param options The options parameters.
134
+ */
135
+ forceReboot(resourceGroupName: string, name: string, parameters: RedisRebootParameters, options?: RedisForceRebootOptionalParams): Promise<RedisForceRebootOperationResponse>;
136
+ /**
137
+ * Import data into Redis cache.
138
+ * @param resourceGroupName The name of the resource group.
139
+ * @param name The name of the Redis cache.
140
+ * @param parameters Parameters for Redis import operation.
141
+ * @param options The options parameters.
142
+ */
143
+ beginImportData(resourceGroupName: string, name: string, parameters: ImportRDBParameters, options?: RedisImportDataOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
144
+ /**
145
+ * Import data into Redis cache.
146
+ * @param resourceGroupName The name of the resource group.
147
+ * @param name The name of the Redis cache.
148
+ * @param parameters Parameters for Redis import operation.
149
+ * @param options The options parameters.
150
+ */
151
+ beginImportDataAndWait(resourceGroupName: string, name: string, parameters: ImportRDBParameters, options?: RedisImportDataOptionalParams): Promise<void>;
152
+ /**
153
+ * Export data from the redis cache to blobs in a container.
154
+ * @param resourceGroupName The name of the resource group.
155
+ * @param name The name of the Redis cache.
156
+ * @param parameters Parameters for Redis export operation.
157
+ * @param options The options parameters.
158
+ */
159
+ beginExportData(resourceGroupName: string, name: string, parameters: ExportRDBParameters, options?: RedisExportDataOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
160
+ /**
161
+ * Export data from the redis cache to blobs in a container.
162
+ * @param resourceGroupName The name of the resource group.
163
+ * @param name The name of the Redis cache.
164
+ * @param parameters Parameters for Redis export operation.
165
+ * @param options The options parameters.
166
+ */
167
+ beginExportDataAndWait(resourceGroupName: string, name: string, parameters: ExportRDBParameters, options?: RedisExportDataOptionalParams): Promise<void>;
168
+ /**
169
+ * ListUpgradeNotificationsNext
170
+ * @param resourceGroupName The name of the resource group.
171
+ * @param name The name of the Redis cache.
172
+ * @param history how many minutes in past to look for upgrade notifications
173
+ * @param nextLink The nextLink from the previous successful call to the ListUpgradeNotifications
174
+ * method.
175
+ * @param options The options parameters.
176
+ */
177
+ private _listUpgradeNotificationsNext;
178
+ /**
179
+ * ListByResourceGroupNext
180
+ * @param resourceGroupName The name of the resource group.
181
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
182
+ * @param options The options parameters.
183
+ */
184
+ private _listByResourceGroupNext;
185
+ /**
186
+ * ListBySubscriptionNext
187
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
188
+ * @param options The options parameters.
189
+ */
190
+ private _listBySubscriptionNext;
191
+ }
192
+ //# sourceMappingURL=redis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../../src/operations/redis.ts"],"names":[],"mappings":"AAQ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