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
|
# File 'lib/misty/openstack/api/sahara/sahara_v1_1.rb', line 6
def api
{"/v1.1/{project_id}/cluster-templates/{cluster_template_id}"=>
{:GET=>[:show_cluster_template_details],
:PUT=>[:update_cluster_templates],
:DELETE=>[:delete_cluster_template]},
"/v1.1/{project_id}/cluster-templates"=>
{:GET=>[:list_cluster_templates], :POST=>[:create_cluster_templates]},
"/v1.1/{project_id}/clusters"=>
{:GET=>[:list_available_clusters], :POST=>[:create_cluster]},
"/v1.1/{project_id}/clusters/multiple"=>{:POST=>[:create_multiple_clusters]},
"/v1.1/{project_id}/clusters/{cluster_id}"=>
{:GET=>[:show_details_of_a_cluster, :show_progress],
:DELETE=>[:delete_a_cluster],
:PUT=>[:scale_cluster],
:PATCH=>[:update_cluster]},
"/v1.1/{project_id}/data-sources/{data_source_id}"=>
{:GET=>[:show_data_source_details],
:DELETE=>[:delete_data_source],
:PUT=>[:update_data_source]},
"/v1.1/{project_id}/data-sources"=>
{:GET=>[:list_data_sources], :POST=>[:create_data_source]},
"/v1.1/{project_id}/images/{image_id}/tag"=>{:POST=>[:add_tags_to_image]},
"/v1.1/{project_id}/images/{image_id}"=>
{:GET=>[:show_image_details],
:POST=>[:register_image],
:DELETE=>[:unregister_image]},
"/v1.1/{project_id}/images/{image_id}/untag"=>
{:POST=>[:remove_tags_from_image]},
"/v1.1/{project_id}/images"=>{:GET=>[:list_images]},
"/v1.1/{project_id}/job-binaries"=>
{:GET=>[:list_job_binaries], :POST=>[:create_job_binary]},
"/v1.1/{project_id}/job-binaries/{job_binary_id}"=>
{:GET=>[:show_job_binary_details],
:DELETE=>[:delete_job_binary],
:PUT=>[:update_job_binary]},
"/v1.1/{project_id}/job-binaries/{job_binary_id}/data"=>
{:GET=>[:show_job_binary_data]},
"/v1.1/{project_id}/job-executions/{job_execution_id}/refresh-status"=>
{:GET=>[:refresh_job_execution_status]},
"/v1.1/{project_id}/job-executions"=>{:GET=>[:list_job_executions]},
"/v1.1/{project_id}/job-executions/{job_execution_id}"=>
{:GET=>[:show_job_execution_details],
:DELETE=>[:delete_job_execution],
:PATCH=>[:update_job_execution]},
"/v1.1/{project_id}/job-executions/{job_execution_id}/cancel"=>
{:GET=>[:cancel_job_execution]},
"/v1.1/{project_id}/job-types"=>{:GET=>[:list_job_types]},
"/v1.1/{project_id}/job-binary-internals/{name}"=>
{:PUT=>[:create_job_binary_internal]},
"/v1.1/{project_id}/job-binary-internals/{job_binary_internals_id}/data"=>
{:GET=>[:show_job_binary_internal_data]},
"/v1.1/{project_id}/job-binary-internals/{job_binary_internals_id}"=>
{:GET=>[:show_job_binary_internal_details],
:DELETE=>[:delete_job_binary_internal],
:PATCH=>[:update_job_binary_internal]},
"/v1.1/{project_id}/job-binary-internals"=>
{:GET=>[:list_job_binary_internals]},
"/v1.1/{project_id}/jobs/{job_id}/execute"=>{:POST=>[:run_job]},
"/v1.1/{project_id}/jobs"=>{:GET=>[:list_jobs], :POST=>[:create_job]},
"/v1.1/{project_id}/jobs/{job_id}"=>
{:GET=>[:show_job_details],
:DELETE=>[:remove_job],
:PATCH=>[:update_job_object]},
"/v1.1/{project_id}/node-group-templates"=>
{:GET=>[:list_node_group_templates], :POST=>[:create_node_group_template]},
"/v1.1/{project_id}/node-group-templates/{node_group_template_id}"=>
{:GET=>[:show_node_group_template_details],
:DELETE=>[:delete_node_group_template],
:PUT=>[:update_node_group_template]},
"/v1.1/{project_id}/plugins/{plugin_name}"=>
{:GET=>[:show_plugin_details], :PATCH=>[:update_plugin_details]},
"/v1.1/{project_id}/plugins"=>{:GET=>[:list_plugins]},
"/v1.1/{project_id}/plugins/{plugin_name}/{version}"=>
{:GET=>[:show_plugin_version_details]}}
end
|