@azure/arm-redisenterprisecache 2.2.1-alpha.20230418.1 → 2.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -10
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +777 -121
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/databasesCreateSample.js +15 -8
- package/dist-esm/samples-dev/databasesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/databasesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesExportSample.js +11 -4
- package/dist-esm/samples-dev/databasesExportSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesFlushSample.d.ts +2 -0
- package/dist-esm/samples-dev/databasesFlushSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databasesFlushSample.js +44 -0
- package/dist-esm/samples-dev/databasesFlushSample.js.map +1 -0
- package/dist-esm/samples-dev/databasesForceUnlinkSample.js +11 -4
- package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesGetSample.js +11 -4
- package/dist-esm/samples-dev/databasesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesImportSample.js +11 -4
- package/dist-esm/samples-dev/databasesImportSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesListByClusterSample.js +11 -4
- package/dist-esm/samples-dev/databasesListByClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesListKeysSample.js +11 -4
- package/dist-esm/samples-dev/databasesListKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesRegenerateKeySample.js +11 -4
- package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/databasesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/databasesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsStatusGetSample.js +10 -3
- package/dist-esm/samples-dev/operationsStatusGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +26 -4
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +11 -4
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseGetSample.js +11 -4
- package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseListSample.js +10 -3
- package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +11 -4
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/skusListSample.d.ts +2 -0
- package/dist-esm/samples-dev/skusListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/skusListSample.js +58 -0
- package/dist-esm/samples-dev/skusListSample.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +196 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +32 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +13 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +340 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +6 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/databases.d.ts +27 -9
- package/dist-esm/src/operations/databases.d.ts.map +1 -1
- package/dist-esm/src/operations/databases.js +192 -37
- package/dist-esm/src/operations/databases.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +16 -12
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/redisEnterprise.d.ts +4 -4
- package/dist-esm/src/operations/redisEnterprise.d.ts.map +1 -1
- package/dist-esm/src/operations/redisEnterprise.js +29 -17
- package/dist-esm/src/operations/redisEnterprise.js.map +1 -1
- package/dist-esm/src/operations/skus.d.ts +28 -0
- package/dist-esm/src/operations/skus.d.ts.map +1 -0
- package/dist-esm/src/operations/skus.js +107 -0
- package/dist-esm/src/operations/skus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databases.d.ts +27 -9
- package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/skus.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.js +9 -0
- package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts +2 -1
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -1
- package/dist-esm/src/redisEnterpriseManagementClient.js +4 -3
- package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
- package/package.json +8 -7
- package/review/arm-redisenterprisecache.api.md +154 -13
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +216 -0
- package/src/models/mappers.ts +357 -0
- package/src/models/parameters.ts +7 -1
- package/src/operations/databases.ts +251 -75
- package/src/operations/index.ts +1 -0
- package/src/operations/privateEndpointConnections.ts +19 -12
- package/src/operations/redisEnterprise.ts +44 -34
- package/src/operations/skus.ts +117 -0
- package/src/operationsInterfaces/databases.ts +44 -12
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +3 -3
- package/src/operationsInterfaces/redisEnterprise.ts +6 -6
- package/src/operationsInterfaces/skus.ts +24 -0
- package/src/redisEnterpriseManagementClient.ts +8 -4
- package/types/arm-redisenterprisecache.d.ts +260 -13
package/src/models/index.ts
CHANGED
|
@@ -145,6 +145,60 @@ export interface Sku {
|
|
|
145
145
|
capacity?: number;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
149
|
+
export interface ManagedServiceIdentity {
|
|
150
|
+
/**
|
|
151
|
+
* The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
152
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
153
|
+
*/
|
|
154
|
+
readonly principalId?: string;
|
|
155
|
+
/**
|
|
156
|
+
* The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
157
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
158
|
+
*/
|
|
159
|
+
readonly tenantId?: string;
|
|
160
|
+
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
161
|
+
type: ManagedServiceIdentityType;
|
|
162
|
+
/** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
|
|
163
|
+
userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity };
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/** User assigned identity properties */
|
|
167
|
+
export interface UserAssignedIdentity {
|
|
168
|
+
/**
|
|
169
|
+
* The principal ID of the assigned identity.
|
|
170
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
171
|
+
*/
|
|
172
|
+
readonly principalId?: string;
|
|
173
|
+
/**
|
|
174
|
+
* The client ID of the assigned identity.
|
|
175
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
176
|
+
*/
|
|
177
|
+
readonly clientId?: string;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/** Encryption-at-rest configuration for the cluster. */
|
|
181
|
+
export interface ClusterPropertiesEncryption {
|
|
182
|
+
/** All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption. */
|
|
183
|
+
customerManagedKeyEncryption?: ClusterPropertiesEncryptionCustomerManagedKeyEncryption;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/** All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption. */
|
|
187
|
+
export interface ClusterPropertiesEncryptionCustomerManagedKeyEncryption {
|
|
188
|
+
/** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */
|
|
189
|
+
keyEncryptionKeyIdentity?: ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity;
|
|
190
|
+
/** Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 */
|
|
191
|
+
keyEncryptionKeyUrl?: string;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */
|
|
195
|
+
export interface ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity {
|
|
196
|
+
/** User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/<sub uuid>/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. */
|
|
197
|
+
userAssignedIdentityResourceId?: string;
|
|
198
|
+
/** Only userAssignedIdentity is supported in this API version; other types may be supported in the future */
|
|
199
|
+
identityType?: CmkIdentityType;
|
|
200
|
+
}
|
|
201
|
+
|
|
148
202
|
/** The Private Endpoint resource. */
|
|
149
203
|
export interface PrivateEndpoint {
|
|
150
204
|
/**
|
|
@@ -181,16 +235,41 @@ export interface Resource {
|
|
|
181
235
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
182
236
|
*/
|
|
183
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;
|
|
184
259
|
}
|
|
185
260
|
|
|
186
261
|
/** A partial update to the RedisEnterprise cluster */
|
|
187
262
|
export interface ClusterUpdate {
|
|
188
263
|
/** The SKU to create, which affects price, performance, and features. */
|
|
189
264
|
sku?: Sku;
|
|
265
|
+
/** The identity of the resource. */
|
|
266
|
+
identity?: ManagedServiceIdentity;
|
|
190
267
|
/** Resource tags. */
|
|
191
268
|
tags?: { [propertyName: string]: string };
|
|
192
269
|
/** The minimum TLS version for the cluster to support, e.g. '1.2' */
|
|
193
270
|
minimumTlsVersion?: TlsVersion;
|
|
271
|
+
/** Encryption-at-rest configuration for the cluster. */
|
|
272
|
+
encryption?: ClusterPropertiesEncryption;
|
|
194
273
|
/**
|
|
195
274
|
* DNS name of the cluster endpoint
|
|
196
275
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -362,6 +441,50 @@ export interface ForceUnlinkParameters {
|
|
|
362
441
|
ids: string[];
|
|
363
442
|
}
|
|
364
443
|
|
|
444
|
+
/** Parameters for a Redis Enterprise active geo-replication flush operation. */
|
|
445
|
+
export interface FlushParameters {
|
|
446
|
+
/** The resource identifiers of all the other database resources in the georeplication group to be flushed */
|
|
447
|
+
ids?: string[];
|
|
448
|
+
}
|
|
449
|
+
|
|
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
|
+
|
|
365
488
|
/** The Private Endpoint Connection resource. */
|
|
366
489
|
export interface PrivateEndpointConnection extends Resource {
|
|
367
490
|
/** The resource of private end point. */
|
|
@@ -408,8 +531,12 @@ export interface Cluster extends TrackedResource {
|
|
|
408
531
|
sku: Sku;
|
|
409
532
|
/** The Availability Zones where this cluster will be deployed. */
|
|
410
533
|
zones?: string[];
|
|
534
|
+
/** The identity of the resource. */
|
|
535
|
+
identity?: ManagedServiceIdentity;
|
|
411
536
|
/** The minimum TLS version for the cluster to support, e.g. '1.2' */
|
|
412
537
|
minimumTlsVersion?: TlsVersion;
|
|
538
|
+
/** Encryption-at-rest configuration for the cluster. */
|
|
539
|
+
encryption?: ClusterPropertiesEncryption;
|
|
413
540
|
/**
|
|
414
541
|
* DNS name of the cluster endpoint
|
|
415
542
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -465,6 +592,14 @@ export interface Database extends ProxyResource {
|
|
|
465
592
|
geoReplication?: DatabasePropertiesGeoReplication;
|
|
466
593
|
}
|
|
467
594
|
|
|
595
|
+
/** Defines headers for Databases_flush operation. */
|
|
596
|
+
export interface DatabasesFlushHeaders {
|
|
597
|
+
/** Location URI to poll for result */
|
|
598
|
+
location?: string;
|
|
599
|
+
/** URI to poll for the operation status */
|
|
600
|
+
azureAsyncOperation?: string;
|
|
601
|
+
}
|
|
602
|
+
|
|
468
603
|
/** Known values of {@link Origin} that the service accepts. */
|
|
469
604
|
export enum KnownOrigin {
|
|
470
605
|
/** User */
|
|
@@ -534,6 +669,30 @@ export enum KnownSkuName {
|
|
|
534
669
|
*/
|
|
535
670
|
export type SkuName = string;
|
|
536
671
|
|
|
672
|
+
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
673
|
+
export enum KnownManagedServiceIdentityType {
|
|
674
|
+
/** None */
|
|
675
|
+
None = "None",
|
|
676
|
+
/** SystemAssigned */
|
|
677
|
+
SystemAssigned = "SystemAssigned",
|
|
678
|
+
/** UserAssigned */
|
|
679
|
+
UserAssigned = "UserAssigned",
|
|
680
|
+
/** SystemAssignedUserAssigned */
|
|
681
|
+
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Defines values for ManagedServiceIdentityType. \
|
|
686
|
+
* {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
|
|
687
|
+
* this enum contains the known values that the service supports.
|
|
688
|
+
* ### Known values supported by the service
|
|
689
|
+
* **None** \
|
|
690
|
+
* **SystemAssigned** \
|
|
691
|
+
* **UserAssigned** \
|
|
692
|
+
* **SystemAssigned, UserAssigned**
|
|
693
|
+
*/
|
|
694
|
+
export type ManagedServiceIdentityType = string;
|
|
695
|
+
|
|
537
696
|
/** Known values of {@link TlsVersion} that the service accepts. */
|
|
538
697
|
export enum KnownTlsVersion {
|
|
539
698
|
/** One0 */
|
|
@@ -555,6 +714,24 @@ export enum KnownTlsVersion {
|
|
|
555
714
|
*/
|
|
556
715
|
export type TlsVersion = string;
|
|
557
716
|
|
|
717
|
+
/** Known values of {@link CmkIdentityType} that the service accepts. */
|
|
718
|
+
export enum KnownCmkIdentityType {
|
|
719
|
+
/** SystemAssignedIdentity */
|
|
720
|
+
SystemAssignedIdentity = "systemAssignedIdentity",
|
|
721
|
+
/** UserAssignedIdentity */
|
|
722
|
+
UserAssignedIdentity = "userAssignedIdentity"
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Defines values for CmkIdentityType. \
|
|
727
|
+
* {@link KnownCmkIdentityType} can be used interchangeably with CmkIdentityType,
|
|
728
|
+
* this enum contains the known values that the service supports.
|
|
729
|
+
* ### Known values supported by the service
|
|
730
|
+
* **systemAssignedIdentity** \
|
|
731
|
+
* **userAssignedIdentity**
|
|
732
|
+
*/
|
|
733
|
+
export type CmkIdentityType = string;
|
|
734
|
+
|
|
558
735
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
559
736
|
export enum KnownProvisioningState {
|
|
560
737
|
/** Succeeded */
|
|
@@ -678,6 +855,30 @@ export enum KnownPrivateEndpointConnectionProvisioningState {
|
|
|
678
855
|
*/
|
|
679
856
|
export type PrivateEndpointConnectionProvisioningState = string;
|
|
680
857
|
|
|
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
|
+
|
|
681
882
|
/** Known values of {@link Protocol} that the service accepts. */
|
|
682
883
|
export enum KnownProtocol {
|
|
683
884
|
/** Encrypted */
|
|
@@ -1000,6 +1201,15 @@ export interface DatabasesForceUnlinkOptionalParams
|
|
|
1000
1201
|
resumeFrom?: string;
|
|
1001
1202
|
}
|
|
1002
1203
|
|
|
1204
|
+
/** Optional parameters. */
|
|
1205
|
+
export interface DatabasesFlushOptionalParams
|
|
1206
|
+
extends coreClient.OperationOptions {
|
|
1207
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1208
|
+
updateIntervalInMs?: number;
|
|
1209
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1210
|
+
resumeFrom?: string;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1003
1213
|
/** Optional parameters. */
|
|
1004
1214
|
export interface DatabasesListByClusterNextOptionalParams
|
|
1005
1215
|
extends coreClient.OperationOptions {}
|
|
@@ -1044,6 +1254,12 @@ export interface PrivateLinkResourcesListByClusterOptionalParams
|
|
|
1044
1254
|
/** Contains response data for the listByCluster operation. */
|
|
1045
1255
|
export type PrivateLinkResourcesListByClusterResponse = PrivateLinkResourceListResult;
|
|
1046
1256
|
|
|
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
|
+
|
|
1047
1263
|
/** Optional parameters. */
|
|
1048
1264
|
export interface RedisEnterpriseManagementClientOptionalParams
|
|
1049
1265
|
extends coreClient.ServiceClientOptions {
|
package/src/models/mappers.ts
CHANGED
|
@@ -282,6 +282,129 @@ export const Sku: coreClient.CompositeMapper = {
|
|
|
282
282
|
}
|
|
283
283
|
};
|
|
284
284
|
|
|
285
|
+
export const ManagedServiceIdentity: coreClient.CompositeMapper = {
|
|
286
|
+
type: {
|
|
287
|
+
name: "Composite",
|
|
288
|
+
className: "ManagedServiceIdentity",
|
|
289
|
+
modelProperties: {
|
|
290
|
+
principalId: {
|
|
291
|
+
serializedName: "principalId",
|
|
292
|
+
readOnly: true,
|
|
293
|
+
type: {
|
|
294
|
+
name: "Uuid"
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
tenantId: {
|
|
298
|
+
serializedName: "tenantId",
|
|
299
|
+
readOnly: true,
|
|
300
|
+
type: {
|
|
301
|
+
name: "Uuid"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
type: {
|
|
305
|
+
serializedName: "type",
|
|
306
|
+
required: true,
|
|
307
|
+
type: {
|
|
308
|
+
name: "String"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
userAssignedIdentities: {
|
|
312
|
+
serializedName: "userAssignedIdentities",
|
|
313
|
+
type: {
|
|
314
|
+
name: "Dictionary",
|
|
315
|
+
value: {
|
|
316
|
+
type: { name: "Composite", className: "UserAssignedIdentity" }
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
export const UserAssignedIdentity: coreClient.CompositeMapper = {
|
|
325
|
+
type: {
|
|
326
|
+
name: "Composite",
|
|
327
|
+
className: "UserAssignedIdentity",
|
|
328
|
+
modelProperties: {
|
|
329
|
+
principalId: {
|
|
330
|
+
serializedName: "principalId",
|
|
331
|
+
readOnly: true,
|
|
332
|
+
type: {
|
|
333
|
+
name: "Uuid"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
clientId: {
|
|
337
|
+
serializedName: "clientId",
|
|
338
|
+
readOnly: true,
|
|
339
|
+
type: {
|
|
340
|
+
name: "Uuid"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
export const ClusterPropertiesEncryption: coreClient.CompositeMapper = {
|
|
348
|
+
type: {
|
|
349
|
+
name: "Composite",
|
|
350
|
+
className: "ClusterPropertiesEncryption",
|
|
351
|
+
modelProperties: {
|
|
352
|
+
customerManagedKeyEncryption: {
|
|
353
|
+
serializedName: "customerManagedKeyEncryption",
|
|
354
|
+
type: {
|
|
355
|
+
name: "Composite",
|
|
356
|
+
className: "ClusterPropertiesEncryptionCustomerManagedKeyEncryption"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
export const ClusterPropertiesEncryptionCustomerManagedKeyEncryption: coreClient.CompositeMapper = {
|
|
364
|
+
type: {
|
|
365
|
+
name: "Composite",
|
|
366
|
+
className: "ClusterPropertiesEncryptionCustomerManagedKeyEncryption",
|
|
367
|
+
modelProperties: {
|
|
368
|
+
keyEncryptionKeyIdentity: {
|
|
369
|
+
serializedName: "keyEncryptionKeyIdentity",
|
|
370
|
+
type: {
|
|
371
|
+
name: "Composite",
|
|
372
|
+
className:
|
|
373
|
+
"ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
keyEncryptionKeyUrl: {
|
|
377
|
+
serializedName: "keyEncryptionKeyUrl",
|
|
378
|
+
type: {
|
|
379
|
+
name: "String"
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
export const ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity: coreClient.CompositeMapper = {
|
|
387
|
+
type: {
|
|
388
|
+
name: "Composite",
|
|
389
|
+
className:
|
|
390
|
+
"ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity",
|
|
391
|
+
modelProperties: {
|
|
392
|
+
userAssignedIdentityResourceId: {
|
|
393
|
+
serializedName: "userAssignedIdentityResourceId",
|
|
394
|
+
type: {
|
|
395
|
+
name: "String"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
identityType: {
|
|
399
|
+
serializedName: "identityType",
|
|
400
|
+
type: {
|
|
401
|
+
name: "String"
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
};
|
|
407
|
+
|
|
285
408
|
export const PrivateEndpoint: coreClient.CompositeMapper = {
|
|
286
409
|
type: {
|
|
287
410
|
name: "Composite",
|
|
@@ -350,6 +473,58 @@ export const Resource: coreClient.CompositeMapper = {
|
|
|
350
473
|
type: {
|
|
351
474
|
name: "String"
|
|
352
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
|
+
}
|
|
353
528
|
}
|
|
354
529
|
}
|
|
355
530
|
}
|
|
@@ -367,6 +542,13 @@ export const ClusterUpdate: coreClient.CompositeMapper = {
|
|
|
367
542
|
className: "Sku"
|
|
368
543
|
}
|
|
369
544
|
},
|
|
545
|
+
identity: {
|
|
546
|
+
serializedName: "identity",
|
|
547
|
+
type: {
|
|
548
|
+
name: "Composite",
|
|
549
|
+
className: "ManagedServiceIdentity"
|
|
550
|
+
}
|
|
551
|
+
},
|
|
370
552
|
tags: {
|
|
371
553
|
serializedName: "tags",
|
|
372
554
|
type: {
|
|
@@ -380,6 +562,13 @@ export const ClusterUpdate: coreClient.CompositeMapper = {
|
|
|
380
562
|
name: "String"
|
|
381
563
|
}
|
|
382
564
|
},
|
|
565
|
+
encryption: {
|
|
566
|
+
serializedName: "properties.encryption",
|
|
567
|
+
type: {
|
|
568
|
+
name: "Composite",
|
|
569
|
+
className: "ClusterPropertiesEncryption"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
383
572
|
hostName: {
|
|
384
573
|
serializedName: "properties.hostName",
|
|
385
574
|
readOnly: true,
|
|
@@ -805,6 +994,139 @@ export const ForceUnlinkParameters: coreClient.CompositeMapper = {
|
|
|
805
994
|
}
|
|
806
995
|
};
|
|
807
996
|
|
|
997
|
+
export const FlushParameters: coreClient.CompositeMapper = {
|
|
998
|
+
type: {
|
|
999
|
+
name: "Composite",
|
|
1000
|
+
className: "FlushParameters",
|
|
1001
|
+
modelProperties: {
|
|
1002
|
+
ids: {
|
|
1003
|
+
serializedName: "ids",
|
|
1004
|
+
type: {
|
|
1005
|
+
name: "Sequence",
|
|
1006
|
+
element: {
|
|
1007
|
+
type: {
|
|
1008
|
+
name: "String"
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
};
|
|
1016
|
+
|
|
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
|
+
|
|
808
1130
|
export const PrivateEndpointConnection: coreClient.CompositeMapper = {
|
|
809
1131
|
type: {
|
|
810
1132
|
name: "Composite",
|
|
@@ -934,12 +1256,26 @@ export const Cluster: coreClient.CompositeMapper = {
|
|
|
934
1256
|
}
|
|
935
1257
|
}
|
|
936
1258
|
},
|
|
1259
|
+
identity: {
|
|
1260
|
+
serializedName: "identity",
|
|
1261
|
+
type: {
|
|
1262
|
+
name: "Composite",
|
|
1263
|
+
className: "ManagedServiceIdentity"
|
|
1264
|
+
}
|
|
1265
|
+
},
|
|
937
1266
|
minimumTlsVersion: {
|
|
938
1267
|
serializedName: "properties.minimumTlsVersion",
|
|
939
1268
|
type: {
|
|
940
1269
|
name: "String"
|
|
941
1270
|
}
|
|
942
1271
|
},
|
|
1272
|
+
encryption: {
|
|
1273
|
+
serializedName: "properties.encryption",
|
|
1274
|
+
type: {
|
|
1275
|
+
name: "Composite",
|
|
1276
|
+
className: "ClusterPropertiesEncryption"
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
943
1279
|
hostName: {
|
|
944
1280
|
serializedName: "properties.hostName",
|
|
945
1281
|
readOnly: true,
|
|
@@ -1058,3 +1394,24 @@ export const Database: coreClient.CompositeMapper = {
|
|
|
1058
1394
|
}
|
|
1059
1395
|
}
|
|
1060
1396
|
};
|
|
1397
|
+
|
|
1398
|
+
export const DatabasesFlushHeaders: coreClient.CompositeMapper = {
|
|
1399
|
+
type: {
|
|
1400
|
+
name: "Composite",
|
|
1401
|
+
className: "DatabasesFlushHeaders",
|
|
1402
|
+
modelProperties: {
|
|
1403
|
+
location: {
|
|
1404
|
+
serializedName: "location",
|
|
1405
|
+
type: {
|
|
1406
|
+
name: "String"
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
azureAsyncOperation: {
|
|
1410
|
+
serializedName: "azure-asyncoperation",
|
|
1411
|
+
type: {
|
|
1412
|
+
name: "String"
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
};
|