@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.
- package/CHANGELOG.md +14 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +21 -0
- package/README.md +94 -0
- package/dist/index.js +4051 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1016 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +77 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +49 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1580 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +27 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +198 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/firewallRules.d.ts +63 -0
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
- package/dist-esm/src/operations/firewallRules.js +238 -0
- package/dist-esm/src/operations/firewallRules.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +8 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +15 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/linkedServer.d.ts +73 -0
- package/dist-esm/src/operations/linkedServer.d.ts.map +1 -0
- package/dist-esm/src/operations/linkedServer.js +288 -0
- package/dist-esm/src/operations/linkedServer.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/patchSchedules.d.ts +63 -0
- package/dist-esm/src/operations/patchSchedules.d.ts.map +1 -0
- package/dist-esm/src/operations/patchSchedules.js +238 -0
- package/dist-esm/src/operations/patchSchedules.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +69 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +260 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +30 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +99 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/redis.d.ts +192 -0
- package/dist-esm/src/operations/redis.d.ts.map +1 -0
- package/dist-esm/src/operations/redis.js +840 -0
- package/dist-esm/src/operations/redis.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +15 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedServer.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/linkedServer.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedServer.js +9 -0
- package/dist-esm/src/operationsInterfaces/linkedServer.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/patchSchedules.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/patchSchedules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/patchSchedules.js +9 -0
- package/dist-esm/src/operationsInterfaces/patchSchedules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/redis.d.ts +136 -0
- package/dist-esm/src/operationsInterfaces/redis.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/redis.js +9 -0
- package/dist-esm/src/operationsInterfaces/redis.js.map +1 -0
- package/dist-esm/src/redisManagementClient.d.ts +22 -0
- package/dist-esm/src/redisManagementClient.d.ts.map +1 -0
- package/dist-esm/src/redisManagementClient.js +29 -0
- package/dist-esm/src/redisManagementClient.js.map +1 -0
- package/dist-esm/src/redisManagementClientContext.d.ts +17 -0
- package/dist-esm/src/redisManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/redisManagementClientContext.js +50 -0
- package/dist-esm/src/redisManagementClientContext.js.map +1 -0
- package/dist-esm/test/redis_examples.d.ts +2 -0
- package/dist-esm/test/redis_examples.d.ts.map +1 -0
- package/dist-esm/test/redis_examples.js +209 -0
- package/dist-esm/test/redis_examples.js.map +1 -0
- package/package.json +103 -0
- package/review/arm-rediscache.api.md +879 -0
- package/rollup.config.js +188 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1154 -0
- package/src/models/mappers.ts +1709 -0
- package/src/models/parameters.ts +240 -0
- package/src/operations/firewallRules.ts +314 -0
- package/src/operations/index.ts +15 -0
- package/src/operations/linkedServer.ts +397 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/patchSchedules.ts +327 -0
- package/src/operations/privateEndpointConnections.ts +353 -0
- package/src/operations/privateLinkResources.ts +135 -0
- package/src/operations/redis.ts +1152 -0
- package/src/operationsInterfaces/firewallRules.ts +75 -0
- package/src/operationsInterfaces/index.ts +15 -0
- package/src/operationsInterfaces/linkedServer.ts +97 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/patchSchedules.ts +76 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +100 -0
- package/src/operationsInterfaces/privateLinkResources.ts +29 -0
- package/src/operationsInterfaces/redis.ts +250 -0
- package/src/redisManagementClient.ts +61 -0
- package/src/redisManagementClientContext.ts +71 -0
- package/tsconfig.json +19 -0
- package/types/arm-rediscache.d.ts +1509 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
RedisFirewallRule,
|
|
12
|
+
FirewallRulesListOptionalParams,
|
|
13
|
+
FirewallRulesCreateOrUpdateOptionalParams,
|
|
14
|
+
FirewallRulesCreateOrUpdateResponse,
|
|
15
|
+
FirewallRulesGetOptionalParams,
|
|
16
|
+
FirewallRulesGetResponse,
|
|
17
|
+
FirewallRulesDeleteOptionalParams
|
|
18
|
+
} from "../models";
|
|
19
|
+
|
|
20
|
+
/// <reference lib="esnext.asynciterable" />
|
|
21
|
+
/** Interface representing a FirewallRules. */
|
|
22
|
+
export interface FirewallRules {
|
|
23
|
+
/**
|
|
24
|
+
* Gets all firewall rules in the specified redis cache.
|
|
25
|
+
* @param resourceGroupName The name of the resource group.
|
|
26
|
+
* @param cacheName The name of the Redis cache.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(
|
|
30
|
+
resourceGroupName: string,
|
|
31
|
+
cacheName: string,
|
|
32
|
+
options?: FirewallRulesListOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<RedisFirewallRule>;
|
|
34
|
+
/**
|
|
35
|
+
* Create or update a redis cache firewall rule
|
|
36
|
+
* @param resourceGroupName The name of the resource group.
|
|
37
|
+
* @param cacheName The name of the Redis cache.
|
|
38
|
+
* @param ruleName The name of the firewall rule.
|
|
39
|
+
* @param parameters Parameters supplied to the create or update redis firewall rule operation.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
createOrUpdate(
|
|
43
|
+
resourceGroupName: string,
|
|
44
|
+
cacheName: string,
|
|
45
|
+
ruleName: string,
|
|
46
|
+
parameters: RedisFirewallRule,
|
|
47
|
+
options?: FirewallRulesCreateOrUpdateOptionalParams
|
|
48
|
+
): Promise<FirewallRulesCreateOrUpdateResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Gets a single firewall rule in a specified redis cache.
|
|
51
|
+
* @param resourceGroupName The name of the resource group.
|
|
52
|
+
* @param cacheName The name of the Redis cache.
|
|
53
|
+
* @param ruleName The name of the firewall rule.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
get(
|
|
57
|
+
resourceGroupName: string,
|
|
58
|
+
cacheName: string,
|
|
59
|
+
ruleName: string,
|
|
60
|
+
options?: FirewallRulesGetOptionalParams
|
|
61
|
+
): Promise<FirewallRulesGetResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Deletes a single firewall rule in a specified redis cache.
|
|
64
|
+
* @param resourceGroupName The name of the resource group.
|
|
65
|
+
* @param cacheName The name of the Redis cache.
|
|
66
|
+
* @param ruleName The name of the firewall rule.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
delete(
|
|
70
|
+
resourceGroupName: string,
|
|
71
|
+
cacheName: string,
|
|
72
|
+
ruleName: string,
|
|
73
|
+
options?: FirewallRulesDeleteOptionalParams
|
|
74
|
+
): Promise<void>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
|
|
9
|
+
export * from "./operations";
|
|
10
|
+
export * from "./redis";
|
|
11
|
+
export * from "./firewallRules";
|
|
12
|
+
export * from "./patchSchedules";
|
|
13
|
+
export * from "./linkedServer";
|
|
14
|
+
export * from "./privateEndpointConnections";
|
|
15
|
+
export * from "./privateLinkResources";
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
RedisLinkedServerWithProperties,
|
|
13
|
+
LinkedServerListOptionalParams,
|
|
14
|
+
RedisLinkedServerCreateParameters,
|
|
15
|
+
LinkedServerCreateOptionalParams,
|
|
16
|
+
LinkedServerCreateResponse,
|
|
17
|
+
LinkedServerDeleteOptionalParams,
|
|
18
|
+
LinkedServerGetOptionalParams,
|
|
19
|
+
LinkedServerGetResponse
|
|
20
|
+
} from "../models";
|
|
21
|
+
|
|
22
|
+
/// <reference lib="esnext.asynciterable" />
|
|
23
|
+
/** Interface representing a LinkedServer. */
|
|
24
|
+
export interface LinkedServer {
|
|
25
|
+
/**
|
|
26
|
+
* Gets the list of linked servers associated with this redis cache (requires Premium SKU).
|
|
27
|
+
* @param resourceGroupName The name of the resource group.
|
|
28
|
+
* @param name The name of the redis cache.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(
|
|
32
|
+
resourceGroupName: string,
|
|
33
|
+
name: string,
|
|
34
|
+
options?: LinkedServerListOptionalParams
|
|
35
|
+
): PagedAsyncIterableIterator<RedisLinkedServerWithProperties>;
|
|
36
|
+
/**
|
|
37
|
+
* Adds a linked server to the Redis cache (requires Premium SKU).
|
|
38
|
+
* @param resourceGroupName The name of the resource group.
|
|
39
|
+
* @param name The name of the Redis cache.
|
|
40
|
+
* @param linkedServerName The name of the linked server that is being added to the Redis cache.
|
|
41
|
+
* @param parameters Parameters supplied to the Create Linked server operation.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
beginCreate(
|
|
45
|
+
resourceGroupName: string,
|
|
46
|
+
name: string,
|
|
47
|
+
linkedServerName: string,
|
|
48
|
+
parameters: RedisLinkedServerCreateParameters,
|
|
49
|
+
options?: LinkedServerCreateOptionalParams
|
|
50
|
+
): Promise<
|
|
51
|
+
PollerLike<
|
|
52
|
+
PollOperationState<LinkedServerCreateResponse>,
|
|
53
|
+
LinkedServerCreateResponse
|
|
54
|
+
>
|
|
55
|
+
>;
|
|
56
|
+
/**
|
|
57
|
+
* Adds a linked server to the Redis cache (requires Premium SKU).
|
|
58
|
+
* @param resourceGroupName The name of the resource group.
|
|
59
|
+
* @param name The name of the Redis cache.
|
|
60
|
+
* @param linkedServerName The name of the linked server that is being added to the Redis cache.
|
|
61
|
+
* @param parameters Parameters supplied to the Create Linked server operation.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
beginCreateAndWait(
|
|
65
|
+
resourceGroupName: string,
|
|
66
|
+
name: string,
|
|
67
|
+
linkedServerName: string,
|
|
68
|
+
parameters: RedisLinkedServerCreateParameters,
|
|
69
|
+
options?: LinkedServerCreateOptionalParams
|
|
70
|
+
): Promise<LinkedServerCreateResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Deletes the linked server from a redis cache (requires Premium SKU).
|
|
73
|
+
* @param resourceGroupName The name of the resource group.
|
|
74
|
+
* @param name The name of the redis cache.
|
|
75
|
+
* @param linkedServerName The name of the linked server that is being added to the Redis cache.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
delete(
|
|
79
|
+
resourceGroupName: string,
|
|
80
|
+
name: string,
|
|
81
|
+
linkedServerName: string,
|
|
82
|
+
options?: LinkedServerDeleteOptionalParams
|
|
83
|
+
): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Gets the detailed information about a linked server of a redis cache (requires Premium SKU).
|
|
86
|
+
* @param resourceGroupName The name of the resource group.
|
|
87
|
+
* @param name The name of the redis cache.
|
|
88
|
+
* @param linkedServerName The name of the linked server.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
get(
|
|
92
|
+
resourceGroupName: string,
|
|
93
|
+
name: string,
|
|
94
|
+
linkedServerName: string,
|
|
95
|
+
options?: LinkedServerGetOptionalParams
|
|
96
|
+
): Promise<LinkedServerGetResponse>;
|
|
97
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
|
+
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Interface representing a Operations. */
|
|
14
|
+
export interface Operations {
|
|
15
|
+
/**
|
|
16
|
+
* Lists all of the available REST API operations of the Microsoft.Cache provider.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
options?: OperationsListOptionalParams
|
|
21
|
+
): PagedAsyncIterableIterator<Operation>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
RedisPatchSchedule,
|
|
12
|
+
PatchSchedulesListByRedisResourceOptionalParams,
|
|
13
|
+
DefaultName,
|
|
14
|
+
PatchSchedulesCreateOrUpdateOptionalParams,
|
|
15
|
+
PatchSchedulesCreateOrUpdateResponse,
|
|
16
|
+
PatchSchedulesDeleteOptionalParams,
|
|
17
|
+
PatchSchedulesGetOptionalParams,
|
|
18
|
+
PatchSchedulesGetResponse
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a PatchSchedules. */
|
|
23
|
+
export interface PatchSchedules {
|
|
24
|
+
/**
|
|
25
|
+
* Gets all patch schedules in the specified redis cache (there is only one).
|
|
26
|
+
* @param resourceGroupName The name of the resource group.
|
|
27
|
+
* @param cacheName The name of the Redis cache.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByRedisResource(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
cacheName: string,
|
|
33
|
+
options?: PatchSchedulesListByRedisResourceOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<RedisPatchSchedule>;
|
|
35
|
+
/**
|
|
36
|
+
* Create or replace the patching schedule for Redis cache.
|
|
37
|
+
* @param resourceGroupName The name of the resource group.
|
|
38
|
+
* @param name The name of the Redis cache.
|
|
39
|
+
* @param parameters Parameters to set the patching schedule for Redis cache.
|
|
40
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
createOrUpdate(
|
|
44
|
+
resourceGroupName: string,
|
|
45
|
+
name: string,
|
|
46
|
+
parameters: RedisPatchSchedule,
|
|
47
|
+
defaultParam: DefaultName,
|
|
48
|
+
options?: PatchSchedulesCreateOrUpdateOptionalParams
|
|
49
|
+
): Promise<PatchSchedulesCreateOrUpdateResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Deletes the patching schedule of a redis cache.
|
|
52
|
+
* @param resourceGroupName The name of the resource group.
|
|
53
|
+
* @param name The name of the redis cache.
|
|
54
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
delete(
|
|
58
|
+
resourceGroupName: string,
|
|
59
|
+
name: string,
|
|
60
|
+
defaultParam: DefaultName,
|
|
61
|
+
options?: PatchSchedulesDeleteOptionalParams
|
|
62
|
+
): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Gets the patching schedule of a redis cache.
|
|
65
|
+
* @param resourceGroupName The name of the resource group.
|
|
66
|
+
* @param name The name of the redis cache.
|
|
67
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
get(
|
|
71
|
+
resourceGroupName: string,
|
|
72
|
+
name: string,
|
|
73
|
+
defaultParam: DefaultName,
|
|
74
|
+
options?: PatchSchedulesGetOptionalParams
|
|
75
|
+
): Promise<PatchSchedulesGetResponse>;
|
|
76
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
PrivateEndpointConnection,
|
|
13
|
+
PrivateEndpointConnectionsListOptionalParams,
|
|
14
|
+
PrivateEndpointConnectionsGetOptionalParams,
|
|
15
|
+
PrivateEndpointConnectionsGetResponse,
|
|
16
|
+
PrivateEndpointConnectionsPutOptionalParams,
|
|
17
|
+
PrivateEndpointConnectionsPutResponse,
|
|
18
|
+
PrivateEndpointConnectionsDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
23
|
+
export interface PrivateEndpointConnections {
|
|
24
|
+
/**
|
|
25
|
+
* List all the private endpoint connections associated with the redis cache.
|
|
26
|
+
* @param resourceGroupName The name of the resource group.
|
|
27
|
+
* @param cacheName The name of the Redis cache.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
cacheName: string,
|
|
33
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the specified private endpoint connection associated with the redis cache.
|
|
37
|
+
* @param resourceGroupName The name of the resource group.
|
|
38
|
+
* @param cacheName The name of the Redis cache.
|
|
39
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
40
|
+
* Azure resource
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
get(
|
|
44
|
+
resourceGroupName: string,
|
|
45
|
+
cacheName: string,
|
|
46
|
+
privateEndpointConnectionName: string,
|
|
47
|
+
options?: PrivateEndpointConnectionsGetOptionalParams
|
|
48
|
+
): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Update the state of specified private endpoint connection associated with the redis cache.
|
|
51
|
+
* @param resourceGroupName The name of the resource group.
|
|
52
|
+
* @param cacheName The name of the Redis cache.
|
|
53
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
54
|
+
* Azure resource
|
|
55
|
+
* @param properties The private endpoint connection properties.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginPut(
|
|
59
|
+
resourceGroupName: string,
|
|
60
|
+
cacheName: string,
|
|
61
|
+
privateEndpointConnectionName: string,
|
|
62
|
+
properties: PrivateEndpointConnection,
|
|
63
|
+
options?: PrivateEndpointConnectionsPutOptionalParams
|
|
64
|
+
): Promise<
|
|
65
|
+
PollerLike<
|
|
66
|
+
PollOperationState<PrivateEndpointConnectionsPutResponse>,
|
|
67
|
+
PrivateEndpointConnectionsPutResponse
|
|
68
|
+
>
|
|
69
|
+
>;
|
|
70
|
+
/**
|
|
71
|
+
* Update the state of specified private endpoint connection associated with the redis cache.
|
|
72
|
+
* @param resourceGroupName The name of the resource group.
|
|
73
|
+
* @param cacheName The name of the Redis cache.
|
|
74
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
75
|
+
* Azure resource
|
|
76
|
+
* @param properties The private endpoint connection properties.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
beginPutAndWait(
|
|
80
|
+
resourceGroupName: string,
|
|
81
|
+
cacheName: string,
|
|
82
|
+
privateEndpointConnectionName: string,
|
|
83
|
+
properties: PrivateEndpointConnection,
|
|
84
|
+
options?: PrivateEndpointConnectionsPutOptionalParams
|
|
85
|
+
): Promise<PrivateEndpointConnectionsPutResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Deletes the specified private endpoint connection associated with the redis cache.
|
|
88
|
+
* @param resourceGroupName The name of the resource group.
|
|
89
|
+
* @param cacheName The name of the Redis cache.
|
|
90
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
91
|
+
* Azure resource
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
delete(
|
|
95
|
+
resourceGroupName: string,
|
|
96
|
+
cacheName: string,
|
|
97
|
+
privateEndpointConnectionName: string,
|
|
98
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
99
|
+
): Promise<void>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
PrivateLinkResource,
|
|
12
|
+
PrivateLinkResourcesListByRedisCacheOptionalParams
|
|
13
|
+
} from "../models";
|
|
14
|
+
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Interface representing a PrivateLinkResources. */
|
|
17
|
+
export interface PrivateLinkResources {
|
|
18
|
+
/**
|
|
19
|
+
* Gets the private link resources that need to be created for a redis cache.
|
|
20
|
+
* @param resourceGroupName The name of the resource group.
|
|
21
|
+
* @param cacheName The name of the Redis cache.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
listByRedisCache(
|
|
25
|
+
resourceGroupName: string,
|
|
26
|
+
cacheName: string,
|
|
27
|
+
options?: PrivateLinkResourcesListByRedisCacheOptionalParams
|
|
28
|
+
): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,250 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
UpgradeNotification,
|
|
13
|
+
RedisListUpgradeNotificationsOptionalParams,
|
|
14
|
+
RedisResource,
|
|
15
|
+
RedisListByResourceGroupOptionalParams,
|
|
16
|
+
RedisListBySubscriptionOptionalParams,
|
|
17
|
+
CheckNameAvailabilityParameters,
|
|
18
|
+
RedisCheckNameAvailabilityOptionalParams,
|
|
19
|
+
RedisCreateParameters,
|
|
20
|
+
RedisCreateOptionalParams,
|
|
21
|
+
RedisCreateResponse,
|
|
22
|
+
RedisUpdateParameters,
|
|
23
|
+
RedisUpdateOptionalParams,
|
|
24
|
+
RedisUpdateResponse,
|
|
25
|
+
RedisDeleteOptionalParams,
|
|
26
|
+
RedisGetOptionalParams,
|
|
27
|
+
RedisGetResponse,
|
|
28
|
+
RedisListKeysOptionalParams,
|
|
29
|
+
RedisListKeysResponse,
|
|
30
|
+
RedisRegenerateKeyParameters,
|
|
31
|
+
RedisRegenerateKeyOptionalParams,
|
|
32
|
+
RedisRegenerateKeyResponse,
|
|
33
|
+
RedisRebootParameters,
|
|
34
|
+
RedisForceRebootOptionalParams,
|
|
35
|
+
RedisForceRebootOperationResponse,
|
|
36
|
+
ImportRDBParameters,
|
|
37
|
+
RedisImportDataOptionalParams,
|
|
38
|
+
ExportRDBParameters,
|
|
39
|
+
RedisExportDataOptionalParams
|
|
40
|
+
} from "../models";
|
|
41
|
+
|
|
42
|
+
/// <reference lib="esnext.asynciterable" />
|
|
43
|
+
/** Interface representing a Redis. */
|
|
44
|
+
export interface Redis {
|
|
45
|
+
/**
|
|
46
|
+
* Gets any upgrade notifications for a Redis cache.
|
|
47
|
+
* @param resourceGroupName The name of the resource group.
|
|
48
|
+
* @param name The name of the Redis cache.
|
|
49
|
+
* @param history how many minutes in past to look for upgrade notifications
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
listUpgradeNotifications(
|
|
53
|
+
resourceGroupName: string,
|
|
54
|
+
name: string,
|
|
55
|
+
history: number,
|
|
56
|
+
options?: RedisListUpgradeNotificationsOptionalParams
|
|
57
|
+
): PagedAsyncIterableIterator<UpgradeNotification>;
|
|
58
|
+
/**
|
|
59
|
+
* Lists all Redis caches in a resource group.
|
|
60
|
+
* @param resourceGroupName The name of the resource group.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
listByResourceGroup(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
options?: RedisListByResourceGroupOptionalParams
|
|
66
|
+
): PagedAsyncIterableIterator<RedisResource>;
|
|
67
|
+
/**
|
|
68
|
+
* Gets all Redis caches in the specified subscription.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
listBySubscription(
|
|
72
|
+
options?: RedisListBySubscriptionOptionalParams
|
|
73
|
+
): PagedAsyncIterableIterator<RedisResource>;
|
|
74
|
+
/**
|
|
75
|
+
* Checks that the redis cache name is valid and is not already in use.
|
|
76
|
+
* @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only
|
|
77
|
+
* supported resource type is 'Microsoft.Cache/redis'
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
checkNameAvailability(
|
|
81
|
+
parameters: CheckNameAvailabilityParameters,
|
|
82
|
+
options?: RedisCheckNameAvailabilityOptionalParams
|
|
83
|
+
): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
|
|
86
|
+
* @param resourceGroupName The name of the resource group.
|
|
87
|
+
* @param name The name of the Redis cache.
|
|
88
|
+
* @param parameters Parameters supplied to the Create Redis operation.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
beginCreate(
|
|
92
|
+
resourceGroupName: string,
|
|
93
|
+
name: string,
|
|
94
|
+
parameters: RedisCreateParameters,
|
|
95
|
+
options?: RedisCreateOptionalParams
|
|
96
|
+
): Promise<
|
|
97
|
+
PollerLike<PollOperationState<RedisCreateResponse>, RedisCreateResponse>
|
|
98
|
+
>;
|
|
99
|
+
/**
|
|
100
|
+
* Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
|
|
101
|
+
* @param resourceGroupName The name of the resource group.
|
|
102
|
+
* @param name The name of the Redis cache.
|
|
103
|
+
* @param parameters Parameters supplied to the Create Redis operation.
|
|
104
|
+
* @param options The options parameters.
|
|
105
|
+
*/
|
|
106
|
+
beginCreateAndWait(
|
|
107
|
+
resourceGroupName: string,
|
|
108
|
+
name: string,
|
|
109
|
+
parameters: RedisCreateParameters,
|
|
110
|
+
options?: RedisCreateOptionalParams
|
|
111
|
+
): Promise<RedisCreateResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Update an existing Redis cache.
|
|
114
|
+
* @param resourceGroupName The name of the resource group.
|
|
115
|
+
* @param name The name of the Redis cache.
|
|
116
|
+
* @param parameters Parameters supplied to the Update Redis operation.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
update(
|
|
120
|
+
resourceGroupName: string,
|
|
121
|
+
name: string,
|
|
122
|
+
parameters: RedisUpdateParameters,
|
|
123
|
+
options?: RedisUpdateOptionalParams
|
|
124
|
+
): Promise<RedisUpdateResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Deletes a Redis cache.
|
|
127
|
+
* @param resourceGroupName The name of the resource group.
|
|
128
|
+
* @param name The name of the Redis cache.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
beginDelete(
|
|
132
|
+
resourceGroupName: string,
|
|
133
|
+
name: string,
|
|
134
|
+
options?: RedisDeleteOptionalParams
|
|
135
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
136
|
+
/**
|
|
137
|
+
* Deletes a Redis cache.
|
|
138
|
+
* @param resourceGroupName The name of the resource group.
|
|
139
|
+
* @param name The name of the Redis cache.
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
beginDeleteAndWait(
|
|
143
|
+
resourceGroupName: string,
|
|
144
|
+
name: string,
|
|
145
|
+
options?: RedisDeleteOptionalParams
|
|
146
|
+
): Promise<void>;
|
|
147
|
+
/**
|
|
148
|
+
* Gets a Redis cache (resource description).
|
|
149
|
+
* @param resourceGroupName The name of the resource group.
|
|
150
|
+
* @param name The name of the Redis cache.
|
|
151
|
+
* @param options The options parameters.
|
|
152
|
+
*/
|
|
153
|
+
get(
|
|
154
|
+
resourceGroupName: string,
|
|
155
|
+
name: string,
|
|
156
|
+
options?: RedisGetOptionalParams
|
|
157
|
+
): Promise<RedisGetResponse>;
|
|
158
|
+
/**
|
|
159
|
+
* Retrieve a Redis cache's access keys. This operation requires write permission to the cache
|
|
160
|
+
* resource.
|
|
161
|
+
* @param resourceGroupName The name of the resource group.
|
|
162
|
+
* @param name The name of the Redis cache.
|
|
163
|
+
* @param options The options parameters.
|
|
164
|
+
*/
|
|
165
|
+
listKeys(
|
|
166
|
+
resourceGroupName: string,
|
|
167
|
+
name: string,
|
|
168
|
+
options?: RedisListKeysOptionalParams
|
|
169
|
+
): Promise<RedisListKeysResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* Regenerate Redis cache's access keys. This operation requires write permission to the cache
|
|
172
|
+
* resource.
|
|
173
|
+
* @param resourceGroupName The name of the resource group.
|
|
174
|
+
* @param name The name of the Redis cache.
|
|
175
|
+
* @param parameters Specifies which key to regenerate.
|
|
176
|
+
* @param options The options parameters.
|
|
177
|
+
*/
|
|
178
|
+
regenerateKey(
|
|
179
|
+
resourceGroupName: string,
|
|
180
|
+
name: string,
|
|
181
|
+
parameters: RedisRegenerateKeyParameters,
|
|
182
|
+
options?: RedisRegenerateKeyOptionalParams
|
|
183
|
+
): Promise<RedisRegenerateKeyResponse>;
|
|
184
|
+
/**
|
|
185
|
+
* Reboot specified Redis node(s). This operation requires write permission to the cache resource.
|
|
186
|
+
* There can be potential data loss.
|
|
187
|
+
* @param resourceGroupName The name of the resource group.
|
|
188
|
+
* @param name The name of the Redis cache.
|
|
189
|
+
* @param parameters Specifies which Redis node(s) to reboot.
|
|
190
|
+
* @param options The options parameters.
|
|
191
|
+
*/
|
|
192
|
+
forceReboot(
|
|
193
|
+
resourceGroupName: string,
|
|
194
|
+
name: string,
|
|
195
|
+
parameters: RedisRebootParameters,
|
|
196
|
+
options?: RedisForceRebootOptionalParams
|
|
197
|
+
): Promise<RedisForceRebootOperationResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* Import data into Redis cache.
|
|
200
|
+
* @param resourceGroupName The name of the resource group.
|
|
201
|
+
* @param name The name of the Redis cache.
|
|
202
|
+
* @param parameters Parameters for Redis import operation.
|
|
203
|
+
* @param options The options parameters.
|
|
204
|
+
*/
|
|
205
|
+
beginImportData(
|
|
206
|
+
resourceGroupName: string,
|
|
207
|
+
name: string,
|
|
208
|
+
parameters: ImportRDBParameters,
|
|
209
|
+
options?: RedisImportDataOptionalParams
|
|
210
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
211
|
+
/**
|
|
212
|
+
* Import data into Redis cache.
|
|
213
|
+
* @param resourceGroupName The name of the resource group.
|
|
214
|
+
* @param name The name of the Redis cache.
|
|
215
|
+
* @param parameters Parameters for Redis import operation.
|
|
216
|
+
* @param options The options parameters.
|
|
217
|
+
*/
|
|
218
|
+
beginImportDataAndWait(
|
|
219
|
+
resourceGroupName: string,
|
|
220
|
+
name: string,
|
|
221
|
+
parameters: ImportRDBParameters,
|
|
222
|
+
options?: RedisImportDataOptionalParams
|
|
223
|
+
): Promise<void>;
|
|
224
|
+
/**
|
|
225
|
+
* Export data from the redis cache to blobs in a container.
|
|
226
|
+
* @param resourceGroupName The name of the resource group.
|
|
227
|
+
* @param name The name of the Redis cache.
|
|
228
|
+
* @param parameters Parameters for Redis export operation.
|
|
229
|
+
* @param options The options parameters.
|
|
230
|
+
*/
|
|
231
|
+
beginExportData(
|
|
232
|
+
resourceGroupName: string,
|
|
233
|
+
name: string,
|
|
234
|
+
parameters: ExportRDBParameters,
|
|
235
|
+
options?: RedisExportDataOptionalParams
|
|
236
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
237
|
+
/**
|
|
238
|
+
* Export data from the redis cache to blobs in a container.
|
|
239
|
+
* @param resourceGroupName The name of the resource group.
|
|
240
|
+
* @param name The name of the Redis cache.
|
|
241
|
+
* @param parameters Parameters for Redis export operation.
|
|
242
|
+
* @param options The options parameters.
|
|
243
|
+
*/
|
|
244
|
+
beginExportDataAndWait(
|
|
245
|
+
resourceGroupName: string,
|
|
246
|
+
name: string,
|
|
247
|
+
parameters: ExportRDBParameters,
|
|
248
|
+
options?: RedisExportDataOptionalParams
|
|
249
|
+
): Promise<void>;
|
|
250
|
+
}
|