@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
@@ -20,8 +20,7 @@ import {
20
20
  RedisEnterpriseImpl,
21
21
  DatabasesImpl,
22
22
  PrivateEndpointConnectionsImpl,
23
- PrivateLinkResourcesImpl,
24
- SkusImpl
23
+ PrivateLinkResourcesImpl
25
24
  } from "./operations";
26
25
  import {
27
26
  Operations,
@@ -29,8 +28,7 @@ import {
29
28
  RedisEnterprise,
30
29
  Databases,
31
30
  PrivateEndpointConnections,
32
- PrivateLinkResources,
33
- Skus
31
+ PrivateLinkResources
34
32
  } from "./operationsInterfaces";
35
33
  import { RedisEnterpriseManagementClientOptionalParams } from "./models";
36
34
 
@@ -66,7 +64,7 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
66
64
  credential: credentials
67
65
  };
68
66
 
69
- const packageDetails = `azsdk-js-arm-redisenterprisecache/2.3.0-beta.1`;
67
+ const packageDetails = `azsdk-js-arm-redisenterprisecache/3.0.0`;
70
68
  const userAgentPrefix =
71
69
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
72
70
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -119,14 +117,13 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
119
117
 
120
118
  // Assigning values to Constant parameters
121
119
  this.$host = options.$host || "https://management.azure.com";
122
- this.apiVersion = options.apiVersion || "2023-03-01-preview";
120
+ this.apiVersion = options.apiVersion || "2023-11-01";
123
121
  this.operations = new OperationsImpl(this);
124
122
  this.operationsStatus = new OperationsStatusImpl(this);
125
123
  this.redisEnterprise = new RedisEnterpriseImpl(this);
126
124
  this.databases = new DatabasesImpl(this);
127
125
  this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
128
126
  this.privateLinkResources = new PrivateLinkResourcesImpl(this);
129
- this.skus = new SkusImpl(this);
130
127
  this.addCustomApiVersionPolicy(options.apiVersion);
131
128
  }
132
129
 
@@ -164,5 +161,4 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
164
161
  databases: Databases;
165
162
  privateEndpointConnections: PrivateEndpointConnections;
166
163
  privateLinkResources: PrivateLinkResources;
167
- skus: Skus;
168
164
  }
@@ -40,14 +40,6 @@ export declare type ActionType = string;
40
40
  */
41
41
  export declare type AofFrequency = string;
42
42
 
43
- /** Information about the features the location supports */
44
- export declare interface Capability {
45
- /** Feature name */
46
- name?: string;
47
- /** Indicates whether feature is supported or not */
48
- value?: boolean;
49
- }
50
-
51
43
  /** Describes the RedisEnterprise cluster */
52
44
  export declare interface Cluster extends TrackedResource {
53
45
  /** The SKU to create, which affects price, performance, and features. */
@@ -181,18 +173,6 @@ export declare interface ClusterUpdate {
181
173
  */
182
174
  export declare type CmkIdentityType = string;
183
175
 
184
- /**
185
- * Defines values for CreatedByType. \
186
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
187
- * this enum contains the known values that the service supports.
188
- * ### Known values supported by the service
189
- * **User** \
190
- * **Application** \
191
- * **ManagedIdentity** \
192
- * **Key**
193
- */
194
- export declare type CreatedByType = string;
195
-
196
176
  /** Describes a database on the RedisEnterprise cluster */
197
177
  export declare interface Database extends ProxyResource {
198
178
  /** Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. */
@@ -617,9 +597,9 @@ export declare interface ExportClusterParameters {
617
597
  sasUri: string;
618
598
  }
619
599
 
620
- /** Parameters for a Redis Enterprise active geo-replication flush operation. */
600
+ /** Parameters for a Redis Enterprise active geo-replication flush operation */
621
601
  export declare interface FlushParameters {
622
- /** The resource identifiers of all the other database resources in the georeplication group to be flushed */
602
+ /** The identifiers of all the other database resources in the georeplication group to be flushed. */
623
603
  ids?: string[];
624
604
  }
625
605
 
@@ -674,18 +654,6 @@ export declare enum KnownCmkIdentityType {
674
654
  UserAssignedIdentity = "userAssignedIdentity"
675
655
  }
676
656
 
677
- /** Known values of {@link CreatedByType} that the service accepts. */
678
- export declare enum KnownCreatedByType {
679
- /** User */
680
- User = "User",
681
- /** Application */
682
- Application = "Application",
683
- /** ManagedIdentity */
684
- ManagedIdentity = "ManagedIdentity",
685
- /** Key */
686
- Key = "Key"
687
- }
688
-
689
657
  /** Known values of {@link EvictionPolicy} that the service accepts. */
690
658
  export declare enum KnownEvictionPolicy {
691
659
  /** AllKeysLFU */
@@ -823,7 +791,11 @@ export declare enum KnownResourceState {
823
791
  /** DisableFailed */
824
792
  DisableFailed = "DisableFailed",
825
793
  /** Disabled */
826
- Disabled = "Disabled"
794
+ Disabled = "Disabled",
795
+ /** Scaling */
796
+ Scaling = "Scaling",
797
+ /** ScalingFailed */
798
+ ScalingFailed = "ScalingFailed"
827
799
  }
828
800
 
829
801
  /** Known values of {@link SkuName} that the service accepts. */
@@ -878,14 +850,6 @@ export declare interface LinkedDatabase {
878
850
  */
879
851
  export declare type LinkState = string;
880
852
 
881
- /** Information about location (for example: features that it supports) */
882
- export declare interface LocationInfo {
883
- /** Location name */
884
- location?: string;
885
- /** List of capabilities */
886
- capabilities?: Capability[];
887
- }
888
-
889
853
  /** Managed service identity (system assigned and/or user assigned identities) */
890
854
  export declare interface ManagedServiceIdentity {
891
855
  /**
@@ -1163,11 +1127,32 @@ export declare interface PrivateEndpointConnections {
1163
1127
  * Azure resource
1164
1128
  * @param options The options parameters.
1165
1129
  */
1166
- delete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
1130
+ beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1131
+ /**
1132
+ * Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
1133
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1134
+ * @param clusterName The name of the RedisEnterprise cluster.
1135
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1136
+ * Azure resource
1137
+ * @param options The options parameters.
1138
+ */
1139
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
1140
+ }
1141
+
1142
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
1143
+ export declare interface PrivateEndpointConnectionsDeleteHeaders {
1144
+ /** Location URI to poll for result */
1145
+ location?: string;
1146
+ /** URI to poll for the operation status */
1147
+ azureAsyncOperation?: string;
1167
1148
  }
1168
1149
 
1169
1150
  /** Optional parameters. */
1170
1151
  export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1152
+ /** Delay to wait until next poll, in milliseconds. */
1153
+ updateIntervalInMs?: number;
1154
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1155
+ resumeFrom?: string;
1171
1156
  }
1172
1157
 
1173
1158
  /** Optional parameters. */
@@ -1436,7 +1421,6 @@ export declare class RedisEnterpriseManagementClient extends coreClient.ServiceC
1436
1421
  databases: Databases;
1437
1422
  privateEndpointConnections: PrivateEndpointConnections;
1438
1423
  privateLinkResources: PrivateLinkResources;
1439
- skus: Skus;
1440
1424
  }
1441
1425
 
1442
1426
  /** Optional parameters. */
@@ -1466,22 +1450,6 @@ export declare interface RegenerateKeyParameters {
1466
1450
  keyType: AccessKeyType;
1467
1451
  }
1468
1452
 
1469
- /** Details about the location requested and the available skus in the location */
1470
- export declare interface RegionSkuDetail {
1471
- /** Resource type which has the SKU, such as Microsoft.Cache/redisEnterprise */
1472
- resourceType?: string;
1473
- /** Details about location and its capabilities */
1474
- locationInfo?: LocationInfo;
1475
- /** Details about available skus */
1476
- skuDetails?: SkuDetail;
1477
- }
1478
-
1479
- /** List of details about all the available SKUs */
1480
- export declare interface RegionSkuDetails {
1481
- /** List of Sku Detail */
1482
- value?: RegionSkuDetail[];
1483
- }
1484
-
1485
1453
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
1486
1454
  export declare interface Resource {
1487
1455
  /**
@@ -1499,11 +1467,6 @@ export declare interface Resource {
1499
1467
  * NOTE: This property will not be serialized. It can only be populated by the server.
1500
1468
  */
1501
1469
  readonly type?: string;
1502
- /**
1503
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
1504
- * NOTE: This property will not be serialized. It can only be populated by the server.
1505
- */
1506
- readonly systemData?: SystemData;
1507
1470
  }
1508
1471
 
1509
1472
  /**
@@ -1522,7 +1485,9 @@ export declare interface Resource {
1522
1485
  * **EnableFailed** \
1523
1486
  * **Disabling** \
1524
1487
  * **DisableFailed** \
1525
- * **Disabled**
1488
+ * **Disabled** \
1489
+ * **Scaling** \
1490
+ * **ScalingFailed**
1526
1491
  */
1527
1492
  export declare type ResourceState = string;
1528
1493
 
@@ -1534,12 +1499,6 @@ export declare interface Sku {
1534
1499
  capacity?: number;
1535
1500
  }
1536
1501
 
1537
- /** Information about Sku */
1538
- export declare interface SkuDetail {
1539
- /** The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.) */
1540
- name?: SkuName;
1541
- }
1542
-
1543
1502
  /**
1544
1503
  * Defines values for SkuName. \
1545
1504
  * {@link KnownSkuName} can be used interchangeably with SkuName,
@@ -1555,39 +1514,6 @@ export declare interface SkuDetail {
1555
1514
  */
1556
1515
  export declare type SkuName = string;
1557
1516
 
1558
- /** Interface representing a Skus. */
1559
- export declare interface Skus {
1560
- /**
1561
- * Gets information about skus in specified location for the given subscription id
1562
- * @param location The name of Azure region.
1563
- * @param options The options parameters.
1564
- */
1565
- list(location: string, options?: SkusListOptionalParams): PagedAsyncIterableIterator<RegionSkuDetail>;
1566
- }
1567
-
1568
- /** Optional parameters. */
1569
- export declare interface SkusListOptionalParams extends coreClient.OperationOptions {
1570
- }
1571
-
1572
- /** Contains response data for the list operation. */
1573
- export declare type SkusListResponse = RegionSkuDetails;
1574
-
1575
- /** Metadata pertaining to creation and last modification of the resource. */
1576
- export declare interface SystemData {
1577
- /** The identity that created the resource. */
1578
- createdBy?: string;
1579
- /** The type of identity that created the resource. */
1580
- createdByType?: CreatedByType;
1581
- /** The timestamp of resource creation (UTC). */
1582
- createdAt?: Date;
1583
- /** The identity that last modified the resource. */
1584
- lastModifiedBy?: string;
1585
- /** The type of identity that last modified the resource. */
1586
- lastModifiedByType?: CreatedByType;
1587
- /** The timestamp of resource last modification (UTC) */
1588
- lastModifiedAt?: Date;
1589
- }
1590
-
1591
1517
  /**
1592
1518
  * Defines values for TlsVersion. \
1593
1519
  * {@link KnownTlsVersion} can be used interchangeably with TlsVersion,
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
8
+ "packageVersion": "7.41.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=operationsStatusGet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operationsStatusGet.d.ts","sourceRoot":"","sources":["../../samples-dev/operationsStatusGet.ts"],"names":[],"mappings":""}
@@ -1,31 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Gets the status of operation.
13
- *
14
- * @summary Gets the status of operation.
15
- * x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2021-08-01/examples/OperationsStatusGet.json
16
- */
17
- import { RedisEnterpriseManagementClient } from "@azure/arm-redisenterprisecache";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function operationsStatusGet() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const location = "West US";
23
- const operationId = "testoperationid";
24
- const credential = new DefaultAzureCredential();
25
- const client = new RedisEnterpriseManagementClient(credential, subscriptionId);
26
- const result = yield client.operationsStatus.get(location, operationId);
27
- console.log(result);
28
- });
29
- }
30
- operationsStatusGet().catch(console.error);
31
- //# sourceMappingURL=operationsStatusGet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operationsStatusGet.js","sourceRoot":"","sources":["../../samples-dev/operationsStatusGet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,mBAAmB;;QAChC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,WAAW,GAAG,iBAAiB,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QACxE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,mBAAmB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=redisEnterpriseCreate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseCreate.d.ts","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseCreate.ts"],"names":[],"mappings":""}
@@ -1,38 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
13
- *
14
- * @summary Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
15
- * x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2021-08-01/examples/RedisEnterpriseCreate.json
16
- */
17
- import { RedisEnterpriseManagementClient } from "@azure/arm-redisenterprisecache";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function redisEnterpriseCreate() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const resourceGroupName = "rg1";
23
- const clusterName = "cache1";
24
- const parameters = {
25
- location: "West US",
26
- minimumTlsVersion: "1.2",
27
- sku: { name: "EnterpriseFlash_F300", capacity: 3 },
28
- tags: { tag1: "value1" },
29
- zones: ["1", "2", "3"]
30
- };
31
- const credential = new DefaultAzureCredential();
32
- const client = new RedisEnterpriseManagementClient(credential, subscriptionId);
33
- const result = yield client.redisEnterprise.beginCreateAndWait(resourceGroupName, clusterName, parameters);
34
- console.log(result);
35
- });
36
- }
37
- redisEnterpriseCreate().catch(console.error);
38
- //# sourceMappingURL=redisEnterpriseCreate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseCreate.js","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseCreate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,+BAA+B,EAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,UAAU,GAAY;YAC1B,QAAQ,EAAE,SAAS;YACnB,iBAAiB,EAAE,KAAK;YACxB,GAAG,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,QAAQ,EAAE,CAAC,EAAE;YAClD,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxB,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;SACvB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=redisEnterpriseDatabasesCreate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesCreate.d.ts","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesCreate.ts"],"names":[],"mappings":""}
@@ -1,44 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates a database
13
- *
14
- * @summary Creates a database
15
- * x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2021-08-01/examples/RedisEnterpriseDatabasesCreate.json
16
- */
17
- import { RedisEnterpriseManagementClient } from "@azure/arm-redisenterprisecache";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function redisEnterpriseDatabasesCreate() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const resourceGroupName = "rg1";
23
- const clusterName = "cache1";
24
- const databaseName = "default";
25
- const parameters = {
26
- clientProtocol: "Encrypted",
27
- clusteringPolicy: "EnterpriseCluster",
28
- evictionPolicy: "AllKeysLRU",
29
- modules: [
30
- { name: "RedisBloom", args: "ERROR_RATE 0.00 INITIAL_SIZE 400" },
31
- { name: "RedisTimeSeries", args: "RETENTION_POLICY 20" },
32
- { name: "RediSearch" }
33
- ],
34
- persistence: { aofEnabled: true, aofFrequency: "1s" },
35
- port: 10000
36
- };
37
- const credential = new DefaultAzureCredential();
38
- const client = new RedisEnterpriseManagementClient(credential, subscriptionId);
39
- const result = yield client.databases.beginCreateAndWait(resourceGroupName, clusterName, databaseName, parameters);
40
- console.log(result);
41
- });
42
- }
43
- redisEnterpriseDatabasesCreate().catch(console.error);
44
- //# sourceMappingURL=redisEnterpriseDatabasesCreate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesCreate.js","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesCreate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,+BAA+B,EAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,YAAY,GAAG,SAAS,CAAC;QAC/B,MAAM,UAAU,GAAa;YAC3B,cAAc,EAAE,WAAW;YAC3B,gBAAgB,EAAE,mBAAmB;YACrC,cAAc,EAAE,YAAY;YAC5B,OAAO,EAAE;gBACP,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,kCAAkC,EAAE;gBAChE,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,qBAAqB,EAAE;gBACxD,EAAE,IAAI,EAAE,YAAY,EAAE;aACvB;YACD,WAAW,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE;YACrD,IAAI,EAAE,KAAK;SACZ,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,kBAAkB,CACtD,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=redisEnterpriseDatabasesDelete.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesDelete.d.ts","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesDelete.ts"],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Deletes a single database
13
- *
14
- * @summary Deletes a single database
15
- * x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2021-08-01/examples/RedisEnterpriseDatabasesDelete.json
16
- */
17
- import { RedisEnterpriseManagementClient } from "@azure/arm-redisenterprisecache";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function redisEnterpriseDatabasesDelete() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const resourceGroupName = "rg1";
23
- const clusterName = "cache1";
24
- const databaseName = "db1";
25
- const credential = new DefaultAzureCredential();
26
- const client = new RedisEnterpriseManagementClient(credential, subscriptionId);
27
- const result = yield client.databases.beginDeleteAndWait(resourceGroupName, clusterName, databaseName);
28
- console.log(result);
29
- });
30
- }
31
- redisEnterpriseDatabasesDelete().catch(console.error);
32
- //# sourceMappingURL=redisEnterpriseDatabasesDelete.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesDelete.js","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesDelete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,YAAY,GAAG,KAAK,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,kBAAkB,CACtD,iBAAiB,EACjB,WAAW,EACX,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=redisEnterpriseDatabasesExport.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesExport.d.ts","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesExport.ts"],"names":[],"mappings":""}
@@ -1,35 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Exports a database file from target database.
13
- *
14
- * @summary Exports a database file from target database.
15
- * x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2021-08-01/examples/RedisEnterpriseDatabasesExport.json
16
- */
17
- import { RedisEnterpriseManagementClient } from "@azure/arm-redisenterprisecache";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function redisEnterpriseDatabasesExport() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const resourceGroupName = "rg1";
23
- const clusterName = "cache1";
24
- const databaseName = "default";
25
- const parameters = {
26
- sasUri: "https://contosostorage.blob.core.window.net/urlToBlobContainer?sasKeyParameters"
27
- };
28
- const credential = new DefaultAzureCredential();
29
- const client = new RedisEnterpriseManagementClient(credential, subscriptionId);
30
- const result = yield client.databases.beginExportAndWait(resourceGroupName, clusterName, databaseName, parameters);
31
- console.log(result);
32
- });
33
- }
34
- redisEnterpriseDatabasesExport().catch(console.error);
35
- //# sourceMappingURL=redisEnterpriseDatabasesExport.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesExport.js","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesExport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,+BAA+B,EAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,YAAY,GAAG,SAAS,CAAC;QAC/B,MAAM,UAAU,GAA4B;YAC1C,MAAM,EACJ,iFAAiF;SACpF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,kBAAkB,CACtD,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=redisEnterpriseDatabasesGet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesGet.d.ts","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesGet.ts"],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Gets information about a database in a RedisEnterprise cluster.
13
- *
14
- * @summary Gets information about a database in a RedisEnterprise cluster.
15
- * x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2021-08-01/examples/RedisEnterpriseDatabasesGet.json
16
- */
17
- import { RedisEnterpriseManagementClient } from "@azure/arm-redisenterprisecache";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function redisEnterpriseDatabasesGet() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const resourceGroupName = "rg1";
23
- const clusterName = "cache1";
24
- const databaseName = "default";
25
- const credential = new DefaultAzureCredential();
26
- const client = new RedisEnterpriseManagementClient(credential, subscriptionId);
27
- const result = yield client.databases.get(resourceGroupName, clusterName, databaseName);
28
- console.log(result);
29
- });
30
- }
31
- redisEnterpriseDatabasesGet().catch(console.error);
32
- //# sourceMappingURL=redisEnterpriseDatabasesGet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesGet.js","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesGet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,YAAY,GAAG,SAAS,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,GAAG,CACvC,iBAAiB,EACjB,WAAW,EACX,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=redisEnterpriseDatabasesImport.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesImport.d.ts","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesImport.ts"],"names":[],"mappings":""}
@@ -1,38 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Imports database files to target database.
13
- *
14
- * @summary Imports database files to target database.
15
- * x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2021-08-01/examples/RedisEnterpriseDatabasesImport.json
16
- */
17
- import { RedisEnterpriseManagementClient } from "@azure/arm-redisenterprisecache";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function redisEnterpriseDatabasesImport() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const resourceGroupName = "rg1";
23
- const clusterName = "cache1";
24
- const databaseName = "default";
25
- const parameters = {
26
- sasUris: [
27
- "https://contosostorage.blob.core.window.net/urltoBlobFile1?sasKeyParameters",
28
- "https://contosostorage.blob.core.window.net/urltoBlobFile2?sasKeyParameters"
29
- ]
30
- };
31
- const credential = new DefaultAzureCredential();
32
- const client = new RedisEnterpriseManagementClient(credential, subscriptionId);
33
- const result = yield client.databases.beginImportAndWait(resourceGroupName, clusterName, databaseName, parameters);
34
- console.log(result);
35
- });
36
- }
37
- redisEnterpriseDatabasesImport().catch(console.error);
38
- //# sourceMappingURL=redisEnterpriseDatabasesImport.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesImport.js","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesImport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,+BAA+B,EAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,YAAY,GAAG,SAAS,CAAC;QAC/B,MAAM,UAAU,GAA4B;YAC1C,OAAO,EAAE;gBACP,6EAA6E;gBAC7E,6EAA6E;aAC9E;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,kBAAkB,CACtD,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=redisEnterpriseDatabasesListByCluster.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterpriseDatabasesListByCluster.d.ts","sourceRoot":"","sources":["../../samples-dev/redisEnterpriseDatabasesListByCluster.ts"],"names":[],"mappings":""}