@azure-rest/purview-scanning 1.0.0-alpha.20250115.1 → 1.0.0-alpha.20250124.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 (182) hide show
  1. package/README.md +8 -11
  2. package/dist/browser/clientDefinitions.d.ts +277 -0
  3. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  4. package/dist/browser/clientDefinitions.js +4 -0
  5. package/dist/browser/clientDefinitions.js.map +1 -0
  6. package/dist/browser/index.d.ts +8 -4
  7. package/dist/browser/index.d.ts.map +1 -1
  8. package/dist/browser/index.js +8 -5
  9. package/dist/browser/index.js.map +1 -1
  10. package/dist/browser/isUnexpected.d.ts +60 -0
  11. package/dist/browser/isUnexpected.d.ts.map +1 -0
  12. package/dist/browser/isUnexpected.js +136 -0
  13. package/dist/browser/isUnexpected.js.map +1 -0
  14. package/dist/browser/logger.d.ts +2 -0
  15. package/dist/browser/logger.d.ts.map +1 -0
  16. package/dist/browser/logger.js +5 -0
  17. package/dist/browser/logger.js.map +1 -0
  18. package/dist/browser/models.d.ts +1347 -752
  19. package/dist/browser/models.d.ts.map +1 -1
  20. package/dist/browser/models.js.map +1 -1
  21. package/dist/browser/outputModels.d.ts +2269 -0
  22. package/dist/browser/outputModels.d.ts.map +1 -0
  23. package/dist/browser/outputModels.js +4 -0
  24. package/dist/browser/outputModels.js.map +1 -0
  25. package/dist/browser/paginateHelper.d.ts +27 -2
  26. package/dist/browser/paginateHelper.d.ts.map +1 -1
  27. package/dist/browser/paginateHelper.js +98 -1
  28. package/dist/browser/paginateHelper.js.map +1 -1
  29. package/dist/browser/parameters.d.ts +146 -33
  30. package/dist/browser/parameters.d.ts.map +1 -1
  31. package/dist/browser/parameters.js.map +1 -1
  32. package/dist/browser/pollingHelper.d.ts +76 -0
  33. package/dist/browser/pollingHelper.d.ts.map +1 -0
  34. package/dist/browser/pollingHelper.js +104 -0
  35. package/dist/browser/pollingHelper.js.map +1 -0
  36. package/dist/browser/purviewScanningRestClient.d.ts +16 -0
  37. package/dist/browser/purviewScanningRestClient.d.ts.map +1 -0
  38. package/dist/browser/purviewScanningRestClient.js +43 -0
  39. package/dist/browser/purviewScanningRestClient.js.map +1 -0
  40. package/dist/browser/responses.d.ts +793 -266
  41. package/dist/browser/responses.d.ts.map +1 -1
  42. package/dist/browser/responses.js.map +1 -1
  43. package/dist/commonjs/clientDefinitions.d.ts +277 -0
  44. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  45. package/dist/commonjs/clientDefinitions.js +5 -0
  46. package/dist/commonjs/clientDefinitions.js.map +1 -0
  47. package/dist/commonjs/index.d.ts +8 -4
  48. package/dist/commonjs/index.d.ts.map +1 -1
  49. package/dist/commonjs/index.js +8 -5
  50. package/dist/commonjs/index.js.map +1 -1
  51. package/dist/commonjs/isUnexpected.d.ts +60 -0
  52. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  53. package/dist/commonjs/isUnexpected.js +139 -0
  54. package/dist/commonjs/isUnexpected.js.map +1 -0
  55. package/dist/commonjs/logger.d.ts +2 -0
  56. package/dist/commonjs/logger.d.ts.map +1 -0
  57. package/dist/commonjs/logger.js +8 -0
  58. package/dist/commonjs/logger.js.map +1 -0
  59. package/dist/commonjs/models.d.ts +1347 -752
  60. package/dist/commonjs/models.d.ts.map +1 -1
  61. package/dist/commonjs/models.js.map +1 -1
  62. package/dist/commonjs/outputModels.d.ts +2269 -0
  63. package/dist/commonjs/outputModels.d.ts.map +1 -0
  64. package/dist/commonjs/outputModels.js +5 -0
  65. package/dist/commonjs/outputModels.js.map +1 -0
  66. package/dist/commonjs/paginateHelper.d.ts +27 -2
  67. package/dist/commonjs/paginateHelper.d.ts.map +1 -1
  68. package/dist/commonjs/paginateHelper.js +99 -2
  69. package/dist/commonjs/paginateHelper.js.map +1 -1
  70. package/dist/commonjs/parameters.d.ts +146 -33
  71. package/dist/commonjs/parameters.d.ts.map +1 -1
  72. package/dist/commonjs/parameters.js.map +1 -1
  73. package/dist/commonjs/pollingHelper.d.ts +76 -0
  74. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  75. package/dist/commonjs/pollingHelper.js +107 -0
  76. package/dist/commonjs/pollingHelper.js.map +1 -0
  77. package/dist/commonjs/purviewScanningRestClient.d.ts +16 -0
  78. package/dist/commonjs/purviewScanningRestClient.d.ts.map +1 -0
  79. package/dist/commonjs/purviewScanningRestClient.js +46 -0
  80. package/dist/commonjs/purviewScanningRestClient.js.map +1 -0
  81. package/dist/commonjs/responses.d.ts +793 -266
  82. package/dist/commonjs/responses.d.ts.map +1 -1
  83. package/dist/commonjs/responses.js.map +1 -1
  84. package/dist/esm/clientDefinitions.d.ts +277 -0
  85. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  86. package/dist/esm/clientDefinitions.js +4 -0
  87. package/dist/esm/clientDefinitions.js.map +1 -0
  88. package/dist/esm/index.d.ts +8 -4
  89. package/dist/esm/index.d.ts.map +1 -1
  90. package/dist/esm/index.js +8 -5
  91. package/dist/esm/index.js.map +1 -1
  92. package/dist/esm/isUnexpected.d.ts +60 -0
  93. package/dist/esm/isUnexpected.d.ts.map +1 -0
  94. package/dist/esm/isUnexpected.js +136 -0
  95. package/dist/esm/isUnexpected.js.map +1 -0
  96. package/dist/esm/logger.d.ts +2 -0
  97. package/dist/esm/logger.d.ts.map +1 -0
  98. package/dist/esm/logger.js +5 -0
  99. package/dist/esm/logger.js.map +1 -0
  100. package/dist/esm/models.d.ts +1347 -752
  101. package/dist/esm/models.d.ts.map +1 -1
  102. package/dist/esm/models.js.map +1 -1
  103. package/dist/esm/outputModels.d.ts +2269 -0
  104. package/dist/esm/outputModels.d.ts.map +1 -0
  105. package/dist/esm/outputModels.js +4 -0
  106. package/dist/esm/outputModels.js.map +1 -0
  107. package/dist/esm/paginateHelper.d.ts +27 -2
  108. package/dist/esm/paginateHelper.d.ts.map +1 -1
  109. package/dist/esm/paginateHelper.js +98 -1
  110. package/dist/esm/paginateHelper.js.map +1 -1
  111. package/dist/esm/parameters.d.ts +146 -33
  112. package/dist/esm/parameters.d.ts.map +1 -1
  113. package/dist/esm/parameters.js.map +1 -1
  114. package/dist/esm/pollingHelper.d.ts +76 -0
  115. package/dist/esm/pollingHelper.d.ts.map +1 -0
  116. package/dist/esm/pollingHelper.js +104 -0
  117. package/dist/esm/pollingHelper.js.map +1 -0
  118. package/dist/esm/purviewScanningRestClient.d.ts +16 -0
  119. package/dist/esm/purviewScanningRestClient.d.ts.map +1 -0
  120. package/dist/esm/purviewScanningRestClient.js +43 -0
  121. package/dist/esm/purviewScanningRestClient.js.map +1 -0
  122. package/dist/esm/responses.d.ts +793 -266
  123. package/dist/esm/responses.d.ts.map +1 -1
  124. package/dist/esm/responses.js.map +1 -1
  125. package/dist/react-native/clientDefinitions.d.ts +277 -0
  126. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  127. package/dist/react-native/clientDefinitions.js +4 -0
  128. package/dist/react-native/clientDefinitions.js.map +1 -0
  129. package/dist/react-native/index.d.ts +8 -4
  130. package/dist/react-native/index.d.ts.map +1 -1
  131. package/dist/react-native/index.js +8 -5
  132. package/dist/react-native/index.js.map +1 -1
  133. package/dist/react-native/isUnexpected.d.ts +60 -0
  134. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  135. package/dist/react-native/isUnexpected.js +136 -0
  136. package/dist/react-native/isUnexpected.js.map +1 -0
  137. package/dist/react-native/logger.d.ts +2 -0
  138. package/dist/react-native/logger.d.ts.map +1 -0
  139. package/dist/react-native/logger.js +5 -0
  140. package/dist/react-native/logger.js.map +1 -0
  141. package/dist/react-native/models.d.ts +1347 -752
  142. package/dist/react-native/models.d.ts.map +1 -1
  143. package/dist/react-native/models.js.map +1 -1
  144. package/dist/react-native/outputModels.d.ts +2269 -0
  145. package/dist/react-native/outputModels.d.ts.map +1 -0
  146. package/dist/react-native/outputModels.js +4 -0
  147. package/dist/react-native/outputModels.js.map +1 -0
  148. package/dist/react-native/paginateHelper.d.ts +27 -2
  149. package/dist/react-native/paginateHelper.d.ts.map +1 -1
  150. package/dist/react-native/paginateHelper.js +98 -1
  151. package/dist/react-native/paginateHelper.js.map +1 -1
  152. package/dist/react-native/parameters.d.ts +146 -33
  153. package/dist/react-native/parameters.d.ts.map +1 -1
  154. package/dist/react-native/parameters.js.map +1 -1
  155. package/dist/react-native/pollingHelper.d.ts +76 -0
  156. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  157. package/dist/react-native/pollingHelper.js +104 -0
  158. package/dist/react-native/pollingHelper.js.map +1 -0
  159. package/dist/react-native/purviewScanningRestClient.d.ts +16 -0
  160. package/dist/react-native/purviewScanningRestClient.d.ts.map +1 -0
  161. package/dist/react-native/purviewScanningRestClient.js +43 -0
  162. package/dist/react-native/purviewScanningRestClient.js.map +1 -0
  163. package/dist/react-native/responses.d.ts +793 -266
  164. package/dist/react-native/responses.d.ts.map +1 -1
  165. package/dist/react-native/responses.js.map +1 -1
  166. package/package.json +12 -10
  167. package/dist/browser/purviewScanning.d.ts +0 -169
  168. package/dist/browser/purviewScanning.d.ts.map +0 -1
  169. package/dist/browser/purviewScanning.js +0 -13
  170. package/dist/browser/purviewScanning.js.map +0 -1
  171. package/dist/commonjs/purviewScanning.d.ts +0 -169
  172. package/dist/commonjs/purviewScanning.d.ts.map +0 -1
  173. package/dist/commonjs/purviewScanning.js +0 -16
  174. package/dist/commonjs/purviewScanning.js.map +0 -1
  175. package/dist/esm/purviewScanning.d.ts +0 -169
  176. package/dist/esm/purviewScanning.d.ts.map +0 -1
  177. package/dist/esm/purviewScanning.js +0 -13
  178. package/dist/esm/purviewScanning.js.map +0 -1
  179. package/dist/react-native/purviewScanning.d.ts +0 -169
  180. package/dist/react-native/purviewScanning.d.ts.map +0 -1
  181. package/dist/react-native/purviewScanning.js +0 -13
  182. package/dist/react-native/purviewScanning.js.map +0 -1
@@ -1,413 +1,940 @@
1
+ import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
1
2
  import type { HttpResponse } from "@azure-rest/core-client";
2
- import type { AzureKeyVault, ErrorResponseModel, AzureKeyVaultList, ClassificationRule, ClassificationRuleList, OperationResponse, DataSource, DataSourceList, Filter, Scan, ScanList, ScanHistoryList, ScanRuleset, ScanRulesetList, SystemScanRulesetList, SystemScanRuleset, Trigger } from "./models.js";
3
- /** Gets key vault information */
3
+ import type { AzureKeyVaultOutput, ErrorResponseModelOutput, AzureKeyVaultListOutput, ClassificationRuleOutput, ClassificationRuleListOutput, OperationResponseOutput, CredentialOutput, CredentialListOutput, DataSourceOutput, DataSourceListOutput, FilterOutput, IntegrationRuntimeListOutput, IntegrationRuntimeOutput, IntegrationRuntimeStatusOutput, IntegrationRuntimeAuthKeysOutput, ManagedVirtualNetworkListOutput, ManagedVirtualNetworkOutput, ManagedPrivateEndpointListOutput, ManagedPrivateEndpointOutput, ScanOutput, ScanListOutput, ScanResultWithIngestionOutput, ScanHistoryListWithIngestionOutput, ScanRulesetOutput, ScanRulesetListOutput, SystemScanRulesetListOutput, SystemScanRulesetOutput, TriggerOutput } from "./outputModels.js";
4
+ /** Gets an Azure Key Vault connection. */
4
5
  export interface KeyVaultConnectionsGet200Response extends HttpResponse {
5
6
  status: "200";
6
- body: AzureKeyVault;
7
+ body: AzureKeyVaultOutput;
7
8
  }
8
- /** Gets key vault information */
9
- export interface KeyVaultConnectionsGetdefaultResponse extends HttpResponse {
10
- status: "500";
11
- body: ErrorResponseModel;
9
+ export interface KeyVaultConnectionsGetDefaultHeaders {
10
+ /** String error code indicating what went wrong. */
11
+ "x-ms-error-code"?: string;
12
12
  }
13
- /** Creates an instance of a key vault connection */
14
- export interface KeyVaultConnectionsCreate200Response extends HttpResponse {
13
+ /** Gets an Azure Key Vault connection. */
14
+ export interface KeyVaultConnectionsGetDefaultResponse extends HttpResponse {
15
+ status: string;
16
+ body: ErrorResponseModelOutput;
17
+ headers: RawHttpHeaders & KeyVaultConnectionsGetDefaultHeaders;
18
+ }
19
+ /** Creates or replaces a connection to Azure Key Vault. */
20
+ export interface KeyVaultConnectionsCreateOrReplace200Response extends HttpResponse {
15
21
  status: "200";
16
- body: AzureKeyVault;
22
+ body: AzureKeyVaultOutput;
17
23
  }
18
- /** Creates an instance of a key vault connection */
19
- export interface KeyVaultConnectionsCreatedefaultResponse extends HttpResponse {
20
- status: "500";
21
- body: ErrorResponseModel;
24
+ /** Creates or replaces a connection to Azure Key Vault. */
25
+ export interface KeyVaultConnectionsCreateOrReplace201Response extends HttpResponse {
26
+ status: "201";
27
+ body: AzureKeyVaultOutput;
22
28
  }
23
- /** Deletes the key vault connection associated with the account */
24
- export interface KeyVaultConnectionsDelete200Response extends HttpResponse {
25
- status: "200";
26
- body: AzureKeyVault;
29
+ export interface KeyVaultConnectionsCreateOrReplaceDefaultHeaders {
30
+ /** String error code indicating what went wrong. */
31
+ "x-ms-error-code"?: string;
27
32
  }
28
- /** Deletes the key vault connection associated with the account */
33
+ /** Creates or replaces a connection to Azure Key Vault. */
34
+ export interface KeyVaultConnectionsCreateOrReplaceDefaultResponse extends HttpResponse {
35
+ status: string;
36
+ body: ErrorResponseModelOutput;
37
+ headers: RawHttpHeaders & KeyVaultConnectionsCreateOrReplaceDefaultHeaders;
38
+ }
39
+ /** Deletes an Azure Key Vault connection associated with the account. */
29
40
  export interface KeyVaultConnectionsDelete204Response extends HttpResponse {
30
41
  status: "204";
31
- body: Record<string, unknown>;
32
42
  }
33
- /** Deletes the key vault connection associated with the account */
34
- export interface KeyVaultConnectionsDeletedefaultResponse extends HttpResponse {
35
- status: "500";
36
- body: ErrorResponseModel;
43
+ export interface KeyVaultConnectionsDeleteDefaultHeaders {
44
+ /** String error code indicating what went wrong. */
45
+ "x-ms-error-code"?: string;
46
+ }
47
+ /** Deletes an Azure Key Vault connection associated with the account. */
48
+ export interface KeyVaultConnectionsDeleteDefaultResponse extends HttpResponse {
49
+ status: string;
50
+ body: ErrorResponseModelOutput;
51
+ headers: RawHttpHeaders & KeyVaultConnectionsDeleteDefaultHeaders;
37
52
  }
38
- /** List key vault connections in account */
39
- export interface KeyVaultConnectionsListAll200Response extends HttpResponse {
53
+ /** Lists Azure Key Vaults in an account. */
54
+ export interface KeyVaultConnectionsList200Response extends HttpResponse {
40
55
  status: "200";
41
- body: AzureKeyVaultList;
56
+ body: AzureKeyVaultListOutput;
42
57
  }
43
- /** List key vault connections in account */
44
- export interface KeyVaultConnectionsListAlldefaultResponse extends HttpResponse {
45
- status: "500";
46
- body: ErrorResponseModel;
58
+ export interface KeyVaultConnectionsListDefaultHeaders {
59
+ /** String error code indicating what went wrong. */
60
+ "x-ms-error-code"?: string;
47
61
  }
48
- /** Get a classification rule */
62
+ /** Lists Azure Key Vaults in an account. */
63
+ export interface KeyVaultConnectionsListDefaultResponse extends HttpResponse {
64
+ status: string;
65
+ body: ErrorResponseModelOutput;
66
+ headers: RawHttpHeaders & KeyVaultConnectionsListDefaultHeaders;
67
+ }
68
+ /** Gets a classification rule. */
49
69
  export interface ClassificationRulesGet200Response extends HttpResponse {
50
70
  status: "200";
51
- body: ClassificationRule;
71
+ body: ClassificationRuleOutput;
72
+ }
73
+ export interface ClassificationRulesGetDefaultHeaders {
74
+ /** String error code indicating what went wrong. */
75
+ "x-ms-error-code"?: string;
52
76
  }
53
- /** Get a classification rule */
54
- export interface ClassificationRulesGetdefaultResponse extends HttpResponse {
55
- status: "500";
56
- body: ErrorResponseModel;
77
+ /** Gets a classification rule. */
78
+ export interface ClassificationRulesGetDefaultResponse extends HttpResponse {
79
+ status: string;
80
+ body: ErrorResponseModelOutput;
81
+ headers: RawHttpHeaders & ClassificationRulesGetDefaultHeaders;
57
82
  }
58
- /** Creates or Updates a classification rule */
59
- export interface ClassificationRulesCreateOrUpdate200Response extends HttpResponse {
83
+ /** Creates or replaces a classification rule. */
84
+ export interface ClassificationRulesCreateOrReplace200Response extends HttpResponse {
60
85
  status: "200";
61
- body: ClassificationRule;
86
+ body: ClassificationRuleOutput;
62
87
  }
63
- /** Creates or Updates a classification rule */
64
- export interface ClassificationRulesCreateOrUpdate201Response extends HttpResponse {
88
+ /** Creates or replaces a classification rule. */
89
+ export interface ClassificationRulesCreateOrReplace201Response extends HttpResponse {
65
90
  status: "201";
66
- body: ClassificationRule;
91
+ body: ClassificationRuleOutput;
67
92
  }
68
- /** Creates or Updates a classification rule */
69
- export interface ClassificationRulesCreateOrUpdatedefaultResponse extends HttpResponse {
70
- status: "500";
71
- body: ErrorResponseModel;
93
+ export interface ClassificationRulesCreateOrReplaceDefaultHeaders {
94
+ /** String error code indicating what went wrong. */
95
+ "x-ms-error-code"?: string;
72
96
  }
73
- /** Deletes a classification rule */
74
- export interface ClassificationRulesDelete200Response extends HttpResponse {
75
- status: "200";
76
- body: ClassificationRule;
97
+ /** Creates or replaces a classification rule. */
98
+ export interface ClassificationRulesCreateOrReplaceDefaultResponse extends HttpResponse {
99
+ status: string;
100
+ body: ErrorResponseModelOutput;
101
+ headers: RawHttpHeaders & ClassificationRulesCreateOrReplaceDefaultHeaders;
77
102
  }
78
- /** Deletes a classification rule */
103
+ /** Deletes a classification rule. */
79
104
  export interface ClassificationRulesDelete204Response extends HttpResponse {
80
105
  status: "204";
81
- body: Record<string, unknown>;
82
106
  }
83
- /** Deletes a classification rule */
84
- export interface ClassificationRulesDeletedefaultResponse extends HttpResponse {
85
- status: "500";
86
- body: ErrorResponseModel;
107
+ export interface ClassificationRulesDeleteDefaultHeaders {
108
+ /** String error code indicating what went wrong. */
109
+ "x-ms-error-code"?: string;
110
+ }
111
+ /** Deletes a classification rule. */
112
+ export interface ClassificationRulesDeleteDefaultResponse extends HttpResponse {
113
+ status: string;
114
+ body: ErrorResponseModelOutput;
115
+ headers: RawHttpHeaders & ClassificationRulesDeleteDefaultHeaders;
87
116
  }
88
- /** List classification rules in Account */
89
- export interface ClassificationRulesListAll200Response extends HttpResponse {
117
+ /** Lists classification rules in Account. */
118
+ export interface ClassificationRulesList200Response extends HttpResponse {
90
119
  status: "200";
91
- body: ClassificationRuleList;
120
+ body: ClassificationRuleListOutput;
92
121
  }
93
- /** List classification rules in Account */
94
- export interface ClassificationRulesListAlldefaultResponse extends HttpResponse {
95
- status: "500";
96
- body: ErrorResponseModel;
122
+ export interface ClassificationRulesListDefaultHeaders {
123
+ /** String error code indicating what went wrong. */
124
+ "x-ms-error-code"?: string;
97
125
  }
98
- /** Lists the rule versions of a classification rule */
99
- export interface ClassificationRulesListVersionsByClassificationRuleName200Response extends HttpResponse {
126
+ /** Lists classification rules in Account. */
127
+ export interface ClassificationRulesListDefaultResponse extends HttpResponse {
128
+ status: string;
129
+ body: ErrorResponseModelOutput;
130
+ headers: RawHttpHeaders & ClassificationRulesListDefaultHeaders;
131
+ }
132
+ /** Lists the rule versions of a classification rule. */
133
+ export interface ClassificationRulesListVersionsByRuleName200Response extends HttpResponse {
100
134
  status: "200";
101
- body: ClassificationRuleList;
135
+ body: ClassificationRuleListOutput;
136
+ }
137
+ export interface ClassificationRulesListVersionsByRuleNameDefaultHeaders {
138
+ /** String error code indicating what went wrong. */
139
+ "x-ms-error-code"?: string;
140
+ }
141
+ /** Lists the rule versions of a classification rule. */
142
+ export interface ClassificationRulesListVersionsByRuleNameDefaultResponse extends HttpResponse {
143
+ status: string;
144
+ body: ErrorResponseModelOutput;
145
+ headers: RawHttpHeaders & ClassificationRulesListVersionsByRuleNameDefaultHeaders;
102
146
  }
103
- /** Lists the rule versions of a classification rule */
104
- export interface ClassificationRulesListVersionsByClassificationRuleNamedefaultResponse extends HttpResponse {
105
- status: "500";
106
- body: ErrorResponseModel;
147
+ export interface ClassificationRulesTagClassificationVersion202Headers {
148
+ /** Response header for long running operation. */
149
+ "operation-location"?: string;
107
150
  }
108
- /** Sets Classification Action on a specific classification rule version. */
151
+ /** Sets classification action on a specific classification rule version. */
109
152
  export interface ClassificationRulesTagClassificationVersion202Response extends HttpResponse {
110
153
  status: "202";
111
- body: OperationResponse;
154
+ body: OperationResponseOutput;
155
+ headers: RawHttpHeaders & ClassificationRulesTagClassificationVersion202Headers;
112
156
  }
113
- /** Sets Classification Action on a specific classification rule version. */
114
- export interface ClassificationRulesTagClassificationVersiondefaultResponse extends HttpResponse {
115
- status: "500";
116
- body: ErrorResponseModel;
157
+ export interface ClassificationRulesTagClassificationVersionDefaultHeaders {
158
+ /** String error code indicating what went wrong. */
159
+ "x-ms-error-code"?: string;
117
160
  }
118
- /** Creates or Updates a data source */
119
- export interface DataSourcesCreateOrUpdate200Response extends HttpResponse {
161
+ /** Sets classification action on a specific classification rule version. */
162
+ export interface ClassificationRulesTagClassificationVersionDefaultResponse extends HttpResponse {
163
+ status: string;
164
+ body: ErrorResponseModelOutput;
165
+ headers: RawHttpHeaders & ClassificationRulesTagClassificationVersionDefaultHeaders;
166
+ }
167
+ /** Gets credential information. */
168
+ export interface CredentialGet200Response extends HttpResponse {
120
169
  status: "200";
121
- body: DataSource;
170
+ body: CredentialOutput;
171
+ }
172
+ export interface CredentialGetDefaultHeaders {
173
+ /** String error code indicating what went wrong. */
174
+ "x-ms-error-code"?: string;
122
175
  }
123
- /** Creates or Updates a data source */
124
- export interface DataSourcesCreateOrUpdate201Response extends HttpResponse {
176
+ /** Gets credential information. */
177
+ export interface CredentialGetDefaultResponse extends HttpResponse {
178
+ status: string;
179
+ body: ErrorResponseModelOutput;
180
+ headers: RawHttpHeaders & CredentialGetDefaultHeaders;
181
+ }
182
+ /** Creates or replaces an instance of a credential. */
183
+ export interface CredentialCreateOrReplace200Response extends HttpResponse {
184
+ status: "200";
185
+ body: CredentialOutput;
186
+ }
187
+ /** Creates or replaces an instance of a credential. */
188
+ export interface CredentialCreateOrReplace201Response extends HttpResponse {
125
189
  status: "201";
126
- body: DataSource;
190
+ body: CredentialOutput;
127
191
  }
128
- /** Creates or Updates a data source */
129
- export interface DataSourcesCreateOrUpdatedefaultResponse extends HttpResponse {
130
- status: "500";
131
- body: ErrorResponseModel;
192
+ export interface CredentialCreateOrReplaceDefaultHeaders {
193
+ /** String error code indicating what went wrong. */
194
+ "x-ms-error-code"?: string;
132
195
  }
133
- /** Get a data source */
134
- export interface DataSourcesGet200Response extends HttpResponse {
196
+ /** Creates or replaces an instance of a credential. */
197
+ export interface CredentialCreateOrReplaceDefaultResponse extends HttpResponse {
198
+ status: string;
199
+ body: ErrorResponseModelOutput;
200
+ headers: RawHttpHeaders & CredentialCreateOrReplaceDefaultHeaders;
201
+ }
202
+ /** Deletes a credential associated with the account. */
203
+ export interface CredentialDelete204Response extends HttpResponse {
204
+ status: "204";
205
+ }
206
+ export interface CredentialDeleteDefaultHeaders {
207
+ /** String error code indicating what went wrong. */
208
+ "x-ms-error-code"?: string;
209
+ }
210
+ /** Deletes a credential associated with the account. */
211
+ export interface CredentialDeleteDefaultResponse extends HttpResponse {
212
+ status: string;
213
+ body: ErrorResponseModelOutput;
214
+ headers: RawHttpHeaders & CredentialDeleteDefaultHeaders;
215
+ }
216
+ /** Lists credentials in account. */
217
+ export interface CredentialList200Response extends HttpResponse {
218
+ status: "200";
219
+ body: CredentialListOutput;
220
+ }
221
+ export interface CredentialListDefaultHeaders {
222
+ /** String error code indicating what went wrong. */
223
+ "x-ms-error-code"?: string;
224
+ }
225
+ /** Lists credentials in account. */
226
+ export interface CredentialListDefaultResponse extends HttpResponse {
227
+ status: string;
228
+ body: ErrorResponseModelOutput;
229
+ headers: RawHttpHeaders & CredentialListDefaultHeaders;
230
+ }
231
+ /** Creates or replaces a data source. */
232
+ export interface DataSourcesCreateOrReplace200Response extends HttpResponse {
135
233
  status: "200";
136
- body: DataSource;
234
+ body: DataSourceOutput;
137
235
  }
138
- /** Get a data source */
139
- export interface DataSourcesGetdefaultResponse extends HttpResponse {
140
- status: "500";
141
- body: ErrorResponseModel;
236
+ /** Creates or replaces a data source. */
237
+ export interface DataSourcesCreateOrReplace201Response extends HttpResponse {
238
+ status: "201";
239
+ body: DataSourceOutput;
240
+ }
241
+ export interface DataSourcesCreateOrReplaceDefaultHeaders {
242
+ /** String error code indicating what went wrong. */
243
+ "x-ms-error-code"?: string;
244
+ }
245
+ /** Creates or replaces a data source. */
246
+ export interface DataSourcesCreateOrReplaceDefaultResponse extends HttpResponse {
247
+ status: string;
248
+ body: ErrorResponseModelOutput;
249
+ headers: RawHttpHeaders & DataSourcesCreateOrReplaceDefaultHeaders;
142
250
  }
143
- /** Deletes a data source */
144
- export interface DataSourcesDelete200Response extends HttpResponse {
251
+ /** Gets a data source. */
252
+ export interface DataSourcesGet200Response extends HttpResponse {
145
253
  status: "200";
146
- body: DataSource;
254
+ body: DataSourceOutput;
255
+ }
256
+ export interface DataSourcesGetDefaultHeaders {
257
+ /** String error code indicating what went wrong. */
258
+ "x-ms-error-code"?: string;
147
259
  }
148
- /** Deletes a data source */
260
+ /** Gets a data source. */
261
+ export interface DataSourcesGetDefaultResponse extends HttpResponse {
262
+ status: string;
263
+ body: ErrorResponseModelOutput;
264
+ headers: RawHttpHeaders & DataSourcesGetDefaultHeaders;
265
+ }
266
+ /** Deletes a data source. */
149
267
  export interface DataSourcesDelete204Response extends HttpResponse {
150
268
  status: "204";
151
- body: Record<string, unknown>;
152
269
  }
153
- /** Deletes a data source */
154
- export interface DataSourcesDeletedefaultResponse extends HttpResponse {
155
- status: "500";
156
- body: ErrorResponseModel;
270
+ export interface DataSourcesDeleteDefaultHeaders {
271
+ /** String error code indicating what went wrong. */
272
+ "x-ms-error-code"?: string;
273
+ }
274
+ /** Deletes a data source. */
275
+ export interface DataSourcesDeleteDefaultResponse extends HttpResponse {
276
+ status: string;
277
+ body: ErrorResponseModelOutput;
278
+ headers: RawHttpHeaders & DataSourcesDeleteDefaultHeaders;
157
279
  }
158
- /** List data sources in Data catalog */
159
- export interface DataSourcesListAll200Response extends HttpResponse {
280
+ /** Lists data sources in Data catalog. */
281
+ export interface DataSourcesList200Response extends HttpResponse {
160
282
  status: "200";
161
- body: DataSourceList;
283
+ body: DataSourceListOutput;
162
284
  }
163
- /** List data sources in Data catalog */
164
- export interface DataSourcesListAlldefaultResponse extends HttpResponse {
165
- status: "500";
166
- body: ErrorResponseModel;
285
+ export interface DataSourcesListDefaultHeaders {
286
+ /** String error code indicating what went wrong. */
287
+ "x-ms-error-code"?: string;
167
288
  }
168
- /** Get a filter */
289
+ /** Lists data sources in Data catalog. */
290
+ export interface DataSourcesListDefaultResponse extends HttpResponse {
291
+ status: string;
292
+ body: ErrorResponseModelOutput;
293
+ headers: RawHttpHeaders & DataSourcesListDefaultHeaders;
294
+ }
295
+ /** Gets a filter. */
169
296
  export interface FiltersGet200Response extends HttpResponse {
170
297
  status: "200";
171
- body: Filter;
298
+ body: FilterOutput;
299
+ }
300
+ export interface FiltersGetDefaultHeaders {
301
+ /** String error code indicating what went wrong. */
302
+ "x-ms-error-code"?: string;
172
303
  }
173
- /** Get a filter */
174
- export interface FiltersGetdefaultResponse extends HttpResponse {
175
- status: "500";
176
- body: ErrorResponseModel;
304
+ /** Gets a filter. */
305
+ export interface FiltersGetDefaultResponse extends HttpResponse {
306
+ status: string;
307
+ body: ErrorResponseModelOutput;
308
+ headers: RawHttpHeaders & FiltersGetDefaultHeaders;
177
309
  }
178
- /** Creates or updates a filter */
179
- export interface FiltersCreateOrUpdate200Response extends HttpResponse {
310
+ /** Creates or replaces a filter. */
311
+ export interface FiltersCreateOrReplace200Response extends HttpResponse {
180
312
  status: "200";
181
- body: Filter;
313
+ body: FilterOutput;
182
314
  }
183
- /** Creates or updates a filter */
184
- export interface FiltersCreateOrUpdate201Response extends HttpResponse {
315
+ /** Creates or replaces a filter. */
316
+ export interface FiltersCreateOrReplace201Response extends HttpResponse {
185
317
  status: "201";
186
- body: Filter;
318
+ body: FilterOutput;
187
319
  }
188
- /** Creates or updates a filter */
189
- export interface FiltersCreateOrUpdatedefaultResponse extends HttpResponse {
190
- status: "500";
191
- body: ErrorResponseModel;
320
+ export interface FiltersCreateOrReplaceDefaultHeaders {
321
+ /** String error code indicating what went wrong. */
322
+ "x-ms-error-code"?: string;
192
323
  }
193
- /** Creates an instance of a scan */
194
- export interface ScansCreateOrUpdate200Response extends HttpResponse {
324
+ /** Creates or replaces a filter. */
325
+ export interface FiltersCreateOrReplaceDefaultResponse extends HttpResponse {
326
+ status: string;
327
+ body: ErrorResponseModelOutput;
328
+ headers: RawHttpHeaders & FiltersCreateOrReplaceDefaultHeaders;
329
+ }
330
+ /** Lists integration runtimes in an account. */
331
+ export interface IntegrationRuntimesListByAccount200Response extends HttpResponse {
332
+ status: "200";
333
+ body: IntegrationRuntimeListOutput;
334
+ }
335
+ export interface IntegrationRuntimesListByAccountDefaultHeaders {
336
+ /** String error code indicating what went wrong. */
337
+ "x-ms-error-code"?: string;
338
+ }
339
+ /** Lists integration runtimes in an account. */
340
+ export interface IntegrationRuntimesListByAccountDefaultResponse extends HttpResponse {
341
+ status: string;
342
+ body: ErrorResponseModelOutput;
343
+ headers: RawHttpHeaders & IntegrationRuntimesListByAccountDefaultHeaders;
344
+ }
345
+ /** Gets an integration runtime. */
346
+ export interface IntegrationRuntimesGet200Response extends HttpResponse {
347
+ status: "200";
348
+ body: IntegrationRuntimeOutput;
349
+ }
350
+ export interface IntegrationRuntimesGetDefaultHeaders {
351
+ /** String error code indicating what went wrong. */
352
+ "x-ms-error-code"?: string;
353
+ }
354
+ /** Gets an integration runtime. */
355
+ export interface IntegrationRuntimesGetDefaultResponse extends HttpResponse {
356
+ status: string;
357
+ body: ErrorResponseModelOutput;
358
+ headers: RawHttpHeaders & IntegrationRuntimesGetDefaultHeaders;
359
+ }
360
+ /** Deletes an integration runtime. */
361
+ export interface IntegrationRuntimesDelete204Response extends HttpResponse {
362
+ status: "204";
363
+ }
364
+ export interface IntegrationRuntimesDeleteDefaultHeaders {
365
+ /** String error code indicating what went wrong. */
366
+ "x-ms-error-code"?: string;
367
+ }
368
+ /** Deletes an integration runtime. */
369
+ export interface IntegrationRuntimesDeleteDefaultResponse extends HttpResponse {
370
+ status: string;
371
+ body: ErrorResponseModelOutput;
372
+ headers: RawHttpHeaders & IntegrationRuntimesDeleteDefaultHeaders;
373
+ }
374
+ /** Creates or replaces an instance of integration runtime. */
375
+ export interface IntegrationRuntimesCreateOrReplace200Response extends HttpResponse {
195
376
  status: "200";
196
- body: Scan;
377
+ body: IntegrationRuntimeOutput;
197
378
  }
198
- /** Creates an instance of a scan */
199
- export interface ScansCreateOrUpdate201Response extends HttpResponse {
379
+ /** Creates or replaces an instance of integration runtime. */
380
+ export interface IntegrationRuntimesCreateOrReplace201Response extends HttpResponse {
200
381
  status: "201";
201
- body: Scan;
382
+ body: IntegrationRuntimeOutput;
202
383
  }
203
- /** Creates an instance of a scan */
204
- export interface ScansCreateOrUpdatedefaultResponse extends HttpResponse {
205
- status: "500";
206
- body: ErrorResponseModel;
384
+ export interface IntegrationRuntimesCreateOrReplaceDefaultHeaders {
385
+ /** String error code indicating what went wrong. */
386
+ "x-ms-error-code"?: string;
207
387
  }
208
- /** Gets a scan information */
209
- export interface ScansGet200Response extends HttpResponse {
388
+ /** Creates or replaces an instance of integration runtime. */
389
+ export interface IntegrationRuntimesCreateOrReplaceDefaultResponse extends HttpResponse {
390
+ status: string;
391
+ body: ErrorResponseModelOutput;
392
+ headers: RawHttpHeaders & IntegrationRuntimesCreateOrReplaceDefaultHeaders;
393
+ }
394
+ /** Gets detailed status information for an integration runtime. */
395
+ export interface IntegrationRuntimesStatus200Response extends HttpResponse {
210
396
  status: "200";
211
- body: Scan;
397
+ body: IntegrationRuntimeStatusOutput;
398
+ }
399
+ export interface IntegrationRuntimesStatusDefaultHeaders {
400
+ /** String error code indicating what went wrong. */
401
+ "x-ms-error-code"?: string;
212
402
  }
213
- /** Gets a scan information */
214
- export interface ScansGetdefaultResponse extends HttpResponse {
215
- status: "500";
216
- body: ErrorResponseModel;
403
+ /** Gets detailed status information for an integration runtime. */
404
+ export interface IntegrationRuntimesStatusDefaultResponse extends HttpResponse {
405
+ status: string;
406
+ body: ErrorResponseModelOutput;
407
+ headers: RawHttpHeaders & IntegrationRuntimesStatusDefaultHeaders;
217
408
  }
218
- /** Deletes the scan associated with the data source */
219
- export interface ScansDelete200Response extends HttpResponse {
409
+ /** Retrieves the authentication keys for an integration runtime. */
410
+ export interface IntegrationRuntimesListAuthKeys200Response extends HttpResponse {
220
411
  status: "200";
221
- body: Scan;
412
+ body: IntegrationRuntimeAuthKeysOutput;
413
+ }
414
+ export interface IntegrationRuntimesListAuthKeysDefaultHeaders {
415
+ /** String error code indicating what went wrong. */
416
+ "x-ms-error-code"?: string;
417
+ }
418
+ /** Retrieves the authentication keys for an integration runtime. */
419
+ export interface IntegrationRuntimesListAuthKeysDefaultResponse extends HttpResponse {
420
+ status: string;
421
+ body: ErrorResponseModelOutput;
422
+ headers: RawHttpHeaders & IntegrationRuntimesListAuthKeysDefaultHeaders;
423
+ }
424
+ /** Regenerates the authentication key for an integration runtime. */
425
+ export interface IntegrationRuntimesRegenerateAuthKey200Response extends HttpResponse {
426
+ status: "200";
427
+ body: IntegrationRuntimeAuthKeysOutput;
428
+ }
429
+ export interface IntegrationRuntimesRegenerateAuthKeyDefaultHeaders {
430
+ /** String error code indicating what went wrong. */
431
+ "x-ms-error-code"?: string;
432
+ }
433
+ /** Regenerates the authentication key for an integration runtime. */
434
+ export interface IntegrationRuntimesRegenerateAuthKeyDefaultResponse extends HttpResponse {
435
+ status: string;
436
+ body: ErrorResponseModelOutput;
437
+ headers: RawHttpHeaders & IntegrationRuntimesRegenerateAuthKeyDefaultHeaders;
438
+ }
439
+ export interface IntegrationRuntimesDisableInteractiveQuery202Headers {
440
+ /** Response header for long running operation. */
441
+ "operation-location"?: string;
442
+ }
443
+ /** Disables interactive querying. */
444
+ export interface IntegrationRuntimesDisableInteractiveQuery202Response extends HttpResponse {
445
+ status: "202";
446
+ body: OperationResponseOutput;
447
+ headers: RawHttpHeaders & IntegrationRuntimesDisableInteractiveQuery202Headers;
448
+ }
449
+ export interface IntegrationRuntimesDisableInteractiveQueryDefaultHeaders {
450
+ /** String error code indicating what went wrong. */
451
+ "x-ms-error-code"?: string;
452
+ }
453
+ /** Disables interactive querying. */
454
+ export interface IntegrationRuntimesDisableInteractiveQueryDefaultResponse extends HttpResponse {
455
+ status: string;
456
+ body: ErrorResponseModelOutput;
457
+ headers: RawHttpHeaders & IntegrationRuntimesDisableInteractiveQueryDefaultHeaders;
458
+ }
459
+ export interface IntegrationRuntimesEnableInteractiveQuery202Headers {
460
+ /** Response header for long running operation. */
461
+ "operation-location"?: string;
462
+ }
463
+ /** Enables interactive querying. */
464
+ export interface IntegrationRuntimesEnableInteractiveQuery202Response extends HttpResponse {
465
+ status: "202";
466
+ body: OperationResponseOutput;
467
+ headers: RawHttpHeaders & IntegrationRuntimesEnableInteractiveQuery202Headers;
468
+ }
469
+ export interface IntegrationRuntimesEnableInteractiveQueryDefaultHeaders {
470
+ /** String error code indicating what went wrong. */
471
+ "x-ms-error-code"?: string;
472
+ }
473
+ /** Enables interactive querying. */
474
+ export interface IntegrationRuntimesEnableInteractiveQueryDefaultResponse extends HttpResponse {
475
+ status: string;
476
+ body: ErrorResponseModelOutput;
477
+ headers: RawHttpHeaders & IntegrationRuntimesEnableInteractiveQueryDefaultHeaders;
478
+ }
479
+ /** Lists managed virtual networks in an account. */
480
+ export interface ManagedVirtualNetworksListByAccount200Response extends HttpResponse {
481
+ status: "200";
482
+ body: ManagedVirtualNetworkListOutput;
483
+ }
484
+ export interface ManagedVirtualNetworksListByAccountDefaultHeaders {
485
+ /** String error code indicating what went wrong. */
486
+ "x-ms-error-code"?: string;
222
487
  }
223
- /** Deletes the scan associated with the data source */
488
+ /** Lists managed virtual networks in an account. */
489
+ export interface ManagedVirtualNetworksListByAccountDefaultResponse extends HttpResponse {
490
+ status: string;
491
+ body: ErrorResponseModelOutput;
492
+ headers: RawHttpHeaders & ManagedVirtualNetworksListByAccountDefaultHeaders;
493
+ }
494
+ /** Gets a managed virtual network. */
495
+ export interface ManagedVirtualNetworksGet200Response extends HttpResponse {
496
+ status: "200";
497
+ body: ManagedVirtualNetworkOutput;
498
+ }
499
+ export interface ManagedVirtualNetworksGetDefaultHeaders {
500
+ /** String error code indicating what went wrong. */
501
+ "x-ms-error-code"?: string;
502
+ }
503
+ /** Gets a managed virtual network. */
504
+ export interface ManagedVirtualNetworksGetDefaultResponse extends HttpResponse {
505
+ status: string;
506
+ body: ErrorResponseModelOutput;
507
+ headers: RawHttpHeaders & ManagedVirtualNetworksGetDefaultHeaders;
508
+ }
509
+ /** Creates or replaces a managed virtual network. */
510
+ export interface ManagedVirtualNetworksCreateOrReplace200Response extends HttpResponse {
511
+ status: "200";
512
+ body: ManagedVirtualNetworkOutput;
513
+ }
514
+ /** Creates or replaces a managed virtual network. */
515
+ export interface ManagedVirtualNetworksCreateOrReplace201Response extends HttpResponse {
516
+ status: "201";
517
+ body: ManagedVirtualNetworkOutput;
518
+ }
519
+ export interface ManagedVirtualNetworksCreateOrReplaceDefaultHeaders {
520
+ /** String error code indicating what went wrong. */
521
+ "x-ms-error-code"?: string;
522
+ }
523
+ /** Creates or replaces a managed virtual network. */
524
+ export interface ManagedVirtualNetworksCreateOrReplaceDefaultResponse extends HttpResponse {
525
+ status: string;
526
+ body: ErrorResponseModelOutput;
527
+ headers: RawHttpHeaders & ManagedVirtualNetworksCreateOrReplaceDefaultHeaders;
528
+ }
529
+ /** Lists managed private endpoints under a managed virtual network. */
530
+ export interface ManagedPrivateEndpointsListByAccount200Response extends HttpResponse {
531
+ status: "200";
532
+ body: ManagedPrivateEndpointListOutput;
533
+ }
534
+ export interface ManagedPrivateEndpointsListByAccountDefaultHeaders {
535
+ /** String error code indicating what went wrong. */
536
+ "x-ms-error-code"?: string;
537
+ }
538
+ /** Lists managed private endpoints under a managed virtual network. */
539
+ export interface ManagedPrivateEndpointsListByAccountDefaultResponse extends HttpResponse {
540
+ status: string;
541
+ body: ErrorResponseModelOutput;
542
+ headers: RawHttpHeaders & ManagedPrivateEndpointsListByAccountDefaultHeaders;
543
+ }
544
+ /** Gets a managed private endpoint. */
545
+ export interface ManagedPrivateEndpointsGet200Response extends HttpResponse {
546
+ status: "200";
547
+ body: ManagedPrivateEndpointOutput;
548
+ }
549
+ export interface ManagedPrivateEndpointsGetDefaultHeaders {
550
+ /** String error code indicating what went wrong. */
551
+ "x-ms-error-code"?: string;
552
+ }
553
+ /** Gets a managed private endpoint. */
554
+ export interface ManagedPrivateEndpointsGetDefaultResponse extends HttpResponse {
555
+ status: string;
556
+ body: ErrorResponseModelOutput;
557
+ headers: RawHttpHeaders & ManagedPrivateEndpointsGetDefaultHeaders;
558
+ }
559
+ /** Deletes a managed private endpoint. */
560
+ export interface ManagedPrivateEndpointsDelete204Response extends HttpResponse {
561
+ status: "204";
562
+ }
563
+ export interface ManagedPrivateEndpointsDeleteDefaultHeaders {
564
+ /** String error code indicating what went wrong. */
565
+ "x-ms-error-code"?: string;
566
+ }
567
+ /** Deletes a managed private endpoint. */
568
+ export interface ManagedPrivateEndpointsDeleteDefaultResponse extends HttpResponse {
569
+ status: string;
570
+ body: ErrorResponseModelOutput;
571
+ headers: RawHttpHeaders & ManagedPrivateEndpointsDeleteDefaultHeaders;
572
+ }
573
+ /** Creates or replaces a managed private endpoint. */
574
+ export interface ManagedPrivateEndpointsCreateOrReplace200Response extends HttpResponse {
575
+ status: "200";
576
+ body: ManagedPrivateEndpointOutput;
577
+ }
578
+ /** Creates or replaces a managed private endpoint. */
579
+ export interface ManagedPrivateEndpointsCreateOrReplace201Response extends HttpResponse {
580
+ status: "201";
581
+ body: ManagedPrivateEndpointOutput;
582
+ }
583
+ export interface ManagedPrivateEndpointsCreateOrReplaceDefaultHeaders {
584
+ /** String error code indicating what went wrong. */
585
+ "x-ms-error-code"?: string;
586
+ }
587
+ /** Creates or replaces a managed private endpoint. */
588
+ export interface ManagedPrivateEndpointsCreateOrReplaceDefaultResponse extends HttpResponse {
589
+ status: string;
590
+ body: ErrorResponseModelOutput;
591
+ headers: RawHttpHeaders & ManagedPrivateEndpointsCreateOrReplaceDefaultHeaders;
592
+ }
593
+ /** Creates or replaces an instance of a scan. */
594
+ export interface ScansCreateOrReplace200Response extends HttpResponse {
595
+ status: "200";
596
+ body: ScanOutput;
597
+ }
598
+ /** Creates or replaces an instance of a scan. */
599
+ export interface ScansCreateOrReplace201Response extends HttpResponse {
600
+ status: "201";
601
+ body: ScanOutput;
602
+ }
603
+ export interface ScansCreateOrReplaceDefaultHeaders {
604
+ /** String error code indicating what went wrong. */
605
+ "x-ms-error-code"?: string;
606
+ }
607
+ /** Creates or replaces an instance of a scan. */
608
+ export interface ScansCreateOrReplaceDefaultResponse extends HttpResponse {
609
+ status: string;
610
+ body: ErrorResponseModelOutput;
611
+ headers: RawHttpHeaders & ScansCreateOrReplaceDefaultHeaders;
612
+ }
613
+ /** Gets a scan information. */
614
+ export interface ScansGet200Response extends HttpResponse {
615
+ status: "200";
616
+ body: ScanOutput;
617
+ }
618
+ export interface ScansGetDefaultHeaders {
619
+ /** String error code indicating what went wrong. */
620
+ "x-ms-error-code"?: string;
621
+ }
622
+ /** Gets a scan information. */
623
+ export interface ScansGetDefaultResponse extends HttpResponse {
624
+ status: string;
625
+ body: ErrorResponseModelOutput;
626
+ headers: RawHttpHeaders & ScansGetDefaultHeaders;
627
+ }
628
+ /** Deletes the scan associated with the data source. */
224
629
  export interface ScansDelete204Response extends HttpResponse {
225
630
  status: "204";
226
- body: Record<string, unknown>;
227
631
  }
228
- /** Deletes the scan associated with the data source */
229
- export interface ScansDeletedefaultResponse extends HttpResponse {
230
- status: "500";
231
- body: ErrorResponseModel;
632
+ export interface ScansDeleteDefaultHeaders {
633
+ /** String error code indicating what went wrong. */
634
+ "x-ms-error-code"?: string;
232
635
  }
233
- /** List scans in data source */
636
+ /** Deletes the scan associated with the data source. */
637
+ export interface ScansDeleteDefaultResponse extends HttpResponse {
638
+ status: string;
639
+ body: ErrorResponseModelOutput;
640
+ headers: RawHttpHeaders & ScansDeleteDefaultHeaders;
641
+ }
642
+ /** Lists scans in data source. */
234
643
  export interface ScansListByDataSource200Response extends HttpResponse {
235
644
  status: "200";
236
- body: ScanList;
645
+ body: ScanListOutput;
646
+ }
647
+ export interface ScansListByDataSourceDefaultHeaders {
648
+ /** String error code indicating what went wrong. */
649
+ "x-ms-error-code"?: string;
650
+ }
651
+ /** Lists scans in data source. */
652
+ export interface ScansListByDataSourceDefaultResponse extends HttpResponse {
653
+ status: string;
654
+ body: ErrorResponseModelOutput;
655
+ headers: RawHttpHeaders & ScansListByDataSourceDefaultHeaders;
656
+ }
657
+ /** Gets the status of the scan run with ingestion details. */
658
+ export interface ScanResultGetScanStatus200Response extends HttpResponse {
659
+ status: "200";
660
+ body: ScanResultWithIngestionOutput;
661
+ }
662
+ export interface ScanResultGetScanStatusDefaultHeaders {
663
+ /** String error code indicating what went wrong. */
664
+ "x-ms-error-code"?: string;
665
+ }
666
+ /** Gets the status of the scan run with ingestion details. */
667
+ export interface ScanResultGetScanStatusDefaultResponse extends HttpResponse {
668
+ status: string;
669
+ body: ErrorResponseModelOutput;
670
+ headers: RawHttpHeaders & ScanResultGetScanStatusDefaultHeaders;
237
671
  }
238
- /** List scans in data source */
239
- export interface ScansListByDataSourcedefaultResponse extends HttpResponse {
240
- status: "500";
241
- body: ErrorResponseModel;
672
+ export interface ScanResultRunScan202Headers {
673
+ /** Response header for long running operation. */
674
+ "operation-location"?: string;
242
675
  }
243
676
  /** Runs the scan */
244
677
  export interface ScanResultRunScan202Response extends HttpResponse {
245
678
  status: "202";
246
- body: OperationResponse;
679
+ body: ScanResultWithIngestionOutput;
680
+ headers: RawHttpHeaders & ScanResultRunScan202Headers;
247
681
  }
248
682
  /** Runs the scan */
249
- export interface ScanResultRunScandefaultResponse extends HttpResponse {
250
- status: "500";
251
- body: ErrorResponseModel;
683
+ export interface ScanResultRunScanDefaultResponse extends HttpResponse {
684
+ status: string;
685
+ body: ErrorResponseModelOutput;
252
686
  }
253
- /** Cancels a scan */
687
+ export interface ScanResultCancelScan202Headers {
688
+ /** Response header for long running operation. */
689
+ "operation-location"?: string;
690
+ }
691
+ /** Cancels a scan. */
254
692
  export interface ScanResultCancelScan202Response extends HttpResponse {
255
693
  status: "202";
256
- body: OperationResponse;
694
+ body: OperationResponseOutput;
695
+ headers: RawHttpHeaders & ScanResultCancelScan202Headers;
696
+ }
697
+ export interface ScanResultCancelScanDefaultHeaders {
698
+ /** String error code indicating what went wrong. */
699
+ "x-ms-error-code"?: string;
257
700
  }
258
- /** Cancels a scan */
259
- export interface ScanResultCancelScandefaultResponse extends HttpResponse {
260
- status: "500";
261
- body: ErrorResponseModel;
701
+ /** Cancels a scan. */
702
+ export interface ScanResultCancelScanDefaultResponse extends HttpResponse {
703
+ status: string;
704
+ body: ErrorResponseModelOutput;
705
+ headers: RawHttpHeaders & ScanResultCancelScanDefaultHeaders;
262
706
  }
263
- /** Lists the scan history of a scan */
707
+ /** Lists the scan history of a scan. */
264
708
  export interface ScanResultListScanHistory200Response extends HttpResponse {
265
709
  status: "200";
266
- body: ScanHistoryList;
710
+ body: ScanHistoryListWithIngestionOutput;
267
711
  }
268
- /** Lists the scan history of a scan */
269
- export interface ScanResultListScanHistorydefaultResponse extends HttpResponse {
270
- status: "500";
271
- body: ErrorResponseModel;
712
+ export interface ScanResultListScanHistoryDefaultHeaders {
713
+ /** String error code indicating what went wrong. */
714
+ "x-ms-error-code"?: string;
272
715
  }
273
- /** Get a scan ruleset */
716
+ /** Lists the scan history of a scan. */
717
+ export interface ScanResultListScanHistoryDefaultResponse extends HttpResponse {
718
+ status: string;
719
+ body: ErrorResponseModelOutput;
720
+ headers: RawHttpHeaders & ScanResultListScanHistoryDefaultHeaders;
721
+ }
722
+ /** Gets a scan ruleset. */
274
723
  export interface ScanRulesetsGet200Response extends HttpResponse {
275
724
  status: "200";
276
- body: ScanRuleset;
725
+ body: ScanRulesetOutput;
726
+ }
727
+ export interface ScanRulesetsGetDefaultHeaders {
728
+ /** String error code indicating what went wrong. */
729
+ "x-ms-error-code"?: string;
277
730
  }
278
- /** Get a scan ruleset */
279
- export interface ScanRulesetsGetdefaultResponse extends HttpResponse {
280
- status: "500";
281
- body: ErrorResponseModel;
731
+ /** Gets a scan ruleset. */
732
+ export interface ScanRulesetsGetDefaultResponse extends HttpResponse {
733
+ status: string;
734
+ body: ErrorResponseModelOutput;
735
+ headers: RawHttpHeaders & ScanRulesetsGetDefaultHeaders;
282
736
  }
283
- /** Creates or Updates a scan ruleset */
284
- export interface ScanRulesetsCreateOrUpdate200Response extends HttpResponse {
737
+ /** Creates or replaces a scan ruleset. */
738
+ export interface ScanRulesetsCreateOrReplace200Response extends HttpResponse {
285
739
  status: "200";
286
- body: ScanRuleset;
740
+ body: ScanRulesetOutput;
287
741
  }
288
- /** Creates or Updates a scan ruleset */
289
- export interface ScanRulesetsCreateOrUpdate201Response extends HttpResponse {
742
+ /** Creates or replaces a scan ruleset. */
743
+ export interface ScanRulesetsCreateOrReplace201Response extends HttpResponse {
290
744
  status: "201";
291
- body: ScanRuleset;
745
+ body: ScanRulesetOutput;
292
746
  }
293
- /** Creates or Updates a scan ruleset */
294
- export interface ScanRulesetsCreateOrUpdatedefaultResponse extends HttpResponse {
295
- status: "500";
296
- body: ErrorResponseModel;
747
+ export interface ScanRulesetsCreateOrReplaceDefaultHeaders {
748
+ /** String error code indicating what went wrong. */
749
+ "x-ms-error-code"?: string;
297
750
  }
298
- /** Deletes a scan ruleset */
299
- export interface ScanRulesetsDelete200Response extends HttpResponse {
300
- status: "200";
301
- body: ScanRuleset;
751
+ /** Creates or replaces a scan ruleset. */
752
+ export interface ScanRulesetsCreateOrReplaceDefaultResponse extends HttpResponse {
753
+ status: string;
754
+ body: ErrorResponseModelOutput;
755
+ headers: RawHttpHeaders & ScanRulesetsCreateOrReplaceDefaultHeaders;
302
756
  }
303
- /** Deletes a scan ruleset */
757
+ /** Deletes a scan ruleset. */
304
758
  export interface ScanRulesetsDelete204Response extends HttpResponse {
305
759
  status: "204";
306
- body: Record<string, unknown>;
307
760
  }
308
- /** Deletes a scan ruleset */
309
- export interface ScanRulesetsDeletedefaultResponse extends HttpResponse {
310
- status: "500";
311
- body: ErrorResponseModel;
761
+ export interface ScanRulesetsDeleteDefaultHeaders {
762
+ /** String error code indicating what went wrong. */
763
+ "x-ms-error-code"?: string;
764
+ }
765
+ /** Deletes a scan ruleset. */
766
+ export interface ScanRulesetsDeleteDefaultResponse extends HttpResponse {
767
+ status: string;
768
+ body: ErrorResponseModelOutput;
769
+ headers: RawHttpHeaders & ScanRulesetsDeleteDefaultHeaders;
312
770
  }
313
- /** List scan rulesets in Data catalog */
314
- export interface ScanRulesetsListAll200Response extends HttpResponse {
771
+ /** Lists scan rulesets in data catalog. */
772
+ export interface ScanRulesetsList200Response extends HttpResponse {
315
773
  status: "200";
316
- body: ScanRulesetList;
774
+ body: ScanRulesetListOutput;
317
775
  }
318
- /** List scan rulesets in Data catalog */
319
- export interface ScanRulesetsListAlldefaultResponse extends HttpResponse {
320
- status: "500";
321
- body: ErrorResponseModel;
776
+ export interface ScanRulesetsListDefaultHeaders {
777
+ /** String error code indicating what went wrong. */
778
+ "x-ms-error-code"?: string;
322
779
  }
323
- /** List all system scan rulesets for an account */
324
- export interface SystemScanRulesetsListAll200Response extends HttpResponse {
780
+ /** Lists scan rulesets in data catalog. */
781
+ export interface ScanRulesetsListDefaultResponse extends HttpResponse {
782
+ status: string;
783
+ body: ErrorResponseModelOutput;
784
+ headers: RawHttpHeaders & ScanRulesetsListDefaultHeaders;
785
+ }
786
+ /** Lists all system scan rulesets for an account. */
787
+ export interface SystemScanRulesetsList200Response extends HttpResponse {
325
788
  status: "200";
326
- body: SystemScanRulesetList;
789
+ body: SystemScanRulesetListOutput;
790
+ }
791
+ export interface SystemScanRulesetsListDefaultHeaders {
792
+ /** String error code indicating what went wrong. */
793
+ "x-ms-error-code"?: string;
327
794
  }
328
- /** List all system scan rulesets for an account */
329
- export interface SystemScanRulesetsListAlldefaultResponse extends HttpResponse {
330
- status: "500";
331
- body: ErrorResponseModel;
795
+ /** Lists all system scan rulesets for an account. */
796
+ export interface SystemScanRulesetsListDefaultResponse extends HttpResponse {
797
+ status: string;
798
+ body: ErrorResponseModelOutput;
799
+ headers: RawHttpHeaders & SystemScanRulesetsListDefaultHeaders;
332
800
  }
333
- /** Get a system scan ruleset for a data source */
801
+ /** Gets a system scan ruleset for a data source. */
334
802
  export interface SystemScanRulesetsGet200Response extends HttpResponse {
335
803
  status: "200";
336
- body: SystemScanRuleset;
804
+ body: SystemScanRulesetOutput;
805
+ }
806
+ export interface SystemScanRulesetsGetDefaultHeaders {
807
+ /** String error code indicating what went wrong. */
808
+ "x-ms-error-code"?: string;
337
809
  }
338
- /** Get a system scan ruleset for a data source */
339
- export interface SystemScanRulesetsGetdefaultResponse extends HttpResponse {
340
- status: "500";
341
- body: ErrorResponseModel;
810
+ /** Gets a system scan ruleset for a data source. */
811
+ export interface SystemScanRulesetsGetDefaultResponse extends HttpResponse {
812
+ status: string;
813
+ body: ErrorResponseModelOutput;
814
+ headers: RawHttpHeaders & SystemScanRulesetsGetDefaultHeaders;
342
815
  }
343
- /** Get a scan ruleset by version */
816
+ /** Gets a scan ruleset by version. */
344
817
  export interface SystemScanRulesetsGetByVersion200Response extends HttpResponse {
345
818
  status: "200";
346
- body: SystemScanRuleset;
819
+ body: SystemScanRulesetOutput;
347
820
  }
348
- /** Get a scan ruleset by version */
349
- export interface SystemScanRulesetsGetByVersiondefaultResponse extends HttpResponse {
350
- status: "500";
351
- body: ErrorResponseModel;
821
+ export interface SystemScanRulesetsGetByVersionDefaultHeaders {
822
+ /** String error code indicating what went wrong. */
823
+ "x-ms-error-code"?: string;
352
824
  }
353
- /** Get the latest version of a system scan ruleset */
825
+ /** Gets a scan ruleset by version. */
826
+ export interface SystemScanRulesetsGetByVersionDefaultResponse extends HttpResponse {
827
+ status: string;
828
+ body: ErrorResponseModelOutput;
829
+ headers: RawHttpHeaders & SystemScanRulesetsGetByVersionDefaultHeaders;
830
+ }
831
+ /** Gets the latest version of a system scan ruleset. */
354
832
  export interface SystemScanRulesetsGetLatest200Response extends HttpResponse {
355
833
  status: "200";
356
- body: SystemScanRuleset;
834
+ body: SystemScanRulesetOutput;
835
+ }
836
+ export interface SystemScanRulesetsGetLatestDefaultHeaders {
837
+ /** String error code indicating what went wrong. */
838
+ "x-ms-error-code"?: string;
357
839
  }
358
- /** Get the latest version of a system scan ruleset */
359
- export interface SystemScanRulesetsGetLatestdefaultResponse extends HttpResponse {
360
- status: "500";
361
- body: ErrorResponseModel;
840
+ /** Gets the latest version of a system scan ruleset. */
841
+ export interface SystemScanRulesetsGetLatestDefaultResponse extends HttpResponse {
842
+ status: string;
843
+ body: ErrorResponseModelOutput;
844
+ headers: RawHttpHeaders & SystemScanRulesetsGetLatestDefaultHeaders;
362
845
  }
363
- /** List system scan ruleset versions in Data catalog */
846
+ /** Lists system scan ruleset versions in data catalog. */
364
847
  export interface SystemScanRulesetsListVersionsByDataSource200Response extends HttpResponse {
365
848
  status: "200";
366
- body: SystemScanRulesetList;
849
+ body: SystemScanRulesetListOutput;
367
850
  }
368
- /** List system scan ruleset versions in Data catalog */
369
- export interface SystemScanRulesetsListVersionsByDataSourcedefaultResponse extends HttpResponse {
370
- status: "500";
371
- body: ErrorResponseModel;
851
+ export interface SystemScanRulesetsListVersionsByDataSourceDefaultHeaders {
852
+ /** String error code indicating what went wrong. */
853
+ "x-ms-error-code"?: string;
372
854
  }
373
- /** Gets trigger information */
374
- export interface TriggersGetTrigger200Response extends HttpResponse {
855
+ /** Lists system scan ruleset versions in data catalog. */
856
+ export interface SystemScanRulesetsListVersionsByDataSourceDefaultResponse extends HttpResponse {
857
+ status: string;
858
+ body: ErrorResponseModelOutput;
859
+ headers: RawHttpHeaders & SystemScanRulesetsListVersionsByDataSourceDefaultHeaders;
860
+ }
861
+ /** Gets trigger information. */
862
+ export interface TriggersGet200Response extends HttpResponse {
375
863
  status: "200";
376
- body: Trigger;
864
+ body: TriggerOutput;
865
+ }
866
+ export interface TriggersGetDefaultHeaders {
867
+ /** String error code indicating what went wrong. */
868
+ "x-ms-error-code"?: string;
377
869
  }
378
- /** Gets trigger information */
379
- export interface TriggersGetTriggerdefaultResponse extends HttpResponse {
380
- status: "500";
381
- body: ErrorResponseModel;
870
+ /** Gets trigger information. */
871
+ export interface TriggersGetDefaultResponse extends HttpResponse {
872
+ status: string;
873
+ body: ErrorResponseModelOutput;
874
+ headers: RawHttpHeaders & TriggersGetDefaultHeaders;
382
875
  }
383
- /** Creates an instance of a trigger */
384
- export interface TriggersCreateTrigger200Response extends HttpResponse {
876
+ /** Creates or replaces an instance of a trigger. */
877
+ export interface TriggersCreateOrReplace200Response extends HttpResponse {
385
878
  status: "200";
386
- body: Trigger;
879
+ body: TriggerOutput;
387
880
  }
388
- /** Creates an instance of a trigger */
389
- export interface TriggersCreateTrigger201Response extends HttpResponse {
881
+ /** Creates or replaces an instance of a trigger. */
882
+ export interface TriggersCreateOrReplace201Response extends HttpResponse {
390
883
  status: "201";
391
- body: Trigger;
884
+ body: TriggerOutput;
392
885
  }
393
- /** Creates an instance of a trigger */
394
- export interface TriggersCreateTriggerdefaultResponse extends HttpResponse {
395
- status: "500";
396
- body: ErrorResponseModel;
886
+ export interface TriggersCreateOrReplaceDefaultHeaders {
887
+ /** String error code indicating what went wrong. */
888
+ "x-ms-error-code"?: string;
397
889
  }
398
- /** Deletes the trigger associated with the scan */
399
- export interface TriggersDeleteTrigger200Response extends HttpResponse {
400
- status: "200";
401
- body: Trigger;
890
+ /** Creates or replaces an instance of a trigger. */
891
+ export interface TriggersCreateOrReplaceDefaultResponse extends HttpResponse {
892
+ status: string;
893
+ body: ErrorResponseModelOutput;
894
+ headers: RawHttpHeaders & TriggersCreateOrReplaceDefaultHeaders;
402
895
  }
403
- /** Deletes the trigger associated with the scan */
404
- export interface TriggersDeleteTrigger204Response extends HttpResponse {
896
+ /** Deletes the trigger associated with the scan. */
897
+ export interface TriggersDelete204Response extends HttpResponse {
405
898
  status: "204";
406
- body: Record<string, unknown>;
407
899
  }
408
- /** Deletes the trigger associated with the scan */
409
- export interface TriggersDeleteTriggerdefaultResponse extends HttpResponse {
410
- status: "500";
411
- body: ErrorResponseModel;
900
+ export interface TriggersDeleteDefaultHeaders {
901
+ /** String error code indicating what went wrong. */
902
+ "x-ms-error-code"?: string;
903
+ }
904
+ /** Deletes the trigger associated with the scan. */
905
+ export interface TriggersDeleteDefaultResponse extends HttpResponse {
906
+ status: string;
907
+ body: ErrorResponseModelOutput;
908
+ headers: RawHttpHeaders & TriggersDeleteDefaultHeaders;
909
+ }
910
+ /** Enables a trigger. */
911
+ export interface TriggersEnable200Response extends HttpResponse {
912
+ status: "200";
913
+ body: TriggerOutput;
914
+ }
915
+ export interface TriggersEnableDefaultHeaders {
916
+ /** String error code indicating what went wrong. */
917
+ "x-ms-error-code"?: string;
918
+ }
919
+ /** Enables a trigger. */
920
+ export interface TriggersEnableDefaultResponse extends HttpResponse {
921
+ status: string;
922
+ body: ErrorResponseModelOutput;
923
+ headers: RawHttpHeaders & TriggersEnableDefaultHeaders;
924
+ }
925
+ /** Disables a trigger. */
926
+ export interface TriggersDisable200Response extends HttpResponse {
927
+ status: "200";
928
+ body: TriggerOutput;
929
+ }
930
+ export interface TriggersDisableDefaultHeaders {
931
+ /** String error code indicating what went wrong. */
932
+ "x-ms-error-code"?: string;
933
+ }
934
+ /** Disables a trigger. */
935
+ export interface TriggersDisableDefaultResponse extends HttpResponse {
936
+ status: string;
937
+ body: ErrorResponseModelOutput;
938
+ headers: RawHttpHeaders & TriggersDisableDefaultHeaders;
412
939
  }
413
940
  //# sourceMappingURL=responses.d.ts.map