-
Notifications
You must be signed in to change notification settings - Fork 18
/
atlas.service.CredentialPolicy.yml
69 lines (68 loc) · 2.29 KB
/
atlas.service.CredentialPolicy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
### YamlMime:TSType
name: CredentialPolicy
uid: azure-maps-rest.atlas.service.CredentialPolicy
package: azure-maps-rest
summary: |-
Credential policy used to sign HTTP(S) requests before sending. This is an
abstract class.
fullName: CredentialPolicy
remarks: ''
isDeprecated: false
type: class
inheritedMethods:
- name: 'log(HttpPipelineLogLevel, string)'
uid: azure-maps-rest.atlas.service.CredentialPolicy.log
package: azure-maps-rest
summary: >-
Attempt to log the provided message to the provided logger. If no logger
was provided or if
the log level does not meat the logger's threshold, then nothing will be
logged.
remarks: ''
isDeprecated: false
syntax:
content: 'function log(logLevel: HttpPipelineLogLevel, message: string)'
parameters:
- id: logLevel
type: HttpPipelineLogLevel
description: The log level of this log.
- id: message
type: string
description: |
The message of this log.
inheritanceDescription: <b>Inherited From</b> BaseRequestPolicy.log
- name: shouldLog(HttpPipelineLogLevel)
uid: azure-maps-rest.atlas.service.CredentialPolicy.shouldLog
package: azure-maps-rest
summary: Get whether or not a log with the provided log level should be logged.
remarks: ''
isDeprecated: false
syntax:
content: 'function shouldLog(logLevel: HttpPipelineLogLevel): boolean'
parameters:
- id: logLevel
type: HttpPipelineLogLevel
description: The log level of the log that will be logged.
return:
description: Whether or not a log with the provided log level should be logged.
type: boolean
inheritanceDescription: <b>Inherited From</b> BaseRequestPolicy.shouldLog
methods:
- name: sendRequest(WebResource)
uid: azure-maps-rest.atlas.service.CredentialPolicy.sendRequest
package: azure-maps-rest
summary: Sends out request.
remarks: ''
isDeprecated: false
syntax:
content: >-
function sendRequest(request: WebResource):
Promise<HttpOperationResponse>
parameters:
- id: request
type: WebResource
description: ''
return:
description: ''
type: Promise<HttpOperationResponse>
extends: BaseRequestPolicy