-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathazure.iot.deviceprovisioning.yml
40 lines (34 loc) · 1.08 KB
/
azure.iot.deviceprovisioning.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
### YamlMime:PythonPackage
uid: azure.iot.deviceprovisioning
name: deviceprovisioning
fullName: azure.iot.deviceprovisioning
type: rootImport
functions:
- uid: azure.iot.deviceprovisioning.generate_sas_token
name: generate_sas_token
summary: 'Generate a sas token according to the given audience, policy, key and
expiry
:param str audience: The audience / endpoint to create the SAS token for
:param str policy: The policy this token represents
:param str key: The key used to sign this token
:param int expiry: Token expiry time in milliseconds
:returns: SAS token as a string literal
:rtype: str'
signature: 'generate_sas_token(audience: str, policy: str, key: str, expiry: int
= 3600) -> str'
parameters:
- name: audience
isRequired: true
- name: policy
isRequired: true
- name: key
isRequired: true
- name: expiry
defaultValue: '3600'
classes:
- azure.iot.deviceprovisioning.DeviceProvisioningClient
packages:
- azure.iot.deviceprovisioning.aio
- azure.iot.deviceprovisioning.operations
enums:
- azure.iot.deviceprovisioning.ApiVersion