-
Notifications
You must be signed in to change notification settings - Fork 0
/
component.json
70 lines (70 loc) · 2.3 KB
/
component.json
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
{
"title": "StreamAnalyticsManagementClient (streamanalytics-subscriptions)",
"docsUrl": "",
"url": "https://api.apis.guru/v2/specs/azure.com/streamanalytics-subscriptions/2016-03-01/swagger.json",
"envVars": {
"OAUTH_CLIENT_ID": {
"description": "OAuth Client ID"
},
"OAUTH_CLIENT_SECRET": {
"description": "OAuth Client Secret"
}
},
"credentials": {
"fields": {
"server": {
"label": "Server",
"viewClass": "SelectView",
"model": [
"https://management.azure.com/",
"--- Custom URL"
],
"required": true
},
"otherServer": {
"label": "Custom Server URL",
"viewClass": "TextFieldView"
},
"oauth2": {
"label": "Azure Active Directory OAuth2 Flow",
"viewClass": "OAuthFieldView"
}
},
"oauth2": {
"client_id": "{{OAUTH_CLIENT_ID}}",
"client_secret": "{{OAUTH_CLIENT_SECRET}}",
"auth_uri": "https://login.microsoftonline.com/common/oauth2/authorize",
"token_uri": "https://login.microsoftonline.com/common/oauth2/token",
"scopes": [
"user_impersonation"
]
}
},
"triggers": {
"startFlow": {
"main": "./lib/triggers/startFlow.js",
"type": "polling",
"title": "Start Flow",
"fields": {}
}
},
"actions": {
"Subscriptions_ListQuotas": {
"main": "./lib/actions/Subscriptions_ListQuotas.js",
"title": "Retrieves the subscription's current quota information in a particular region.",
"description": "Retrieves the subscription's current quota information in a particular region.",
"fields": {
"verbose": {
"viewClass": "CheckBoxView",
"label": "Debug this step (log more data)"
}
},
"metadata": {
"in": "./lib/schemas/Subscriptions_ListQuotas.in.json",
"out": {
"type": "object"
}
}
}
}
}