Text Analysis Authoring - List Deployments
A projekthez tartozó üzembe helyezéseket sorolja fel.
GET {Endpoint}/language/authoring/analyze-text/projects/{projectName}/deployments?api-version=2022-05-01
GET {Endpoint}/language/authoring/analyze-text/projects/{projectName}/deployments?top={top}&skip={skip}&maxpagesize={maxpagesize}&api-version=2022-05-01
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Támogatott Cognitive Services-végpont (például https://.api.cognitiveservices.azure.com). |
project
|
path | True |
string maxLength: 100 |
A használni kívánt projekt neve. |
api-version
|
query | True |
string |
Ügyfél API-verziója. |
maxpagesize
|
query |
integer (int32) |
Az egyetlen válaszba belefoglalandó erőforrások maximális száma. |
|
skip
|
query |
integer (int32) |
Az első visszaadandó erőforrás gyűjteményének eltolása. |
|
top
|
query |
integer (int32) |
A gyűjteményből visszatérni kívánt erőforrások maximális száma. |
Kérelem fejléce
Name | Kötelező | Típus | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Egy language service-erőforrás előfizetési kulcsa. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
Az összes üzembe helyezés listája. |
|
Other Status Codes |
Hibaválasz. |
Biztonság
Ocp-Apim-Subscription-Key
Egy language service-erőforrás előfizetési kulcsa.
Típus:
apiKey
In:
header
Példák
Successful List Deployments
Mintakérelem
GET {Endpoint}/language/authoring/analyze-text/projects/LoanAgreements/deployments?api-version=2022-05-01
Mintaválasz
{
"value": [
{
"deploymentName": "production",
"modelId": "model1-20220418T034749-299f45b8114849538c1a750b21b05a94",
"lastTrainedDateTime": "2022-04-18T15:47:49.4334381Z",
"lastDeployedDateTime": "2022-04-18T16:03:51Z",
"deploymentExpirationDate": "2023-10-28",
"modelTrainingConfigVersion": "2022-05-01"
},
{
"deploymentName": "staging",
"modelId": "model1-20220418T034749-299f45b8114849538c1a750b21b05a94",
"lastTrainedDateTime": "2022-04-18T15:47:49.4334381Z",
"lastDeployedDateTime": "2022-04-18T15:53:04Z",
"deploymentExpirationDate": "2023-10-28",
"modelTrainingConfigVersion": "2022-05-01"
}
],
"nextLink": null
}
Definíciók
Name | Description |
---|---|
Error |
A hibaobjektum. |
Error |
Ember által olvasható hibakód. |
Error |
Hibaválasz. |
Inner |
Ember által olvasható hibakód. |
Inner |
Egy objektum, amely részletesebb információkat tartalmaz a hibáról. A Microsoft One API irányelvei szerint – https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. |
Text |
Projekttelepítést jelöl. |
Text |
A lekért üzemelő példányok listáját jelöli. |
Error
A hibaobjektum.
Name | Típus | Description |
---|---|---|
code |
A kiszolgáló által definiált hibakódok egyike. |
|
details |
Error[] |
A jelentett hibához vezető konkrét hibák részleteinek tömbje. |
innererror |
Egy objektum, amely az aktuális objektumnál pontosabb információt tartalmaz a hibáról. |
|
message |
string |
A hiba ember által olvasható ábrázolása. |
target |
string |
A hiba célja. |
ErrorCode
Ember által olvasható hibakód.
Érték | Description |
---|---|
AzureCognitiveSearchIndexLimitReached | |
AzureCognitiveSearchIndexNotFound | |
AzureCognitiveSearchNotFound | |
AzureCognitiveSearchThrottling | |
Conflict | |
Forbidden | |
InternalServerError | |
InvalidArgument | |
InvalidRequest | |
NotFound | |
OperationNotFound | |
ProjectNotFound | |
QuotaExceeded | |
ServiceUnavailable | |
Timeout | |
TooManyRequests | |
Unauthorized | |
Warning |
ErrorResponse
Hibaválasz.
Name | Típus | Description |
---|---|---|
error |
A hibaobjektum. |
InnerErrorCode
Ember által olvasható hibakód.
Érték | Description |
---|---|
AzureCognitiveSearchNotFound | |
AzureCognitiveSearchThrottling | |
EmptyRequest | |
ExtractionFailure | |
InvalidCountryHint | |
InvalidDocument | |
InvalidDocumentBatch | |
InvalidParameterValue | |
InvalidRequest | |
InvalidRequestBodyFormat | |
KnowledgeBaseNotFound | |
MissingInputDocuments | |
ModelVersionIncorrect | |
UnsupportedLanguageCode |
InnerErrorModel
Egy objektum, amely részletesebb információkat tartalmaz a hibáról. A Microsoft One API irányelvei szerint – https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
Name | Típus | Description |
---|---|---|
code |
A kiszolgáló által definiált hibakódok egyike. |
|
details |
object |
Hiba részletei. |
innererror |
Egy objektum, amely az aktuális objektumnál pontosabb információt tartalmaz a hibáról. |
|
message |
string |
Hibaüzenet. |
target |
string |
Hibacél. |
TextAnalysisAuthoringProjectDeployment
Projekttelepítést jelöl.
Name | Típus | Description |
---|---|---|
deploymentExpirationDate |
string (date) |
Az üzembe helyezés lejárati dátumát jelöli a futtatókörnyezetben. |
deploymentName |
string |
Az üzembe helyezés nevét jelöli. |
lastDeployedDateTime |
string (date-time) |
A legutóbb üzembe helyezett üzembe helyezést jelöli. |
lastTrainedDateTime |
string (date-time) |
Az üzembe helyezés utolsó betanított idejét jelöli. |
modelId |
string |
Az üzembehelyezési modellazonosítót jelöli. |
modelTrainingConfigVersion |
string |
A modell betanítási konfigurációjának verzióját jelöli. |
TextAnalysisAuthoringProjectDeployments
A lekért üzemelő példányok listáját jelöli.
Name | Típus | Description |
---|---|---|
nextLink |
string |
A következő oldal hivatkozása. |
value |
A lekért üzemelő példányok listája. |