@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.
- package/CHANGELOG.md +196 -8
- package/LICENSE +1 -1
- package/README.md +4 -5
- package/dist/index.js +8300 -4017
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/accountsCreateSample.js +10 -10
- package/dist-esm/samples-dev/accountsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/accountsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/accountsGetSample.js +1 -1
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +5 -10
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/accountsListKeysSample.js +1 -1
- package/dist-esm/samples-dev/accountsListModelsSample.js +5 -10
- package/dist-esm/samples-dev/accountsListModelsSample.js.map +1 -1
- package/dist-esm/samples-dev/accountsListSample.js +5 -10
- package/dist-esm/samples-dev/accountsListSample.js.map +1 -1
- package/dist-esm/samples-dev/accountsListSkusSample.js +1 -1
- package/dist-esm/samples-dev/accountsListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/accountsRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/accountsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/accountsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/calculateModelCapacitySample.d.ts +2 -0
- package/dist-esm/samples-dev/calculateModelCapacitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/calculateModelCapacitySample.js +54 -0
- package/dist-esm/samples-dev/calculateModelCapacitySample.js.map +1 -0
- package/dist-esm/samples-dev/checkDomainAvailabilitySample.js +5 -3
- package/dist-esm/samples-dev/checkDomainAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/checkSkuAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateAssociationSample.js +3 -3
- package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateAssociationSample.js.map +1 -1
- package/dist-esm/samples-dev/commitmentPlansCreateOrUpdatePlanSample.js +4 -4
- package/dist-esm/samples-dev/commitmentPlansCreateOrUpdatePlanSample.js.map +1 -1
- package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/commitmentPlansDeleteAssociationSample.js +1 -1
- package/dist-esm/samples-dev/commitmentPlansDeletePlanSample.js +1 -1
- package/dist-esm/samples-dev/commitmentPlansDeleteSample.js +1 -1
- package/dist-esm/samples-dev/commitmentPlansGetAssociationSample.js +1 -1
- package/dist-esm/samples-dev/commitmentPlansGetPlanSample.js +1 -1
- package/dist-esm/samples-dev/commitmentPlansGetSample.js +1 -1
- package/dist-esm/samples-dev/commitmentPlansListAssociationsSample.js +5 -10
- package/dist-esm/samples-dev/commitmentPlansListAssociationsSample.js.map +1 -1
- package/dist-esm/samples-dev/commitmentPlansListPlansByResourceGroupSample.js +5 -10
- package/dist-esm/samples-dev/commitmentPlansListPlansByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/commitmentPlansListPlansBySubscriptionSample.js +5 -10
- package/dist-esm/samples-dev/commitmentPlansListPlansBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/commitmentPlansListSample.js +5 -10
- package/dist-esm/samples-dev/commitmentPlansListSample.js.map +1 -1
- package/dist-esm/samples-dev/commitmentPlansUpdatePlanSample.js +2 -2
- package/dist-esm/samples-dev/commitmentPlansUpdatePlanSample.js.map +1 -1
- package/dist-esm/samples-dev/commitmentTiersListSample.js +5 -10
- package/dist-esm/samples-dev/commitmentTiersListSample.js.map +1 -1
- package/dist-esm/samples-dev/defenderForAiSettingsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/defenderForAiSettingsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/defenderForAiSettingsCreateOrUpdateSample.js +41 -0
- package/dist-esm/samples-dev/defenderForAiSettingsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/defenderForAiSettingsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/defenderForAiSettingsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/defenderForAiSettingsGetSample.js +40 -0
- package/dist-esm/samples-dev/defenderForAiSettingsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/defenderForAiSettingsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/defenderForAiSettingsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/defenderForAiSettingsListSample.js +55 -0
- package/dist-esm/samples-dev/defenderForAiSettingsListSample.js.map +1 -0
- package/dist-esm/samples-dev/defenderForAiSettingsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/defenderForAiSettingsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/defenderForAiSettingsUpdateSample.js +41 -0
- package/dist-esm/samples-dev/defenderForAiSettingsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/deletedAccountsGetSample.js +1 -1
- package/dist-esm/samples-dev/deletedAccountsListSample.js +5 -10
- package/dist-esm/samples-dev/deletedAccountsListSample.js.map +1 -1
- package/dist-esm/samples-dev/deletedAccountsPurgeSample.js +1 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/deploymentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/deploymentsGetSample.js +1 -1
- package/dist-esm/samples-dev/deploymentsListSample.js +5 -10
- package/dist-esm/samples-dev/deploymentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/deploymentsListSkusSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentsListSkusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentsListSkusSample.js +56 -0
- package/dist-esm/samples-dev/deploymentsListSkusSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentsUpdateSample.js +43 -0
- package/dist-esm/samples-dev/deploymentsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/encryptionScopesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/encryptionScopesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/encryptionScopesCreateOrUpdateSample.js +52 -0
- package/dist-esm/samples-dev/encryptionScopesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/encryptionScopesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/encryptionScopesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/encryptionScopesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/encryptionScopesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/encryptionScopesGetSample.js +40 -0
- package/dist-esm/samples-dev/encryptionScopesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/encryptionScopesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/encryptionScopesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/encryptionScopesListSample.js +55 -0
- package/dist-esm/samples-dev/encryptionScopesListSample.js.map +1 -0
- package/dist-esm/samples-dev/locationBasedModelCapacitiesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/locationBasedModelCapacitiesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/locationBasedModelCapacitiesListSample.js +57 -0
- package/dist-esm/samples-dev/locationBasedModelCapacitiesListSample.js.map +1 -0
- package/dist-esm/samples-dev/modelCapacitiesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/modelCapacitiesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/modelCapacitiesListSample.js +56 -0
- package/dist-esm/samples-dev/modelCapacitiesListSample.js.map +1 -0
- package/dist-esm/samples-dev/modelsListSample.js +7 -12
- package/dist-esm/samples-dev/modelsListSample.js.map +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +40 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +55 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +40 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +5 -10
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/raiBlocklistItemsBatchAddSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistItemsBatchAddSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsBatchAddSample.js +50 -0
- package/dist-esm/samples-dev/raiBlocklistItemsBatchAddSample.js.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsBatchDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistItemsBatchDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsBatchDeleteSample.js +44 -0
- package/dist-esm/samples-dev/raiBlocklistItemsBatchDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistItemsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsCreateOrUpdateSample.js +44 -0
- package/dist-esm/samples-dev/raiBlocklistItemsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistItemsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsDeleteSample.js +41 -0
- package/dist-esm/samples-dev/raiBlocklistItemsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistItemsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsGetSample.js +41 -0
- package/dist-esm/samples-dev/raiBlocklistItemsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistItemsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistItemsListSample.js +56 -0
- package/dist-esm/samples-dev/raiBlocklistItemsListSample.js.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistsCreateOrUpdateSample.js +43 -0
- package/dist-esm/samples-dev/raiBlocklistsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/raiBlocklistsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistsGetSample.js +40 -0
- package/dist-esm/samples-dev/raiBlocklistsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiBlocklistsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiBlocklistsListSample.js +55 -0
- package/dist-esm/samples-dev/raiBlocklistsListSample.js.map +1 -0
- package/dist-esm/samples-dev/raiContentFiltersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiContentFiltersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiContentFiltersGetSample.js +39 -0
- package/dist-esm/samples-dev/raiContentFiltersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/raiContentFiltersListSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiContentFiltersListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiContentFiltersListSample.js +54 -0
- package/dist-esm/samples-dev/raiContentFiltersListSample.js.map +1 -0
- package/dist-esm/samples-dev/raiPoliciesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiPoliciesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiPoliciesCreateOrUpdateSample.js +118 -0
- package/dist-esm/samples-dev/raiPoliciesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/raiPoliciesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiPoliciesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiPoliciesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/raiPoliciesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/raiPoliciesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiPoliciesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiPoliciesGetSample.js +40 -0
- package/dist-esm/samples-dev/raiPoliciesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/raiPoliciesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/raiPoliciesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/raiPoliciesListSample.js +55 -0
- package/dist-esm/samples-dev/raiPoliciesListSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceSkusListSample.js +5 -10
- package/dist-esm/samples-dev/resourceSkusListSample.js.map +1 -1
- package/dist-esm/samples-dev/usagesListSample.js +5 -10
- package/dist-esm/samples-dev/usagesListSample.js.map +1 -1
- package/dist-esm/src/cognitiveServicesManagementClient.d.ts +17 -3
- package/dist-esm/src/cognitiveServicesManagementClient.d.ts.map +1 -1
- package/dist-esm/src/cognitiveServicesManagementClient.js +64 -22
- package/dist-esm/src/cognitiveServicesManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +917 -19
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +96 -2
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +54 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +2369 -950
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +21 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +262 -65
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/accounts.d.ts.map +1 -1
- package/dist-esm/src/operations/accounts.js +100 -115
- package/dist-esm/src/operations/accounts.js.map +1 -1
- package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -1
- package/dist-esm/src/operations/commitmentPlans.js +141 -161
- package/dist-esm/src/operations/commitmentPlans.js.map +1 -1
- package/dist-esm/src/operations/commitmentTiers.js +14 -19
- package/dist-esm/src/operations/commitmentTiers.js.map +1 -1
- package/dist-esm/src/operations/defenderForAISettings.d.ts +64 -0
- package/dist-esm/src/operations/defenderForAISettings.d.ts.map +1 -0
- package/dist-esm/src/operations/defenderForAISettings.js +267 -0
- package/dist-esm/src/operations/defenderForAISettings.js.map +1 -0
- package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/deletedAccounts.js +27 -32
- package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
- package/dist-esm/src/operations/deployments.d.ts +46 -1
- package/dist-esm/src/operations/deployments.d.ts.map +1 -1
- package/dist-esm/src/operations/deployments.js +269 -46
- package/dist-esm/src/operations/deployments.js.map +1 -1
- package/dist-esm/src/operations/encryptionScopes.d.ts +76 -0
- package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -0
- package/dist-esm/src/operations/encryptionScopes.js +320 -0
- package/dist-esm/src/operations/encryptionScopes.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +9 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +9 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/locationBasedModelCapacities.d.ts +41 -0
- package/dist-esm/src/operations/locationBasedModelCapacities.d.ts.map +1 -0
- package/dist-esm/src/operations/locationBasedModelCapacities.js +156 -0
- package/dist-esm/src/operations/locationBasedModelCapacities.js.map +1 -0
- package/dist-esm/src/operations/modelCapacities.d.ts +38 -0
- package/dist-esm/src/operations/modelCapacities.d.ts.map +1 -0
- package/dist-esm/src/operations/modelCapacities.js +148 -0
- package/dist-esm/src/operations/modelCapacities.js.map +1 -0
- package/dist-esm/src/operations/models.js +14 -19
- package/dist-esm/src/operations/models.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +63 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +273 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operations/operations.js +12 -17
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +34 -34
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +5 -5
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/raiBlocklistItems.d.ts +97 -0
- package/dist-esm/src/operations/raiBlocklistItems.d.ts.map +1 -0
- package/dist-esm/src/operations/raiBlocklistItems.js +422 -0
- package/dist-esm/src/operations/raiBlocklistItems.js.map +1 -0
- package/dist-esm/src/operations/raiBlocklists.d.ts +72 -0
- package/dist-esm/src/operations/raiBlocklists.d.ts.map +1 -0
- package/dist-esm/src/operations/raiBlocklists.js +317 -0
- package/dist-esm/src/operations/raiBlocklists.js.map +1 -0
- package/dist-esm/src/operations/raiContentFilters.d.ts +42 -0
- package/dist-esm/src/operations/raiContentFilters.d.ts.map +1 -0
- package/dist-esm/src/operations/raiContentFilters.js +175 -0
- package/dist-esm/src/operations/raiContentFilters.js.map +1 -0
- package/dist-esm/src/operations/raiPolicies.d.ts +72 -0
- package/dist-esm/src/operations/raiPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/raiPolicies.js +311 -0
- package/dist-esm/src/operations/raiPolicies.js.map +1 -0
- package/dist-esm/src/operations/resourceSkus.js +13 -18
- package/dist-esm/src/operations/resourceSkus.js.map +1 -1
- package/dist-esm/src/operations/usages.js +14 -19
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/defenderForAISettings.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/defenderForAISettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/defenderForAISettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/defenderForAISettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deployments.d.ts +27 -1
- package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts +51 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.js +9 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +9 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/locationBasedModelCapacities.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locationBasedModelCapacities.js +9 -0
- package/dist-esm/src/operationsInterfaces/locationBasedModelCapacities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/modelCapacities.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/modelCapacities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/modelCapacities.js +9 -0
- package/dist-esm/src/operationsInterfaces/modelCapacities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/raiBlocklistItems.d.ts +70 -0
- package/dist-esm/src/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/raiBlocklistItems.js +9 -0
- package/dist-esm/src/operationsInterfaces/raiBlocklistItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/raiBlocklists.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/raiBlocklists.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/raiBlocklists.js +9 -0
- package/dist-esm/src/operationsInterfaces/raiBlocklists.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/raiContentFilters.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/raiContentFilters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/raiContentFilters.js +9 -0
- package/dist-esm/src/operationsInterfaces/raiContentFilters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/raiPolicies.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/raiPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/raiPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/raiPolicies.js.map +1 -0
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/cognitiveservices_congitiveservice.spec.d.ts.map +1 -1
- package/dist-esm/test/cognitiveservices_congitiveservice.spec.js +20 -31
- package/dist-esm/test/cognitiveservices_congitiveservice.spec.js.map +1 -1
- package/dist-esm/test/cognitiveservices_openai.spec.d.ts.map +1 -1
- package/dist-esm/test/cognitiveservices_openai.spec.js +25 -41
- package/dist-esm/test/cognitiveservices_openai.spec.js.map +1 -1
- package/package.json +23 -32
- package/review/arm-cognitiveservices.api.md +893 -23
- package/src/cognitiveServicesManagementClient.ts +117 -39
- package/src/lroImpl.ts +4 -4
- package/src/models/index.ts +1110 -51
- package/src/models/mappers.ts +2579 -1046
- package/src/models/parameters.ts +291 -67
- package/src/operations/accounts.ts +170 -184
- package/src/operations/commitmentPlans.ts +253 -273
- package/src/operations/commitmentTiers.ts +20 -21
- package/src/operations/defenderForAISettings.ts +345 -0
- package/src/operations/deletedAccounts.ts +46 -50
- package/src/operations/deployments.ts +399 -81
- package/src/operations/encryptionScopes.ts +429 -0
- package/src/operations/index.ts +9 -0
- package/src/operations/locationBasedModelCapacities.ts +219 -0
- package/src/operations/modelCapacities.ts +195 -0
- package/src/operations/models.ts +20 -21
- package/src/operations/networkSecurityPerimeterConfigurations.ts +372 -0
- package/src/operations/operations.ts +16 -16
- package/src/operations/privateEndpointConnections.ts +65 -70
- package/src/operations/privateLinkResources.ts +9 -10
- package/src/operations/raiBlocklistItems.ts +578 -0
- package/src/operations/raiBlocklists.ts +426 -0
- package/src/operations/raiContentFilters.ts +209 -0
- package/src/operations/raiPolicies.ts +420 -0
- package/src/operations/resourceSkus.ts +18 -19
- package/src/operations/usages.ts +20 -21
- package/src/operationsInterfaces/accounts.ts +15 -15
- package/src/operationsInterfaces/commitmentPlans.ts +21 -21
- package/src/operationsInterfaces/commitmentTiers.ts +1 -1
- package/src/operationsInterfaces/defenderForAISettings.ts +78 -0
- package/src/operationsInterfaces/deletedAccounts.ts +5 -5
- package/src/operationsInterfaces/deployments.ts +60 -7
- package/src/operationsInterfaces/encryptionScopes.ts +99 -0
- package/src/operationsInterfaces/index.ts +9 -0
- package/src/operationsInterfaces/locationBasedModelCapacities.ts +33 -0
- package/src/operationsInterfaces/modelCapacities.ts +31 -0
- package/src/operationsInterfaces/models.ts +1 -1
- package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +78 -0
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/privateLinkResources.ts +2 -2
- package/src/operationsInterfaces/raiBlocklistItems.ts +139 -0
- package/src/operationsInterfaces/raiBlocklists.ts +95 -0
- package/src/operationsInterfaces/raiContentFilters.ts +40 -0
- package/src/operationsInterfaces/raiPolicies.ts +95 -0
- package/src/operationsInterfaces/resourceSkus.ts +1 -1
- package/src/operationsInterfaces/usages.ts +1 -1
- package/src/pagingHelper.ts +1 -1
- package/tsconfig.json +2 -2
- package/types/arm-cognitiveservices.d.ts +1499 -91
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
|
@@ -60,7 +60,7 @@ export declare interface AccountListResult {
|
|
|
60
60
|
|
|
61
61
|
/** Cognitive Services account Model. */
|
|
62
62
|
export declare interface AccountModel extends DeploymentModel {
|
|
63
|
-
/**
|
|
63
|
+
/** Properties of Cognitive Services account deployment model. */
|
|
64
64
|
baseModel?: DeploymentModel;
|
|
65
65
|
/** If the model is default version. */
|
|
66
66
|
isDefaultVersion?: boolean;
|
|
@@ -137,6 +137,8 @@ export declare interface AccountProperties {
|
|
|
137
137
|
encryption?: Encryption;
|
|
138
138
|
/** The storage accounts for this resource. */
|
|
139
139
|
userOwnedStorage?: UserOwnedStorage[];
|
|
140
|
+
/** The user owned AML workspace properties. */
|
|
141
|
+
amlWorkspace?: UserOwnedAmlWorkspace;
|
|
140
142
|
/**
|
|
141
143
|
* The private endpoint connection associated with the Cognitive Services account.
|
|
142
144
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -193,6 +195,8 @@ export declare interface AccountProperties {
|
|
|
193
195
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
194
196
|
*/
|
|
195
197
|
readonly abusePenalty?: AbusePenalty;
|
|
198
|
+
/** Cognitive Services Rai Monitor Config. */
|
|
199
|
+
raiMonitorConfig?: RaiMonitorConfig;
|
|
196
200
|
}
|
|
197
201
|
|
|
198
202
|
/** Interface representing a Accounts. */
|
|
@@ -476,6 +480,60 @@ export declare interface AzureEntityResource extends Resource {
|
|
|
476
480
|
readonly etag?: string;
|
|
477
481
|
}
|
|
478
482
|
|
|
483
|
+
export declare interface BillingMeterInfo {
|
|
484
|
+
name?: string;
|
|
485
|
+
meterId?: string;
|
|
486
|
+
unit?: string;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Defines values for ByPassSelection. \
|
|
491
|
+
* {@link KnownByPassSelection} can be used interchangeably with ByPassSelection,
|
|
492
|
+
* this enum contains the known values that the service supports.
|
|
493
|
+
* ### Known values supported by the service
|
|
494
|
+
* **None** \
|
|
495
|
+
* **AzureServices**
|
|
496
|
+
*/
|
|
497
|
+
export declare type ByPassSelection = string;
|
|
498
|
+
|
|
499
|
+
/** Optional parameters. */
|
|
500
|
+
export declare interface CalculateModelCapacityOptionalParams extends coreClient.OperationOptions {
|
|
501
|
+
/** Properties of Cognitive Services account deployment model. */
|
|
502
|
+
model?: DeploymentModel;
|
|
503
|
+
/** The name of SKU. */
|
|
504
|
+
skuName?: string;
|
|
505
|
+
/** List of Model Capacity Calculator Workload. */
|
|
506
|
+
workloads?: ModelCapacityCalculatorWorkload[];
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/** Calculate Model Capacity parameter. */
|
|
510
|
+
export declare interface CalculateModelCapacityParameter {
|
|
511
|
+
/** Properties of Cognitive Services account deployment model. */
|
|
512
|
+
model?: DeploymentModel;
|
|
513
|
+
/** The name of SKU. */
|
|
514
|
+
skuName?: string;
|
|
515
|
+
/** List of Model Capacity Calculator Workload. */
|
|
516
|
+
workloads?: ModelCapacityCalculatorWorkload[];
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/** Contains response data for the calculateModelCapacity operation. */
|
|
520
|
+
export declare type CalculateModelCapacityResponse = CalculateModelCapacityResult;
|
|
521
|
+
|
|
522
|
+
/** Calculate Model Capacity result. */
|
|
523
|
+
export declare interface CalculateModelCapacityResult {
|
|
524
|
+
/** Properties of Cognitive Services account deployment model. */
|
|
525
|
+
model?: DeploymentModel;
|
|
526
|
+
skuName?: string;
|
|
527
|
+
/** Model Estimated Capacity. */
|
|
528
|
+
estimatedCapacity?: CalculateModelCapacityResultEstimatedCapacity;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/** Model Estimated Capacity. */
|
|
532
|
+
export declare interface CalculateModelCapacityResultEstimatedCapacity {
|
|
533
|
+
value?: number;
|
|
534
|
+
deployableValue?: number;
|
|
535
|
+
}
|
|
536
|
+
|
|
479
537
|
/** The call rate limit Cognitive Services account. */
|
|
480
538
|
export declare interface CallRateLimit {
|
|
481
539
|
/** The count value of Call Rate Limit. */
|
|
@@ -495,6 +553,8 @@ export declare interface CapacityConfig {
|
|
|
495
553
|
step?: number;
|
|
496
554
|
/** The default capacity. */
|
|
497
555
|
default?: number;
|
|
556
|
+
/** The array of allowed values for capacity. */
|
|
557
|
+
allowedValues?: number[];
|
|
498
558
|
}
|
|
499
559
|
|
|
500
560
|
/** Optional parameters. */
|
|
@@ -524,7 +584,7 @@ export declare interface CheckSkuAvailabilityOptionalParams extends coreClient.O
|
|
|
524
584
|
export declare interface CheckSkuAvailabilityParameter {
|
|
525
585
|
/** The SKU of the resource. */
|
|
526
586
|
skus: string[];
|
|
527
|
-
/** The
|
|
587
|
+
/** The kind (type) of cognitive service account. */
|
|
528
588
|
kind: string;
|
|
529
589
|
/** The Type of the resource. */
|
|
530
590
|
type: string;
|
|
@@ -550,7 +610,7 @@ export declare class CognitiveServicesManagementClient extends coreClient.Servic
|
|
|
550
610
|
* Check available SKUs.
|
|
551
611
|
* @param location Resource location.
|
|
552
612
|
* @param skus The SKU of the resource.
|
|
553
|
-
* @param kind The
|
|
613
|
+
* @param kind The kind (type) of cognitive service account.
|
|
554
614
|
* @param typeParam The Type of the resource.
|
|
555
615
|
* @param options The options parameters.
|
|
556
616
|
*/
|
|
@@ -562,6 +622,11 @@ export declare class CognitiveServicesManagementClient extends coreClient.Servic
|
|
|
562
622
|
* @param options The options parameters.
|
|
563
623
|
*/
|
|
564
624
|
checkDomainAvailability(subdomainName: string, typeParam: string, options?: CheckDomainAvailabilityOptionalParams): Promise<CheckDomainAvailabilityResponse>;
|
|
625
|
+
/**
|
|
626
|
+
* Model capacity calculator.
|
|
627
|
+
* @param options The options parameters.
|
|
628
|
+
*/
|
|
629
|
+
calculateModelCapacity(options?: CalculateModelCapacityOptionalParams): Promise<CalculateModelCapacityResponse>;
|
|
565
630
|
accounts: Accounts;
|
|
566
631
|
deletedAccounts: DeletedAccounts;
|
|
567
632
|
resourceSkus: ResourceSkus;
|
|
@@ -569,10 +634,19 @@ export declare class CognitiveServicesManagementClient extends coreClient.Servic
|
|
|
569
634
|
operations: Operations;
|
|
570
635
|
commitmentTiers: CommitmentTiers;
|
|
571
636
|
models: Models;
|
|
637
|
+
locationBasedModelCapacities: LocationBasedModelCapacities;
|
|
638
|
+
modelCapacities: ModelCapacities;
|
|
572
639
|
privateEndpointConnections: PrivateEndpointConnections;
|
|
573
640
|
privateLinkResources: PrivateLinkResources;
|
|
574
641
|
deployments: Deployments;
|
|
575
642
|
commitmentPlans: CommitmentPlans;
|
|
643
|
+
encryptionScopes: EncryptionScopes;
|
|
644
|
+
raiPolicies: RaiPolicies;
|
|
645
|
+
raiBlocklists: RaiBlocklists;
|
|
646
|
+
raiBlocklistItems: RaiBlocklistItems;
|
|
647
|
+
raiContentFilters: RaiContentFilters;
|
|
648
|
+
networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;
|
|
649
|
+
defenderForAISettings: DefenderForAISettings;
|
|
576
650
|
}
|
|
577
651
|
|
|
578
652
|
/** Optional parameters. */
|
|
@@ -654,6 +728,10 @@ export declare interface CommitmentPlanAccountAssociation extends ProxyResource
|
|
|
654
728
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
655
729
|
*/
|
|
656
730
|
readonly etag?: string;
|
|
731
|
+
/** Resource tags. */
|
|
732
|
+
tags?: {
|
|
733
|
+
[propertyName: string]: string;
|
|
734
|
+
};
|
|
657
735
|
/** The Azure resource id of the account. */
|
|
658
736
|
accountId?: string;
|
|
659
737
|
}
|
|
@@ -1132,6 +1210,17 @@ export declare interface CommitmentTiersListOptionalParams extends coreClient.Op
|
|
|
1132
1210
|
/** Contains response data for the list operation. */
|
|
1133
1211
|
export declare type CommitmentTiersListResponse = CommitmentTierListResult;
|
|
1134
1212
|
|
|
1213
|
+
/**
|
|
1214
|
+
* Defines values for ContentLevel. \
|
|
1215
|
+
* {@link KnownContentLevel} can be used interchangeably with ContentLevel,
|
|
1216
|
+
* this enum contains the known values that the service supports.
|
|
1217
|
+
* ### Known values supported by the service
|
|
1218
|
+
* **Low** \
|
|
1219
|
+
* **Medium** \
|
|
1220
|
+
* **High**
|
|
1221
|
+
*/
|
|
1222
|
+
export declare type ContentLevel = string;
|
|
1223
|
+
|
|
1135
1224
|
/**
|
|
1136
1225
|
* Defines values for CreatedByType. \
|
|
1137
1226
|
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
@@ -1144,6 +1233,122 @@ export declare type CommitmentTiersListResponse = CommitmentTierListResult;
|
|
|
1144
1233
|
*/
|
|
1145
1234
|
export declare type CreatedByType = string;
|
|
1146
1235
|
|
|
1236
|
+
/** Gets or sets the source to which filter applies. */
|
|
1237
|
+
export declare interface CustomBlocklistConfig extends RaiBlocklistConfig {
|
|
1238
|
+
/** Content source to apply the Content Filters. */
|
|
1239
|
+
source?: RaiPolicyContentSource;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
/** The Defender for AI resource. */
|
|
1243
|
+
export declare interface DefenderForAISetting extends ProxyResource {
|
|
1244
|
+
/**
|
|
1245
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
1246
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1247
|
+
*/
|
|
1248
|
+
readonly systemData?: SystemData;
|
|
1249
|
+
/**
|
|
1250
|
+
* Resource Etag.
|
|
1251
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1252
|
+
*/
|
|
1253
|
+
readonly etag?: string;
|
|
1254
|
+
/** Resource tags. */
|
|
1255
|
+
tags?: {
|
|
1256
|
+
[propertyName: string]: string;
|
|
1257
|
+
};
|
|
1258
|
+
/** Defender for AI state on the AI resource. */
|
|
1259
|
+
state?: DefenderForAISettingState;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
/** The list of cognitive services Defender for AI Settings. */
|
|
1263
|
+
export declare interface DefenderForAISettingResult {
|
|
1264
|
+
/** The link used to get the next page of Defender for AI Settings. */
|
|
1265
|
+
nextLink?: string;
|
|
1266
|
+
/** The list of Defender for AI Settings. */
|
|
1267
|
+
value?: DefenderForAISetting[];
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
/** Interface representing a DefenderForAISettings. */
|
|
1271
|
+
export declare interface DefenderForAISettings {
|
|
1272
|
+
/**
|
|
1273
|
+
* Lists the Defender for AI settings.
|
|
1274
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1275
|
+
* @param accountName The name of Cognitive Services account.
|
|
1276
|
+
* @param options The options parameters.
|
|
1277
|
+
*/
|
|
1278
|
+
list(resourceGroupName: string, accountName: string, options?: DefenderForAISettingsListOptionalParams): PagedAsyncIterableIterator<DefenderForAISetting>;
|
|
1279
|
+
/**
|
|
1280
|
+
* Gets the specified Defender for AI setting by name.
|
|
1281
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1282
|
+
* @param accountName The name of Cognitive Services account.
|
|
1283
|
+
* @param defenderForAISettingName The name of the defender for AI setting.
|
|
1284
|
+
* @param options The options parameters.
|
|
1285
|
+
*/
|
|
1286
|
+
get(resourceGroupName: string, accountName: string, defenderForAISettingName: string, options?: DefenderForAISettingsGetOptionalParams): Promise<DefenderForAISettingsGetResponse>;
|
|
1287
|
+
/**
|
|
1288
|
+
* Creates or Updates the specified Defender for AI setting.
|
|
1289
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1290
|
+
* @param accountName The name of Cognitive Services account.
|
|
1291
|
+
* @param defenderForAISettingName The name of the defender for AI setting.
|
|
1292
|
+
* @param defenderForAISettings Properties describing the Defender for AI setting.
|
|
1293
|
+
* @param options The options parameters.
|
|
1294
|
+
*/
|
|
1295
|
+
createOrUpdate(resourceGroupName: string, accountName: string, defenderForAISettingName: string, defenderForAISettings: DefenderForAISetting, options?: DefenderForAISettingsCreateOrUpdateOptionalParams): Promise<DefenderForAISettingsCreateOrUpdateResponse>;
|
|
1296
|
+
/**
|
|
1297
|
+
* Updates the specified Defender for AI setting.
|
|
1298
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1299
|
+
* @param accountName The name of Cognitive Services account.
|
|
1300
|
+
* @param defenderForAISettingName The name of the defender for AI setting.
|
|
1301
|
+
* @param defenderForAISettings Properties describing the Defender for AI setting.
|
|
1302
|
+
* @param options The options parameters.
|
|
1303
|
+
*/
|
|
1304
|
+
update(resourceGroupName: string, accountName: string, defenderForAISettingName: string, defenderForAISettings: DefenderForAISetting, options?: DefenderForAISettingsUpdateOptionalParams): Promise<DefenderForAISettingsUpdateResponse>;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
/** Optional parameters. */
|
|
1308
|
+
export declare interface DefenderForAISettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1312
|
+
export declare type DefenderForAISettingsCreateOrUpdateResponse = DefenderForAISetting;
|
|
1313
|
+
|
|
1314
|
+
/** Optional parameters. */
|
|
1315
|
+
export declare interface DefenderForAISettingsGetOptionalParams extends coreClient.OperationOptions {
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
/** Contains response data for the get operation. */
|
|
1319
|
+
export declare type DefenderForAISettingsGetResponse = DefenderForAISetting;
|
|
1320
|
+
|
|
1321
|
+
/** Optional parameters. */
|
|
1322
|
+
export declare interface DefenderForAISettingsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
/** Contains response data for the listNext operation. */
|
|
1326
|
+
export declare type DefenderForAISettingsListNextResponse = DefenderForAISettingResult;
|
|
1327
|
+
|
|
1328
|
+
/** Optional parameters. */
|
|
1329
|
+
export declare interface DefenderForAISettingsListOptionalParams extends coreClient.OperationOptions {
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
/** Contains response data for the list operation. */
|
|
1333
|
+
export declare type DefenderForAISettingsListResponse = DefenderForAISettingResult;
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Defines values for DefenderForAISettingState. \
|
|
1337
|
+
* {@link KnownDefenderForAISettingState} can be used interchangeably with DefenderForAISettingState,
|
|
1338
|
+
* this enum contains the known values that the service supports.
|
|
1339
|
+
* ### Known values supported by the service
|
|
1340
|
+
* **Disabled** \
|
|
1341
|
+
* **Enabled**
|
|
1342
|
+
*/
|
|
1343
|
+
export declare type DefenderForAISettingState = string;
|
|
1344
|
+
|
|
1345
|
+
/** Optional parameters. */
|
|
1346
|
+
export declare interface DefenderForAISettingsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
/** Contains response data for the update operation. */
|
|
1350
|
+
export declare type DefenderForAISettingsUpdateResponse = DefenderForAISetting;
|
|
1351
|
+
|
|
1147
1352
|
/** Interface representing a DeletedAccounts. */
|
|
1148
1353
|
export declare interface DeletedAccounts {
|
|
1149
1354
|
/**
|
|
@@ -1220,10 +1425,22 @@ export declare interface Deployment extends ProxyResource {
|
|
|
1220
1425
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1221
1426
|
*/
|
|
1222
1427
|
readonly etag?: string;
|
|
1428
|
+
/** Resource tags. */
|
|
1429
|
+
tags?: {
|
|
1430
|
+
[propertyName: string]: string;
|
|
1431
|
+
};
|
|
1223
1432
|
/** Properties of Cognitive Services account deployment. */
|
|
1224
1433
|
properties?: DeploymentProperties;
|
|
1225
1434
|
}
|
|
1226
1435
|
|
|
1436
|
+
/** Internal use only. */
|
|
1437
|
+
export declare interface DeploymentCapacitySettings {
|
|
1438
|
+
/** The designated capacity. */
|
|
1439
|
+
designatedCapacity?: number;
|
|
1440
|
+
/** The priority of this capacity setting. */
|
|
1441
|
+
priority?: number;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1227
1444
|
/** The list of cognitive services accounts operation response. */
|
|
1228
1445
|
export declare interface DeploymentListResult {
|
|
1229
1446
|
/** The link used to get the next page of Deployment. */
|
|
@@ -1237,6 +1454,8 @@ export declare interface DeploymentListResult {
|
|
|
1237
1454
|
|
|
1238
1455
|
/** Properties of Cognitive Services account deployment model. */
|
|
1239
1456
|
export declare interface DeploymentModel {
|
|
1457
|
+
/** Deployment model publisher. */
|
|
1458
|
+
publisher?: string;
|
|
1240
1459
|
/** Deployment model format. */
|
|
1241
1460
|
format?: string;
|
|
1242
1461
|
/** Deployment model name. */
|
|
@@ -1245,6 +1464,8 @@ export declare interface DeploymentModel {
|
|
|
1245
1464
|
version?: string;
|
|
1246
1465
|
/** Optional. Deployment model source ARM resource ID. */
|
|
1247
1466
|
source?: string;
|
|
1467
|
+
/** Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID. */
|
|
1468
|
+
sourceAccount?: string;
|
|
1248
1469
|
/**
|
|
1249
1470
|
* The call rate limit Cognitive Services account.
|
|
1250
1471
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1272,7 +1493,7 @@ export declare interface DeploymentProperties {
|
|
|
1272
1493
|
readonly provisioningState?: DeploymentProvisioningState;
|
|
1273
1494
|
/** Properties of Cognitive Services account deployment model. */
|
|
1274
1495
|
model?: DeploymentModel;
|
|
1275
|
-
/** Properties of Cognitive Services account deployment model. */
|
|
1496
|
+
/** Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.) */
|
|
1276
1497
|
scaleSettings?: DeploymentScaleSettings;
|
|
1277
1498
|
/**
|
|
1278
1499
|
* The capabilities.
|
|
@@ -1292,6 +1513,17 @@ export declare interface DeploymentProperties {
|
|
|
1292
1513
|
readonly rateLimits?: ThrottlingRule[];
|
|
1293
1514
|
/** Deployment model version upgrade option. */
|
|
1294
1515
|
versionUpgradeOption?: DeploymentModelVersionUpgradeOption;
|
|
1516
|
+
/**
|
|
1517
|
+
* If the dynamic throttling is enabled.
|
|
1518
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1519
|
+
*/
|
|
1520
|
+
readonly dynamicThrottlingEnabled?: boolean;
|
|
1521
|
+
/** The current capacity. */
|
|
1522
|
+
currentCapacity?: number;
|
|
1523
|
+
/** Internal use only. */
|
|
1524
|
+
capacitySettings?: DeploymentCapacitySettings;
|
|
1525
|
+
/** The name of parent deployment. */
|
|
1526
|
+
parentDeploymentName?: string;
|
|
1295
1527
|
}
|
|
1296
1528
|
|
|
1297
1529
|
/**
|
|
@@ -1319,6 +1551,14 @@ export declare interface Deployments {
|
|
|
1319
1551
|
* @param options The options parameters.
|
|
1320
1552
|
*/
|
|
1321
1553
|
list(resourceGroupName: string, accountName: string, options?: DeploymentsListOptionalParams): PagedAsyncIterableIterator<Deployment>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Lists the specified deployments skus associated with the Cognitive Services account.
|
|
1556
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1557
|
+
* @param accountName The name of Cognitive Services account.
|
|
1558
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
1559
|
+
* @param options The options parameters.
|
|
1560
|
+
*/
|
|
1561
|
+
listSkus(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsListSkusOptionalParams): PagedAsyncIterableIterator<SkuResource>;
|
|
1322
1562
|
/**
|
|
1323
1563
|
* Gets the specified deployments associated with the Cognitive Services account.
|
|
1324
1564
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -1345,6 +1585,24 @@ export declare interface Deployments {
|
|
|
1345
1585
|
* @param options The options parameters.
|
|
1346
1586
|
*/
|
|
1347
1587
|
beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams): Promise<DeploymentsCreateOrUpdateResponse>;
|
|
1588
|
+
/**
|
|
1589
|
+
* Update specified deployments associated with the Cognitive Services account.
|
|
1590
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1591
|
+
* @param accountName The name of Cognitive Services account.
|
|
1592
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
1593
|
+
* @param deployment The deployment properties.
|
|
1594
|
+
* @param options The options parameters.
|
|
1595
|
+
*/
|
|
1596
|
+
beginUpdate(resourceGroupName: string, accountName: string, deploymentName: string, deployment: PatchResourceTagsAndSku, options?: DeploymentsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DeploymentsUpdateResponse>, DeploymentsUpdateResponse>>;
|
|
1597
|
+
/**
|
|
1598
|
+
* Update specified deployments associated with the Cognitive Services account.
|
|
1599
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1600
|
+
* @param accountName The name of Cognitive Services account.
|
|
1601
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
1602
|
+
* @param deployment The deployment properties.
|
|
1603
|
+
* @param options The options parameters.
|
|
1604
|
+
*/
|
|
1605
|
+
beginUpdateAndWait(resourceGroupName: string, accountName: string, deploymentName: string, deployment: PatchResourceTagsAndSku, options?: DeploymentsUpdateOptionalParams): Promise<DeploymentsUpdateResponse>;
|
|
1348
1606
|
/**
|
|
1349
1607
|
* Deletes the specified deployment associated with the Cognitive Services account.
|
|
1350
1608
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -1363,7 +1621,7 @@ export declare interface Deployments {
|
|
|
1363
1621
|
beginDeleteAndWait(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams): Promise<void>;
|
|
1364
1622
|
}
|
|
1365
1623
|
|
|
1366
|
-
/** Properties of Cognitive Services account deployment model. */
|
|
1624
|
+
/** Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.) */
|
|
1367
1625
|
export declare interface DeploymentScaleSettings {
|
|
1368
1626
|
/** Deployment scale type. */
|
|
1369
1627
|
scaleType?: DeploymentScaleType;
|
|
@@ -1412,6 +1670,17 @@ export declare interface DeploymentsGetOptionalParams extends coreClient.Operati
|
|
|
1412
1670
|
/** Contains response data for the get operation. */
|
|
1413
1671
|
export declare type DeploymentsGetResponse = Deployment;
|
|
1414
1672
|
|
|
1673
|
+
/** The list of cognitive services accounts operation response. */
|
|
1674
|
+
export declare interface DeploymentSkuListResult {
|
|
1675
|
+
/** The link used to get the next page of deployment skus. */
|
|
1676
|
+
nextLink?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Gets the list of Cognitive Services accounts deployment skus.
|
|
1679
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1680
|
+
*/
|
|
1681
|
+
readonly value?: SkuResource[];
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1415
1684
|
/** Optional parameters. */
|
|
1416
1685
|
export declare interface DeploymentsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1417
1686
|
}
|
|
@@ -1426,6 +1695,36 @@ export declare interface DeploymentsListOptionalParams extends coreClient.Operat
|
|
|
1426
1695
|
/** Contains response data for the list operation. */
|
|
1427
1696
|
export declare type DeploymentsListResponse = DeploymentListResult;
|
|
1428
1697
|
|
|
1698
|
+
/** Optional parameters. */
|
|
1699
|
+
export declare interface DeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions {
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
/** Contains response data for the listSkusNext operation. */
|
|
1703
|
+
export declare type DeploymentsListSkusNextResponse = DeploymentSkuListResult;
|
|
1704
|
+
|
|
1705
|
+
/** Optional parameters. */
|
|
1706
|
+
export declare interface DeploymentsListSkusOptionalParams extends coreClient.OperationOptions {
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
/** Contains response data for the listSkus operation. */
|
|
1710
|
+
export declare type DeploymentsListSkusResponse = DeploymentSkuListResult;
|
|
1711
|
+
|
|
1712
|
+
/** Defines headers for Deployments_update operation. */
|
|
1713
|
+
export declare interface DeploymentsUpdateHeaders {
|
|
1714
|
+
location?: string;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
/** Optional parameters. */
|
|
1718
|
+
export declare interface DeploymentsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1719
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1720
|
+
updateIntervalInMs?: number;
|
|
1721
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1722
|
+
resumeFrom?: string;
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
/** Contains response data for the update operation. */
|
|
1726
|
+
export declare type DeploymentsUpdateResponse = Deployment;
|
|
1727
|
+
|
|
1429
1728
|
/** Domain availability. */
|
|
1430
1729
|
export declare interface DomainAvailability {
|
|
1431
1730
|
/** Indicates the given SKU is available or not. */
|
|
@@ -1448,63 +1747,219 @@ export declare interface Encryption {
|
|
|
1448
1747
|
keySource?: KeySource;
|
|
1449
1748
|
}
|
|
1450
1749
|
|
|
1451
|
-
/**
|
|
1452
|
-
export declare interface
|
|
1750
|
+
/** Cognitive Services EncryptionScope */
|
|
1751
|
+
export declare interface EncryptionScope extends ProxyResource {
|
|
1453
1752
|
/**
|
|
1454
|
-
*
|
|
1753
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
1455
1754
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1456
1755
|
*/
|
|
1457
|
-
readonly
|
|
1756
|
+
readonly systemData?: SystemData;
|
|
1458
1757
|
/**
|
|
1459
|
-
*
|
|
1758
|
+
* Resource Etag.
|
|
1460
1759
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1461
1760
|
*/
|
|
1462
|
-
readonly
|
|
1761
|
+
readonly etag?: string;
|
|
1762
|
+
/** Resource tags. */
|
|
1763
|
+
tags?: {
|
|
1764
|
+
[propertyName: string]: string;
|
|
1765
|
+
};
|
|
1766
|
+
/** Properties of Cognitive Services EncryptionScope. */
|
|
1767
|
+
properties?: EncryptionScopeProperties;
|
|
1463
1768
|
}
|
|
1464
1769
|
|
|
1465
|
-
/** The
|
|
1466
|
-
export declare interface
|
|
1770
|
+
/** The list of cognitive services EncryptionScopes. */
|
|
1771
|
+
export declare interface EncryptionScopeListResult {
|
|
1772
|
+
/** The link used to get the next page of EncryptionScope. */
|
|
1773
|
+
nextLink?: string;
|
|
1774
|
+
/** The list of EncryptionScope. */
|
|
1775
|
+
value?: EncryptionScope[];
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
/** Properties to EncryptionScope */
|
|
1779
|
+
export declare interface EncryptionScopeProperties extends Encryption {
|
|
1467
1780
|
/**
|
|
1468
|
-
*
|
|
1781
|
+
* Gets the status of the resource at the time the operation was called.
|
|
1469
1782
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1470
1783
|
*/
|
|
1471
|
-
readonly
|
|
1784
|
+
readonly provisioningState?: EncryptionScopeProvisioningState;
|
|
1785
|
+
/** The encryptionScope state. */
|
|
1786
|
+
state?: EncryptionScopeState;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* Defines values for EncryptionScopeProvisioningState. \
|
|
1791
|
+
* {@link KnownEncryptionScopeProvisioningState} can be used interchangeably with EncryptionScopeProvisioningState,
|
|
1792
|
+
* this enum contains the known values that the service supports.
|
|
1793
|
+
* ### Known values supported by the service
|
|
1794
|
+
* **Accepted** \
|
|
1795
|
+
* **Creating** \
|
|
1796
|
+
* **Deleting** \
|
|
1797
|
+
* **Moving** \
|
|
1798
|
+
* **Failed** \
|
|
1799
|
+
* **Succeeded** \
|
|
1800
|
+
* **Canceled**
|
|
1801
|
+
*/
|
|
1802
|
+
export declare type EncryptionScopeProvisioningState = string;
|
|
1803
|
+
|
|
1804
|
+
/** Interface representing a EncryptionScopes. */
|
|
1805
|
+
export declare interface EncryptionScopes {
|
|
1472
1806
|
/**
|
|
1473
|
-
*
|
|
1474
|
-
*
|
|
1807
|
+
* Gets the content filters associated with the Azure OpenAI account.
|
|
1808
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1809
|
+
* @param accountName The name of Cognitive Services account.
|
|
1810
|
+
* @param options The options parameters.
|
|
1475
1811
|
*/
|
|
1476
|
-
|
|
1812
|
+
list(resourceGroupName: string, accountName: string, options?: EncryptionScopesListOptionalParams): PagedAsyncIterableIterator<EncryptionScope>;
|
|
1477
1813
|
/**
|
|
1478
|
-
*
|
|
1479
|
-
*
|
|
1814
|
+
* Gets the specified EncryptionScope associated with the Cognitive Services account.
|
|
1815
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1816
|
+
* @param accountName The name of Cognitive Services account.
|
|
1817
|
+
* @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services
|
|
1818
|
+
* Account
|
|
1819
|
+
* @param options The options parameters.
|
|
1480
1820
|
*/
|
|
1481
|
-
|
|
1821
|
+
get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: EncryptionScopesGetOptionalParams): Promise<EncryptionScopesGetResponse>;
|
|
1482
1822
|
/**
|
|
1483
|
-
*
|
|
1484
|
-
*
|
|
1823
|
+
* Update the state of specified encryptionScope associated with the Cognitive Services account.
|
|
1824
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1825
|
+
* @param accountName The name of Cognitive Services account.
|
|
1826
|
+
* @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services
|
|
1827
|
+
* Account
|
|
1828
|
+
* @param encryptionScope The encryptionScope properties.
|
|
1829
|
+
* @param options The options parameters.
|
|
1485
1830
|
*/
|
|
1486
|
-
|
|
1831
|
+
createOrUpdate(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: EncryptionScope, options?: EncryptionScopesCreateOrUpdateOptionalParams): Promise<EncryptionScopesCreateOrUpdateResponse>;
|
|
1487
1832
|
/**
|
|
1488
|
-
*
|
|
1489
|
-
*
|
|
1833
|
+
* Deletes the specified encryptionScope associated with the Cognitive Services account.
|
|
1834
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1835
|
+
* @param accountName The name of Cognitive Services account.
|
|
1836
|
+
* @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services
|
|
1837
|
+
* Account
|
|
1838
|
+
* @param options The options parameters.
|
|
1490
1839
|
*/
|
|
1491
|
-
|
|
1840
|
+
beginDelete(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: EncryptionScopesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<EncryptionScopesDeleteResponse>, EncryptionScopesDeleteResponse>>;
|
|
1841
|
+
/**
|
|
1842
|
+
* Deletes the specified encryptionScope associated with the Cognitive Services account.
|
|
1843
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1844
|
+
* @param accountName The name of Cognitive Services account.
|
|
1845
|
+
* @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services
|
|
1846
|
+
* Account
|
|
1847
|
+
* @param options The options parameters.
|
|
1848
|
+
*/
|
|
1849
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: EncryptionScopesDeleteOptionalParams): Promise<EncryptionScopesDeleteResponse>;
|
|
1492
1850
|
}
|
|
1493
1851
|
|
|
1494
|
-
/**
|
|
1495
|
-
export declare interface
|
|
1496
|
-
/** The error object. */
|
|
1497
|
-
error?: ErrorDetail;
|
|
1852
|
+
/** Optional parameters. */
|
|
1853
|
+
export declare interface EncryptionScopesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1498
1854
|
}
|
|
1499
1855
|
|
|
1500
|
-
/**
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1856
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1857
|
+
export declare type EncryptionScopesCreateOrUpdateResponse = EncryptionScope;
|
|
1858
|
+
|
|
1859
|
+
/** Defines headers for EncryptionScopes_delete operation. */
|
|
1860
|
+
export declare interface EncryptionScopesDeleteHeaders {
|
|
1861
|
+
location?: string;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
/** Optional parameters. */
|
|
1865
|
+
export declare interface EncryptionScopesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1866
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1867
|
+
updateIntervalInMs?: number;
|
|
1868
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1869
|
+
resumeFrom?: string;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
/** Contains response data for the delete operation. */
|
|
1873
|
+
export declare type EncryptionScopesDeleteResponse = EncryptionScopesDeleteHeaders;
|
|
1874
|
+
|
|
1875
|
+
/** Optional parameters. */
|
|
1876
|
+
export declare interface EncryptionScopesGetOptionalParams extends coreClient.OperationOptions {
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
/** Contains response data for the get operation. */
|
|
1880
|
+
export declare type EncryptionScopesGetResponse = EncryptionScope;
|
|
1881
|
+
|
|
1882
|
+
/** Optional parameters. */
|
|
1883
|
+
export declare interface EncryptionScopesListNextOptionalParams extends coreClient.OperationOptions {
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
/** Contains response data for the listNext operation. */
|
|
1887
|
+
export declare type EncryptionScopesListNextResponse = EncryptionScopeListResult;
|
|
1888
|
+
|
|
1889
|
+
/** Optional parameters. */
|
|
1890
|
+
export declare interface EncryptionScopesListOptionalParams extends coreClient.OperationOptions {
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
/** Contains response data for the list operation. */
|
|
1894
|
+
export declare type EncryptionScopesListResponse = EncryptionScopeListResult;
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* Defines values for EncryptionScopeState. \
|
|
1898
|
+
* {@link KnownEncryptionScopeState} can be used interchangeably with EncryptionScopeState,
|
|
1899
|
+
* this enum contains the known values that the service supports.
|
|
1900
|
+
* ### Known values supported by the service
|
|
1901
|
+
* **Disabled** \
|
|
1902
|
+
* **Enabled**
|
|
1903
|
+
*/
|
|
1904
|
+
export declare type EncryptionScopeState = string;
|
|
1905
|
+
|
|
1906
|
+
/** The resource management error additional info. */
|
|
1907
|
+
export declare interface ErrorAdditionalInfo {
|
|
1908
|
+
/**
|
|
1909
|
+
* The additional info type.
|
|
1910
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1911
|
+
*/
|
|
1912
|
+
readonly type?: string;
|
|
1913
|
+
/**
|
|
1914
|
+
* The additional info.
|
|
1915
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1916
|
+
*/
|
|
1917
|
+
readonly info?: Record<string, unknown>;
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
/** The error detail. */
|
|
1921
|
+
export declare interface ErrorDetail {
|
|
1922
|
+
/**
|
|
1923
|
+
* The error code.
|
|
1924
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1925
|
+
*/
|
|
1926
|
+
readonly code?: string;
|
|
1927
|
+
/**
|
|
1928
|
+
* The error message.
|
|
1929
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1930
|
+
*/
|
|
1931
|
+
readonly message?: string;
|
|
1932
|
+
/**
|
|
1933
|
+
* The error target.
|
|
1934
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1935
|
+
*/
|
|
1936
|
+
readonly target?: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* The error details.
|
|
1939
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1940
|
+
*/
|
|
1941
|
+
readonly details?: ErrorDetail[];
|
|
1942
|
+
/**
|
|
1943
|
+
* The error additional info.
|
|
1944
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1945
|
+
*/
|
|
1946
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
1950
|
+
export declare interface ErrorResponse {
|
|
1951
|
+
/** The error object. */
|
|
1952
|
+
error?: ErrorDetail;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
1957
|
+
* returns a continuation token that can be used to begin paging from
|
|
1958
|
+
* that point later.
|
|
1959
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
1960
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
1961
|
+
*/
|
|
1962
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
1508
1963
|
|
|
1509
1964
|
/**
|
|
1510
1965
|
* Defines values for HostingModel. \
|
|
@@ -1582,6 +2037,14 @@ export declare enum KnownActionType {
|
|
|
1582
2037
|
Internal = "Internal"
|
|
1583
2038
|
}
|
|
1584
2039
|
|
|
2040
|
+
/** Known values of {@link ByPassSelection} that the service accepts. */
|
|
2041
|
+
export declare enum KnownByPassSelection {
|
|
2042
|
+
/** None */
|
|
2043
|
+
None = "None",
|
|
2044
|
+
/** AzureServices */
|
|
2045
|
+
AzureServices = "AzureServices"
|
|
2046
|
+
}
|
|
2047
|
+
|
|
1585
2048
|
/** Known values of {@link CommitmentPlanProvisioningState} that the service accepts. */
|
|
1586
2049
|
export declare enum KnownCommitmentPlanProvisioningState {
|
|
1587
2050
|
/** Accepted */
|
|
@@ -1600,6 +2063,16 @@ export declare enum KnownCommitmentPlanProvisioningState {
|
|
|
1600
2063
|
Canceled = "Canceled"
|
|
1601
2064
|
}
|
|
1602
2065
|
|
|
2066
|
+
/** Known values of {@link ContentLevel} that the service accepts. */
|
|
2067
|
+
export declare enum KnownContentLevel {
|
|
2068
|
+
/** Low */
|
|
2069
|
+
Low = "Low",
|
|
2070
|
+
/** Medium */
|
|
2071
|
+
Medium = "Medium",
|
|
2072
|
+
/** High */
|
|
2073
|
+
High = "High"
|
|
2074
|
+
}
|
|
2075
|
+
|
|
1603
2076
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
1604
2077
|
export declare enum KnownCreatedByType {
|
|
1605
2078
|
/** User */
|
|
@@ -1612,6 +2085,14 @@ export declare enum KnownCreatedByType {
|
|
|
1612
2085
|
Key = "Key"
|
|
1613
2086
|
}
|
|
1614
2087
|
|
|
2088
|
+
/** Known values of {@link DefenderForAISettingState} that the service accepts. */
|
|
2089
|
+
export declare enum KnownDefenderForAISettingState {
|
|
2090
|
+
/** Disabled */
|
|
2091
|
+
Disabled = "Disabled",
|
|
2092
|
+
/** Enabled */
|
|
2093
|
+
Enabled = "Enabled"
|
|
2094
|
+
}
|
|
2095
|
+
|
|
1615
2096
|
/** Known values of {@link DeploymentModelVersionUpgradeOption} that the service accepts. */
|
|
1616
2097
|
export declare enum KnownDeploymentModelVersionUpgradeOption {
|
|
1617
2098
|
/** OnceNewDefaultVersionAvailable */
|
|
@@ -1650,6 +2131,32 @@ export declare enum KnownDeploymentScaleType {
|
|
|
1650
2131
|
Manual = "Manual"
|
|
1651
2132
|
}
|
|
1652
2133
|
|
|
2134
|
+
/** Known values of {@link EncryptionScopeProvisioningState} that the service accepts. */
|
|
2135
|
+
export declare enum KnownEncryptionScopeProvisioningState {
|
|
2136
|
+
/** Accepted */
|
|
2137
|
+
Accepted = "Accepted",
|
|
2138
|
+
/** Creating */
|
|
2139
|
+
Creating = "Creating",
|
|
2140
|
+
/** Deleting */
|
|
2141
|
+
Deleting = "Deleting",
|
|
2142
|
+
/** Moving */
|
|
2143
|
+
Moving = "Moving",
|
|
2144
|
+
/** Failed */
|
|
2145
|
+
Failed = "Failed",
|
|
2146
|
+
/** Succeeded */
|
|
2147
|
+
Succeeded = "Succeeded",
|
|
2148
|
+
/** Canceled */
|
|
2149
|
+
Canceled = "Canceled"
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
/** Known values of {@link EncryptionScopeState} that the service accepts. */
|
|
2153
|
+
export declare enum KnownEncryptionScopeState {
|
|
2154
|
+
/** Disabled */
|
|
2155
|
+
Disabled = "Disabled",
|
|
2156
|
+
/** Enabled */
|
|
2157
|
+
Enabled = "Enabled"
|
|
2158
|
+
}
|
|
2159
|
+
|
|
1653
2160
|
/** Known values of {@link HostingModel} that the service accepts. */
|
|
1654
2161
|
export declare enum KnownHostingModel {
|
|
1655
2162
|
/** Web */
|
|
@@ -1672,10 +2179,16 @@ export declare enum KnownKeySource {
|
|
|
1672
2179
|
|
|
1673
2180
|
/** Known values of {@link ModelLifecycleStatus} that the service accepts. */
|
|
1674
2181
|
export declare enum KnownModelLifecycleStatus {
|
|
2182
|
+
/** Stable */
|
|
2183
|
+
Stable = "Stable",
|
|
2184
|
+
/** Preview */
|
|
2185
|
+
Preview = "Preview",
|
|
1675
2186
|
/** GenerallyAvailable */
|
|
1676
2187
|
GenerallyAvailable = "GenerallyAvailable",
|
|
1677
|
-
/**
|
|
1678
|
-
|
|
2188
|
+
/** Deprecating */
|
|
2189
|
+
Deprecating = "Deprecating",
|
|
2190
|
+
/** Deprecated */
|
|
2191
|
+
Deprecated = "Deprecated"
|
|
1679
2192
|
}
|
|
1680
2193
|
|
|
1681
2194
|
/** Known values of {@link NetworkRuleAction} that the service accepts. */
|
|
@@ -1686,6 +2199,14 @@ export declare enum KnownNetworkRuleAction {
|
|
|
1686
2199
|
Deny = "Deny"
|
|
1687
2200
|
}
|
|
1688
2201
|
|
|
2202
|
+
/** Known values of {@link NspAccessRuleDirection} that the service accepts. */
|
|
2203
|
+
export declare enum KnownNspAccessRuleDirection {
|
|
2204
|
+
/** Inbound */
|
|
2205
|
+
Inbound = "Inbound",
|
|
2206
|
+
/** Outbound */
|
|
2207
|
+
Outbound = "Outbound"
|
|
2208
|
+
}
|
|
2209
|
+
|
|
1689
2210
|
/** Known values of {@link Origin} that the service accepts. */
|
|
1690
2211
|
export declare enum KnownOrigin {
|
|
1691
2212
|
/** User */
|
|
@@ -1756,6 +2277,34 @@ export declare enum KnownQuotaUsageStatus {
|
|
|
1756
2277
|
Unknown = "Unknown"
|
|
1757
2278
|
}
|
|
1758
2279
|
|
|
2280
|
+
/** Known values of {@link RaiPolicyContentSource} that the service accepts. */
|
|
2281
|
+
export declare enum KnownRaiPolicyContentSource {
|
|
2282
|
+
/** Prompt */
|
|
2283
|
+
Prompt = "Prompt",
|
|
2284
|
+
/** Completion */
|
|
2285
|
+
Completion = "Completion"
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
/** Known values of {@link RaiPolicyMode} that the service accepts. */
|
|
2289
|
+
export declare enum KnownRaiPolicyMode {
|
|
2290
|
+
/** Default */
|
|
2291
|
+
Default = "Default",
|
|
2292
|
+
/** Deferred */
|
|
2293
|
+
Deferred = "Deferred",
|
|
2294
|
+
/** Blocking */
|
|
2295
|
+
Blocking = "Blocking",
|
|
2296
|
+
/** AsynchronousFilter */
|
|
2297
|
+
AsynchronousFilter = "Asynchronous_filter"
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
/** Known values of {@link RaiPolicyType} that the service accepts. */
|
|
2301
|
+
export declare enum KnownRaiPolicyType {
|
|
2302
|
+
/** UserManaged */
|
|
2303
|
+
UserManaged = "UserManaged",
|
|
2304
|
+
/** SystemManaged */
|
|
2305
|
+
SystemManaged = "SystemManaged"
|
|
2306
|
+
}
|
|
2307
|
+
|
|
1759
2308
|
/** Known values of {@link ResourceSkuRestrictionsReasonCode} that the service accepts. */
|
|
1760
2309
|
export declare enum KnownResourceSkuRestrictionsReasonCode {
|
|
1761
2310
|
/** QuotaId */
|
|
@@ -1806,6 +2355,33 @@ export declare enum KnownUnitType {
|
|
|
1806
2355
|
Milliseconds = "Milliseconds"
|
|
1807
2356
|
}
|
|
1808
2357
|
|
|
2358
|
+
/** Interface representing a LocationBasedModelCapacities. */
|
|
2359
|
+
export declare interface LocationBasedModelCapacities {
|
|
2360
|
+
/**
|
|
2361
|
+
* List Location Based ModelCapacities.
|
|
2362
|
+
* @param location Resource location.
|
|
2363
|
+
* @param modelFormat The format of the Model
|
|
2364
|
+
* @param modelName The name of the Model
|
|
2365
|
+
* @param modelVersion The version of the Model
|
|
2366
|
+
* @param options The options parameters.
|
|
2367
|
+
*/
|
|
2368
|
+
list(location: string, modelFormat: string, modelName: string, modelVersion: string, options?: LocationBasedModelCapacitiesListOptionalParams): PagedAsyncIterableIterator<ModelCapacityListResultValueItem>;
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
/** Optional parameters. */
|
|
2372
|
+
export declare interface LocationBasedModelCapacitiesListNextOptionalParams extends coreClient.OperationOptions {
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
/** Contains response data for the listNext operation. */
|
|
2376
|
+
export declare type LocationBasedModelCapacitiesListNextResponse = ModelCapacityListResult;
|
|
2377
|
+
|
|
2378
|
+
/** Optional parameters. */
|
|
2379
|
+
export declare interface LocationBasedModelCapacitiesListOptionalParams extends coreClient.OperationOptions {
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
/** Contains response data for the list operation. */
|
|
2383
|
+
export declare type LocationBasedModelCapacitiesListResponse = ModelCapacityListResult;
|
|
2384
|
+
|
|
1809
2385
|
/** A metric name. */
|
|
1810
2386
|
export declare interface MetricName {
|
|
1811
2387
|
/** The name of the metric. */
|
|
@@ -1816,12 +2392,71 @@ export declare interface MetricName {
|
|
|
1816
2392
|
|
|
1817
2393
|
/** Cognitive Services Model. */
|
|
1818
2394
|
export declare interface Model {
|
|
1819
|
-
/** Model
|
|
2395
|
+
/** Cognitive Services account Model. */
|
|
1820
2396
|
model?: AccountModel;
|
|
1821
|
-
/** The
|
|
2397
|
+
/** The kind (type) of cognitive service account. */
|
|
1822
2398
|
kind?: string;
|
|
1823
|
-
/** The
|
|
2399
|
+
/** The name of SKU. */
|
|
1824
2400
|
skuName?: string;
|
|
2401
|
+
/** The description of the model. */
|
|
2402
|
+
description?: string;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
/** Interface representing a ModelCapacities. */
|
|
2406
|
+
export declare interface ModelCapacities {
|
|
2407
|
+
/**
|
|
2408
|
+
* List ModelCapacities.
|
|
2409
|
+
* @param modelFormat The format of the Model
|
|
2410
|
+
* @param modelName The name of the Model
|
|
2411
|
+
* @param modelVersion The version of the Model
|
|
2412
|
+
* @param options The options parameters.
|
|
2413
|
+
*/
|
|
2414
|
+
list(modelFormat: string, modelName: string, modelVersion: string, options?: ModelCapacitiesListOptionalParams): PagedAsyncIterableIterator<ModelCapacityListResultValueItem>;
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
/** Optional parameters. */
|
|
2418
|
+
export declare interface ModelCapacitiesListNextOptionalParams extends coreClient.OperationOptions {
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
/** Contains response data for the listNext operation. */
|
|
2422
|
+
export declare type ModelCapacitiesListNextResponse = ModelCapacityListResult;
|
|
2423
|
+
|
|
2424
|
+
/** Optional parameters. */
|
|
2425
|
+
export declare interface ModelCapacitiesListOptionalParams extends coreClient.OperationOptions {
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
/** Contains response data for the list operation. */
|
|
2429
|
+
export declare type ModelCapacitiesListResponse = ModelCapacityListResult;
|
|
2430
|
+
|
|
2431
|
+
/** Model Capacity Calculator Workload. */
|
|
2432
|
+
export declare interface ModelCapacityCalculatorWorkload {
|
|
2433
|
+
/** Request per minute. */
|
|
2434
|
+
requestPerMinute?: number;
|
|
2435
|
+
/** Dictionary, Model Capacity Calculator Workload Parameters. */
|
|
2436
|
+
requestParameters?: ModelCapacityCalculatorWorkloadRequestParam;
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2439
|
+
/** Dictionary, Model Capacity Calculator Workload Parameters. */
|
|
2440
|
+
export declare interface ModelCapacityCalculatorWorkloadRequestParam {
|
|
2441
|
+
/** Average prompt tokens. */
|
|
2442
|
+
avgPromptTokens?: number;
|
|
2443
|
+
/** Average generated tokens. */
|
|
2444
|
+
avgGeneratedTokens?: number;
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
/** The list of cognitive services accounts operation response. */
|
|
2448
|
+
export declare interface ModelCapacityListResult {
|
|
2449
|
+
/** The link used to get the next page of ModelSkuCapacity. */
|
|
2450
|
+
nextLink?: string;
|
|
2451
|
+
/** Gets the list of Cognitive Services accounts ModelSkuCapacity. */
|
|
2452
|
+
value?: ModelCapacityListResultValueItem[];
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
export declare interface ModelCapacityListResultValueItem extends ProxyResource {
|
|
2456
|
+
/** The location of the Model Sku Capacity. */
|
|
2457
|
+
location?: string;
|
|
2458
|
+
/** Cognitive Services account ModelSkuCapacity. */
|
|
2459
|
+
properties?: ModelSkuCapacityProperties;
|
|
1825
2460
|
}
|
|
1826
2461
|
|
|
1827
2462
|
/** Cognitive Services account ModelDeprecationInfo. */
|
|
@@ -1837,8 +2472,11 @@ export declare interface ModelDeprecationInfo {
|
|
|
1837
2472
|
* {@link KnownModelLifecycleStatus} can be used interchangeably with ModelLifecycleStatus,
|
|
1838
2473
|
* this enum contains the known values that the service supports.
|
|
1839
2474
|
* ### Known values supported by the service
|
|
2475
|
+
* **Stable** \
|
|
2476
|
+
* **Preview** \
|
|
1840
2477
|
* **GenerallyAvailable** \
|
|
1841
|
-
* **
|
|
2478
|
+
* **Deprecating** \
|
|
2479
|
+
* **Deprecated**
|
|
1842
2480
|
*/
|
|
1843
2481
|
export declare type ModelLifecycleStatus = string;
|
|
1844
2482
|
|
|
@@ -1872,6 +2510,19 @@ export declare interface ModelSku {
|
|
|
1872
2510
|
capacity?: CapacityConfig;
|
|
1873
2511
|
/** The list of rateLimit. */
|
|
1874
2512
|
rateLimits?: CallRateLimit[];
|
|
2513
|
+
/** The list of billing meter info. */
|
|
2514
|
+
cost?: BillingMeterInfo[];
|
|
2515
|
+
}
|
|
2516
|
+
|
|
2517
|
+
/** Cognitive Services account ModelSkuCapacity. */
|
|
2518
|
+
export declare interface ModelSkuCapacityProperties {
|
|
2519
|
+
/** Properties of Cognitive Services account deployment model. */
|
|
2520
|
+
model?: DeploymentModel;
|
|
2521
|
+
skuName?: string;
|
|
2522
|
+
/** The available capacity for deployment with this model and sku. */
|
|
2523
|
+
availableCapacity?: number;
|
|
2524
|
+
/** The available capacity for deployment with a fine-tune version of this model and sku. */
|
|
2525
|
+
availableFinetuneCapacity?: number;
|
|
1875
2526
|
}
|
|
1876
2527
|
|
|
1877
2528
|
/** Optional parameters. */
|
|
@@ -1909,73 +2560,247 @@ export declare type NetworkRuleAction = string;
|
|
|
1909
2560
|
export declare interface NetworkRuleSet {
|
|
1910
2561
|
/** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */
|
|
1911
2562
|
defaultAction?: NetworkRuleAction;
|
|
2563
|
+
/** Setting for trusted services. */
|
|
2564
|
+
bypass?: ByPassSelection;
|
|
1912
2565
|
/** The list of IP address rules. */
|
|
1913
2566
|
ipRules?: IpRule[];
|
|
1914
2567
|
/** The list of virtual network rules. */
|
|
1915
2568
|
virtualNetworkRules?: VirtualNetworkRule[];
|
|
1916
2569
|
}
|
|
1917
2570
|
|
|
1918
|
-
/**
|
|
1919
|
-
export declare interface
|
|
1920
|
-
/**
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
/**
|
|
1931
|
-
|
|
1932
|
-
/**
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
2571
|
+
/** Information about a linked Network Security Perimeter */
|
|
2572
|
+
export declare interface NetworkSecurityPerimeter {
|
|
2573
|
+
/** Fully qualified identifier of the resource */
|
|
2574
|
+
id?: string;
|
|
2575
|
+
/** Guid of the resource */
|
|
2576
|
+
perimeterGuid?: string;
|
|
2577
|
+
/** Location of the resource */
|
|
2578
|
+
location?: string;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
/** Network Security Perimeter Access Rule */
|
|
2582
|
+
export declare interface NetworkSecurityPerimeterAccessRule {
|
|
2583
|
+
/** Network Security Perimeter Access Rule Name */
|
|
2584
|
+
name?: string;
|
|
2585
|
+
/** Properties of Network Security Perimeter Access Rule */
|
|
2586
|
+
properties?: NetworkSecurityPerimeterAccessRuleProperties;
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
/** The Properties of Network Security Perimeter Rule */
|
|
2590
|
+
export declare interface NetworkSecurityPerimeterAccessRuleProperties {
|
|
2591
|
+
/** Direction of Access Rule */
|
|
2592
|
+
direction?: NspAccessRuleDirection;
|
|
2593
|
+
/** Address prefixes for inbound rules */
|
|
2594
|
+
addressPrefixes?: string[];
|
|
2595
|
+
/** Subscriptions for inbound rules */
|
|
2596
|
+
subscriptions?: NetworkSecurityPerimeterAccessRulePropertiesSubscriptionsItem[];
|
|
2597
|
+
/** NetworkSecurityPerimeters for inbound rules */
|
|
2598
|
+
networkSecurityPerimeters?: NetworkSecurityPerimeter[];
|
|
2599
|
+
/** Fully qualified domain name for outbound rules */
|
|
2600
|
+
fullyQualifiedDomainNames?: string[];
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
/** Subscription for inbound rule */
|
|
2604
|
+
export declare interface NetworkSecurityPerimeterAccessRulePropertiesSubscriptionsItem {
|
|
2605
|
+
/** Fully qualified identifier of subscription */
|
|
2606
|
+
id?: string;
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2609
|
+
/** NSP Configuration for an Cognitive Services account. */
|
|
2610
|
+
export declare interface NetworkSecurityPerimeterConfiguration extends ProxyResource {
|
|
2611
|
+
/** NSP Configuration properties. */
|
|
2612
|
+
properties?: NetworkSecurityPerimeterConfigurationProperties;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
/** Network Security Perimeter Configuration Association Information */
|
|
2616
|
+
export declare interface NetworkSecurityPerimeterConfigurationAssociationInfo {
|
|
2617
|
+
/** Name of the resource association */
|
|
2618
|
+
name?: string;
|
|
2619
|
+
/** Access Mode of the resource association */
|
|
2620
|
+
accessMode?: string;
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
/** A list of NSP configurations for an Cognitive Services account. */
|
|
2624
|
+
export declare interface NetworkSecurityPerimeterConfigurationList {
|
|
2625
|
+
/** Array of NSP configurations List Result for an Cognitive Services account. */
|
|
2626
|
+
value?: NetworkSecurityPerimeterConfiguration[];
|
|
2627
|
+
/** Link to retrieve next page of results. */
|
|
2628
|
+
nextLink?: string;
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2631
|
+
/** The properties of an NSP Configuration. */
|
|
2632
|
+
export declare interface NetworkSecurityPerimeterConfigurationProperties {
|
|
1937
2633
|
/**
|
|
1938
|
-
*
|
|
2634
|
+
* Provisioning state of NetworkSecurityPerimeter configuration
|
|
1939
2635
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1940
2636
|
*/
|
|
1941
|
-
readonly
|
|
2637
|
+
readonly provisioningState?: string;
|
|
2638
|
+
/** List of Provisioning Issues */
|
|
2639
|
+
provisioningIssues?: ProvisioningIssue[];
|
|
2640
|
+
/** Information about a linked Network Security Perimeter */
|
|
2641
|
+
networkSecurityPerimeter?: NetworkSecurityPerimeter;
|
|
2642
|
+
/** Network Security Perimeter Configuration Association Information */
|
|
2643
|
+
resourceAssociation?: NetworkSecurityPerimeterConfigurationAssociationInfo;
|
|
2644
|
+
/** Network Security Perimeter Profile Information */
|
|
2645
|
+
profile?: NetworkSecurityPerimeterProfileInfo;
|
|
1942
2646
|
}
|
|
1943
2647
|
|
|
1944
|
-
/**
|
|
1945
|
-
export declare interface
|
|
2648
|
+
/** Interface representing a NetworkSecurityPerimeterConfigurations. */
|
|
2649
|
+
export declare interface NetworkSecurityPerimeterConfigurations {
|
|
1946
2650
|
/**
|
|
1947
|
-
*
|
|
1948
|
-
*
|
|
2651
|
+
* Gets a list of NSP configurations for an account.
|
|
2652
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2653
|
+
* @param accountName The name of Cognitive Services account.
|
|
2654
|
+
* @param options The options parameters.
|
|
1949
2655
|
*/
|
|
1950
|
-
|
|
2656
|
+
list(resourceGroupName: string, accountName: string, options?: NetworkSecurityPerimeterConfigurationsListOptionalParams): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration>;
|
|
1951
2657
|
/**
|
|
1952
|
-
*
|
|
1953
|
-
*
|
|
2658
|
+
* Gets the specified NSP configurations for an account.
|
|
2659
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2660
|
+
* @param accountName The name of Cognitive Services account.
|
|
2661
|
+
* @param nspConfigurationName The name of the NSP Configuration.
|
|
2662
|
+
* @param options The options parameters.
|
|
1954
2663
|
*/
|
|
1955
|
-
|
|
2664
|
+
get(resourceGroupName: string, accountName: string, nspConfigurationName: string, options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsGetResponse>;
|
|
1956
2665
|
/**
|
|
1957
|
-
*
|
|
1958
|
-
*
|
|
2666
|
+
* Reconcile the NSP configuration for an account.
|
|
2667
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2668
|
+
* @param accountName The name of Cognitive Services account.
|
|
2669
|
+
* @param nspConfigurationName The name of the NSP Configuration.
|
|
2670
|
+
* @param options The options parameters.
|
|
1959
2671
|
*/
|
|
1960
|
-
|
|
2672
|
+
beginReconcile(resourceGroupName: string, accountName: string, nspConfigurationName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<SimplePollerLike<OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>, NetworkSecurityPerimeterConfigurationsReconcileResponse>>;
|
|
1961
2673
|
/**
|
|
1962
|
-
*
|
|
1963
|
-
*
|
|
2674
|
+
* Reconcile the NSP configuration for an account.
|
|
2675
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2676
|
+
* @param accountName The name of Cognitive Services account.
|
|
2677
|
+
* @param nspConfigurationName The name of the NSP Configuration.
|
|
2678
|
+
* @param options The options parameters.
|
|
1964
2679
|
*/
|
|
1965
|
-
|
|
2680
|
+
beginReconcileAndWait(resourceGroupName: string, accountName: string, nspConfigurationName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse>;
|
|
1966
2681
|
}
|
|
1967
2682
|
|
|
1968
|
-
/**
|
|
1969
|
-
export declare interface
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
2683
|
+
/** Optional parameters. */
|
|
2684
|
+
export declare interface NetworkSecurityPerimeterConfigurationsGetOptionalParams extends coreClient.OperationOptions {
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
/** Contains response data for the get operation. */
|
|
2688
|
+
export declare type NetworkSecurityPerimeterConfigurationsGetResponse = NetworkSecurityPerimeterConfiguration;
|
|
2689
|
+
|
|
2690
|
+
/** Optional parameters. */
|
|
2691
|
+
export declare interface NetworkSecurityPerimeterConfigurationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
/** Contains response data for the listNext operation. */
|
|
2695
|
+
export declare type NetworkSecurityPerimeterConfigurationsListNextResponse = NetworkSecurityPerimeterConfigurationList;
|
|
2696
|
+
|
|
2697
|
+
/** Optional parameters. */
|
|
2698
|
+
export declare interface NetworkSecurityPerimeterConfigurationsListOptionalParams extends coreClient.OperationOptions {
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
/** Contains response data for the list operation. */
|
|
2702
|
+
export declare type NetworkSecurityPerimeterConfigurationsListResponse = NetworkSecurityPerimeterConfigurationList;
|
|
2703
|
+
|
|
2704
|
+
/** Defines headers for NetworkSecurityPerimeterConfigurations_reconcile operation. */
|
|
2705
|
+
export declare interface NetworkSecurityPerimeterConfigurationsReconcileHeaders {
|
|
2706
|
+
location?: string;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
/** Optional parameters. */
|
|
2710
|
+
export declare interface NetworkSecurityPerimeterConfigurationsReconcileOptionalParams extends coreClient.OperationOptions {
|
|
2711
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2712
|
+
updateIntervalInMs?: number;
|
|
2713
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2714
|
+
resumeFrom?: string;
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
/** Contains response data for the reconcile operation. */
|
|
2718
|
+
export declare type NetworkSecurityPerimeterConfigurationsReconcileResponse = NetworkSecurityPerimeterConfiguration;
|
|
2719
|
+
|
|
2720
|
+
/** Network Security Perimeter Profile Information */
|
|
2721
|
+
export declare interface NetworkSecurityPerimeterProfileInfo {
|
|
2722
|
+
/** Name of the resource profile */
|
|
2723
|
+
name?: string;
|
|
2724
|
+
/** Access rules version of the resource profile */
|
|
2725
|
+
accessRulesVersion?: number;
|
|
2726
|
+
accessRules?: NetworkSecurityPerimeterAccessRule[];
|
|
2727
|
+
/** Current diagnostic settings version */
|
|
2728
|
+
diagnosticSettingsVersion?: number;
|
|
2729
|
+
/** List of enabled log categories */
|
|
2730
|
+
enabledLogCategories?: string[];
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
* Defines values for NspAccessRuleDirection. \
|
|
2735
|
+
* {@link KnownNspAccessRuleDirection} can be used interchangeably with NspAccessRuleDirection,
|
|
2736
|
+
* this enum contains the known values that the service supports.
|
|
2737
|
+
* ### Known values supported by the service
|
|
2738
|
+
* **Inbound** \
|
|
2739
|
+
* **Outbound**
|
|
2740
|
+
*/
|
|
2741
|
+
export declare type NspAccessRuleDirection = string;
|
|
2742
|
+
|
|
2743
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
2744
|
+
export declare interface Operation {
|
|
2745
|
+
/**
|
|
2746
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
2747
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2748
|
+
*/
|
|
2749
|
+
readonly name?: string;
|
|
2750
|
+
/**
|
|
2751
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
2752
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2753
|
+
*/
|
|
2754
|
+
readonly isDataAction?: boolean;
|
|
2755
|
+
/** Localized display information for this particular operation. */
|
|
2756
|
+
display?: OperationDisplay;
|
|
2757
|
+
/**
|
|
2758
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
2759
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2760
|
+
*/
|
|
2761
|
+
readonly origin?: Origin;
|
|
2762
|
+
/**
|
|
2763
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
2764
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2765
|
+
*/
|
|
2766
|
+
readonly actionType?: ActionType;
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
/** Localized display information for this particular operation. */
|
|
2770
|
+
export declare interface OperationDisplay {
|
|
2771
|
+
/**
|
|
2772
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
2773
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2774
|
+
*/
|
|
2775
|
+
readonly provider?: string;
|
|
2776
|
+
/**
|
|
2777
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
2778
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2779
|
+
*/
|
|
2780
|
+
readonly resource?: string;
|
|
2781
|
+
/**
|
|
2782
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
2783
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2784
|
+
*/
|
|
2785
|
+
readonly operation?: string;
|
|
2786
|
+
/**
|
|
2787
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
2788
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2789
|
+
*/
|
|
2790
|
+
readonly description?: string;
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
2794
|
+
export declare interface OperationListResult {
|
|
2795
|
+
/**
|
|
2796
|
+
* List of operations supported by the resource provider
|
|
2797
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2798
|
+
*/
|
|
2799
|
+
readonly value?: Operation[];
|
|
2800
|
+
/**
|
|
2801
|
+
* URL to get the next set of operation list results (if there are any).
|
|
2802
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2803
|
+
*/
|
|
1979
2804
|
readonly nextLink?: string;
|
|
1980
2805
|
}
|
|
1981
2806
|
|
|
@@ -2247,6 +3072,27 @@ export declare interface PrivateLinkServiceConnectionState {
|
|
|
2247
3072
|
actionsRequired?: string;
|
|
2248
3073
|
}
|
|
2249
3074
|
|
|
3075
|
+
export declare interface ProvisioningIssue {
|
|
3076
|
+
/** Name of the NSP provisioning issue */
|
|
3077
|
+
name?: string;
|
|
3078
|
+
/** Properties of Provisioning Issue */
|
|
3079
|
+
properties?: ProvisioningIssueProperties;
|
|
3080
|
+
}
|
|
3081
|
+
|
|
3082
|
+
/** Properties of Provisioning Issue */
|
|
3083
|
+
export declare interface ProvisioningIssueProperties {
|
|
3084
|
+
/** Type of Issue */
|
|
3085
|
+
issueType?: string;
|
|
3086
|
+
/** Severity of the issue */
|
|
3087
|
+
severity?: string;
|
|
3088
|
+
/** Description of the issue */
|
|
3089
|
+
description?: string;
|
|
3090
|
+
/** IDs of resources that can be associated to the same perimeter to remediate the issue. */
|
|
3091
|
+
suggestedResourceIds?: string[];
|
|
3092
|
+
/** Optional array, suggested access rules */
|
|
3093
|
+
suggestedAccessRules?: NetworkSecurityPerimeterAccessRule[];
|
|
3094
|
+
}
|
|
3095
|
+
|
|
2250
3096
|
/**
|
|
2251
3097
|
* Defines values for ProvisioningState. \
|
|
2252
3098
|
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
@@ -2294,6 +3140,550 @@ export declare interface QuotaLimit {
|
|
|
2294
3140
|
*/
|
|
2295
3141
|
export declare type QuotaUsageStatus = string;
|
|
2296
3142
|
|
|
3143
|
+
/** Cognitive Services RaiBlocklist. */
|
|
3144
|
+
export declare interface RaiBlocklist extends ProxyResource {
|
|
3145
|
+
/**
|
|
3146
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
3147
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3148
|
+
*/
|
|
3149
|
+
readonly systemData?: SystemData;
|
|
3150
|
+
/**
|
|
3151
|
+
* Resource Etag.
|
|
3152
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3153
|
+
*/
|
|
3154
|
+
readonly etag?: string;
|
|
3155
|
+
/** Resource tags. */
|
|
3156
|
+
tags?: {
|
|
3157
|
+
[propertyName: string]: string;
|
|
3158
|
+
};
|
|
3159
|
+
/** Properties of Cognitive Services RaiBlocklist. */
|
|
3160
|
+
properties?: RaiBlocklistProperties;
|
|
3161
|
+
}
|
|
3162
|
+
|
|
3163
|
+
/** Azure OpenAI blocklist config. */
|
|
3164
|
+
export declare interface RaiBlocklistConfig {
|
|
3165
|
+
/** Name of ContentFilter. */
|
|
3166
|
+
blocklistName?: string;
|
|
3167
|
+
/** If blocking would occur. */
|
|
3168
|
+
blocking?: boolean;
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3171
|
+
/** Cognitive Services RaiBlocklist Item. */
|
|
3172
|
+
export declare interface RaiBlocklistItem extends ProxyResource {
|
|
3173
|
+
/**
|
|
3174
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
3175
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3176
|
+
*/
|
|
3177
|
+
readonly systemData?: SystemData;
|
|
3178
|
+
/**
|
|
3179
|
+
* Resource Etag.
|
|
3180
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3181
|
+
*/
|
|
3182
|
+
readonly etag?: string;
|
|
3183
|
+
/** Resource tags. */
|
|
3184
|
+
tags?: {
|
|
3185
|
+
[propertyName: string]: string;
|
|
3186
|
+
};
|
|
3187
|
+
/** Properties of Cognitive Services RaiBlocklist Item. */
|
|
3188
|
+
properties?: RaiBlocklistItemProperties;
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3191
|
+
/** The Cognitive Services RaiBlocklist Item request body. */
|
|
3192
|
+
export declare interface RaiBlocklistItemBulkRequest {
|
|
3193
|
+
name?: string;
|
|
3194
|
+
/** Properties of Cognitive Services RaiBlocklist Item. */
|
|
3195
|
+
properties?: RaiBlocklistItemProperties;
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
/** RAI Custom Blocklist Item properties. */
|
|
3199
|
+
export declare interface RaiBlocklistItemProperties {
|
|
3200
|
+
/** Pattern to match against. */
|
|
3201
|
+
pattern?: string;
|
|
3202
|
+
/** If the pattern is a regex pattern. */
|
|
3203
|
+
isRegex?: boolean;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
/** Interface representing a RaiBlocklistItems. */
|
|
3207
|
+
export declare interface RaiBlocklistItems {
|
|
3208
|
+
/**
|
|
3209
|
+
* Gets the blocklist items associated with the custom blocklist.
|
|
3210
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3211
|
+
* @param accountName The name of Cognitive Services account.
|
|
3212
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3213
|
+
* @param options The options parameters.
|
|
3214
|
+
*/
|
|
3215
|
+
list(resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistItemsListOptionalParams): PagedAsyncIterableIterator<RaiBlocklistItem>;
|
|
3216
|
+
/**
|
|
3217
|
+
* Gets the specified custom blocklist Item associated with the custom blocklist.
|
|
3218
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3219
|
+
* @param accountName The name of Cognitive Services account.
|
|
3220
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3221
|
+
* @param raiBlocklistItemName The name of the RaiBlocklist Item associated with the custom blocklist
|
|
3222
|
+
* @param options The options parameters.
|
|
3223
|
+
*/
|
|
3224
|
+
get(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsGetOptionalParams): Promise<RaiBlocklistItemsGetResponse>;
|
|
3225
|
+
/**
|
|
3226
|
+
* Update the state of specified blocklist item associated with the Azure OpenAI account.
|
|
3227
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3228
|
+
* @param accountName The name of Cognitive Services account.
|
|
3229
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3230
|
+
* @param raiBlocklistItemName The name of the RaiBlocklist Item associated with the custom blocklist
|
|
3231
|
+
* @param raiBlocklistItem Properties describing the custom blocklist.
|
|
3232
|
+
* @param options The options parameters.
|
|
3233
|
+
*/
|
|
3234
|
+
createOrUpdate(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, raiBlocklistItem: RaiBlocklistItem, options?: RaiBlocklistItemsCreateOrUpdateOptionalParams): Promise<RaiBlocklistItemsCreateOrUpdateResponse>;
|
|
3235
|
+
/**
|
|
3236
|
+
* Deletes the specified blocklist Item associated with the custom blocklist.
|
|
3237
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3238
|
+
* @param accountName The name of Cognitive Services account.
|
|
3239
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3240
|
+
* @param raiBlocklistItemName The name of the RaiBlocklist Item associated with the custom blocklist
|
|
3241
|
+
* @param options The options parameters.
|
|
3242
|
+
*/
|
|
3243
|
+
beginDelete(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<RaiBlocklistItemsDeleteResponse>, RaiBlocklistItemsDeleteResponse>>;
|
|
3244
|
+
/**
|
|
3245
|
+
* Deletes the specified blocklist Item associated with the custom blocklist.
|
|
3246
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3247
|
+
* @param accountName The name of Cognitive Services account.
|
|
3248
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3249
|
+
* @param raiBlocklistItemName The name of the RaiBlocklist Item associated with the custom blocklist
|
|
3250
|
+
* @param options The options parameters.
|
|
3251
|
+
*/
|
|
3252
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsDeleteOptionalParams): Promise<RaiBlocklistItemsDeleteResponse>;
|
|
3253
|
+
/**
|
|
3254
|
+
* Batch operation to add blocklist items.
|
|
3255
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3256
|
+
* @param accountName The name of Cognitive Services account.
|
|
3257
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3258
|
+
* @param raiBlocklistItems Properties describing the custom blocklist items.
|
|
3259
|
+
* @param options The options parameters.
|
|
3260
|
+
*/
|
|
3261
|
+
batchAdd(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItems: RaiBlocklistItemBulkRequest[], options?: RaiBlocklistItemsBatchAddOptionalParams): Promise<RaiBlocklistItemsBatchAddResponse>;
|
|
3262
|
+
/**
|
|
3263
|
+
* Batch operation to delete blocklist items.
|
|
3264
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3265
|
+
* @param accountName The name of Cognitive Services account.
|
|
3266
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3267
|
+
* @param raiBlocklistItemsNames List of RAI Blocklist Items Names.
|
|
3268
|
+
* @param options The options parameters.
|
|
3269
|
+
*/
|
|
3270
|
+
batchDelete(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemsNames: string[], options?: RaiBlocklistItemsBatchDeleteOptionalParams): Promise<void>;
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
/** Optional parameters. */
|
|
3274
|
+
export declare interface RaiBlocklistItemsBatchAddOptionalParams extends coreClient.OperationOptions {
|
|
3275
|
+
}
|
|
3276
|
+
|
|
3277
|
+
/** Contains response data for the batchAdd operation. */
|
|
3278
|
+
export declare type RaiBlocklistItemsBatchAddResponse = RaiBlocklist;
|
|
3279
|
+
|
|
3280
|
+
/** Optional parameters. */
|
|
3281
|
+
export declare interface RaiBlocklistItemsBatchDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
/** Optional parameters. */
|
|
3285
|
+
export declare interface RaiBlocklistItemsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3288
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
3289
|
+
export declare type RaiBlocklistItemsCreateOrUpdateResponse = RaiBlocklistItem;
|
|
3290
|
+
|
|
3291
|
+
/** Defines headers for RaiBlocklistItems_delete operation. */
|
|
3292
|
+
export declare interface RaiBlocklistItemsDeleteHeaders {
|
|
3293
|
+
location?: string;
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
/** Optional parameters. */
|
|
3297
|
+
export declare interface RaiBlocklistItemsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3298
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
3299
|
+
updateIntervalInMs?: number;
|
|
3300
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
3301
|
+
resumeFrom?: string;
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
/** Contains response data for the delete operation. */
|
|
3305
|
+
export declare type RaiBlocklistItemsDeleteResponse = RaiBlocklistItemsDeleteHeaders;
|
|
3306
|
+
|
|
3307
|
+
/** Optional parameters. */
|
|
3308
|
+
export declare interface RaiBlocklistItemsGetOptionalParams extends coreClient.OperationOptions {
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
/** Contains response data for the get operation. */
|
|
3312
|
+
export declare type RaiBlocklistItemsGetResponse = RaiBlocklistItem;
|
|
3313
|
+
|
|
3314
|
+
/** Optional parameters. */
|
|
3315
|
+
export declare interface RaiBlocklistItemsListNextOptionalParams extends coreClient.OperationOptions {
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3318
|
+
/** Contains response data for the listNext operation. */
|
|
3319
|
+
export declare type RaiBlocklistItemsListNextResponse = RaiBlockListItemsResult;
|
|
3320
|
+
|
|
3321
|
+
/** Optional parameters. */
|
|
3322
|
+
export declare interface RaiBlocklistItemsListOptionalParams extends coreClient.OperationOptions {
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3325
|
+
/** Contains response data for the list operation. */
|
|
3326
|
+
export declare type RaiBlocklistItemsListResponse = RaiBlockListItemsResult;
|
|
3327
|
+
|
|
3328
|
+
/** The list of cognitive services RAI Blocklist Items. */
|
|
3329
|
+
export declare interface RaiBlockListItemsResult {
|
|
3330
|
+
/** The link used to get the next page of RaiBlocklistItems. */
|
|
3331
|
+
nextLink?: string;
|
|
3332
|
+
/** The list of RaiBlocklistItems. */
|
|
3333
|
+
value?: RaiBlocklistItem[];
|
|
3334
|
+
}
|
|
3335
|
+
|
|
3336
|
+
/** RAI Custom Blocklist properties. */
|
|
3337
|
+
export declare interface RaiBlocklistProperties {
|
|
3338
|
+
/** Description of the block list. */
|
|
3339
|
+
description?: string;
|
|
3340
|
+
}
|
|
3341
|
+
|
|
3342
|
+
/** The list of cognitive services RAI Blocklists. */
|
|
3343
|
+
export declare interface RaiBlockListResult {
|
|
3344
|
+
/** The link used to get the next page of RaiBlocklists. */
|
|
3345
|
+
nextLink?: string;
|
|
3346
|
+
/** The list of RaiBlocklist. */
|
|
3347
|
+
value?: RaiBlocklist[];
|
|
3348
|
+
}
|
|
3349
|
+
|
|
3350
|
+
/** Interface representing a RaiBlocklists. */
|
|
3351
|
+
export declare interface RaiBlocklists {
|
|
3352
|
+
/**
|
|
3353
|
+
* Gets the custom blocklists associated with the Azure OpenAI account.
|
|
3354
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3355
|
+
* @param accountName The name of Cognitive Services account.
|
|
3356
|
+
* @param options The options parameters.
|
|
3357
|
+
*/
|
|
3358
|
+
list(resourceGroupName: string, accountName: string, options?: RaiBlocklistsListOptionalParams): PagedAsyncIterableIterator<RaiBlocklist>;
|
|
3359
|
+
/**
|
|
3360
|
+
* Gets the specified custom blocklist associated with the Azure OpenAI account.
|
|
3361
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3362
|
+
* @param accountName The name of Cognitive Services account.
|
|
3363
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3364
|
+
* @param options The options parameters.
|
|
3365
|
+
*/
|
|
3366
|
+
get(resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistsGetOptionalParams): Promise<RaiBlocklistsGetResponse>;
|
|
3367
|
+
/**
|
|
3368
|
+
* Update the state of specified blocklist associated with the Azure OpenAI account.
|
|
3369
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3370
|
+
* @param accountName The name of Cognitive Services account.
|
|
3371
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3372
|
+
* @param raiBlocklist Properties describing the custom blocklist.
|
|
3373
|
+
* @param options The options parameters.
|
|
3374
|
+
*/
|
|
3375
|
+
createOrUpdate(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklist: RaiBlocklist, options?: RaiBlocklistsCreateOrUpdateOptionalParams): Promise<RaiBlocklistsCreateOrUpdateResponse>;
|
|
3376
|
+
/**
|
|
3377
|
+
* Deletes the specified custom blocklist associated with the Azure OpenAI account.
|
|
3378
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3379
|
+
* @param accountName The name of Cognitive Services account.
|
|
3380
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3381
|
+
* @param options The options parameters.
|
|
3382
|
+
*/
|
|
3383
|
+
beginDelete(resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<RaiBlocklistsDeleteResponse>, RaiBlocklistsDeleteResponse>>;
|
|
3384
|
+
/**
|
|
3385
|
+
* Deletes the specified custom blocklist associated with the Azure OpenAI account.
|
|
3386
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3387
|
+
* @param accountName The name of Cognitive Services account.
|
|
3388
|
+
* @param raiBlocklistName The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3389
|
+
* @param options The options parameters.
|
|
3390
|
+
*/
|
|
3391
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistsDeleteOptionalParams): Promise<RaiBlocklistsDeleteResponse>;
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3394
|
+
/** Optional parameters. */
|
|
3395
|
+
export declare interface RaiBlocklistsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3396
|
+
}
|
|
3397
|
+
|
|
3398
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
3399
|
+
export declare type RaiBlocklistsCreateOrUpdateResponse = RaiBlocklist;
|
|
3400
|
+
|
|
3401
|
+
/** Defines headers for RaiBlocklists_delete operation. */
|
|
3402
|
+
export declare interface RaiBlocklistsDeleteHeaders {
|
|
3403
|
+
location?: string;
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3406
|
+
/** Optional parameters. */
|
|
3407
|
+
export declare interface RaiBlocklistsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3408
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
3409
|
+
updateIntervalInMs?: number;
|
|
3410
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
3411
|
+
resumeFrom?: string;
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3414
|
+
/** Contains response data for the delete operation. */
|
|
3415
|
+
export declare type RaiBlocklistsDeleteResponse = RaiBlocklistsDeleteHeaders;
|
|
3416
|
+
|
|
3417
|
+
/** Optional parameters. */
|
|
3418
|
+
export declare interface RaiBlocklistsGetOptionalParams extends coreClient.OperationOptions {
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
/** Contains response data for the get operation. */
|
|
3422
|
+
export declare type RaiBlocklistsGetResponse = RaiBlocklist;
|
|
3423
|
+
|
|
3424
|
+
/** Optional parameters. */
|
|
3425
|
+
export declare interface RaiBlocklistsListNextOptionalParams extends coreClient.OperationOptions {
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
/** Contains response data for the listNext operation. */
|
|
3429
|
+
export declare type RaiBlocklistsListNextResponse = RaiBlockListResult;
|
|
3430
|
+
|
|
3431
|
+
/** Optional parameters. */
|
|
3432
|
+
export declare interface RaiBlocklistsListOptionalParams extends coreClient.OperationOptions {
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3435
|
+
/** Contains response data for the list operation. */
|
|
3436
|
+
export declare type RaiBlocklistsListResponse = RaiBlockListResult;
|
|
3437
|
+
|
|
3438
|
+
/** Azure OpenAI Content Filter. */
|
|
3439
|
+
export declare interface RaiContentFilter extends ProxyResource {
|
|
3440
|
+
/** Azure OpenAI Content Filter Properties. */
|
|
3441
|
+
properties?: RaiContentFilterProperties;
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
/** The list of Content Filters. */
|
|
3445
|
+
export declare interface RaiContentFilterListResult {
|
|
3446
|
+
/** The link used to get the next page of Content Filters. */
|
|
3447
|
+
nextLink?: string;
|
|
3448
|
+
/** The list of RaiContentFilter. */
|
|
3449
|
+
value?: RaiContentFilter[];
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
/** Azure OpenAI Content Filter Properties. */
|
|
3453
|
+
export declare interface RaiContentFilterProperties {
|
|
3454
|
+
/** Name of Content Filter. */
|
|
3455
|
+
name?: string;
|
|
3456
|
+
/** If the Content Filter has multi severity levels(Low, Medium, or High). */
|
|
3457
|
+
isMultiLevelFilter?: boolean;
|
|
3458
|
+
/** Content source to apply the Content Filters. */
|
|
3459
|
+
source?: RaiPolicyContentSource;
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
/** Interface representing a RaiContentFilters. */
|
|
3463
|
+
export declare interface RaiContentFilters {
|
|
3464
|
+
/**
|
|
3465
|
+
* List Content Filters types.
|
|
3466
|
+
* @param location Resource location.
|
|
3467
|
+
* @param options The options parameters.
|
|
3468
|
+
*/
|
|
3469
|
+
list(location: string, options?: RaiContentFiltersListOptionalParams): PagedAsyncIterableIterator<RaiContentFilter>;
|
|
3470
|
+
/**
|
|
3471
|
+
* Get Content Filters by Name.
|
|
3472
|
+
* @param location Resource location.
|
|
3473
|
+
* @param filterName The name of the RAI Content Filter.
|
|
3474
|
+
* @param options The options parameters.
|
|
3475
|
+
*/
|
|
3476
|
+
get(location: string, filterName: string, options?: RaiContentFiltersGetOptionalParams): Promise<RaiContentFiltersGetResponse>;
|
|
3477
|
+
}
|
|
3478
|
+
|
|
3479
|
+
/** Optional parameters. */
|
|
3480
|
+
export declare interface RaiContentFiltersGetOptionalParams extends coreClient.OperationOptions {
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3483
|
+
/** Contains response data for the get operation. */
|
|
3484
|
+
export declare type RaiContentFiltersGetResponse = RaiContentFilter;
|
|
3485
|
+
|
|
3486
|
+
/** Optional parameters. */
|
|
3487
|
+
export declare interface RaiContentFiltersListNextOptionalParams extends coreClient.OperationOptions {
|
|
3488
|
+
}
|
|
3489
|
+
|
|
3490
|
+
/** Contains response data for the listNext operation. */
|
|
3491
|
+
export declare type RaiContentFiltersListNextResponse = RaiContentFilterListResult;
|
|
3492
|
+
|
|
3493
|
+
/** Optional parameters. */
|
|
3494
|
+
export declare interface RaiContentFiltersListOptionalParams extends coreClient.OperationOptions {
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3497
|
+
/** Contains response data for the list operation. */
|
|
3498
|
+
export declare type RaiContentFiltersListResponse = RaiContentFilterListResult;
|
|
3499
|
+
|
|
3500
|
+
/** Cognitive Services Rai Monitor Config. */
|
|
3501
|
+
export declare interface RaiMonitorConfig {
|
|
3502
|
+
/** The storage resource Id. */
|
|
3503
|
+
adxStorageResourceId?: string;
|
|
3504
|
+
/** The identity client Id to access the storage. */
|
|
3505
|
+
identityClientId?: string;
|
|
3506
|
+
}
|
|
3507
|
+
|
|
3508
|
+
/** Interface representing a RaiPolicies. */
|
|
3509
|
+
export declare interface RaiPolicies {
|
|
3510
|
+
/**
|
|
3511
|
+
* Gets the content filters associated with the Azure OpenAI account.
|
|
3512
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3513
|
+
* @param accountName The name of Cognitive Services account.
|
|
3514
|
+
* @param options The options parameters.
|
|
3515
|
+
*/
|
|
3516
|
+
list(resourceGroupName: string, accountName: string, options?: RaiPoliciesListOptionalParams): PagedAsyncIterableIterator<RaiPolicy>;
|
|
3517
|
+
/**
|
|
3518
|
+
* Gets the specified Content Filters associated with the Azure OpenAI account.
|
|
3519
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3520
|
+
* @param accountName The name of Cognitive Services account.
|
|
3521
|
+
* @param raiPolicyName The name of the RaiPolicy associated with the Cognitive Services Account
|
|
3522
|
+
* @param options The options parameters.
|
|
3523
|
+
*/
|
|
3524
|
+
get(resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesGetOptionalParams): Promise<RaiPoliciesGetResponse>;
|
|
3525
|
+
/**
|
|
3526
|
+
* Update the state of specified Content Filters associated with the Azure OpenAI account.
|
|
3527
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3528
|
+
* @param accountName The name of Cognitive Services account.
|
|
3529
|
+
* @param raiPolicyName The name of the RaiPolicy associated with the Cognitive Services Account
|
|
3530
|
+
* @param raiPolicy Properties describing the Content Filters.
|
|
3531
|
+
* @param options The options parameters.
|
|
3532
|
+
*/
|
|
3533
|
+
createOrUpdate(resourceGroupName: string, accountName: string, raiPolicyName: string, raiPolicy: RaiPolicy, options?: RaiPoliciesCreateOrUpdateOptionalParams): Promise<RaiPoliciesCreateOrUpdateResponse>;
|
|
3534
|
+
/**
|
|
3535
|
+
* Deletes the specified Content Filters associated with the Azure OpenAI account.
|
|
3536
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3537
|
+
* @param accountName The name of Cognitive Services account.
|
|
3538
|
+
* @param raiPolicyName The name of the RaiPolicy associated with the Cognitive Services Account
|
|
3539
|
+
* @param options The options parameters.
|
|
3540
|
+
*/
|
|
3541
|
+
beginDelete(resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<RaiPoliciesDeleteResponse>, RaiPoliciesDeleteResponse>>;
|
|
3542
|
+
/**
|
|
3543
|
+
* Deletes the specified Content Filters associated with the Azure OpenAI account.
|
|
3544
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3545
|
+
* @param accountName The name of Cognitive Services account.
|
|
3546
|
+
* @param raiPolicyName The name of the RaiPolicy associated with the Cognitive Services Account
|
|
3547
|
+
* @param options The options parameters.
|
|
3548
|
+
*/
|
|
3549
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesDeleteOptionalParams): Promise<RaiPoliciesDeleteResponse>;
|
|
3550
|
+
}
|
|
3551
|
+
|
|
3552
|
+
/** Optional parameters. */
|
|
3553
|
+
export declare interface RaiPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
3557
|
+
export declare type RaiPoliciesCreateOrUpdateResponse = RaiPolicy;
|
|
3558
|
+
|
|
3559
|
+
/** Defines headers for RaiPolicies_delete operation. */
|
|
3560
|
+
export declare interface RaiPoliciesDeleteHeaders {
|
|
3561
|
+
location?: string;
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
/** Optional parameters. */
|
|
3565
|
+
export declare interface RaiPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3566
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
3567
|
+
updateIntervalInMs?: number;
|
|
3568
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
3569
|
+
resumeFrom?: string;
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
/** Contains response data for the delete operation. */
|
|
3573
|
+
export declare type RaiPoliciesDeleteResponse = RaiPoliciesDeleteHeaders;
|
|
3574
|
+
|
|
3575
|
+
/** Optional parameters. */
|
|
3576
|
+
export declare interface RaiPoliciesGetOptionalParams extends coreClient.OperationOptions {
|
|
3577
|
+
}
|
|
3578
|
+
|
|
3579
|
+
/** Contains response data for the get operation. */
|
|
3580
|
+
export declare type RaiPoliciesGetResponse = RaiPolicy;
|
|
3581
|
+
|
|
3582
|
+
/** Optional parameters. */
|
|
3583
|
+
export declare interface RaiPoliciesListNextOptionalParams extends coreClient.OperationOptions {
|
|
3584
|
+
}
|
|
3585
|
+
|
|
3586
|
+
/** Contains response data for the listNext operation. */
|
|
3587
|
+
export declare type RaiPoliciesListNextResponse = RaiPolicyListResult;
|
|
3588
|
+
|
|
3589
|
+
/** Optional parameters. */
|
|
3590
|
+
export declare interface RaiPoliciesListOptionalParams extends coreClient.OperationOptions {
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
/** Contains response data for the list operation. */
|
|
3594
|
+
export declare type RaiPoliciesListResponse = RaiPolicyListResult;
|
|
3595
|
+
|
|
3596
|
+
/** Cognitive Services RaiPolicy. */
|
|
3597
|
+
export declare interface RaiPolicy extends ProxyResource {
|
|
3598
|
+
/**
|
|
3599
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
3600
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3601
|
+
*/
|
|
3602
|
+
readonly systemData?: SystemData;
|
|
3603
|
+
/**
|
|
3604
|
+
* Resource Etag.
|
|
3605
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3606
|
+
*/
|
|
3607
|
+
readonly etag?: string;
|
|
3608
|
+
/** Resource tags. */
|
|
3609
|
+
tags?: {
|
|
3610
|
+
[propertyName: string]: string;
|
|
3611
|
+
};
|
|
3612
|
+
/** Properties of Cognitive Services RaiPolicy. */
|
|
3613
|
+
properties?: RaiPolicyProperties;
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
/** Azure OpenAI Content Filter. */
|
|
3617
|
+
export declare interface RaiPolicyContentFilter {
|
|
3618
|
+
/** Name of ContentFilter. */
|
|
3619
|
+
name?: string;
|
|
3620
|
+
/** If the ContentFilter is enabled. */
|
|
3621
|
+
enabled?: boolean;
|
|
3622
|
+
/** Level at which content is filtered. */
|
|
3623
|
+
severityThreshold?: ContentLevel;
|
|
3624
|
+
/** If blocking would occur. */
|
|
3625
|
+
blocking?: boolean;
|
|
3626
|
+
/** Content source to apply the Content Filters. */
|
|
3627
|
+
source?: RaiPolicyContentSource;
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3630
|
+
/**
|
|
3631
|
+
* Defines values for RaiPolicyContentSource. \
|
|
3632
|
+
* {@link KnownRaiPolicyContentSource} can be used interchangeably with RaiPolicyContentSource,
|
|
3633
|
+
* this enum contains the known values that the service supports.
|
|
3634
|
+
* ### Known values supported by the service
|
|
3635
|
+
* **Prompt** \
|
|
3636
|
+
* **Completion**
|
|
3637
|
+
*/
|
|
3638
|
+
export declare type RaiPolicyContentSource = string;
|
|
3639
|
+
|
|
3640
|
+
/** The list of cognitive services RaiPolicies. */
|
|
3641
|
+
export declare interface RaiPolicyListResult {
|
|
3642
|
+
/** The link used to get the next page of RaiPolicy. */
|
|
3643
|
+
nextLink?: string;
|
|
3644
|
+
/** The list of RaiPolicy. */
|
|
3645
|
+
value?: RaiPolicy[];
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
/**
|
|
3649
|
+
* Defines values for RaiPolicyMode. \
|
|
3650
|
+
* {@link KnownRaiPolicyMode} can be used interchangeably with RaiPolicyMode,
|
|
3651
|
+
* this enum contains the known values that the service supports.
|
|
3652
|
+
* ### Known values supported by the service
|
|
3653
|
+
* **Default** \
|
|
3654
|
+
* **Deferred** \
|
|
3655
|
+
* **Blocking** \
|
|
3656
|
+
* **Asynchronous_filter**
|
|
3657
|
+
*/
|
|
3658
|
+
export declare type RaiPolicyMode = string;
|
|
3659
|
+
|
|
3660
|
+
/** Azure OpenAI Content Filters properties. */
|
|
3661
|
+
export declare interface RaiPolicyProperties {
|
|
3662
|
+
/**
|
|
3663
|
+
* Content Filters policy type.
|
|
3664
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3665
|
+
*/
|
|
3666
|
+
readonly type?: RaiPolicyType;
|
|
3667
|
+
/** 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. */
|
|
3668
|
+
mode?: RaiPolicyMode;
|
|
3669
|
+
/** Name of Rai policy. */
|
|
3670
|
+
basePolicyName?: string;
|
|
3671
|
+
/** The list of Content Filters. */
|
|
3672
|
+
contentFilters?: RaiPolicyContentFilter[];
|
|
3673
|
+
/** The list of custom Blocklist. */
|
|
3674
|
+
customBlocklists?: CustomBlocklistConfig[];
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
/**
|
|
3678
|
+
* Defines values for RaiPolicyType. \
|
|
3679
|
+
* {@link KnownRaiPolicyType} can be used interchangeably with RaiPolicyType,
|
|
3680
|
+
* this enum contains the known values that the service supports.
|
|
3681
|
+
* ### Known values supported by the service
|
|
3682
|
+
* **UserManaged** \
|
|
3683
|
+
* **SystemManaged**
|
|
3684
|
+
*/
|
|
3685
|
+
export declare type RaiPolicyType = string;
|
|
3686
|
+
|
|
2297
3687
|
/** Regenerate key parameters. */
|
|
2298
3688
|
export declare interface RegenerateKeyParameters {
|
|
2299
3689
|
/** key name to generate (Key1|Key2) */
|
|
@@ -2481,6 +3871,16 @@ export declare interface SkuChangeInfo {
|
|
|
2481
3871
|
lastChangeDate?: string;
|
|
2482
3872
|
}
|
|
2483
3873
|
|
|
3874
|
+
/** Properties of Cognitive Services account resource sku resource properties. */
|
|
3875
|
+
export declare interface SkuResource {
|
|
3876
|
+
/** The resource type name. */
|
|
3877
|
+
resourceType?: string;
|
|
3878
|
+
/** The resource model definition representing SKU */
|
|
3879
|
+
sku?: Sku;
|
|
3880
|
+
/** The capacity configuration. */
|
|
3881
|
+
capacity?: CapacityConfig;
|
|
3882
|
+
}
|
|
3883
|
+
|
|
2484
3884
|
/**
|
|
2485
3885
|
* Defines values for SkuTier. \
|
|
2486
3886
|
* {@link KnownSkuTier} can be used interchangeably with SkuTier,
|
|
@@ -2600,6 +4000,14 @@ export declare interface UserAssignedIdentity {
|
|
|
2600
4000
|
readonly clientId?: string;
|
|
2601
4001
|
}
|
|
2602
4002
|
|
|
4003
|
+
/** The user owned AML workspace for Cognitive Services account. */
|
|
4004
|
+
export declare interface UserOwnedAmlWorkspace {
|
|
4005
|
+
/** Full resource id of a AML workspace resource. */
|
|
4006
|
+
resourceId?: string;
|
|
4007
|
+
/** Identity Client id of a AML workspace resource. */
|
|
4008
|
+
identityClientId?: string;
|
|
4009
|
+
}
|
|
4010
|
+
|
|
2603
4011
|
/** The user owned storage for Cognitive Services account. */
|
|
2604
4012
|
export declare interface UserOwnedStorage {
|
|
2605
4013
|
/** Full resource id of a Microsoft.Storage resource. */
|