-
Notifications
You must be signed in to change notification settings - Fork 209
Expand file tree
/
Copy pathoutput.txt
More file actions
81 lines (73 loc) · 1.95 KB
/
Copy pathoutput.txt
File metadata and controls
81 lines (73 loc) · 1.95 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
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
>>> [CLI] bundle deployment list
[
{
"display_name": "first deployment",
"name": "deployments/abc",
"status": "DEPLOYMENT_STATUS_ACTIVE",
"target_name": "dev"
},
{
"display_name": "second deployment",
"name": "deployments/def",
"status": "DEPLOYMENT_STATUS_ACTIVE",
"target_name": "prod"
}
]
>>> [CLI] bundle deployment get deployments/abc
{
"display_name": "first deployment",
"last_version_id": "v1",
"name": "deployments/abc",
"status": "DEPLOYMENT_STATUS_ACTIVE",
"target_name": "dev"
}
>>> [CLI] bundle version list deployments/abc
[
{
"cli_version": "[DEV_VERSION]",
"name": "deployments/abc/versions/v1",
"status": "VERSION_STATUS_COMPLETED",
"version_type": ""
}
]
>>> [CLI] bundle version get deployments/abc/versions/v1
{
"cli_version": "[DEV_VERSION]",
"name": "deployments/abc/versions/v1",
"status": "VERSION_STATUS_COMPLETED",
"version_type": ""
}
>>> [CLI] bundle resource list deployments/abc
[
{
"last_action_type": "OPERATION_ACTION_TYPE_CREATE",
"last_version_id": "v1",
"name": "deployments/abc/resources/my_job",
"resource_id": "12345",
"resource_type": "DEPLOYMENT_RESOURCE_TYPE_JOB"
}
]
>>> [CLI] bundle resource get deployments/abc/resources/my_job
{
"last_action_type": "OPERATION_ACTION_TYPE_CREATE",
"last_version_id": "v1",
"name": "deployments/abc/resources/my_job",
"resource_id": "12345",
"resource_type": "DEPLOYMENT_RESOURCE_TYPE_JOB"
}
>>> [CLI] bundle operation list deployments/abc/versions/v1
[
{
"action_type": "OPERATION_ACTION_TYPE_CREATE",
"name": "deployments/abc/versions/v1/operations/my_job",
"resource_id": "12345",
"status": "OPERATION_STATUS_SUCCEEDED"
}
]
>>> [CLI] bundle operation get deployments/abc/versions/v1/operations/my_job
{
"action_type": "OPERATION_ACTION_TYPE_CREATE",
"name": "deployments/abc/versions/v1/operations/my_job",
"resource_id": "12345",
"status": "OPERATION_STATUS_SUCCEEDED"
}