@azure-rest/communication-job-router package
인터페이스
형식 별칭
| AcceptParameters | |
| AzureCommunicationRoutingServiceClient | |
| CancelParameters | |
| ClassificationPolicyResourceMergeAndPatch |
리소스 인스턴스입니다. |
| CloseParameters | |
| CompleteParameters | |
| DeclineParameters | |
| DeleteClassificationPolicyParameters | |
| DeleteDistributionPolicyParameters | |
| DeleteExceptionPolicyParameters | |
| DeleteJobParameters | |
| DeleteQueueParameters | |
| DeleteWorkerParameters | |
| DistributionMode |
배포 모드를 정의하기 위한 추상 기본 클래스입니다. |
| DistributionModeOutput |
배포 모드를 정의하기 위한 추상 기본 클래스입니다. |
| DistributionPolicyResourceMergeAndPatch |
리소스 인스턴스입니다. |
| ExceptionAction |
예외가 트리거될 때 수행할 작업입니다. |
| ExceptionActionOutput |
예외가 트리거될 때 수행할 작업입니다. |
| ExceptionPolicyResourceMergeAndPatch |
리소스 인스턴스입니다. |
| ExceptionTrigger |
예외 규칙에 대한 트리거를 정의하기 위한 추상 기본 클래스입니다. |
| ExceptionTriggerOutput |
예외 규칙에 대한 트리거를 정의하기 위한 추상 기본 클래스입니다. |
| GetArrayType |
배열 형식을 추출하는 도우미 형식 |
| GetClassificationPolicyParameters | |
| GetDistributionPolicyParameters | |
| GetExceptionPolicyParameters | |
| GetInQueuePositionParameters | |
| GetJobParameters | |
| GetPage |
페이지와 다음 페이지에 대한 링크(있는 경우)를 가져오는 방법을 정의하는 사용자 지정 함수의 형식입니다. |
| GetQueueParameters | |
| GetQueueStatisticsParameters | |
| GetWorkerParameters | |
| JobMatchingMode |
다음 형식 중 하나의 일치 모드: QueueAndMatchMode: 작업이 큐에 대기된 직후에 작업자를 작업에 일치해야 할 때 사용됩니다. ScheduleAndSuspendMode: 나중에 큐에 대기할 작업을 예약하는 데 사용됩니다. 지정된 시간에 작업과 작업자의 일치가 자동으로 시작되지 않습니다. SuspendMode: 작업과 작업자를 일치시킬 때 일시 중단해야 하는 경우에 사용됩니다. |
| JobMatchingModeOutput |
다음 형식 중 하나의 일치 모드: QueueAndMatchMode: 작업이 큐에 대기된 직후에 작업자를 작업에 일치해야 할 때 사용됩니다. ScheduleAndSuspendMode: 나중에 큐에 대기할 작업을 예약하는 데 사용됩니다. 지정된 시간에 작업과 작업자의 일치가 자동으로 시작되지 않습니다. SuspendMode: 작업과 작업자를 일치시킬 때 일시 중단해야 하는 경우에 사용됩니다. |
| ListClassificationPoliciesParameters | |
| ListDistributionPoliciesParameters | |
| ListExceptionPoliciesParameters | |
| ListJobsParameters | |
| ListQueuesParameters | |
| ListWorkersParameters | |
| PagedClassificationPolicyOutput |
ClassificationPolicy 항목의 페이징된 컬렉션 |
| PagedDistributionPolicyOutput |
DistributionPolicy 항목의 페이징된 컬렉션 |
| PagedExceptionPolicyOutput |
ExceptionPolicy 항목의 페이징된 컬렉션 |
| PagedRouterJobOutput |
RouterJob 항목의 페이징된 컬렉션 |
| PagedRouterQueueOutput |
RouterQueue 항목의 페이징된 컬렉션 |
| PagedRouterWorkerOutput |
RouterWorker 항목의 페이징된 컬렉션 |
| PaginateReturn |
응답 형식에서 페이징된 요소의 형식을 유추하는 도우미 유형입니다. 이 형식은 페이지 항목이 있는 응답의 속성을 나타내는 itemName 속성에서 특히 x-ms-pageable에 대한 swagger 정보를 기반으로 생성됩니다. 기본값은 |
| QueueSelectorAttachment |
분류 정책에서 작업에 대한 큐를 확인하기 위한 큐 선택기의 첨부 파일입니다. |
| QueueSelectorAttachmentOutput |
분류 정책에서 작업에 대한 큐를 확인하기 위한 큐 선택기의 첨부 파일입니다. |
| ReclassifyParameters | |
| RouterJobResourceMergeAndPatch |
리소스 인스턴스입니다. |
| RouterQueueResourceMergeAndPatch |
리소스 인스턴스입니다. |
| RouterRule |
다음 형식 중 하나의 규칙인 StaticRule: 입력에 관계없이 항상 동일한 결과를 반환하는 정적 규칙을 제공하는 규칙입니다. DirectMapRule: 입력 레이블과 동일한 레이블을 반환하는 규칙입니다. ExpressionRule: 인라인 식 규칙을 제공하는 규칙입니다. FunctionRule: HTTP 트리거 Azure Function에 대한 바인딩을 제공하는 규칙입니다. WebhookRule: OAuth2.0 인증 프로토콜에 따라 웹 서버로 바인딩을 제공하는 규칙입니다. |
| RouterRuleOutput |
다음 형식 중 하나의 규칙인 StaticRule: 입력에 관계없이 항상 동일한 결과를 반환하는 정적 규칙을 제공하는 규칙입니다. DirectMapRule: 입력 레이블과 동일한 레이블을 반환하는 규칙입니다. ExpressionRule: 인라인 식 규칙을 제공하는 규칙입니다. FunctionRule: HTTP 트리거 Azure Function에 대한 바인딩을 제공하는 규칙입니다. WebhookRule: OAuth2.0 인증 프로토콜에 따라 웹 서버로 바인딩을 제공하는 규칙입니다. |
| RouterWorkerResourceMergeAndPatch |
리소스 인스턴스입니다. |
| UnassignParameters | |
| UpsertClassificationPolicyParameters | |
| UpsertDistributionPolicyParameters | |
| UpsertExceptionPolicyParameters | |
| UpsertJobParameters | |
| UpsertQueueParameters | |
| UpsertWorkerParameters | |
| WorkerSelectorAttachment |
작업자 선택기를 작업에 연결하는 첨부 파일입니다. |
| WorkerSelectorAttachmentOutput |
작업자 선택기를 작업에 연결하는 첨부 파일입니다. |
함수
함수 세부 정보
default(string, ClientOptions)
AzureCommunicationRoutingServiceClient 새 인스턴스 초기화
function default(connectionString: string, options: ClientOptions): AzureCommunicationRoutingServiceClient
매개 변수
- connectionString
-
string
Communication Services 리소스의 connectionString 또는 URL입니다.
- options
- ClientOptions
모든 선택적 매개 변수에 대한 매개 변수
반환
default(string, KeyCredential | TokenCredential, ClientOptions)
AzureCommunicationRoutingServiceClient 새 인스턴스 초기화
function default(endpoint: string, credentialOrOptions?: KeyCredential | TokenCredential, options?: ClientOptions): AzureCommunicationRoutingServiceClient
매개 변수
- endpoint
-
string
Communication Services 리소스의 엔드포인트입니다.
- credentialOrOptions
키 또는 토큰 자격 증명입니다.
- options
- ClientOptions
모든 선택적 매개 변수에 대한 매개 변수
반환
isUnexpected(UpsertClassificationPolicy200Response | UpsertClassificationPolicy201Response | UpsertClassificationPolicyDefaultResponse)
function isUnexpected(response: UpsertClassificationPolicy200Response | UpsertClassificationPolicy201Response | UpsertClassificationPolicyDefaultResponse): response
매개 변수
반환
response
isUnexpected(GetClassificationPolicy200Response | GetClassificationPolicyDefaultResponse)
function isUnexpected(response: GetClassificationPolicy200Response | GetClassificationPolicyDefaultResponse): response
매개 변수
반환
response
isUnexpected(DeleteClassificationPolicy204Response | DeleteClassificationPolicyDefaultResponse)
function isUnexpected(response: DeleteClassificationPolicy204Response | DeleteClassificationPolicyDefaultResponse): response
매개 변수
반환
response
isUnexpected(ListClassificationPolicies200Response | ListClassificationPoliciesDefaultResponse)
function isUnexpected(response: ListClassificationPolicies200Response | ListClassificationPoliciesDefaultResponse): response
매개 변수
반환
response
isUnexpected(UpsertDistributionPolicy200Response | UpsertDistributionPolicy201Response | UpsertDistributionPolicyDefaultResponse)
function isUnexpected(response: UpsertDistributionPolicy200Response | UpsertDistributionPolicy201Response | UpsertDistributionPolicyDefaultResponse): response
매개 변수
반환
response
isUnexpected(GetDistributionPolicy200Response | GetDistributionPolicyDefaultResponse)
function isUnexpected(response: GetDistributionPolicy200Response | GetDistributionPolicyDefaultResponse): response
매개 변수
반환
response
isUnexpected(DeleteDistributionPolicy204Response | DeleteDistributionPolicyDefaultResponse)
function isUnexpected(response: DeleteDistributionPolicy204Response | DeleteDistributionPolicyDefaultResponse): response
매개 변수
반환
response
isUnexpected(ListDistributionPolicies200Response | ListDistributionPoliciesDefaultResponse)
function isUnexpected(response: ListDistributionPolicies200Response | ListDistributionPoliciesDefaultResponse): response
매개 변수
반환
response
isUnexpected(UpsertExceptionPolicy200Response | UpsertExceptionPolicy201Response | UpsertExceptionPolicyDefaultResponse)
function isUnexpected(response: UpsertExceptionPolicy200Response | UpsertExceptionPolicy201Response | UpsertExceptionPolicyDefaultResponse): response
매개 변수
반환
response
isUnexpected(GetExceptionPolicy200Response | GetExceptionPolicyDefaultResponse)
function isUnexpected(response: GetExceptionPolicy200Response | GetExceptionPolicyDefaultResponse): response
매개 변수
반환
response
isUnexpected(DeleteExceptionPolicy204Response | DeleteExceptionPolicyDefaultResponse)
function isUnexpected(response: DeleteExceptionPolicy204Response | DeleteExceptionPolicyDefaultResponse): response
매개 변수
반환
response
isUnexpected(ListExceptionPolicies200Response | ListExceptionPoliciesDefaultResponse)
function isUnexpected(response: ListExceptionPolicies200Response | ListExceptionPoliciesDefaultResponse): response
매개 변수
반환
response
isUnexpected(UpsertQueue200Response | UpsertQueue201Response | UpsertQueueDefaultResponse)
function isUnexpected(response: UpsertQueue200Response | UpsertQueue201Response | UpsertQueueDefaultResponse): response
매개 변수
반환
response
isUnexpected(GetQueue200Response | GetQueueDefaultResponse)
function isUnexpected(response: GetQueue200Response | GetQueueDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(DeleteQueue204Response | DeleteQueueDefaultResponse)
function isUnexpected(response: DeleteQueue204Response | DeleteQueueDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(ListQueues200Response | ListQueuesDefaultResponse)
function isUnexpected(response: ListQueues200Response | ListQueuesDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(UpsertJob200Response | UpsertJob201Response | UpsertJobDefaultResponse)
function isUnexpected(response: UpsertJob200Response | UpsertJob201Response | UpsertJobDefaultResponse): response
매개 변수
반환
response
isUnexpected(GetJob200Response | GetJobDefaultResponse)
function isUnexpected(response: GetJob200Response | GetJobDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(DeleteJob204Response | DeleteJobDefaultResponse)
function isUnexpected(response: DeleteJob204Response | DeleteJobDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(Reclassify200Response | ReclassifyDefaultResponse)
function isUnexpected(response: Reclassify200Response | ReclassifyDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(Cancel200Response | CancelDefaultResponse)
function isUnexpected(response: Cancel200Response | CancelDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(Complete200Response | CompleteDefaultResponse)
function isUnexpected(response: Complete200Response | CompleteDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(Close200Response | CloseDefaultResponse)
function isUnexpected(response: Close200Response | CloseDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(ListJobs200Response | ListJobsDefaultResponse)
function isUnexpected(response: ListJobs200Response | ListJobsDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(GetInQueuePosition200Response | GetInQueuePositionDefaultResponse)
function isUnexpected(response: GetInQueuePosition200Response | GetInQueuePositionDefaultResponse): response
매개 변수
반환
response
isUnexpected(Unassign200Response | UnassignDefaultResponse)
function isUnexpected(response: Unassign200Response | UnassignDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(Accept200Response | AcceptDefaultResponse)
function isUnexpected(response: Accept200Response | AcceptDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(Decline200Response | DeclineDefaultResponse)
function isUnexpected(response: Decline200Response | DeclineDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(GetQueueStatistics200Response | GetQueueStatisticsDefaultResponse)
function isUnexpected(response: GetQueueStatistics200Response | GetQueueStatisticsDefaultResponse): response
매개 변수
반환
response
isUnexpected(UpsertWorker200Response | UpsertWorker201Response | UpsertWorkerDefaultResponse)
function isUnexpected(response: UpsertWorker200Response | UpsertWorker201Response | UpsertWorkerDefaultResponse): response
매개 변수
반환
response
isUnexpected(GetWorker200Response | GetWorkerDefaultResponse)
function isUnexpected(response: GetWorker200Response | GetWorkerDefaultResponse): response
매개 변수
- response
반환
response
isUnexpected(DeleteWorker204Response | DeleteWorkerDefaultResponse)
function isUnexpected(response: DeleteWorker204Response | DeleteWorkerDefaultResponse): response
매개 변수
반환
response
isUnexpected(ListWorkers200Response | ListWorkersDefaultResponse)
function isUnexpected(response: ListWorkers200Response | ListWorkersDefaultResponse): response
매개 변수
- response
반환
response
paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)
자동 등록 x-ms-pageable 확장의 사양을 따르는 초기 응답의 결과를 페이지를 매긴 도우미
function paginate<TResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>
매개 변수
- client
- Client
다음 페이지 요청을 보내는 데 사용할 클라이언트
- initialResponse
-
TResponse
nextLink 및 요소의 현재 페이지를 포함하는 초기 응답
- options
-
PagingOptions<TResponse>
반환
PagedAsyncIterableIterator<PaginateReturn<TResponse>>
- 요소를 반복하는 PagedAsyncIterableIterator