@azure/arm-cognitiveservices 7.7.0-beta.1 → 7.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +113 -0
- 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 +55 -16
- package/dist/browser/cognitiveServicesManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +36 -32
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +292 -126
- 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 +7 -7
- 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 +31 -20
- package/dist/browser/operations/accountCapabilityHosts.js.map +1 -1
- package/dist/browser/operations/{accountConnection.d.ts → 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} +29 -46
- 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 +112 -140
- 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 +166 -196
- 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 +28 -41
- 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 +23 -40
- 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 +40 -48
- 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 +79 -98
- 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 +35 -47
- 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 +2 -2
- 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 +28 -41
- 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 +28 -41
- 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 +28 -41
- 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 +35 -47
- 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 +23 -40
- 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 +24 -13
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +1 -0
- 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 +31 -20
- package/dist/browser/operations/projectCapabilityHosts.js.map +1 -1
- package/dist/{commonjs/operations/projectConnection.d.ts → browser/operations/projectConnections.d.ts} +11 -11
- package/dist/browser/operations/projectConnections.d.ts.map +1 -0
- package/dist/browser/operations/{projectConnection.js → projectConnections.js} +29 -46
- 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 +57 -59
- 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 +35 -47
- 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 +35 -47
- 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 +28 -41
- 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 +35 -47
- 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 +28 -41
- 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 +28 -41
- 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.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/{accountConnection.js → accountConnections.js} +1 -1
- 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.map +1 -1
- package/dist/browser/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/commitmentTiers.js.map +1 -1
- package/dist/browser/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/browser/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
- 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 +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/models.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/models.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.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.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/{projectConnection.js → projectConnections.js} +1 -1
- 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.map +1 -1
- package/dist/browser/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/raiBlocklists.js.map +1 -1
- package/dist/browser/operationsInterfaces/raiPolicies.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/usages.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- 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 +54 -15
- package/dist/commonjs/cognitiveServicesManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +36 -32
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +292 -126
- 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 +8 -8
- 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 +30 -19
- package/dist/commonjs/operations/accountCapabilityHosts.js.map +1 -1
- package/dist/{esm/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} +31 -47
- 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 +111 -138
- 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 +165 -194
- 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 +28 -40
- 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 +23 -39
- 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 +39 -46
- 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 +78 -96
- 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 +34 -45
- 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 +2 -2
- 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 +28 -40
- 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 +28 -40
- 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 +28 -40
- 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 +34 -45
- 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 +23 -39
- 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 +23 -12
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +1 -0
- 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 +30 -19
- package/dist/commonjs/operations/projectCapabilityHosts.js.map +1 -1
- package/dist/{browser/operations/projectConnection.d.ts → commonjs/operations/projectConnections.d.ts} +11 -11
- package/dist/commonjs/operations/projectConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/{projectConnection.js → projectConnections.js} +31 -47
- 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 +56 -57
- 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 +34 -45
- 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 +34 -45
- 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 +28 -40
- 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 +34 -45
- 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 +28 -40
- 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 +28 -40
- 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.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/{accountConnection.js → accountConnections.js} +1 -1
- 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.map +1 -1
- package/dist/commonjs/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/commitmentTiers.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/commonjs/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
- 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 +2 -2
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/models.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/models.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.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.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/{projectConnection.js → projectConnections.js} +1 -1
- 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.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiBlocklists.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/raiPolicies.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- 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 +55 -16
- package/dist/esm/cognitiveServicesManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +36 -32
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +292 -126
- 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 +7 -7
- 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 +31 -20
- 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} +29 -46
- 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 +112 -140
- 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 +166 -196
- 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 +28 -41
- 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 +23 -40
- 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 +40 -48
- 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 +79 -98
- 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 +35 -47
- 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 +2 -2
- 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 +28 -41
- 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 +28 -41
- 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 +28 -41
- 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 +35 -47
- 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 +23 -40
- 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 +24 -13
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +1 -0
- 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 +31 -20
- 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} +29 -46
- 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 +57 -59
- 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 +35 -47
- 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 +35 -47
- 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 +28 -41
- 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 +35 -47
- 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 +28 -41
- 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 +28 -41
- 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.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/{accountConnection.js → accountConnections.js} +1 -1
- 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.map +1 -1
- package/dist/esm/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/commitmentTiers.js.map +1 -1
- package/dist/esm/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
- 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 +2 -2
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/models.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/models.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.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.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/{projectConnection.js → projectConnections.js} +1 -1
- 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.map +1 -1
- package/dist/esm/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/raiBlocklists.js.map +1 -1
- package/dist/esm/operationsInterfaces/raiPolicies.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/usages.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- 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 +55 -16
- package/dist/react-native/cognitiveServicesManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +36 -32
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +292 -126
- 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 +7 -7
- 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 +31 -20
- 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} +29 -46
- 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 +112 -140
- 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 +166 -196
- 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 +28 -41
- 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 +23 -40
- 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 +40 -48
- 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 +79 -98
- 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 +35 -47
- 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 +2 -2
- 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 +28 -41
- 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 +28 -41
- 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 +28 -41
- 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 +35 -47
- 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 +23 -40
- 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 +24 -13
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +1 -0
- 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 +31 -20
- 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} +29 -46
- 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 +57 -59
- 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 +35 -47
- 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 +35 -47
- 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 +28 -41
- 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 +35 -47
- 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 +28 -41
- 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 +28 -41
- 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.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 +9 -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.map +1 -1
- package/dist/react-native/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/commitmentTiers.js.map +1 -1
- package/dist/react-native/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/react-native/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
- 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 +2 -2
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/models.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/models.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.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.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 +9 -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.map +1 -1
- package/dist/react-native/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/raiBlocklists.js.map +1 -1
- package/dist/react-native/operationsInterfaces/raiPolicies.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -1
- 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 +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +6 -6
- package/review/{arm-cognitiveservices.api.md → arm-cognitiveservices-node.api.md} +44 -48
- 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.map +0 -1
- package/dist/browser/operationsInterfaces/projectConnection.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/commonjs/operationsInterfaces/projectConnection.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/esm/operationsInterfaces/projectConnection.d.ts.map +0 -1
- 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
|
@@ -16,6 +16,7 @@ const core_lro_1 = require("@azure/core-lro");
|
|
|
16
16
|
const lroImpl_js_1 = require("../lroImpl.js");
|
|
17
17
|
/** Class containing ProjectCapabilityHosts operations. */
|
|
18
18
|
class ProjectCapabilityHostsImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class ProjectCapabilityHosts class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -37,14 +38,19 @@ class ProjectCapabilityHostsImpl {
|
|
|
37
38
|
return this.client.sendOperationRequest(args, spec);
|
|
38
39
|
};
|
|
39
40
|
const sendOperationFn = async (args, spec) => {
|
|
40
|
-
var _a;
|
|
41
41
|
let currentRawResponse = undefined;
|
|
42
|
-
const providedCallback =
|
|
42
|
+
const providedCallback = args.options?.onResponse;
|
|
43
43
|
const callback = (rawResponse, flatResponse) => {
|
|
44
44
|
currentRawResponse = rawResponse;
|
|
45
|
-
providedCallback
|
|
45
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
46
|
+
};
|
|
47
|
+
const updatedArgs = {
|
|
48
|
+
...args,
|
|
49
|
+
options: {
|
|
50
|
+
...args.options,
|
|
51
|
+
onResponse: callback,
|
|
52
|
+
},
|
|
46
53
|
};
|
|
47
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
48
54
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
49
55
|
return {
|
|
50
56
|
flatResponse,
|
|
@@ -67,8 +73,8 @@ class ProjectCapabilityHostsImpl {
|
|
|
67
73
|
spec: deleteOperationSpec,
|
|
68
74
|
});
|
|
69
75
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
70
|
-
restoreFrom: options
|
|
71
|
-
intervalInMs: options
|
|
76
|
+
restoreFrom: options?.resumeFrom,
|
|
77
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
72
78
|
resourceLocationConfig: "location",
|
|
73
79
|
});
|
|
74
80
|
await poller.poll();
|
|
@@ -112,22 +118,27 @@ class ProjectCapabilityHostsImpl {
|
|
|
112
118
|
* @param projectName The name of Cognitive Services account's project.
|
|
113
119
|
* @param capabilityHostName The name of the capability host associated with the Cognitive Services
|
|
114
120
|
* Resource
|
|
115
|
-
* @param
|
|
121
|
+
* @param capabilityHost CapabilityHost definition.
|
|
116
122
|
* @param options The options parameters.
|
|
117
123
|
*/
|
|
118
|
-
async beginCreateOrUpdate(resourceGroupName, accountName, projectName, capabilityHostName,
|
|
124
|
+
async beginCreateOrUpdate(resourceGroupName, accountName, projectName, capabilityHostName, capabilityHost, options) {
|
|
119
125
|
const directSendOperation = async (args, spec) => {
|
|
120
126
|
return this.client.sendOperationRequest(args, spec);
|
|
121
127
|
};
|
|
122
128
|
const sendOperationFn = async (args, spec) => {
|
|
123
|
-
var _a;
|
|
124
129
|
let currentRawResponse = undefined;
|
|
125
|
-
const providedCallback =
|
|
130
|
+
const providedCallback = args.options?.onResponse;
|
|
126
131
|
const callback = (rawResponse, flatResponse) => {
|
|
127
132
|
currentRawResponse = rawResponse;
|
|
128
|
-
providedCallback
|
|
133
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
134
|
+
};
|
|
135
|
+
const updatedArgs = {
|
|
136
|
+
...args,
|
|
137
|
+
options: {
|
|
138
|
+
...args.options,
|
|
139
|
+
onResponse: callback,
|
|
140
|
+
},
|
|
129
141
|
};
|
|
130
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
131
142
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
132
143
|
return {
|
|
133
144
|
flatResponse,
|
|
@@ -145,14 +156,14 @@ class ProjectCapabilityHostsImpl {
|
|
|
145
156
|
accountName,
|
|
146
157
|
projectName,
|
|
147
158
|
capabilityHostName,
|
|
148
|
-
|
|
159
|
+
capabilityHost,
|
|
149
160
|
options,
|
|
150
161
|
},
|
|
151
162
|
spec: createOrUpdateOperationSpec,
|
|
152
163
|
});
|
|
153
164
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
154
|
-
restoreFrom: options
|
|
155
|
-
intervalInMs: options
|
|
165
|
+
restoreFrom: options?.resumeFrom,
|
|
166
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
156
167
|
resourceLocationConfig: "original-uri",
|
|
157
168
|
});
|
|
158
169
|
await poller.poll();
|
|
@@ -165,11 +176,11 @@ class ProjectCapabilityHostsImpl {
|
|
|
165
176
|
* @param projectName The name of Cognitive Services account's project.
|
|
166
177
|
* @param capabilityHostName The name of the capability host associated with the Cognitive Services
|
|
167
178
|
* Resource
|
|
168
|
-
* @param
|
|
179
|
+
* @param capabilityHost CapabilityHost definition.
|
|
169
180
|
* @param options The options parameters.
|
|
170
181
|
*/
|
|
171
|
-
async beginCreateOrUpdateAndWait(resourceGroupName, accountName, projectName, capabilityHostName,
|
|
172
|
-
const poller = await this.beginCreateOrUpdate(resourceGroupName, accountName, projectName, capabilityHostName,
|
|
182
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, accountName, projectName, capabilityHostName, capabilityHost, options) {
|
|
183
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, accountName, projectName, capabilityHostName, capabilityHost, options);
|
|
173
184
|
return poller.pollUntilDone();
|
|
174
185
|
}
|
|
175
186
|
}
|
|
@@ -251,7 +262,7 @@ const createOrUpdateOperationSpec = {
|
|
|
251
262
|
bodyMapper: Mappers.ErrorResponse,
|
|
252
263
|
},
|
|
253
264
|
},
|
|
254
|
-
requestBody: Parameters.
|
|
265
|
+
requestBody: Parameters.capabilityHost,
|
|
255
266
|
queryParameters: [Parameters.apiVersion],
|
|
256
267
|
urlParameters: [
|
|
257
268
|
Parameters.$host,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectCapabilityHosts.js","sourceRoot":"","sources":["../../../src/operations/projectCapabilityHosts.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH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AAC,kBAAkB;KAC9B;IACD,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 { ProjectCapabilityHosts } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CognitiveServicesManagementClient } from \"../cognitiveServicesManagementClient.js\";\nimport { SimplePollerLike, OperationState, createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ProjectCapabilityHostsDeleteOptionalParams,\n ProjectCapabilityHostsDeleteResponse,\n ProjectCapabilityHostsGetOptionalParams,\n ProjectCapabilityHostsGetResponse,\n CapabilityHost,\n ProjectCapabilityHostsCreateOrUpdateOptionalParams,\n ProjectCapabilityHostsCreateOrUpdateResponse,\n} from \"../models/index.js\";\n\n/** Class containing ProjectCapabilityHosts operations. */\nexport class ProjectCapabilityHostsImpl implements ProjectCapabilityHosts {\n private readonly client: CognitiveServicesManagementClient;\n\n /**\n * Initialize a new instance of the class ProjectCapabilityHosts class.\n * @param client Reference to the service client\n */\n constructor(client: CognitiveServicesManagementClient) {\n this.client = client;\n }\n\n /**\n * Delete project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n options?: ProjectCapabilityHostsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ProjectCapabilityHostsDeleteResponse>,\n ProjectCapabilityHostsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ProjectCapabilityHostsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ProjectCapabilityHostsDeleteResponse,\n OperationState<ProjectCapabilityHostsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n options?: ProjectCapabilityHostsDeleteOptionalParams,\n ): Promise<ProjectCapabilityHostsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n options?: ProjectCapabilityHostsGetOptionalParams,\n ): Promise<ProjectCapabilityHostsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param body CapabilityHost definition.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n body: CapabilityHost,\n options?: ProjectCapabilityHostsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ProjectCapabilityHostsCreateOrUpdateResponse>,\n ProjectCapabilityHostsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ProjectCapabilityHostsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n body,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ProjectCapabilityHostsCreateOrUpdateResponse,\n OperationState<ProjectCapabilityHostsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"original-uri\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param body CapabilityHost definition.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n body: CapabilityHost,\n options?: ProjectCapabilityHostsCreateOrUpdateOptionalParams,\n ): Promise<ProjectCapabilityHostsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n body,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ProjectCapabilityHostsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ProjectCapabilityHostsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ProjectCapabilityHostsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ProjectCapabilityHostsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.capabilityHostName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CapabilityHost,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.capabilityHostName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CapabilityHost,\n },\n 201: {\n bodyMapper: Mappers.CapabilityHost,\n },\n 202: {\n bodyMapper: Mappers.CapabilityHost,\n },\n 204: {\n bodyMapper: Mappers.CapabilityHost,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.capabilityHostName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"projectCapabilityHosts.js","sourceRoot":"","sources":["../../../src/operations/projectCapabilityHosts.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAW9C,0DAA0D;AAC1D,MAAa,0BAA0B;IACpB,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,WAAW,CACf,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,kBAA0B,EAC1B,OAAoD;QAOpD,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EACiB,EAAE;YACjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC,CAAC;QACF,MAAM,eAAe,GAAG,KAAK,EAC3B,IAAmC,EACnC,IAA8B,EAC9B,EAAE;YACF,IAAI,kBAAkB,GACpB,SAAS,CAAC;YACZ,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC;YAClD,MAAM,QAAQ,GAAmC,CAC/C,WAA6C,EAC7C,YAAqB,EACrB,EAAE;gBACF,kBAAkB,GAAG,WAAW,CAAC;gBACjC,gBAAgB,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;YAChD,CAAC,CAAC;YACF,MAAM,WAAW,GAAG;gBAClB,GAAG,IAAI;gBACP,OAAO,EAAE;oBACP,GAAG,IAAI,CAAC,OAAO;oBACf,UAAU,EAAE,QAAQ;iBACrB;aACF,CAAC;YACF,MAAM,YAAY,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AAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,kBAAkB;KAC9B;IACD,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 { ProjectCapabilityHosts } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CognitiveServicesManagementClient } from \"../cognitiveServicesManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ProjectCapabilityHostsDeleteOptionalParams,\n ProjectCapabilityHostsDeleteResponse,\n ProjectCapabilityHostsGetOptionalParams,\n ProjectCapabilityHostsGetResponse,\n CapabilityHost,\n ProjectCapabilityHostsCreateOrUpdateOptionalParams,\n ProjectCapabilityHostsCreateOrUpdateResponse,\n} from \"../models/index.js\";\n\n/** Class containing ProjectCapabilityHosts operations. */\nexport class ProjectCapabilityHostsImpl implements ProjectCapabilityHosts {\n private readonly client: CognitiveServicesManagementClient;\n\n /**\n * Initialize a new instance of the class ProjectCapabilityHosts class.\n * @param client Reference to the service client\n */\n constructor(client: CognitiveServicesManagementClient) {\n this.client = client;\n }\n\n /**\n * Delete project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n options?: ProjectCapabilityHostsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ProjectCapabilityHostsDeleteResponse>,\n ProjectCapabilityHostsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ProjectCapabilityHostsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ProjectCapabilityHostsDeleteResponse,\n OperationState<ProjectCapabilityHostsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n options?: ProjectCapabilityHostsDeleteOptionalParams,\n ): Promise<ProjectCapabilityHostsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n options?: ProjectCapabilityHostsGetOptionalParams,\n ): Promise<ProjectCapabilityHostsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param capabilityHost CapabilityHost definition.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n capabilityHost: CapabilityHost,\n options?: ProjectCapabilityHostsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ProjectCapabilityHostsCreateOrUpdateResponse>,\n ProjectCapabilityHostsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ProjectCapabilityHostsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n capabilityHost,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ProjectCapabilityHostsCreateOrUpdateResponse,\n OperationState<ProjectCapabilityHostsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"original-uri\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update project capabilityHost.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param capabilityHostName The name of the capability host associated with the Cognitive Services\n * Resource\n * @param capabilityHost CapabilityHost definition.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n capabilityHostName: string,\n capabilityHost: CapabilityHost,\n options?: ProjectCapabilityHostsCreateOrUpdateOptionalParams,\n ): Promise<ProjectCapabilityHostsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n accountName,\n projectName,\n capabilityHostName,\n capabilityHost,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ProjectCapabilityHostsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ProjectCapabilityHostsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ProjectCapabilityHostsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ProjectCapabilityHostsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.capabilityHostName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CapabilityHost,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.capabilityHostName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CapabilityHost,\n },\n 201: {\n bodyMapper: Mappers.CapabilityHost,\n },\n 202: {\n bodyMapper: Mappers.CapabilityHost,\n },\n 204: {\n bodyMapper: Mappers.CapabilityHost,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.capabilityHost,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.capabilityHostName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import {
|
|
2
|
+
import { ProjectConnections } from "../operationsInterfaces/index.js";
|
|
3
3
|
import { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient.js";
|
|
4
|
-
import { ConnectionPropertiesV2BasicResource,
|
|
5
|
-
/** Class containing
|
|
6
|
-
export declare class
|
|
4
|
+
import { ConnectionPropertiesV2BasicResource, ProjectConnectionsListOptionalParams, ProjectConnectionsDeleteOptionalParams, ProjectConnectionsGetOptionalParams, ProjectConnectionsGetResponse, ProjectConnectionsUpdateOptionalParams, ProjectConnectionsUpdateResponse, ProjectConnectionsCreateOptionalParams, ProjectConnectionsCreateResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing ProjectConnections operations. */
|
|
6
|
+
export declare class ProjectConnectionsImpl implements ProjectConnections {
|
|
7
7
|
private readonly client;
|
|
8
8
|
/**
|
|
9
|
-
* Initialize a new instance of the class
|
|
9
|
+
* Initialize a new instance of the class ProjectConnections class.
|
|
10
10
|
* @param client Reference to the service client
|
|
11
11
|
*/
|
|
12
12
|
constructor(client: CognitiveServicesManagementClient);
|
|
@@ -17,7 +17,7 @@ export declare class ProjectConnectionImpl implements ProjectConnection {
|
|
|
17
17
|
* @param projectName The name of Cognitive Services account's project.
|
|
18
18
|
* @param options The options parameters.
|
|
19
19
|
*/
|
|
20
|
-
list(resourceGroupName: string, accountName: string, projectName: string, options?:
|
|
20
|
+
list(resourceGroupName: string, accountName: string, projectName: string, options?: ProjectConnectionsListOptionalParams): PagedAsyncIterableIterator<ConnectionPropertiesV2BasicResource>;
|
|
21
21
|
private listPagingPage;
|
|
22
22
|
private listPagingAll;
|
|
23
23
|
/**
|
|
@@ -28,7 +28,7 @@ export declare class ProjectConnectionImpl implements ProjectConnection {
|
|
|
28
28
|
* @param connectionName Friendly name of the connection
|
|
29
29
|
* @param options The options parameters.
|
|
30
30
|
*/
|
|
31
|
-
delete(resourceGroupName: string, accountName: string, projectName: string, connectionName: string, options?:
|
|
31
|
+
delete(resourceGroupName: string, accountName: string, projectName: string, connectionName: string, options?: ProjectConnectionsDeleteOptionalParams): Promise<void>;
|
|
32
32
|
/**
|
|
33
33
|
* Lists Cognitive Services project connection by name.
|
|
34
34
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -37,7 +37,7 @@ export declare class ProjectConnectionImpl implements ProjectConnection {
|
|
|
37
37
|
* @param connectionName Friendly name of the connection
|
|
38
38
|
* @param options The options parameters.
|
|
39
39
|
*/
|
|
40
|
-
get(resourceGroupName: string, accountName: string, projectName: string, connectionName: string, options?:
|
|
40
|
+
get(resourceGroupName: string, accountName: string, projectName: string, connectionName: string, options?: ProjectConnectionsGetOptionalParams): Promise<ProjectConnectionsGetResponse>;
|
|
41
41
|
/**
|
|
42
42
|
* Update Cognitive Services project connection under the specified project.
|
|
43
43
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -46,7 +46,7 @@ export declare class ProjectConnectionImpl implements ProjectConnection {
|
|
|
46
46
|
* @param connectionName Friendly name of the connection
|
|
47
47
|
* @param options The options parameters.
|
|
48
48
|
*/
|
|
49
|
-
update(resourceGroupName: string, accountName: string, projectName: string, connectionName: string, options?:
|
|
49
|
+
update(resourceGroupName: string, accountName: string, projectName: string, connectionName: string, options?: ProjectConnectionsUpdateOptionalParams): Promise<ProjectConnectionsUpdateResponse>;
|
|
50
50
|
/**
|
|
51
51
|
* Create or update Cognitive Services project connection under the specified project.
|
|
52
52
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -55,7 +55,7 @@ export declare class ProjectConnectionImpl implements ProjectConnection {
|
|
|
55
55
|
* @param connectionName Friendly name of the connection
|
|
56
56
|
* @param options The options parameters.
|
|
57
57
|
*/
|
|
58
|
-
create(resourceGroupName: string, accountName: string, projectName: string, connectionName: string, options?:
|
|
58
|
+
create(resourceGroupName: string, accountName: string, projectName: string, connectionName: string, options?: ProjectConnectionsCreateOptionalParams): Promise<ProjectConnectionsCreateResponse>;
|
|
59
59
|
/**
|
|
60
60
|
* Lists all the available Cognitive Services project connections under the specified project.
|
|
61
61
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -74,4 +74,4 @@ export declare class ProjectConnectionImpl implements ProjectConnection {
|
|
|
74
74
|
*/
|
|
75
75
|
private _listNext;
|
|
76
76
|
}
|
|
77
|
-
//# sourceMappingURL=
|
|
77
|
+
//# sourceMappingURL=projectConnections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/projectConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAItE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,mCAAmC,EAEnC,oCAAoC,EAEpC,sCAAsC,EACtC,mCAAmC,EACnC,6BAA6B,EAC7B,sCAAsC,EACtC,gCAAgC,EAChC,sCAAsC,EACtC,gCAAgC,EAEjC,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,mCAAmC,CAAC;YA6BnD,cAAc;YAoCd,aAAa;IAgB5B;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAOzC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAYb;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAYlB"}
|
|
@@ -7,17 +7,18 @@
|
|
|
7
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
10
|
+
exports.ProjectConnectionsImpl = void 0;
|
|
11
11
|
const tslib_1 = require("tslib");
|
|
12
12
|
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
13
|
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
14
|
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
15
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
|
-
/** Class containing
|
|
18
|
-
class
|
|
17
|
+
/** Class containing ProjectConnections operations. */
|
|
18
|
+
class ProjectConnectionsImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
|
-
* Initialize a new instance of the class
|
|
21
|
+
* Initialize a new instance of the class ProjectConnections class.
|
|
21
22
|
* @param client Reference to the service client
|
|
22
23
|
*/
|
|
23
24
|
constructor(client) {
|
|
@@ -40,52 +41,35 @@ class ProjectConnectionImpl {
|
|
|
40
41
|
return this;
|
|
41
42
|
},
|
|
42
43
|
byPage: (settings) => {
|
|
43
|
-
if (settings
|
|
44
|
+
if (settings?.maxPageSize) {
|
|
44
45
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
46
|
}
|
|
46
47
|
return this.listPagingPage(resourceGroupName, accountName, projectName, options, settings);
|
|
47
48
|
},
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
|
-
listPagingPage(resourceGroupName, accountName, projectName, options, settings) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
});
|
|
51
|
+
async *listPagingPage(resourceGroupName, accountName, projectName, options, settings) {
|
|
52
|
+
let result;
|
|
53
|
+
let continuationToken = settings?.continuationToken;
|
|
54
|
+
if (!continuationToken) {
|
|
55
|
+
result = await this._list(resourceGroupName, accountName, projectName, options);
|
|
56
|
+
let page = result.value || [];
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
61
|
+
while (continuationToken) {
|
|
62
|
+
result = await this._listNext(resourceGroupName, accountName, projectName, continuationToken, options);
|
|
63
|
+
continuationToken = result.nextLink;
|
|
64
|
+
let page = result.value || [];
|
|
65
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
66
|
+
yield page;
|
|
67
|
+
}
|
|
69
68
|
}
|
|
70
|
-
listPagingAll(resourceGroupName, accountName, projectName, options) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, accountName, projectName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
75
|
-
_c = _f.value;
|
|
76
|
-
_d = false;
|
|
77
|
-
const page = _c;
|
|
78
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
82
|
-
finally {
|
|
83
|
-
try {
|
|
84
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
85
|
-
}
|
|
86
|
-
finally { if (e_1) throw e_1.error; }
|
|
87
|
-
}
|
|
88
|
-
});
|
|
69
|
+
async *listPagingAll(resourceGroupName, accountName, projectName, options) {
|
|
70
|
+
for await (const page of this.listPagingPage(resourceGroupName, accountName, projectName, options)) {
|
|
71
|
+
yield* page;
|
|
72
|
+
}
|
|
89
73
|
}
|
|
90
74
|
/**
|
|
91
75
|
* Delete Cognitive Services project connection by name.
|
|
@@ -153,7 +137,7 @@ class ProjectConnectionImpl {
|
|
|
153
137
|
return this.client.sendOperationRequest({ resourceGroupName, accountName, projectName, nextLink, options }, listNextOperationSpec);
|
|
154
138
|
}
|
|
155
139
|
}
|
|
156
|
-
exports.
|
|
140
|
+
exports.ProjectConnectionsImpl = ProjectConnectionsImpl;
|
|
157
141
|
// Operation Specifications
|
|
158
142
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
159
143
|
const deleteOperationSpec = {
|
|
@@ -212,7 +196,7 @@ const updateOperationSpec = {
|
|
|
212
196
|
bodyMapper: Mappers.ErrorResponse,
|
|
213
197
|
},
|
|
214
198
|
},
|
|
215
|
-
requestBody: Parameters.
|
|
199
|
+
requestBody: Parameters.connection,
|
|
216
200
|
queryParameters: [Parameters.apiVersion],
|
|
217
201
|
urlParameters: [
|
|
218
202
|
Parameters.$host,
|
|
@@ -237,7 +221,7 @@ const createOperationSpec = {
|
|
|
237
221
|
bodyMapper: Mappers.ErrorResponse,
|
|
238
222
|
},
|
|
239
223
|
},
|
|
240
|
-
requestBody: Parameters.
|
|
224
|
+
requestBody: Parameters.connection1,
|
|
241
225
|
queryParameters: [Parameters.apiVersion],
|
|
242
226
|
urlParameters: [
|
|
243
227
|
Parameters.$host,
|
|
@@ -300,4 +284,4 @@ const listNextOperationSpec = {
|
|
|
300
284
|
headerParameters: [Parameters.accept],
|
|
301
285
|
serializer,
|
|
302
286
|
};
|
|
303
|
-
//# sourceMappingURL=
|
|
287
|
+
//# sourceMappingURL=projectConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectConnections.js","sourceRoot":"","sources":["../../../src/operations/projectConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAiBtD,4CAA4C;AAC5C,sDAAsD;AACtD,MAAa,sBAAsB;IAChB,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,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AC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qDAAqD;SAC1E;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ProjectConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CognitiveServicesManagementClient } from \"../cognitiveServicesManagementClient.js\";\nimport {\n ConnectionPropertiesV2BasicResource,\n ProjectConnectionsListNextOptionalParams,\n ProjectConnectionsListOptionalParams,\n ProjectConnectionsListResponse,\n ProjectConnectionsDeleteOptionalParams,\n ProjectConnectionsGetOptionalParams,\n ProjectConnectionsGetResponse,\n ProjectConnectionsUpdateOptionalParams,\n ProjectConnectionsUpdateResponse,\n ProjectConnectionsCreateOptionalParams,\n ProjectConnectionsCreateResponse,\n ProjectConnectionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ProjectConnections operations. */\nexport class ProjectConnectionsImpl implements ProjectConnections {\n private readonly client: CognitiveServicesManagementClient;\n\n /**\n * Initialize a new instance of the class ProjectConnections class.\n * @param client Reference to the service client\n */\n constructor(client: CognitiveServicesManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the available Cognitive Services project connections under the specified project.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n options?: ProjectConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<ConnectionPropertiesV2BasicResource> {\n const iter = this.listPagingAll(\n resourceGroupName,\n accountName,\n projectName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n accountName,\n projectName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n options?: ProjectConnectionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConnectionPropertiesV2BasicResource[]> {\n let result: ProjectConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n accountName,\n projectName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n accountName,\n projectName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n options?: ProjectConnectionsListOptionalParams,\n ): AsyncIterableIterator<ConnectionPropertiesV2BasicResource> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n projectName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Delete Cognitive Services project connection by name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param connectionName Friendly name of the connection\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n connectionName: string,\n options?: ProjectConnectionsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, projectName, connectionName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Lists Cognitive Services project connection by name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param connectionName Friendly name of the connection\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n connectionName: string,\n options?: ProjectConnectionsGetOptionalParams,\n ): Promise<ProjectConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, projectName, connectionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Update Cognitive Services project connection under the specified project.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param connectionName Friendly name of the connection\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n connectionName: string,\n options?: ProjectConnectionsUpdateOptionalParams,\n ): Promise<ProjectConnectionsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, projectName, connectionName, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Create or update Cognitive Services project connection under the specified project.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param connectionName Friendly name of the connection\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n connectionName: string,\n options?: ProjectConnectionsCreateOptionalParams,\n ): Promise<ProjectConnectionsCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, projectName, connectionName, options },\n createOperationSpec,\n );\n }\n\n /**\n * Lists all the available Cognitive Services project connections under the specified project.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n options?: ProjectConnectionsListOptionalParams,\n ): Promise<ProjectConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, projectName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param projectName The name of Cognitive Services account's project.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n accountName: string,\n projectName: string,\n nextLink: string,\n options?: ProjectConnectionsListNextOptionalParams,\n ): Promise<ProjectConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, projectName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.connectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionPropertiesV2BasicResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.connectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionPropertiesV2BasicResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.connection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.connectionName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionPropertiesV2BasicResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.connection1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n Parameters.connectionName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionPropertiesV2BasicResourceArmPaginatedResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.target,\n Parameters.category,\n Parameters.includeAll,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.projectName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionPropertiesV2BasicResourceArmPaginatedResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.projectName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/operations/projects.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/operations/projects.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB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