다음을 통해 공유


Endpoints - Update

지정된 ID로 식별된 엔드포인트의 메타데이터를 업데이트합니다.

PATCH {endpoint}/speechtotext/v3.2/endpoints/{id}

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
endpoint
path True

string

지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus.api.cognitive.microsoft.com).

id
path True

string

uuid

엔드포인트의 식별자입니다.

요청 본문

Media Types: "application/json", "application/merge-patch+json"

Name 형식 Description
customProperties

object

이 엔터티의 사용자 지정 속성입니다. 허용되는 최대 키 길이는 64자, 허용되는 최대 값 길이는 256자, 허용되는 항목 수는 10자입니다.

description

string

개체에 대한 설명입니다.

displayName

string

개체의 이름입니다.

model

EntityReference

EntityReference

project

EntityReference

EntityReference

properties

EndpointPropertiesUpdate

EndpointPropertiesUpdate

응답

Name 형식 Description
200 OK

Endpoint

정상

헤더

Retry-After: integer

Other Status Codes

Error

오류가 발생했습니다.

보안

Ocp-Apim-Subscription-Key

여기에서 Cognitive Services 계정 키를 제공합니다.

형식: apiKey
In(다음 안에): header

Authorization

이 지역의 STS에서 반환된 JWT에서 액세스 토큰을 제공합니다. STS URL에 다음 쿼리 문자열을 추가하여 관리 범위를 토큰에 추가해야 합니다. ?scope=speechservicesmanagement

형식: apiKey
In(다음 안에): header

예제

Update an endpoint

샘플 요청

PATCH {endpoint}/speechtotext/v3.2/endpoints/afa0669c-a01e-4693-ae3a-93baf40f26d6

{
  "model": {
    "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2/models/base/8a043172-65b7-4cf3-a8b5-4449efa5a0f1"
  },
  "properties": {
    "contentLoggingEnabled": true
  },
  "displayName": "Updated endpoint with new model",
  "customProperties": {
    "key": "value"
  }
}

샘플 응답

{
  "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2/endpoints/afa0669c-a01e-4693-ae3a-93baf40f26d6",
  "model": {
    "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2/models/827712a5-f942-4997-91c3-7c6cde35600b"
  },
  "links": {
    "logs": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2/endpoints/afa0669c-a01e-4693-ae3a-93baf40f26d6/files/logs",
    "restInteractive": "https://westus.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
    "restConversation": "https://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
    "restDictation": "https://westus.stt.speech.microsoft.com/speech/recognition/dictation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
    "webSocketInteractive": "wss://westus.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
    "webSocketConversation": "wss://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
    "webSocketDictation": "wss://westus.stt.speech.microsoft.com/speech/recognition/dictation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6"
  },
  "properties": {
    "timeToLive": "PT30M",
    "loggingEnabled": true
  },
  "lastActionDateTime": "2019-01-07T11:36:07Z",
  "status": "Succeeded",
  "createdDateTime": "2019-01-07T11:34:12Z",
  "locale": "en-US",
  "displayName": "Speech endpoint",
  "description": "Example for speech endpoint"
}

정의

Name Description
DetailedErrorCode

DetailedErrorCode

Endpoint

엔드포인트

EndpointLinks

EndpointLinks

EndpointProperties

EndpointProperties

EndpointPropertiesUpdate

EndpointPropertiesUpdate

EndpointUpdate

EndpointUpdate

EntityError

EntityError

EntityReference

EntityReference

Error

오류

ErrorCode

오류 코드

InnerError

InnerError

Status

상태

DetailedErrorCode

DetailedErrorCode

Name 형식 Description
DataImportFailed

string

데이터 가져오기에 실패했습니다.

DeleteNotAllowed

string

삭제가 허용되지 않습니다.

DeployNotAllowed

string

배포가 허용되지 않습니다.

DeployingFailedModel

string

실패한 모델 배포

EmptyRequest

string

빈 요청.

EndpointCannotBeDefault

string

엔드포인트는 기본값일 수 없습니다.

EndpointNotUpdatable

string

엔드포인트를 업다이트할 수 없습니다.

EndpointWithoutLogging

string

로깅이 없는 엔드포인트입니다.

ExceededNumberOfRecordingsUris

string

녹음/녹화 URI 수를 초과했습니다.

FailedDataset

string

실패한 데이터 세트입니다.

Forbidden

string

사용할 수 없습니다.

InUseViolation

string

사용 위반.

InaccessibleCustomerStorage

string

액세스할 수 없는 고객 스토리지.

InvalidAdaptationMapping

string

잘못된 적응 매핑입니다.

InvalidBaseModel

string

잘못된 기본 모델입니다.

InvalidCallbackUri

string

콜백 URI가 잘못되었습니다.

InvalidChannels

string

채널이 잘못되었습니다.

InvalidCollection

string

컬렉션이 잘못되었습니다.

InvalidDataset

string

데이터 세트가 잘못되었습니다.

InvalidDocument

string

잘못된 문서입니다.

InvalidDocumentBatch

string

문서 일괄 처리가 잘못되었습니다.

InvalidLocale

string

잘못된 로캘입니다.

InvalidLogDate

string

잘못된 로그 날짜입니다.

InvalidLogEndTime

string

로그 종료 시간이 잘못되었습니다.

InvalidLogId

string

잘못된 로그 ID입니다.

InvalidLogStartTime

string

로그 시작 시간이 잘못되었습니다.

InvalidModel

string

모델이 잘못되었습니다.

InvalidModelUri

string

모델 URI가 잘못되었습니다.

InvalidParameter

string

잘못된 매개 변수입니다.

InvalidParameterValue

string

매개 변수 값이 잘못되었습니다.

InvalidPayload

string

잘못된 페이로드입니다.

InvalidPermissions

string

권한이 잘못되었습니다.

InvalidPrerequisite

string

필수 구성 요소가 잘못되었습니다.

InvalidProductId

string

제품 ID가 잘못되었습니다.

InvalidProject

string

프로젝트가 잘못되었습니다.

InvalidProjectKind

string

프로젝트 종류가 잘못되었습니다.

InvalidRecordingsUri

string

잘못된 녹음/녹화 URI입니다.

InvalidRequestBodyFormat

string

잘못된 요청 본문 형식입니다.

InvalidSasValidityDuration

string

sas 유효 기간이 잘못되었습니다.

InvalidSkipTokenForLogs

string

로그에 대한 건너뛰기 토큰이 잘못되었습니다.

InvalidSourceAzureResourceId

string

원본 Azure 리소스 ID가 잘못되었습니다.

InvalidSubscription

string

구독이 잘못되었습니다.

InvalidTest

string

테스트가 잘못되었습니다.

InvalidTimeToLive

string

유효하지 않은 라이브 시간입니다.

InvalidTopForLogs

string

로그의 위쪽이 잘못되었습니다.

InvalidTranscription

string

전사가 잘못되었습니다.

InvalidWebHookEventKind

string

웹 후크 이벤트 종류가 잘못되었습니다.

MissingInputRecords

string

입력 레코드가 없습니다.

ModelCopyAuthorizationExpired

string

만료된 ModelCopyAuthorization.

ModelDeploymentNotCompleteState

string

모델 배포가 완료되지 않은 상태입니다.

ModelDeprecated

string

모델은 더 이상 사용되지 않습니다.

ModelExists

string

모델이 있습니다.

ModelMismatch

string

모델 불일치.

ModelNotDeployable

string

모델을 배포할 수 없습니다.

ModelVersionIncorrect

string

모델 버전이 잘못되었습니다.

NoUtf8WithBom

string

bom이 있는 utf8이 없습니다.

OnlyOneOfUrlsOrContainerOrDataset

string

URL 또는 컨테이너 또는 데이터 세트 중 하나만 있습니다.

ProjectGenderMismatch

string

프로젝트 성별 불일치.

QuotaViolation

string

할당량 위반.

SingleDefaultEndpoint

string

단일 기본 엔드포인트입니다.

SkuLimitsExist

string

Sku 제한이 있습니다.

SubscriptionNotFound

string

구독을 찾을 수 없습니다.

UnexpectedError

string

예기치 않은 오류입니다.

UnsupportedClassBasedAdaptation

string

지원되지 않는 클래스 기반 적응.

UnsupportedDelta

string

지원되지 않는 델타입니다.

UnsupportedDynamicConfiguration

string

지원되지 않는 동적 구성입니다.

UnsupportedFilter

string

지원되지 않는 필터입니다.

UnsupportedLanguageCode

string

지원되지 않는 언어 코드입니다.

UnsupportedOrderBy

string

지원되지 않는 순서 기준입니다.

UnsupportedPagination

string

지원되지 않는 페이지 매김.

UnsupportedTimeRange

string

지원되지 않는 시간 범위입니다.

Endpoint

엔드포인트

Name 형식 Description
createdDateTime

string

개체를 만들 때의 타임스탬프를 지정합니다. 타임스탬프는 ISO 8601 날짜 및 시간 형식으로 인코딩됩니다("YYYY-MM-DDThh:mm:ssZ", 참조 https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

customProperties

object

이 엔터티의 사용자 지정 속성입니다. 허용되는 최대 키 길이는 64자, 허용되는 최대 값 길이는 256자, 허용되는 항목 수는 10자입니다.

description

string

개체에 대한 설명입니다.

displayName

string

개체의 표시 이름입니다.

lastActionDateTime

string

현재 상태가 입력된 타임스탬프를 지정합니다. 타임스탬프는 ISO 8601 날짜 및 시간 형식으로 인코딩됩니다("YYYY-MM-DDThh:mm:ssZ", 참조 https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

links

EndpointLinks

EndpointLinks

locale

string

포함된 데이터의 로캘입니다.

model

EntityReference

EntityReference

project

EntityReference

EntityReference

properties

EndpointProperties

EndpointProperties

self

string

이 엔터티의 위치입니다.

status

Status

상태
API의 현재 상태를 설명합니다.

text

string

이 엔드포인트에 대한 언어 모델을 조정하는 데 사용되는 텍스트입니다.

EndpointLinks

Name 형식 Description
logs

string

이 엔드포인트에 대한 오디오 및 전사 로그입니다. 자세한 내용은 "Endpoints_ListLogs" 작업을 참조하세요.

restConversation

string

최대 60초까지 요청에 대한 REST 엔드포인트입니다.

restDictation

string

문장 부호 받아쓰기를 지원하는 최대 60초의 요청에 대한 REST 엔드포인트입니다.

restInteractive

string

짧은 요청의 REST 엔드포인트는 최대 15초입니다.

webSocketConversation

string

여러 최종 결과가 있는 긴 요청에 대한 Speech SDK 엔드포인트입니다.

webSocketDictation

string

여러 최종 결과가 있는 긴 요청에 대한 Speech SDK 엔드포인트로, 문장 부호 받아쓰기를 지원합니다.

webSocketInteractive

string

단일 최종 결과와 함께 최대 15초의 짧은 요청에 대한 Speech SDK 엔드포인트입니다.

EndpointProperties

EndpointProperties

Name 형식 Description
email

string

작업이 완료된 경우 전자 메일 알림을 보낼 이메일 주소입니다. 전자 메일을 성공적으로 보낸 후 값이 제거됩니다.

error

EntityError

EntityError

loggingEnabled

boolean

콘텐츠 로깅(오디오 & 전사)이 배포에 사용되는지 여부를 나타내는 값입니다.

timeToLive

string

엔드포인트가 시스템에 유지되는 기간입니다. 엔드포인트가 완료 후(성공 또는 실패) 라이브 시간에 도달하면 자동으로 삭제됩니다. 이 값을 설정하지 않거나 0으로 설정하면 자동 삭제가 비활성화됩니다. 지원되는 가장 긴 기간은 31일입니다. 기간은 ISO 8601 기간으로 인코딩됩니다("PnYnMnDTnHnMnS", 참조 https://en.wikipedia.org/wiki/ISO_8601#Durations).

EndpointPropertiesUpdate

EndpointPropertiesUpdate

Name 형식 Description
contentLoggingEnabled

boolean

콘텐츠 로깅(오디오 & 전사)이 배포에 사용되는지 여부를 나타내는 값입니다.

EndpointUpdate

EndpointUpdate

Name 형식 Description
customProperties

object

이 엔터티의 사용자 지정 속성입니다. 허용되는 최대 키 길이는 64자, 허용되는 최대 값 길이는 256자, 허용되는 항목 수는 10자입니다.

description

string

개체에 대한 설명입니다.

displayName

string

개체의 이름입니다.

model

EntityReference

EntityReference

project

EntityReference

EntityReference

properties

EndpointPropertiesUpdate

EndpointPropertiesUpdate

EntityError

EntityError

Name 형식 Description
code

string

이 오류의 코드입니다.

message

string

이 오류에 대한 메시지입니다.

EntityReference

EntityReference

Name 형식 Description
self

string

참조된 엔터티의 위치입니다.

Error

오류

Name 형식 Description
code

ErrorCode

오류 코드
높은 수준의 오류 코드입니다.

details

Error[]

오류 및/또는 예상 정책에 대한 추가 지원 세부 정보입니다.

innerError

InnerError

InnerError
에서 https://microsoft.sharepoint.com/%3Aw%3A/t/CognitiveServicesPMO/EUoytcrjuJdKpeOKIK_QRC8BPtUYQpKBi8JsWyeDMRsWlQ?e=CPq8ow사용할 수 있는 Cognitive Services API 지침을 준수하는 새로운 내부 오류 형식입니다. 여기에는 필수 속성 ErrorCode, 메시지 및 선택적 속성 대상, 세부 정보(키 값 쌍), 내부 오류(중첩될 수 있음)가 포함됩니다.

message

string

높은 수준의 오류 메시지입니다.

target

string

오류의 출처입니다. 예를 들어 잘못된 문서의 경우 "documents" 또는 "document id"가 됩니다.

ErrorCode

오류 코드

Name 형식 Description
Conflict

string

충돌 오류 코드를 나타냅니다.

Forbidden

string

사용할 수 없는 오류 코드를 나타냅니다.

InternalCommunicationFailed

string

내부 통신 실패 오류 코드를 나타냅니다.

InternalServerError

string

내부 서버 오류 코드를 나타냅니다.

InvalidArgument

string

잘못된 인수 오류 코드를 나타냅니다.

InvalidRequest

string

잘못된 요청 오류 코드를 나타냅니다.

NotAllowed

string

허용되지 않는 오류 코드를 나타냅니다.

NotFound

string

찾을 수 없는 오류 코드를 나타냅니다.

PipelineError

string

파이프라인 오류 오류 코드를 나타냅니다.

ServiceUnavailable

string

서비스를 사용할 수 없음 오류 코드를 나타냅니다.

TooManyRequests

string

너무 많은 요청 오류 코드를 나타냅니다.

Unauthorized

string

권한 없는 오류 코드를 나타냅니다.

UnprocessableEntity

string

처리할 수 없는 엔터티 오류 코드를 나타냅니다.

UnsupportedMediaType

string

지원되지 않는 미디어 형식 오류 코드를 나타냅니다.

InnerError

InnerError

Name 형식 Description
code

DetailedErrorCode

DetailedErrorCode
자세한 오류 코드 열거형입니다.

details

object

오류 및/또는 예상 정책에 대한 추가 지원 세부 정보입니다.

innerError

InnerError

InnerError
에서 https://microsoft.sharepoint.com/%3Aw%3A/t/CognitiveServicesPMO/EUoytcrjuJdKpeOKIK_QRC8BPtUYQpKBi8JsWyeDMRsWlQ?e=CPq8ow사용할 수 있는 Cognitive Services API 지침을 준수하는 새로운 내부 오류 형식입니다. 여기에는 필수 속성 ErrorCode, 메시지 및 선택적 속성 대상, 세부 정보(키 값 쌍), 내부 오류(중첩될 수 있음)가 포함됩니다.

message

string

높은 수준의 오류 메시지입니다.

target

string

오류의 출처입니다. 예를 들어 잘못된 문서의 경우 "documents" 또는 "document id"가 됩니다.

Status

상태

Name 형식 Description
Failed

string

장기 실행 작업이 실패했습니다.

NotStarted

string

장기 실행 작업이 아직 시작되지 않았습니다.

Running

string

장기 실행 작업이 현재 처리 중입니다.

Succeeded

string

장기 실행 작업이 성공적으로 완료되었습니다.