-
Notifications
You must be signed in to change notification settings - Fork 180
/
AnonymousCredentialPolicy.yml
94 lines (92 loc) · 3.49 KB
/
AnonymousCredentialPolicy.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
### YamlMime:TSType
name: AnonymousCredentialPolicy
uid: '@azure/storage-blob.AnonymousCredentialPolicy'
package: '@azure/storage-blob'
summary: >-
AnonymousCredentialPolicy is used with HTTP(S) requests that read public
resources
or for use with Shared Access Signatures (SAS).
fullName: AnonymousCredentialPolicy
remarks: ''
isDeprecated: false
type: class
constructors:
- name: AnonymousCredentialPolicy(RequestPolicy, RequestPolicyOptionsLike)
uid: '@azure/storage-blob.AnonymousCredentialPolicy.constructor'
package: '@azure/storage-blob'
summary: Creates an instance of AnonymousCredentialPolicy.
remarks: ''
isDeprecated: false
syntax:
content: >-
new AnonymousCredentialPolicy(nextPolicy: RequestPolicy, options:
RequestPolicyOptionsLike)
parameters:
- id: nextPolicy
type: <xref uid="@azure/storage-blob.IHttpClient" />
description: ''
- id: options
type: <xref uid="@azure/storage-blob.RequestPolicyOptions" />
description: ''
inheritedMethods:
- name: log(HttpPipelineLogLevel, string)
uid: '@azure/storage-blob.AnonymousCredentialPolicy.log'
package: '@azure/storage-blob'
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: <xref uid="@azure/core-http-compat.HttpPipelineLogLevel" />
description: The log level of this log.
- id: message
type: string
description: The message of this log.
inheritanceDescription: >-
<b>Inherited From</b>
[CredentialPolicy.log](xref:@azure/storage-blob.CredentialPolicy.log)
- name: sendRequest(WebResourceLike)
uid: '@azure/storage-blob.AnonymousCredentialPolicy.sendRequest'
package: '@azure/storage-blob'
summary: Sends out request.
remarks: ''
isDeprecated: false
syntax:
content: 'function sendRequest(request: WebResourceLike): Promise<CompatResponse>'
parameters:
- id: request
type: <xref uid="@azure/storage-blob.WebResource" />
description: ''
return:
description: ''
type: >-
Promise<<xref uid="@azure/storage-blob.HttpOperationResponse"
/>>
inheritanceDescription: >-
<b>Inherited From</b>
[CredentialPolicy.sendRequest](xref:@azure/storage-blob.CredentialPolicy.sendRequest)
- name: shouldLog(HttpPipelineLogLevel)
uid: '@azure/storage-blob.AnonymousCredentialPolicy.shouldLog'
package: '@azure/storage-blob'
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: <xref uid="@azure/core-http-compat.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>
[CredentialPolicy.shouldLog](xref:@azure/storage-blob.CredentialPolicy.shouldLog)
extends: <xref uid="@azure/storage-blob.CredentialPolicy" />