@azure/arm-domainservices 4.0.2-alpha.20221102.1 → 4.1.0-alpha.20221123.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/CHANGELOG.md +8 -11
  2. package/dist/index.js +206 -54
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/src/domainServicesResourceProvider.d.ts +2 -0
  7. package/dist-esm/src/domainServicesResourceProvider.d.ts.map +1 -1
  8. package/dist-esm/src/domainServicesResourceProvider.js +49 -18
  9. package/dist-esm/src/domainServicesResourceProvider.js.map +1 -1
  10. package/dist-esm/src/index.d.ts +1 -0
  11. package/dist-esm/src/index.d.ts.map +1 -1
  12. package/dist-esm/src/index.js +1 -0
  13. package/dist-esm/src/index.js.map +1 -1
  14. package/dist-esm/src/models/index.d.ts +38 -4
  15. package/dist-esm/src/models/index.d.ts.map +1 -1
  16. package/dist-esm/src/models/index.js +34 -0
  17. package/dist-esm/src/models/index.js.map +1 -1
  18. package/dist-esm/src/operations/domainServiceOperations.d.ts.map +1 -1
  19. package/dist-esm/src/operations/domainServiceOperations.js +19 -7
  20. package/dist-esm/src/operations/domainServiceOperations.js.map +1 -1
  21. package/dist-esm/src/operations/domainServices.d.ts.map +1 -1
  22. package/dist-esm/src/operations/domainServices.js +37 -14
  23. package/dist-esm/src/operations/domainServices.js.map +1 -1
  24. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts.map +1 -1
  25. package/dist-esm/src/operations/ouContainerOperationGrp.js +19 -7
  26. package/dist-esm/src/operations/ouContainerOperationGrp.js.map +1 -1
  27. package/dist-esm/src/operations/ouContainerOperations.d.ts.map +1 -1
  28. package/dist-esm/src/operations/ouContainerOperations.js +19 -7
  29. package/dist-esm/src/operations/ouContainerOperations.js.map +1 -1
  30. package/dist-esm/src/pagingHelper.d.ts +13 -0
  31. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  32. package/dist-esm/src/pagingHelper.js +32 -0
  33. package/dist-esm/src/pagingHelper.js.map +1 -0
  34. package/dist-esm/test/sampleTest.js +11 -13
  35. package/dist-esm/test/sampleTest.js.map +1 -1
  36. package/package.json +12 -8
  37. package/review/arm-domainservices.api.md +23 -54
  38. package/src/domainServicesResourceProvider.ts +60 -20
  39. package/src/index.ts +1 -0
  40. package/src/models/index.ts +38 -4
  41. package/src/operations/domainServiceOperations.ts +21 -8
  42. package/src/operations/domainServices.ts +45 -16
  43. package/src/operations/ouContainerOperationGrp.ts +22 -12
  44. package/src/operations/ouContainerOperations.ts +21 -8
  45. package/src/pagingHelper.ts +39 -0
  46. package/types/arm-domainservices.d.ts +49 -4
@@ -376,7 +376,7 @@ export interface ContainerAccount {
376
376
  }
377
377
 
378
378
  /** Domain service. */
379
- export type DomainService = Resource & {
379
+ export interface DomainService extends Resource {
380
380
  /**
381
381
  * Data Model Version
382
382
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -427,10 +427,10 @@ export type DomainService = Resource & {
427
427
  readonly provisioningState?: string;
428
428
  /** Configuration diagnostics data containing latest execution from client. */
429
429
  configDiagnostics?: ConfigDiagnostics;
430
- };
430
+ }
431
431
 
432
432
  /** Resource for OuContainer. */
433
- export type OuContainer = Resource & {
433
+ export interface OuContainer extends Resource {
434
434
  /**
435
435
  * Azure Active Directory tenant id
436
436
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -468,11 +468,13 @@ export type OuContainer = Resource & {
468
468
  * NOTE: This property will not be serialized. It can only be populated by the server.
469
469
  */
470
470
  readonly provisioningState?: string;
471
- };
471
+ }
472
472
 
473
473
  /** Known values of {@link Ldaps} that the service accepts. */
474
474
  export enum KnownLdaps {
475
+ /** Enabled */
475
476
  Enabled = "Enabled",
477
+ /** Disabled */
476
478
  Disabled = "Disabled"
477
479
  }
478
480
 
@@ -488,7 +490,9 @@ export type Ldaps = string;
488
490
 
489
491
  /** Known values of {@link ExternalAccess} that the service accepts. */
490
492
  export enum KnownExternalAccess {
493
+ /** Enabled */
491
494
  Enabled = "Enabled",
495
+ /** Disabled */
492
496
  Disabled = "Disabled"
493
497
  }
494
498
 
@@ -504,7 +508,9 @@ export type ExternalAccess = string;
504
508
 
505
509
  /** Known values of {@link NtlmV1} that the service accepts. */
506
510
  export enum KnownNtlmV1 {
511
+ /** Enabled */
507
512
  Enabled = "Enabled",
513
+ /** Disabled */
508
514
  Disabled = "Disabled"
509
515
  }
510
516
 
@@ -520,7 +526,9 @@ export type NtlmV1 = string;
520
526
 
521
527
  /** Known values of {@link TlsV1} that the service accepts. */
522
528
  export enum KnownTlsV1 {
529
+ /** Enabled */
523
530
  Enabled = "Enabled",
531
+ /** Disabled */
524
532
  Disabled = "Disabled"
525
533
  }
526
534
 
@@ -536,7 +544,9 @@ export type TlsV1 = string;
536
544
 
537
545
  /** Known values of {@link SyncNtlmPasswords} that the service accepts. */
538
546
  export enum KnownSyncNtlmPasswords {
547
+ /** Enabled */
539
548
  Enabled = "Enabled",
549
+ /** Disabled */
540
550
  Disabled = "Disabled"
541
551
  }
542
552
 
@@ -552,7 +562,9 @@ export type SyncNtlmPasswords = string;
552
562
 
553
563
  /** Known values of {@link SyncKerberosPasswords} that the service accepts. */
554
564
  export enum KnownSyncKerberosPasswords {
565
+ /** Enabled */
555
566
  Enabled = "Enabled",
567
+ /** Disabled */
556
568
  Disabled = "Disabled"
557
569
  }
558
570
 
@@ -568,7 +580,9 @@ export type SyncKerberosPasswords = string;
568
580
 
569
581
  /** Known values of {@link SyncOnPremPasswords} that the service accepts. */
570
582
  export enum KnownSyncOnPremPasswords {
583
+ /** Enabled */
571
584
  Enabled = "Enabled",
585
+ /** Disabled */
572
586
  Disabled = "Disabled"
573
587
  }
574
588
 
@@ -584,7 +598,9 @@ export type SyncOnPremPasswords = string;
584
598
 
585
599
  /** Known values of {@link KerberosRc4Encryption} that the service accepts. */
586
600
  export enum KnownKerberosRc4Encryption {
601
+ /** Enabled */
587
602
  Enabled = "Enabled",
603
+ /** Disabled */
588
604
  Disabled = "Disabled"
589
605
  }
590
606
 
@@ -600,7 +616,9 @@ export type KerberosRc4Encryption = string;
600
616
 
601
617
  /** Known values of {@link KerberosArmoring} that the service accepts. */
602
618
  export enum KnownKerberosArmoring {
619
+ /** Enabled */
603
620
  Enabled = "Enabled",
621
+ /** Disabled */
604
622
  Disabled = "Disabled"
605
623
  }
606
624
 
@@ -616,7 +634,9 @@ export type KerberosArmoring = string;
616
634
 
617
635
  /** Known values of {@link FilteredSync} that the service accepts. */
618
636
  export enum KnownFilteredSync {
637
+ /** Enabled */
619
638
  Enabled = "Enabled",
639
+ /** Disabled */
620
640
  Disabled = "Disabled"
621
641
  }
622
642
 
@@ -632,7 +652,9 @@ export type FilteredSync = string;
632
652
 
633
653
  /** Known values of {@link NotifyGlobalAdmins} that the service accepts. */
634
654
  export enum KnownNotifyGlobalAdmins {
655
+ /** Enabled */
635
656
  Enabled = "Enabled",
657
+ /** Disabled */
636
658
  Disabled = "Disabled"
637
659
  }
638
660
 
@@ -648,7 +670,9 @@ export type NotifyGlobalAdmins = string;
648
670
 
649
671
  /** Known values of {@link NotifyDcAdmins} that the service accepts. */
650
672
  export enum KnownNotifyDcAdmins {
673
+ /** Enabled */
651
674
  Enabled = "Enabled",
675
+ /** Disabled */
652
676
  Disabled = "Disabled"
653
677
  }
654
678
 
@@ -664,11 +688,17 @@ export type NotifyDcAdmins = string;
664
688
 
665
689
  /** Known values of {@link Status} that the service accepts. */
666
690
  export enum KnownStatus {
691
+ /** None */
667
692
  None = "None",
693
+ /** Running */
668
694
  Running = "Running",
695
+ /** OK */
669
696
  OK = "OK",
697
+ /** Failure */
670
698
  Failure = "Failure",
699
+ /** Warning */
671
700
  Warning = "Warning",
701
+ /** Skipped */
672
702
  Skipped = "Skipped"
673
703
  }
674
704
 
@@ -688,9 +718,13 @@ export type Status = string;
688
718
 
689
719
  /** Known values of {@link CreatedByType} that the service accepts. */
690
720
  export enum KnownCreatedByType {
721
+ /** User */
691
722
  User = "User",
723
+ /** Application */
692
724
  Application = "Application",
725
+ /** ManagedIdentity */
693
726
  ManagedIdentity = "ManagedIdentity",
727
+ /** Key */
694
728
  Key = "Key"
695
729
  }
696
730
 
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { DomainServiceOperations } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -48,22 +49,34 @@ export class DomainServiceOperationsImpl implements DomainServiceOperations {
48
49
  [Symbol.asyncIterator]() {
49
50
  return this;
50
51
  },
51
- byPage: () => {
52
- return this.listPagingPage(options);
52
+ byPage: (settings?: PageSettings) => {
53
+ if (settings?.maxPageSize) {
54
+ throw new Error("maxPageSize is not supported by this operation.");
55
+ }
56
+ return this.listPagingPage(options, settings);
53
57
  }
54
58
  };
55
59
  }
56
60
 
57
61
  private async *listPagingPage(
58
- options?: DomainServiceOperationsListOptionalParams
62
+ options?: DomainServiceOperationsListOptionalParams,
63
+ settings?: PageSettings
59
64
  ): AsyncIterableIterator<OperationEntity[]> {
60
- let result = await this._list(options);
61
- yield result.value || [];
62
- let continuationToken = result.nextLink;
65
+ let result: DomainServiceOperationsListResponse;
66
+ let continuationToken = settings?.continuationToken;
67
+ if (!continuationToken) {
68
+ result = await this._list(options);
69
+ let page = result.value || [];
70
+ continuationToken = result.nextLink;
71
+ setContinuationToken(page, continuationToken);
72
+ yield page;
73
+ }
63
74
  while (continuationToken) {
64
75
  result = await this._listNext(continuationToken, options);
65
76
  continuationToken = result.nextLink;
66
- yield result.value || [];
77
+ let page = result.value || [];
78
+ setContinuationToken(page, continuationToken);
79
+ yield page;
67
80
  }
68
81
  }
69
82
 
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { DomainServices } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -18,9 +19,9 @@ import {
18
19
  DomainService,
19
20
  DomainServicesListNextOptionalParams,
20
21
  DomainServicesListOptionalParams,
22
+ DomainServicesListResponse,
21
23
  DomainServicesListByResourceGroupNextOptionalParams,
22
24
  DomainServicesListByResourceGroupOptionalParams,
23
- DomainServicesListResponse,
24
25
  DomainServicesListByResourceGroupResponse,
25
26
  DomainServicesCreateOrUpdateOptionalParams,
26
27
  DomainServicesCreateOrUpdateResponse,
@@ -62,22 +63,34 @@ export class DomainServicesImpl implements DomainServices {
62
63
  [Symbol.asyncIterator]() {
63
64
  return this;
64
65
  },
65
- byPage: () => {
66
- return this.listPagingPage(options);
66
+ byPage: (settings?: PageSettings) => {
67
+ if (settings?.maxPageSize) {
68
+ throw new Error("maxPageSize is not supported by this operation.");
69
+ }
70
+ return this.listPagingPage(options, settings);
67
71
  }
68
72
  };
69
73
  }
70
74
 
71
75
  private async *listPagingPage(
72
- options?: DomainServicesListOptionalParams
76
+ options?: DomainServicesListOptionalParams,
77
+ settings?: PageSettings
73
78
  ): AsyncIterableIterator<DomainService[]> {
74
- let result = await this._list(options);
75
- yield result.value || [];
76
- let continuationToken = result.nextLink;
79
+ let result: DomainServicesListResponse;
80
+ let continuationToken = settings?.continuationToken;
81
+ if (!continuationToken) {
82
+ result = await this._list(options);
83
+ let page = result.value || [];
84
+ continuationToken = result.nextLink;
85
+ setContinuationToken(page, continuationToken);
86
+ yield page;
87
+ }
77
88
  while (continuationToken) {
78
89
  result = await this._listNext(continuationToken, options);
79
90
  continuationToken = result.nextLink;
80
- yield result.value || [];
91
+ let page = result.value || [];
92
+ setContinuationToken(page, continuationToken);
93
+ yield page;
81
94
  }
82
95
  }
83
96
 
@@ -108,19 +121,33 @@ export class DomainServicesImpl implements DomainServices {
108
121
  [Symbol.asyncIterator]() {
109
122
  return this;
110
123
  },
111
- byPage: () => {
112
- return this.listByResourceGroupPagingPage(resourceGroupName, options);
124
+ byPage: (settings?: PageSettings) => {
125
+ if (settings?.maxPageSize) {
126
+ throw new Error("maxPageSize is not supported by this operation.");
127
+ }
128
+ return this.listByResourceGroupPagingPage(
129
+ resourceGroupName,
130
+ options,
131
+ settings
132
+ );
113
133
  }
114
134
  };
115
135
  }
116
136
 
117
137
  private async *listByResourceGroupPagingPage(
118
138
  resourceGroupName: string,
119
- options?: DomainServicesListByResourceGroupOptionalParams
139
+ options?: DomainServicesListByResourceGroupOptionalParams,
140
+ settings?: PageSettings
120
141
  ): AsyncIterableIterator<DomainService[]> {
121
- let result = await this._listByResourceGroup(resourceGroupName, options);
122
- yield result.value || [];
123
- let continuationToken = result.nextLink;
142
+ let result: DomainServicesListByResourceGroupResponse;
143
+ let continuationToken = settings?.continuationToken;
144
+ if (!continuationToken) {
145
+ result = await this._listByResourceGroup(resourceGroupName, options);
146
+ let page = result.value || [];
147
+ continuationToken = result.nextLink;
148
+ setContinuationToken(page, continuationToken);
149
+ yield page;
150
+ }
124
151
  while (continuationToken) {
125
152
  result = await this._listByResourceGroupNext(
126
153
  resourceGroupName,
@@ -128,7 +155,9 @@ export class DomainServicesImpl implements DomainServices {
128
155
  options
129
156
  );
130
157
  continuationToken = result.nextLink;
131
- yield result.value || [];
158
+ let page = result.value || [];
159
+ setContinuationToken(page, continuationToken);
160
+ yield page;
132
161
  }
133
162
  }
134
163
 
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { OuContainerOperationGrp } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -67,11 +68,15 @@ export class OuContainerOperationGrpImpl implements OuContainerOperationGrp {
67
68
  [Symbol.asyncIterator]() {
68
69
  return this;
69
70
  },
70
- byPage: () => {
71
+ byPage: (settings?: PageSettings) => {
72
+ if (settings?.maxPageSize) {
73
+ throw new Error("maxPageSize is not supported by this operation.");
74
+ }
71
75
  return this.listPagingPage(
72
76
  resourceGroupName,
73
77
  domainServiceName,
74
- options
78
+ options,
79
+ settings
75
80
  );
76
81
  }
77
82
  };
@@ -80,15 +85,18 @@ export class OuContainerOperationGrpImpl implements OuContainerOperationGrp {
80
85
  private async *listPagingPage(
81
86
  resourceGroupName: string,
82
87
  domainServiceName: string,
83
- options?: OuContainerListOptionalParams
88
+ options?: OuContainerListOptionalParams,
89
+ settings?: PageSettings
84
90
  ): AsyncIterableIterator<OuContainer[]> {
85
- let result = await this._list(
86
- resourceGroupName,
87
- domainServiceName,
88
- options
89
- );
90
- yield result.value || [];
91
- let continuationToken = result.nextLink;
91
+ let result: OuContainerListResponse;
92
+ let continuationToken = settings?.continuationToken;
93
+ if (!continuationToken) {
94
+ result = await this._list(resourceGroupName, domainServiceName, options);
95
+ let page = result.value || [];
96
+ continuationToken = result.nextLink;
97
+ setContinuationToken(page, continuationToken);
98
+ yield page;
99
+ }
92
100
  while (continuationToken) {
93
101
  result = await this._listNext(
94
102
  resourceGroupName,
@@ -97,7 +105,9 @@ export class OuContainerOperationGrpImpl implements OuContainerOperationGrp {
97
105
  options
98
106
  );
99
107
  continuationToken = result.nextLink;
100
- yield result.value || [];
108
+ let page = result.value || [];
109
+ setContinuationToken(page, continuationToken);
110
+ yield page;
101
111
  }
102
112
  }
103
113
 
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { OuContainerOperations } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -48,22 +49,34 @@ export class OuContainerOperationsImpl implements OuContainerOperations {
48
49
  [Symbol.asyncIterator]() {
49
50
  return this;
50
51
  },
51
- byPage: () => {
52
- return this.listPagingPage(options);
52
+ byPage: (settings?: PageSettings) => {
53
+ if (settings?.maxPageSize) {
54
+ throw new Error("maxPageSize is not supported by this operation.");
55
+ }
56
+ return this.listPagingPage(options, settings);
53
57
  }
54
58
  };
55
59
  }
56
60
 
57
61
  private async *listPagingPage(
58
- options?: OuContainerOperationsListOptionalParams
62
+ options?: OuContainerOperationsListOptionalParams,
63
+ settings?: PageSettings
59
64
  ): AsyncIterableIterator<OperationEntity[]> {
60
- let result = await this._list(options);
61
- yield result.value || [];
62
- let continuationToken = result.nextLink;
65
+ let result: OuContainerOperationsListResponse;
66
+ let continuationToken = settings?.continuationToken;
67
+ if (!continuationToken) {
68
+ result = await this._list(options);
69
+ let page = result.value || [];
70
+ continuationToken = result.nextLink;
71
+ setContinuationToken(page, continuationToken);
72
+ yield page;
73
+ }
63
74
  while (continuationToken) {
64
75
  result = await this._listNext(continuationToken, options);
65
76
  continuationToken = result.nextLink;
66
- yield result.value || [];
77
+ let page = result.value || [];
78
+ setContinuationToken(page, continuationToken);
79
+ yield page;
67
80
  }
68
81
  }
69
82
 
@@ -0,0 +1,39 @@
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
+
9
+ export interface PageInfo {
10
+ continuationToken?: string;
11
+ }
12
+
13
+ const pageMap = new WeakMap<object, PageInfo>();
14
+
15
+ /**
16
+ * Given a result page from a pageable operation, returns a
17
+ * continuation token that can be used to begin paging from
18
+ * that point later.
19
+ * @param page A result object from calling .byPage() on a paged operation.
20
+ * @returns The continuation token that can be passed into byPage().
21
+ */
22
+ export function getContinuationToken(page: unknown): string | undefined {
23
+ if (typeof page !== "object" || page === null) {
24
+ return undefined;
25
+ }
26
+ return pageMap.get(page)?.continuationToken;
27
+ }
28
+
29
+ export function setContinuationToken(
30
+ page: unknown,
31
+ continuationToken: string | undefined
32
+ ): void {
33
+ if (typeof page !== "object" || page === null || !continuationToken) {
34
+ return;
35
+ }
36
+ const pageInfo = pageMap.get(page) ?? {};
37
+ pageInfo.continuationToken = continuationToken;
38
+ pageMap.set(page, pageInfo);
39
+ }
@@ -91,7 +91,7 @@ export declare interface DomainSecuritySettings {
91
91
  }
92
92
 
93
93
  /** Domain service. */
94
- export declare type DomainService = Resource & {
94
+ export declare interface DomainService extends Resource {
95
95
  /**
96
96
  * Data Model Version
97
97
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -142,7 +142,7 @@ export declare type DomainService = Resource & {
142
142
  readonly provisioningState?: string;
143
143
  /** Configuration diagnostics data containing latest execution from client. */
144
144
  configDiagnostics?: ConfigDiagnostics;
145
- };
145
+ }
146
146
 
147
147
  /** The response from the List Domain Services operation. */
148
148
  export declare interface DomainServiceListResult {
@@ -328,6 +328,8 @@ export declare class DomainServicesResourceProvider extends coreClient.ServiceCl
328
328
  * @param options The parameter options
329
329
  */
330
330
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DomainServicesResourceProviderOptionalParams);
331
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
332
+ private addCustomApiVersionPolicy;
331
333
  domainServiceOperations: DomainServiceOperations;
332
334
  domainServices: DomainServices;
333
335
  ouContainerOperations: OuContainerOperations;
@@ -389,6 +391,15 @@ export declare interface ForestTrust {
389
391
  trustPassword?: string;
390
392
  }
391
393
 
394
+ /**
395
+ * Given a result page from a pageable operation, returns a
396
+ * continuation token that can be used to begin paging from
397
+ * that point later.
398
+ * @param page A result object from calling .byPage() on a paged operation.
399
+ * @returns The continuation token that can be passed into byPage().
400
+ */
401
+ export declare function getContinuationToken(page: unknown): string | undefined;
402
+
392
403
  /** Health Alert Description */
393
404
  export declare interface HealthAlert {
394
405
  /**
@@ -469,91 +480,125 @@ export declare type KerberosRc4Encryption = string;
469
480
 
470
481
  /** Known values of {@link CreatedByType} that the service accepts. */
471
482
  export declare enum KnownCreatedByType {
483
+ /** User */
472
484
  User = "User",
485
+ /** Application */
473
486
  Application = "Application",
487
+ /** ManagedIdentity */
474
488
  ManagedIdentity = "ManagedIdentity",
489
+ /** Key */
475
490
  Key = "Key"
476
491
  }
477
492
 
478
493
  /** Known values of {@link ExternalAccess} that the service accepts. */
479
494
  export declare enum KnownExternalAccess {
495
+ /** Enabled */
480
496
  Enabled = "Enabled",
497
+ /** Disabled */
481
498
  Disabled = "Disabled"
482
499
  }
483
500
 
484
501
  /** Known values of {@link FilteredSync} that the service accepts. */
485
502
  export declare enum KnownFilteredSync {
503
+ /** Enabled */
486
504
  Enabled = "Enabled",
505
+ /** Disabled */
487
506
  Disabled = "Disabled"
488
507
  }
489
508
 
490
509
  /** Known values of {@link KerberosArmoring} that the service accepts. */
491
510
  export declare enum KnownKerberosArmoring {
511
+ /** Enabled */
492
512
  Enabled = "Enabled",
513
+ /** Disabled */
493
514
  Disabled = "Disabled"
494
515
  }
495
516
 
496
517
  /** Known values of {@link KerberosRc4Encryption} that the service accepts. */
497
518
  export declare enum KnownKerberosRc4Encryption {
519
+ /** Enabled */
498
520
  Enabled = "Enabled",
521
+ /** Disabled */
499
522
  Disabled = "Disabled"
500
523
  }
501
524
 
502
525
  /** Known values of {@link Ldaps} that the service accepts. */
503
526
  export declare enum KnownLdaps {
527
+ /** Enabled */
504
528
  Enabled = "Enabled",
529
+ /** Disabled */
505
530
  Disabled = "Disabled"
506
531
  }
507
532
 
508
533
  /** Known values of {@link NotifyDcAdmins} that the service accepts. */
509
534
  export declare enum KnownNotifyDcAdmins {
535
+ /** Enabled */
510
536
  Enabled = "Enabled",
537
+ /** Disabled */
511
538
  Disabled = "Disabled"
512
539
  }
513
540
 
514
541
  /** Known values of {@link NotifyGlobalAdmins} that the service accepts. */
515
542
  export declare enum KnownNotifyGlobalAdmins {
543
+ /** Enabled */
516
544
  Enabled = "Enabled",
545
+ /** Disabled */
517
546
  Disabled = "Disabled"
518
547
  }
519
548
 
520
549
  /** Known values of {@link NtlmV1} that the service accepts. */
521
550
  export declare enum KnownNtlmV1 {
551
+ /** Enabled */
522
552
  Enabled = "Enabled",
553
+ /** Disabled */
523
554
  Disabled = "Disabled"
524
555
  }
525
556
 
526
557
  /** Known values of {@link Status} that the service accepts. */
527
558
  export declare enum KnownStatus {
559
+ /** None */
528
560
  None = "None",
561
+ /** Running */
529
562
  Running = "Running",
563
+ /** OK */
530
564
  OK = "OK",
565
+ /** Failure */
531
566
  Failure = "Failure",
567
+ /** Warning */
532
568
  Warning = "Warning",
569
+ /** Skipped */
533
570
  Skipped = "Skipped"
534
571
  }
535
572
 
536
573
  /** Known values of {@link SyncKerberosPasswords} that the service accepts. */
537
574
  export declare enum KnownSyncKerberosPasswords {
575
+ /** Enabled */
538
576
  Enabled = "Enabled",
577
+ /** Disabled */
539
578
  Disabled = "Disabled"
540
579
  }
541
580
 
542
581
  /** Known values of {@link SyncNtlmPasswords} that the service accepts. */
543
582
  export declare enum KnownSyncNtlmPasswords {
583
+ /** Enabled */
544
584
  Enabled = "Enabled",
585
+ /** Disabled */
545
586
  Disabled = "Disabled"
546
587
  }
547
588
 
548
589
  /** Known values of {@link SyncOnPremPasswords} that the service accepts. */
549
590
  export declare enum KnownSyncOnPremPasswords {
591
+ /** Enabled */
550
592
  Enabled = "Enabled",
593
+ /** Disabled */
551
594
  Disabled = "Disabled"
552
595
  }
553
596
 
554
597
  /** Known values of {@link TlsV1} that the service accepts. */
555
598
  export declare enum KnownTlsV1 {
599
+ /** Enabled */
556
600
  Enabled = "Enabled",
601
+ /** Disabled */
557
602
  Disabled = "Disabled"
558
603
  }
559
604
 
@@ -695,7 +740,7 @@ export declare interface OperationEntityListResult {
695
740
  }
696
741
 
697
742
  /** Resource for OuContainer. */
698
- export declare type OuContainer = Resource & {
743
+ export declare interface OuContainer extends Resource {
699
744
  /**
700
745
  * Azure Active Directory tenant id
701
746
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -733,7 +778,7 @@ export declare type OuContainer = Resource & {
733
778
  * NOTE: This property will not be serialized. It can only be populated by the server.
734
779
  */
735
780
  readonly provisioningState?: string;
736
- };
781
+ }
737
782
 
738
783
  /** Optional parameters. */
739
784
  export declare interface OuContainerCreateOptionalParams extends coreClient.OperationOptions {