@azure/arm-confidentialledger 1.2.1-alpha.20230303.1 → 1.3.0-alpha.20230410.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/CHANGELOG.md +33 -10
  2. package/README.md +1 -1
  3. package/dist/index.js +839 -90
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/checkNameAvailabilitySample.js +1 -1
  8. package/dist-esm/samples-dev/ledgerCreateSample.js +1 -1
  9. package/dist-esm/samples-dev/ledgerDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/ledgerGetSample.js +1 -1
  11. package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js +1 -1
  12. package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js +1 -1
  13. package/dist-esm/samples-dev/ledgerUpdateSample.js +1 -1
  14. package/dist-esm/samples-dev/managedCcfCreateSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/managedCcfCreateSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/managedCcfCreateSample.js +58 -0
  17. package/dist-esm/samples-dev/managedCcfCreateSample.js.map +1 -0
  18. package/dist-esm/samples-dev/managedCcfDeleteSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/managedCcfDeleteSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/managedCcfDeleteSample.js +40 -0
  21. package/dist-esm/samples-dev/managedCcfDeleteSample.js.map +1 -0
  22. package/dist-esm/samples-dev/managedCcfGetSample.d.ts +2 -0
  23. package/dist-esm/samples-dev/managedCcfGetSample.d.ts.map +1 -0
  24. package/dist-esm/samples-dev/managedCcfGetSample.js +40 -0
  25. package/dist-esm/samples-dev/managedCcfGetSample.js.map +1 -0
  26. package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.d.ts +2 -0
  27. package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.d.ts.map +1 -0
  28. package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js +53 -0
  29. package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js.map +1 -0
  30. package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.d.ts +2 -0
  31. package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.d.ts.map +1 -0
  32. package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js +51 -0
  33. package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js.map +1 -0
  34. package/dist-esm/samples-dev/managedCcfUpdateSample.d.ts +2 -0
  35. package/dist-esm/samples-dev/managedCcfUpdateSample.d.ts.map +1 -0
  36. package/dist-esm/samples-dev/managedCcfUpdateSample.js +50 -0
  37. package/dist-esm/samples-dev/managedCcfUpdateSample.js.map +1 -0
  38. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  39. package/dist-esm/src/confidentialLedgerClient.d.ts +3 -3
  40. package/dist-esm/src/confidentialLedgerClient.d.ts.map +1 -1
  41. package/dist-esm/src/confidentialLedgerClient.js +5 -5
  42. package/dist-esm/src/confidentialLedgerClient.js.map +1 -1
  43. package/dist-esm/src/lroImpl.d.ts +6 -11
  44. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  45. package/dist-esm/src/lroImpl.js +12 -20
  46. package/dist-esm/src/lroImpl.js.map +1 -1
  47. package/dist-esm/src/models/index.d.ts +176 -13
  48. package/dist-esm/src/models/index.d.ts.map +1 -1
  49. package/dist-esm/src/models/index.js +22 -0
  50. package/dist-esm/src/models/index.js.map +1 -1
  51. package/dist-esm/src/models/mappers.d.ts +7 -1
  52. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  53. package/dist-esm/src/models/mappers.js +188 -16
  54. package/dist-esm/src/models/mappers.js.map +1 -1
  55. package/dist-esm/src/models/parameters.d.ts +2 -0
  56. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  57. package/dist-esm/src/models/parameters.js +23 -3
  58. package/dist-esm/src/models/parameters.js.map +1 -1
  59. package/dist-esm/src/operations/index.d.ts +1 -0
  60. package/dist-esm/src/operations/index.d.ts.map +1 -1
  61. package/dist-esm/src/operations/index.js +1 -0
  62. package/dist-esm/src/operations/index.js.map +1 -1
  63. package/dist-esm/src/operations/ledger.d.ts +14 -14
  64. package/dist-esm/src/operations/ledger.d.ts.map +1 -1
  65. package/dist-esm/src/operations/ledger.js +37 -25
  66. package/dist-esm/src/operations/ledger.js.map +1 -1
  67. package/dist-esm/src/operations/managedCCFOperations.d.ts +107 -0
  68. package/dist-esm/src/operations/managedCCFOperations.d.ts.map +1 -0
  69. package/dist-esm/src/operations/managedCCFOperations.js +532 -0
  70. package/dist-esm/src/operations/managedCCFOperations.js.map +1 -0
  71. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  73. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  74. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  75. package/dist-esm/src/operationsInterfaces/ledger.d.ts +12 -12
  76. package/dist-esm/src/operationsInterfaces/ledger.d.ts.map +1 -1
  77. package/dist-esm/src/operationsInterfaces/managedCCFOperations.d.ts +71 -0
  78. package/dist-esm/src/operationsInterfaces/managedCCFOperations.d.ts.map +1 -0
  79. package/dist-esm/src/operationsInterfaces/managedCCFOperations.js +9 -0
  80. package/dist-esm/src/operationsInterfaces/managedCCFOperations.js.map +1 -0
  81. package/package.json +6 -6
  82. package/review/arm-confidentialledger.api.md +151 -11
  83. package/src/confidentialLedgerClient.ts +15 -6
  84. package/src/lroImpl.ts +31 -23
  85. package/src/models/index.ts +202 -14
  86. package/src/models/mappers.ts +202 -17
  87. package/src/models/parameters.ts +26 -3
  88. package/src/operations/index.ts +1 -0
  89. package/src/operations/ledger.ts +50 -40
  90. package/src/operations/managedCCFOperations.ts +696 -0
  91. package/src/operationsInterfaces/index.ts +1 -0
  92. package/src/operationsInterfaces/ledger.ts +12 -12
  93. package/src/operationsInterfaces/managedCCFOperations.ts +132 -0
  94. package/types/arm-confidentialledger.d.ts +284 -29
@@ -164,25 +164,25 @@ export interface CertBasedSecurityPrincipal {
164
164
  ledgerRoleName?: LedgerRoleName;
165
165
  }
166
166
 
167
- /** An Azure resource. */
167
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
168
168
  export interface Resource {
169
169
  /**
170
- * Name of the Resource.
170
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
171
171
  * NOTE: This property will not be serialized. It can only be populated by the server.
172
172
  */
173
- readonly name?: string;
173
+ readonly id?: string;
174
174
  /**
175
- * Fully qualified resource Id for the resource.
175
+ * The name of the resource
176
176
  * NOTE: This property will not be serialized. It can only be populated by the server.
177
177
  */
178
- readonly id?: string;
178
+ readonly name?: string;
179
179
  /**
180
- * The type of the resource.
180
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
181
181
  * NOTE: This property will not be serialized. It can only be populated by the server.
182
182
  */
183
183
  readonly type?: string;
184
184
  /**
185
- * Metadata pertaining to creation and last modification of the resource
185
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
186
186
  * NOTE: This property will not be serialized. It can only be populated by the server.
187
187
  */
188
188
  readonly systemData?: SystemData;
@@ -204,12 +204,6 @@ export interface SystemData {
204
204
  lastModifiedAt?: Date;
205
205
  }
206
206
 
207
- /** Location of the ARM Resource */
208
- export interface ResourceLocation {
209
- /** The Azure location where the Confidential Ledger is running. */
210
- location?: string;
211
- }
212
-
213
207
  /** Tags for Confidential Ledger Resource */
214
208
  export interface Tags {
215
209
  /** Additional tags for Confidential Ledger */
@@ -224,12 +218,90 @@ export interface ConfidentialLedgerList {
224
218
  nextLink?: string;
225
219
  }
226
220
 
221
+ /** Additional Managed CCF properties. */
222
+ export interface ManagedCCFProperties {
223
+ /**
224
+ * Unique name for the Managed CCF.
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
+ */
227
+ readonly appName?: string;
228
+ /**
229
+ * Endpoint for calling Managed CCF Service.
230
+ * NOTE: This property will not be serialized. It can only be populated by the server.
231
+ */
232
+ readonly appUri?: string;
233
+ /**
234
+ * Endpoint for accessing network identity.
235
+ * NOTE: This property will not be serialized. It can only be populated by the server.
236
+ */
237
+ readonly identityServiceUri?: string;
238
+ /** List of member identity certificates for Managed CCF */
239
+ memberIdentityCertificates?: MemberIdentityCertificate[];
240
+ /** Deployment Type of Managed CCF */
241
+ deploymentType?: DeploymentType;
242
+ /**
243
+ * Provisioning state of Ledger Resource
244
+ * NOTE: This property will not be serialized. It can only be populated by the server.
245
+ */
246
+ readonly provisioningState?: ProvisioningState;
247
+ /** Number of CCF nodes in the Managed CCF. */
248
+ nodeCount?: number;
249
+ }
250
+
251
+ /** Object representing MemberIdentityCertificate for Managed CCF. */
252
+ export interface MemberIdentityCertificate {
253
+ /** Member Identity Certificate */
254
+ certificate?: string;
255
+ /** Member Identity Certificate Encryption Key */
256
+ encryptionkey?: string;
257
+ /** Anything */
258
+ tags?: any;
259
+ }
260
+
261
+ /** Object representing DeploymentType for Managed CCF. */
262
+ export interface DeploymentType {
263
+ /** Unique name for the Managed CCF. */
264
+ languageRuntime?: LanguageRuntime;
265
+ /** Source Uri containing ManagedCCF code */
266
+ appSourceUri?: string;
267
+ }
268
+
269
+ /** Object that includes an array of Managed CCF and a possible link for next set. */
270
+ export interface ManagedCCFList {
271
+ /** List of Managed CCF */
272
+ value?: ManagedCCF[];
273
+ /** The URL the client should use to fetch the next page (per server side paging). */
274
+ nextLink?: string;
275
+ }
276
+
277
+ /** Tags for Managed CCF Certificates */
278
+ export interface CertificateTags {
279
+ /** Additional tags for Managed CCF Certificates */
280
+ tags?: { [propertyName: string]: string };
281
+ }
282
+
283
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
284
+ export interface TrackedResource extends Resource {
285
+ /** Resource tags. */
286
+ tags?: { [propertyName: string]: string };
287
+ /** The geo-location where the resource lives */
288
+ location: string;
289
+ }
290
+
227
291
  /** Confidential Ledger. Contains the properties of Confidential Ledger Resource. */
228
- export interface ConfidentialLedger extends Resource, ResourceLocation, Tags {
292
+ export interface ConfidentialLedger extends TrackedResource, Tags {
293
+ /** Object representing RunningState for Ledger. */
294
+ runningState?: RunningState;
229
295
  /** Properties of Confidential Ledger Resource. */
230
296
  properties?: LedgerProperties;
231
297
  }
232
298
 
299
+ /** Managed CCF. Contains the properties of Managed CCF Resource. */
300
+ export interface ManagedCCF extends TrackedResource {
301
+ /** Properties of Managed CCF Resource. */
302
+ properties?: ManagedCCFProperties;
303
+ }
304
+
233
305
  /** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
234
306
  export enum KnownCheckNameAvailabilityReason {
235
307
  /** Invalid */
@@ -248,6 +320,33 @@ export enum KnownCheckNameAvailabilityReason {
248
320
  */
249
321
  export type CheckNameAvailabilityReason = string;
250
322
 
323
+ /** Known values of {@link RunningState} that the service accepts. */
324
+ export enum KnownRunningState {
325
+ /** Active */
326
+ Active = "Active",
327
+ /** Paused */
328
+ Paused = "Paused",
329
+ /** Unknown */
330
+ Unknown = "Unknown",
331
+ /** Pausing */
332
+ Pausing = "Pausing",
333
+ /** Resuming */
334
+ Resuming = "Resuming"
335
+ }
336
+
337
+ /**
338
+ * Defines values for RunningState. \
339
+ * {@link KnownRunningState} can be used interchangeably with RunningState,
340
+ * this enum contains the known values that the service supports.
341
+ * ### Known values supported by the service
342
+ * **Active** \
343
+ * **Paused** \
344
+ * **Unknown** \
345
+ * **Pausing** \
346
+ * **Resuming**
347
+ */
348
+ export type RunningState = string;
349
+
251
350
  /** Known values of {@link LedgerType} that the service accepts. */
252
351
  export enum KnownLedgerType {
253
352
  /** Unknown */
@@ -347,6 +446,24 @@ export enum KnownCreatedByType {
347
446
  */
348
447
  export type CreatedByType = string;
349
448
 
449
+ /** Known values of {@link LanguageRuntime} that the service accepts. */
450
+ export enum KnownLanguageRuntime {
451
+ /** CPP */
452
+ CPP = "CPP",
453
+ /** JS */
454
+ JS = "JS"
455
+ }
456
+
457
+ /**
458
+ * Defines values for LanguageRuntime. \
459
+ * {@link KnownLanguageRuntime} can be used interchangeably with LanguageRuntime,
460
+ * this enum contains the known values that the service supports.
461
+ * ### Known values supported by the service
462
+ * **CPP** \
463
+ * **JS**
464
+ */
465
+ export type LanguageRuntime = string;
466
+
350
467
  /** Optional parameters. */
351
468
  export interface OperationsListOptionalParams
352
469
  extends coreClient.OperationOptions {}
@@ -441,6 +558,77 @@ export interface LedgerListBySubscriptionNextOptionalParams
441
558
  /** Contains response data for the listBySubscriptionNext operation. */
442
559
  export type LedgerListBySubscriptionNextResponse = ConfidentialLedgerList;
443
560
 
561
+ /** Optional parameters. */
562
+ export interface ManagedCCFGetOptionalParams
563
+ extends coreClient.OperationOptions {}
564
+
565
+ /** Contains response data for the get operation. */
566
+ export type ManagedCCFGetResponse = ManagedCCF;
567
+
568
+ /** Optional parameters. */
569
+ export interface ManagedCCFDeleteOptionalParams
570
+ extends coreClient.OperationOptions {
571
+ /** Delay to wait until next poll, in milliseconds. */
572
+ updateIntervalInMs?: number;
573
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
574
+ resumeFrom?: string;
575
+ }
576
+
577
+ /** Optional parameters. */
578
+ export interface ManagedCCFCreateOptionalParams
579
+ extends coreClient.OperationOptions {
580
+ /** Delay to wait until next poll, in milliseconds. */
581
+ updateIntervalInMs?: number;
582
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
583
+ resumeFrom?: string;
584
+ }
585
+
586
+ /** Contains response data for the create operation. */
587
+ export type ManagedCCFCreateResponse = ManagedCCF;
588
+
589
+ /** Optional parameters. */
590
+ export interface ManagedCCFUpdateOptionalParams
591
+ extends coreClient.OperationOptions {
592
+ /** Delay to wait until next poll, in milliseconds. */
593
+ updateIntervalInMs?: number;
594
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
595
+ resumeFrom?: string;
596
+ }
597
+
598
+ /** Optional parameters. */
599
+ export interface ManagedCCFListByResourceGroupOptionalParams
600
+ extends coreClient.OperationOptions {
601
+ /** The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public' */
602
+ filter?: string;
603
+ }
604
+
605
+ /** Contains response data for the listByResourceGroup operation. */
606
+ export type ManagedCCFListByResourceGroupResponse = ManagedCCFList;
607
+
608
+ /** Optional parameters. */
609
+ export interface ManagedCCFListBySubscriptionOptionalParams
610
+ extends coreClient.OperationOptions {
611
+ /** The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public' */
612
+ filter?: string;
613
+ }
614
+
615
+ /** Contains response data for the listBySubscription operation. */
616
+ export type ManagedCCFListBySubscriptionResponse = ManagedCCFList;
617
+
618
+ /** Optional parameters. */
619
+ export interface ManagedCCFListByResourceGroupNextOptionalParams
620
+ extends coreClient.OperationOptions {}
621
+
622
+ /** Contains response data for the listByResourceGroupNext operation. */
623
+ export type ManagedCCFListByResourceGroupNextResponse = ManagedCCFList;
624
+
625
+ /** Optional parameters. */
626
+ export interface ManagedCCFListBySubscriptionNextOptionalParams
627
+ extends coreClient.OperationOptions {}
628
+
629
+ /** Contains response data for the listBySubscriptionNext operation. */
630
+ export type ManagedCCFListBySubscriptionNextResponse = ManagedCCFList;
631
+
444
632
  /** Optional parameters. */
445
633
  export interface ConfidentialLedgerClientOptionalParams
446
634
  extends coreClient.ServiceClientOptions {
@@ -369,15 +369,15 @@ export const Resource: coreClient.CompositeMapper = {
369
369
  name: "Composite",
370
370
  className: "Resource",
371
371
  modelProperties: {
372
- name: {
373
- serializedName: "name",
372
+ id: {
373
+ serializedName: "id",
374
374
  readOnly: true,
375
375
  type: {
376
376
  name: "String"
377
377
  }
378
378
  },
379
- id: {
380
- serializedName: "id",
379
+ name: {
380
+ serializedName: "name",
381
381
  readOnly: true,
382
382
  type: {
383
383
  name: "String"
@@ -446,13 +446,41 @@ export const SystemData: coreClient.CompositeMapper = {
446
446
  }
447
447
  };
448
448
 
449
- export const ResourceLocation: coreClient.CompositeMapper = {
449
+ export const Tags: coreClient.CompositeMapper = {
450
450
  type: {
451
451
  name: "Composite",
452
- className: "ResourceLocation",
452
+ className: "Tags",
453
453
  modelProperties: {
454
- location: {
455
- serializedName: "location",
454
+ tags: {
455
+ serializedName: "tags",
456
+ type: {
457
+ name: "Dictionary",
458
+ value: { type: { name: "String" } }
459
+ }
460
+ }
461
+ }
462
+ }
463
+ };
464
+
465
+ export const ConfidentialLedgerList: coreClient.CompositeMapper = {
466
+ type: {
467
+ name: "Composite",
468
+ className: "ConfidentialLedgerList",
469
+ modelProperties: {
470
+ value: {
471
+ serializedName: "value",
472
+ type: {
473
+ name: "Sequence",
474
+ element: {
475
+ type: {
476
+ name: "Composite",
477
+ className: "ConfidentialLedger"
478
+ }
479
+ }
480
+ }
481
+ },
482
+ nextLink: {
483
+ serializedName: "nextLink",
456
484
  type: {
457
485
  name: "String"
458
486
  }
@@ -461,26 +489,121 @@ export const ResourceLocation: coreClient.CompositeMapper = {
461
489
  }
462
490
  };
463
491
 
464
- export const Tags: coreClient.CompositeMapper = {
492
+ export const ManagedCCFProperties: coreClient.CompositeMapper = {
465
493
  type: {
466
494
  name: "Composite",
467
- className: "Tags",
495
+ className: "ManagedCCFProperties",
496
+ modelProperties: {
497
+ appName: {
498
+ serializedName: "appName",
499
+ readOnly: true,
500
+ type: {
501
+ name: "String"
502
+ }
503
+ },
504
+ appUri: {
505
+ serializedName: "appUri",
506
+ readOnly: true,
507
+ type: {
508
+ name: "String"
509
+ }
510
+ },
511
+ identityServiceUri: {
512
+ serializedName: "identityServiceUri",
513
+ readOnly: true,
514
+ type: {
515
+ name: "String"
516
+ }
517
+ },
518
+ memberIdentityCertificates: {
519
+ serializedName: "memberIdentityCertificates",
520
+ type: {
521
+ name: "Sequence",
522
+ element: {
523
+ type: {
524
+ name: "Composite",
525
+ className: "MemberIdentityCertificate"
526
+ }
527
+ }
528
+ }
529
+ },
530
+ deploymentType: {
531
+ serializedName: "deploymentType",
532
+ type: {
533
+ name: "Composite",
534
+ className: "DeploymentType"
535
+ }
536
+ },
537
+ provisioningState: {
538
+ serializedName: "provisioningState",
539
+ readOnly: true,
540
+ type: {
541
+ name: "String"
542
+ }
543
+ },
544
+ nodeCount: {
545
+ defaultValue: 3,
546
+ serializedName: "nodeCount",
547
+ type: {
548
+ name: "Number"
549
+ }
550
+ }
551
+ }
552
+ }
553
+ };
554
+
555
+ export const MemberIdentityCertificate: coreClient.CompositeMapper = {
556
+ type: {
557
+ name: "Composite",
558
+ className: "MemberIdentityCertificate",
468
559
  modelProperties: {
560
+ certificate: {
561
+ serializedName: "certificate",
562
+ type: {
563
+ name: "String"
564
+ }
565
+ },
566
+ encryptionkey: {
567
+ serializedName: "encryptionkey",
568
+ type: {
569
+ name: "String"
570
+ }
571
+ },
469
572
  tags: {
470
573
  serializedName: "tags",
471
574
  type: {
472
- name: "Dictionary",
473
- value: { type: { name: "String" } }
575
+ name: "any"
474
576
  }
475
577
  }
476
578
  }
477
579
  }
478
580
  };
479
581
 
480
- export const ConfidentialLedgerList: coreClient.CompositeMapper = {
582
+ export const DeploymentType: coreClient.CompositeMapper = {
481
583
  type: {
482
584
  name: "Composite",
483
- className: "ConfidentialLedgerList",
585
+ className: "DeploymentType",
586
+ modelProperties: {
587
+ languageRuntime: {
588
+ serializedName: "languageRuntime",
589
+ type: {
590
+ name: "String"
591
+ }
592
+ },
593
+ appSourceUri: {
594
+ serializedName: "appSourceUri",
595
+ type: {
596
+ name: "String"
597
+ }
598
+ }
599
+ }
600
+ }
601
+ };
602
+
603
+ export const ManagedCCFList: coreClient.CompositeMapper = {
604
+ type: {
605
+ name: "Composite",
606
+ className: "ManagedCCFList",
484
607
  modelProperties: {
485
608
  value: {
486
609
  serializedName: "value",
@@ -489,7 +612,7 @@ export const ConfidentialLedgerList: coreClient.CompositeMapper = {
489
612
  element: {
490
613
  type: {
491
614
  name: "Composite",
492
- className: "ConfidentialLedger"
615
+ className: "ManagedCCF"
493
616
  }
494
617
  }
495
618
  }
@@ -504,14 +627,59 @@ export const ConfidentialLedgerList: coreClient.CompositeMapper = {
504
627
  }
505
628
  };
506
629
 
630
+ export const CertificateTags: coreClient.CompositeMapper = {
631
+ type: {
632
+ name: "Composite",
633
+ className: "CertificateTags",
634
+ modelProperties: {
635
+ tags: {
636
+ serializedName: "tags",
637
+ type: {
638
+ name: "Dictionary",
639
+ value: { type: { name: "String" } }
640
+ }
641
+ }
642
+ }
643
+ }
644
+ };
645
+
646
+ export const TrackedResource: coreClient.CompositeMapper = {
647
+ type: {
648
+ name: "Composite",
649
+ className: "TrackedResource",
650
+ modelProperties: {
651
+ ...Resource.type.modelProperties,
652
+ tags: {
653
+ serializedName: "tags",
654
+ type: {
655
+ name: "Dictionary",
656
+ value: { type: { name: "String" } }
657
+ }
658
+ },
659
+ location: {
660
+ serializedName: "location",
661
+ required: true,
662
+ type: {
663
+ name: "String"
664
+ }
665
+ }
666
+ }
667
+ }
668
+ };
669
+
507
670
  export const ConfidentialLedger: coreClient.CompositeMapper = {
508
671
  type: {
509
672
  name: "Composite",
510
673
  className: "ConfidentialLedger",
511
674
  modelProperties: {
512
- ...Resource.type.modelProperties,
513
- ...ResourceLocation.type.modelProperties,
675
+ ...TrackedResource.type.modelProperties,
514
676
  ...Tags.type.modelProperties,
677
+ runningState: {
678
+ serializedName: "runningState",
679
+ type: {
680
+ name: "String"
681
+ }
682
+ },
515
683
  properties: {
516
684
  serializedName: "properties",
517
685
  type: {
@@ -522,3 +690,20 @@ export const ConfidentialLedger: coreClient.CompositeMapper = {
522
690
  }
523
691
  }
524
692
  };
693
+
694
+ export const ManagedCCF: coreClient.CompositeMapper = {
695
+ type: {
696
+ name: "Composite",
697
+ className: "ManagedCCF",
698
+ modelProperties: {
699
+ ...TrackedResource.type.modelProperties,
700
+ properties: {
701
+ serializedName: "properties",
702
+ type: {
703
+ name: "Composite",
704
+ className: "ManagedCCFProperties"
705
+ }
706
+ }
707
+ }
708
+ }
709
+ };
@@ -13,7 +13,8 @@ import {
13
13
  } from "@azure/core-client";
14
14
  import {
15
15
  CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper,
16
- ConfidentialLedger as ConfidentialLedgerMapper
16
+ ConfidentialLedger as ConfidentialLedgerMapper,
17
+ ManagedCCF as ManagedCCFMapper
17
18
  } from "../models/mappers";
18
19
 
19
20
  export const accept: OperationParameter = {
@@ -43,7 +44,7 @@ export const $host: OperationURLParameter = {
43
44
  export const apiVersion: OperationQueryParameter = {
44
45
  parameterPath: "apiVersion",
45
46
  mapper: {
46
- defaultValue: "2022-05-13",
47
+ defaultValue: "2023-01-26-preview",
47
48
  isConstant: true,
48
49
  serializedName: "api-version",
49
50
  type: {
@@ -84,6 +85,9 @@ export const nameAvailabilityRequest: OperationParameter = {
84
85
  export const subscriptionId: OperationURLParameter = {
85
86
  parameterPath: "subscriptionId",
86
87
  mapper: {
88
+ constraints: {
89
+ MinLength: 1
90
+ },
87
91
  serializedName: "subscriptionId",
88
92
  required: true,
89
93
  type: {
@@ -97,7 +101,7 @@ export const resourceGroupName: OperationURLParameter = {
97
101
  mapper: {
98
102
  constraints: {
99
103
  MaxLength: 90,
100
- MinLength: 3
104
+ MinLength: 1
101
105
  },
102
106
  serializedName: "resourceGroupName",
103
107
  required: true,
@@ -135,3 +139,22 @@ export const filter: OperationQueryParameter = {
135
139
  }
136
140
  }
137
141
  };
142
+
143
+ export const appName: OperationURLParameter = {
144
+ parameterPath: "appName",
145
+ mapper: {
146
+ constraints: {
147
+ Pattern: new RegExp("^[a-zA-Z0-9]")
148
+ },
149
+ serializedName: "appName",
150
+ required: true,
151
+ type: {
152
+ name: "String"
153
+ }
154
+ }
155
+ };
156
+
157
+ export const managedCCF: OperationParameter = {
158
+ parameterPath: "managedCCF",
159
+ mapper: ManagedCCFMapper
160
+ };
@@ -8,3 +8,4 @@
8
8
 
9
9
  export * from "./operations";
10
10
  export * from "./ledger";
11
+ export * from "./managedCCFOperations";