@azure/arm-maps 3.1.0-beta.1 → 3.1.0

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 (91) hide show
  1. package/CHANGELOG.md +42 -27
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +399 -113
  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/accountsCreateOrUpdateSample.js +63 -12
  9. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/accountsDeleteSample.js +12 -4
  11. package/dist-esm/samples-dev/accountsDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/accountsGetSample.js +12 -4
  13. package/dist-esm/samples-dev/accountsGetSample.js.map +1 -1
  14. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +24 -9
  15. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -1
  16. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +23 -8
  17. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js.map +1 -1
  18. package/dist-esm/samples-dev/accountsListKeysSample.js +12 -4
  19. package/dist-esm/samples-dev/accountsListKeysSample.js.map +1 -1
  20. package/dist-esm/samples-dev/accountsListSasSample.js +12 -4
  21. package/dist-esm/samples-dev/accountsListSasSample.js.map +1 -1
  22. package/dist-esm/samples-dev/accountsRegenerateKeysSample.js +12 -4
  23. package/dist-esm/samples-dev/accountsRegenerateKeysSample.js.map +1 -1
  24. package/dist-esm/samples-dev/accountsUpdateSample.js +63 -16
  25. package/dist-esm/samples-dev/accountsUpdateSample.js.map +1 -1
  26. package/dist-esm/samples-dev/creatorsCreateOrUpdateSample.js +12 -4
  27. package/dist-esm/samples-dev/creatorsCreateOrUpdateSample.js.map +1 -1
  28. package/dist-esm/samples-dev/creatorsDeleteSample.js +12 -4
  29. package/dist-esm/samples-dev/creatorsDeleteSample.js.map +1 -1
  30. package/dist-esm/samples-dev/creatorsGetSample.js +12 -4
  31. package/dist-esm/samples-dev/creatorsGetSample.js.map +1 -1
  32. package/dist-esm/samples-dev/creatorsListByAccountSample.js +24 -9
  33. package/dist-esm/samples-dev/creatorsListByAccountSample.js.map +1 -1
  34. package/dist-esm/samples-dev/creatorsUpdateSample.js +12 -4
  35. package/dist-esm/samples-dev/creatorsUpdateSample.js.map +1 -1
  36. package/dist-esm/samples-dev/mapsListOperationsSample.js +22 -9
  37. package/dist-esm/samples-dev/mapsListOperationsSample.js.map +1 -1
  38. package/dist-esm/samples-dev/mapsListSubscriptionOperationsSample.js +23 -8
  39. package/dist-esm/samples-dev/mapsListSubscriptionOperationsSample.js.map +1 -1
  40. package/dist-esm/src/azureMapsManagementClient.d.ts +4 -1
  41. package/dist-esm/src/azureMapsManagementClient.d.ts.map +1 -1
  42. package/dist-esm/src/azureMapsManagementClient.js +57 -28
  43. package/dist-esm/src/azureMapsManagementClient.js.map +1 -1
  44. package/dist-esm/src/index.d.ts +1 -0
  45. package/dist-esm/src/index.d.ts.map +1 -1
  46. package/dist-esm/src/index.js +1 -0
  47. package/dist-esm/src/index.js.map +1 -1
  48. package/dist-esm/src/models/index.d.ts +161 -56
  49. package/dist-esm/src/models/index.d.ts.map +1 -1
  50. package/dist-esm/src/models/index.js +45 -0
  51. package/dist-esm/src/models/index.js.map +1 -1
  52. package/dist-esm/src/models/mappers.d.ts +4 -1
  53. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  54. package/dist-esm/src/models/mappers.js +109 -17
  55. package/dist-esm/src/models/mappers.js.map +1 -1
  56. package/dist-esm/src/models/parameters.js +1 -1
  57. package/dist-esm/src/models/parameters.js.map +1 -1
  58. package/dist-esm/src/operations/accounts.d.ts.map +1 -1
  59. package/dist-esm/src/operations/accounts.js +61 -26
  60. package/dist-esm/src/operations/accounts.js.map +1 -1
  61. package/dist-esm/src/operations/creators.d.ts.map +1 -1
  62. package/dist-esm/src/operations/creators.js +31 -13
  63. package/dist-esm/src/operations/creators.js.map +1 -1
  64. package/dist-esm/src/operations/maps.d.ts.map +1 -1
  65. package/dist-esm/src/operations/maps.js +61 -26
  66. package/dist-esm/src/operations/maps.js.map +1 -1
  67. package/dist-esm/src/pagingHelper.d.ts +13 -0
  68. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  69. package/dist-esm/src/pagingHelper.js +32 -0
  70. package/dist-esm/src/pagingHelper.js.map +1 -0
  71. package/dist-esm/test/maps_operations_test.spec.d.ts +4 -0
  72. package/dist-esm/test/maps_operations_test.spec.d.ts.map +1 -0
  73. package/dist-esm/test/maps_operations_test.spec.js +140 -0
  74. package/dist-esm/test/maps_operations_test.spec.js.map +1 -0
  75. package/package.json +20 -15
  76. package/review/arm-maps.api.md +78 -35
  77. package/src/azureMapsManagementClient.ts +78 -24
  78. package/src/index.ts +1 -0
  79. package/src/models/index.ts +146 -38
  80. package/src/models/mappers.ts +112 -19
  81. package/src/models/parameters.ts +1 -1
  82. package/src/operations/accounts.ts +46 -19
  83. package/src/operations/creators.ts +26 -13
  84. package/src/operations/maps.ts +41 -18
  85. package/src/pagingHelper.ts +39 -0
  86. package/types/arm-maps.d.ts +169 -44
  87. package/types/tsdoc-metadata.json +1 -1
  88. package/dist-esm/test/sampleTest.d.ts +0 -2
  89. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  90. package/dist-esm/test/sampleTest.js +0 -40
  91. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -35,34 +35,33 @@ export interface SystemData {
35
35
  lastModifiedAt?: Date;
36
36
  }
37
37
 
38
- /** Identity for the resource. */
38
+ /** Managed service identity (system assigned and/or user assigned identities) */
39
39
  export interface ManagedServiceIdentity {
40
40
  /**
41
- * The principal ID of resource identity.
41
+ * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
42
42
  * NOTE: This property will not be serialized. It can only be populated by the server.
43
43
  */
44
44
  readonly principalId?: string;
45
45
  /**
46
- * The tenant ID of resource.
46
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
47
47
  * NOTE: This property will not be serialized. It can only be populated by the server.
48
48
  */
49
49
  readonly tenantId?: string;
50
- /** The identity type. */
51
- type?: ResourceIdentityType;
52
- /** The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */
53
- userAssignedIdentities?: {
54
- [propertyName: string]: Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties;
55
- };
50
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
51
+ type: ManagedServiceIdentityType;
52
+ /** 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. */
53
+ userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity };
56
54
  }
57
55
 
58
- export interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties {
56
+ /** User assigned identity properties */
57
+ export interface UserAssignedIdentity {
59
58
  /**
60
- * The principal id of user assigned identity.
59
+ * The principal ID of the assigned identity.
61
60
  * NOTE: This property will not be serialized. It can only be populated by the server.
62
61
  */
63
62
  readonly principalId?: string;
64
63
  /**
65
- * The client id of user assigned identity.
64
+ * The client ID of the assigned identity.
66
65
  * NOTE: This property will not be serialized. It can only be populated by the server.
67
66
  */
68
67
  readonly clientId?: string;
@@ -75,17 +74,19 @@ export interface MapsAccountProperties {
75
74
  * NOTE: This property will not be serialized. It can only be populated by the server.
76
75
  */
77
76
  readonly uniqueId?: string;
78
- /** Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage. */
77
+ /** Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys and Shared Access Signature Token authentication from any usage. */
79
78
  disableLocalAuth?: boolean;
80
79
  /**
81
- * The provisioning state of the Map account resource.
80
+ * The provisioning state of the Map account resource, Account updates can only be performed on terminal states. Terminal states: `Succeeded` and `Failed`
82
81
  * NOTE: This property will not be serialized. It can only be populated by the server.
83
82
  */
84
83
  readonly provisioningState?: string;
85
- /** Sets the resources to be used for Managed Identities based operations for the Map account resource. */
84
+ /** The array of associated resources to the Map account. Linked resource in the array cannot individually update, you must update all linked resources in the array together. These resources may be used on operations on the Azure Maps REST API. Access is controlled by the Map Account Managed Identity(s) permissions to those resource(s). */
86
85
  linkedResources?: LinkedResource[];
87
86
  /** Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. */
88
87
  cors?: CorsRules;
88
+ /** (Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled. */
89
+ encryption?: Encryption;
89
90
  }
90
91
 
91
92
  /** Linked resource is reference to a resource deployed in an Azure subscription, add the linked resource `uniqueName` value as an optional parameter for operations on Azure Maps Geospatial REST APIs. */
@@ -108,6 +109,32 @@ export interface CorsRule {
108
109
  allowedOrigins: string[];
109
110
  }
110
111
 
112
+ /** (Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled. */
113
+ export interface Encryption {
114
+ /** Values are enabled and disabled. */
115
+ infrastructureEncryption?: InfrastructureEncryption;
116
+ /** All Customer-managed key encryption properties for the resource. */
117
+ customerManagedKeyEncryption?: CustomerManagedKeyEncryption;
118
+ }
119
+
120
+ /** All Customer-managed key encryption properties for the resource. */
121
+ export interface CustomerManagedKeyEncryption {
122
+ /** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */
123
+ keyEncryptionKeyIdentity?: CustomerManagedKeyEncryptionKeyIdentity;
124
+ /** key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. */
125
+ keyEncryptionKeyUrl?: string;
126
+ }
127
+
128
+ /** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */
129
+ export interface CustomerManagedKeyEncryptionKeyIdentity {
130
+ /** Values can be systemAssignedIdentity or userAssignedIdentity */
131
+ identityType?: IdentityType;
132
+ /** user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. */
133
+ userAssignedIdentityResourceId?: string;
134
+ /** delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. */
135
+ delegatedIdentityClientId?: string;
136
+ }
137
+
111
138
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
112
139
  export interface Resource {
113
140
  /**
@@ -184,24 +211,26 @@ export interface MapsAccountUpdateParameters {
184
211
  kind?: Kind;
185
212
  /** The SKU of this account. */
186
213
  sku?: Sku;
187
- /** Sets the identity property for maps account. */
214
+ /** Managed service identity (system assigned and/or user assigned identities) */
188
215
  identity?: ManagedServiceIdentity;
189
216
  /**
190
217
  * A unique identifier for the maps account
191
218
  * NOTE: This property will not be serialized. It can only be populated by the server.
192
219
  */
193
220
  readonly uniqueId?: string;
194
- /** Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage. */
221
+ /** Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys and Shared Access Signature Token authentication from any usage. */
195
222
  disableLocalAuth?: boolean;
196
223
  /**
197
- * The provisioning state of the Map account resource.
224
+ * The provisioning state of the Map account resource, Account updates can only be performed on terminal states. Terminal states: `Succeeded` and `Failed`
198
225
  * NOTE: This property will not be serialized. It can only be populated by the server.
199
226
  */
200
227
  readonly provisioningState?: string;
201
- /** Sets the resources to be used for Managed Identities based operations for the Map account resource. */
228
+ /** The array of associated resources to the Map account. Linked resource in the array cannot individually update, you must update all linked resources in the array together. These resources may be used on operations on the Azure Maps REST API. Access is controlled by the Map Account Managed Identity(s) permissions to those resource(s). */
202
229
  linkedResources?: LinkedResource[];
203
230
  /** Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. */
204
231
  cors?: CorsRules;
232
+ /** (Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled. */
233
+ encryption?: Encryption;
205
234
  }
206
235
 
207
236
  /** A list of Maps Accounts. */
@@ -220,7 +249,7 @@ export interface MapsAccounts {
220
249
 
221
250
  /** Parameters used to create an account Shared Access Signature (SAS) token. The REST API access control is provided by Azure Maps Role Based Access (RBAC) identity and access. */
222
251
  export interface AccountSasParameters {
223
- /** The Map account key to use for signing. */
252
+ /** The Map account key to use for signing. Picking `primaryKey` or `secondaryKey` will use the Map account Shared Keys, and using `managedIdentity` will use the auto-renewed private key to sign the SAS. */
224
253
  signingKey: SigningKey;
225
254
  /** The principal Id also known as the object Id of a User Assigned Managed Identity currently assigned to the Map Account. To assign a Managed Identity of the account, use operation Create or Update an assign a User Assigned Identity resource Id. */
226
255
  principalId: string;
@@ -228,9 +257,9 @@ export interface AccountSasParameters {
228
257
  regions?: string[];
229
258
  /** Required parameter which represents the desired maximum request per second to allowed for the given SAS token. This does not guarantee perfect accuracy in measurements but provides application safe guards of abuse with eventual enforcement. */
230
259
  maxRatePerSecond: number;
231
- /** The date time offset of when the token validity begins. For example "2017-05-24T10:42:03.1567373Z". */
260
+ /** The date time offset of when the token validity begins. For example "2017-05-24T10:42:03.1567373Z". Maximum duration allowed is 24 hours between `start` and `expiry`. */
232
261
  start: string;
233
- /** The date time offset of when the token validity expires. For example "2017-05-24T10:42:03.1567373Z" */
262
+ /** The date time offset of when the token validity expires. For example "2017-05-24T10:42:03.1567373Z". Maximum duration allowed is 24 hours between `start` and `expiry`. */
234
263
  expiry: string;
235
264
  }
236
265
 
@@ -343,6 +372,12 @@ export interface MetricSpecification {
343
372
  sourceMdmAccount?: string;
344
373
  /** Internal metric name. */
345
374
  internalMetricName?: string;
375
+ /** Lock aggregation type for metrics. */
376
+ lockAggregationType?: string;
377
+ /** Metrics namespace. */
378
+ sourceMdmNamespace?: string;
379
+ /** Allowed aggregation types for metrics. */
380
+ supportedAggregationTypes?: string;
346
381
  }
347
382
 
348
383
  /** Dimension of map account, for example API Category, Api Name, Result Type, and Response Code. */
@@ -400,32 +435,32 @@ export interface CreatorUpdateParameters {
400
435
  }
401
436
 
402
437
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
403
- export type TrackedResource = Resource & {
438
+ export interface TrackedResource extends Resource {
404
439
  /** Resource tags. */
405
440
  tags?: { [propertyName: string]: string };
406
441
  /** The geo-location where the resource lives */
407
442
  location: string;
408
- };
443
+ }
409
444
 
410
445
  /** An Azure resource which represents access to a suite of Maps REST APIs. */
411
- export type MapsAccount = TrackedResource & {
446
+ export interface MapsAccount extends TrackedResource {
412
447
  /** The SKU of this account. */
413
448
  sku: Sku;
414
449
  /** Get or Set Kind property. */
415
450
  kind?: Kind;
416
451
  /**
417
- * The system meta data relating to this resource.
452
+ * Metadata pertaining to creation and last modification of the resource.
418
453
  * NOTE: This property will not be serialized. It can only be populated by the server.
419
454
  */
420
455
  readonly systemData?: SystemData;
421
- /** Sets the identity property for maps account. */
456
+ /** Managed service identity (system assigned and/or user assigned identities) */
422
457
  identity?: ManagedServiceIdentity;
423
458
  /** The map account properties. */
424
459
  properties?: MapsAccountProperties;
425
- };
460
+ }
426
461
 
427
462
  /** An Azure resource which represents Maps Creator product and provides ability to manage private location data. */
428
- export type Creator = TrackedResource & {
463
+ export interface Creator extends TrackedResource {
429
464
  /** The Creator resource properties. */
430
465
  properties: CreatorProperties;
431
466
  /**
@@ -433,12 +468,15 @@ export type Creator = TrackedResource & {
433
468
  * NOTE: This property will not be serialized. It can only be populated by the server.
434
469
  */
435
470
  readonly systemData?: SystemData;
436
- };
471
+ }
437
472
 
438
473
  /** Known values of {@link Name} that the service accepts. */
439
474
  export enum KnownName {
475
+ /** S0 */
440
476
  S0 = "S0",
477
+ /** S1 */
441
478
  S1 = "S1",
479
+ /** G2 */
442
480
  G2 = "G2"
443
481
  }
444
482
 
@@ -455,7 +493,9 @@ export type Name = string;
455
493
 
456
494
  /** Known values of {@link Kind} that the service accepts. */
457
495
  export enum KnownKind {
496
+ /** Gen1 */
458
497
  Gen1 = "Gen1",
498
+ /** Gen2 */
459
499
  Gen2 = "Gen2"
460
500
  }
461
501
 
@@ -471,9 +511,13 @@ export type Kind = string;
471
511
 
472
512
  /** Known values of {@link CreatedByType} that the service accepts. */
473
513
  export enum KnownCreatedByType {
514
+ /** User */
474
515
  User = "User",
516
+ /** Application */
475
517
  Application = "Application",
518
+ /** ManagedIdentity */
476
519
  ManagedIdentity = "ManagedIdentity",
520
+ /** Key */
477
521
  Key = "Key"
478
522
  }
479
523
 
@@ -489,10 +533,77 @@ export enum KnownCreatedByType {
489
533
  */
490
534
  export type CreatedByType = string;
491
535
 
536
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
537
+ export enum KnownManagedServiceIdentityType {
538
+ /** None */
539
+ None = "None",
540
+ /** SystemAssigned */
541
+ SystemAssigned = "SystemAssigned",
542
+ /** UserAssigned */
543
+ UserAssigned = "UserAssigned",
544
+ /** SystemAssignedUserAssigned */
545
+ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
546
+ }
547
+
548
+ /**
549
+ * Defines values for ManagedServiceIdentityType. \
550
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
551
+ * this enum contains the known values that the service supports.
552
+ * ### Known values supported by the service
553
+ * **None** \
554
+ * **SystemAssigned** \
555
+ * **UserAssigned** \
556
+ * **SystemAssigned, UserAssigned**
557
+ */
558
+ export type ManagedServiceIdentityType = string;
559
+
560
+ /** Known values of {@link InfrastructureEncryption} that the service accepts. */
561
+ export enum KnownInfrastructureEncryption {
562
+ /** Enabled */
563
+ Enabled = "enabled",
564
+ /** Disabled */
565
+ Disabled = "disabled"
566
+ }
567
+
568
+ /**
569
+ * Defines values for InfrastructureEncryption. \
570
+ * {@link KnownInfrastructureEncryption} can be used interchangeably with InfrastructureEncryption,
571
+ * this enum contains the known values that the service supports.
572
+ * ### Known values supported by the service
573
+ * **enabled** \
574
+ * **disabled**
575
+ */
576
+ export type InfrastructureEncryption = string;
577
+
578
+ /** Known values of {@link IdentityType} that the service accepts. */
579
+ export enum KnownIdentityType {
580
+ /** SystemAssignedIdentity */
581
+ SystemAssignedIdentity = "systemAssignedIdentity",
582
+ /** UserAssignedIdentity */
583
+ UserAssignedIdentity = "userAssignedIdentity",
584
+ /** DelegatedResourceIdentity */
585
+ DelegatedResourceIdentity = "delegatedResourceIdentity"
586
+ }
587
+
588
+ /**
589
+ * Defines values for IdentityType. \
590
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
591
+ * this enum contains the known values that the service supports.
592
+ * ### Known values supported by the service
593
+ * **systemAssignedIdentity** \
594
+ * **userAssignedIdentity** \
595
+ * **delegatedResourceIdentity**
596
+ */
597
+ export type IdentityType = string;
598
+
492
599
  /** Known values of {@link SigningKey} that the service accepts. */
493
600
  export enum KnownSigningKey {
601
+ /** PrimaryKey */
494
602
  PrimaryKey = "primaryKey",
495
- SecondaryKey = "secondaryKey"
603
+ /** SecondaryKey */
604
+ SecondaryKey = "secondaryKey",
605
+ /** ManagedIdentity */
606
+ ManagedIdentity = "managedIdentity"
496
607
  }
497
608
 
498
609
  /**
@@ -501,13 +612,16 @@ export enum KnownSigningKey {
501
612
  * this enum contains the known values that the service supports.
502
613
  * ### Known values supported by the service
503
614
  * **primaryKey** \
504
- * **secondaryKey**
615
+ * **secondaryKey** \
616
+ * **managedIdentity**
505
617
  */
506
618
  export type SigningKey = string;
507
619
 
508
620
  /** Known values of {@link KeyType} that the service accepts. */
509
621
  export enum KnownKeyType {
622
+ /** Primary */
510
623
  Primary = "primary",
624
+ /** Secondary */
511
625
  Secondary = "secondary"
512
626
  }
513
627
 
@@ -520,12 +634,6 @@ export enum KnownKeyType {
520
634
  * **secondary**
521
635
  */
522
636
  export type KeyType = string;
523
- /** Defines values for ResourceIdentityType. */
524
- export type ResourceIdentityType =
525
- | "SystemAssigned"
526
- | "UserAssigned"
527
- | "SystemAssigned, UserAssigned"
528
- | "None";
529
637
 
530
638
  /** Optional parameters. */
531
639
  export interface AccountsCreateOrUpdateOptionalParams
@@ -85,26 +85,21 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = {
85
85
  serializedName: "principalId",
86
86
  readOnly: true,
87
87
  type: {
88
- name: "String"
88
+ name: "Uuid"
89
89
  }
90
90
  },
91
91
  tenantId: {
92
92
  serializedName: "tenantId",
93
93
  readOnly: true,
94
94
  type: {
95
- name: "String"
95
+ name: "Uuid"
96
96
  }
97
97
  },
98
98
  type: {
99
99
  serializedName: "type",
100
+ required: true,
100
101
  type: {
101
- name: "Enum",
102
- allowedValues: [
103
- "SystemAssigned",
104
- "UserAssigned",
105
- "SystemAssigned, UserAssigned",
106
- "None"
107
- ]
102
+ name: "String"
108
103
  }
109
104
  },
110
105
  userAssignedIdentities: {
@@ -112,11 +107,7 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = {
112
107
  type: {
113
108
  name: "Dictionary",
114
109
  value: {
115
- type: {
116
- name: "Composite",
117
- className:
118
- "Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties"
119
- }
110
+ type: { name: "Composite", className: "UserAssignedIdentity" }
120
111
  }
121
112
  }
122
113
  }
@@ -124,24 +115,23 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = {
124
115
  }
125
116
  };
126
117
 
127
- export const Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties: coreClient.CompositeMapper = {
118
+ export const UserAssignedIdentity: coreClient.CompositeMapper = {
128
119
  type: {
129
120
  name: "Composite",
130
- className:
131
- "Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties",
121
+ className: "UserAssignedIdentity",
132
122
  modelProperties: {
133
123
  principalId: {
134
124
  serializedName: "principalId",
135
125
  readOnly: true,
136
126
  type: {
137
- name: "String"
127
+ name: "Uuid"
138
128
  }
139
129
  },
140
130
  clientId: {
141
131
  serializedName: "clientId",
142
132
  readOnly: true,
143
133
  type: {
144
- name: "String"
134
+ name: "Uuid"
145
135
  }
146
136
  }
147
137
  }
@@ -195,6 +185,13 @@ export const MapsAccountProperties: coreClient.CompositeMapper = {
195
185
  name: "Composite",
196
186
  className: "CorsRules"
197
187
  }
188
+ },
189
+ encryption: {
190
+ serializedName: "encryption",
191
+ type: {
192
+ name: "Composite",
193
+ className: "Encryption"
194
+ }
198
195
  }
199
196
  }
200
197
  }
@@ -268,6 +265,77 @@ export const CorsRule: coreClient.CompositeMapper = {
268
265
  }
269
266
  };
270
267
 
268
+ export const Encryption: coreClient.CompositeMapper = {
269
+ type: {
270
+ name: "Composite",
271
+ className: "Encryption",
272
+ modelProperties: {
273
+ infrastructureEncryption: {
274
+ serializedName: "infrastructureEncryption",
275
+ type: {
276
+ name: "String"
277
+ }
278
+ },
279
+ customerManagedKeyEncryption: {
280
+ serializedName: "customerManagedKeyEncryption",
281
+ type: {
282
+ name: "Composite",
283
+ className: "CustomerManagedKeyEncryption"
284
+ }
285
+ }
286
+ }
287
+ }
288
+ };
289
+
290
+ export const CustomerManagedKeyEncryption: coreClient.CompositeMapper = {
291
+ type: {
292
+ name: "Composite",
293
+ className: "CustomerManagedKeyEncryption",
294
+ modelProperties: {
295
+ keyEncryptionKeyIdentity: {
296
+ serializedName: "keyEncryptionKeyIdentity",
297
+ type: {
298
+ name: "Composite",
299
+ className: "CustomerManagedKeyEncryptionKeyIdentity"
300
+ }
301
+ },
302
+ keyEncryptionKeyUrl: {
303
+ serializedName: "keyEncryptionKeyUrl",
304
+ type: {
305
+ name: "String"
306
+ }
307
+ }
308
+ }
309
+ }
310
+ };
311
+
312
+ export const CustomerManagedKeyEncryptionKeyIdentity: coreClient.CompositeMapper = {
313
+ type: {
314
+ name: "Composite",
315
+ className: "CustomerManagedKeyEncryptionKeyIdentity",
316
+ modelProperties: {
317
+ identityType: {
318
+ serializedName: "identityType",
319
+ type: {
320
+ name: "String"
321
+ }
322
+ },
323
+ userAssignedIdentityResourceId: {
324
+ serializedName: "userAssignedIdentityResourceId",
325
+ type: {
326
+ name: "String"
327
+ }
328
+ },
329
+ delegatedIdentityClientId: {
330
+ serializedName: "delegatedIdentityClientId",
331
+ type: {
332
+ name: "Uuid"
333
+ }
334
+ }
335
+ }
336
+ }
337
+ };
338
+
271
339
  export const Resource: coreClient.CompositeMapper = {
272
340
  type: {
273
341
  name: "Composite",
@@ -469,6 +537,13 @@ export const MapsAccountUpdateParameters: coreClient.CompositeMapper = {
469
537
  name: "Composite",
470
538
  className: "CorsRules"
471
539
  }
540
+ },
541
+ encryption: {
542
+ serializedName: "properties.encryption",
543
+ type: {
544
+ name: "Composite",
545
+ className: "Encryption"
546
+ }
472
547
  }
473
548
  }
474
549
  }
@@ -830,6 +905,24 @@ export const MetricSpecification: coreClient.CompositeMapper = {
830
905
  type: {
831
906
  name: "String"
832
907
  }
908
+ },
909
+ lockAggregationType: {
910
+ serializedName: "lockAggregationType",
911
+ type: {
912
+ name: "String"
913
+ }
914
+ },
915
+ sourceMdmNamespace: {
916
+ serializedName: "sourceMdmNamespace",
917
+ type: {
918
+ name: "String"
919
+ }
920
+ },
921
+ supportedAggregationTypes: {
922
+ serializedName: "supportedAggregationTypes",
923
+ type: {
924
+ name: "String"
925
+ }
833
926
  }
834
927
  }
835
928
  }
@@ -64,7 +64,7 @@ export const $host: OperationURLParameter = {
64
64
  export const apiVersion: OperationQueryParameter = {
65
65
  parameterPath: "apiVersion",
66
66
  mapper: {
67
- defaultValue: "2021-12-01-preview",
67
+ defaultValue: "2023-06-01",
68
68
  isConstant: true,
69
69
  serializedName: "api-version",
70
70
  type: {