@azure-rest/defender-easm 1.0.0-beta.1 → 1.0.0-beta.3
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 +20 -0
- package/LICENSE +21 -0
- package/README.md +5 -9
- package/dist/browser/clientDefinitions.d.ts +141 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js +4 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/easmClient.d.ts +16 -0
- package/dist/browser/easmClient.d.ts.map +1 -0
- package/dist/browser/easmClient.js +45 -0
- package/dist/browser/easmClient.js.map +1 -0
- package/dist/browser/index.d.ts +11 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +28 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/isUnexpected.js +5 -6
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/logger.js +1 -1
- package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
- package/dist/browser/models.d.ts +144 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js +4 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/outputModels.d.ts +1046 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/outputModels.js +4 -0
- package/dist/browser/outputModels.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +68 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/paginateHelper.js +70 -3
- package/dist/browser/paginateHelper.js.map +1 -0
- package/dist/browser/parameters.d.ts +141 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js +4 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/responses.d.ts +365 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js +4 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +141 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/easmClient.d.ts +16 -0
- package/dist/commonjs/easmClient.d.ts.map +1 -0
- package/dist/commonjs/easmClient.js +48 -0
- package/dist/commonjs/easmClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +11 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +28 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +97 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +144 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +1046 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +68 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +140 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +141 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/responses.d.ts +365 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/clientDefinitions.d.ts +141 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/easmClient.d.ts +16 -0
- package/dist/esm/easmClient.d.ts.map +1 -0
- package/dist/esm/easmClient.js +45 -0
- package/dist/esm/easmClient.js.map +1 -0
- package/dist/esm/index.d.ts +11 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +28 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +94 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +144 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +1046 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +68 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +137 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +141 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/responses.d.ts +365 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +141 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/easmClient.d.ts +16 -0
- package/dist/react-native/easmClient.d.ts.map +1 -0
- package/dist/react-native/easmClient.js +45 -0
- package/dist/react-native/easmClient.js.map +1 -0
- package/dist/react-native/index.d.ts +11 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +28 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +94 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +144 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +1046 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +68 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +137 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +141 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/responses.d.ts +365 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +100 -97
- package/review/{defender-easm.api.md → defender-easm-node.api.md} +151 -61
- package/dist/index.js +0 -213
- package/dist/index.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js +0 -4
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/easm.js +0 -33
- package/dist-esm/src/easm.js.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/isUnexpected.js.map +0 -1
- package/dist-esm/src/models.js +0 -4
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/outputModels.js +0 -4
- package/dist-esm/src/outputModels.js.map +0 -1
- package/dist-esm/src/paginateHelper.js.map +0 -1
- package/dist-esm/src/parameters.js +0 -4
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/responses.js +0 -4
- package/dist-esm/src/responses.js.map +0 -1
- package/types/defender-easm.d.ts +0 -2105
|
@@ -4,17 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import { Client } from '@azure-rest/core-client';
|
|
8
|
-
import { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
-
import { ErrorResponse } from '@azure-rest/core-client';
|
|
10
|
-
import { HttpResponse } from '@azure-rest/core-client';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { StreamableMethod } from '@azure-rest/core-client';
|
|
17
|
-
import { TokenCredential } from '@azure/core-auth';
|
|
7
|
+
import type { Client } from '@azure-rest/core-client';
|
|
8
|
+
import type { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
+
import type { ErrorResponse } from '@azure-rest/core-client';
|
|
10
|
+
import type { HttpResponse } from '@azure-rest/core-client';
|
|
11
|
+
import type { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
12
|
+
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
13
|
+
import type { RequestParameters } from '@azure-rest/core-client';
|
|
14
|
+
import type { StreamableMethod } from '@azure-rest/core-client';
|
|
15
|
+
import type { TokenCredential } from '@azure/core-auth';
|
|
18
16
|
|
|
19
17
|
// @public (undocumented)
|
|
20
18
|
export interface AlexaInfoOutput {
|
|
@@ -101,7 +99,7 @@ export interface AssetPageResultOutput {
|
|
|
101
99
|
}
|
|
102
100
|
|
|
103
101
|
// @public
|
|
104
|
-
export type AssetResourceOutput = AsAssetResourceOutput | ContactAssetResourceOutput | DomainAssetResourceOutput | HostAssetResourceOutput | IpAddressAssetResourceOutput | IpBlockAssetResourceOutput | PageAssetResourceOutput | SslCertAssetResourceOutput;
|
|
102
|
+
export type AssetResourceOutput = AssetResourceOutputParent | AsAssetResourceOutput | ContactAssetResourceOutput | DomainAssetResourceOutput | HostAssetResourceOutput | IpAddressAssetResourceOutput | IpBlockAssetResourceOutput | PageAssetResourceOutput | SslCertAssetResourceOutput;
|
|
105
103
|
|
|
106
104
|
// @public
|
|
107
105
|
export interface AssetResourceOutputParent {
|
|
@@ -117,7 +115,7 @@ export interface AssetResourceOutputParent {
|
|
|
117
115
|
name?: string;
|
|
118
116
|
// (undocumented)
|
|
119
117
|
reason?: string;
|
|
120
|
-
state?:
|
|
118
|
+
state?: AssetStateOutput;
|
|
121
119
|
updatedDate?: string;
|
|
122
120
|
uuid?: string;
|
|
123
121
|
wildcard?: boolean;
|
|
@@ -143,6 +141,9 @@ export interface AssetSecurityPolicyOutput {
|
|
|
143
141
|
sources?: Array<SourceOutput>;
|
|
144
142
|
}
|
|
145
143
|
|
|
144
|
+
// @public
|
|
145
|
+
export type AssetStateOutput = string;
|
|
146
|
+
|
|
146
147
|
// @public
|
|
147
148
|
export interface AssetSummaryResultOutput {
|
|
148
149
|
children?: Array<AssetSummaryResultOutput>;
|
|
@@ -161,10 +162,19 @@ export interface AssetSummaryResultOutput {
|
|
|
161
162
|
export interface AssetUpdateData {
|
|
162
163
|
externalId?: string;
|
|
163
164
|
labels?: Record<string, boolean>;
|
|
164
|
-
state?:
|
|
165
|
-
transfers?:
|
|
165
|
+
state?: AssetUpdateState;
|
|
166
|
+
transfers?: AssetUpdateTransfers;
|
|
166
167
|
}
|
|
167
168
|
|
|
169
|
+
// @public
|
|
170
|
+
export type AssetUpdateState = string;
|
|
171
|
+
|
|
172
|
+
// @public
|
|
173
|
+
export type AssetUpdateStateOutput = string;
|
|
174
|
+
|
|
175
|
+
// @public
|
|
176
|
+
export type AssetUpdateTransfers = string;
|
|
177
|
+
|
|
168
178
|
// @public (undocumented)
|
|
169
179
|
export interface AttributeOutput {
|
|
170
180
|
// (undocumented)
|
|
@@ -183,20 +193,21 @@ export interface AttributeOutput {
|
|
|
183
193
|
sources?: Array<SourceOutput>;
|
|
184
194
|
}
|
|
185
195
|
|
|
196
|
+
// @public
|
|
197
|
+
export type AuditTrailItemKindOutput = string;
|
|
198
|
+
|
|
186
199
|
// @public
|
|
187
200
|
export interface AuditTrailItemOutput {
|
|
188
201
|
displayName?: string;
|
|
189
202
|
id?: string;
|
|
190
|
-
kind?:
|
|
203
|
+
kind?: AuditTrailItemKindOutput;
|
|
191
204
|
name?: string;
|
|
192
205
|
reason?: string;
|
|
193
206
|
}
|
|
194
207
|
|
|
195
208
|
// @public (undocumented)
|
|
196
209
|
export interface AzureDataExplorerDataConnectionData extends DataConnectionDataParent {
|
|
197
|
-
// (undocumented)
|
|
198
210
|
kind: "azureDataExplorer";
|
|
199
|
-
// (undocumented)
|
|
200
211
|
properties: AzureDataExplorerDataConnectionProperties;
|
|
201
212
|
}
|
|
202
213
|
|
|
@@ -318,7 +329,7 @@ export interface CookieOutput {
|
|
|
318
329
|
}
|
|
319
330
|
|
|
320
331
|
// @public
|
|
321
|
-
function createClient(
|
|
332
|
+
function createClient(endpointParam: string, credentials: TokenCredential, { apiVersion, ...options }?: EasmClientOptions): EasmClient;
|
|
322
333
|
export default createClient;
|
|
323
334
|
|
|
324
335
|
// @public
|
|
@@ -332,7 +343,7 @@ export interface CreateOrReplaceDataConnection200Response extends HttpResponse {
|
|
|
332
343
|
// @public (undocumented)
|
|
333
344
|
export interface CreateOrReplaceDataConnectionBodyParam {
|
|
334
345
|
// (undocumented)
|
|
335
|
-
body
|
|
346
|
+
body: DataConnectionData;
|
|
336
347
|
}
|
|
337
348
|
|
|
338
349
|
// @public (undocumented)
|
|
@@ -364,7 +375,7 @@ export interface CreateOrReplaceDiscoGroup200Response extends HttpResponse {
|
|
|
364
375
|
// @public (undocumented)
|
|
365
376
|
export interface CreateOrReplaceDiscoGroupBodyParam {
|
|
366
377
|
// (undocumented)
|
|
367
|
-
body
|
|
378
|
+
body: DiscoGroupData;
|
|
368
379
|
}
|
|
369
380
|
|
|
370
381
|
// @public (undocumented)
|
|
@@ -396,7 +407,7 @@ export interface CreateOrReplaceSavedFilter200Response extends HttpResponse {
|
|
|
396
407
|
// @public (undocumented)
|
|
397
408
|
export interface CreateOrReplaceSavedFilterBodyParam {
|
|
398
409
|
// (undocumented)
|
|
399
|
-
body
|
|
410
|
+
body: SavedFilterData;
|
|
400
411
|
}
|
|
401
412
|
|
|
402
413
|
// @public (undocumented)
|
|
@@ -467,29 +478,41 @@ export interface Cvss3SummaryOutput {
|
|
|
467
478
|
version?: string;
|
|
468
479
|
}
|
|
469
480
|
|
|
481
|
+
// @public
|
|
482
|
+
export type DataConnectionContent = string;
|
|
483
|
+
|
|
484
|
+
// @public
|
|
485
|
+
export type DataConnectionContentOutput = string;
|
|
486
|
+
|
|
470
487
|
// @public (undocumented)
|
|
471
|
-
export type DataConnectionData = LogAnalyticsDataConnectionData | AzureDataExplorerDataConnectionData;
|
|
488
|
+
export type DataConnectionData = DataConnectionDataParent | LogAnalyticsDataConnectionData | AzureDataExplorerDataConnectionData;
|
|
472
489
|
|
|
473
490
|
// @public (undocumented)
|
|
474
491
|
export interface DataConnectionDataParent {
|
|
475
|
-
content?:
|
|
476
|
-
frequency?:
|
|
492
|
+
content?: DataConnectionContent;
|
|
493
|
+
frequency?: DataConnectionFrequency;
|
|
477
494
|
frequencyOffset?: number;
|
|
478
495
|
// (undocumented)
|
|
479
496
|
kind: string;
|
|
480
497
|
name?: string;
|
|
481
498
|
}
|
|
482
499
|
|
|
500
|
+
// @public
|
|
501
|
+
export type DataConnectionFrequency = string;
|
|
502
|
+
|
|
503
|
+
// @public
|
|
504
|
+
export type DataConnectionFrequencyOutput = string;
|
|
505
|
+
|
|
483
506
|
// @public (undocumented)
|
|
484
|
-
export type DataConnectionOutput = LogAnalyticsDataConnectionOutput | AzureDataExplorerDataConnectionOutput;
|
|
507
|
+
export type DataConnectionOutput = DataConnectionOutputParent | LogAnalyticsDataConnectionOutput | AzureDataExplorerDataConnectionOutput;
|
|
485
508
|
|
|
486
509
|
// @public (undocumented)
|
|
487
510
|
export interface DataConnectionOutputParent {
|
|
488
511
|
active?: boolean;
|
|
489
|
-
content?:
|
|
512
|
+
content?: DataConnectionContentOutput;
|
|
490
513
|
readonly createdDate?: string;
|
|
491
514
|
displayName?: string;
|
|
492
|
-
frequency?:
|
|
515
|
+
frequency?: DataConnectionFrequencyOutput;
|
|
493
516
|
frequencyOffset?: number;
|
|
494
517
|
id?: string;
|
|
495
518
|
readonly inactiveMessage?: string;
|
|
@@ -650,21 +673,30 @@ export interface DiscoRunResultOutput {
|
|
|
650
673
|
names?: string[];
|
|
651
674
|
seeds?: Array<DiscoSourceOutput>;
|
|
652
675
|
startedDate?: string;
|
|
653
|
-
state?:
|
|
676
|
+
state?: DiscoRunStateOutput;
|
|
654
677
|
submittedDate?: string;
|
|
655
678
|
tier?: string;
|
|
656
679
|
totalAssetsFoundCount?: number;
|
|
657
680
|
}
|
|
658
681
|
|
|
682
|
+
// @public
|
|
683
|
+
export type DiscoRunStateOutput = string;
|
|
684
|
+
|
|
659
685
|
// @public
|
|
660
686
|
export interface DiscoSource {
|
|
661
|
-
kind?:
|
|
687
|
+
kind?: DiscoSourceKind;
|
|
662
688
|
name?: string;
|
|
663
689
|
}
|
|
664
690
|
|
|
691
|
+
// @public
|
|
692
|
+
export type DiscoSourceKind = string;
|
|
693
|
+
|
|
694
|
+
// @public
|
|
695
|
+
export type DiscoSourceKindOutput = string;
|
|
696
|
+
|
|
665
697
|
// @public
|
|
666
698
|
export interface DiscoSourceOutput {
|
|
667
|
-
kind?:
|
|
699
|
+
kind?: DiscoSourceKindOutput;
|
|
668
700
|
name?: string;
|
|
669
701
|
}
|
|
670
702
|
|
|
@@ -683,7 +715,7 @@ export interface DiscoTemplateOutput {
|
|
|
683
715
|
}
|
|
684
716
|
|
|
685
717
|
// @public (undocumented)
|
|
686
|
-
export interface DomainAssetOutput
|
|
718
|
+
export interface DomainAssetOutput {
|
|
687
719
|
// (undocumented)
|
|
688
720
|
adminContacts?: Array<ObservedStringOutput>;
|
|
689
721
|
// (undocumented)
|
|
@@ -759,6 +791,11 @@ export type EasmClient = Client & {
|
|
|
759
791
|
path: Routes;
|
|
760
792
|
};
|
|
761
793
|
|
|
794
|
+
// @public
|
|
795
|
+
export interface EasmClientOptions extends ClientOptions {
|
|
796
|
+
apiVersion?: string;
|
|
797
|
+
}
|
|
798
|
+
|
|
762
799
|
// @public
|
|
763
800
|
export interface ErrorDetailOutput {
|
|
764
801
|
code: string;
|
|
@@ -837,7 +874,7 @@ export type GetBillableParameters = RequestParameters;
|
|
|
837
874
|
export interface GetDataConnection {
|
|
838
875
|
delete(options?: DeleteDataConnectionParameters): StreamableMethod<DeleteDataConnection204Response | DeleteDataConnectionDefaultResponse>;
|
|
839
876
|
get(options?: GetDataConnectionParameters): StreamableMethod<GetDataConnection200Response | GetDataConnectionDefaultResponse>;
|
|
840
|
-
put(options
|
|
877
|
+
put(options: CreateOrReplaceDataConnectionParameters): StreamableMethod<CreateOrReplaceDataConnection200Response | CreateOrReplaceDataConnectionDefaultResponse>;
|
|
841
878
|
}
|
|
842
879
|
|
|
843
880
|
// @public
|
|
@@ -869,7 +906,7 @@ export type GetDataConnectionParameters = RequestParameters;
|
|
|
869
906
|
// @public (undocumented)
|
|
870
907
|
export interface GetDiscoGroup {
|
|
871
908
|
get(options?: GetDiscoGroupParameters): StreamableMethod<GetDiscoGroup200Response | GetDiscoGroupDefaultResponse>;
|
|
872
|
-
put(options
|
|
909
|
+
put(options: CreateOrReplaceDiscoGroupParameters): StreamableMethod<CreateOrReplaceDiscoGroup200Response | CreateOrReplaceDiscoGroupDefaultResponse>;
|
|
873
910
|
}
|
|
874
911
|
|
|
875
912
|
// @public
|
|
@@ -930,7 +967,7 @@ export interface GetDiscoTemplateDefaultResponse extends HttpResponse {
|
|
|
930
967
|
export type GetDiscoTemplateParameters = RequestParameters;
|
|
931
968
|
|
|
932
969
|
// @public
|
|
933
|
-
export type GetPage<TPage> = (pageLink: string
|
|
970
|
+
export type GetPage<TPage> = (pageLink: string) => Promise<{
|
|
934
971
|
page: TPage;
|
|
935
972
|
nextPageLink?: string;
|
|
936
973
|
}>;
|
|
@@ -939,7 +976,7 @@ export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise
|
|
|
939
976
|
export interface GetSavedFilter {
|
|
940
977
|
delete(options?: DeleteSavedFilterParameters): StreamableMethod<DeleteSavedFilter204Response | DeleteSavedFilterDefaultResponse>;
|
|
941
978
|
get(options?: GetSavedFilterParameters): StreamableMethod<GetSavedFilter200Response | GetSavedFilterDefaultResponse>;
|
|
942
|
-
put(options
|
|
979
|
+
put(options: CreateOrReplaceSavedFilterParameters): StreamableMethod<CreateOrReplaceSavedFilter200Response | CreateOrReplaceSavedFilterDefaultResponse>;
|
|
943
980
|
}
|
|
944
981
|
|
|
945
982
|
// @public
|
|
@@ -970,7 +1007,7 @@ export type GetSavedFilterParameters = RequestParameters;
|
|
|
970
1007
|
|
|
971
1008
|
// @public (undocumented)
|
|
972
1009
|
export interface GetSnapshot {
|
|
973
|
-
post(options
|
|
1010
|
+
post(options: GetSnapshotParameters): StreamableMethod<GetSnapshot200Response | GetSnapshotDefaultResponse>;
|
|
974
1011
|
}
|
|
975
1012
|
|
|
976
1013
|
// @public
|
|
@@ -984,7 +1021,7 @@ export interface GetSnapshot200Response extends HttpResponse {
|
|
|
984
1021
|
// @public (undocumented)
|
|
985
1022
|
export interface GetSnapshotBodyParam {
|
|
986
1023
|
// (undocumented)
|
|
987
|
-
body
|
|
1024
|
+
body: ReportAssetSnapshotRequest;
|
|
988
1025
|
}
|
|
989
1026
|
|
|
990
1027
|
// @public (undocumented)
|
|
@@ -1007,7 +1044,7 @@ export type GetSnapshotParameters = GetSnapshotBodyParam & RequestParameters;
|
|
|
1007
1044
|
|
|
1008
1045
|
// @public (undocumented)
|
|
1009
1046
|
export interface GetSummary {
|
|
1010
|
-
post(options
|
|
1047
|
+
post(options: GetSummaryParameters): StreamableMethod<GetSummary200Response | GetSummaryDefaultResponse>;
|
|
1011
1048
|
}
|
|
1012
1049
|
|
|
1013
1050
|
// @public
|
|
@@ -1021,7 +1058,7 @@ export interface GetSummary200Response extends HttpResponse {
|
|
|
1021
1058
|
// @public (undocumented)
|
|
1022
1059
|
export interface GetSummaryBodyParam {
|
|
1023
1060
|
// (undocumented)
|
|
1024
|
-
body
|
|
1061
|
+
body: ReportAssetSummaryRequest;
|
|
1025
1062
|
}
|
|
1026
1063
|
|
|
1027
1064
|
// @public (undocumented)
|
|
@@ -1247,7 +1284,7 @@ export interface InnerErrorOutput {
|
|
|
1247
1284
|
value?: any;
|
|
1248
1285
|
}
|
|
1249
1286
|
|
|
1250
|
-
// @public
|
|
1287
|
+
// @public
|
|
1251
1288
|
export interface InventoryAssetOutput {
|
|
1252
1289
|
}
|
|
1253
1290
|
|
|
@@ -1816,9 +1853,7 @@ export interface LocationOutput {
|
|
|
1816
1853
|
|
|
1817
1854
|
// @public (undocumented)
|
|
1818
1855
|
export interface LogAnalyticsDataConnectionData extends DataConnectionDataParent {
|
|
1819
|
-
// (undocumented)
|
|
1820
1856
|
kind: "logAnalytics";
|
|
1821
|
-
// (undocumented)
|
|
1822
1857
|
properties: LogAnalyticsDataConnectionProperties;
|
|
1823
1858
|
}
|
|
1824
1859
|
|
|
@@ -1892,9 +1927,12 @@ export interface ObservedLongOutput extends ObservedValueOutput {
|
|
|
1892
1927
|
export interface ObservedPortStateOutput extends ObservedValueOutput {
|
|
1893
1928
|
// (undocumented)
|
|
1894
1929
|
port?: number;
|
|
1895
|
-
value?:
|
|
1930
|
+
value?: ObservedPortStateValueOutput;
|
|
1896
1931
|
}
|
|
1897
1932
|
|
|
1933
|
+
// @public
|
|
1934
|
+
export type ObservedPortStateValueOutput = string;
|
|
1935
|
+
|
|
1898
1936
|
// @public (undocumented)
|
|
1899
1937
|
export interface ObservedStringOutput extends ObservedValueOutput {
|
|
1900
1938
|
// (undocumented)
|
|
@@ -1993,7 +2031,7 @@ export interface PageAssetOutput extends InventoryAssetOutput {
|
|
|
1993
2031
|
nonHtmlFrames?: Array<ObservedBooleanOutput>;
|
|
1994
2032
|
// (undocumented)
|
|
1995
2033
|
parkedPage?: Array<ObservedBooleanOutput>;
|
|
1996
|
-
redirectType?:
|
|
2034
|
+
redirectType?: PageAssetRedirectTypeOutput;
|
|
1997
2035
|
// (undocumented)
|
|
1998
2036
|
redirectUrls?: Array<ObservedStringOutput>;
|
|
1999
2037
|
// (undocumented)
|
|
@@ -2040,6 +2078,9 @@ export interface PageAssetOutput extends InventoryAssetOutput {
|
|
|
2040
2078
|
windows?: Array<ObservedBooleanOutput>;
|
|
2041
2079
|
}
|
|
2042
2080
|
|
|
2081
|
+
// @public
|
|
2082
|
+
export type PageAssetRedirectTypeOutput = string;
|
|
2083
|
+
|
|
2043
2084
|
// @public (undocumented)
|
|
2044
2085
|
export interface PageAssetResourceOutput extends AssetResourceOutputParent {
|
|
2045
2086
|
asset: PageAssetOutput;
|
|
@@ -2065,22 +2106,59 @@ export interface PageCauseOutput {
|
|
|
2065
2106
|
}
|
|
2066
2107
|
|
|
2067
2108
|
// @public
|
|
2068
|
-
export
|
|
2109
|
+
export interface PagedAssetResourceOutput {
|
|
2110
|
+
mark?: string;
|
|
2111
|
+
nextLink?: string;
|
|
2112
|
+
totalElements?: number;
|
|
2113
|
+
value: Array<AssetResourceOutput>;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
// @public
|
|
2117
|
+
export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
|
|
2118
|
+
[Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
2119
|
+
byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
|
|
2120
|
+
next(): Promise<IteratorResult<TElement>>;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
// @public
|
|
2124
|
+
export interface PagedDataConnectionOutput {
|
|
2125
|
+
nextLink?: string;
|
|
2126
|
+
totalElements?: number;
|
|
2127
|
+
value: Array<DataConnectionOutput>;
|
|
2128
|
+
}
|
|
2069
2129
|
|
|
2070
2130
|
// @public
|
|
2071
|
-
export
|
|
2131
|
+
export interface PagedDiscoGroupOutput {
|
|
2132
|
+
nextLink?: string;
|
|
2133
|
+
totalElements?: number;
|
|
2134
|
+
value: Array<DiscoGroupOutput>;
|
|
2135
|
+
}
|
|
2072
2136
|
|
|
2073
2137
|
// @public
|
|
2074
|
-
export
|
|
2138
|
+
export interface PagedDiscoTemplateOutput {
|
|
2139
|
+
nextLink?: string;
|
|
2140
|
+
totalElements?: number;
|
|
2141
|
+
value: Array<DiscoTemplateOutput>;
|
|
2142
|
+
}
|
|
2075
2143
|
|
|
2076
2144
|
// @public
|
|
2077
|
-
export
|
|
2145
|
+
export interface PagedSavedFilterOutput {
|
|
2146
|
+
nextLink?: string;
|
|
2147
|
+
totalElements?: number;
|
|
2148
|
+
value: Array<SavedFilterOutput>;
|
|
2149
|
+
}
|
|
2078
2150
|
|
|
2079
2151
|
// @public
|
|
2080
|
-
export
|
|
2152
|
+
export interface PagedTaskOutput {
|
|
2153
|
+
nextLink?: string;
|
|
2154
|
+
totalElements?: number;
|
|
2155
|
+
value: Array<TaskOutput>;
|
|
2156
|
+
}
|
|
2081
2157
|
|
|
2082
2158
|
// @public
|
|
2083
|
-
export
|
|
2159
|
+
export interface PageSettings {
|
|
2160
|
+
continuationToken?: string;
|
|
2161
|
+
}
|
|
2084
2162
|
|
|
2085
2163
|
// @public
|
|
2086
2164
|
export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
|
|
@@ -2142,10 +2220,13 @@ export interface ReportAssetSummaryResultOutput {
|
|
|
2142
2220
|
assetSummaries?: Array<AssetSummaryResultOutput>;
|
|
2143
2221
|
}
|
|
2144
2222
|
|
|
2223
|
+
// @public
|
|
2224
|
+
export type ReportBillableAssetBreakdownKindOutput = string;
|
|
2225
|
+
|
|
2145
2226
|
// @public
|
|
2146
2227
|
export interface ReportBillableAssetBreakdownOutput {
|
|
2147
2228
|
count?: number;
|
|
2148
|
-
kind?:
|
|
2229
|
+
kind?: ReportBillableAssetBreakdownKindOutput;
|
|
2149
2230
|
}
|
|
2150
2231
|
|
|
2151
2232
|
// @public (undocumented)
|
|
@@ -2401,7 +2482,7 @@ export interface SslCertAssetOutput extends InventoryAssetOutput {
|
|
|
2401
2482
|
subjectOrganizations?: string[];
|
|
2402
2483
|
// (undocumented)
|
|
2403
2484
|
subjectState?: string[];
|
|
2404
|
-
validationType?:
|
|
2485
|
+
validationType?: SslCertAssetValidationTypeOutput;
|
|
2405
2486
|
// (undocumented)
|
|
2406
2487
|
version?: number;
|
|
2407
2488
|
}
|
|
@@ -2412,6 +2493,9 @@ export interface SslCertAssetResourceOutput extends AssetResourceOutputParent {
|
|
|
2412
2493
|
kind: "sslCert";
|
|
2413
2494
|
}
|
|
2414
2495
|
|
|
2496
|
+
// @public
|
|
2497
|
+
export type SslCertAssetValidationTypeOutput = string;
|
|
2498
|
+
|
|
2415
2499
|
// @public (undocumented)
|
|
2416
2500
|
export interface SslServerConfigOutput {
|
|
2417
2501
|
// (undocumented)
|
|
@@ -2456,12 +2540,18 @@ export interface TaskOutput {
|
|
|
2456
2540
|
readonly id: string;
|
|
2457
2541
|
lastPolledAt?: string;
|
|
2458
2542
|
metadata?: Record<string, any>;
|
|
2459
|
-
phase?:
|
|
2543
|
+
phase?: TaskPhaseOutput;
|
|
2460
2544
|
reason?: string;
|
|
2461
2545
|
startedAt?: string;
|
|
2462
|
-
state?:
|
|
2546
|
+
state?: TaskStateOutput;
|
|
2463
2547
|
}
|
|
2464
2548
|
|
|
2549
|
+
// @public
|
|
2550
|
+
export type TaskPhaseOutput = string;
|
|
2551
|
+
|
|
2552
|
+
// @public
|
|
2553
|
+
export type TaskStateOutput = string;
|
|
2554
|
+
|
|
2465
2555
|
// @public
|
|
2466
2556
|
export interface UpdateAssets200Response extends HttpResponse {
|
|
2467
2557
|
// (undocumented)
|
|
@@ -2473,7 +2563,7 @@ export interface UpdateAssets200Response extends HttpResponse {
|
|
|
2473
2563
|
// @public (undocumented)
|
|
2474
2564
|
export interface UpdateAssetsBodyParam {
|
|
2475
2565
|
// (undocumented)
|
|
2476
|
-
body
|
|
2566
|
+
body: AssetUpdateData;
|
|
2477
2567
|
}
|
|
2478
2568
|
|
|
2479
2569
|
// @public (undocumented)
|
|
@@ -2507,7 +2597,7 @@ export interface UpdateAssetsQueryParamProperties {
|
|
|
2507
2597
|
|
|
2508
2598
|
// @public (undocumented)
|
|
2509
2599
|
export interface ValidateDataConnection {
|
|
2510
|
-
post(options
|
|
2600
|
+
post(options: ValidateDataConnectionParameters): StreamableMethod<ValidateDataConnection200Response | ValidateDataConnectionDefaultResponse>;
|
|
2511
2601
|
}
|
|
2512
2602
|
|
|
2513
2603
|
// @public
|
|
@@ -2521,7 +2611,7 @@ export interface ValidateDataConnection200Response extends HttpResponse {
|
|
|
2521
2611
|
// @public (undocumented)
|
|
2522
2612
|
export interface ValidateDataConnectionBodyParam {
|
|
2523
2613
|
// (undocumented)
|
|
2524
|
-
body
|
|
2614
|
+
body: DataConnectionData;
|
|
2525
2615
|
}
|
|
2526
2616
|
|
|
2527
2617
|
// @public (undocumented)
|
|
@@ -2544,7 +2634,7 @@ export type ValidateDataConnectionParameters = ValidateDataConnectionBodyParam &
|
|
|
2544
2634
|
|
|
2545
2635
|
// @public (undocumented)
|
|
2546
2636
|
export interface ValidateDiscoGroup {
|
|
2547
|
-
post(options
|
|
2637
|
+
post(options: ValidateDiscoGroupParameters): StreamableMethod<ValidateDiscoGroup200Response | ValidateDiscoGroupDefaultResponse>;
|
|
2548
2638
|
}
|
|
2549
2639
|
|
|
2550
2640
|
// @public
|
|
@@ -2558,7 +2648,7 @@ export interface ValidateDiscoGroup200Response extends HttpResponse {
|
|
|
2558
2648
|
// @public (undocumented)
|
|
2559
2649
|
export interface ValidateDiscoGroupBodyParam {
|
|
2560
2650
|
// (undocumented)
|
|
2561
|
-
body
|
|
2651
|
+
body: DiscoGroupData;
|
|
2562
2652
|
}
|
|
2563
2653
|
|
|
2564
2654
|
// @public (undocumented)
|
|
@@ -2579,7 +2669,7 @@ export interface ValidateDiscoGroupDefaultResponse extends HttpResponse {
|
|
|
2579
2669
|
// @public (undocumented)
|
|
2580
2670
|
export type ValidateDiscoGroupParameters = ValidateDiscoGroupBodyParam & RequestParameters;
|
|
2581
2671
|
|
|
2582
|
-
// @public
|
|
2672
|
+
// @public
|
|
2583
2673
|
export interface ValidateResultOutput {
|
|
2584
2674
|
error?: ErrorDetailOutput;
|
|
2585
2675
|
}
|