@azure/arm-redisenterprisecache 2.3.0-beta.1 → 3.0.0-alpha.20240226.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 (195) hide show
  1. package/CHANGELOG.md +13 -14
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +176 -412
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/databasesCreateSample.js +2 -2
  9. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/databasesExportSample.js +1 -1
  11. package/dist-esm/samples-dev/databasesFlushSample.js +1 -1
  12. package/dist-esm/samples-dev/databasesForceUnlinkSample.js +1 -1
  13. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  14. package/dist-esm/samples-dev/databasesImportSample.js +1 -1
  15. package/dist-esm/samples-dev/databasesListByClusterSample.js +4 -9
  16. package/dist-esm/samples-dev/databasesListByClusterSample.js.map +1 -1
  17. package/dist-esm/samples-dev/databasesListKeysSample.js +1 -1
  18. package/dist-esm/samples-dev/databasesRegenerateKeySample.js +1 -1
  19. package/dist-esm/samples-dev/databasesUpdateSample.js +1 -1
  20. package/dist-esm/samples-dev/operationsListSample.js +4 -9
  21. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  22. package/dist-esm/samples-dev/operationsStatusGetSample.js +1 -1
  23. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +2 -2
  24. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  25. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  26. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +4 -9
  27. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  28. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +1 -1
  29. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +4 -9
  30. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +1 -1
  31. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +1 -1
  32. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +1 -1
  33. package/dist-esm/samples-dev/redisEnterpriseGetSample.js +1 -1
  34. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +4 -9
  35. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +1 -1
  36. package/dist-esm/samples-dev/redisEnterpriseListSample.js +4 -9
  37. package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +1 -1
  38. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +1 -1
  39. package/dist-esm/src/models/index.d.ts +21 -84
  40. package/dist-esm/src/models/index.d.ts.map +1 -1
  41. package/dist-esm/src/models/index.js +4 -12
  42. package/dist-esm/src/models/index.js.map +1 -1
  43. package/dist-esm/src/models/mappers.d.ts +1 -6
  44. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  45. package/dist-esm/src/models/mappers.js +20 -159
  46. package/dist-esm/src/models/mappers.js.map +1 -1
  47. package/dist-esm/src/models/parameters.js +1 -1
  48. package/dist-esm/src/models/parameters.js.map +1 -1
  49. package/dist-esm/src/operations/databases.js +4 -9
  50. package/dist-esm/src/operations/databases.js.map +1 -1
  51. package/dist-esm/src/operations/index.d.ts +0 -1
  52. package/dist-esm/src/operations/index.d.ts.map +1 -1
  53. package/dist-esm/src/operations/index.js +0 -1
  54. package/dist-esm/src/operations/index.js.map +1 -1
  55. package/dist-esm/src/operations/operations.js +3 -8
  56. package/dist-esm/src/operations/operations.js.map +1 -1
  57. package/dist-esm/src/operations/privateEndpointConnections.d.ts +10 -1
  58. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  59. package/dist-esm/src/operations/privateEndpointConnections.js +61 -15
  60. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  61. package/dist-esm/src/operations/privateLinkResources.js +3 -8
  62. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  63. package/dist-esm/src/operations/redisEnterprise.js +6 -16
  64. package/dist-esm/src/operations/redisEnterprise.js.map +1 -1
  65. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -1
  66. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  67. package/dist-esm/src/operationsInterfaces/index.js +0 -1
  68. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  69. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +10 -1
  70. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  71. package/dist-esm/src/pagingHelper.js.map +1 -1
  72. package/dist-esm/src/redisEnterpriseManagementClient.d.ts +1 -2
  73. package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -1
  74. package/dist-esm/src/redisEnterpriseManagementClient.js +3 -4
  75. package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
  76. package/dist-esm/test/redisenterprisecache_test.spec.d.ts +4 -0
  77. package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +1 -0
  78. package/dist-esm/test/redisenterprisecache_test.spec.js +73 -0
  79. package/dist-esm/test/redisenterprisecache_test.spec.js.map +1 -0
  80. package/package.json +16 -20
  81. package/review/arm-redisenterprisecache.api.md +12 -66
  82. package/src/models/index.ts +24 -94
  83. package/src/models/mappers.ts +21 -165
  84. package/src/models/parameters.ts +1 -1
  85. package/src/operations/databases.ts +1 -1
  86. package/src/operations/index.ts +0 -1
  87. package/src/operations/privateEndpointConnections.ts +77 -5
  88. package/src/operationsInterfaces/index.ts +0 -1
  89. package/src/operationsInterfaces/privateEndpointConnections.ts +15 -1
  90. package/src/redisEnterpriseManagementClient.ts +4 -8
  91. package/types/arm-redisenterprisecache.d.ts +32 -106
  92. package/types/tsdoc-metadata.json +1 -1
  93. package/dist-esm/samples-dev/operationsStatusGet.d.ts +0 -2
  94. package/dist-esm/samples-dev/operationsStatusGet.d.ts.map +0 -1
  95. package/dist-esm/samples-dev/operationsStatusGet.js +0 -31
  96. package/dist-esm/samples-dev/operationsStatusGet.js.map +0 -1
  97. package/dist-esm/samples-dev/redisEnterpriseCreate.d.ts +0 -2
  98. package/dist-esm/samples-dev/redisEnterpriseCreate.d.ts.map +0 -1
  99. package/dist-esm/samples-dev/redisEnterpriseCreate.js +0 -38
  100. package/dist-esm/samples-dev/redisEnterpriseCreate.js.map +0 -1
  101. package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.d.ts +0 -2
  102. package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.d.ts.map +0 -1
  103. package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.js +0 -44
  104. package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.js.map +0 -1
  105. package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.d.ts +0 -2
  106. package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.d.ts.map +0 -1
  107. package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.js +0 -32
  108. package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.js.map +0 -1
  109. package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.d.ts +0 -2
  110. package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.d.ts.map +0 -1
  111. package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.js +0 -35
  112. package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.js.map +0 -1
  113. package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.d.ts +0 -2
  114. package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.d.ts.map +0 -1
  115. package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.js +0 -32
  116. package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.js.map +0 -1
  117. package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.d.ts +0 -2
  118. package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.d.ts.map +0 -1
  119. package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.js +0 -38
  120. package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.js.map +0 -1
  121. package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.d.ts +0 -2
  122. package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.d.ts.map +0 -1
  123. package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.js +0 -52
  124. package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.js.map +0 -1
  125. package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.d.ts +0 -2
  126. package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.d.ts.map +0 -1
  127. package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.js +0 -32
  128. package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.js.map +0 -1
  129. package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.d.ts +0 -2
  130. package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.d.ts.map +0 -1
  131. package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.js +0 -33
  132. package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.js.map +0 -1
  133. package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.d.ts +0 -2
  134. package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.d.ts.map +0 -1
  135. package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.js +0 -37
  136. package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.js.map +0 -1
  137. package/dist-esm/samples-dev/redisEnterpriseDelete.d.ts +0 -2
  138. package/dist-esm/samples-dev/redisEnterpriseDelete.d.ts.map +0 -1
  139. package/dist-esm/samples-dev/redisEnterpriseDelete.js +0 -31
  140. package/dist-esm/samples-dev/redisEnterpriseDelete.js.map +0 -1
  141. package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.d.ts +0 -2
  142. package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.d.ts.map +0 -1
  143. package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.js +0 -32
  144. package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.js.map +0 -1
  145. package/dist-esm/samples-dev/redisEnterpriseGet.d.ts +0 -2
  146. package/dist-esm/samples-dev/redisEnterpriseGet.d.ts.map +0 -1
  147. package/dist-esm/samples-dev/redisEnterpriseGet.js +0 -31
  148. package/dist-esm/samples-dev/redisEnterpriseGet.js.map +0 -1
  149. package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.d.ts +0 -2
  150. package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.d.ts.map +0 -1
  151. package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.js +0 -32
  152. package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.js.map +0 -1
  153. package/dist-esm/samples-dev/redisEnterpriseList.d.ts +0 -2
  154. package/dist-esm/samples-dev/redisEnterpriseList.d.ts.map +0 -1
  155. package/dist-esm/samples-dev/redisEnterpriseList.js +0 -50
  156. package/dist-esm/samples-dev/redisEnterpriseList.js.map +0 -1
  157. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.d.ts +0 -2
  158. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.d.ts.map +0 -1
  159. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.js +0 -51
  160. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.js.map +0 -1
  161. package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.d.ts +0 -2
  162. package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.d.ts.map +0 -1
  163. package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.js +0 -52
  164. package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.js.map +0 -1
  165. package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.d.ts +0 -2
  166. package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.d.ts.map +0 -1
  167. package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.js +0 -52
  168. package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.js.map +0 -1
  169. package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.d.ts +0 -2
  170. package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.d.ts.map +0 -1
  171. package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.js +0 -38
  172. package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.js.map +0 -1
  173. package/dist-esm/samples-dev/redisEnterpriseUpdate.d.ts +0 -2
  174. package/dist-esm/samples-dev/redisEnterpriseUpdate.d.ts.map +0 -1
  175. package/dist-esm/samples-dev/redisEnterpriseUpdate.js +0 -36
  176. package/dist-esm/samples-dev/redisEnterpriseUpdate.js.map +0 -1
  177. package/dist-esm/samples-dev/skusListSample.d.ts +0 -2
  178. package/dist-esm/samples-dev/skusListSample.d.ts.map +0 -1
  179. package/dist-esm/samples-dev/skusListSample.js +0 -58
  180. package/dist-esm/samples-dev/skusListSample.js.map +0 -1
  181. package/dist-esm/src/operations/skus.d.ts +0 -28
  182. package/dist-esm/src/operations/skus.d.ts.map +0 -1
  183. package/dist-esm/src/operations/skus.js +0 -107
  184. package/dist-esm/src/operations/skus.js.map +0 -1
  185. package/dist-esm/src/operationsInterfaces/skus.d.ts +0 -12
  186. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +0 -1
  187. package/dist-esm/src/operationsInterfaces/skus.js +0 -9
  188. package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
  189. package/dist-esm/test/sampleTest.d.ts +0 -2
  190. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  191. package/dist-esm/test/sampleTest.js +0 -38
  192. package/dist-esm/test/sampleTest.js.map +0 -1
  193. package/rollup.config.js +0 -122
  194. package/src/operations/skus.ts +0 -117
  195. package/src/operationsInterfaces/skus.ts +0 -24
@@ -25,12 +25,6 @@ export type ActionType = string;
25
25
  // @public
26
26
  export type AofFrequency = string;
27
27
 
28
- // @public
29
- export interface Capability {
30
- name?: string;
31
- value?: boolean;
32
- }
33
-
34
28
  // @public
35
29
  export interface Cluster extends TrackedResource {
36
30
  encryption?: ClusterPropertiesEncryption;
@@ -90,9 +84,6 @@ export interface ClusterUpdate {
90
84
  // @public
91
85
  export type CmkIdentityType = string;
92
86
 
93
- // @public
94
- export type CreatedByType = string;
95
-
96
87
  // @public
97
88
  export interface Database extends ProxyResource {
98
89
  clientProtocol?: Protocol;
@@ -314,14 +305,6 @@ export enum KnownCmkIdentityType {
314
305
  UserAssignedIdentity = "userAssignedIdentity"
315
306
  }
316
307
 
317
- // @public
318
- export enum KnownCreatedByType {
319
- Application = "Application",
320
- Key = "Key",
321
- ManagedIdentity = "ManagedIdentity",
322
- User = "User"
323
- }
324
-
325
308
  // @public
326
309
  export enum KnownEvictionPolicy {
327
310
  AllKeysLFU = "AllKeysLFU",
@@ -408,6 +391,8 @@ export enum KnownResourceState {
408
391
  EnableFailed = "EnableFailed",
409
392
  Enabling = "Enabling",
410
393
  Running = "Running",
394
+ Scaling = "Scaling",
395
+ ScalingFailed = "ScalingFailed",
411
396
  UpdateFailed = "UpdateFailed",
412
397
  Updating = "Updating"
413
398
  }
@@ -439,12 +424,6 @@ export interface LinkedDatabase {
439
424
  // @public
440
425
  export type LinkState = string;
441
426
 
442
- // @public
443
- export interface LocationInfo {
444
- capabilities?: Capability[];
445
- location?: string;
446
- }
447
-
448
427
  // @public
449
428
  export interface ManagedServiceIdentity {
450
429
  readonly principalId?: string;
@@ -562,15 +541,24 @@ export type PrivateEndpointConnectionProvisioningState = string;
562
541
 
563
542
  // @public
564
543
  export interface PrivateEndpointConnections {
544
+ beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
545
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
565
546
  beginPut(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsPutResponse>, PrivateEndpointConnectionsPutResponse>>;
566
547
  beginPutAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
567
- delete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
568
548
  get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
569
549
  list(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
570
550
  }
571
551
 
552
+ // @public
553
+ export interface PrivateEndpointConnectionsDeleteHeaders {
554
+ azureAsyncOperation?: string;
555
+ location?: string;
556
+ }
557
+
572
558
  // @public
573
559
  export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
560
+ resumeFrom?: string;
561
+ updateIntervalInMs?: number;
574
562
  }
575
563
 
576
564
  // @public
@@ -726,8 +714,6 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
726
714
  // (undocumented)
727
715
  redisEnterprise: RedisEnterprise;
728
716
  // (undocumented)
729
- skus: Skus;
730
- // (undocumented)
731
717
  subscriptionId: string;
732
718
  }
733
719
 
@@ -752,23 +738,10 @@ export interface RegenerateKeyParameters {
752
738
  keyType: AccessKeyType;
753
739
  }
754
740
 
755
- // @public
756
- export interface RegionSkuDetail {
757
- locationInfo?: LocationInfo;
758
- resourceType?: string;
759
- skuDetails?: SkuDetail;
760
- }
761
-
762
- // @public
763
- export interface RegionSkuDetails {
764
- value?: RegionSkuDetail[];
765
- }
766
-
767
741
  // @public
768
742
  export interface Resource {
769
743
  readonly id?: string;
770
744
  readonly name?: string;
771
- readonly systemData?: SystemData;
772
745
  readonly type?: string;
773
746
  }
774
747
 
@@ -781,36 +754,9 @@ export interface Sku {
781
754
  name: SkuName;
782
755
  }
783
756
 
784
- // @public
785
- export interface SkuDetail {
786
- name?: SkuName;
787
- }
788
-
789
757
  // @public
790
758
  export type SkuName = string;
791
759
 
792
- // @public
793
- export interface Skus {
794
- list(location: string, options?: SkusListOptionalParams): PagedAsyncIterableIterator<RegionSkuDetail>;
795
- }
796
-
797
- // @public
798
- export interface SkusListOptionalParams extends coreClient.OperationOptions {
799
- }
800
-
801
- // @public
802
- export type SkusListResponse = RegionSkuDetails;
803
-
804
- // @public
805
- export interface SystemData {
806
- createdAt?: Date;
807
- createdBy?: string;
808
- createdByType?: CreatedByType;
809
- lastModifiedAt?: Date;
810
- lastModifiedBy?: string;
811
- lastModifiedByType?: CreatedByType;
812
- }
813
-
814
760
  // @public
815
761
  export type TlsVersion = string;
816
762
 
@@ -235,27 +235,6 @@ export interface Resource {
235
235
  * NOTE: This property will not be serialized. It can only be populated by the server.
236
236
  */
237
237
  readonly type?: string;
238
- /**
239
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
240
- * NOTE: This property will not be serialized. It can only be populated by the server.
241
- */
242
- readonly systemData?: SystemData;
243
- }
244
-
245
- /** Metadata pertaining to creation and last modification of the resource. */
246
- export interface SystemData {
247
- /** The identity that created the resource. */
248
- createdBy?: string;
249
- /** The type of identity that created the resource. */
250
- createdByType?: CreatedByType;
251
- /** The timestamp of resource creation (UTC). */
252
- createdAt?: Date;
253
- /** The identity that last modified the resource. */
254
- lastModifiedBy?: string;
255
- /** The type of identity that last modified the resource. */
256
- lastModifiedByType?: CreatedByType;
257
- /** The timestamp of resource last modification (UTC) */
258
- lastModifiedAt?: Date;
259
238
  }
260
239
 
261
240
  /** A partial update to the RedisEnterprise cluster */
@@ -441,50 +420,12 @@ export interface ForceUnlinkParameters {
441
420
  ids: string[];
442
421
  }
443
422
 
444
- /** Parameters for a Redis Enterprise active geo-replication flush operation. */
423
+ /** Parameters for a Redis Enterprise active geo-replication flush operation */
445
424
  export interface FlushParameters {
446
- /** The resource identifiers of all the other database resources in the georeplication group to be flushed */
425
+ /** The identifiers of all the other database resources in the georeplication group to be flushed. */
447
426
  ids?: string[];
448
427
  }
449
428
 
450
- /** List of details about all the available SKUs */
451
- export interface RegionSkuDetails {
452
- /** List of Sku Detail */
453
- value?: RegionSkuDetail[];
454
- }
455
-
456
- /** Details about the location requested and the available skus in the location */
457
- export interface RegionSkuDetail {
458
- /** Resource type which has the SKU, such as Microsoft.Cache/redisEnterprise */
459
- resourceType?: string;
460
- /** Details about location and its capabilities */
461
- locationInfo?: LocationInfo;
462
- /** Details about available skus */
463
- skuDetails?: SkuDetail;
464
- }
465
-
466
- /** Information about location (for example: features that it supports) */
467
- export interface LocationInfo {
468
- /** Location name */
469
- location?: string;
470
- /** List of capabilities */
471
- capabilities?: Capability[];
472
- }
473
-
474
- /** Information about the features the location supports */
475
- export interface Capability {
476
- /** Feature name */
477
- name?: string;
478
- /** Indicates whether feature is supported or not */
479
- value?: boolean;
480
- }
481
-
482
- /** Information about Sku */
483
- export interface SkuDetail {
484
- /** The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.) */
485
- name?: SkuName;
486
- }
487
-
488
429
  /** The Private Endpoint Connection resource. */
489
430
  export interface PrivateEndpointConnection extends Resource {
490
431
  /** The resource of private end point. */
@@ -600,6 +541,14 @@ export interface DatabasesFlushHeaders {
600
541
  azureAsyncOperation?: string;
601
542
  }
602
543
 
544
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
545
+ export interface PrivateEndpointConnectionsDeleteHeaders {
546
+ /** Location URI to poll for result */
547
+ location?: string;
548
+ /** URI to poll for the operation status */
549
+ azureAsyncOperation?: string;
550
+ }
551
+
603
552
  /** Known values of {@link Origin} that the service accepts. */
604
553
  export enum KnownOrigin {
605
554
  /** User */
@@ -787,7 +736,11 @@ export enum KnownResourceState {
787
736
  /** DisableFailed */
788
737
  DisableFailed = "DisableFailed",
789
738
  /** Disabled */
790
- Disabled = "Disabled"
739
+ Disabled = "Disabled",
740
+ /** Scaling */
741
+ Scaling = "Scaling",
742
+ /** ScalingFailed */
743
+ ScalingFailed = "ScalingFailed"
791
744
  }
792
745
 
793
746
  /**
@@ -806,7 +759,9 @@ export enum KnownResourceState {
806
759
  * **EnableFailed** \
807
760
  * **Disabling** \
808
761
  * **DisableFailed** \
809
- * **Disabled**
762
+ * **Disabled** \
763
+ * **Scaling** \
764
+ * **ScalingFailed**
810
765
  */
811
766
  export type ResourceState = string;
812
767
 
@@ -855,30 +810,6 @@ export enum KnownPrivateEndpointConnectionProvisioningState {
855
810
  */
856
811
  export type PrivateEndpointConnectionProvisioningState = string;
857
812
 
858
- /** Known values of {@link CreatedByType} that the service accepts. */
859
- export enum KnownCreatedByType {
860
- /** User */
861
- User = "User",
862
- /** Application */
863
- Application = "Application",
864
- /** ManagedIdentity */
865
- ManagedIdentity = "ManagedIdentity",
866
- /** Key */
867
- Key = "Key"
868
- }
869
-
870
- /**
871
- * Defines values for CreatedByType. \
872
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
873
- * this enum contains the known values that the service supports.
874
- * ### Known values supported by the service
875
- * **User** \
876
- * **Application** \
877
- * **ManagedIdentity** \
878
- * **Key**
879
- */
880
- export type CreatedByType = string;
881
-
882
813
  /** Known values of {@link Protocol} that the service accepts. */
883
814
  export enum KnownProtocol {
884
815
  /** Encrypted */
@@ -1245,7 +1176,12 @@ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection;
1245
1176
 
1246
1177
  /** Optional parameters. */
1247
1178
  export interface PrivateEndpointConnectionsDeleteOptionalParams
1248
- extends coreClient.OperationOptions {}
1179
+ extends coreClient.OperationOptions {
1180
+ /** Delay to wait until next poll, in milliseconds. */
1181
+ updateIntervalInMs?: number;
1182
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1183
+ resumeFrom?: string;
1184
+ }
1249
1185
 
1250
1186
  /** Optional parameters. */
1251
1187
  export interface PrivateLinkResourcesListByClusterOptionalParams
@@ -1254,12 +1190,6 @@ export interface PrivateLinkResourcesListByClusterOptionalParams
1254
1190
  /** Contains response data for the listByCluster operation. */
1255
1191
  export type PrivateLinkResourcesListByClusterResponse = PrivateLinkResourceListResult;
1256
1192
 
1257
- /** Optional parameters. */
1258
- export interface SkusListOptionalParams extends coreClient.OperationOptions {}
1259
-
1260
- /** Contains response data for the list operation. */
1261
- export type SkusListResponse = RegionSkuDetails;
1262
-
1263
1193
  /** Optional parameters. */
1264
1194
  export interface RedisEnterpriseManagementClientOptionalParams
1265
1195
  extends coreClient.ServiceClientOptions {
@@ -473,58 +473,6 @@ export const Resource: coreClient.CompositeMapper = {
473
473
  type: {
474
474
  name: "String"
475
475
  }
476
- },
477
- systemData: {
478
- serializedName: "systemData",
479
- type: {
480
- name: "Composite",
481
- className: "SystemData"
482
- }
483
- }
484
- }
485
- }
486
- };
487
-
488
- export const SystemData: coreClient.CompositeMapper = {
489
- type: {
490
- name: "Composite",
491
- className: "SystemData",
492
- modelProperties: {
493
- createdBy: {
494
- serializedName: "createdBy",
495
- type: {
496
- name: "String"
497
- }
498
- },
499
- createdByType: {
500
- serializedName: "createdByType",
501
- type: {
502
- name: "String"
503
- }
504
- },
505
- createdAt: {
506
- serializedName: "createdAt",
507
- type: {
508
- name: "DateTime"
509
- }
510
- },
511
- lastModifiedBy: {
512
- serializedName: "lastModifiedBy",
513
- type: {
514
- name: "String"
515
- }
516
- },
517
- lastModifiedByType: {
518
- serializedName: "lastModifiedByType",
519
- type: {
520
- name: "String"
521
- }
522
- },
523
- lastModifiedAt: {
524
- serializedName: "lastModifiedAt",
525
- type: {
526
- name: "DateTime"
527
- }
528
476
  }
529
477
  }
530
478
  }
@@ -1014,119 +962,6 @@ export const FlushParameters: coreClient.CompositeMapper = {
1014
962
  }
1015
963
  };
1016
964
 
1017
- export const RegionSkuDetails: coreClient.CompositeMapper = {
1018
- type: {
1019
- name: "Composite",
1020
- className: "RegionSkuDetails",
1021
- modelProperties: {
1022
- value: {
1023
- serializedName: "value",
1024
- type: {
1025
- name: "Sequence",
1026
- element: {
1027
- type: {
1028
- name: "Composite",
1029
- className: "RegionSkuDetail"
1030
- }
1031
- }
1032
- }
1033
- }
1034
- }
1035
- }
1036
- };
1037
-
1038
- export const RegionSkuDetail: coreClient.CompositeMapper = {
1039
- type: {
1040
- name: "Composite",
1041
- className: "RegionSkuDetail",
1042
- modelProperties: {
1043
- resourceType: {
1044
- serializedName: "resourceType",
1045
- type: {
1046
- name: "String"
1047
- }
1048
- },
1049
- locationInfo: {
1050
- serializedName: "locationInfo",
1051
- type: {
1052
- name: "Composite",
1053
- className: "LocationInfo"
1054
- }
1055
- },
1056
- skuDetails: {
1057
- serializedName: "skuDetails",
1058
- type: {
1059
- name: "Composite",
1060
- className: "SkuDetail"
1061
- }
1062
- }
1063
- }
1064
- }
1065
- };
1066
-
1067
- export const LocationInfo: coreClient.CompositeMapper = {
1068
- type: {
1069
- name: "Composite",
1070
- className: "LocationInfo",
1071
- modelProperties: {
1072
- location: {
1073
- serializedName: "location",
1074
- type: {
1075
- name: "String"
1076
- }
1077
- },
1078
- capabilities: {
1079
- serializedName: "capabilities",
1080
- type: {
1081
- name: "Sequence",
1082
- element: {
1083
- type: {
1084
- name: "Composite",
1085
- className: "Capability"
1086
- }
1087
- }
1088
- }
1089
- }
1090
- }
1091
- }
1092
- };
1093
-
1094
- export const Capability: coreClient.CompositeMapper = {
1095
- type: {
1096
- name: "Composite",
1097
- className: "Capability",
1098
- modelProperties: {
1099
- name: {
1100
- serializedName: "name",
1101
- type: {
1102
- name: "String"
1103
- }
1104
- },
1105
- value: {
1106
- serializedName: "value",
1107
- type: {
1108
- name: "Boolean"
1109
- }
1110
- }
1111
- }
1112
- }
1113
- };
1114
-
1115
- export const SkuDetail: coreClient.CompositeMapper = {
1116
- type: {
1117
- name: "Composite",
1118
- className: "SkuDetail",
1119
- modelProperties: {
1120
- name: {
1121
- serializedName: "name",
1122
- type: {
1123
- name: "String"
1124
- }
1125
- }
1126
- }
1127
- }
1128
- };
1129
-
1130
965
  export const PrivateEndpointConnection: coreClient.CompositeMapper = {
1131
966
  type: {
1132
967
  name: "Composite",
@@ -1415,3 +1250,24 @@ export const DatabasesFlushHeaders: coreClient.CompositeMapper = {
1415
1250
  }
1416
1251
  }
1417
1252
  };
1253
+
1254
+ export const PrivateEndpointConnectionsDeleteHeaders: coreClient.CompositeMapper = {
1255
+ type: {
1256
+ name: "Composite",
1257
+ className: "PrivateEndpointConnectionsDeleteHeaders",
1258
+ modelProperties: {
1259
+ location: {
1260
+ serializedName: "location",
1261
+ type: {
1262
+ name: "String"
1263
+ }
1264
+ },
1265
+ azureAsyncOperation: {
1266
+ serializedName: "azure-asyncoperation",
1267
+ type: {
1268
+ name: "String"
1269
+ }
1270
+ }
1271
+ }
1272
+ }
1273
+ };
@@ -51,7 +51,7 @@ export const $host: OperationURLParameter = {
51
51
  export const apiVersion: OperationQueryParameter = {
52
52
  parameterPath: "apiVersion",
53
53
  mapper: {
54
- defaultValue: "2023-03-01-preview",
54
+ defaultValue: "2023-11-01",
55
55
  isConstant: true,
56
56
  serializedName: "api-version",
57
57
  type: {
@@ -578,7 +578,7 @@ export class DatabasesImpl implements Databases {
578
578
  >(lro, {
579
579
  restoreFrom: options?.resumeFrom,
580
580
  intervalInMs: options?.updateIntervalInMs,
581
- resourceLocationConfig: "location"
581
+ resourceLocationConfig: "azure-async-operation"
582
582
  });
583
583
  await poller.poll();
584
584
  return poller;
@@ -12,4 +12,3 @@ export * from "./redisEnterprise";
12
12
  export * from "./databases";
13
13
  export * from "./privateEndpointConnections";
14
14
  export * from "./privateLinkResources";
15
- export * from "./skus";
@@ -261,21 +261,91 @@ export class PrivateEndpointConnectionsImpl
261
261
  * Azure resource
262
262
  * @param options The options parameters.
263
263
  */
264
- delete(
264
+ async beginDelete(
265
265
  resourceGroupName: string,
266
266
  clusterName: string,
267
267
  privateEndpointConnectionName: string,
268
268
  options?: PrivateEndpointConnectionsDeleteOptionalParams
269
- ): Promise<void> {
270
- return this.client.sendOperationRequest(
271
- {
269
+ ): Promise<SimplePollerLike<OperationState<void>, void>> {
270
+ const directSendOperation = async (
271
+ args: coreClient.OperationArguments,
272
+ spec: coreClient.OperationSpec
273
+ ): Promise<void> => {
274
+ return this.client.sendOperationRequest(args, spec);
275
+ };
276
+ const sendOperationFn = async (
277
+ args: coreClient.OperationArguments,
278
+ spec: coreClient.OperationSpec
279
+ ) => {
280
+ let currentRawResponse:
281
+ | coreClient.FullOperationResponse
282
+ | undefined = undefined;
283
+ const providedCallback = args.options?.onResponse;
284
+ const callback: coreClient.RawResponseCallback = (
285
+ rawResponse: coreClient.FullOperationResponse,
286
+ flatResponse: unknown
287
+ ) => {
288
+ currentRawResponse = rawResponse;
289
+ providedCallback?.(rawResponse, flatResponse);
290
+ };
291
+ const updatedArgs = {
292
+ ...args,
293
+ options: {
294
+ ...args.options,
295
+ onResponse: callback
296
+ }
297
+ };
298
+ const flatResponse = await directSendOperation(updatedArgs, spec);
299
+ return {
300
+ flatResponse,
301
+ rawResponse: {
302
+ statusCode: currentRawResponse!.status,
303
+ body: currentRawResponse!.parsedBody,
304
+ headers: currentRawResponse!.headers.toJSON()
305
+ }
306
+ };
307
+ };
308
+
309
+ const lro = createLroSpec({
310
+ sendOperationFn,
311
+ args: {
272
312
  resourceGroupName,
273
313
  clusterName,
274
314
  privateEndpointConnectionName,
275
315
  options
276
316
  },
277
- deleteOperationSpec
317
+ spec: deleteOperationSpec
318
+ });
319
+ const poller = await createHttpPoller<void, OperationState<void>>(lro, {
320
+ restoreFrom: options?.resumeFrom,
321
+ intervalInMs: options?.updateIntervalInMs,
322
+ resourceLocationConfig: "location"
323
+ });
324
+ await poller.poll();
325
+ return poller;
326
+ }
327
+
328
+ /**
329
+ * Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
330
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
331
+ * @param clusterName The name of the RedisEnterprise cluster.
332
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
333
+ * Azure resource
334
+ * @param options The options parameters.
335
+ */
336
+ async beginDeleteAndWait(
337
+ resourceGroupName: string,
338
+ clusterName: string,
339
+ privateEndpointConnectionName: string,
340
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
341
+ ): Promise<void> {
342
+ const poller = await this.beginDelete(
343
+ resourceGroupName,
344
+ clusterName,
345
+ privateEndpointConnectionName,
346
+ options
278
347
  );
348
+ return poller.pollUntilDone();
279
349
  }
280
350
  }
281
351
  // Operation Specifications
@@ -366,6 +436,8 @@ const deleteOperationSpec: coreClient.OperationSpec = {
366
436
  httpMethod: "DELETE",
367
437
  responses: {
368
438
  200: {},
439
+ 201: {},
440
+ 202: {},
369
441
  204: {},
370
442
  default: {
371
443
  bodyMapper: Mappers.ErrorResponse
@@ -12,4 +12,3 @@ export * from "./redisEnterprise";
12
12
  export * from "./databases";
13
13
  export * from "./privateEndpointConnections";
14
14
  export * from "./privateLinkResources";
15
- export * from "./skus";
@@ -93,7 +93,21 @@ export interface PrivateEndpointConnections {
93
93
  * Azure resource
94
94
  * @param options The options parameters.
95
95
  */
96
- delete(
96
+ beginDelete(
97
+ resourceGroupName: string,
98
+ clusterName: string,
99
+ privateEndpointConnectionName: string,
100
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
101
+ ): Promise<SimplePollerLike<OperationState<void>, void>>;
102
+ /**
103
+ * Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
104
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
+ * @param clusterName The name of the RedisEnterprise cluster.
106
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
107
+ * Azure resource
108
+ * @param options The options parameters.
109
+ */
110
+ beginDeleteAndWait(
97
111
  resourceGroupName: string,
98
112
  clusterName: string,
99
113
  privateEndpointConnectionName: string,