-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathACS::CR::GetAuthorizationToken.json
More file actions
56 lines (56 loc) · 1.49 KB
/
ACS::CR::GetAuthorizationToken.json
File metadata and controls
56 lines (56 loc) · 1.49 KB
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
{
"FormatVersion": "OOS-2019-06-01",
"Description": {
"name-en": "ACS::CR::GetAuthorizationToken",
"name-zh-cn": "获取容器镜像临时凭证(CR)",
"en": "Gets the temporary account and temporary password used to log in to the instance",
"zh-cn": "获取用于登录实例的临时账号和临时密码"
},
"Parameters": {
"instanceId": {
"Label": {
"en": "InstanceId",
"zh-cn": "实例ID"
},
"Type": "String",
"AssociationProperty": "ALIYUN::ACR::Instance"
}
},
"Tasks": [
{
"Name": "getAuthorizationToken",
"Action": "ACS::ExecuteAPI",
"Description": {
"en": "Get the temporary account and temporary password used to log in to the instance",
"zh-cn": "获取用于登录实例的临时账号和临时密码."
},
"Properties": {
"Service": "CR",
"API": "GetAuthorizationToken",
"Parameters": {
"InstanceId": "{{ instanceId }}"
}
},
"Outputs": {
"tempUsername": {
"Type": "String",
"ValueSelector": "TempUsername"
},
"authorizationToken": {
"Type": "String",
"ValueSelector": "AuthorizationToken"
}
}
}
],
"Outputs": {
"tempUsername": {
"Type": "String",
"Value": "{{ getAuthorizationToken.tempUsername }}"
},
"authorizationToken": {
"Type": "String",
"Value": "{{ getAuthorizationToken.authorizationToken }}"
}
}
}