EndpointKeys class
Class representing a EndpointKeys.
Constructors
| Endpoint |
Create a EndpointKeys. |
Methods
Constructor Details
EndpointKeys(QnAMakerClientContext)
Create a EndpointKeys.
new EndpointKeys(client: QnAMakerClientContext)
Parameters
- client
- QnAMakerClientContext
Reference to the service client.
Method Details
getKeys(msRest.RequestOptionsBase)
function getKeys(options?: msRest.RequestOptionsBase): Promise<Models.EndpointKeysGetKeysResponse>
Parameters
- options
- msRest.RequestOptionsBase
Returns
Promise<Models.EndpointKeysGetKeysResponse>
Promise<Models.EndpointKeysGetKeysResponse>
getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)
function getKeys(options: RequestOptionsBase, callback: ServiceCallback<EndpointKeysDTO>)
Parameters
- options
-
RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<EndpointKeysDTO>
The callback
getKeys(ServiceCallback<EndpointKeysDTO>)
function getKeys(callback: ServiceCallback<EndpointKeysDTO>)
Parameters
- callback
-
ServiceCallback<EndpointKeysDTO>
The callback
refreshKeys(string, msRest.RequestOptionsBase)
function refreshKeys(keyType: string, options?: msRest.RequestOptionsBase): Promise<Models.EndpointKeysRefreshKeysResponse>
Parameters
- keyType
-
string
Type of Key
- options
- msRest.RequestOptionsBase
Returns
Promise<Models.EndpointKeysRefreshKeysResponse>
Promise<Models.EndpointKeysRefreshKeysResponse>
refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)
function refreshKeys(keyType: string, options: RequestOptionsBase, callback: ServiceCallback<EndpointKeysDTO>)
Parameters
- keyType
-
string
Type of Key
- options
-
RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<EndpointKeysDTO>
The callback
refreshKeys(string, ServiceCallback<EndpointKeysDTO>)
function refreshKeys(keyType: string, callback: ServiceCallback<EndpointKeysDTO>)
Parameters
- keyType
-
string
Type of Key
- callback
-
ServiceCallback<EndpointKeysDTO>
The callback