@azure/arm-cognitiveservices 7.7.0-beta.1 → 8.0.0-alpha.20250926.1
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/README.md +1 -1
- package/dist/browser/cognitiveServicesManagementClient.d.ts +3 -3
- package/dist/browser/cognitiveServicesManagementClient.d.ts.map +1 -1
- package/dist/browser/cognitiveServicesManagementClient.js +49 -20
- package/dist/browser/cognitiveServicesManagementClient.js.map +1 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +4 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +9 -10
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +38 -35
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +2 -7
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +1 -1
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +297 -136
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +3 -3
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +9 -14
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/accountCapabilityHosts.d.ts +4 -4
- package/dist/browser/operations/accountCapabilityHosts.d.ts.map +1 -1
- package/dist/browser/operations/accountCapabilityHosts.js +32 -26
- package/dist/browser/operations/accountCapabilityHosts.js.map +1 -1
- package/dist/{esm/operations/accountConnection.d.ts → browser/operations/accountConnections.d.ts} +11 -11
- package/dist/browser/operations/accountConnections.d.ts.map +1 -0
- package/dist/{react-native/operations/accountConnection.js → browser/operations/accountConnections.js} +31 -53
- package/dist/browser/operations/accountConnections.js.map +1 -0
- package/dist/browser/operations/accounts.d.ts.map +1 -1
- package/dist/browser/operations/accounts.js +103 -144
- package/dist/browser/operations/accounts.js.map +1 -1
- package/dist/browser/operations/commitmentPlans.d.ts.map +1 -1
- package/dist/browser/operations/commitmentPlans.js +157 -200
- package/dist/browser/operations/commitmentPlans.js.map +1 -1
- package/dist/browser/operations/commitmentTiers.d.ts.map +1 -1
- package/dist/browser/operations/commitmentTiers.js +25 -47
- package/dist/browser/operations/commitmentTiers.js.map +1 -1
- package/dist/browser/operations/defenderForAISettings.d.ts.map +1 -1
- package/dist/browser/operations/defenderForAISettings.js +25 -47
- package/dist/browser/operations/defenderForAISettings.js.map +1 -1
- package/dist/browser/operations/deletedAccounts.d.ts.map +1 -1
- package/dist/browser/operations/deletedAccounts.js +36 -53
- package/dist/browser/operations/deletedAccounts.js.map +1 -1
- package/dist/browser/operations/deployments.d.ts.map +1 -1
- package/dist/browser/operations/deployments.js +80 -104
- package/dist/browser/operations/deployments.js.map +1 -1
- package/dist/browser/operations/encryptionScopes.d.ts.map +1 -1
- package/dist/browser/operations/encryptionScopes.js +36 -53
- package/dist/browser/operations/encryptionScopes.js.map +1 -1
- package/dist/browser/operations/index.d.ts +2 -2
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +6 -9
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/locationBasedModelCapacities.d.ts.map +1 -1
- package/dist/browser/operations/locationBasedModelCapacities.js +25 -47
- package/dist/browser/operations/locationBasedModelCapacities.js.map +1 -1
- package/dist/browser/operations/modelCapacities.d.ts.map +1 -1
- package/dist/browser/operations/modelCapacities.js +25 -47
- package/dist/browser/operations/modelCapacities.js.map +1 -1
- package/dist/browser/operations/models.d.ts.map +1 -1
- package/dist/browser/operations/models.js +25 -47
- package/dist/browser/operations/models.js.map +1 -1
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +36 -53
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +25 -47
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +25 -19
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +3 -7
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/projectCapabilityHosts.d.ts +4 -4
- package/dist/browser/operations/projectCapabilityHosts.d.ts.map +1 -1
- package/dist/browser/operations/projectCapabilityHosts.js +32 -26
- package/dist/browser/operations/projectCapabilityHosts.js.map +1 -1
- package/dist/browser/operations/{projectConnection.d.ts → projectConnections.d.ts} +11 -11
- package/dist/browser/operations/projectConnections.d.ts.map +1 -0
- package/dist/browser/operations/{projectConnection.js → projectConnections.js} +31 -53
- package/dist/browser/operations/projectConnections.js.map +1 -0
- package/dist/browser/operations/projects.d.ts.map +1 -1
- package/dist/browser/operations/projects.js +58 -65
- package/dist/browser/operations/projects.js.map +1 -1
- package/dist/browser/operations/raiBlocklistItems.d.ts.map +1 -1
- package/dist/browser/operations/raiBlocklistItems.js +36 -53
- package/dist/browser/operations/raiBlocklistItems.js.map +1 -1
- package/dist/browser/operations/raiBlocklists.d.ts.map +1 -1
- package/dist/browser/operations/raiBlocklists.js +36 -53
- package/dist/browser/operations/raiBlocklists.js.map +1 -1
- package/dist/browser/operations/raiContentFilters.d.ts.map +1 -1
- package/dist/browser/operations/raiContentFilters.js +25 -47
- package/dist/browser/operations/raiContentFilters.js.map +1 -1
- package/dist/browser/operations/raiPolicies.d.ts.map +1 -1
- package/dist/browser/operations/raiPolicies.js +36 -53
- package/dist/browser/operations/raiPolicies.js.map +1 -1
- package/dist/browser/operations/resourceSkus.d.ts.map +1 -1
- package/dist/browser/operations/resourceSkus.js +25 -47
- package/dist/browser/operations/resourceSkus.js.map +1 -1
- package/dist/browser/operations/usages.d.ts.map +1 -1
- package/dist/browser/operations/usages.js +25 -47
- package/dist/browser/operations/usages.js.map +1 -1
- package/dist/browser/operationsInterfaces/accountCapabilityHosts.d.ts +4 -4
- package/dist/browser/operationsInterfaces/accountCapabilityHosts.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/accountCapabilityHosts.js +2 -7
- package/dist/browser/operationsInterfaces/accountCapabilityHosts.js.map +1 -1
- package/dist/{esm/operationsInterfaces/accountConnection.d.ts → browser/operationsInterfaces/accountConnections.d.ts} +9 -9
- package/dist/browser/operationsInterfaces/accountConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accountConnections.js +4 -0
- package/dist/browser/operationsInterfaces/accountConnections.js.map +1 -0
- package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/accounts.js +2 -7
- package/dist/browser/operationsInterfaces/accounts.js.map +1 -1
- package/dist/browser/operationsInterfaces/commitmentPlans.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/commitmentPlans.js +2 -7
- package/dist/browser/operationsInterfaces/commitmentPlans.js.map +1 -1
- package/dist/browser/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/commitmentTiers.js +2 -7
- package/dist/browser/operationsInterfaces/commitmentTiers.js.map +1 -1
- package/dist/browser/operationsInterfaces/defenderForAISettings.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/defenderForAISettings.js +2 -7
- package/dist/browser/operationsInterfaces/defenderForAISettings.js.map +1 -1
- package/dist/browser/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/deletedAccounts.js +2 -7
- package/dist/browser/operationsInterfaces/deletedAccounts.js.map +1 -1
- package/dist/browser/operationsInterfaces/deployments.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/deployments.js +2 -7
- package/dist/browser/operationsInterfaces/deployments.js.map +1 -1
- package/dist/browser/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/encryptionScopes.js +2 -7
- package/dist/browser/operationsInterfaces/encryptionScopes.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +2 -2
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +6 -9
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/locationBasedModelCapacities.js +2 -7
- package/dist/browser/operationsInterfaces/locationBasedModelCapacities.js.map +1 -1
- package/dist/browser/operationsInterfaces/modelCapacities.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/modelCapacities.js +2 -7
- package/dist/browser/operationsInterfaces/modelCapacities.js.map +1 -1
- package/dist/browser/operationsInterfaces/models.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/models.js +2 -7
- package/dist/browser/operationsInterfaces/models.js.map +1 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js +2 -7
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js +2 -7
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/projectCapabilityHosts.d.ts +4 -4
- package/dist/browser/operationsInterfaces/projectCapabilityHosts.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/projectCapabilityHosts.js +2 -7
- package/dist/browser/operationsInterfaces/projectCapabilityHosts.js.map +1 -1
- package/dist/{esm/operationsInterfaces/projectConnection.d.ts → browser/operationsInterfaces/projectConnections.d.ts} +9 -9
- package/dist/browser/operationsInterfaces/projectConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/projectConnections.js +4 -0
- package/dist/browser/operationsInterfaces/projectConnections.js.map +1 -0
- package/dist/browser/operationsInterfaces/projects.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/projects.js +2 -7
- package/dist/browser/operationsInterfaces/projects.js.map +1 -1
- package/dist/browser/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/raiBlocklistItems.js +2 -7
- package/dist/browser/operationsInterfaces/raiBlocklistItems.js.map +1 -1
- package/dist/browser/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/raiBlocklists.js +2 -7
- package/dist/browser/operationsInterfaces/raiBlocklists.js.map +1 -1
- package/dist/browser/operationsInterfaces/raiContentFilters.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/raiContentFilters.js +2 -7
- package/dist/browser/operationsInterfaces/raiContentFilters.js.map +1 -1
- package/dist/browser/operationsInterfaces/raiPolicies.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/raiPolicies.js +2 -7
- package/dist/browser/operationsInterfaces/raiPolicies.js.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.js +2 -7
- package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/usages.js +2 -7
- package/dist/browser/operationsInterfaces/usages.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +4 -11
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/cognitiveServicesManagementClient.d.ts +3 -3
- package/dist/commonjs/cognitiveServicesManagementClient.d.ts.map +1 -1
- package/dist/commonjs/cognitiveServicesManagementClient.js +48 -19
- package/dist/commonjs/cognitiveServicesManagementClient.js.map +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +4 -7
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +9 -10
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +38 -35
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -7
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +1 -1
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +298 -137
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +3 -3
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +10 -15
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/accountCapabilityHosts.d.ts +4 -4
- package/dist/commonjs/operations/accountCapabilityHosts.d.ts.map +1 -1
- package/dist/commonjs/operations/accountCapabilityHosts.js +32 -26
- package/dist/commonjs/operations/accountCapabilityHosts.js.map +1 -1
- package/dist/{browser/operations/accountConnection.d.ts → commonjs/operations/accountConnections.d.ts} +11 -11
- package/dist/commonjs/operations/accountConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/{accountConnection.js → accountConnections.js} +33 -54
- package/dist/commonjs/operations/accountConnections.js.map +1 -0
- package/dist/commonjs/operations/accounts.d.ts.map +1 -1
- package/dist/commonjs/operations/accounts.js +103 -143
- package/dist/commonjs/operations/accounts.js.map +1 -1
- package/dist/commonjs/operations/commitmentPlans.d.ts.map +1 -1
- package/dist/commonjs/operations/commitmentPlans.js +157 -199
- package/dist/commonjs/operations/commitmentPlans.js.map +1 -1
- package/dist/commonjs/operations/commitmentTiers.d.ts.map +1 -1
- package/dist/commonjs/operations/commitmentTiers.js +25 -46
- package/dist/commonjs/operations/commitmentTiers.js.map +1 -1
- package/dist/commonjs/operations/defenderForAISettings.d.ts.map +1 -1
- package/dist/commonjs/operations/defenderForAISettings.js +25 -46
- package/dist/commonjs/operations/defenderForAISettings.js.map +1 -1
- package/dist/commonjs/operations/deletedAccounts.d.ts.map +1 -1
- package/dist/commonjs/operations/deletedAccounts.js +36 -52
- package/dist/commonjs/operations/deletedAccounts.js.map +1 -1
- package/dist/commonjs/operations/deployments.d.ts.map +1 -1
- package/dist/commonjs/operations/deployments.js +80 -103
- package/dist/commonjs/operations/deployments.js.map +1 -1
- package/dist/commonjs/operations/encryptionScopes.d.ts.map +1 -1
- package/dist/commonjs/operations/encryptionScopes.js +36 -52
- package/dist/commonjs/operations/encryptionScopes.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +2 -2
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +6 -9
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/locationBasedModelCapacities.d.ts.map +1 -1
- package/dist/commonjs/operations/locationBasedModelCapacities.js +25 -46
- package/dist/commonjs/operations/locationBasedModelCapacities.js.map +1 -1
- package/dist/commonjs/operations/modelCapacities.d.ts.map +1 -1
- package/dist/commonjs/operations/modelCapacities.js +25 -46
- package/dist/commonjs/operations/modelCapacities.js.map +1 -1
- package/dist/commonjs/operations/models.d.ts.map +1 -1
- package/dist/commonjs/operations/models.js +25 -46
- package/dist/commonjs/operations/models.js.map +1 -1
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +36 -52
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +25 -46
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +25 -19
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +3 -7
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/projectCapabilityHosts.d.ts +4 -4
- package/dist/commonjs/operations/projectCapabilityHosts.d.ts.map +1 -1
- package/dist/commonjs/operations/projectCapabilityHosts.js +32 -26
- package/dist/commonjs/operations/projectCapabilityHosts.js.map +1 -1
- package/dist/commonjs/operations/{projectConnection.d.ts → projectConnections.d.ts} +11 -11
- package/dist/commonjs/operations/projectConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/{projectConnection.js → projectConnections.js} +33 -54
- package/dist/commonjs/operations/projectConnections.js.map +1 -0
- package/dist/commonjs/operations/projects.d.ts.map +1 -1
- package/dist/commonjs/operations/projects.js +58 -64
- package/dist/commonjs/operations/projects.js.map +1 -1
- package/dist/commonjs/operations/raiBlocklistItems.d.ts.map +1 -1
- package/dist/commonjs/operations/raiBlocklistItems.js +36 -52
- package/dist/commonjs/operations/raiBlocklistItems.js.map +1 -1
- package/dist/commonjs/operations/raiBlocklists.d.ts.map +1 -1
- package/dist/commonjs/operations/raiBlocklists.js +36 -52
- package/dist/commonjs/operations/raiBlocklists.js.map +1 -1
- package/dist/commonjs/operations/raiContentFilters.d.ts.map +1 -1
- package/dist/commonjs/operations/raiContentFilters.js +25 -46
- package/dist/commonjs/operations/raiContentFilters.js.map +1 -1
- package/dist/commonjs/operations/raiPolicies.d.ts.map +1 -1
- package/dist/commonjs/operations/raiPolicies.js +36 -52
- package/dist/commonjs/operations/raiPolicies.js.map +1 -1
- package/dist/commonjs/operations/resourceSkus.d.ts.map +1 -1
- package/dist/commonjs/operations/resourceSkus.js +25 -46
- package/dist/commonjs/operations/resourceSkus.js.map +1 -1
- package/dist/commonjs/operations/usages.d.ts.map +1 -1
- package/dist/commonjs/operations/usages.js +25 -46
- package/dist/commonjs/operations/usages.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/accountCapabilityHosts.d.ts +4 -4
- package/dist/commonjs/operationsInterfaces/accountCapabilityHosts.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/accountCapabilityHosts.js +2 -7
- package/dist/commonjs/operationsInterfaces/accountCapabilityHosts.js.map +1 -1
- package/dist/{react-native/operationsInterfaces/accountConnection.d.ts → commonjs/operationsInterfaces/accountConnections.d.ts} +9 -9
- package/dist/commonjs/operationsInterfaces/accountConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/accountConnections.js +5 -0
- package/dist/commonjs/operationsInterfaces/accountConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/accounts.js +2 -7
- package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/commitmentPlans.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/commitmentPlans.js +2 -7
- package/dist/commonjs/operationsInterfaces/commitmentPlans.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/commitmentTiers.js +2 -7
- package/dist/commonjs/operationsInterfaces/commitmentTiers.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/defenderForAISettings.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/defenderForAISettings.js +2 -7
- package/dist/commonjs/operationsInterfaces/defenderForAISettings.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/deletedAccounts.js +2 -7
- package/dist/commonjs/operationsInterfaces/deletedAccounts.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/deployments.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/deployments.js +2 -7
- package/dist/commonjs/operationsInterfaces/deployments.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/encryptionScopes.js +2 -7
- package/dist/commonjs/operationsInterfaces/encryptionScopes.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +6 -9
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/locationBasedModelCapacities.js +2 -7
- package/dist/commonjs/operationsInterfaces/locationBasedModelCapacities.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/modelCapacities.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/modelCapacities.js +2 -7
- package/dist/commonjs/operationsInterfaces/modelCapacities.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/models.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/models.js +2 -7
- package/dist/commonjs/operationsInterfaces/models.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +2 -7
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +2 -7
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/projectCapabilityHosts.d.ts +4 -4
- package/dist/commonjs/operationsInterfaces/projectCapabilityHosts.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/projectCapabilityHosts.js +2 -7
- package/dist/commonjs/operationsInterfaces/projectCapabilityHosts.js.map +1 -1
- package/dist/{react-native/operationsInterfaces/projectConnection.d.ts → commonjs/operationsInterfaces/projectConnections.d.ts} +9 -9
- package/dist/commonjs/operationsInterfaces/projectConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/projectConnections.js +5 -0
- package/dist/commonjs/operationsInterfaces/projectConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/projects.js +2 -7
- package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiBlocklistItems.js +2 -7
- package/dist/commonjs/operationsInterfaces/raiBlocklistItems.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiBlocklists.js +2 -7
- package/dist/commonjs/operationsInterfaces/raiBlocklists.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiContentFilters.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiContentFilters.js +2 -7
- package/dist/commonjs/operationsInterfaces/raiContentFilters.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiPolicies.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiPolicies.js +2 -7
- package/dist/commonjs/operationsInterfaces/raiPolicies.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.js +2 -7
- package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.js +2 -7
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +4 -11
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/cognitiveServicesManagementClient.d.ts +3 -3
- package/dist/esm/cognitiveServicesManagementClient.d.ts.map +1 -1
- package/dist/esm/cognitiveServicesManagementClient.js +49 -20
- package/dist/esm/cognitiveServicesManagementClient.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +9 -10
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +38 -35
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -7
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +1 -1
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +297 -136
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +3 -3
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +9 -14
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/accountCapabilityHosts.d.ts +4 -4
- package/dist/esm/operations/accountCapabilityHosts.d.ts.map +1 -1
- package/dist/esm/operations/accountCapabilityHosts.js +32 -26
- package/dist/esm/operations/accountCapabilityHosts.js.map +1 -1
- package/dist/{react-native/operations/accountConnection.d.ts → esm/operations/accountConnections.d.ts} +11 -11
- package/dist/esm/operations/accountConnections.d.ts.map +1 -0
- package/dist/esm/operations/{accountConnection.js → accountConnections.js} +31 -53
- package/dist/esm/operations/accountConnections.js.map +1 -0
- package/dist/esm/operations/accounts.d.ts.map +1 -1
- package/dist/esm/operations/accounts.js +103 -144
- package/dist/esm/operations/accounts.js.map +1 -1
- package/dist/esm/operations/commitmentPlans.d.ts.map +1 -1
- package/dist/esm/operations/commitmentPlans.js +157 -200
- package/dist/esm/operations/commitmentPlans.js.map +1 -1
- package/dist/esm/operations/commitmentTiers.d.ts.map +1 -1
- package/dist/esm/operations/commitmentTiers.js +25 -47
- package/dist/esm/operations/commitmentTiers.js.map +1 -1
- package/dist/esm/operations/defenderForAISettings.d.ts.map +1 -1
- package/dist/esm/operations/defenderForAISettings.js +25 -47
- package/dist/esm/operations/defenderForAISettings.js.map +1 -1
- package/dist/esm/operations/deletedAccounts.d.ts.map +1 -1
- package/dist/esm/operations/deletedAccounts.js +36 -53
- package/dist/esm/operations/deletedAccounts.js.map +1 -1
- package/dist/esm/operations/deployments.d.ts.map +1 -1
- package/dist/esm/operations/deployments.js +80 -104
- package/dist/esm/operations/deployments.js.map +1 -1
- package/dist/esm/operations/encryptionScopes.d.ts.map +1 -1
- package/dist/esm/operations/encryptionScopes.js +36 -53
- package/dist/esm/operations/encryptionScopes.js.map +1 -1
- package/dist/esm/operations/index.d.ts +2 -2
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +6 -9
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/locationBasedModelCapacities.d.ts.map +1 -1
- package/dist/esm/operations/locationBasedModelCapacities.js +25 -47
- package/dist/esm/operations/locationBasedModelCapacities.js.map +1 -1
- package/dist/esm/operations/modelCapacities.d.ts.map +1 -1
- package/dist/esm/operations/modelCapacities.js +25 -47
- package/dist/esm/operations/modelCapacities.js.map +1 -1
- package/dist/esm/operations/models.d.ts.map +1 -1
- package/dist/esm/operations/models.js +25 -47
- package/dist/esm/operations/models.js.map +1 -1
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +36 -53
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +25 -47
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +25 -19
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +3 -7
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/projectCapabilityHosts.d.ts +4 -4
- package/dist/esm/operations/projectCapabilityHosts.d.ts.map +1 -1
- package/dist/esm/operations/projectCapabilityHosts.js +32 -26
- package/dist/esm/operations/projectCapabilityHosts.js.map +1 -1
- package/dist/esm/operations/{projectConnection.d.ts → projectConnections.d.ts} +11 -11
- package/dist/esm/operations/projectConnections.d.ts.map +1 -0
- package/dist/esm/operations/{projectConnection.js → projectConnections.js} +31 -53
- package/dist/esm/operations/projectConnections.js.map +1 -0
- package/dist/esm/operations/projects.d.ts.map +1 -1
- package/dist/esm/operations/projects.js +58 -65
- package/dist/esm/operations/projects.js.map +1 -1
- package/dist/esm/operations/raiBlocklistItems.d.ts.map +1 -1
- package/dist/esm/operations/raiBlocklistItems.js +36 -53
- package/dist/esm/operations/raiBlocklistItems.js.map +1 -1
- package/dist/esm/operations/raiBlocklists.d.ts.map +1 -1
- package/dist/esm/operations/raiBlocklists.js +36 -53
- package/dist/esm/operations/raiBlocklists.js.map +1 -1
- package/dist/esm/operations/raiContentFilters.d.ts.map +1 -1
- package/dist/esm/operations/raiContentFilters.js +25 -47
- package/dist/esm/operations/raiContentFilters.js.map +1 -1
- package/dist/esm/operations/raiPolicies.d.ts.map +1 -1
- package/dist/esm/operations/raiPolicies.js +36 -53
- package/dist/esm/operations/raiPolicies.js.map +1 -1
- package/dist/esm/operations/resourceSkus.d.ts.map +1 -1
- package/dist/esm/operations/resourceSkus.js +25 -47
- package/dist/esm/operations/resourceSkus.js.map +1 -1
- package/dist/esm/operations/usages.d.ts.map +1 -1
- package/dist/esm/operations/usages.js +25 -47
- package/dist/esm/operations/usages.js.map +1 -1
- package/dist/esm/operationsInterfaces/accountCapabilityHosts.d.ts +4 -4
- package/dist/esm/operationsInterfaces/accountCapabilityHosts.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/accountCapabilityHosts.js +2 -7
- package/dist/esm/operationsInterfaces/accountCapabilityHosts.js.map +1 -1
- package/dist/{browser/operationsInterfaces/accountConnection.d.ts → esm/operationsInterfaces/accountConnections.d.ts} +9 -9
- package/dist/esm/operationsInterfaces/accountConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/accountConnections.js +4 -0
- package/dist/esm/operationsInterfaces/accountConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/accounts.js +2 -7
- package/dist/esm/operationsInterfaces/accounts.js.map +1 -1
- package/dist/esm/operationsInterfaces/commitmentPlans.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/commitmentPlans.js +2 -7
- package/dist/esm/operationsInterfaces/commitmentPlans.js.map +1 -1
- package/dist/esm/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/commitmentTiers.js +2 -7
- package/dist/esm/operationsInterfaces/commitmentTiers.js.map +1 -1
- package/dist/esm/operationsInterfaces/defenderForAISettings.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/defenderForAISettings.js +2 -7
- package/dist/esm/operationsInterfaces/defenderForAISettings.js.map +1 -1
- package/dist/esm/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/deletedAccounts.js +2 -7
- package/dist/esm/operationsInterfaces/deletedAccounts.js.map +1 -1
- package/dist/esm/operationsInterfaces/deployments.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/deployments.js +2 -7
- package/dist/esm/operationsInterfaces/deployments.js.map +1 -1
- package/dist/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/encryptionScopes.js +2 -7
- package/dist/esm/operationsInterfaces/encryptionScopes.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +2 -2
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +6 -9
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/locationBasedModelCapacities.js +2 -7
- package/dist/esm/operationsInterfaces/locationBasedModelCapacities.js.map +1 -1
- package/dist/esm/operationsInterfaces/modelCapacities.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/modelCapacities.js +2 -7
- package/dist/esm/operationsInterfaces/modelCapacities.js.map +1 -1
- package/dist/esm/operationsInterfaces/models.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/models.js +2 -7
- package/dist/esm/operationsInterfaces/models.js.map +1 -1
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +2 -7
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js +2 -7
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/projectCapabilityHosts.d.ts +4 -4
- package/dist/esm/operationsInterfaces/projectCapabilityHosts.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/projectCapabilityHosts.js +2 -7
- package/dist/esm/operationsInterfaces/projectCapabilityHosts.js.map +1 -1
- package/dist/{commonjs/operationsInterfaces/projectConnection.d.ts → esm/operationsInterfaces/projectConnections.d.ts} +9 -9
- package/dist/esm/operationsInterfaces/projectConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/projectConnections.js +4 -0
- package/dist/esm/operationsInterfaces/projectConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/projects.js +2 -7
- package/dist/esm/operationsInterfaces/projects.js.map +1 -1
- package/dist/esm/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/raiBlocklistItems.js +2 -7
- package/dist/esm/operationsInterfaces/raiBlocklistItems.js.map +1 -1
- package/dist/esm/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/raiBlocklists.js +2 -7
- package/dist/esm/operationsInterfaces/raiBlocklists.js.map +1 -1
- package/dist/esm/operationsInterfaces/raiContentFilters.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/raiContentFilters.js +2 -7
- package/dist/esm/operationsInterfaces/raiContentFilters.js.map +1 -1
- package/dist/esm/operationsInterfaces/raiPolicies.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/raiPolicies.js +2 -7
- package/dist/esm/operationsInterfaces/raiPolicies.js.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.js +2 -7
- package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/usages.js +2 -7
- package/dist/esm/operationsInterfaces/usages.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +4 -11
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/cognitiveServicesManagementClient.d.ts +3 -3
- package/dist/react-native/cognitiveServicesManagementClient.d.ts.map +1 -1
- package/dist/react-native/cognitiveServicesManagementClient.js +49 -20
- package/dist/react-native/cognitiveServicesManagementClient.js.map +1 -1
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +4 -7
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +9 -10
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +38 -35
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +2 -7
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +1 -1
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +297 -136
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +3 -3
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +9 -14
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/accountCapabilityHosts.d.ts +4 -4
- package/dist/react-native/operations/accountCapabilityHosts.d.ts.map +1 -1
- package/dist/react-native/operations/accountCapabilityHosts.js +32 -26
- package/dist/react-native/operations/accountCapabilityHosts.js.map +1 -1
- package/dist/{commonjs/operations/accountConnection.d.ts → react-native/operations/accountConnections.d.ts} +11 -11
- package/dist/react-native/operations/accountConnections.d.ts.map +1 -0
- package/dist/{browser/operations/accountConnection.js → react-native/operations/accountConnections.js} +31 -53
- package/dist/react-native/operations/accountConnections.js.map +1 -0
- package/dist/react-native/operations/accounts.d.ts.map +1 -1
- package/dist/react-native/operations/accounts.js +103 -144
- package/dist/react-native/operations/accounts.js.map +1 -1
- package/dist/react-native/operations/commitmentPlans.d.ts.map +1 -1
- package/dist/react-native/operations/commitmentPlans.js +157 -200
- package/dist/react-native/operations/commitmentPlans.js.map +1 -1
- package/dist/react-native/operations/commitmentTiers.d.ts.map +1 -1
- package/dist/react-native/operations/commitmentTiers.js +25 -47
- package/dist/react-native/operations/commitmentTiers.js.map +1 -1
- package/dist/react-native/operations/defenderForAISettings.d.ts.map +1 -1
- package/dist/react-native/operations/defenderForAISettings.js +25 -47
- package/dist/react-native/operations/defenderForAISettings.js.map +1 -1
- package/dist/react-native/operations/deletedAccounts.d.ts.map +1 -1
- package/dist/react-native/operations/deletedAccounts.js +36 -53
- package/dist/react-native/operations/deletedAccounts.js.map +1 -1
- package/dist/react-native/operations/deployments.d.ts.map +1 -1
- package/dist/react-native/operations/deployments.js +80 -104
- package/dist/react-native/operations/deployments.js.map +1 -1
- package/dist/react-native/operations/encryptionScopes.d.ts.map +1 -1
- package/dist/react-native/operations/encryptionScopes.js +36 -53
- package/dist/react-native/operations/encryptionScopes.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +2 -2
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +6 -9
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/locationBasedModelCapacities.d.ts.map +1 -1
- package/dist/react-native/operations/locationBasedModelCapacities.js +25 -47
- package/dist/react-native/operations/locationBasedModelCapacities.js.map +1 -1
- package/dist/react-native/operations/modelCapacities.d.ts.map +1 -1
- package/dist/react-native/operations/modelCapacities.js +25 -47
- package/dist/react-native/operations/modelCapacities.js.map +1 -1
- package/dist/react-native/operations/models.d.ts.map +1 -1
- package/dist/react-native/operations/models.js +25 -47
- package/dist/react-native/operations/models.js.map +1 -1
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +36 -53
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +25 -47
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +25 -19
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +3 -7
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/projectCapabilityHosts.d.ts +4 -4
- package/dist/react-native/operations/projectCapabilityHosts.d.ts.map +1 -1
- package/dist/react-native/operations/projectCapabilityHosts.js +32 -26
- package/dist/react-native/operations/projectCapabilityHosts.js.map +1 -1
- package/dist/react-native/operations/{projectConnection.d.ts → projectConnections.d.ts} +11 -11
- package/dist/react-native/operations/projectConnections.d.ts.map +1 -0
- package/dist/react-native/operations/{projectConnection.js → projectConnections.js} +31 -53
- package/dist/react-native/operations/projectConnections.js.map +1 -0
- package/dist/react-native/operations/projects.d.ts.map +1 -1
- package/dist/react-native/operations/projects.js +58 -65
- package/dist/react-native/operations/projects.js.map +1 -1
- package/dist/react-native/operations/raiBlocklistItems.d.ts.map +1 -1
- package/dist/react-native/operations/raiBlocklistItems.js +36 -53
- package/dist/react-native/operations/raiBlocklistItems.js.map +1 -1
- package/dist/react-native/operations/raiBlocklists.d.ts.map +1 -1
- package/dist/react-native/operations/raiBlocklists.js +36 -53
- package/dist/react-native/operations/raiBlocklists.js.map +1 -1
- package/dist/react-native/operations/raiContentFilters.d.ts.map +1 -1
- package/dist/react-native/operations/raiContentFilters.js +25 -47
- package/dist/react-native/operations/raiContentFilters.js.map +1 -1
- package/dist/react-native/operations/raiPolicies.d.ts.map +1 -1
- package/dist/react-native/operations/raiPolicies.js +36 -53
- package/dist/react-native/operations/raiPolicies.js.map +1 -1
- package/dist/react-native/operations/resourceSkus.d.ts.map +1 -1
- package/dist/react-native/operations/resourceSkus.js +25 -47
- package/dist/react-native/operations/resourceSkus.js.map +1 -1
- package/dist/react-native/operations/usages.d.ts.map +1 -1
- package/dist/react-native/operations/usages.js +25 -47
- package/dist/react-native/operations/usages.js.map +1 -1
- package/dist/react-native/operationsInterfaces/accountCapabilityHosts.d.ts +4 -4
- package/dist/react-native/operationsInterfaces/accountCapabilityHosts.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/accountCapabilityHosts.js +2 -7
- package/dist/react-native/operationsInterfaces/accountCapabilityHosts.js.map +1 -1
- package/dist/{commonjs/operationsInterfaces/accountConnection.d.ts → react-native/operationsInterfaces/accountConnections.d.ts} +9 -9
- package/dist/react-native/operationsInterfaces/accountConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/accountConnections.js +4 -0
- package/dist/react-native/operationsInterfaces/accountConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/accounts.js +2 -7
- package/dist/react-native/operationsInterfaces/accounts.js.map +1 -1
- package/dist/react-native/operationsInterfaces/commitmentPlans.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/commitmentPlans.js +2 -7
- package/dist/react-native/operationsInterfaces/commitmentPlans.js.map +1 -1
- package/dist/react-native/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/commitmentTiers.js +2 -7
- package/dist/react-native/operationsInterfaces/commitmentTiers.js.map +1 -1
- package/dist/react-native/operationsInterfaces/defenderForAISettings.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/defenderForAISettings.js +2 -7
- package/dist/react-native/operationsInterfaces/defenderForAISettings.js.map +1 -1
- package/dist/react-native/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/deletedAccounts.js +2 -7
- package/dist/react-native/operationsInterfaces/deletedAccounts.js.map +1 -1
- package/dist/react-native/operationsInterfaces/deployments.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/deployments.js +2 -7
- package/dist/react-native/operationsInterfaces/deployments.js.map +1 -1
- package/dist/react-native/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/encryptionScopes.js +2 -7
- package/dist/react-native/operationsInterfaces/encryptionScopes.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +6 -9
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/locationBasedModelCapacities.js +2 -7
- package/dist/react-native/operationsInterfaces/locationBasedModelCapacities.js.map +1 -1
- package/dist/react-native/operationsInterfaces/modelCapacities.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/modelCapacities.js +2 -7
- package/dist/react-native/operationsInterfaces/modelCapacities.js.map +1 -1
- package/dist/react-native/operationsInterfaces/models.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/models.js +2 -7
- package/dist/react-native/operationsInterfaces/models.js.map +1 -1
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +2 -7
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js +2 -7
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/projectCapabilityHosts.d.ts +4 -4
- package/dist/react-native/operationsInterfaces/projectCapabilityHosts.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/projectCapabilityHosts.js +2 -7
- package/dist/react-native/operationsInterfaces/projectCapabilityHosts.js.map +1 -1
- package/dist/{browser/operationsInterfaces/projectConnection.d.ts → react-native/operationsInterfaces/projectConnections.d.ts} +9 -9
- package/dist/react-native/operationsInterfaces/projectConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/projectConnections.js +4 -0
- package/dist/react-native/operationsInterfaces/projectConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/projects.js +2 -7
- package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
- package/dist/react-native/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/raiBlocklistItems.js +2 -7
- package/dist/react-native/operationsInterfaces/raiBlocklistItems.js.map +1 -1
- package/dist/react-native/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/raiBlocklists.js +2 -7
- package/dist/react-native/operationsInterfaces/raiBlocklists.js.map +1 -1
- package/dist/react-native/operationsInterfaces/raiContentFilters.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/raiContentFilters.js +2 -7
- package/dist/react-native/operationsInterfaces/raiContentFilters.js.map +1 -1
- package/dist/react-native/operationsInterfaces/raiPolicies.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/raiPolicies.js +2 -7
- package/dist/react-native/operationsInterfaces/raiPolicies.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.js +2 -7
- package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.js +2 -7
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +4 -11
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +29 -32
- package/CHANGELOG.md +0 -477
- package/dist/browser/operations/accountConnection.d.ts.map +0 -1
- package/dist/browser/operations/accountConnection.js.map +0 -1
- package/dist/browser/operations/projectConnection.d.ts.map +0 -1
- package/dist/browser/operations/projectConnection.js.map +0 -1
- package/dist/browser/operationsInterfaces/accountConnection.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/accountConnection.js +0 -9
- package/dist/browser/operationsInterfaces/accountConnection.js.map +0 -1
- package/dist/browser/operationsInterfaces/projectConnection.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/projectConnection.js +0 -9
- package/dist/browser/operationsInterfaces/projectConnection.js.map +0 -1
- package/dist/commonjs/operations/accountConnection.d.ts.map +0 -1
- package/dist/commonjs/operations/accountConnection.js.map +0 -1
- package/dist/commonjs/operations/projectConnection.d.ts.map +0 -1
- package/dist/commonjs/operations/projectConnection.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/accountConnection.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/accountConnection.js +0 -10
- package/dist/commonjs/operationsInterfaces/accountConnection.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/projectConnection.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/projectConnection.js +0 -10
- package/dist/commonjs/operationsInterfaces/projectConnection.js.map +0 -1
- package/dist/esm/operations/accountConnection.d.ts.map +0 -1
- package/dist/esm/operations/accountConnection.js.map +0 -1
- package/dist/esm/operations/projectConnection.d.ts.map +0 -1
- package/dist/esm/operations/projectConnection.js.map +0 -1
- package/dist/esm/operationsInterfaces/accountConnection.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/accountConnection.js +0 -9
- package/dist/esm/operationsInterfaces/accountConnection.js.map +0 -1
- package/dist/esm/operationsInterfaces/projectConnection.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/projectConnection.js +0 -9
- package/dist/esm/operationsInterfaces/projectConnection.js.map +0 -1
- package/dist/react-native/operations/accountConnection.d.ts.map +0 -1
- package/dist/react-native/operations/accountConnection.js.map +0 -1
- package/dist/react-native/operations/projectConnection.d.ts.map +0 -1
- package/dist/react-native/operations/projectConnection.js.map +0 -1
- package/dist/react-native/operationsInterfaces/accountConnection.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/accountConnection.js +0 -9
- package/dist/react-native/operationsInterfaces/accountConnection.js.map +0 -1
- package/dist/react-native/operationsInterfaces/projectConnection.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/projectConnection.js +0 -9
- package/dist/react-native/operationsInterfaces/projectConnection.js.map +0 -1
- package/review/arm-cognitiveservices.api.md +0 -3079
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Cognitive Services Management Client
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/arm-cognitiveservices) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-cognitiveservices) |
|
|
9
|
-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-cognitiveservices
|
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-cognitiveservices) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Accounts, DeletedAccounts, ResourceSkus, Usages, Operations, CommitmentTiers, Models, LocationBasedModelCapacities, ModelCapacities, PrivateEndpointConnections, PrivateLinkResources, Deployments, CommitmentPlans, EncryptionScopes, RaiPolicies, RaiBlocklists, RaiBlocklistItems, RaiContentFilters, NetworkSecurityPerimeterConfigurations, DefenderForAISettings, Projects,
|
|
3
|
+
import { Accounts, DeletedAccounts, ResourceSkus, Usages, Operations, CommitmentTiers, Models, LocationBasedModelCapacities, ModelCapacities, PrivateEndpointConnections, PrivateLinkResources, Deployments, CommitmentPlans, EncryptionScopes, RaiPolicies, RaiBlocklists, RaiBlocklistItems, RaiContentFilters, NetworkSecurityPerimeterConfigurations, DefenderForAISettings, Projects, AccountConnections, ProjectConnections, AccountCapabilityHosts, ProjectCapabilityHosts } from "./operationsInterfaces/index.js";
|
|
4
4
|
import { CognitiveServicesManagementClientOptionalParams, CheckSkuAvailabilityOptionalParams, CheckSkuAvailabilityResponse, CheckDomainAvailabilityOptionalParams, CheckDomainAvailabilityResponse, CalculateModelCapacityOptionalParams, CalculateModelCapacityResponse } from "./models/index.js";
|
|
5
5
|
export declare class CognitiveServicesManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
@@ -57,8 +57,8 @@ export declare class CognitiveServicesManagementClient extends coreClient.Servic
|
|
|
57
57
|
networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;
|
|
58
58
|
defenderForAISettings: DefenderForAISettings;
|
|
59
59
|
projects: Projects;
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
accountConnections: AccountConnections;
|
|
61
|
+
projectConnections: ProjectConnections;
|
|
62
62
|
accountCapabilityHosts: AccountCapabilityHosts;
|
|
63
63
|
projectCapabilityHosts: ProjectCapabilityHosts;
|
|
64
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cognitiveServicesManagementClient.d.ts","sourceRoot":"","sources":["../../src/cognitiveServicesManagementClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cognitiveServicesManagementClient.d.ts","sourceRoot":"","sources":["../../src/cognitiveServicesManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,C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,8BAA8B,CAAC;IAI1C,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,eAAe,CAAC;IACjC,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,eAAe,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,eAAe,EAAE,eAAe,CAAC;IACjC,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,WAAW,EAAE,WAAW,CAAC;IACzB,eAAe,EAAE,eAAe,CAAC;IACjC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,sCAAsC,EAAE,sCAAsC,CAAC;IAC/E,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC;IACnB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,sBAAsB,EAAE,sBAAsB,CAAC;CAChD"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
// Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4
|
+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
5
|
import * as coreClient from "@azure/core-client";
|
|
9
6
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import { AccountsImpl, DeletedAccountsImpl, ResourceSkusImpl, UsagesImpl, OperationsImpl, CommitmentTiersImpl, ModelsImpl, LocationBasedModelCapacitiesImpl, ModelCapacitiesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, DeploymentsImpl, CommitmentPlansImpl, EncryptionScopesImpl, RaiPoliciesImpl, RaiBlocklistsImpl, RaiBlocklistItemsImpl, RaiContentFiltersImpl, NetworkSecurityPerimeterConfigurationsImpl, DefenderForAISettingsImpl, ProjectsImpl,
|
|
7
|
+
import { AccountsImpl, DeletedAccountsImpl, ResourceSkusImpl, UsagesImpl, OperationsImpl, CommitmentTiersImpl, ModelsImpl, LocationBasedModelCapacitiesImpl, ModelCapacitiesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, DeploymentsImpl, CommitmentPlansImpl, EncryptionScopesImpl, RaiPoliciesImpl, RaiBlocklistsImpl, RaiBlocklistItemsImpl, RaiContentFiltersImpl, NetworkSecurityPerimeterConfigurationsImpl, DefenderForAISettingsImpl, ProjectsImpl, AccountConnectionsImpl, ProjectConnectionsImpl, AccountCapabilityHostsImpl, ProjectCapabilityHostsImpl, } from "./operations/index.js";
|
|
11
8
|
import * as Parameters from "./models/parameters.js";
|
|
12
9
|
import * as Mappers from "./models/mappers.js";
|
|
13
10
|
export class CognitiveServicesManagementClient extends coreClient.ServiceClient {
|
|
11
|
+
$host;
|
|
12
|
+
apiVersion;
|
|
13
|
+
subscriptionId;
|
|
14
14
|
/**
|
|
15
15
|
* Initializes a new instance of the CognitiveServicesManagementClient class.
|
|
16
16
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -18,7 +18,6 @@ export class CognitiveServicesManagementClient extends coreClient.ServiceClient
|
|
|
18
18
|
* @param options The parameter options
|
|
19
19
|
*/
|
|
20
20
|
constructor(credentials, subscriptionId, options) {
|
|
21
|
-
var _a, _b, _c;
|
|
22
21
|
if (credentials === undefined) {
|
|
23
22
|
throw new Error("'credentials' cannot be null");
|
|
24
23
|
}
|
|
@@ -33,16 +32,21 @@ export class CognitiveServicesManagementClient extends coreClient.ServiceClient
|
|
|
33
32
|
requestContentType: "application/json; charset=utf-8",
|
|
34
33
|
credential: credentials,
|
|
35
34
|
};
|
|
36
|
-
const packageDetails = `azsdk-js-arm-cognitiveservices/
|
|
35
|
+
const packageDetails = `azsdk-js-arm-cognitiveservices/8.0.0`;
|
|
37
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
38
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
39
38
|
: `${packageDetails}`;
|
|
40
|
-
const optionsWithDefaults =
|
|
39
|
+
const optionsWithDefaults = {
|
|
40
|
+
...defaults,
|
|
41
|
+
...options,
|
|
42
|
+
userAgentOptions: {
|
|
41
43
|
userAgentPrefix,
|
|
42
|
-
},
|
|
44
|
+
},
|
|
45
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
46
|
+
};
|
|
43
47
|
super(optionsWithDefaults);
|
|
44
48
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
45
|
-
if (
|
|
49
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
46
50
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
47
51
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
48
52
|
}
|
|
@@ -55,7 +59,7 @@ export class CognitiveServicesManagementClient extends coreClient.ServiceClient
|
|
|
55
59
|
});
|
|
56
60
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
57
61
|
credential: credentials,
|
|
58
|
-
scopes:
|
|
62
|
+
scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
|
|
59
63
|
challengeCallbacks: {
|
|
60
64
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
61
65
|
},
|
|
@@ -65,7 +69,7 @@ export class CognitiveServicesManagementClient extends coreClient.ServiceClient
|
|
|
65
69
|
this.subscriptionId = subscriptionId;
|
|
66
70
|
// Assigning values to Constant parameters
|
|
67
71
|
this.$host = options.$host || "https://management.azure.com";
|
|
68
|
-
this.apiVersion = options.apiVersion || "2025-
|
|
72
|
+
this.apiVersion = options.apiVersion || "2025-06-01";
|
|
69
73
|
this.accounts = new AccountsImpl(this);
|
|
70
74
|
this.deletedAccounts = new DeletedAccountsImpl(this);
|
|
71
75
|
this.resourceSkus = new ResourceSkusImpl(this);
|
|
@@ -87,8 +91,8 @@ export class CognitiveServicesManagementClient extends coreClient.ServiceClient
|
|
|
87
91
|
this.networkSecurityPerimeterConfigurations = new NetworkSecurityPerimeterConfigurationsImpl(this);
|
|
88
92
|
this.defenderForAISettings = new DefenderForAISettingsImpl(this);
|
|
89
93
|
this.projects = new ProjectsImpl(this);
|
|
90
|
-
this.
|
|
91
|
-
this.
|
|
94
|
+
this.accountConnections = new AccountConnectionsImpl(this);
|
|
95
|
+
this.projectConnections = new ProjectConnectionsImpl(this);
|
|
92
96
|
this.accountCapabilityHosts = new AccountCapabilityHostsImpl(this);
|
|
93
97
|
this.projectCapabilityHosts = new ProjectCapabilityHostsImpl(this);
|
|
94
98
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
@@ -145,6 +149,31 @@ export class CognitiveServicesManagementClient extends coreClient.ServiceClient
|
|
|
145
149
|
calculateModelCapacity(options) {
|
|
146
150
|
return this.sendOperationRequest({ options }, calculateModelCapacityOperationSpec);
|
|
147
151
|
}
|
|
152
|
+
accounts;
|
|
153
|
+
deletedAccounts;
|
|
154
|
+
resourceSkus;
|
|
155
|
+
usages;
|
|
156
|
+
operations;
|
|
157
|
+
commitmentTiers;
|
|
158
|
+
models;
|
|
159
|
+
locationBasedModelCapacities;
|
|
160
|
+
modelCapacities;
|
|
161
|
+
privateEndpointConnections;
|
|
162
|
+
privateLinkResources;
|
|
163
|
+
deployments;
|
|
164
|
+
commitmentPlans;
|
|
165
|
+
encryptionScopes;
|
|
166
|
+
raiPolicies;
|
|
167
|
+
raiBlocklists;
|
|
168
|
+
raiBlocklistItems;
|
|
169
|
+
raiContentFilters;
|
|
170
|
+
networkSecurityPerimeterConfigurations;
|
|
171
|
+
defenderForAISettings;
|
|
172
|
+
projects;
|
|
173
|
+
accountConnections;
|
|
174
|
+
projectConnections;
|
|
175
|
+
accountCapabilityHosts;
|
|
176
|
+
projectCapabilityHosts;
|
|
148
177
|
}
|
|
149
178
|
// Operation Specifications
|
|
150
179
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -161,7 +190,7 @@ const checkSkuAvailabilityOperationSpec = {
|
|
|
161
190
|
},
|
|
162
191
|
requestBody: {
|
|
163
192
|
parameterPath: { skus: ["skus"], kind: ["kind"], typeParam: ["typeParam"] },
|
|
164
|
-
mapper:
|
|
193
|
+
mapper: { ...Mappers.CheckSkuAvailabilityParameter, required: true },
|
|
165
194
|
},
|
|
166
195
|
queryParameters: [Parameters.apiVersion],
|
|
167
196
|
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location],
|
|
@@ -186,7 +215,7 @@ const checkDomainAvailabilityOperationSpec = {
|
|
|
186
215
|
typeParam: ["typeParam"],
|
|
187
216
|
kind: ["options", "kind"],
|
|
188
217
|
},
|
|
189
|
-
mapper:
|
|
218
|
+
mapper: { ...Mappers.CheckDomainAvailabilityParameter, required: true },
|
|
190
219
|
},
|
|
191
220
|
queryParameters: [Parameters.apiVersion],
|
|
192
221
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
@@ -211,7 +240,7 @@ const calculateModelCapacityOperationSpec = {
|
|
|
211
240
|
skuName: ["options", "skuName"],
|
|
212
241
|
workloads: ["options", "workloads"],
|
|
213
242
|
},
|
|
214
|
-
mapper:
|
|
243
|
+
mapper: { ...Mappers.CalculateModelCapacityParameter, required: true },
|
|
215
244
|
},
|
|
216
245
|
queryParameters: [Parameters.apiVersion],
|
|
217
246
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cognitiveServicesManagementClient.js","sourceRoot":"","sources":["../../src/cognitiveServicesManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,mBAAmB,EACnB,UAAU,EACV,gCAAgC,EAChC,mBAAmB,EACnB,8BAA8B,EAC9B,wBAAwB,EACxB,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,0CAA0C,EAC1C,yBAAyB,EACzB,YAAY,EACZ,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AA4B/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAW/C,MAAM,OAAO,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAK7E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAyD;;QAEzD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;Q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ChC,SAAS,EAAE,CAAC,WAAW,CAAC;YACxB,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;SAC1B;QACD,MAAM,kCAAO,OAAO,CAAC,gCAAgC,KAAE,QAAQ,EAAE,IAAI,GAAE;KACxE;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,8FAA8F;IACpG,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE;QACX,aAAa,EAAE;YACb,KAAK,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;YAC3B,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;YAC/B,SAAS,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;SACpC;QACD,MAAM,kCAAO,OAAO,CAAC,+BAA+B,KAAE,QAAQ,EAAE,IAAI,GAAE;KACvE;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AccountsImpl,\n DeletedAccountsImpl,\n ResourceSkusImpl,\n UsagesImpl,\n OperationsImpl,\n CommitmentTiersImpl,\n ModelsImpl,\n LocationBasedModelCapacitiesImpl,\n ModelCapacitiesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n DeploymentsImpl,\n CommitmentPlansImpl,\n EncryptionScopesImpl,\n RaiPoliciesImpl,\n RaiBlocklistsImpl,\n RaiBlocklistItemsImpl,\n RaiContentFiltersImpl,\n NetworkSecurityPerimeterConfigurationsImpl,\n DefenderForAISettingsImpl,\n ProjectsImpl,\n AccountConnectionImpl,\n ProjectConnectionImpl,\n AccountCapabilityHostsImpl,\n ProjectCapabilityHostsImpl,\n} from \"./operations/index.js\";\nimport {\n Accounts,\n DeletedAccounts,\n ResourceSkus,\n Usages,\n Operations,\n CommitmentTiers,\n Models,\n LocationBasedModelCapacities,\n ModelCapacities,\n PrivateEndpointConnections,\n PrivateLinkResources,\n Deployments,\n CommitmentPlans,\n EncryptionScopes,\n RaiPolicies,\n RaiBlocklists,\n RaiBlocklistItems,\n RaiContentFilters,\n NetworkSecurityPerimeterConfigurations,\n DefenderForAISettings,\n Projects,\n AccountConnection,\n ProjectConnection,\n AccountCapabilityHosts,\n ProjectCapabilityHosts,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n CognitiveServicesManagementClientOptionalParams,\n CheckSkuAvailabilityOptionalParams,\n CheckSkuAvailabilityResponse,\n CheckDomainAvailabilityOptionalParams,\n CheckDomainAvailabilityResponse,\n CalculateModelCapacityOptionalParams,\n CalculateModelCapacityResponse,\n} from \"./models/index.js\";\n\nexport class CognitiveServicesManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the CognitiveServicesManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CognitiveServicesManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CognitiveServicesManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-cognitiveservices/7.7.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-04-01-preview\";\n this.accounts = new AccountsImpl(this);\n this.deletedAccounts = new DeletedAccountsImpl(this);\n this.resourceSkus = new ResourceSkusImpl(this);\n this.usages = new UsagesImpl(this);\n this.operations = new OperationsImpl(this);\n this.commitmentTiers = new CommitmentTiersImpl(this);\n this.models = new ModelsImpl(this);\n this.locationBasedModelCapacities = new LocationBasedModelCapacitiesImpl(this);\n this.modelCapacities = new ModelCapacitiesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.deployments = new DeploymentsImpl(this);\n this.commitmentPlans = new CommitmentPlansImpl(this);\n this.encryptionScopes = new EncryptionScopesImpl(this);\n this.raiPolicies = new RaiPoliciesImpl(this);\n this.raiBlocklists = new RaiBlocklistsImpl(this);\n this.raiBlocklistItems = new RaiBlocklistItemsImpl(this);\n this.raiContentFilters = new RaiContentFiltersImpl(this);\n this.networkSecurityPerimeterConfigurations = new NetworkSecurityPerimeterConfigurationsImpl(\n this,\n );\n this.defenderForAISettings = new DefenderForAISettingsImpl(this);\n this.projects = new ProjectsImpl(this);\n this.accountConnection = new AccountConnectionImpl(this);\n this.projectConnection = new ProjectConnectionImpl(this);\n this.accountCapabilityHosts = new AccountCapabilityHostsImpl(this);\n this.projectCapabilityHosts = new ProjectCapabilityHostsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Check available SKUs.\n * @param location Resource location.\n * @param skus The SKU of the resource.\n * @param kind The kind (type) of cognitive service account.\n * @param typeParam The Type of the resource.\n * @param options The options parameters.\n */\n checkSkuAvailability(\n location: string,\n skus: string[],\n kind: string,\n typeParam: string,\n options?: CheckSkuAvailabilityOptionalParams,\n ): Promise<CheckSkuAvailabilityResponse> {\n return this.sendOperationRequest(\n { location, skus, kind, typeParam, options },\n checkSkuAvailabilityOperationSpec,\n );\n }\n\n /**\n * Check whether a domain is available.\n * @param subdomainName The subdomain name to use.\n * @param typeParam The Type of the resource.\n * @param options The options parameters.\n */\n checkDomainAvailability(\n subdomainName: string,\n typeParam: string,\n options?: CheckDomainAvailabilityOptionalParams,\n ): Promise<CheckDomainAvailabilityResponse> {\n return this.sendOperationRequest(\n { subdomainName, typeParam, options },\n checkDomainAvailabilityOperationSpec,\n );\n }\n\n /**\n * Model capacity calculator.\n * @param options The options parameters.\n */\n calculateModelCapacity(\n options?: CalculateModelCapacityOptionalParams,\n ): Promise<CalculateModelCapacityResponse> {\n return this.sendOperationRequest({ options }, calculateModelCapacityOperationSpec);\n }\n\n accounts: Accounts;\n deletedAccounts: DeletedAccounts;\n resourceSkus: ResourceSkus;\n usages: Usages;\n operations: Operations;\n commitmentTiers: CommitmentTiers;\n models: Models;\n locationBasedModelCapacities: LocationBasedModelCapacities;\n modelCapacities: ModelCapacities;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n deployments: Deployments;\n commitmentPlans: CommitmentPlans;\n encryptionScopes: EncryptionScopes;\n raiPolicies: RaiPolicies;\n raiBlocklists: RaiBlocklists;\n raiBlocklistItems: RaiBlocklistItems;\n raiContentFilters: RaiContentFilters;\n networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;\n defenderForAISettings: DefenderForAISettings;\n projects: Projects;\n accountConnection: AccountConnection;\n projectConnection: ProjectConnection;\n accountCapabilityHosts: AccountCapabilityHosts;\n projectCapabilityHosts: ProjectCapabilityHosts;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkSkuAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SkuAvailabilityListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: {\n parameterPath: { skus: [\"skus\"], kind: [\"kind\"], typeParam: [\"typeParam\"] },\n mapper: { ...Mappers.CheckSkuAvailabilityParameter, required: true },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst checkDomainAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DomainAvailability,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: {\n parameterPath: {\n subdomainName: [\"subdomainName\"],\n typeParam: [\"typeParam\"],\n kind: [\"options\", \"kind\"],\n },\n mapper: { ...Mappers.CheckDomainAvailabilityParameter, required: true },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst calculateModelCapacityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/calculateModelCapacity\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CalculateModelCapacityResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: {\n parameterPath: {\n model: [\"options\", \"model\"],\n skuName: [\"options\", \"skuName\"],\n workloads: [\"options\", \"workloads\"],\n },\n mapper: { ...Mappers.CalculateModelCapacityParameter, required: true },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"cognitiveServicesManagementClient.js","sourceRoot":"","sources":["../../src/cognitiveServicesManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,mBAAmB,EACnB,UAAU,EACV,gCAAgC,EAChC,mBAAmB,EACnB,8BAA8B,EAC9B,wBAAwB,EACxB,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,0CAA0C,EAC1C,yBAAyB,EACzB,YAAY,EACZ,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AA4B/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAW/C,MA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D,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,8FAA8F;IACpG,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE;QACX,aAAa,EAAE;YACb,KAAK,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;YAC3B,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;YAC/B,SAAS,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;SACpC;QACD,MAAM,EAAE,EAAE,GAAG,OAAO,CAAC,+BAA+B,EAAE,QAAQ,EAAE,IAAI,EAAE;KACvE;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AccountsImpl,\n DeletedAccountsImpl,\n ResourceSkusImpl,\n UsagesImpl,\n OperationsImpl,\n CommitmentTiersImpl,\n ModelsImpl,\n LocationBasedModelCapacitiesImpl,\n ModelCapacitiesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n DeploymentsImpl,\n CommitmentPlansImpl,\n EncryptionScopesImpl,\n RaiPoliciesImpl,\n RaiBlocklistsImpl,\n RaiBlocklistItemsImpl,\n RaiContentFiltersImpl,\n NetworkSecurityPerimeterConfigurationsImpl,\n DefenderForAISettingsImpl,\n ProjectsImpl,\n AccountConnectionsImpl,\n ProjectConnectionsImpl,\n AccountCapabilityHostsImpl,\n ProjectCapabilityHostsImpl,\n} from \"./operations/index.js\";\nimport {\n Accounts,\n DeletedAccounts,\n ResourceSkus,\n Usages,\n Operations,\n CommitmentTiers,\n Models,\n LocationBasedModelCapacities,\n ModelCapacities,\n PrivateEndpointConnections,\n PrivateLinkResources,\n Deployments,\n CommitmentPlans,\n EncryptionScopes,\n RaiPolicies,\n RaiBlocklists,\n RaiBlocklistItems,\n RaiContentFilters,\n NetworkSecurityPerimeterConfigurations,\n DefenderForAISettings,\n Projects,\n AccountConnections,\n ProjectConnections,\n AccountCapabilityHosts,\n ProjectCapabilityHosts,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n CognitiveServicesManagementClientOptionalParams,\n CheckSkuAvailabilityOptionalParams,\n CheckSkuAvailabilityResponse,\n CheckDomainAvailabilityOptionalParams,\n CheckDomainAvailabilityResponse,\n CalculateModelCapacityOptionalParams,\n CalculateModelCapacityResponse,\n} from \"./models/index.js\";\n\nexport class CognitiveServicesManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the CognitiveServicesManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CognitiveServicesManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CognitiveServicesManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-cognitiveservices/8.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-06-01\";\n this.accounts = new AccountsImpl(this);\n this.deletedAccounts = new DeletedAccountsImpl(this);\n this.resourceSkus = new ResourceSkusImpl(this);\n this.usages = new UsagesImpl(this);\n this.operations = new OperationsImpl(this);\n this.commitmentTiers = new CommitmentTiersImpl(this);\n this.models = new ModelsImpl(this);\n this.locationBasedModelCapacities = new LocationBasedModelCapacitiesImpl(this);\n this.modelCapacities = new ModelCapacitiesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.deployments = new DeploymentsImpl(this);\n this.commitmentPlans = new CommitmentPlansImpl(this);\n this.encryptionScopes = new EncryptionScopesImpl(this);\n this.raiPolicies = new RaiPoliciesImpl(this);\n this.raiBlocklists = new RaiBlocklistsImpl(this);\n this.raiBlocklistItems = new RaiBlocklistItemsImpl(this);\n this.raiContentFilters = new RaiContentFiltersImpl(this);\n this.networkSecurityPerimeterConfigurations = new NetworkSecurityPerimeterConfigurationsImpl(\n this,\n );\n this.defenderForAISettings = new DefenderForAISettingsImpl(this);\n this.projects = new ProjectsImpl(this);\n this.accountConnections = new AccountConnectionsImpl(this);\n this.projectConnections = new ProjectConnectionsImpl(this);\n this.accountCapabilityHosts = new AccountCapabilityHostsImpl(this);\n this.projectCapabilityHosts = new ProjectCapabilityHostsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Check available SKUs.\n * @param location Resource location.\n * @param skus The SKU of the resource.\n * @param kind The kind (type) of cognitive service account.\n * @param typeParam The Type of the resource.\n * @param options The options parameters.\n */\n checkSkuAvailability(\n location: string,\n skus: string[],\n kind: string,\n typeParam: string,\n options?: CheckSkuAvailabilityOptionalParams,\n ): Promise<CheckSkuAvailabilityResponse> {\n return this.sendOperationRequest(\n { location, skus, kind, typeParam, options },\n checkSkuAvailabilityOperationSpec,\n );\n }\n\n /**\n * Check whether a domain is available.\n * @param subdomainName The subdomain name to use.\n * @param typeParam The Type of the resource.\n * @param options The options parameters.\n */\n checkDomainAvailability(\n subdomainName: string,\n typeParam: string,\n options?: CheckDomainAvailabilityOptionalParams,\n ): Promise<CheckDomainAvailabilityResponse> {\n return this.sendOperationRequest(\n { subdomainName, typeParam, options },\n checkDomainAvailabilityOperationSpec,\n );\n }\n\n /**\n * Model capacity calculator.\n * @param options The options parameters.\n */\n calculateModelCapacity(\n options?: CalculateModelCapacityOptionalParams,\n ): Promise<CalculateModelCapacityResponse> {\n return this.sendOperationRequest({ options }, calculateModelCapacityOperationSpec);\n }\n\n accounts: Accounts;\n deletedAccounts: DeletedAccounts;\n resourceSkus: ResourceSkus;\n usages: Usages;\n operations: Operations;\n commitmentTiers: CommitmentTiers;\n models: Models;\n locationBasedModelCapacities: LocationBasedModelCapacities;\n modelCapacities: ModelCapacities;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n deployments: Deployments;\n commitmentPlans: CommitmentPlans;\n encryptionScopes: EncryptionScopes;\n raiPolicies: RaiPolicies;\n raiBlocklists: RaiBlocklists;\n raiBlocklistItems: RaiBlocklistItems;\n raiContentFilters: RaiContentFilters;\n networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;\n defenderForAISettings: DefenderForAISettings;\n projects: Projects;\n accountConnections: AccountConnections;\n projectConnections: ProjectConnections;\n accountCapabilityHosts: AccountCapabilityHosts;\n projectCapabilityHosts: ProjectCapabilityHosts;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkSkuAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SkuAvailabilityListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: {\n parameterPath: { skus: [\"skus\"], kind: [\"kind\"], typeParam: [\"typeParam\"] },\n mapper: { ...Mappers.CheckSkuAvailabilityParameter, required: true },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst checkDomainAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DomainAvailability,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: {\n parameterPath: {\n subdomainName: [\"subdomainName\"],\n typeParam: [\"typeParam\"],\n kind: [\"options\", \"kind\"],\n },\n mapper: { ...Mappers.CheckDomainAvailabilityParameter, required: true },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst calculateModelCapacityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/calculateModelCapacity\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CalculateModelCapacityResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: {\n parameterPath: {\n model: [\"options\", \"model\"],\n skuName: [\"options\", \"skuName\"],\n workloads: [\"options\", \"workloads\"],\n },\n mapper: { ...Mappers.CalculateModelCapacityParameter, required: true },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,cAAc,iCAAiC,CAAC"}
|
package/dist/browser/index.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
// Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4
|
+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
5
|
/// <reference lib="esnext.asynciterable" />
|
|
9
6
|
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
7
|
export * from "./models/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,cAAc,iCAAiC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { CognitiveServicesManagementClient } from \"./cognitiveServicesManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAgB1B"}
|
package/dist/browser/lroImpl.js
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __rest } from "tslib";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
9
3
|
export function createLroSpec(inputs) {
|
|
10
4
|
const { args, spec, sendOperationFn } = inputs;
|
|
11
5
|
return {
|
|
@@ -13,8 +7,13 @@ export function createLroSpec(inputs) {
|
|
|
13
7
|
requestPath: spec.path,
|
|
14
8
|
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
15
9
|
sendPollRequest: (path, options) => {
|
|
16
|
-
const { requestBody
|
|
17
|
-
return sendOperationFn(args,
|
|
10
|
+
const { requestBody, ...restSpec } = spec;
|
|
11
|
+
return sendOperationFn(args, {
|
|
12
|
+
...restSpec,
|
|
13
|
+
httpMethod: "GET",
|
|
14
|
+
path,
|
|
15
|
+
abortSignal: options?.abortSignal,
|
|
16
|
+
});
|
|
18
17
|
},
|
|
19
18
|
};
|
|
20
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CAAC,IAAY,EAAE,OAA2C,EAAE,EAAE;YAC7E,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|
|
@@ -162,13 +162,12 @@ export interface AccountProperties {
|
|
|
162
162
|
readonly abusePenalty?: AbusePenalty;
|
|
163
163
|
/** Cognitive Services Rai Monitor Config. */
|
|
164
164
|
raiMonitorConfig?: RaiMonitorConfig;
|
|
165
|
-
|
|
166
|
-
networkInjections?: NetworkInjections;
|
|
165
|
+
networkInjections?: NetworkInjection[];
|
|
167
166
|
/** Specifies whether this resource support project management as child resources, used as containers for access management, data isolation and cost in AI Foundry. */
|
|
168
167
|
allowProjectManagement?: boolean;
|
|
169
|
-
/** Specifies the project that is targeted when data plane endpoints are called without a project parameter. */
|
|
168
|
+
/** Specifies the project, by project name, that is targeted when data plane endpoints are called without a project parameter. */
|
|
170
169
|
defaultProject?: string;
|
|
171
|
-
/** Specifies the projects that are associated with this resource. */
|
|
170
|
+
/** Specifies the projects, by project name, that are associated with this resource. */
|
|
172
171
|
associatedProjects?: string[];
|
|
173
172
|
}
|
|
174
173
|
/** SkuCapability indicates the capability of a certain feature. */
|
|
@@ -380,7 +379,7 @@ export interface RaiMonitorConfig {
|
|
|
380
379
|
identityClientId?: string;
|
|
381
380
|
}
|
|
382
381
|
/** Specifies in AI Foundry where virtual network injection occurs to secure scenarios like Agents entirely within the user's private network, eliminating public internet exposure while maintaining control over network configurations and resources. */
|
|
383
|
-
export interface
|
|
382
|
+
export interface NetworkInjection {
|
|
384
383
|
/** Specifies what features in AI Foundry network injection applies to. Currently only supports 'agent' for agent scenarios. 'none' means no network injection. */
|
|
385
384
|
scenario?: ScenarioType;
|
|
386
385
|
/** Specify the subnet for which your Agent Client is injected into. */
|
|
@@ -1042,7 +1041,7 @@ export interface RaiPolicyProperties {
|
|
|
1042
1041
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1043
1042
|
*/
|
|
1044
1043
|
readonly type?: RaiPolicyType;
|
|
1045
|
-
/** Rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2025-
|
|
1044
|
+
/** Rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2025-06-01. It is the same as 'Deferred' in previous version. */
|
|
1046
1045
|
mode?: RaiPolicyMode;
|
|
1047
1046
|
/** Name of Rai policy. */
|
|
1048
1047
|
basePolicyName?: string;
|
|
@@ -1273,6 +1272,7 @@ export interface ConnectionPropertiesV2 {
|
|
|
1273
1272
|
category?: ConnectionCategory;
|
|
1274
1273
|
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
1275
1274
|
readonly createdByWorkspaceArmId?: string;
|
|
1275
|
+
/** Provides the error message if the connection fails */
|
|
1276
1276
|
error?: string;
|
|
1277
1277
|
expiryTime?: Date;
|
|
1278
1278
|
/**
|
|
@@ -1285,9 +1285,12 @@ export interface ConnectionPropertiesV2 {
|
|
|
1285
1285
|
metadata?: {
|
|
1286
1286
|
[propertyName: string]: string;
|
|
1287
1287
|
};
|
|
1288
|
+
/** Specifies how private endpoints are used with this connection: 'Required', 'NotRequired', or 'NotApplicable'. */
|
|
1288
1289
|
peRequirement?: ManagedPERequirement;
|
|
1290
|
+
/** Specifies the status of private endpoints for this connection: 'Inactive', 'Active', or 'NotApplicable'. */
|
|
1289
1291
|
peStatus?: ManagedPEStatus;
|
|
1290
1292
|
sharedUserList?: string[];
|
|
1293
|
+
/** The connection URL to be used. */
|
|
1291
1294
|
target?: string;
|
|
1292
1295
|
useWorkspaceManagedIdentity?: boolean;
|
|
1293
1296
|
}
|
|
@@ -1551,11 +1554,11 @@ export interface CapabilityHostProperties extends ResourceBase {
|
|
|
1551
1554
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1552
1555
|
*/
|
|
1553
1556
|
readonly provisioningState?: CapabilityHostProvisioningState;
|
|
1554
|
-
/** List of
|
|
1557
|
+
/** List of connection names from those available in the account or project to be used as a storage resource. */
|
|
1555
1558
|
storageConnections?: string[];
|
|
1556
|
-
/** List of Thread storage
|
|
1559
|
+
/** List of connection names from those available in the account or project to be used for Thread storage. */
|
|
1557
1560
|
threadStorageConnections?: string[];
|
|
1558
|
-
/** List of
|
|
1561
|
+
/** List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB). */
|
|
1559
1562
|
vectorStoreConnections?: string[];
|
|
1560
1563
|
}
|
|
1561
1564
|
/** The Private Endpoint Connection resource. */
|
|
@@ -3600,29 +3603,29 @@ export interface ProjectsListNextOptionalParams extends coreClient.OperationOpti
|
|
|
3600
3603
|
/** Contains response data for the listNext operation. */
|
|
3601
3604
|
export type ProjectsListNextResponse = ProjectListResult;
|
|
3602
3605
|
/** Optional parameters. */
|
|
3603
|
-
export interface
|
|
3606
|
+
export interface AccountConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3604
3607
|
}
|
|
3605
3608
|
/** Optional parameters. */
|
|
3606
|
-
export interface
|
|
3609
|
+
export interface AccountConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
3607
3610
|
}
|
|
3608
3611
|
/** Contains response data for the get operation. */
|
|
3609
|
-
export type
|
|
3612
|
+
export type AccountConnectionsGetResponse = ConnectionPropertiesV2BasicResource;
|
|
3610
3613
|
/** Optional parameters. */
|
|
3611
|
-
export interface
|
|
3614
|
+
export interface AccountConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3612
3615
|
/** Parameters for account connection update. */
|
|
3613
|
-
|
|
3616
|
+
connection?: ConnectionUpdateContent;
|
|
3614
3617
|
}
|
|
3615
3618
|
/** Contains response data for the update operation. */
|
|
3616
|
-
export type
|
|
3619
|
+
export type AccountConnectionsUpdateResponse = ConnectionPropertiesV2BasicResource;
|
|
3617
3620
|
/** Optional parameters. */
|
|
3618
|
-
export interface
|
|
3621
|
+
export interface AccountConnectionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
3619
3622
|
/** The object for creating or updating a new account connection */
|
|
3620
|
-
|
|
3623
|
+
connection?: ConnectionPropertiesV2BasicResource;
|
|
3621
3624
|
}
|
|
3622
3625
|
/** Contains response data for the create operation. */
|
|
3623
|
-
export type
|
|
3626
|
+
export type AccountConnectionsCreateResponse = ConnectionPropertiesV2BasicResource;
|
|
3624
3627
|
/** Optional parameters. */
|
|
3625
|
-
export interface
|
|
3628
|
+
export interface AccountConnectionsListOptionalParams extends coreClient.OperationOptions {
|
|
3626
3629
|
/** Target of the connection. */
|
|
3627
3630
|
target?: string;
|
|
3628
3631
|
/** Category of the connection. */
|
|
@@ -3631,36 +3634,36 @@ export interface AccountConnectionListOptionalParams extends coreClient.Operatio
|
|
|
3631
3634
|
includeAll?: boolean;
|
|
3632
3635
|
}
|
|
3633
3636
|
/** Contains response data for the list operation. */
|
|
3634
|
-
export type
|
|
3637
|
+
export type AccountConnectionsListResponse = ConnectionPropertiesV2BasicResourceArmPaginatedResult;
|
|
3635
3638
|
/** Optional parameters. */
|
|
3636
|
-
export interface
|
|
3639
|
+
export interface AccountConnectionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
3637
3640
|
}
|
|
3638
3641
|
/** Contains response data for the listNext operation. */
|
|
3639
|
-
export type
|
|
3642
|
+
export type AccountConnectionsListNextResponse = ConnectionPropertiesV2BasicResourceArmPaginatedResult;
|
|
3640
3643
|
/** Optional parameters. */
|
|
3641
|
-
export interface
|
|
3644
|
+
export interface ProjectConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3642
3645
|
}
|
|
3643
3646
|
/** Optional parameters. */
|
|
3644
|
-
export interface
|
|
3647
|
+
export interface ProjectConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
3645
3648
|
}
|
|
3646
3649
|
/** Contains response data for the get operation. */
|
|
3647
|
-
export type
|
|
3650
|
+
export type ProjectConnectionsGetResponse = ConnectionPropertiesV2BasicResource;
|
|
3648
3651
|
/** Optional parameters. */
|
|
3649
|
-
export interface
|
|
3652
|
+
export interface ProjectConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3650
3653
|
/** Parameters for account connection update. */
|
|
3651
|
-
|
|
3654
|
+
connection?: ConnectionUpdateContent;
|
|
3652
3655
|
}
|
|
3653
3656
|
/** Contains response data for the update operation. */
|
|
3654
|
-
export type
|
|
3657
|
+
export type ProjectConnectionsUpdateResponse = ConnectionPropertiesV2BasicResource;
|
|
3655
3658
|
/** Optional parameters. */
|
|
3656
|
-
export interface
|
|
3659
|
+
export interface ProjectConnectionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
3657
3660
|
/** The object for creating or updating a new account connection */
|
|
3658
|
-
|
|
3661
|
+
connection?: ConnectionPropertiesV2BasicResource;
|
|
3659
3662
|
}
|
|
3660
3663
|
/** Contains response data for the create operation. */
|
|
3661
|
-
export type
|
|
3664
|
+
export type ProjectConnectionsCreateResponse = ConnectionPropertiesV2BasicResource;
|
|
3662
3665
|
/** Optional parameters. */
|
|
3663
|
-
export interface
|
|
3666
|
+
export interface ProjectConnectionsListOptionalParams extends coreClient.OperationOptions {
|
|
3664
3667
|
/** Target of the connection. */
|
|
3665
3668
|
target?: string;
|
|
3666
3669
|
/** Category of the connection. */
|
|
@@ -3669,12 +3672,12 @@ export interface ProjectConnectionListOptionalParams extends coreClient.Operatio
|
|
|
3669
3672
|
includeAll?: boolean;
|
|
3670
3673
|
}
|
|
3671
3674
|
/** Contains response data for the list operation. */
|
|
3672
|
-
export type
|
|
3675
|
+
export type ProjectConnectionsListResponse = ConnectionPropertiesV2BasicResourceArmPaginatedResult;
|
|
3673
3676
|
/** Optional parameters. */
|
|
3674
|
-
export interface
|
|
3677
|
+
export interface ProjectConnectionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
3675
3678
|
}
|
|
3676
3679
|
/** Contains response data for the listNext operation. */
|
|
3677
|
-
export type
|
|
3680
|
+
export type ProjectConnectionsListNextResponse = ConnectionPropertiesV2BasicResourceArmPaginatedResult;
|
|
3678
3681
|
/** Optional parameters. */
|
|
3679
3682
|
export interface AccountCapabilityHostsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3680
3683
|
/** Delay to wait until next poll, in milliseconds. */
|