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(RequestOptionsBase)
function getKeys(options?: RequestOptionsBase): Promise<EndpointKeysGetKeysResponse>
Parameters
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<EndpointKeysGetKeysResponse>
Promise<Models.EndpointKeysGetKeysResponse>
getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)
function getKeys(options: RequestOptionsBase, callback: ServiceCallback<EndpointKeysDTO>)
Parameters
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
getKeys(ServiceCallback<EndpointKeysDTO>)
function getKeys(callback: ServiceCallback<EndpointKeysDTO>)
Parameters
- callback
The callback
refreshKeys(string, RequestOptionsBase)
function refreshKeys(keyType: string, options?: RequestOptionsBase): Promise<EndpointKeysRefreshKeysResponse>
Parameters
- keyType
-
string
Type of Key
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<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
The callback
refreshKeys(string, ServiceCallback<EndpointKeysDTO>)
function refreshKeys(keyType: string, callback: ServiceCallback<EndpointKeysDTO>)
Parameters
- keyType
-
string
Type of Key
- callback
The callback