@azure/arm-redisenterprisecache 3.1.0-beta.1 → 3.1.0-beta.2

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 (139) hide show
  1. package/CHANGELOG.md +112 -0
  2. package/dist/index.js +1095 -163
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js +45 -0
  9. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js.map +1 -0
  10. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js +41 -0
  13. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js.map +1 -0
  14. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js +41 -0
  17. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js.map +1 -0
  18. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js +56 -0
  21. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js.map +1 -0
  22. package/dist-esm/samples-dev/databasesCreateSample.js +10 -6
  23. package/dist-esm/samples-dev/databasesCreateSample.js.map +1 -1
  24. package/dist-esm/samples-dev/databasesDeleteSample.js +3 -2
  25. package/dist-esm/samples-dev/databasesDeleteSample.js.map +1 -1
  26. package/dist-esm/samples-dev/databasesExportSample.js +3 -2
  27. package/dist-esm/samples-dev/databasesExportSample.js.map +1 -1
  28. package/dist-esm/samples-dev/databasesFlushSample.js +4 -3
  29. package/dist-esm/samples-dev/databasesFlushSample.js.map +1 -1
  30. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +1 -1
  31. package/dist-esm/samples-dev/databasesForceUnlinkSample.js +4 -3
  32. package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +1 -1
  33. package/dist-esm/samples-dev/databasesGetSample.js +5 -4
  34. package/dist-esm/samples-dev/databasesGetSample.js.map +1 -1
  35. package/dist-esm/samples-dev/databasesImportSample.js +3 -2
  36. package/dist-esm/samples-dev/databasesImportSample.js.map +1 -1
  37. package/dist-esm/samples-dev/databasesListByClusterSample.js +5 -4
  38. package/dist-esm/samples-dev/databasesListByClusterSample.js.map +1 -1
  39. package/dist-esm/samples-dev/databasesListKeysSample.js +5 -4
  40. package/dist-esm/samples-dev/databasesListKeysSample.js.map +1 -1
  41. package/dist-esm/samples-dev/databasesRegenerateKeySample.js +5 -4
  42. package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +1 -1
  43. package/dist-esm/samples-dev/databasesUpdateSample.js +4 -2
  44. package/dist-esm/samples-dev/databasesUpdateSample.js.map +1 -1
  45. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +3 -2
  46. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +1 -1
  47. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  48. package/dist-esm/samples-dev/operationsStatusGetSample.js +3 -2
  49. package/dist-esm/samples-dev/operationsStatusGetSample.js.map +1 -1
  50. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +5 -4
  51. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +5 -4
  53. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +5 -4
  55. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  56. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +5 -4
  57. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
  58. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +5 -4
  59. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +1 -1
  60. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +3 -2
  61. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +5 -4
  63. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +1 -1
  64. package/dist-esm/samples-dev/redisEnterpriseGetSample.js +5 -4
  65. package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +1 -1
  66. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +5 -4
  67. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +1 -1
  68. package/dist-esm/samples-dev/redisEnterpriseListSample.js +5 -4
  69. package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +1 -1
  70. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +5 -4
  71. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +1 -1
  72. package/dist-esm/src/models/index.d.ts +423 -27
  73. package/dist-esm/src/models/index.d.ts.map +1 -1
  74. package/dist-esm/src/models/index.js +134 -2
  75. package/dist-esm/src/models/index.js.map +1 -1
  76. package/dist-esm/src/models/mappers.d.ts +16 -1
  77. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  78. package/dist-esm/src/models/mappers.js +372 -2
  79. package/dist-esm/src/models/mappers.js.map +1 -1
  80. package/dist-esm/src/models/parameters.d.ts +2 -0
  81. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  82. package/dist-esm/src/models/parameters.js +19 -2
  83. package/dist-esm/src/models/parameters.js.map +1 -1
  84. package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts +94 -0
  85. package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/accessPolicyAssignmentOperations.js +403 -0
  87. package/dist-esm/src/operations/accessPolicyAssignmentOperations.js.map +1 -0
  88. package/dist-esm/src/operations/databases.d.ts +6 -6
  89. package/dist-esm/src/operations/databases.js +6 -6
  90. package/dist-esm/src/operations/index.d.ts +1 -0
  91. package/dist-esm/src/operations/index.d.ts.map +1 -1
  92. package/dist-esm/src/operations/index.js +1 -0
  93. package/dist-esm/src/operations/index.js.map +1 -1
  94. package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
  95. package/dist-esm/src/operations/privateEndpointConnections.js +7 -7
  96. package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
  97. package/dist-esm/src/operations/privateLinkResources.js +2 -2
  98. package/dist-esm/src/operations/redisEnterprise.d.ts +13 -13
  99. package/dist-esm/src/operations/redisEnterprise.js +13 -13
  100. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +67 -0
  101. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/databases.d.ts +5 -5
  105. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  107. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  108. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +6 -6
  110. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +1 -1
  111. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +11 -11
  112. package/dist-esm/src/redisEnterpriseManagementClient.d.ts +2 -1
  113. package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -1
  114. package/dist-esm/src/redisEnterpriseManagementClient.js +5 -3
  115. package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
  116. package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +1 -1
  117. package/dist-esm/test/redisenterprisecache_test.spec.js +5 -1
  118. package/dist-esm/test/redisenterprisecache_test.spec.js.map +1 -1
  119. package/package.json +31 -30
  120. package/review/arm-redisenterprisecache.api.md +239 -2
  121. package/src/lroImpl.ts +1 -1
  122. package/src/models/index.ts +457 -26
  123. package/src/models/mappers.ts +400 -2
  124. package/src/models/parameters.ts +21 -1
  125. package/src/operations/accessPolicyAssignmentOperations.ts +569 -0
  126. package/src/operations/databases.ts +6 -6
  127. package/src/operations/index.ts +1 -0
  128. package/src/operations/privateEndpointConnections.ts +7 -7
  129. package/src/operations/privateLinkResources.ts +2 -2
  130. package/src/operations/redisEnterprise.ts +13 -13
  131. package/src/operationsInterfaces/accessPolicyAssignmentOperations.ts +132 -0
  132. package/src/operationsInterfaces/databases.ts +5 -5
  133. package/src/operationsInterfaces/index.ts +1 -0
  134. package/src/operationsInterfaces/privateEndpointConnections.ts +6 -6
  135. package/src/operationsInterfaces/privateLinkResources.ts +1 -1
  136. package/src/operationsInterfaces/redisEnterprise.ts +11 -11
  137. package/src/redisEnterpriseManagementClient.ts +7 -2
  138. package/types/arm-redisenterprisecache.d.ts +544 -50
  139. package/types/tsdoc-metadata.json +1 -1
@@ -0,0 +1,94 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AccessPolicyAssignmentOperations } from "../operationsInterfaces";
3
+ import { RedisEnterpriseManagementClient } from "../redisEnterpriseManagementClient";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import { AccessPolicyAssignment, AccessPolicyAssignmentListOptionalParams, AccessPolicyAssignmentCreateUpdateOptionalParams, AccessPolicyAssignmentCreateUpdateResponse, AccessPolicyAssignmentGetOptionalParams, AccessPolicyAssignmentGetResponse, AccessPolicyAssignmentDeleteOptionalParams, AccessPolicyAssignmentDeleteResponse } from "../models";
6
+ /** Class containing AccessPolicyAssignmentOperations operations. */
7
+ export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolicyAssignmentOperations {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class AccessPolicyAssignmentOperations class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: RedisEnterpriseManagementClient);
14
+ /**
15
+ * Gets all access policy assignments..
16
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
+ * @param clusterName The name of the Redis Enterprise cluster.
18
+ * @param databaseName The name of the Redis Enterprise database.
19
+ * @param options The options parameters.
20
+ */
21
+ list(resourceGroupName: string, clusterName: string, databaseName: string, options?: AccessPolicyAssignmentListOptionalParams): PagedAsyncIterableIterator<AccessPolicyAssignment>;
22
+ private listPagingPage;
23
+ private listPagingAll;
24
+ /**
25
+ * Creates/Updates a particular access policy assignment for a database
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param clusterName The name of the Redis Enterprise cluster.
28
+ * @param databaseName The name of the Redis Enterprise database.
29
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
30
+ * assignment.
31
+ * @param parameters Parameters supplied to the create access policy assignment for database.
32
+ * @param options The options parameters.
33
+ */
34
+ beginCreateUpdate(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, parameters: AccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AccessPolicyAssignmentCreateUpdateResponse>, AccessPolicyAssignmentCreateUpdateResponse>>;
35
+ /**
36
+ * Creates/Updates a particular access policy assignment for a database
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param clusterName The name of the Redis Enterprise cluster.
39
+ * @param databaseName The name of the Redis Enterprise database.
40
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
41
+ * assignment.
42
+ * @param parameters Parameters supplied to the create access policy assignment for database.
43
+ * @param options The options parameters.
44
+ */
45
+ beginCreateUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, parameters: AccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise<AccessPolicyAssignmentCreateUpdateResponse>;
46
+ /**
47
+ * Gets information about access policy assignment for database.
48
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
+ * @param clusterName The name of the Redis Enterprise cluster.
50
+ * @param databaseName The name of the Redis Enterprise database.
51
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
52
+ * assignment.
53
+ * @param options The options parameters.
54
+ */
55
+ get(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentGetOptionalParams): Promise<AccessPolicyAssignmentGetResponse>;
56
+ /**
57
+ * Deletes a single access policy assignment.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param clusterName The name of the Redis Enterprise cluster.
60
+ * @param databaseName The name of the Redis Enterprise database.
61
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
62
+ * assignment.
63
+ * @param options The options parameters.
64
+ */
65
+ beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AccessPolicyAssignmentDeleteResponse>, AccessPolicyAssignmentDeleteResponse>>;
66
+ /**
67
+ * Deletes a single access policy assignment.
68
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
69
+ * @param clusterName The name of the Redis Enterprise cluster.
70
+ * @param databaseName The name of the Redis Enterprise database.
71
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
72
+ * assignment.
73
+ * @param options The options parameters.
74
+ */
75
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise<AccessPolicyAssignmentDeleteResponse>;
76
+ /**
77
+ * Gets all access policy assignments..
78
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
79
+ * @param clusterName The name of the Redis Enterprise cluster.
80
+ * @param databaseName The name of the Redis Enterprise database.
81
+ * @param options The options parameters.
82
+ */
83
+ private _list;
84
+ /**
85
+ * ListNext
86
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
87
+ * @param clusterName The name of the Redis Enterprise cluster.
88
+ * @param databaseName The name of the Redis Enterprise database.
89
+ * @param nextLink The nextLink from the previous successful call to the List method.
90
+ * @param options The options parameters.
91
+ */
92
+ private _listNext;
93
+ }
94
+ //# sourceMappingURL=accessPolicyAssignmentOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessPolicyAssignmentOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,yBAAyB,CAAC;AAI3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,sBAAsB,EAEtB,wCAAwC,EAExC,gDAAgD,EAChD,0CAA0C,EAC1C,uCAAuC,EACvC,iCAAiC,EACjC,0CAA0C,EAC1C,oCAAoC,EAErC,MAAM,WAAW,CAAC;AAGnB,oEAAoE;AACpE,qBAAa,oCACX,YAAW,gCAAgC;IAE3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;;;;;;OAMG;I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E,MAAM,EACpB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAWhD;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAYb;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAYlB"}
@@ -0,0 +1,403 @@
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, __awaiter } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ import { createHttpPoller, } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing AccessPolicyAssignmentOperations operations. */
17
+ export class AccessPolicyAssignmentOperationsImpl {
18
+ /**
19
+ * Initialize a new instance of the class AccessPolicyAssignmentOperations class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Gets all access policy assignments..
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param clusterName The name of the Redis Enterprise cluster.
29
+ * @param databaseName The name of the Redis Enterprise database.
30
+ * @param options The options parameters.
31
+ */
32
+ list(resourceGroupName, clusterName, databaseName, options) {
33
+ const iter = this.listPagingAll(resourceGroupName, clusterName, databaseName, options);
34
+ return {
35
+ next() {
36
+ return iter.next();
37
+ },
38
+ [Symbol.asyncIterator]() {
39
+ return this;
40
+ },
41
+ byPage: (settings) => {
42
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
+ throw new Error("maxPageSize is not supported by this operation.");
44
+ }
45
+ return this.listPagingPage(resourceGroupName, clusterName, databaseName, options, settings);
46
+ },
47
+ };
48
+ }
49
+ listPagingPage(resourceGroupName, clusterName, databaseName, options, settings) {
50
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
51
+ let result;
52
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
+ if (!continuationToken) {
54
+ result = yield __await(this._list(resourceGroupName, clusterName, databaseName, options));
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ setContinuationToken(page, continuationToken);
58
+ yield yield __await(page);
59
+ }
60
+ while (continuationToken) {
61
+ result = yield __await(this._listNext(resourceGroupName, clusterName, databaseName, continuationToken, options));
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ setContinuationToken(page, continuationToken);
65
+ yield yield __await(page);
66
+ }
67
+ });
68
+ }
69
+ listPagingAll(resourceGroupName, clusterName, databaseName, options) {
70
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
71
+ var _a, e_1, _b, _c;
72
+ try {
73
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, clusterName, databaseName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
74
+ _c = _f.value;
75
+ _d = false;
76
+ const page = _c;
77
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
78
+ }
79
+ }
80
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
+ finally {
82
+ try {
83
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
84
+ }
85
+ finally { if (e_1) throw e_1.error; }
86
+ }
87
+ });
88
+ }
89
+ /**
90
+ * Creates/Updates a particular access policy assignment for a database
91
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
92
+ * @param clusterName The name of the Redis Enterprise cluster.
93
+ * @param databaseName The name of the Redis Enterprise database.
94
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
95
+ * assignment.
96
+ * @param parameters Parameters supplied to the create access policy assignment for database.
97
+ * @param options The options parameters.
98
+ */
99
+ beginCreateUpdate(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options) {
100
+ return __awaiter(this, void 0, void 0, function* () {
101
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
102
+ return this.client.sendOperationRequest(args, spec);
103
+ });
104
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
105
+ var _a;
106
+ let currentRawResponse = undefined;
107
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
108
+ const callback = (rawResponse, flatResponse) => {
109
+ currentRawResponse = rawResponse;
110
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
111
+ };
112
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
113
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
114
+ return {
115
+ flatResponse,
116
+ rawResponse: {
117
+ statusCode: currentRawResponse.status,
118
+ body: currentRawResponse.parsedBody,
119
+ headers: currentRawResponse.headers.toJSON(),
120
+ },
121
+ };
122
+ });
123
+ const lro = createLroSpec({
124
+ sendOperationFn,
125
+ args: {
126
+ resourceGroupName,
127
+ clusterName,
128
+ databaseName,
129
+ accessPolicyAssignmentName,
130
+ parameters,
131
+ options,
132
+ },
133
+ spec: createUpdateOperationSpec,
134
+ });
135
+ const poller = yield createHttpPoller(lro, {
136
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
137
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
138
+ resourceLocationConfig: "original-uri",
139
+ });
140
+ yield poller.poll();
141
+ return poller;
142
+ });
143
+ }
144
+ /**
145
+ * Creates/Updates a particular access policy assignment for a database
146
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
147
+ * @param clusterName The name of the Redis Enterprise cluster.
148
+ * @param databaseName The name of the Redis Enterprise database.
149
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
150
+ * assignment.
151
+ * @param parameters Parameters supplied to the create access policy assignment for database.
152
+ * @param options The options parameters.
153
+ */
154
+ beginCreateUpdateAndWait(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options) {
155
+ return __awaiter(this, void 0, void 0, function* () {
156
+ const poller = yield this.beginCreateUpdate(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options);
157
+ return poller.pollUntilDone();
158
+ });
159
+ }
160
+ /**
161
+ * Gets information about access policy assignment for database.
162
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
163
+ * @param clusterName The name of the Redis Enterprise cluster.
164
+ * @param databaseName The name of the Redis Enterprise database.
165
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
166
+ * assignment.
167
+ * @param options The options parameters.
168
+ */
169
+ get(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
170
+ return this.client.sendOperationRequest({
171
+ resourceGroupName,
172
+ clusterName,
173
+ databaseName,
174
+ accessPolicyAssignmentName,
175
+ options,
176
+ }, getOperationSpec);
177
+ }
178
+ /**
179
+ * Deletes a single access policy assignment.
180
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
181
+ * @param clusterName The name of the Redis Enterprise cluster.
182
+ * @param databaseName The name of the Redis Enterprise database.
183
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
184
+ * assignment.
185
+ * @param options The options parameters.
186
+ */
187
+ beginDelete(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
188
+ return __awaiter(this, void 0, void 0, function* () {
189
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
190
+ return this.client.sendOperationRequest(args, spec);
191
+ });
192
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
193
+ var _a;
194
+ let currentRawResponse = undefined;
195
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
196
+ const callback = (rawResponse, flatResponse) => {
197
+ currentRawResponse = rawResponse;
198
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
199
+ };
200
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
201
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
202
+ return {
203
+ flatResponse,
204
+ rawResponse: {
205
+ statusCode: currentRawResponse.status,
206
+ body: currentRawResponse.parsedBody,
207
+ headers: currentRawResponse.headers.toJSON(),
208
+ },
209
+ };
210
+ });
211
+ const lro = createLroSpec({
212
+ sendOperationFn,
213
+ args: {
214
+ resourceGroupName,
215
+ clusterName,
216
+ databaseName,
217
+ accessPolicyAssignmentName,
218
+ options,
219
+ },
220
+ spec: deleteOperationSpec,
221
+ });
222
+ const poller = yield createHttpPoller(lro, {
223
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
224
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
225
+ resourceLocationConfig: "azure-async-operation",
226
+ });
227
+ yield poller.poll();
228
+ return poller;
229
+ });
230
+ }
231
+ /**
232
+ * Deletes a single access policy assignment.
233
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
234
+ * @param clusterName The name of the Redis Enterprise cluster.
235
+ * @param databaseName The name of the Redis Enterprise database.
236
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
237
+ * assignment.
238
+ * @param options The options parameters.
239
+ */
240
+ beginDeleteAndWait(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
241
+ return __awaiter(this, void 0, void 0, function* () {
242
+ const poller = yield this.beginDelete(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options);
243
+ return poller.pollUntilDone();
244
+ });
245
+ }
246
+ /**
247
+ * Gets all access policy assignments..
248
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
249
+ * @param clusterName The name of the Redis Enterprise cluster.
250
+ * @param databaseName The name of the Redis Enterprise database.
251
+ * @param options The options parameters.
252
+ */
253
+ _list(resourceGroupName, clusterName, databaseName, options) {
254
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, listOperationSpec);
255
+ }
256
+ /**
257
+ * ListNext
258
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
259
+ * @param clusterName The name of the Redis Enterprise cluster.
260
+ * @param databaseName The name of the Redis Enterprise database.
261
+ * @param nextLink The nextLink from the previous successful call to the List method.
262
+ * @param options The options parameters.
263
+ */
264
+ _listNext(resourceGroupName, clusterName, databaseName, nextLink, options) {
265
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, nextLink, options }, listNextOperationSpec);
266
+ }
267
+ }
268
+ // Operation Specifications
269
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
270
+ const createUpdateOperationSpec = {
271
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}",
272
+ httpMethod: "PUT",
273
+ responses: {
274
+ 200: {
275
+ bodyMapper: Mappers.AccessPolicyAssignment,
276
+ },
277
+ 201: {
278
+ bodyMapper: Mappers.AccessPolicyAssignment,
279
+ },
280
+ 202: {
281
+ bodyMapper: Mappers.AccessPolicyAssignment,
282
+ },
283
+ 204: {
284
+ bodyMapper: Mappers.AccessPolicyAssignment,
285
+ },
286
+ default: {
287
+ bodyMapper: Mappers.ErrorResponse,
288
+ },
289
+ },
290
+ requestBody: Parameters.parameters10,
291
+ queryParameters: [Parameters.apiVersion],
292
+ urlParameters: [
293
+ Parameters.$host,
294
+ Parameters.subscriptionId,
295
+ Parameters.resourceGroupName,
296
+ Parameters.clusterName,
297
+ Parameters.databaseName,
298
+ Parameters.accessPolicyAssignmentName,
299
+ ],
300
+ headerParameters: [Parameters.accept, Parameters.contentType],
301
+ mediaType: "json",
302
+ serializer,
303
+ };
304
+ const getOperationSpec = {
305
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}",
306
+ httpMethod: "GET",
307
+ responses: {
308
+ 200: {
309
+ bodyMapper: Mappers.AccessPolicyAssignment,
310
+ },
311
+ default: {
312
+ bodyMapper: Mappers.ErrorResponse,
313
+ },
314
+ },
315
+ queryParameters: [Parameters.apiVersion],
316
+ urlParameters: [
317
+ Parameters.$host,
318
+ Parameters.subscriptionId,
319
+ Parameters.resourceGroupName,
320
+ Parameters.clusterName,
321
+ Parameters.databaseName,
322
+ Parameters.accessPolicyAssignmentName,
323
+ ],
324
+ headerParameters: [Parameters.accept],
325
+ serializer,
326
+ };
327
+ const deleteOperationSpec = {
328
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}",
329
+ httpMethod: "DELETE",
330
+ responses: {
331
+ 200: {
332
+ headersMapper: Mappers.AccessPolicyAssignmentDeleteHeaders,
333
+ },
334
+ 201: {
335
+ headersMapper: Mappers.AccessPolicyAssignmentDeleteHeaders,
336
+ },
337
+ 202: {
338
+ headersMapper: Mappers.AccessPolicyAssignmentDeleteHeaders,
339
+ },
340
+ 204: {
341
+ headersMapper: Mappers.AccessPolicyAssignmentDeleteHeaders,
342
+ },
343
+ default: {
344
+ bodyMapper: Mappers.ErrorResponse,
345
+ },
346
+ },
347
+ queryParameters: [Parameters.apiVersion],
348
+ urlParameters: [
349
+ Parameters.$host,
350
+ Parameters.subscriptionId,
351
+ Parameters.resourceGroupName,
352
+ Parameters.clusterName,
353
+ Parameters.databaseName,
354
+ Parameters.accessPolicyAssignmentName,
355
+ ],
356
+ headerParameters: [Parameters.accept],
357
+ serializer,
358
+ };
359
+ const listOperationSpec = {
360
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments",
361
+ httpMethod: "GET",
362
+ responses: {
363
+ 200: {
364
+ bodyMapper: Mappers.AccessPolicyAssignmentList,
365
+ },
366
+ default: {
367
+ bodyMapper: Mappers.ErrorResponse,
368
+ },
369
+ },
370
+ queryParameters: [Parameters.apiVersion],
371
+ urlParameters: [
372
+ Parameters.$host,
373
+ Parameters.subscriptionId,
374
+ Parameters.resourceGroupName,
375
+ Parameters.clusterName,
376
+ Parameters.databaseName,
377
+ ],
378
+ headerParameters: [Parameters.accept],
379
+ serializer,
380
+ };
381
+ const listNextOperationSpec = {
382
+ path: "{nextLink}",
383
+ httpMethod: "GET",
384
+ responses: {
385
+ 200: {
386
+ bodyMapper: Mappers.AccessPolicyAssignmentList,
387
+ },
388
+ default: {
389
+ bodyMapper: Mappers.ErrorResponse,
390
+ },
391
+ },
392
+ urlParameters: [
393
+ Parameters.$host,
394
+ Parameters.nextLink,
395
+ Parameters.subscriptionId,
396
+ Parameters.resourceGroupName,
397
+ Parameters.clusterName,
398
+ Parameters.databaseName,
399
+ ],
400
+ headerParameters: [Parameters.accept],
401
+ serializer,
402
+ };
403
+ //# sourceMappingURL=accessPolicyAssignmentOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessPolicyAssignmentOperations.js","sourceRoot":"","sources":["../../../src/operations/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAe3C,4CAA4C;AAC5C,oEAAoE;AACpE,MAAM,OAAO,oCAAoC;IAK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,iBAAiB,GAA6B;IAClD,IAAI,EAAE,6KAA6K;IACnL,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;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,WAAW;QACtB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -12,7 +12,7 @@ export declare class DatabasesImpl implements Databases {
12
12
  */
13
13
  constructor(client: RedisEnterpriseManagementClient);
14
14
  /**
15
- * Gets all databases in the specified RedisEnterprise cluster.
15
+ * Gets all databases in the specified Redis Enterprise cluster.
16
16
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
17
  * @param clusterName The name of the Redis Enterprise cluster.
18
18
  * @param options The options parameters.
@@ -21,7 +21,7 @@ export declare class DatabasesImpl implements Databases {
21
21
  private listByClusterPagingPage;
22
22
  private listByClusterPagingAll;
23
23
  /**
24
- * Gets all databases in the specified RedisEnterprise cluster.
24
+ * Gets all databases in the specified Redis Enterprise cluster.
25
25
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
26
  * @param clusterName The name of the Redis Enterprise cluster.
27
27
  * @param options The options parameters.
@@ -64,7 +64,7 @@ export declare class DatabasesImpl implements Databases {
64
64
  */
65
65
  beginUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<DatabasesUpdateResponse>;
66
66
  /**
67
- * Gets information about a database in a RedisEnterprise cluster.
67
+ * Gets information about a database in a Redis Enterprise cluster.
68
68
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
69
69
  * @param clusterName The name of the Redis Enterprise cluster.
70
70
  * @param databaseName The name of the Redis Enterprise database.
@@ -88,7 +88,7 @@ export declare class DatabasesImpl implements Databases {
88
88
  */
89
89
  beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
90
90
  /**
91
- * Retrieves the access keys for the RedisEnterprise database.
91
+ * Retrieves the access keys for the Redis Enterprise database.
92
92
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
93
93
  * @param clusterName The name of the Redis Enterprise cluster.
94
94
  * @param databaseName The name of the Redis Enterprise database.
@@ -96,7 +96,7 @@ export declare class DatabasesImpl implements Databases {
96
96
  */
97
97
  listKeys(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesListKeysOptionalParams): Promise<DatabasesListKeysResponse>;
98
98
  /**
99
- * Regenerates the RedisEnterprise database's access keys.
99
+ * Regenerates the Redis Enterprise database's access keys.
100
100
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
101
101
  * @param clusterName The name of the Redis Enterprise cluster.
102
102
  * @param databaseName The name of the Redis Enterprise database.
@@ -105,7 +105,7 @@ export declare class DatabasesImpl implements Databases {
105
105
  */
106
106
  beginRegenerateKey(resourceGroupName: string, clusterName: string, databaseName: string, parameters: RegenerateKeyParameters, options?: DatabasesRegenerateKeyOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesRegenerateKeyResponse>, DatabasesRegenerateKeyResponse>>;
107
107
  /**
108
- * Regenerates the RedisEnterprise database's access keys.
108
+ * Regenerates the Redis Enterprise database's access keys.
109
109
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
110
110
  * @param clusterName The name of the Redis Enterprise cluster.
111
111
  * @param databaseName The name of the Redis Enterprise database.
@@ -23,7 +23,7 @@ export class DatabasesImpl {
23
23
  this.client = client;
24
24
  }
25
25
  /**
26
- * Gets all databases in the specified RedisEnterprise cluster.
26
+ * Gets all databases in the specified Redis Enterprise cluster.
27
27
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
28
  * @param clusterName The name of the Redis Enterprise cluster.
29
29
  * @param options The options parameters.
@@ -86,7 +86,7 @@ export class DatabasesImpl {
86
86
  });
87
87
  }
88
88
  /**
89
- * Gets all databases in the specified RedisEnterprise cluster.
89
+ * Gets all databases in the specified Redis Enterprise cluster.
90
90
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
91
  * @param clusterName The name of the Redis Enterprise cluster.
92
92
  * @param options The options parameters.
@@ -227,7 +227,7 @@ export class DatabasesImpl {
227
227
  });
228
228
  }
229
229
  /**
230
- * Gets information about a database in a RedisEnterprise cluster.
230
+ * Gets information about a database in a Redis Enterprise cluster.
231
231
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
232
232
  * @param clusterName The name of the Redis Enterprise cluster.
233
233
  * @param databaseName The name of the Redis Enterprise database.
@@ -295,7 +295,7 @@ export class DatabasesImpl {
295
295
  });
296
296
  }
297
297
  /**
298
- * Retrieves the access keys for the RedisEnterprise database.
298
+ * Retrieves the access keys for the Redis Enterprise database.
299
299
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
300
300
  * @param clusterName The name of the Redis Enterprise cluster.
301
301
  * @param databaseName The name of the Redis Enterprise database.
@@ -305,7 +305,7 @@ export class DatabasesImpl {
305
305
  return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, listKeysOperationSpec);
306
306
  }
307
307
  /**
308
- * Regenerates the RedisEnterprise database's access keys.
308
+ * Regenerates the Redis Enterprise database's access keys.
309
309
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
310
310
  * @param clusterName The name of the Redis Enterprise cluster.
311
311
  * @param databaseName The name of the Redis Enterprise database.
@@ -357,7 +357,7 @@ export class DatabasesImpl {
357
357
  });
358
358
  }
359
359
  /**
360
- * Regenerates the RedisEnterprise database's access keys.
360
+ * Regenerates the Redis Enterprise database's access keys.
361
361
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
362
362
  * @param clusterName The name of the Redis Enterprise cluster.
363
363
  * @param databaseName The name of the Redis Enterprise database.
@@ -2,6 +2,7 @@ export * from "./operations";
2
2
  export * from "./operationsStatus";
3
3
  export * from "./redisEnterprise";
4
4
  export * from "./databases";
5
+ export * from "./accessPolicyAssignmentOperations";
5
6
  export * from "./privateEndpointConnections";
6
7
  export * from "./privateLinkResources";
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
@@ -9,6 +9,7 @@ export * from "./operations";
9
9
  export * from "./operationsStatus";
10
10
  export * from "./redisEnterprise";
11
11
  export * from "./databases";
12
+ export * from "./accessPolicyAssignmentOperations";
12
13
  export * from "./privateEndpointConnections";
13
14
  export * from "./privateLinkResources";
14
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}