@azure/arm-cognitiveservices 7.5.0 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/CHANGELOG.md +196 -8
  2. package/LICENSE +1 -1
  3. package/README.md +4 -5
  4. package/dist/index.js +8300 -4017
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/accountsCreateSample.js +10 -10
  9. package/dist-esm/samples-dev/accountsCreateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/accountsDeleteSample.js +1 -1
  11. package/dist-esm/samples-dev/accountsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +5 -10
  13. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -1
  14. package/dist-esm/samples-dev/accountsListKeysSample.js +1 -1
  15. package/dist-esm/samples-dev/accountsListModelsSample.js +5 -10
  16. package/dist-esm/samples-dev/accountsListModelsSample.js.map +1 -1
  17. package/dist-esm/samples-dev/accountsListSample.js +5 -10
  18. package/dist-esm/samples-dev/accountsListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/accountsListSkusSample.js +1 -1
  20. package/dist-esm/samples-dev/accountsListUsagesSample.js +1 -1
  21. package/dist-esm/samples-dev/accountsRegenerateKeySample.js +1 -1
  22. package/dist-esm/samples-dev/accountsUpdateSample.js +2 -2
  23. package/dist-esm/samples-dev/accountsUpdateSample.js.map +1 -1
  24. package/dist-esm/samples-dev/calculateModelCapacitySample.d.ts +2 -0
  25. package/dist-esm/samples-dev/calculateModelCapacitySample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/calculateModelCapacitySample.js +54 -0
  27. package/dist-esm/samples-dev/calculateModelCapacitySample.js.map +1 -0
  28. package/dist-esm/samples-dev/checkDomainAvailabilitySample.js +5 -3
  29. package/dist-esm/samples-dev/checkDomainAvailabilitySample.js.map +1 -1
  30. package/dist-esm/samples-dev/checkSkuAvailabilitySample.js +1 -1
  31. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateAssociationSample.js +3 -3
  32. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateAssociationSample.js.map +1 -1
  33. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdatePlanSample.js +4 -4
  34. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdatePlanSample.js.map +1 -1
  35. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateSample.js +4 -4
  36. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/commitmentPlansDeleteAssociationSample.js +1 -1
  38. package/dist-esm/samples-dev/commitmentPlansDeletePlanSample.js +1 -1
  39. package/dist-esm/samples-dev/commitmentPlansDeleteSample.js +1 -1
  40. package/dist-esm/samples-dev/commitmentPlansGetAssociationSample.js +1 -1
  41. package/dist-esm/samples-dev/commitmentPlansGetPlanSample.js +1 -1
  42. package/dist-esm/samples-dev/commitmentPlansGetSample.js +1 -1
  43. package/dist-esm/samples-dev/commitmentPlansListAssociationsSample.js +5 -10
  44. package/dist-esm/samples-dev/commitmentPlansListAssociationsSample.js.map +1 -1
  45. package/dist-esm/samples-dev/commitmentPlansListPlansByResourceGroupSample.js +5 -10
  46. package/dist-esm/samples-dev/commitmentPlansListPlansByResourceGroupSample.js.map +1 -1
  47. package/dist-esm/samples-dev/commitmentPlansListPlansBySubscriptionSample.js +5 -10
  48. package/dist-esm/samples-dev/commitmentPlansListPlansBySubscriptionSample.js.map +1 -1
  49. package/dist-esm/samples-dev/commitmentPlansListSample.js +5 -10
  50. package/dist-esm/samples-dev/commitmentPlansListSample.js.map +1 -1
  51. package/dist-esm/samples-dev/commitmentPlansUpdatePlanSample.js +2 -2
  52. package/dist-esm/samples-dev/commitmentPlansUpdatePlanSample.js.map +1 -1
  53. package/dist-esm/samples-dev/commitmentTiersListSample.js +5 -10
  54. package/dist-esm/samples-dev/commitmentTiersListSample.js.map +1 -1
  55. package/dist-esm/samples-dev/defenderForAiSettingsCreateOrUpdateSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/defenderForAiSettingsCreateOrUpdateSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/defenderForAiSettingsCreateOrUpdateSample.js +41 -0
  58. package/dist-esm/samples-dev/defenderForAiSettingsCreateOrUpdateSample.js.map +1 -0
  59. package/dist-esm/samples-dev/defenderForAiSettingsGetSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/defenderForAiSettingsGetSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/defenderForAiSettingsGetSample.js +40 -0
  62. package/dist-esm/samples-dev/defenderForAiSettingsGetSample.js.map +1 -0
  63. package/dist-esm/samples-dev/defenderForAiSettingsListSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/defenderForAiSettingsListSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/defenderForAiSettingsListSample.js +55 -0
  66. package/dist-esm/samples-dev/defenderForAiSettingsListSample.js.map +1 -0
  67. package/dist-esm/samples-dev/defenderForAiSettingsUpdateSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/defenderForAiSettingsUpdateSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/defenderForAiSettingsUpdateSample.js +41 -0
  70. package/dist-esm/samples-dev/defenderForAiSettingsUpdateSample.js.map +1 -0
  71. package/dist-esm/samples-dev/deletedAccountsGetSample.js +1 -1
  72. package/dist-esm/samples-dev/deletedAccountsListSample.js +5 -10
  73. package/dist-esm/samples-dev/deletedAccountsListSample.js.map +1 -1
  74. package/dist-esm/samples-dev/deletedAccountsPurgeSample.js +1 -1
  75. package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js +3 -3
  76. package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js.map +1 -1
  77. package/dist-esm/samples-dev/deploymentsDeleteSample.js +1 -1
  78. package/dist-esm/samples-dev/deploymentsGetSample.js +1 -1
  79. package/dist-esm/samples-dev/deploymentsListSample.js +5 -10
  80. package/dist-esm/samples-dev/deploymentsListSample.js.map +1 -1
  81. package/dist-esm/samples-dev/deploymentsListSkusSample.d.ts +2 -0
  82. package/dist-esm/samples-dev/deploymentsListSkusSample.d.ts.map +1 -0
  83. package/dist-esm/samples-dev/deploymentsListSkusSample.js +56 -0
  84. package/dist-esm/samples-dev/deploymentsListSkusSample.js.map +1 -0
  85. package/dist-esm/samples-dev/deploymentsUpdateSample.d.ts +2 -0
  86. package/dist-esm/samples-dev/deploymentsUpdateSample.d.ts.map +1 -0
  87. package/dist-esm/samples-dev/deploymentsUpdateSample.js +43 -0
  88. package/dist-esm/samples-dev/deploymentsUpdateSample.js.map +1 -0
  89. package/dist-esm/samples-dev/encryptionScopesCreateOrUpdateSample.d.ts +2 -0
  90. package/dist-esm/samples-dev/encryptionScopesCreateOrUpdateSample.d.ts.map +1 -0
  91. package/dist-esm/samples-dev/encryptionScopesCreateOrUpdateSample.js +52 -0
  92. package/dist-esm/samples-dev/encryptionScopesCreateOrUpdateSample.js.map +1 -0
  93. package/dist-esm/samples-dev/encryptionScopesDeleteSample.d.ts +2 -0
  94. package/dist-esm/samples-dev/encryptionScopesDeleteSample.d.ts.map +1 -0
  95. package/dist-esm/samples-dev/encryptionScopesDeleteSample.js +40 -0
  96. package/dist-esm/samples-dev/encryptionScopesDeleteSample.js.map +1 -0
  97. package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts +2 -0
  98. package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts.map +1 -0
  99. package/dist-esm/samples-dev/encryptionScopesGetSample.js +40 -0
  100. package/dist-esm/samples-dev/encryptionScopesGetSample.js.map +1 -0
  101. package/dist-esm/samples-dev/encryptionScopesListSample.d.ts +2 -0
  102. package/dist-esm/samples-dev/encryptionScopesListSample.d.ts.map +1 -0
  103. package/dist-esm/samples-dev/encryptionScopesListSample.js +55 -0
  104. package/dist-esm/samples-dev/encryptionScopesListSample.js.map +1 -0
  105. package/dist-esm/samples-dev/locationBasedModelCapacitiesListSample.d.ts +2 -0
  106. package/dist-esm/samples-dev/locationBasedModelCapacitiesListSample.d.ts.map +1 -0
  107. package/dist-esm/samples-dev/locationBasedModelCapacitiesListSample.js +57 -0
  108. package/dist-esm/samples-dev/locationBasedModelCapacitiesListSample.js.map +1 -0
  109. package/dist-esm/samples-dev/modelCapacitiesListSample.d.ts +2 -0
  110. package/dist-esm/samples-dev/modelCapacitiesListSample.d.ts.map +1 -0
  111. package/dist-esm/samples-dev/modelCapacitiesListSample.js +56 -0
  112. package/dist-esm/samples-dev/modelCapacitiesListSample.js.map +1 -0
  113. package/dist-esm/samples-dev/modelsListSample.js +7 -12
  114. package/dist-esm/samples-dev/modelsListSample.js.map +1 -1
  115. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
  116. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
  117. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +40 -0
  118. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
  119. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts +2 -0
  120. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts.map +1 -0
  121. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +55 -0
  122. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -0
  123. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
  124. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
  125. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +40 -0
  126. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
  127. package/dist-esm/samples-dev/operationsListSample.js +5 -10
  128. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  129. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +5 -5
  130. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  131. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  132. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  133. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
  134. package/dist-esm/samples-dev/privateLinkResourcesListSample.js +1 -1
  135. package/dist-esm/samples-dev/raiBlocklistItemsBatchAddSample.d.ts +2 -0
  136. package/dist-esm/samples-dev/raiBlocklistItemsBatchAddSample.d.ts.map +1 -0
  137. package/dist-esm/samples-dev/raiBlocklistItemsBatchAddSample.js +50 -0
  138. package/dist-esm/samples-dev/raiBlocklistItemsBatchAddSample.js.map +1 -0
  139. package/dist-esm/samples-dev/raiBlocklistItemsBatchDeleteSample.d.ts +2 -0
  140. package/dist-esm/samples-dev/raiBlocklistItemsBatchDeleteSample.d.ts.map +1 -0
  141. package/dist-esm/samples-dev/raiBlocklistItemsBatchDeleteSample.js +44 -0
  142. package/dist-esm/samples-dev/raiBlocklistItemsBatchDeleteSample.js.map +1 -0
  143. package/dist-esm/samples-dev/raiBlocklistItemsCreateOrUpdateSample.d.ts +2 -0
  144. package/dist-esm/samples-dev/raiBlocklistItemsCreateOrUpdateSample.d.ts.map +1 -0
  145. package/dist-esm/samples-dev/raiBlocklistItemsCreateOrUpdateSample.js +44 -0
  146. package/dist-esm/samples-dev/raiBlocklistItemsCreateOrUpdateSample.js.map +1 -0
  147. package/dist-esm/samples-dev/raiBlocklistItemsDeleteSample.d.ts +2 -0
  148. package/dist-esm/samples-dev/raiBlocklistItemsDeleteSample.d.ts.map +1 -0
  149. package/dist-esm/samples-dev/raiBlocklistItemsDeleteSample.js +41 -0
  150. package/dist-esm/samples-dev/raiBlocklistItemsDeleteSample.js.map +1 -0
  151. package/dist-esm/samples-dev/raiBlocklistItemsGetSample.d.ts +2 -0
  152. package/dist-esm/samples-dev/raiBlocklistItemsGetSample.d.ts.map +1 -0
  153. package/dist-esm/samples-dev/raiBlocklistItemsGetSample.js +41 -0
  154. package/dist-esm/samples-dev/raiBlocklistItemsGetSample.js.map +1 -0
  155. package/dist-esm/samples-dev/raiBlocklistItemsListSample.d.ts +2 -0
  156. package/dist-esm/samples-dev/raiBlocklistItemsListSample.d.ts.map +1 -0
  157. package/dist-esm/samples-dev/raiBlocklistItemsListSample.js +56 -0
  158. package/dist-esm/samples-dev/raiBlocklistItemsListSample.js.map +1 -0
  159. package/dist-esm/samples-dev/raiBlocklistsCreateOrUpdateSample.d.ts +2 -0
  160. package/dist-esm/samples-dev/raiBlocklistsCreateOrUpdateSample.d.ts.map +1 -0
  161. package/dist-esm/samples-dev/raiBlocklistsCreateOrUpdateSample.js +43 -0
  162. package/dist-esm/samples-dev/raiBlocklistsCreateOrUpdateSample.js.map +1 -0
  163. package/dist-esm/samples-dev/raiBlocklistsDeleteSample.d.ts +2 -0
  164. package/dist-esm/samples-dev/raiBlocklistsDeleteSample.d.ts.map +1 -0
  165. package/dist-esm/samples-dev/raiBlocklistsDeleteSample.js +40 -0
  166. package/dist-esm/samples-dev/raiBlocklistsDeleteSample.js.map +1 -0
  167. package/dist-esm/samples-dev/raiBlocklistsGetSample.d.ts +2 -0
  168. package/dist-esm/samples-dev/raiBlocklistsGetSample.d.ts.map +1 -0
  169. package/dist-esm/samples-dev/raiBlocklistsGetSample.js +40 -0
  170. package/dist-esm/samples-dev/raiBlocklistsGetSample.js.map +1 -0
  171. package/dist-esm/samples-dev/raiBlocklistsListSample.d.ts +2 -0
  172. package/dist-esm/samples-dev/raiBlocklistsListSample.d.ts.map +1 -0
  173. package/dist-esm/samples-dev/raiBlocklistsListSample.js +55 -0
  174. package/dist-esm/samples-dev/raiBlocklistsListSample.js.map +1 -0
  175. package/dist-esm/samples-dev/raiContentFiltersGetSample.d.ts +2 -0
  176. package/dist-esm/samples-dev/raiContentFiltersGetSample.d.ts.map +1 -0
  177. package/dist-esm/samples-dev/raiContentFiltersGetSample.js +39 -0
  178. package/dist-esm/samples-dev/raiContentFiltersGetSample.js.map +1 -0
  179. package/dist-esm/samples-dev/raiContentFiltersListSample.d.ts +2 -0
  180. package/dist-esm/samples-dev/raiContentFiltersListSample.d.ts.map +1 -0
  181. package/dist-esm/samples-dev/raiContentFiltersListSample.js +54 -0
  182. package/dist-esm/samples-dev/raiContentFiltersListSample.js.map +1 -0
  183. package/dist-esm/samples-dev/raiPoliciesCreateOrUpdateSample.d.ts +2 -0
  184. package/dist-esm/samples-dev/raiPoliciesCreateOrUpdateSample.d.ts.map +1 -0
  185. package/dist-esm/samples-dev/raiPoliciesCreateOrUpdateSample.js +118 -0
  186. package/dist-esm/samples-dev/raiPoliciesCreateOrUpdateSample.js.map +1 -0
  187. package/dist-esm/samples-dev/raiPoliciesDeleteSample.d.ts +2 -0
  188. package/dist-esm/samples-dev/raiPoliciesDeleteSample.d.ts.map +1 -0
  189. package/dist-esm/samples-dev/raiPoliciesDeleteSample.js +40 -0
  190. package/dist-esm/samples-dev/raiPoliciesDeleteSample.js.map +1 -0
  191. package/dist-esm/samples-dev/raiPoliciesGetSample.d.ts +2 -0
  192. package/dist-esm/samples-dev/raiPoliciesGetSample.d.ts.map +1 -0
  193. package/dist-esm/samples-dev/raiPoliciesGetSample.js +40 -0
  194. package/dist-esm/samples-dev/raiPoliciesGetSample.js.map +1 -0
  195. package/dist-esm/samples-dev/raiPoliciesListSample.d.ts +2 -0
  196. package/dist-esm/samples-dev/raiPoliciesListSample.d.ts.map +1 -0
  197. package/dist-esm/samples-dev/raiPoliciesListSample.js +55 -0
  198. package/dist-esm/samples-dev/raiPoliciesListSample.js.map +1 -0
  199. package/dist-esm/samples-dev/resourceSkusListSample.js +5 -10
  200. package/dist-esm/samples-dev/resourceSkusListSample.js.map +1 -1
  201. package/dist-esm/samples-dev/usagesListSample.js +5 -10
  202. package/dist-esm/samples-dev/usagesListSample.js.map +1 -1
  203. package/dist-esm/src/cognitiveServicesManagementClient.d.ts +17 -3
  204. package/dist-esm/src/cognitiveServicesManagementClient.d.ts.map +1 -1
  205. package/dist-esm/src/cognitiveServicesManagementClient.js +64 -22
  206. package/dist-esm/src/cognitiveServicesManagementClient.js.map +1 -1
  207. package/dist-esm/src/index.d.ts +0 -1
  208. package/dist-esm/src/index.d.ts.map +1 -1
  209. package/dist-esm/src/lroImpl.js +1 -1
  210. package/dist-esm/src/models/index.d.ts +917 -19
  211. package/dist-esm/src/models/index.d.ts.map +1 -1
  212. package/dist-esm/src/models/index.js +96 -2
  213. package/dist-esm/src/models/index.js.map +1 -1
  214. package/dist-esm/src/models/mappers.d.ts +54 -2
  215. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  216. package/dist-esm/src/models/mappers.js +2369 -950
  217. package/dist-esm/src/models/mappers.js.map +1 -1
  218. package/dist-esm/src/models/parameters.d.ts +21 -0
  219. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  220. package/dist-esm/src/models/parameters.js +262 -65
  221. package/dist-esm/src/models/parameters.js.map +1 -1
  222. package/dist-esm/src/operations/accounts.d.ts.map +1 -1
  223. package/dist-esm/src/operations/accounts.js +100 -115
  224. package/dist-esm/src/operations/accounts.js.map +1 -1
  225. package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -1
  226. package/dist-esm/src/operations/commitmentPlans.js +141 -161
  227. package/dist-esm/src/operations/commitmentPlans.js.map +1 -1
  228. package/dist-esm/src/operations/commitmentTiers.js +14 -19
  229. package/dist-esm/src/operations/commitmentTiers.js.map +1 -1
  230. package/dist-esm/src/operations/defenderForAISettings.d.ts +64 -0
  231. package/dist-esm/src/operations/defenderForAISettings.d.ts.map +1 -0
  232. package/dist-esm/src/operations/defenderForAISettings.js +267 -0
  233. package/dist-esm/src/operations/defenderForAISettings.js.map +1 -0
  234. package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -1
  235. package/dist-esm/src/operations/deletedAccounts.js +27 -32
  236. package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
  237. package/dist-esm/src/operations/deployments.d.ts +46 -1
  238. package/dist-esm/src/operations/deployments.d.ts.map +1 -1
  239. package/dist-esm/src/operations/deployments.js +269 -46
  240. package/dist-esm/src/operations/deployments.js.map +1 -1
  241. package/dist-esm/src/operations/encryptionScopes.d.ts +76 -0
  242. package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -0
  243. package/dist-esm/src/operations/encryptionScopes.js +320 -0
  244. package/dist-esm/src/operations/encryptionScopes.js.map +1 -0
  245. package/dist-esm/src/operations/index.d.ts +9 -0
  246. package/dist-esm/src/operations/index.d.ts.map +1 -1
  247. package/dist-esm/src/operations/index.js +9 -0
  248. package/dist-esm/src/operations/index.js.map +1 -1
  249. package/dist-esm/src/operations/locationBasedModelCapacities.d.ts +41 -0
  250. package/dist-esm/src/operations/locationBasedModelCapacities.d.ts.map +1 -0
  251. package/dist-esm/src/operations/locationBasedModelCapacities.js +156 -0
  252. package/dist-esm/src/operations/locationBasedModelCapacities.js.map +1 -0
  253. package/dist-esm/src/operations/modelCapacities.d.ts +38 -0
  254. package/dist-esm/src/operations/modelCapacities.d.ts.map +1 -0
  255. package/dist-esm/src/operations/modelCapacities.js +148 -0
  256. package/dist-esm/src/operations/modelCapacities.js.map +1 -0
  257. package/dist-esm/src/operations/models.js +14 -19
  258. package/dist-esm/src/operations/models.js.map +1 -1
  259. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +63 -0
  260. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  261. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +273 -0
  262. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  263. package/dist-esm/src/operations/operations.js +12 -17
  264. package/dist-esm/src/operations/operations.js.map +1 -1
  265. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  266. package/dist-esm/src/operations/privateEndpointConnections.js +34 -34
  267. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  268. package/dist-esm/src/operations/privateLinkResources.js +5 -5
  269. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  270. package/dist-esm/src/operations/raiBlocklistItems.d.ts +97 -0
  271. package/dist-esm/src/operations/raiBlocklistItems.d.ts.map +1 -0
  272. package/dist-esm/src/operations/raiBlocklistItems.js +422 -0
  273. package/dist-esm/src/operations/raiBlocklistItems.js.map +1 -0
  274. package/dist-esm/src/operations/raiBlocklists.d.ts +72 -0
  275. package/dist-esm/src/operations/raiBlocklists.d.ts.map +1 -0
  276. package/dist-esm/src/operations/raiBlocklists.js +317 -0
  277. package/dist-esm/src/operations/raiBlocklists.js.map +1 -0
  278. package/dist-esm/src/operations/raiContentFilters.d.ts +42 -0
  279. package/dist-esm/src/operations/raiContentFilters.d.ts.map +1 -0
  280. package/dist-esm/src/operations/raiContentFilters.js +175 -0
  281. package/dist-esm/src/operations/raiContentFilters.js.map +1 -0
  282. package/dist-esm/src/operations/raiPolicies.d.ts +72 -0
  283. package/dist-esm/src/operations/raiPolicies.d.ts.map +1 -0
  284. package/dist-esm/src/operations/raiPolicies.js +311 -0
  285. package/dist-esm/src/operations/raiPolicies.js.map +1 -0
  286. package/dist-esm/src/operations/resourceSkus.js +13 -18
  287. package/dist-esm/src/operations/resourceSkus.js.map +1 -1
  288. package/dist-esm/src/operations/usages.js +14 -19
  289. package/dist-esm/src/operations/usages.js.map +1 -1
  290. package/dist-esm/src/operationsInterfaces/defenderForAISettings.d.ts +39 -0
  291. package/dist-esm/src/operationsInterfaces/defenderForAISettings.d.ts.map +1 -0
  292. package/dist-esm/src/operationsInterfaces/defenderForAISettings.js +9 -0
  293. package/dist-esm/src/operationsInterfaces/defenderForAISettings.js.map +1 -0
  294. package/dist-esm/src/operationsInterfaces/deployments.d.ts +27 -1
  295. package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +1 -1
  296. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts +51 -0
  297. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  298. package/dist-esm/src/operationsInterfaces/encryptionScopes.js +9 -0
  299. package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +1 -0
  300. package/dist-esm/src/operationsInterfaces/index.d.ts +9 -0
  301. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  302. package/dist-esm/src/operationsInterfaces/index.js +9 -0
  303. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  304. package/dist-esm/src/operationsInterfaces/locationBasedModelCapacities.d.ts +15 -0
  305. package/dist-esm/src/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -0
  306. package/dist-esm/src/operationsInterfaces/locationBasedModelCapacities.js +9 -0
  307. package/dist-esm/src/operationsInterfaces/locationBasedModelCapacities.js.map +1 -0
  308. package/dist-esm/src/operationsInterfaces/modelCapacities.d.ts +14 -0
  309. package/dist-esm/src/operationsInterfaces/modelCapacities.d.ts.map +1 -0
  310. package/dist-esm/src/operationsInterfaces/modelCapacities.js +9 -0
  311. package/dist-esm/src/operationsInterfaces/modelCapacities.js.map +1 -0
  312. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +38 -0
  313. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  314. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  315. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  316. package/dist-esm/src/operationsInterfaces/raiBlocklistItems.d.ts +70 -0
  317. package/dist-esm/src/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -0
  318. package/dist-esm/src/operationsInterfaces/raiBlocklistItems.js +9 -0
  319. package/dist-esm/src/operationsInterfaces/raiBlocklistItems.js.map +1 -0
  320. package/dist-esm/src/operationsInterfaces/raiBlocklists.d.ts +47 -0
  321. package/dist-esm/src/operationsInterfaces/raiBlocklists.d.ts.map +1 -0
  322. package/dist-esm/src/operationsInterfaces/raiBlocklists.js +9 -0
  323. package/dist-esm/src/operationsInterfaces/raiBlocklists.js.map +1 -0
  324. package/dist-esm/src/operationsInterfaces/raiContentFilters.d.ts +19 -0
  325. package/dist-esm/src/operationsInterfaces/raiContentFilters.d.ts.map +1 -0
  326. package/dist-esm/src/operationsInterfaces/raiContentFilters.js +9 -0
  327. package/dist-esm/src/operationsInterfaces/raiContentFilters.js.map +1 -0
  328. package/dist-esm/src/operationsInterfaces/raiPolicies.d.ts +47 -0
  329. package/dist-esm/src/operationsInterfaces/raiPolicies.d.ts.map +1 -0
  330. package/dist-esm/src/operationsInterfaces/raiPolicies.js +9 -0
  331. package/dist-esm/src/operationsInterfaces/raiPolicies.js.map +1 -0
  332. package/dist-esm/src/pagingHelper.js.map +1 -1
  333. package/dist-esm/test/cognitiveservices_congitiveservice.spec.d.ts.map +1 -1
  334. package/dist-esm/test/cognitiveservices_congitiveservice.spec.js +20 -31
  335. package/dist-esm/test/cognitiveservices_congitiveservice.spec.js.map +1 -1
  336. package/dist-esm/test/cognitiveservices_openai.spec.d.ts.map +1 -1
  337. package/dist-esm/test/cognitiveservices_openai.spec.js +25 -41
  338. package/dist-esm/test/cognitiveservices_openai.spec.js.map +1 -1
  339. package/package.json +23 -32
  340. package/review/arm-cognitiveservices.api.md +893 -23
  341. package/src/cognitiveServicesManagementClient.ts +117 -39
  342. package/src/lroImpl.ts +4 -4
  343. package/src/models/index.ts +1110 -51
  344. package/src/models/mappers.ts +2579 -1046
  345. package/src/models/parameters.ts +291 -67
  346. package/src/operations/accounts.ts +170 -184
  347. package/src/operations/commitmentPlans.ts +253 -273
  348. package/src/operations/commitmentTiers.ts +20 -21
  349. package/src/operations/defenderForAISettings.ts +345 -0
  350. package/src/operations/deletedAccounts.ts +46 -50
  351. package/src/operations/deployments.ts +399 -81
  352. package/src/operations/encryptionScopes.ts +429 -0
  353. package/src/operations/index.ts +9 -0
  354. package/src/operations/locationBasedModelCapacities.ts +219 -0
  355. package/src/operations/modelCapacities.ts +195 -0
  356. package/src/operations/models.ts +20 -21
  357. package/src/operations/networkSecurityPerimeterConfigurations.ts +372 -0
  358. package/src/operations/operations.ts +16 -16
  359. package/src/operations/privateEndpointConnections.ts +65 -70
  360. package/src/operations/privateLinkResources.ts +9 -10
  361. package/src/operations/raiBlocklistItems.ts +578 -0
  362. package/src/operations/raiBlocklists.ts +426 -0
  363. package/src/operations/raiContentFilters.ts +209 -0
  364. package/src/operations/raiPolicies.ts +420 -0
  365. package/src/operations/resourceSkus.ts +18 -19
  366. package/src/operations/usages.ts +20 -21
  367. package/src/operationsInterfaces/accounts.ts +15 -15
  368. package/src/operationsInterfaces/commitmentPlans.ts +21 -21
  369. package/src/operationsInterfaces/commitmentTiers.ts +1 -1
  370. package/src/operationsInterfaces/defenderForAISettings.ts +78 -0
  371. package/src/operationsInterfaces/deletedAccounts.ts +5 -5
  372. package/src/operationsInterfaces/deployments.ts +60 -7
  373. package/src/operationsInterfaces/encryptionScopes.ts +99 -0
  374. package/src/operationsInterfaces/index.ts +9 -0
  375. package/src/operationsInterfaces/locationBasedModelCapacities.ts +33 -0
  376. package/src/operationsInterfaces/modelCapacities.ts +31 -0
  377. package/src/operationsInterfaces/models.ts +1 -1
  378. package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +78 -0
  379. package/src/operationsInterfaces/operations.ts +1 -1
  380. package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
  381. package/src/operationsInterfaces/privateLinkResources.ts +2 -2
  382. package/src/operationsInterfaces/raiBlocklistItems.ts +139 -0
  383. package/src/operationsInterfaces/raiBlocklists.ts +95 -0
  384. package/src/operationsInterfaces/raiContentFilters.ts +40 -0
  385. package/src/operationsInterfaces/raiPolicies.ts +95 -0
  386. package/src/operationsInterfaces/resourceSkus.ts +1 -1
  387. package/src/operationsInterfaces/usages.ts +1 -1
  388. package/src/pagingHelper.ts +1 -1
  389. package/tsconfig.json +2 -2
  390. package/types/arm-cognitiveservices.d.ts +1499 -91
  391. package/types/tsdoc-metadata.json +1 -1
  392. package/rollup.config.js +0 -122
@@ -101,6 +101,8 @@ export interface AccountProperties {
101
101
  encryption?: Encryption;
102
102
  /** The storage accounts for this resource. */
103
103
  userOwnedStorage?: UserOwnedStorage[];
104
+ /** The user owned AML workspace properties. */
105
+ amlWorkspace?: UserOwnedAmlWorkspace;
104
106
  /**
105
107
  * The private endpoint connection associated with the Cognitive Services account.
106
108
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -157,6 +159,8 @@ export interface AccountProperties {
157
159
  * NOTE: This property will not be serialized. It can only be populated by the server.
158
160
  */
159
161
  readonly abusePenalty?: AbusePenalty;
162
+ /** Cognitive Services Rai Monitor Config. */
163
+ raiMonitorConfig?: RaiMonitorConfig;
160
164
  }
161
165
  /** SkuCapability indicates the capability of a certain feature. */
162
166
  export interface SkuCapability {
@@ -178,6 +182,8 @@ export interface SkuChangeInfo {
178
182
  export interface NetworkRuleSet {
179
183
  /** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */
180
184
  defaultAction?: NetworkRuleAction;
185
+ /** Setting for trusted services. */
186
+ bypass?: ByPassSelection;
181
187
  /** The list of IP address rules. */
182
188
  ipRules?: IpRule[];
183
189
  /** The list of virtual network rules. */
@@ -220,6 +226,13 @@ export interface UserOwnedStorage {
220
226
  resourceId?: string;
221
227
  identityClientId?: string;
222
228
  }
229
+ /** The user owned AML workspace for Cognitive Services account. */
230
+ export interface UserOwnedAmlWorkspace {
231
+ /** Full resource id of a AML workspace resource. */
232
+ resourceId?: string;
233
+ /** Identity Client id of a AML workspace resource. */
234
+ identityClientId?: string;
235
+ }
223
236
  /** Properties of the PrivateEndpointConnectProperties. */
224
237
  export interface PrivateEndpointConnectionProperties {
225
238
  /** The resource of private end point. */
@@ -350,6 +363,13 @@ export interface AbusePenalty {
350
363
  /** The datetime of expiration of the AbusePenalty. */
351
364
  expiration?: Date;
352
365
  }
366
+ /** Cognitive Services Rai Monitor Config. */
367
+ export interface RaiMonitorConfig {
368
+ /** The storage resource Id. */
369
+ adxStorageResourceId?: string;
370
+ /** The identity client Id to access the storage. */
371
+ identityClientId?: string;
372
+ }
353
373
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
354
374
  export interface ErrorResponse {
355
375
  /** The error object. */
@@ -509,6 +529,8 @@ export interface AccountModelListResult {
509
529
  }
510
530
  /** Properties of Cognitive Services account deployment model. */
511
531
  export interface DeploymentModel {
532
+ /** Deployment model publisher. */
533
+ publisher?: string;
512
534
  /** Deployment model format. */
513
535
  format?: string;
514
536
  /** Deployment model name. */
@@ -517,6 +539,8 @@ export interface DeploymentModel {
517
539
  version?: string;
518
540
  /** Optional. Deployment model source ARM resource ID. */
519
541
  source?: string;
542
+ /** Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID. */
543
+ sourceAccount?: string;
520
544
  /**
521
545
  * The call rate limit Cognitive Services account.
522
546
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -535,6 +559,8 @@ export interface ModelSku {
535
559
  capacity?: CapacityConfig;
536
560
  /** The list of rateLimit. */
537
561
  rateLimits?: CallRateLimit[];
562
+ /** The list of billing meter info. */
563
+ cost?: BillingMeterInfo[];
538
564
  }
539
565
  /** The capacity configuration. */
540
566
  export interface CapacityConfig {
@@ -546,6 +572,13 @@ export interface CapacityConfig {
546
572
  step?: number;
547
573
  /** The default capacity. */
548
574
  default?: number;
575
+ /** The array of allowed values for capacity. */
576
+ allowedValues?: number[];
577
+ }
578
+ export interface BillingMeterInfo {
579
+ name?: string;
580
+ meterId?: string;
581
+ unit?: string;
549
582
  }
550
583
  /** Cognitive Services account ModelDeprecationInfo. */
551
584
  export interface ModelDeprecationInfo {
@@ -619,7 +652,7 @@ export interface OperationDisplay {
619
652
  export interface CheckSkuAvailabilityParameter {
620
653
  /** The SKU of the resource. */
621
654
  skus: string[];
622
- /** The Kind of the resource. */
655
+ /** The kind (type) of cognitive service account. */
623
656
  kind: string;
624
657
  /** The Type of the resource. */
625
658
  type: string;
@@ -696,12 +729,31 @@ export interface ModelListResult {
696
729
  }
697
730
  /** Cognitive Services Model. */
698
731
  export interface Model {
699
- /** Model Metadata. */
732
+ /** Cognitive Services account Model. */
700
733
  model?: AccountModel;
701
- /** The Kind of the Model. */
734
+ /** The kind (type) of cognitive service account. */
702
735
  kind?: string;
703
- /** The SKU of the Model. */
736
+ /** The name of SKU. */
704
737
  skuName?: string;
738
+ /** The description of the model. */
739
+ description?: string;
740
+ }
741
+ /** The list of cognitive services accounts operation response. */
742
+ export interface ModelCapacityListResult {
743
+ /** The link used to get the next page of ModelSkuCapacity. */
744
+ nextLink?: string;
745
+ /** Gets the list of Cognitive Services accounts ModelSkuCapacity. */
746
+ value?: ModelCapacityListResultValueItem[];
747
+ }
748
+ /** Cognitive Services account ModelSkuCapacity. */
749
+ export interface ModelSkuCapacityProperties {
750
+ /** Properties of Cognitive Services account deployment model. */
751
+ model?: DeploymentModel;
752
+ skuName?: string;
753
+ /** The available capacity for deployment with this model and sku. */
754
+ availableCapacity?: number;
755
+ /** The available capacity for deployment with a fine-tune version of this model and sku. */
756
+ availableFinetuneCapacity?: number;
705
757
  }
706
758
  /** Check Domain availability parameter. */
707
759
  export interface CheckDomainAvailabilityParameter {
@@ -725,6 +777,42 @@ export interface DomainAvailability {
725
777
  /** The Kind of the resource. */
726
778
  kind?: string;
727
779
  }
780
+ /** Calculate Model Capacity parameter. */
781
+ export interface CalculateModelCapacityParameter {
782
+ /** Properties of Cognitive Services account deployment model. */
783
+ model?: DeploymentModel;
784
+ /** The name of SKU. */
785
+ skuName?: string;
786
+ /** List of Model Capacity Calculator Workload. */
787
+ workloads?: ModelCapacityCalculatorWorkload[];
788
+ }
789
+ /** Model Capacity Calculator Workload. */
790
+ export interface ModelCapacityCalculatorWorkload {
791
+ /** Request per minute. */
792
+ requestPerMinute?: number;
793
+ /** Dictionary, Model Capacity Calculator Workload Parameters. */
794
+ requestParameters?: ModelCapacityCalculatorWorkloadRequestParam;
795
+ }
796
+ /** Dictionary, Model Capacity Calculator Workload Parameters. */
797
+ export interface ModelCapacityCalculatorWorkloadRequestParam {
798
+ /** Average prompt tokens. */
799
+ avgPromptTokens?: number;
800
+ /** Average generated tokens. */
801
+ avgGeneratedTokens?: number;
802
+ }
803
+ /** Calculate Model Capacity result. */
804
+ export interface CalculateModelCapacityResult {
805
+ /** Properties of Cognitive Services account deployment model. */
806
+ model?: DeploymentModel;
807
+ skuName?: string;
808
+ /** Model Estimated Capacity. */
809
+ estimatedCapacity?: CalculateModelCapacityResultEstimatedCapacity;
810
+ }
811
+ /** Model Estimated Capacity. */
812
+ export interface CalculateModelCapacityResultEstimatedCapacity {
813
+ value?: number;
814
+ deployableValue?: number;
815
+ }
728
816
  /** A list of private endpoint connections */
729
817
  export interface PrivateEndpointConnectionListResult {
730
818
  /** Array of private endpoint connections */
@@ -774,7 +862,7 @@ export interface DeploymentProperties {
774
862
  readonly provisioningState?: DeploymentProvisioningState;
775
863
  /** Properties of Cognitive Services account deployment model. */
776
864
  model?: DeploymentModel;
777
- /** Properties of Cognitive Services account deployment model. */
865
+ /** Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.) */
778
866
  scaleSettings?: DeploymentScaleSettings;
779
867
  /**
780
868
  * The capabilities.
@@ -794,8 +882,19 @@ export interface DeploymentProperties {
794
882
  readonly rateLimits?: ThrottlingRule[];
795
883
  /** Deployment model version upgrade option. */
796
884
  versionUpgradeOption?: DeploymentModelVersionUpgradeOption;
885
+ /**
886
+ * If the dynamic throttling is enabled.
887
+ * NOTE: This property will not be serialized. It can only be populated by the server.
888
+ */
889
+ readonly dynamicThrottlingEnabled?: boolean;
890
+ /** The current capacity. */
891
+ currentCapacity?: number;
892
+ /** Internal use only. */
893
+ capacitySettings?: DeploymentCapacitySettings;
894
+ /** The name of parent deployment. */
895
+ parentDeploymentName?: string;
797
896
  }
798
- /** Properties of Cognitive Services account deployment model. */
897
+ /** Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.) */
799
898
  export interface DeploymentScaleSettings {
800
899
  /** Deployment scale type. */
801
900
  scaleType?: DeploymentScaleType;
@@ -807,6 +906,39 @@ export interface DeploymentScaleSettings {
807
906
  */
808
907
  readonly activeCapacity?: number;
809
908
  }
909
+ /** Internal use only. */
910
+ export interface DeploymentCapacitySettings {
911
+ /** The designated capacity. */
912
+ designatedCapacity?: number;
913
+ /** The priority of this capacity setting. */
914
+ priority?: number;
915
+ }
916
+ /** The object being used to update tags of a resource, in general used for PATCH operations. */
917
+ export interface PatchResourceTags {
918
+ /** Resource tags. */
919
+ tags?: {
920
+ [propertyName: string]: string;
921
+ };
922
+ }
923
+ /** The list of cognitive services accounts operation response. */
924
+ export interface DeploymentSkuListResult {
925
+ /** The link used to get the next page of deployment skus. */
926
+ nextLink?: string;
927
+ /**
928
+ * Gets the list of Cognitive Services accounts deployment skus.
929
+ * NOTE: This property will not be serialized. It can only be populated by the server.
930
+ */
931
+ readonly value?: SkuResource[];
932
+ }
933
+ /** Properties of Cognitive Services account resource sku resource properties. */
934
+ export interface SkuResource {
935
+ /** The resource type name. */
936
+ resourceType?: string;
937
+ /** The resource model definition representing SKU */
938
+ sku?: Sku;
939
+ /** The capacity configuration. */
940
+ capacity?: CapacityConfig;
941
+ }
810
942
  /** The list of cognitive services accounts operation response. */
811
943
  export interface CommitmentPlanListResult {
812
944
  /** The link used to get the next page of CommitmentPlan. */
@@ -869,12 +1001,103 @@ export interface CommitmentPeriod {
869
1001
  */
870
1002
  readonly endDate?: string;
871
1003
  }
872
- /** The object being used to update tags of a resource, in general used for PATCH operations. */
873
- export interface PatchResourceTags {
874
- /** Resource tags. */
875
- tags?: {
876
- [propertyName: string]: string;
877
- };
1004
+ /** The list of cognitive services EncryptionScopes. */
1005
+ export interface EncryptionScopeListResult {
1006
+ /** The link used to get the next page of EncryptionScope. */
1007
+ nextLink?: string;
1008
+ /** The list of EncryptionScope. */
1009
+ value?: EncryptionScope[];
1010
+ }
1011
+ /** The list of cognitive services RaiPolicies. */
1012
+ export interface RaiPolicyListResult {
1013
+ /** The link used to get the next page of RaiPolicy. */
1014
+ nextLink?: string;
1015
+ /** The list of RaiPolicy. */
1016
+ value?: RaiPolicy[];
1017
+ }
1018
+ /** Azure OpenAI Content Filters properties. */
1019
+ export interface RaiPolicyProperties {
1020
+ /**
1021
+ * Content Filters policy type.
1022
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1023
+ */
1024
+ readonly type?: RaiPolicyType;
1025
+ /** Rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2024-10-01. It is the same as 'Deferred' in previous version. */
1026
+ mode?: RaiPolicyMode;
1027
+ /** Name of Rai policy. */
1028
+ basePolicyName?: string;
1029
+ /** The list of Content Filters. */
1030
+ contentFilters?: RaiPolicyContentFilter[];
1031
+ /** The list of custom Blocklist. */
1032
+ customBlocklists?: CustomBlocklistConfig[];
1033
+ }
1034
+ /** Azure OpenAI Content Filter. */
1035
+ export interface RaiPolicyContentFilter {
1036
+ /** Name of ContentFilter. */
1037
+ name?: string;
1038
+ /** If the ContentFilter is enabled. */
1039
+ enabled?: boolean;
1040
+ /** Level at which content is filtered. */
1041
+ severityThreshold?: ContentLevel;
1042
+ /** If blocking would occur. */
1043
+ blocking?: boolean;
1044
+ /** Content source to apply the Content Filters. */
1045
+ source?: RaiPolicyContentSource;
1046
+ }
1047
+ /** Azure OpenAI blocklist config. */
1048
+ export interface RaiBlocklistConfig {
1049
+ /** Name of ContentFilter. */
1050
+ blocklistName?: string;
1051
+ /** If blocking would occur. */
1052
+ blocking?: boolean;
1053
+ }
1054
+ /** The list of cognitive services RAI Blocklists. */
1055
+ export interface RaiBlockListResult {
1056
+ /** The link used to get the next page of RaiBlocklists. */
1057
+ nextLink?: string;
1058
+ /** The list of RaiBlocklist. */
1059
+ value?: RaiBlocklist[];
1060
+ }
1061
+ /** RAI Custom Blocklist properties. */
1062
+ export interface RaiBlocklistProperties {
1063
+ /** Description of the block list. */
1064
+ description?: string;
1065
+ }
1066
+ /** The list of cognitive services RAI Blocklist Items. */
1067
+ export interface RaiBlockListItemsResult {
1068
+ /** The link used to get the next page of RaiBlocklistItems. */
1069
+ nextLink?: string;
1070
+ /** The list of RaiBlocklistItems. */
1071
+ value?: RaiBlocklistItem[];
1072
+ }
1073
+ /** RAI Custom Blocklist Item properties. */
1074
+ export interface RaiBlocklistItemProperties {
1075
+ /** Pattern to match against. */
1076
+ pattern?: string;
1077
+ /** If the pattern is a regex pattern. */
1078
+ isRegex?: boolean;
1079
+ }
1080
+ /** The Cognitive Services RaiBlocklist Item request body. */
1081
+ export interface RaiBlocklistItemBulkRequest {
1082
+ name?: string;
1083
+ /** Properties of Cognitive Services RaiBlocklist Item. */
1084
+ properties?: RaiBlocklistItemProperties;
1085
+ }
1086
+ /** The list of Content Filters. */
1087
+ export interface RaiContentFilterListResult {
1088
+ /** The link used to get the next page of Content Filters. */
1089
+ nextLink?: string;
1090
+ /** The list of RaiContentFilter. */
1091
+ value?: RaiContentFilter[];
1092
+ }
1093
+ /** Azure OpenAI Content Filter Properties. */
1094
+ export interface RaiContentFilterProperties {
1095
+ /** Name of Content Filter. */
1096
+ name?: string;
1097
+ /** If the Content Filter has multi severity levels(Low, Medium, or High). */
1098
+ isMultiLevelFilter?: boolean;
1099
+ /** Content source to apply the Content Filters. */
1100
+ source?: RaiPolicyContentSource;
878
1101
  }
879
1102
  /** The list of cognitive services Commitment Plan Account Association operation response. */
880
1103
  export interface CommitmentPlanAccountAssociationListResult {
@@ -886,6 +1109,118 @@ export interface CommitmentPlanAccountAssociationListResult {
886
1109
  */
887
1110
  readonly value?: CommitmentPlanAccountAssociation[];
888
1111
  }
1112
+ /** A list of NSP configurations for an Cognitive Services account. */
1113
+ export interface NetworkSecurityPerimeterConfigurationList {
1114
+ /** Array of NSP configurations List Result for an Cognitive Services account. */
1115
+ value?: NetworkSecurityPerimeterConfiguration[];
1116
+ /** Link to retrieve next page of results. */
1117
+ nextLink?: string;
1118
+ }
1119
+ /** The properties of an NSP Configuration. */
1120
+ export interface NetworkSecurityPerimeterConfigurationProperties {
1121
+ /**
1122
+ * Provisioning state of NetworkSecurityPerimeter configuration
1123
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1124
+ */
1125
+ readonly provisioningState?: string;
1126
+ /** List of Provisioning Issues */
1127
+ provisioningIssues?: ProvisioningIssue[];
1128
+ /** Information about a linked Network Security Perimeter */
1129
+ networkSecurityPerimeter?: NetworkSecurityPerimeter;
1130
+ /** Network Security Perimeter Configuration Association Information */
1131
+ resourceAssociation?: NetworkSecurityPerimeterConfigurationAssociationInfo;
1132
+ /** Network Security Perimeter Profile Information */
1133
+ profile?: NetworkSecurityPerimeterProfileInfo;
1134
+ }
1135
+ export interface ProvisioningIssue {
1136
+ /** Name of the NSP provisioning issue */
1137
+ name?: string;
1138
+ /** Properties of Provisioning Issue */
1139
+ properties?: ProvisioningIssueProperties;
1140
+ }
1141
+ /** Properties of Provisioning Issue */
1142
+ export interface ProvisioningIssueProperties {
1143
+ /** Type of Issue */
1144
+ issueType?: string;
1145
+ /** Severity of the issue */
1146
+ severity?: string;
1147
+ /** Description of the issue */
1148
+ description?: string;
1149
+ /** IDs of resources that can be associated to the same perimeter to remediate the issue. */
1150
+ suggestedResourceIds?: string[];
1151
+ /** Optional array, suggested access rules */
1152
+ suggestedAccessRules?: NetworkSecurityPerimeterAccessRule[];
1153
+ }
1154
+ /** Network Security Perimeter Access Rule */
1155
+ export interface NetworkSecurityPerimeterAccessRule {
1156
+ /** Network Security Perimeter Access Rule Name */
1157
+ name?: string;
1158
+ /** Properties of Network Security Perimeter Access Rule */
1159
+ properties?: NetworkSecurityPerimeterAccessRuleProperties;
1160
+ }
1161
+ /** The Properties of Network Security Perimeter Rule */
1162
+ export interface NetworkSecurityPerimeterAccessRuleProperties {
1163
+ /** Direction of Access Rule */
1164
+ direction?: NspAccessRuleDirection;
1165
+ /** Address prefixes for inbound rules */
1166
+ addressPrefixes?: string[];
1167
+ /** Subscriptions for inbound rules */
1168
+ subscriptions?: NetworkSecurityPerimeterAccessRulePropertiesSubscriptionsItem[];
1169
+ /** NetworkSecurityPerimeters for inbound rules */
1170
+ networkSecurityPerimeters?: NetworkSecurityPerimeter[];
1171
+ /** Fully qualified domain name for outbound rules */
1172
+ fullyQualifiedDomainNames?: string[];
1173
+ }
1174
+ /** Subscription for inbound rule */
1175
+ export interface NetworkSecurityPerimeterAccessRulePropertiesSubscriptionsItem {
1176
+ /** Fully qualified identifier of subscription */
1177
+ id?: string;
1178
+ }
1179
+ /** Information about a linked Network Security Perimeter */
1180
+ export interface NetworkSecurityPerimeter {
1181
+ /** Fully qualified identifier of the resource */
1182
+ id?: string;
1183
+ /** Guid of the resource */
1184
+ perimeterGuid?: string;
1185
+ /** Location of the resource */
1186
+ location?: string;
1187
+ }
1188
+ /** Network Security Perimeter Configuration Association Information */
1189
+ export interface NetworkSecurityPerimeterConfigurationAssociationInfo {
1190
+ /** Name of the resource association */
1191
+ name?: string;
1192
+ /** Access Mode of the resource association */
1193
+ accessMode?: string;
1194
+ }
1195
+ /** Network Security Perimeter Profile Information */
1196
+ export interface NetworkSecurityPerimeterProfileInfo {
1197
+ /** Name of the resource profile */
1198
+ name?: string;
1199
+ /** Access rules version of the resource profile */
1200
+ accessRulesVersion?: number;
1201
+ accessRules?: NetworkSecurityPerimeterAccessRule[];
1202
+ /** Current diagnostic settings version */
1203
+ diagnosticSettingsVersion?: number;
1204
+ /** List of enabled log categories */
1205
+ enabledLogCategories?: string[];
1206
+ }
1207
+ /** The list of cognitive services Defender for AI Settings. */
1208
+ export interface DefenderForAISettingResult {
1209
+ /** The link used to get the next page of Defender for AI Settings. */
1210
+ nextLink?: string;
1211
+ /** The list of Defender for AI Settings. */
1212
+ value?: DefenderForAISetting[];
1213
+ }
1214
+ /** Properties to EncryptionScope */
1215
+ export interface EncryptionScopeProperties extends Encryption {
1216
+ /**
1217
+ * Gets the status of the resource at the time the operation was called.
1218
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1219
+ */
1220
+ readonly provisioningState?: EncryptionScopeProvisioningState;
1221
+ /** The encryptionScope state. */
1222
+ state?: EncryptionScopeState;
1223
+ }
889
1224
  /** The resource model definition for an Azure Resource Manager resource with an etag. */
890
1225
  export interface AzureEntityResource extends Resource {
891
1226
  /**
@@ -894,17 +1229,17 @@ export interface AzureEntityResource extends Resource {
894
1229
  */
895
1230
  readonly etag?: string;
896
1231
  }
1232
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1233
+ export interface ProxyResource extends Resource {
1234
+ }
897
1235
  /** A private link resource */
898
1236
  export interface PrivateLinkResource extends Resource {
899
1237
  /** Resource properties. */
900
1238
  properties?: PrivateLinkResourceProperties;
901
1239
  }
902
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
903
- export interface ProxyResource extends Resource {
904
- }
905
1240
  /** Cognitive Services account Model. */
906
1241
  export interface AccountModel extends DeploymentModel {
907
- /** Base Model Identifier. */
1242
+ /** Properties of Cognitive Services account deployment model. */
908
1243
  baseModel?: DeploymentModel;
909
1244
  /** If the model is default version. */
910
1245
  isDefaultVersion?: boolean;
@@ -935,6 +1270,11 @@ export interface PatchResourceTagsAndSku extends PatchResourceTags {
935
1270
  /** The resource model definition representing SKU */
936
1271
  sku?: Sku;
937
1272
  }
1273
+ /** Gets or sets the source to which filter applies. */
1274
+ export interface CustomBlocklistConfig extends RaiBlocklistConfig {
1275
+ /** Content source to apply the Content Filters. */
1276
+ source?: RaiPolicyContentSource;
1277
+ }
938
1278
  /** The Private Endpoint Connection resource. */
939
1279
  export interface PrivateEndpointConnection extends AzureEntityResource {
940
1280
  /** Resource properties. */
@@ -969,6 +1309,12 @@ export interface Account extends AzureEntityResource {
969
1309
  /** Properties of Cognitive Services account. */
970
1310
  properties?: AccountProperties;
971
1311
  }
1312
+ export interface ModelCapacityListResultValueItem extends ProxyResource {
1313
+ /** The location of the Model Sku Capacity. */
1314
+ location?: string;
1315
+ /** Cognitive Services account ModelSkuCapacity. */
1316
+ properties?: ModelSkuCapacityProperties;
1317
+ }
972
1318
  /** Cognitive Services account deployment. */
973
1319
  export interface Deployment extends ProxyResource {
974
1320
  /** The resource model definition representing SKU */
@@ -983,6 +1329,10 @@ export interface Deployment extends ProxyResource {
983
1329
  * NOTE: This property will not be serialized. It can only be populated by the server.
984
1330
  */
985
1331
  readonly etag?: string;
1332
+ /** Resource tags. */
1333
+ tags?: {
1334
+ [propertyName: string]: string;
1335
+ };
986
1336
  /** Properties of Cognitive Services account deployment. */
987
1337
  properties?: DeploymentProperties;
988
1338
  }
@@ -1011,6 +1361,87 @@ export interface CommitmentPlan extends ProxyResource {
1011
1361
  /** Properties of Cognitive Services account commitment plan. */
1012
1362
  properties?: CommitmentPlanProperties;
1013
1363
  }
1364
+ /** Cognitive Services EncryptionScope */
1365
+ export interface EncryptionScope extends ProxyResource {
1366
+ /**
1367
+ * Metadata pertaining to creation and last modification of the resource.
1368
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1369
+ */
1370
+ readonly systemData?: SystemData;
1371
+ /**
1372
+ * Resource Etag.
1373
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1374
+ */
1375
+ readonly etag?: string;
1376
+ /** Resource tags. */
1377
+ tags?: {
1378
+ [propertyName: string]: string;
1379
+ };
1380
+ /** Properties of Cognitive Services EncryptionScope. */
1381
+ properties?: EncryptionScopeProperties;
1382
+ }
1383
+ /** Cognitive Services RaiPolicy. */
1384
+ export interface RaiPolicy extends ProxyResource {
1385
+ /**
1386
+ * Metadata pertaining to creation and last modification of the resource.
1387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1388
+ */
1389
+ readonly systemData?: SystemData;
1390
+ /**
1391
+ * Resource Etag.
1392
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1393
+ */
1394
+ readonly etag?: string;
1395
+ /** Resource tags. */
1396
+ tags?: {
1397
+ [propertyName: string]: string;
1398
+ };
1399
+ /** Properties of Cognitive Services RaiPolicy. */
1400
+ properties?: RaiPolicyProperties;
1401
+ }
1402
+ /** Cognitive Services RaiBlocklist. */
1403
+ export interface RaiBlocklist extends ProxyResource {
1404
+ /**
1405
+ * Metadata pertaining to creation and last modification of the resource.
1406
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1407
+ */
1408
+ readonly systemData?: SystemData;
1409
+ /**
1410
+ * Resource Etag.
1411
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1412
+ */
1413
+ readonly etag?: string;
1414
+ /** Resource tags. */
1415
+ tags?: {
1416
+ [propertyName: string]: string;
1417
+ };
1418
+ /** Properties of Cognitive Services RaiBlocklist. */
1419
+ properties?: RaiBlocklistProperties;
1420
+ }
1421
+ /** Cognitive Services RaiBlocklist Item. */
1422
+ export interface RaiBlocklistItem extends ProxyResource {
1423
+ /**
1424
+ * Metadata pertaining to creation and last modification of the resource.
1425
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1426
+ */
1427
+ readonly systemData?: SystemData;
1428
+ /**
1429
+ * Resource Etag.
1430
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1431
+ */
1432
+ readonly etag?: string;
1433
+ /** Resource tags. */
1434
+ tags?: {
1435
+ [propertyName: string]: string;
1436
+ };
1437
+ /** Properties of Cognitive Services RaiBlocklist Item. */
1438
+ properties?: RaiBlocklistItemProperties;
1439
+ }
1440
+ /** Azure OpenAI Content Filter. */
1441
+ export interface RaiContentFilter extends ProxyResource {
1442
+ /** Azure OpenAI Content Filter Properties. */
1443
+ properties?: RaiContentFilterProperties;
1444
+ }
1014
1445
  /** The commitment plan association. */
1015
1446
  export interface CommitmentPlanAccountAssociation extends ProxyResource {
1016
1447
  /**
@@ -1023,9 +1454,41 @@ export interface CommitmentPlanAccountAssociation extends ProxyResource {
1023
1454
  * NOTE: This property will not be serialized. It can only be populated by the server.
1024
1455
  */
1025
1456
  readonly etag?: string;
1457
+ /** Resource tags. */
1458
+ tags?: {
1459
+ [propertyName: string]: string;
1460
+ };
1026
1461
  /** The Azure resource id of the account. */
1027
1462
  accountId?: string;
1028
1463
  }
1464
+ /** NSP Configuration for an Cognitive Services account. */
1465
+ export interface NetworkSecurityPerimeterConfiguration extends ProxyResource {
1466
+ /** NSP Configuration properties. */
1467
+ properties?: NetworkSecurityPerimeterConfigurationProperties;
1468
+ }
1469
+ /** The Defender for AI resource. */
1470
+ export interface DefenderForAISetting extends ProxyResource {
1471
+ /**
1472
+ * Metadata pertaining to creation and last modification of the resource.
1473
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1474
+ */
1475
+ readonly systemData?: SystemData;
1476
+ /**
1477
+ * Resource Etag.
1478
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1479
+ */
1480
+ readonly etag?: string;
1481
+ /** Resource tags. */
1482
+ tags?: {
1483
+ [propertyName: string]: string;
1484
+ };
1485
+ /** Defender for AI state on the AI resource. */
1486
+ state?: DefenderForAISettingState;
1487
+ }
1488
+ /** Defines headers for Deployments_update operation. */
1489
+ export interface DeploymentsUpdateHeaders {
1490
+ location?: string;
1491
+ }
1029
1492
  /** Defines headers for CommitmentPlans_updatePlan operation. */
1030
1493
  export interface CommitmentPlansUpdatePlanHeaders {
1031
1494
  location?: string;
@@ -1038,6 +1501,26 @@ export interface CommitmentPlansDeletePlanHeaders {
1038
1501
  export interface CommitmentPlansDeleteAssociationHeaders {
1039
1502
  location?: string;
1040
1503
  }
1504
+ /** Defines headers for EncryptionScopes_delete operation. */
1505
+ export interface EncryptionScopesDeleteHeaders {
1506
+ location?: string;
1507
+ }
1508
+ /** Defines headers for RaiPolicies_delete operation. */
1509
+ export interface RaiPoliciesDeleteHeaders {
1510
+ location?: string;
1511
+ }
1512
+ /** Defines headers for RaiBlocklists_delete operation. */
1513
+ export interface RaiBlocklistsDeleteHeaders {
1514
+ location?: string;
1515
+ }
1516
+ /** Defines headers for RaiBlocklistItems_delete operation. */
1517
+ export interface RaiBlocklistItemsDeleteHeaders {
1518
+ location?: string;
1519
+ }
1520
+ /** Defines headers for NetworkSecurityPerimeterConfigurations_reconcile operation. */
1521
+ export interface NetworkSecurityPerimeterConfigurationsReconcileHeaders {
1522
+ location?: string;
1523
+ }
1041
1524
  /** Known values of {@link SkuTier} that the service accepts. */
1042
1525
  export declare enum KnownSkuTier {
1043
1526
  /** Free */
@@ -1132,6 +1615,22 @@ export declare enum KnownNetworkRuleAction {
1132
1615
  * **Deny**
1133
1616
  */
1134
1617
  export type NetworkRuleAction = string;
1618
+ /** Known values of {@link ByPassSelection} that the service accepts. */
1619
+ export declare enum KnownByPassSelection {
1620
+ /** None */
1621
+ None = "None",
1622
+ /** AzureServices */
1623
+ AzureServices = "AzureServices"
1624
+ }
1625
+ /**
1626
+ * Defines values for ByPassSelection. \
1627
+ * {@link KnownByPassSelection} can be used interchangeably with ByPassSelection,
1628
+ * this enum contains the known values that the service supports.
1629
+ * ### Known values supported by the service
1630
+ * **None** \
1631
+ * **AzureServices**
1632
+ */
1633
+ export type ByPassSelection = string;
1135
1634
  /** Known values of {@link KeySource} that the service accepts. */
1136
1635
  export declare enum KnownKeySource {
1137
1636
  /** MicrosoftCognitiveServices */
@@ -1311,18 +1810,27 @@ export declare enum KnownQuotaUsageStatus {
1311
1810
  export type QuotaUsageStatus = string;
1312
1811
  /** Known values of {@link ModelLifecycleStatus} that the service accepts. */
1313
1812
  export declare enum KnownModelLifecycleStatus {
1813
+ /** Stable */
1814
+ Stable = "Stable",
1815
+ /** Preview */
1816
+ Preview = "Preview",
1314
1817
  /** GenerallyAvailable */
1315
1818
  GenerallyAvailable = "GenerallyAvailable",
1316
- /** Preview */
1317
- Preview = "Preview"
1819
+ /** Deprecating */
1820
+ Deprecating = "Deprecating",
1821
+ /** Deprecated */
1822
+ Deprecated = "Deprecated"
1318
1823
  }
1319
1824
  /**
1320
1825
  * Defines values for ModelLifecycleStatus. \
1321
1826
  * {@link KnownModelLifecycleStatus} can be used interchangeably with ModelLifecycleStatus,
1322
1827
  * this enum contains the known values that the service supports.
1323
1828
  * ### Known values supported by the service
1829
+ * **Stable** \
1830
+ * **Preview** \
1324
1831
  * **GenerallyAvailable** \
1325
- * **Preview**
1832
+ * **Deprecating** \
1833
+ * **Deprecated**
1326
1834
  */
1327
1835
  export type ModelLifecycleStatus = string;
1328
1836
  /** Known values of {@link Origin} that the service accepts. */
@@ -1479,6 +1987,158 @@ export declare enum KnownCommitmentPlanProvisioningState {
1479
1987
  * **Canceled**
1480
1988
  */
1481
1989
  export type CommitmentPlanProvisioningState = string;
1990
+ /** Known values of {@link EncryptionScopeProvisioningState} that the service accepts. */
1991
+ export declare enum KnownEncryptionScopeProvisioningState {
1992
+ /** Accepted */
1993
+ Accepted = "Accepted",
1994
+ /** Creating */
1995
+ Creating = "Creating",
1996
+ /** Deleting */
1997
+ Deleting = "Deleting",
1998
+ /** Moving */
1999
+ Moving = "Moving",
2000
+ /** Failed */
2001
+ Failed = "Failed",
2002
+ /** Succeeded */
2003
+ Succeeded = "Succeeded",
2004
+ /** Canceled */
2005
+ Canceled = "Canceled"
2006
+ }
2007
+ /**
2008
+ * Defines values for EncryptionScopeProvisioningState. \
2009
+ * {@link KnownEncryptionScopeProvisioningState} can be used interchangeably with EncryptionScopeProvisioningState,
2010
+ * this enum contains the known values that the service supports.
2011
+ * ### Known values supported by the service
2012
+ * **Accepted** \
2013
+ * **Creating** \
2014
+ * **Deleting** \
2015
+ * **Moving** \
2016
+ * **Failed** \
2017
+ * **Succeeded** \
2018
+ * **Canceled**
2019
+ */
2020
+ export type EncryptionScopeProvisioningState = string;
2021
+ /** Known values of {@link EncryptionScopeState} that the service accepts. */
2022
+ export declare enum KnownEncryptionScopeState {
2023
+ /** Disabled */
2024
+ Disabled = "Disabled",
2025
+ /** Enabled */
2026
+ Enabled = "Enabled"
2027
+ }
2028
+ /**
2029
+ * Defines values for EncryptionScopeState. \
2030
+ * {@link KnownEncryptionScopeState} can be used interchangeably with EncryptionScopeState,
2031
+ * this enum contains the known values that the service supports.
2032
+ * ### Known values supported by the service
2033
+ * **Disabled** \
2034
+ * **Enabled**
2035
+ */
2036
+ export type EncryptionScopeState = string;
2037
+ /** Known values of {@link RaiPolicyType} that the service accepts. */
2038
+ export declare enum KnownRaiPolicyType {
2039
+ /** UserManaged */
2040
+ UserManaged = "UserManaged",
2041
+ /** SystemManaged */
2042
+ SystemManaged = "SystemManaged"
2043
+ }
2044
+ /**
2045
+ * Defines values for RaiPolicyType. \
2046
+ * {@link KnownRaiPolicyType} can be used interchangeably with RaiPolicyType,
2047
+ * this enum contains the known values that the service supports.
2048
+ * ### Known values supported by the service
2049
+ * **UserManaged** \
2050
+ * **SystemManaged**
2051
+ */
2052
+ export type RaiPolicyType = string;
2053
+ /** Known values of {@link RaiPolicyMode} that the service accepts. */
2054
+ export declare enum KnownRaiPolicyMode {
2055
+ /** Default */
2056
+ Default = "Default",
2057
+ /** Deferred */
2058
+ Deferred = "Deferred",
2059
+ /** Blocking */
2060
+ Blocking = "Blocking",
2061
+ /** AsynchronousFilter */
2062
+ AsynchronousFilter = "Asynchronous_filter"
2063
+ }
2064
+ /**
2065
+ * Defines values for RaiPolicyMode. \
2066
+ * {@link KnownRaiPolicyMode} can be used interchangeably with RaiPolicyMode,
2067
+ * this enum contains the known values that the service supports.
2068
+ * ### Known values supported by the service
2069
+ * **Default** \
2070
+ * **Deferred** \
2071
+ * **Blocking** \
2072
+ * **Asynchronous_filter**
2073
+ */
2074
+ export type RaiPolicyMode = string;
2075
+ /** Known values of {@link ContentLevel} that the service accepts. */
2076
+ export declare enum KnownContentLevel {
2077
+ /** Low */
2078
+ Low = "Low",
2079
+ /** Medium */
2080
+ Medium = "Medium",
2081
+ /** High */
2082
+ High = "High"
2083
+ }
2084
+ /**
2085
+ * Defines values for ContentLevel. \
2086
+ * {@link KnownContentLevel} can be used interchangeably with ContentLevel,
2087
+ * this enum contains the known values that the service supports.
2088
+ * ### Known values supported by the service
2089
+ * **Low** \
2090
+ * **Medium** \
2091
+ * **High**
2092
+ */
2093
+ export type ContentLevel = string;
2094
+ /** Known values of {@link RaiPolicyContentSource} that the service accepts. */
2095
+ export declare enum KnownRaiPolicyContentSource {
2096
+ /** Prompt */
2097
+ Prompt = "Prompt",
2098
+ /** Completion */
2099
+ Completion = "Completion"
2100
+ }
2101
+ /**
2102
+ * Defines values for RaiPolicyContentSource. \
2103
+ * {@link KnownRaiPolicyContentSource} can be used interchangeably with RaiPolicyContentSource,
2104
+ * this enum contains the known values that the service supports.
2105
+ * ### Known values supported by the service
2106
+ * **Prompt** \
2107
+ * **Completion**
2108
+ */
2109
+ export type RaiPolicyContentSource = string;
2110
+ /** Known values of {@link NspAccessRuleDirection} that the service accepts. */
2111
+ export declare enum KnownNspAccessRuleDirection {
2112
+ /** Inbound */
2113
+ Inbound = "Inbound",
2114
+ /** Outbound */
2115
+ Outbound = "Outbound"
2116
+ }
2117
+ /**
2118
+ * Defines values for NspAccessRuleDirection. \
2119
+ * {@link KnownNspAccessRuleDirection} can be used interchangeably with NspAccessRuleDirection,
2120
+ * this enum contains the known values that the service supports.
2121
+ * ### Known values supported by the service
2122
+ * **Inbound** \
2123
+ * **Outbound**
2124
+ */
2125
+ export type NspAccessRuleDirection = string;
2126
+ /** Known values of {@link DefenderForAISettingState} that the service accepts. */
2127
+ export declare enum KnownDefenderForAISettingState {
2128
+ /** Disabled */
2129
+ Disabled = "Disabled",
2130
+ /** Enabled */
2131
+ Enabled = "Enabled"
2132
+ }
2133
+ /**
2134
+ * Defines values for DefenderForAISettingState. \
2135
+ * {@link KnownDefenderForAISettingState} can be used interchangeably with DefenderForAISettingState,
2136
+ * this enum contains the known values that the service supports.
2137
+ * ### Known values supported by the service
2138
+ * **Disabled** \
2139
+ * **Enabled**
2140
+ */
2141
+ export type DefenderForAISettingState = string;
1482
2142
  /** Defines values for ResourceIdentityType. */
1483
2143
  export type ResourceIdentityType = "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned";
1484
2144
  /** Defines values for KeyName. */
@@ -1634,6 +2294,17 @@ export interface CheckDomainAvailabilityOptionalParams extends coreClient.Operat
1634
2294
  /** Contains response data for the checkDomainAvailability operation. */
1635
2295
  export type CheckDomainAvailabilityResponse = DomainAvailability;
1636
2296
  /** Optional parameters. */
2297
+ export interface CalculateModelCapacityOptionalParams extends coreClient.OperationOptions {
2298
+ /** Properties of Cognitive Services account deployment model. */
2299
+ model?: DeploymentModel;
2300
+ /** The name of SKU. */
2301
+ skuName?: string;
2302
+ /** List of Model Capacity Calculator Workload. */
2303
+ workloads?: ModelCapacityCalculatorWorkload[];
2304
+ }
2305
+ /** Contains response data for the calculateModelCapacity operation. */
2306
+ export type CalculateModelCapacityResponse = CalculateModelCapacityResult;
2307
+ /** Optional parameters. */
1637
2308
  export interface CommitmentTiersListOptionalParams extends coreClient.OperationOptions {
1638
2309
  }
1639
2310
  /** Contains response data for the list operation. */
@@ -1654,6 +2325,26 @@ export interface ModelsListNextOptionalParams extends coreClient.OperationOption
1654
2325
  /** Contains response data for the listNext operation. */
1655
2326
  export type ModelsListNextResponse = ModelListResult;
1656
2327
  /** Optional parameters. */
2328
+ export interface LocationBasedModelCapacitiesListOptionalParams extends coreClient.OperationOptions {
2329
+ }
2330
+ /** Contains response data for the list operation. */
2331
+ export type LocationBasedModelCapacitiesListResponse = ModelCapacityListResult;
2332
+ /** Optional parameters. */
2333
+ export interface LocationBasedModelCapacitiesListNextOptionalParams extends coreClient.OperationOptions {
2334
+ }
2335
+ /** Contains response data for the listNext operation. */
2336
+ export type LocationBasedModelCapacitiesListNextResponse = ModelCapacityListResult;
2337
+ /** Optional parameters. */
2338
+ export interface ModelCapacitiesListOptionalParams extends coreClient.OperationOptions {
2339
+ }
2340
+ /** Contains response data for the list operation. */
2341
+ export type ModelCapacitiesListResponse = ModelCapacityListResult;
2342
+ /** Optional parameters. */
2343
+ export interface ModelCapacitiesListNextOptionalParams extends coreClient.OperationOptions {
2344
+ }
2345
+ /** Contains response data for the listNext operation. */
2346
+ export type ModelCapacitiesListNextResponse = ModelCapacityListResult;
2347
+ /** Optional parameters. */
1657
2348
  export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
1658
2349
  }
1659
2350
  /** Contains response data for the list operation. */
@@ -1704,6 +2395,15 @@ export interface DeploymentsCreateOrUpdateOptionalParams extends coreClient.Oper
1704
2395
  /** Contains response data for the createOrUpdate operation. */
1705
2396
  export type DeploymentsCreateOrUpdateResponse = Deployment;
1706
2397
  /** Optional parameters. */
2398
+ export interface DeploymentsUpdateOptionalParams extends coreClient.OperationOptions {
2399
+ /** Delay to wait until next poll, in milliseconds. */
2400
+ updateIntervalInMs?: number;
2401
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2402
+ resumeFrom?: string;
2403
+ }
2404
+ /** Contains response data for the update operation. */
2405
+ export type DeploymentsUpdateResponse = Deployment;
2406
+ /** Optional parameters. */
1707
2407
  export interface DeploymentsDeleteOptionalParams extends coreClient.OperationOptions {
1708
2408
  /** Delay to wait until next poll, in milliseconds. */
1709
2409
  updateIntervalInMs?: number;
@@ -1711,11 +2411,21 @@ export interface DeploymentsDeleteOptionalParams extends coreClient.OperationOpt
1711
2411
  resumeFrom?: string;
1712
2412
  }
1713
2413
  /** Optional parameters. */
2414
+ export interface DeploymentsListSkusOptionalParams extends coreClient.OperationOptions {
2415
+ }
2416
+ /** Contains response data for the listSkus operation. */
2417
+ export type DeploymentsListSkusResponse = DeploymentSkuListResult;
2418
+ /** Optional parameters. */
1714
2419
  export interface DeploymentsListNextOptionalParams extends coreClient.OperationOptions {
1715
2420
  }
1716
2421
  /** Contains response data for the listNext operation. */
1717
2422
  export type DeploymentsListNextResponse = DeploymentListResult;
1718
2423
  /** Optional parameters. */
2424
+ export interface DeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions {
2425
+ }
2426
+ /** Contains response data for the listSkusNext operation. */
2427
+ export type DeploymentsListSkusNextResponse = DeploymentSkuListResult;
2428
+ /** Optional parameters. */
1719
2429
  export interface CommitmentPlansListOptionalParams extends coreClient.OperationOptions {
1720
2430
  }
1721
2431
  /** Contains response data for the list operation. */
@@ -1824,6 +2534,194 @@ export interface CommitmentPlansListAssociationsNextOptionalParams extends coreC
1824
2534
  /** Contains response data for the listAssociationsNext operation. */
1825
2535
  export type CommitmentPlansListAssociationsNextResponse = CommitmentPlanAccountAssociationListResult;
1826
2536
  /** Optional parameters. */
2537
+ export interface EncryptionScopesListOptionalParams extends coreClient.OperationOptions {
2538
+ }
2539
+ /** Contains response data for the list operation. */
2540
+ export type EncryptionScopesListResponse = EncryptionScopeListResult;
2541
+ /** Optional parameters. */
2542
+ export interface EncryptionScopesGetOptionalParams extends coreClient.OperationOptions {
2543
+ }
2544
+ /** Contains response data for the get operation. */
2545
+ export type EncryptionScopesGetResponse = EncryptionScope;
2546
+ /** Optional parameters. */
2547
+ export interface EncryptionScopesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2548
+ }
2549
+ /** Contains response data for the createOrUpdate operation. */
2550
+ export type EncryptionScopesCreateOrUpdateResponse = EncryptionScope;
2551
+ /** Optional parameters. */
2552
+ export interface EncryptionScopesDeleteOptionalParams extends coreClient.OperationOptions {
2553
+ /** Delay to wait until next poll, in milliseconds. */
2554
+ updateIntervalInMs?: number;
2555
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2556
+ resumeFrom?: string;
2557
+ }
2558
+ /** Contains response data for the delete operation. */
2559
+ export type EncryptionScopesDeleteResponse = EncryptionScopesDeleteHeaders;
2560
+ /** Optional parameters. */
2561
+ export interface EncryptionScopesListNextOptionalParams extends coreClient.OperationOptions {
2562
+ }
2563
+ /** Contains response data for the listNext operation. */
2564
+ export type EncryptionScopesListNextResponse = EncryptionScopeListResult;
2565
+ /** Optional parameters. */
2566
+ export interface RaiPoliciesListOptionalParams extends coreClient.OperationOptions {
2567
+ }
2568
+ /** Contains response data for the list operation. */
2569
+ export type RaiPoliciesListResponse = RaiPolicyListResult;
2570
+ /** Optional parameters. */
2571
+ export interface RaiPoliciesGetOptionalParams extends coreClient.OperationOptions {
2572
+ }
2573
+ /** Contains response data for the get operation. */
2574
+ export type RaiPoliciesGetResponse = RaiPolicy;
2575
+ /** Optional parameters. */
2576
+ export interface RaiPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2577
+ }
2578
+ /** Contains response data for the createOrUpdate operation. */
2579
+ export type RaiPoliciesCreateOrUpdateResponse = RaiPolicy;
2580
+ /** Optional parameters. */
2581
+ export interface RaiPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
2582
+ /** Delay to wait until next poll, in milliseconds. */
2583
+ updateIntervalInMs?: number;
2584
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2585
+ resumeFrom?: string;
2586
+ }
2587
+ /** Contains response data for the delete operation. */
2588
+ export type RaiPoliciesDeleteResponse = RaiPoliciesDeleteHeaders;
2589
+ /** Optional parameters. */
2590
+ export interface RaiPoliciesListNextOptionalParams extends coreClient.OperationOptions {
2591
+ }
2592
+ /** Contains response data for the listNext operation. */
2593
+ export type RaiPoliciesListNextResponse = RaiPolicyListResult;
2594
+ /** Optional parameters. */
2595
+ export interface RaiBlocklistsListOptionalParams extends coreClient.OperationOptions {
2596
+ }
2597
+ /** Contains response data for the list operation. */
2598
+ export type RaiBlocklistsListResponse = RaiBlockListResult;
2599
+ /** Optional parameters. */
2600
+ export interface RaiBlocklistsGetOptionalParams extends coreClient.OperationOptions {
2601
+ }
2602
+ /** Contains response data for the get operation. */
2603
+ export type RaiBlocklistsGetResponse = RaiBlocklist;
2604
+ /** Optional parameters. */
2605
+ export interface RaiBlocklistsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2606
+ }
2607
+ /** Contains response data for the createOrUpdate operation. */
2608
+ export type RaiBlocklistsCreateOrUpdateResponse = RaiBlocklist;
2609
+ /** Optional parameters. */
2610
+ export interface RaiBlocklistsDeleteOptionalParams extends coreClient.OperationOptions {
2611
+ /** Delay to wait until next poll, in milliseconds. */
2612
+ updateIntervalInMs?: number;
2613
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2614
+ resumeFrom?: string;
2615
+ }
2616
+ /** Contains response data for the delete operation. */
2617
+ export type RaiBlocklistsDeleteResponse = RaiBlocklistsDeleteHeaders;
2618
+ /** Optional parameters. */
2619
+ export interface RaiBlocklistsListNextOptionalParams extends coreClient.OperationOptions {
2620
+ }
2621
+ /** Contains response data for the listNext operation. */
2622
+ export type RaiBlocklistsListNextResponse = RaiBlockListResult;
2623
+ /** Optional parameters. */
2624
+ export interface RaiBlocklistItemsListOptionalParams extends coreClient.OperationOptions {
2625
+ }
2626
+ /** Contains response data for the list operation. */
2627
+ export type RaiBlocklistItemsListResponse = RaiBlockListItemsResult;
2628
+ /** Optional parameters. */
2629
+ export interface RaiBlocklistItemsGetOptionalParams extends coreClient.OperationOptions {
2630
+ }
2631
+ /** Contains response data for the get operation. */
2632
+ export type RaiBlocklistItemsGetResponse = RaiBlocklistItem;
2633
+ /** Optional parameters. */
2634
+ export interface RaiBlocklistItemsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2635
+ }
2636
+ /** Contains response data for the createOrUpdate operation. */
2637
+ export type RaiBlocklistItemsCreateOrUpdateResponse = RaiBlocklistItem;
2638
+ /** Optional parameters. */
2639
+ export interface RaiBlocklistItemsDeleteOptionalParams extends coreClient.OperationOptions {
2640
+ /** Delay to wait until next poll, in milliseconds. */
2641
+ updateIntervalInMs?: number;
2642
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2643
+ resumeFrom?: string;
2644
+ }
2645
+ /** Contains response data for the delete operation. */
2646
+ export type RaiBlocklistItemsDeleteResponse = RaiBlocklistItemsDeleteHeaders;
2647
+ /** Optional parameters. */
2648
+ export interface RaiBlocklistItemsBatchAddOptionalParams extends coreClient.OperationOptions {
2649
+ }
2650
+ /** Contains response data for the batchAdd operation. */
2651
+ export type RaiBlocklistItemsBatchAddResponse = RaiBlocklist;
2652
+ /** Optional parameters. */
2653
+ export interface RaiBlocklistItemsBatchDeleteOptionalParams extends coreClient.OperationOptions {
2654
+ }
2655
+ /** Optional parameters. */
2656
+ export interface RaiBlocklistItemsListNextOptionalParams extends coreClient.OperationOptions {
2657
+ }
2658
+ /** Contains response data for the listNext operation. */
2659
+ export type RaiBlocklistItemsListNextResponse = RaiBlockListItemsResult;
2660
+ /** Optional parameters. */
2661
+ export interface RaiContentFiltersListOptionalParams extends coreClient.OperationOptions {
2662
+ }
2663
+ /** Contains response data for the list operation. */
2664
+ export type RaiContentFiltersListResponse = RaiContentFilterListResult;
2665
+ /** Optional parameters. */
2666
+ export interface RaiContentFiltersGetOptionalParams extends coreClient.OperationOptions {
2667
+ }
2668
+ /** Contains response data for the get operation. */
2669
+ export type RaiContentFiltersGetResponse = RaiContentFilter;
2670
+ /** Optional parameters. */
2671
+ export interface RaiContentFiltersListNextOptionalParams extends coreClient.OperationOptions {
2672
+ }
2673
+ /** Contains response data for the listNext operation. */
2674
+ export type RaiContentFiltersListNextResponse = RaiContentFilterListResult;
2675
+ /** Optional parameters. */
2676
+ export interface NetworkSecurityPerimeterConfigurationsListOptionalParams extends coreClient.OperationOptions {
2677
+ }
2678
+ /** Contains response data for the list operation. */
2679
+ export type NetworkSecurityPerimeterConfigurationsListResponse = NetworkSecurityPerimeterConfigurationList;
2680
+ /** Optional parameters. */
2681
+ export interface NetworkSecurityPerimeterConfigurationsGetOptionalParams extends coreClient.OperationOptions {
2682
+ }
2683
+ /** Contains response data for the get operation. */
2684
+ export type NetworkSecurityPerimeterConfigurationsGetResponse = NetworkSecurityPerimeterConfiguration;
2685
+ /** Optional parameters. */
2686
+ export interface NetworkSecurityPerimeterConfigurationsReconcileOptionalParams extends coreClient.OperationOptions {
2687
+ /** Delay to wait until next poll, in milliseconds. */
2688
+ updateIntervalInMs?: number;
2689
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2690
+ resumeFrom?: string;
2691
+ }
2692
+ /** Contains response data for the reconcile operation. */
2693
+ export type NetworkSecurityPerimeterConfigurationsReconcileResponse = NetworkSecurityPerimeterConfiguration;
2694
+ /** Optional parameters. */
2695
+ export interface NetworkSecurityPerimeterConfigurationsListNextOptionalParams extends coreClient.OperationOptions {
2696
+ }
2697
+ /** Contains response data for the listNext operation. */
2698
+ export type NetworkSecurityPerimeterConfigurationsListNextResponse = NetworkSecurityPerimeterConfigurationList;
2699
+ /** Optional parameters. */
2700
+ export interface DefenderForAISettingsListOptionalParams extends coreClient.OperationOptions {
2701
+ }
2702
+ /** Contains response data for the list operation. */
2703
+ export type DefenderForAISettingsListResponse = DefenderForAISettingResult;
2704
+ /** Optional parameters. */
2705
+ export interface DefenderForAISettingsGetOptionalParams extends coreClient.OperationOptions {
2706
+ }
2707
+ /** Contains response data for the get operation. */
2708
+ export type DefenderForAISettingsGetResponse = DefenderForAISetting;
2709
+ /** Optional parameters. */
2710
+ export interface DefenderForAISettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2711
+ }
2712
+ /** Contains response data for the createOrUpdate operation. */
2713
+ export type DefenderForAISettingsCreateOrUpdateResponse = DefenderForAISetting;
2714
+ /** Optional parameters. */
2715
+ export interface DefenderForAISettingsUpdateOptionalParams extends coreClient.OperationOptions {
2716
+ }
2717
+ /** Contains response data for the update operation. */
2718
+ export type DefenderForAISettingsUpdateResponse = DefenderForAISetting;
2719
+ /** Optional parameters. */
2720
+ export interface DefenderForAISettingsListNextOptionalParams extends coreClient.OperationOptions {
2721
+ }
2722
+ /** Contains response data for the listNext operation. */
2723
+ export type DefenderForAISettingsListNextResponse = DefenderForAISettingResult;
2724
+ /** Optional parameters. */
1827
2725
  export interface CognitiveServicesManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1828
2726
  /** server parameter */
1829
2727
  $host?: string;