EndpointKeys class

EndpointKeys를 나타내는 클래스입니다.

생성자

EndpointKeys(QnAMakerClientContext)

EndpointKeys를 만듭니다.

메서드

getKeys(RequestOptionsBase)
getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)
getKeys(ServiceCallback<EndpointKeysDTO>)
refreshKeys(string, RequestOptionsBase)
refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)
refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

생성자 세부 정보

EndpointKeys(QnAMakerClientContext)

EndpointKeys를 만듭니다.

new EndpointKeys(client: QnAMakerClientContext)

매개 변수

client
QnAMakerClientContext

서비스 클라이언트에 대한 참조입니다.

메서드 세부 정보

getKeys(RequestOptionsBase)

function getKeys(options?: RequestOptionsBase): Promise<EndpointKeysGetKeysResponse>

매개 변수

options
RequestOptionsBase

선택적 매개 변수

반환

Promise<Models.EndpointKeysGetKeysResponse>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

function getKeys(options: RequestOptionsBase, callback: ServiceCallback<EndpointKeysDTO>)

매개 변수

options
RequestOptionsBase

선택적 매개 변수

callback

ServiceCallback<EndpointKeysDTO>

콜백

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

매개 변수

callback

ServiceCallback<EndpointKeysDTO>

콜백

refreshKeys(string, RequestOptionsBase)

function refreshKeys(keyType: string, options?: RequestOptionsBase): Promise<EndpointKeysRefreshKeysResponse>

매개 변수

keyType

string

키 유형

options
RequestOptionsBase

선택적 매개 변수

반환

Promise<Models.EndpointKeysRefreshKeysResponse>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

function refreshKeys(keyType: string, options: RequestOptionsBase, callback: ServiceCallback<EndpointKeysDTO>)

매개 변수

keyType

string

키 유형

options
RequestOptionsBase

선택적 매개 변수

callback

ServiceCallback<EndpointKeysDTO>

콜백

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

function refreshKeys(keyType: string, callback: ServiceCallback<EndpointKeysDTO>)

매개 변수

keyType

string

키 유형

callback

ServiceCallback<EndpointKeysDTO>

콜백