autosde_openapi_client 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -7
  3. data/docs/AbstractCapabilityApi.md +6 -6
  4. data/docs/AccountApi.md +9 -9
  5. data/docs/AddressApi.md +6 -6
  6. data/docs/AuthenticationApi.md +1 -1
  7. data/docs/AutoSDEProjectApi.md +6 -6
  8. data/docs/AutoSDERoleApi.md +6 -6
  9. data/docs/CapabilityTranslationApi.md +6 -6
  10. data/docs/HostApi.md +6 -6
  11. data/docs/HostVolumeConnectionApi.md +6 -6
  12. data/docs/Job.md +29 -0
  13. data/docs/JobApi.md +104 -0
  14. data/docs/JobCreate.md +19 -0
  15. data/docs/NativeCapabilityApi.md +6 -6
  16. data/docs/ProfileApi.md +6 -6
  17. data/docs/ProvisioningStrategyApi.md +6 -6
  18. data/docs/ServiceApi.md +9 -9
  19. data/docs/ServiceResourceAttachmentApi.md +6 -6
  20. data/docs/Snapshot.md +25 -0
  21. data/docs/SnapshotApi.md +204 -0
  22. data/docs/SnapshotCreate.md +23 -0
  23. data/docs/StorageHost.md +29 -0
  24. data/docs/StorageHostApi.md +256 -0
  25. data/docs/StorageHostCreate.md +37 -0
  26. data/docs/StorageHostResponse.md +31 -0
  27. data/docs/StorageHostUpdate.md +21 -0
  28. data/docs/StorageHostVolumeMapping.md +25 -0
  29. data/docs/StorageHostVolumeMappingApi.md +204 -0
  30. data/docs/StorageHostVolumeMappingCreate.md +23 -0
  31. data/docs/StorageResourceApi.md +9 -9
  32. data/docs/StorageSystemApi.md +6 -6
  33. data/docs/SystemTypeApi.md +6 -6
  34. data/docs/Volume.md +2 -0
  35. data/docs/VolumeApi.md +9 -9
  36. data/docs/VolumeCreate.md +2 -0
  37. data/docs/VolumeResponse.md +2 -0
  38. data/docs/VolumeSafeDeleteApi.md +6 -6
  39. data/docs/VolumeUpdate.md +3 -1
  40. data/lib/openapi_client.rb +108 -0
  41. data/lib/{autosde_openapi_client → openapi_client}/api/abstract_capability_api.rb +19 -15
  42. data/lib/{autosde_openapi_client → openapi_client}/api/account_api.rb +25 -20
  43. data/lib/{autosde_openapi_client → openapi_client}/api/address_api.rb +19 -15
  44. data/lib/{autosde_openapi_client → openapi_client}/api/authentication_api.rb +5 -4
  45. data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_project_api.rb +19 -15
  46. data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_role_api.rb +19 -15
  47. data/lib/{autosde_openapi_client → openapi_client}/api/capability_translation_api.rb +19 -15
  48. data/lib/{autosde_openapi_client → openapi_client}/api/host_api.rb +19 -15
  49. data/lib/{autosde_openapi_client → openapi_client}/api/host_volume_connection_api.rb +19 -15
  50. data/lib/openapi_client/api/job_api.rb +136 -0
  51. data/lib/{autosde_openapi_client → openapi_client}/api/native_capability_api.rb +19 -15
  52. data/lib/{autosde_openapi_client → openapi_client}/api/profile_api.rb +19 -15
  53. data/lib/{autosde_openapi_client → openapi_client}/api/provisioning_strategy_api.rb +19 -15
  54. data/lib/{autosde_openapi_client → openapi_client}/api/service_api.rb +25 -20
  55. data/lib/{autosde_openapi_client → openapi_client}/api/service_resource_attachment_api.rb +19 -15
  56. data/lib/openapi_client/api/snapshot_api.rb +254 -0
  57. data/lib/openapi_client/api/storage_host_api.rb +321 -0
  58. data/lib/openapi_client/api/storage_host_volume_mapping_api.rb +254 -0
  59. data/lib/{autosde_openapi_client → openapi_client}/api/storage_resource_api.rb +25 -20
  60. data/lib/{autosde_openapi_client → openapi_client}/api/storage_system_api.rb +19 -15
  61. data/lib/{autosde_openapi_client → openapi_client}/api/system_type_api.rb +19 -15
  62. data/lib/{autosde_openapi_client → openapi_client}/api/volume_api.rb +25 -20
  63. data/lib/{autosde_openapi_client → openapi_client}/api/volume_safe_delete_api.rb +19 -15
  64. data/lib/{autosde_openapi_client → openapi_client}/api_client.rb +46 -45
  65. data/lib/{autosde_openapi_client → openapi_client}/api_error.rb +1 -1
  66. data/lib/{autosde_openapi_client → openapi_client}/configuration.rb +34 -7
  67. data/lib/{autosde_openapi_client → openapi_client}/models/abstract_capability.rb +9 -5
  68. data/lib/{autosde_openapi_client → openapi_client}/models/account.rb +9 -5
  69. data/lib/{autosde_openapi_client → openapi_client}/models/account_post_request.rb +9 -5
  70. data/lib/{autosde_openapi_client → openapi_client}/models/account_post_response.rb +9 -5
  71. data/lib/{autosde_openapi_client → openapi_client}/models/address.rb +9 -5
  72. data/lib/{autosde_openapi_client → openapi_client}/models/address_create.rb +9 -5
  73. data/lib/{autosde_openapi_client → openapi_client}/models/auth_response.rb +9 -5
  74. data/lib/{autosde_openapi_client → openapi_client}/models/authentication.rb +9 -5
  75. data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_project.rb +9 -5
  76. data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_role.rb +9 -5
  77. data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation.rb +9 -5
  78. data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation_create.rb +9 -5
  79. data/lib/{autosde_openapi_client → openapi_client}/models/host.rb +9 -5
  80. data/lib/{autosde_openapi_client → openapi_client}/models/host_create.rb +9 -5
  81. data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection.rb +9 -5
  82. data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection_create.rb +9 -5
  83. data/lib/openapi_client/models/job.rb +272 -0
  84. data/lib/openapi_client/models/job_create.rb +222 -0
  85. data/lib/{autosde_openapi_client → openapi_client}/models/native_capability.rb +9 -5
  86. data/lib/{autosde_openapi_client → openapi_client}/models/profile.rb +9 -5
  87. data/lib/{autosde_openapi_client → openapi_client}/models/provisioning_strategy.rb +9 -5
  88. data/lib/{autosde_openapi_client → openapi_client}/models/service.rb +9 -5
  89. data/lib/{autosde_openapi_client → openapi_client}/models/service_abstract_capability_value.rb +9 -5
  90. data/lib/{autosde_openapi_client → openapi_client}/models/service_create.rb +9 -5
  91. data/lib/{autosde_openapi_client → openapi_client}/models/service_resource_attachment.rb +9 -5
  92. data/lib/openapi_client/models/snapshot.rb +290 -0
  93. data/lib/openapi_client/models/snapshot_create.rb +280 -0
  94. data/lib/openapi_client/models/storage_host.rb +309 -0
  95. data/lib/openapi_client/models/storage_host_create.rb +360 -0
  96. data/lib/openapi_client/models/storage_host_response.rb +325 -0
  97. data/lib/openapi_client/models/storage_host_update.rb +293 -0
  98. data/lib/openapi_client/models/storage_host_volume_mapping.rb +291 -0
  99. data/lib/openapi_client/models/storage_host_volume_mapping_create.rb +283 -0
  100. data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource.rb +9 -5
  101. data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_create.rb +9 -5
  102. data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_response.rb +9 -5
  103. data/lib/{autosde_openapi_client → openapi_client}/models/storage_system.rb +9 -5
  104. data/lib/{autosde_openapi_client → openapi_client}/models/storage_system_create.rb +9 -5
  105. data/lib/{autosde_openapi_client → openapi_client}/models/system_type.rb +9 -5
  106. data/lib/{autosde_openapi_client → openapi_client}/models/system_type_create.rb +9 -5
  107. data/lib/{autosde_openapi_client → openapi_client}/models/volume.rb +20 -6
  108. data/lib/{autosde_openapi_client → openapi_client}/models/volume_create.rb +20 -6
  109. data/lib/{autosde_openapi_client → openapi_client}/models/volume_response.rb +20 -6
  110. data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete.rb +9 -5
  111. data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete_create.rb +9 -5
  112. data/lib/{autosde_openapi_client → openapi_client}/models/volume_update.rb +22 -6
  113. data/lib/{autosde_openapi_client → openapi_client}/version.rb +2 -2
  114. data/{autosde_openapi_client.gemspec → openapi_client.gemspec} +3 -4
  115. data/spec/api/abstract_capability_api_spec.rb +1 -1
  116. data/spec/api/account_api_spec.rb +1 -1
  117. data/spec/api/address_api_spec.rb +1 -1
  118. data/spec/api/authentication_api_spec.rb +1 -1
  119. data/spec/api/auto_sde_project_api_spec.rb +1 -1
  120. data/spec/api/auto_sde_role_api_spec.rb +1 -1
  121. data/spec/api/capability_translation_api_spec.rb +1 -1
  122. data/spec/api/host_api_spec.rb +1 -1
  123. data/spec/api/host_volume_connection_api_spec.rb +1 -1
  124. data/spec/api/job_api_spec.rb +54 -0
  125. data/spec/api/native_capability_api_spec.rb +1 -1
  126. data/spec/api/profile_api_spec.rb +1 -1
  127. data/spec/api/provisioning_strategy_api_spec.rb +1 -1
  128. data/spec/api/service_api_spec.rb +1 -1
  129. data/spec/api/service_resource_attachment_api_spec.rb +1 -1
  130. data/spec/api/snapshot_api_spec.rb +74 -0
  131. data/spec/api/storage_host_api_spec.rb +74 -0
  132. data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
  133. data/spec/api/storage_resource_api_spec.rb +1 -1
  134. data/spec/api/storage_system_api_spec.rb +1 -1
  135. data/spec/api/system_type_api_spec.rb +1 -1
  136. data/spec/api/volume_api_spec.rb +1 -1
  137. data/spec/api/volume_safe_delete_api_spec.rb +1 -1
  138. data/spec/api_client_spec.rb +1 -1
  139. data/spec/configuration_spec.rb +1 -1
  140. data/spec/models/abstract_capability_spec.rb +1 -1
  141. data/spec/models/account_post_request_spec.rb +1 -1
  142. data/spec/models/account_post_response_spec.rb +1 -1
  143. data/spec/models/account_spec.rb +1 -1
  144. data/spec/models/address_create_spec.rb +1 -1
  145. data/spec/models/address_spec.rb +1 -1
  146. data/spec/models/auth_response_spec.rb +1 -1
  147. data/spec/models/authentication_spec.rb +1 -1
  148. data/spec/models/auto_sde_project_spec.rb +1 -1
  149. data/spec/models/auto_sde_role_spec.rb +1 -1
  150. data/spec/models/capability_translation_create_spec.rb +1 -1
  151. data/spec/models/capability_translation_spec.rb +1 -1
  152. data/spec/models/host_create_spec.rb +1 -1
  153. data/spec/models/host_spec.rb +1 -1
  154. data/spec/models/host_volume_connection_create_spec.rb +1 -1
  155. data/spec/models/host_volume_connection_spec.rb +1 -1
  156. data/spec/models/job_create_spec.rb +47 -0
  157. data/spec/models/job_spec.rb +77 -0
  158. data/spec/models/native_capability_spec.rb +1 -1
  159. data/spec/models/profile_spec.rb +1 -1
  160. data/spec/models/provisioning_strategy_spec.rb +1 -1
  161. data/spec/models/service_abstract_capability_value_spec.rb +1 -1
  162. data/spec/models/service_create_spec.rb +1 -1
  163. data/spec/models/service_resource_attachment_spec.rb +1 -1
  164. data/spec/models/service_spec.rb +1 -1
  165. data/spec/models/snapshot_create_spec.rb +63 -0
  166. data/spec/models/snapshot_spec.rb +69 -0
  167. data/spec/models/storage_host_create_spec.rb +109 -0
  168. data/spec/models/storage_host_response_spec.rb +87 -0
  169. data/spec/models/storage_host_spec.rb +81 -0
  170. data/spec/models/storage_host_update_spec.rb +61 -0
  171. data/spec/models/storage_host_volume_mapping_create_spec.rb +63 -0
  172. data/spec/models/storage_host_volume_mapping_spec.rb +69 -0
  173. data/spec/models/storage_resource_create_spec.rb +1 -1
  174. data/spec/models/storage_resource_response_spec.rb +1 -1
  175. data/spec/models/storage_resource_spec.rb +1 -1
  176. data/spec/models/storage_system_create_spec.rb +1 -1
  177. data/spec/models/storage_system_spec.rb +1 -1
  178. data/spec/models/system_type_create_spec.rb +1 -1
  179. data/spec/models/system_type_spec.rb +1 -1
  180. data/spec/models/volume_create_spec.rb +1 -1
  181. data/spec/models/volume_response_spec.rb +1 -1
  182. data/spec/models/volume_safe_delete_create_spec.rb +1 -1
  183. data/spec/models/volume_safe_delete_spec.rb +1 -1
  184. data/spec/models/volume_spec.rb +1 -1
  185. data/spec/models/volume_update_spec.rb +7 -1
  186. data/spec/spec_helper.rb +2 -2
  187. metadata +142 -106
  188. data/lib/autosde_openapi_client.rb +0 -94
  189. data/site_manager_oas.json +0 -3992
@@ -1,94 +0,0 @@
1
- =begin
2
- #Site Manager API
3
-
4
- #Site Manager API
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: autosde@il.ibm.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
10
-
11
- =end
12
-
13
- # Common files
14
- require 'autosde_openapi_client/api_client'
15
- require 'autosde_openapi_client/api_error'
16
- require 'autosde_openapi_client/version'
17
- require 'autosde_openapi_client/configuration'
18
-
19
- # Models
20
- require 'autosde_openapi_client/models/abstract_capability'
21
- require 'autosde_openapi_client/models/account'
22
- require 'autosde_openapi_client/models/account_post_request'
23
- require 'autosde_openapi_client/models/account_post_response'
24
- require 'autosde_openapi_client/models/address'
25
- require 'autosde_openapi_client/models/address_create'
26
- require 'autosde_openapi_client/models/auth_response'
27
- require 'autosde_openapi_client/models/authentication'
28
- require 'autosde_openapi_client/models/auto_sde_project'
29
- require 'autosde_openapi_client/models/auto_sde_role'
30
- require 'autosde_openapi_client/models/capability_translation'
31
- require 'autosde_openapi_client/models/capability_translation_create'
32
- require 'autosde_openapi_client/models/host'
33
- require 'autosde_openapi_client/models/host_create'
34
- require 'autosde_openapi_client/models/host_volume_connection'
35
- require 'autosde_openapi_client/models/host_volume_connection_create'
36
- require 'autosde_openapi_client/models/native_capability'
37
- require 'autosde_openapi_client/models/profile'
38
- require 'autosde_openapi_client/models/provisioning_strategy'
39
- require 'autosde_openapi_client/models/service'
40
- require 'autosde_openapi_client/models/service_abstract_capability_value'
41
- require 'autosde_openapi_client/models/service_create'
42
- require 'autosde_openapi_client/models/service_resource_attachment'
43
- require 'autosde_openapi_client/models/storage_resource'
44
- require 'autosde_openapi_client/models/storage_resource_create'
45
- require 'autosde_openapi_client/models/storage_resource_response'
46
- require 'autosde_openapi_client/models/storage_system'
47
- require 'autosde_openapi_client/models/storage_system_create'
48
- require 'autosde_openapi_client/models/system_type'
49
- require 'autosde_openapi_client/models/system_type_create'
50
- require 'autosde_openapi_client/models/volume'
51
- require 'autosde_openapi_client/models/volume_create'
52
- require 'autosde_openapi_client/models/volume_response'
53
- require 'autosde_openapi_client/models/volume_safe_delete'
54
- require 'autosde_openapi_client/models/volume_safe_delete_create'
55
- require 'autosde_openapi_client/models/volume_update'
56
-
57
- # APIs
58
- require 'autosde_openapi_client/api/abstract_capability_api'
59
- require 'autosde_openapi_client/api/account_api'
60
- require 'autosde_openapi_client/api/address_api'
61
- require 'autosde_openapi_client/api/authentication_api'
62
- require 'autosde_openapi_client/api/auto_sde_project_api'
63
- require 'autosde_openapi_client/api/auto_sde_role_api'
64
- require 'autosde_openapi_client/api/capability_translation_api'
65
- require 'autosde_openapi_client/api/host_api'
66
- require 'autosde_openapi_client/api/host_volume_connection_api'
67
- require 'autosde_openapi_client/api/native_capability_api'
68
- require 'autosde_openapi_client/api/profile_api'
69
- require 'autosde_openapi_client/api/provisioning_strategy_api'
70
- require 'autosde_openapi_client/api/service_api'
71
- require 'autosde_openapi_client/api/service_resource_attachment_api'
72
- require 'autosde_openapi_client/api/storage_resource_api'
73
- require 'autosde_openapi_client/api/storage_system_api'
74
- require 'autosde_openapi_client/api/system_type_api'
75
- require 'autosde_openapi_client/api/volume_api'
76
- require 'autosde_openapi_client/api/volume_safe_delete_api'
77
-
78
- module OpenapiClient
79
- class << self
80
- # Customize default settings for the SDK using block.
81
- # OpenapiClient.configure do |config|
82
- # config.username = "xxx"
83
- # config.password = "xxx"
84
- # end
85
- # If no block given, return the default Configuration object.
86
- def configure
87
- if block_given?
88
- yield(Configuration.default)
89
- else
90
- Configuration.default
91
- end
92
- end
93
- end
94
- end
@@ -1,3992 +0,0 @@
1
- {
2
- "components": {
3
- "schemas": {
4
- "AbstractCapability": {
5
- "description": "Abstract capabilities are the storage system feature capabilities, in general terminology.",
6
- "properties": {
7
- "name": {
8
- "description": "name",
9
- "type": "string",
10
- "x-model": {
11
- "unique": true
12
- }
13
- },
14
- "uuid": {
15
- "description": "uuid",
16
- "type": "string",
17
- "x-model": {
18
- "default": "generate_uuid",
19
- "editable": false,
20
- "unique": true
21
- }
22
- }
23
- }
24
- },
25
- "Account": {
26
- "description": "doc-todo: General information about 'account' needed - what account - or type of account. something to guide the user.",
27
- "properties": {
28
- "description": {
29
- "description": "description",
30
- "type": "string"
31
- },
32
- "name": {
33
- "description": "name",
34
- "type": "string",
35
- "x-model": {
36
- "null": true,
37
- "unique": true
38
- }
39
- },
40
- "uuid": {
41
- "description": "uuid",
42
- "type": "string",
43
- "x-model": {
44
- "default": "generate_uuid",
45
- "editable": false,
46
- "unique": true
47
- }
48
- }
49
- }
50
- },
51
- "AccountPostRequest": {
52
- "description": "TODO add description",
53
- "properties": {
54
- "description": {
55
- "description": "description",
56
- "type": "string"
57
- },
58
- "name": {
59
- "description": "name",
60
- "type": "string",
61
- "x-model": {
62
- "null": true,
63
- "unique": true
64
- }
65
- }
66
- },
67
- "x-serializer": "Account"
68
- },
69
- "AccountPostResponse": {
70
- "description": "TODO add description",
71
- "properties": {
72
- "description": {
73
- "description": "description",
74
- "type": "string"
75
- },
76
- "id": {
77
- "description": "id",
78
- "type": "string"
79
- },
80
- "name": {
81
- "description": "name",
82
- "type": "string",
83
- "x-model": {
84
- "null": true,
85
- "unique": true
86
- }
87
- },
88
- "uuid": {
89
- "description": "uuid",
90
- "type": "string",
91
- "x-model": {
92
- "default": "generate_uuid",
93
- "editable": false,
94
- "unique": true
95
- }
96
- }
97
- },
98
- "x-serializer": "Account"
99
- },
100
- "Address": {
101
- "description": "Address",
102
- "properties": {
103
- "chap_name": {
104
- "description": "chap_name",
105
- "type": "string",
106
- "x-model": {
107
- "blank": true,
108
- "null": true
109
- }
110
- },
111
- "chap_secret": {
112
- "description": "chap_secret",
113
- "type": "string",
114
- "x-model": {
115
- "blank": true,
116
- "null": true
117
- }
118
- },
119
- "component_state": {
120
- "description": "component_state",
121
- "enum": [
122
- "PENDING_CREATION",
123
- "CREATED",
124
- "DELETED",
125
- "PENDING_DELETION",
126
- "MODIFICATION",
127
- "PENDING_MODIFICATION"
128
- ],
129
- "maxLength": 32,
130
- "type": "string"
131
- },
132
- "iqn": {
133
- "description": "",
134
- "type": "string",
135
- "x-model": {
136
- "blank": true,
137
- "null": true
138
- }
139
- },
140
- "port_type": {
141
- "description": "port_type",
142
- "enum": [
143
- "ISCSI",
144
- "FC",
145
- "NVMeFC"
146
- ],
147
- "type": "string",
148
- "x-model": {
149
- "blank": true,
150
- "null": true
151
- }
152
- },
153
- "secondary_ip": {
154
- "description": "secondary_ip",
155
- "type": "string",
156
- "x-model": {
157
- "blank": true,
158
- "null": true
159
- }
160
- },
161
- "uuid": {
162
- "description": "uuid",
163
- "type": "string",
164
- "x-model": {
165
- "default": "generate_uuid",
166
- "editable": false,
167
- "unique": true
168
- }
169
- },
170
- "wwpn": {
171
- "description": "wwpn",
172
- "type": "string",
173
- "x-model": {
174
- "blank": true,
175
- "null": true
176
- }
177
- }
178
- }
179
- },
180
- "AddressCreate": {
181
- "description": "TODO add description",
182
- "properties": {
183
- "chap_name": {
184
- "description": "chap_name",
185
- "type": "string",
186
- "x-model": {
187
- "blank": true,
188
- "null": true
189
- }
190
- },
191
- "chap_secret": {
192
- "description": "chap_secret",
193
- "type": "string",
194
- "x-model": {
195
- "blank": true,
196
- "null": true
197
- }
198
- },
199
- "component_state": {
200
- "description": "component_state",
201
- "enum": [
202
- "PENDING_CREATION",
203
- "CREATED",
204
- "DELETED",
205
- "PENDING_DELETION",
206
- "MODIFICATION",
207
- "PENDING_MODIFICATION"
208
- ],
209
- "maxLength": 32,
210
- "type": "string"
211
- },
212
- "iqn": {
213
- "description": "",
214
- "type": "string",
215
- "x-model": {
216
- "blank": true,
217
- "null": true
218
- }
219
- },
220
- "name": {
221
- "default": null,
222
- "description": "name",
223
- "type": "string"
224
- },
225
- "port_type": {
226
- "description": "port_type",
227
- "enum": [
228
- "ISCSI",
229
- "FC",
230
- "NVMeFC"
231
- ],
232
- "type": "string",
233
- "x-model": {
234
- "blank": true,
235
- "null": true
236
- }
237
- },
238
- "secondary_ip": {
239
- "description": "secondary_ip",
240
- "type": "string",
241
- "x-model": {
242
- "blank": true,
243
- "null": true
244
- }
245
- },
246
- "wwpn": {
247
- "description": "wwpn",
248
- "type": "string",
249
- "x-model": {
250
- "blank": true,
251
- "null": true
252
- }
253
- }
254
- },
255
- "x-serializer": "Address"
256
- },
257
- "AuthResponse": {
258
- "description": "TODO add description",
259
- "properties": {
260
- "token": {
261
- "description": "token",
262
- "type": "string"
263
- }
264
- },
265
- "x-serializer": "Authentication"
266
- },
267
- "Authentication": {
268
- "description": "Authentication",
269
- "properties": {
270
- "password": {
271
- "description": "password",
272
- "type": "string"
273
- },
274
- "username": {
275
- "description": "username",
276
- "type": "string"
277
- }
278
- }
279
- },
280
- "AutoSDEProject": {
281
- "description": "Use this for AutoSDE project information.",
282
- "properties": {
283
- "cores": {
284
- "description": "The number of instance cores that are allowed per project. doc-todo: what is a CORE? ",
285
- "type": "integer"
286
- },
287
- "description": {
288
- "description": "Project description.",
289
- "format": "text",
290
- "type": "string"
291
- },
292
- "fixed_ips": {
293
- "description": "The number of fixed IP addresses that are allowed per project.\nThis number must be equal to or greater than the number of allowed instances.\n",
294
- "type": "integer"
295
- },
296
- "floating_ips": {
297
- "description": "The number of floating IP addresses that are allowed\n per project.",
298
- "type": "integer"
299
- },
300
- "groups": {
301
- "description": "The maximum number of groups.",
302
- "type": "integer"
303
- },
304
- "injected_file_content_bytes": {
305
- "description": "The number of bytes of content that are allowed for\neach injected file.\n",
306
- "format": "float",
307
- "type": "number"
308
- },
309
- "injected_file_path_bytes": {
310
- "description": "The number of bytes that are allowed\nfor each injected file path.\n",
311
- "type": "integer"
312
- },
313
- "instances": {
314
- "description": "The number of instances that are allowed per project. doc-todo: what is an instance? does it mean how many projects can exist at once?",
315
- "type": "integer"
316
- },
317
- "key_pairs": {
318
- "description": "The number of key pairs that are allowed per user. doc-todo: what is a key pair?",
319
- "type": "integer"
320
- },
321
- "max_total_backup_gigabytes": {
322
- "description": "Maximum capacity (GB) allocated to backups.",
323
- "format": "float",
324
- "type": "number"
325
- },
326
- "max_total_backups": {
327
- "description": "Maximum number of backups.\nA backup is a full copy of a volume stored in an external service.\nThe service can be configured.\nThe only supported service is Object Storage. doc-todo:WHAT IS OBJECT STORAGE?\nA backup can subsequently be restored from the external service to\neither\n the same volume that the backup was originally taken from or\n to a new volume. Backup and restore operations can only be carried out on\n volumes that are in an unattached and available state.\n",
328
- "type": "integer"
329
- },
330
- "max_total_snapshots": {
331
- "description": "Maximum number of snapshots allowed per project.",
332
- "type": "integer"
333
- },
334
- "max_total_volume_gigabytes": {
335
- "description": "Maximum number of gigabytes allocated to volumes per project.",
336
- "format": "float",
337
- "type": "number"
338
- },
339
- "max_total_volumes": {
340
- "description": "Maximum number of provisioned volumes in the project.",
341
- "type": "integer"
342
- },
343
- "metadata_items": {
344
- "description": "The number of metadata items that are allowed for each instance.",
345
- "type": "integer"
346
- },
347
- "name": {
348
- "description": "Project name.",
349
- "type": "string",
350
- "x-model": {
351
- "unique": true
352
- }
353
- },
354
- "per_volume_gigabytes": {
355
- "description": "The size (GB) of volumes in request\n that are allowed per volume.",
356
- "format": "float",
357
- "type": "number"
358
- },
359
- "ram": {
360
- "description": "The amount of instance RAM (MB) that are allowed per project. doc-todo: RAM per project, per specific project....?",
361
- "format": "float",
362
- "type": "number"
363
- },
364
- "security_groups": {
365
- "description": "The number of security groups that are allowed per project.",
366
- "type": "integer"
367
- },
368
- "uuid": {
369
- "description": "UUID",
370
- "type": "string",
371
- "x-model": {
372
- "default": "generate_uuid",
373
- "editable": false,
374
- "unique": true
375
- }
376
- }
377
- },
378
- "type": "object"
379
- },
380
- "AutoSDERole": {
381
- "description": "doc-todo: what types of roles is this defining?",
382
- "properties": {
383
- "name": {
384
- "description": "name",
385
- "type": "string",
386
- "x-model": {
387
- "unique": true
388
- }
389
- },
390
- "uuid": {
391
- "description": "uuid",
392
- "type": "string",
393
- "x-model": {
394
- "default": "generate_uuid",
395
- "editable": false,
396
- "unique": true
397
- }
398
- }
399
- }
400
- },
401
- "CapabilityTranslation": {
402
- "description": "doc-todo: what is capabilityTranslationProps used for / what is it?.",
403
- "properties": {
404
- "abstract_capability": {
405
- "$ref": "#/components/schemas/AbstractCapability"
406
- },
407
- "abstract_capability_name": {
408
- "description": "abstract_capability_name",
409
- "type": "string",
410
- "x-serializer": {
411
- "source": "abstract_capability.name"
412
- }
413
- },
414
- "default_value": {
415
- "default": " ",
416
- "description": "default_value",
417
- "type": "string"
418
- },
419
- "native_capability": {
420
- "$ref": "#/components/schemas/NativeCapability"
421
- },
422
- "native_capability_name": {
423
- "description": "native_capability_name",
424
- "type": "string",
425
- "x-serializer": {
426
- "source": "native_capability.name"
427
- }
428
- },
429
- "published": {
430
- "description": "published",
431
- "type": "boolean",
432
- "x-serializer": {
433
- "source": "native_capability.published"
434
- }
435
- },
436
- "system_type_id": {
437
- "description": "system_type_id",
438
- "type": "string",
439
- "x-serializer": {
440
- "source": "native_capability.system_type.id"
441
- }
442
- },
443
- "to_abstract_value_mapper": {
444
- "description": "Maximum value length is 32 characters.",
445
- "maxLength": 32,
446
- "type": "string"
447
- },
448
- "to_native_value_mapper": {
449
- "description": "Maximum value length is 32 characters.",
450
- "maxLength": 32,
451
- "type": "string"
452
- },
453
- "uuid": {
454
- "description": "uuid",
455
- "type": "string",
456
- "x-model": {
457
- "default": "generate_uuid",
458
- "editable": false,
459
- "unique": true
460
- }
461
- }
462
- },
463
- "x-meta": {
464
- "unique_together": "('native_capability','abstract_capability')"
465
- }
466
- },
467
- "CapabilityTranslationCreate": {
468
- "description": "TODO add description",
469
- "properties": {
470
- "abstract_capability_name": {
471
- "description": "abstract_capability_name",
472
- "type": "string",
473
- "x-serializer": {
474
- "source": "abstract_capability.name"
475
- }
476
- },
477
- "default_value": {
478
- "default": " ",
479
- "description": "default_value",
480
- "type": "string"
481
- },
482
- "native_capability_name": {
483
- "description": "native_capability_name",
484
- "type": "string",
485
- "x-serializer": {
486
- "source": "native_capability.name"
487
- }
488
- },
489
- "published": {
490
- "description": "published",
491
- "type": "boolean",
492
- "x-serializer": {
493
- "source": "native_capability.published"
494
- }
495
- },
496
- "system_type_id": {
497
- "description": "system_type_id",
498
- "type": "string",
499
- "x-serializer": {
500
- "source": "native_capability.system_type.id"
501
- }
502
- },
503
- "to_abstract_value_mapper": {
504
- "description": "Maximum value length is 32 characters.",
505
- "maxLength": 32,
506
- "type": "string"
507
- },
508
- "to_native_value_mapper": {
509
- "description": "Maximum value length is 32 characters.",
510
- "maxLength": 32,
511
- "type": "string"
512
- },
513
- "uuid": {
514
- "description": "uuid",
515
- "type": "string",
516
- "x-model": {
517
- "default": "generate_uuid",
518
- "editable": false,
519
- "unique": true
520
- }
521
- }
522
- },
523
- "x-serializer": "CapabilityTranslation"
524
- },
525
- "Host": {
526
- "description": "doc-todo: what 'host' is this defining or being filled in for? Fill in host properties: name, UUID, management IP address, and IQN.",
527
- "properties": {
528
- "component_state": {
529
- "description": "component_state",
530
- "enum": [
531
- "PENDING_CREATION",
532
- "CREATED",
533
- "DELETED",
534
- "PENDING_DELETION",
535
- "MODIFICATION",
536
- "PENDING_MODIFICATION"
537
- ],
538
- "maxLength": 32,
539
- "type": "string"
540
- },
541
- "description": {
542
- "description": "description",
543
- "type": "string",
544
- "x-model": {
545
- "blank": true,
546
- "null": true
547
- }
548
- },
549
- "io_groups": {
550
- "description": "io_groups",
551
- "type": "string",
552
- "x-model": {
553
- "blank": true,
554
- "null": true
555
- }
556
- },
557
- "management_ip": {
558
- "description": "management_ip",
559
- "type": "string",
560
- "x-model": {
561
- "blank": true,
562
- "null": true,
563
- "unique": true
564
- }
565
- },
566
- "name": {
567
- "description": "The Virtual Host Name",
568
- "type": "string",
569
- "x-model": {
570
- "unique": true
571
- }
572
- },
573
- "os_type": {
574
- "default": "Unknown",
575
- "description": "os_type",
576
- "enum": [
577
- "Linux",
578
- "Windows",
579
- "Unknown"
580
- ],
581
- "type": "string"
582
- },
583
- "uuid": {
584
- "description": "uuid",
585
- "type": "string",
586
- "x-model": {
587
- "default": "generate_uuid",
588
- "editable": false,
589
- "unique": true
590
- }
591
- }
592
- }
593
- },
594
- "HostCreate": {
595
- "description": "TODO add description",
596
- "properties": {
597
- "chap_name": {
598
- "description": "chap_name",
599
- "type": "string",
600
- "x-model": {
601
- "blank": true,
602
- "null": true
603
- }
604
- },
605
- "chap_secret": {
606
- "description": "chap_secret",
607
- "type": "string",
608
- "x-model": {
609
- "blank": true,
610
- "null": true
611
- }
612
- },
613
- "component_state": {
614
- "description": "component_state",
615
- "enum": [
616
- "PENDING_CREATION",
617
- "CREATED",
618
- "DELETED",
619
- "PENDING_DELETION",
620
- "MODIFICATION",
621
- "PENDING_MODIFICATION"
622
- ],
623
- "maxLength": 32,
624
- "type": "string"
625
- },
626
- "description": {
627
- "description": "description",
628
- "type": "string",
629
- "x-model": {
630
- "blank": true,
631
- "null": true
632
- }
633
- },
634
- "io_groups": {
635
- "description": "io_groups",
636
- "type": "string",
637
- "x-model": {
638
- "blank": true,
639
- "null": true
640
- }
641
- },
642
- "iqn": {
643
- "description": "",
644
- "type": "string",
645
- "x-model": {
646
- "blank": true,
647
- "null": true
648
- }
649
- },
650
- "management_ip": {
651
- "description": "management_ip",
652
- "type": "string",
653
- "x-model": {
654
- "blank": true,
655
- "null": true,
656
- "unique": true
657
- }
658
- },
659
- "name": {
660
- "description": "The Virtual Host Name",
661
- "type": "string",
662
- "x-model": {
663
- "unique": true
664
- }
665
- },
666
- "os_type": {
667
- "default": "Unknown",
668
- "description": "os_type",
669
- "enum": [
670
- "Linux",
671
- "Windows",
672
- "Unknown"
673
- ],
674
- "type": "string"
675
- },
676
- "port_type": {
677
- "description": "port_type",
678
- "enum": [
679
- "ISCSI",
680
- "FC",
681
- "NVMeFC"
682
- ],
683
- "type": "string",
684
- "x-model": {
685
- "blank": true,
686
- "null": true
687
- }
688
- },
689
- "secondary_ip": {
690
- "description": "secondary_ip",
691
- "type": "string",
692
- "x-model": {
693
- "blank": true,
694
- "null": true
695
- }
696
- },
697
- "wwpn": {
698
- "description": "wwpn",
699
- "type": "string",
700
- "x-model": {
701
- "blank": true,
702
- "null": true
703
- }
704
- }
705
- },
706
- "x-serializer": "Host"
707
- },
708
- "HostVolumeConnection": {
709
- "description": "Fill in the host volume connection properties.",
710
- "properties": {
711
- "component_state": {
712
- "description": "component_state",
713
- "enum": [
714
- "PENDING_CREATION",
715
- "CREATED",
716
- "DELETED",
717
- "PENDING_DELETION",
718
- "MODIFICATION",
719
- "PENDING_MODIFICATION"
720
- ],
721
- "maxLength": 32,
722
- "type": "string"
723
- },
724
- "host": {
725
- "$ref": "#/components/schemas/Host"
726
- },
727
- "uuid": {
728
- "description": "uuid",
729
- "type": "string",
730
- "x-model": {
731
- "default": "generate_uuid",
732
- "editable": false,
733
- "unique": true
734
- }
735
- },
736
- "volume": {
737
- "$ref": "#/components/schemas/Volume"
738
- }
739
- }
740
- },
741
- "HostVolumeConnectionCreate": {
742
- "description": "TODO add description",
743
- "properties": {
744
- "component_state": {
745
- "description": "component_state",
746
- "enum": [
747
- "PENDING_CREATION",
748
- "CREATED",
749
- "DELETED",
750
- "PENDING_DELETION",
751
- "MODIFICATION",
752
- "PENDING_MODIFICATION"
753
- ],
754
- "maxLength": 32,
755
- "type": "string"
756
- },
757
- "host": {
758
- "$ref": "#/components/schemas/Host",
759
- "x-serializer": {
760
- "slug": "uuid"
761
- }
762
- },
763
- "volume": {
764
- "$ref": "#/components/schemas/Volume",
765
- "x-serializer": {
766
- "slug": "uuid"
767
- }
768
- }
769
- },
770
- "x-serializer": "HostVolumeConnection"
771
- },
772
- "NativeCapability": {
773
- "description": "NativeCapability",
774
- "properties": {
775
- "name": {
776
- "description": "name",
777
- "type": "string"
778
- },
779
- "published": {
780
- "default": true,
781
- "description": "published",
782
- "type": "boolean"
783
- },
784
- "system_type": {
785
- "$ref": "#/components/schemas/SystemType"
786
- },
787
- "uuid": {
788
- "description": "uuid",
789
- "type": "string",
790
- "x-model": {
791
- "default": "generate_uuid",
792
- "editable": false,
793
- "unique": true
794
- }
795
- }
796
- },
797
- "x-meta": {
798
- "unique_together": "('name', 'system_type',)"
799
- }
800
- },
801
- "Profile": {
802
- "description": "doc-todo: which profile is being defined??",
803
- "properties": {
804
- "account": {
805
- "$ref": "#/components/schemas/Account",
806
- "x-serializer": {
807
- "description": "doc-todo: which/who's account information.",
808
- "slug": "uuid"
809
- }
810
- },
811
- "description": {
812
- "default": "",
813
- "description": "description",
814
- "type": "string"
815
- },
816
- "name": {
817
- "description": "name",
818
- "type": "string"
819
- },
820
- "type": {
821
- "description": "Type values are 'Native' or 'Abstract'. doc-todo:I need to know that I got these values correct.",
822
- "enum": [
823
- "Native",
824
- "Abstract"
825
- ],
826
- "type": "string"
827
- },
828
- "uuid": {
829
- "description": "uuid",
830
- "type": "string",
831
- "x-model": {
832
- "default": "generate_uuid",
833
- "editable": false,
834
- "unique": true
835
- }
836
- }
837
- }
838
- },
839
- "ProvisioningStrategy": {
840
- "description": "Used for capacity provisioning details.",
841
- "properties": {
842
- "name": {
843
- "description": "name",
844
- "enum": [
845
- "logical_free_capacity"
846
- ],
847
- "maxLength": 20,
848
- "type": "string",
849
- "x-model": {
850
- "unique": true
851
- }
852
- },
853
- "uuid": {
854
- "description": "uuid",
855
- "type": "string",
856
- "x-model": {
857
- "default": "generate_uuid",
858
- "editable": false,
859
- "unique": true
860
- }
861
- }
862
- }
863
- },
864
- "Service": {
865
- "description": "Service",
866
- "properties": {
867
- "capability_values": {
868
- "$ref": "#/components/schemas/ServiceAbstractCapabilityValue",
869
- "x-model": {
870
- "blank": true,
871
- "null": true,
872
- "related_name": "'capability_values'",
873
- "relation": "ManyToMany"
874
- }
875
- },
876
- "component_state": {
877
- "description": "component_state",
878
- "enum": [
879
- "PENDING_CREATION",
880
- "CREATED",
881
- "DELETED",
882
- "PENDING_DELETION",
883
- "MODIFICATION",
884
- "PENDING_MODIFICATION"
885
- ],
886
- "maxLength": 32,
887
- "type": "string"
888
- },
889
- "description": {
890
- "default": "",
891
- "description": "description",
892
- "type": "string"
893
- },
894
- "name": {
895
- "description": "name",
896
- "type": "string"
897
- },
898
- "profile": {
899
- "$ref": "#/components/schemas/Profile",
900
- "x-model": {
901
- "blank": true,
902
- "on_delete": "models.DO_NOTHING"
903
- },
904
- "x-serializer": {
905
- "slug": "uuid"
906
- }
907
- },
908
- "project": {
909
- "$ref": "#/components/schemas/AutoSDEProject",
910
- "x-model": {
911
- "on_delete": "models.CASCADE"
912
- },
913
- "x-serializer": {
914
- "slug": "uuid"
915
- }
916
- },
917
- "provisioning_strategy": {
918
- "$ref": "#/components/schemas/ProvisioningStrategy",
919
- "x-model": {
920
- "blank": true,
921
- "null": true,
922
- "on_delete": "models.SET_NULL",
923
- "related_name": "'services'"
924
- }
925
- },
926
- "resource_service": {
927
- "default": false,
928
- "description": "resource_service",
929
- "type": "boolean"
930
- },
931
- "uuid": {
932
- "description": "uuid",
933
- "type": "string",
934
- "x-model": {
935
- "default": "generate_uuid",
936
- "editable": false,
937
- "unique": true
938
- }
939
- },
940
- "version": {
941
- "default": 1,
942
- "description": "The version of the service",
943
- "type": "integer"
944
- }
945
- },
946
- "x-meta": {
947
- "unique_together": "('name', 'project', 'version')"
948
- }
949
- },
950
- "ServiceAbstractCapabilityValue": {
951
- "description": "ServiceAbstractCapabilityValue",
952
- "properties": {
953
- "abstract_capability": {
954
- "$ref": "#/components/schemas/AbstractCapability"
955
- },
956
- "uuid": {
957
- "description": "uuid",
958
- "type": "string",
959
- "x-model": {
960
- "default": "generate_uuid",
961
- "editable": false,
962
- "unique": true
963
- }
964
- },
965
- "value": {
966
- "description": "value",
967
- "type": "string"
968
- }
969
- },
970
- "x-meta": {
971
- "unique_together": "(\"abstract_capability\", \"value\",)"
972
- }
973
- },
974
- "ServiceCreate": {
975
- "description": "TODO add description",
976
- "properties": {
977
- "capability_values": {
978
- "$ref": "#/components/schemas/ServiceAbstractCapabilityValue",
979
- "x-model": {
980
- "blank": true,
981
- "null": true,
982
- "related_name": "'capability_values'",
983
- "relation": "ManyToMany"
984
- }
985
- },
986
- "component_state": {
987
- "description": "component_state",
988
- "enum": [
989
- "PENDING_CREATION",
990
- "CREATED",
991
- "DELETED",
992
- "PENDING_DELETION",
993
- "MODIFICATION",
994
- "PENDING_MODIFICATION"
995
- ],
996
- "maxLength": 32,
997
- "type": "string"
998
- },
999
- "description": {
1000
- "default": "",
1001
- "description": "description",
1002
- "type": "string"
1003
- },
1004
- "name": {
1005
- "description": "name",
1006
- "type": "string"
1007
- },
1008
- "profile": {
1009
- "$ref": "#/components/schemas/Profile",
1010
- "x-model": {
1011
- "blank": true,
1012
- "on_delete": "models.DO_NOTHING"
1013
- },
1014
- "x-serializer": {
1015
- "slug": "uuid"
1016
- }
1017
- },
1018
- "project": {
1019
- "$ref": "#/components/schemas/AutoSDEProject",
1020
- "x-model": {
1021
- "on_delete": "models.CASCADE"
1022
- },
1023
- "x-serializer": {
1024
- "slug": "uuid"
1025
- }
1026
- },
1027
- "provisioning_strategy": {
1028
- "$ref": "#/components/schemas/ProvisioningStrategy",
1029
- "x-model": {
1030
- "blank": true,
1031
- "null": true,
1032
- "on_delete": "models.SET_NULL",
1033
- "related_name": "'services'"
1034
- }
1035
- },
1036
- "uuid": {
1037
- "description": "uuid",
1038
- "type": "string",
1039
- "x-model": {
1040
- "default": "generate_uuid",
1041
- "editable": false,
1042
- "unique": true
1043
- }
1044
- },
1045
- "version": {
1046
- "default": 1,
1047
- "description": "The version of the service",
1048
- "type": "integer"
1049
- }
1050
- },
1051
- "x-serializer": "Service"
1052
- },
1053
- "ServiceResourceAttachment": {
1054
- "description": "ServiceResourceAttachment",
1055
- "properties": {
1056
- "compliant": {
1057
- "default": false,
1058
- "description": "compliant",
1059
- "type": "boolean"
1060
- },
1061
- "service": {
1062
- "$ref": "#/components/schemas/Service",
1063
- "x-model": {
1064
- "null": true
1065
- },
1066
- "x-serializer": {
1067
- "slug": "uuid"
1068
- }
1069
- },
1070
- "storage_resource": {
1071
- "$ref": "#/components/schemas/StorageResource",
1072
- "x-serializer": {
1073
- "slug": "uuid"
1074
- }
1075
- },
1076
- "uuid": {
1077
- "description": "uuid",
1078
- "type": "string",
1079
- "x-model": {
1080
- "default": "generate_uuid",
1081
- "editable": false,
1082
- "unique": true
1083
- }
1084
- }
1085
- },
1086
- "x-meta": {
1087
- "unique_together": "(\"service\", \"storage_resource\",)"
1088
- }
1089
- },
1090
- "StorageResource": {
1091
- "description": "StorageResource",
1092
- "properties": {
1093
- "advanced_attributes_map": {
1094
- "default": { },
1095
- "description": "advanced_attributes_map",
1096
- "format": "json",
1097
- "type": "string",
1098
- "x-model": {
1099
- "blank": true
1100
- }
1101
- },
1102
- "component_state": {
1103
- "description": "component_state",
1104
- "enum": [
1105
- "PENDING_CREATION",
1106
- "CREATED",
1107
- "DELETED",
1108
- "PENDING_DELETION",
1109
- "MODIFICATION",
1110
- "PENDING_MODIFICATION"
1111
- ],
1112
- "maxLength": 32,
1113
- "type": "string"
1114
- },
1115
- "logical_free": {
1116
- "default": 0,
1117
- "description": "logical_free",
1118
- "format": "int64",
1119
- "type": "integer",
1120
- "x-model": {
1121
- "blank": true,
1122
- "null": true
1123
- }
1124
- },
1125
- "logical_total": {
1126
- "default": 0,
1127
- "description": "The Total logical capacity of this resource (gb)",
1128
- "format": "int64",
1129
- "type": "integer"
1130
- },
1131
- "name": {
1132
- "description": "name",
1133
- "type": "string",
1134
- "x-model": {
1135
- "unique": true
1136
- }
1137
- },
1138
- "pool_name": {
1139
- "description": "Pool (or slice) name",
1140
- "type": "string"
1141
- },
1142
- "protocol": {
1143
- "description": "protocol",
1144
- "enum": [
1145
- "fc",
1146
- "iscsi"
1147
- ],
1148
- "type": "string"
1149
- },
1150
- "storage_system": {
1151
- "$ref": "#/components/schemas/StorageSystem",
1152
- "x-model": {
1153
- "on_delete": "models.CASCADE"
1154
- },
1155
- "x-serializer": {
1156
- "slug": "uuid"
1157
- }
1158
- },
1159
- "uuid": {
1160
- "description": "uuid",
1161
- "type": "string",
1162
- "x-model": {
1163
- "default": "generate_uuid",
1164
- "editable": false,
1165
- "unique": true
1166
- }
1167
- }
1168
- },
1169
- "x-meta": {
1170
- "unique_together": "(\"pool_name\", \"storage_system\",)"
1171
- }
1172
- },
1173
- "StorageResourceCreate": {
1174
- "description": "TODO add description",
1175
- "properties": {
1176
- "advanced_attributes_map": {
1177
- "default": { },
1178
- "description": "advanced_attributes_map",
1179
- "format": "json",
1180
- "type": "string",
1181
- "x-model": {
1182
- "blank": true
1183
- }
1184
- },
1185
- "component_state": {
1186
- "description": "component_state",
1187
- "enum": [
1188
- "PENDING_CREATION",
1189
- "CREATED",
1190
- "DELETED",
1191
- "PENDING_DELETION",
1192
- "MODIFICATION",
1193
- "PENDING_MODIFICATION"
1194
- ],
1195
- "maxLength": 32,
1196
- "type": "string"
1197
- },
1198
- "logical_free": {
1199
- "default": 0,
1200
- "description": "logical_free",
1201
- "format": "int64",
1202
- "type": "integer",
1203
- "x-model": {
1204
- "blank": true,
1205
- "null": true
1206
- }
1207
- },
1208
- "logical_total": {
1209
- "default": 0,
1210
- "description": "The Total logical capacity of this resource (gb)",
1211
- "format": "int64",
1212
- "type": "integer"
1213
- },
1214
- "name": {
1215
- "description": "name",
1216
- "type": "string",
1217
- "x-model": {
1218
- "unique": true
1219
- }
1220
- },
1221
- "pool_name": {
1222
- "description": "Pool (or slice) name",
1223
- "type": "string"
1224
- },
1225
- "protocol": {
1226
- "description": "protocol",
1227
- "enum": [
1228
- "fc",
1229
- "iscsi"
1230
- ],
1231
- "type": "string"
1232
- },
1233
- "storage_system": {
1234
- "description": "!!uuid of storage_system",
1235
- "type": "string",
1236
- "x-model": "#/components/schemas/StorageSystem",
1237
- "x-serializer": {
1238
- "slug": "uuid"
1239
- }
1240
- }
1241
- },
1242
- "x-serializer": "StorageResource"
1243
- },
1244
- "StorageResourceResponse": {
1245
- "description": "TODO add description",
1246
- "properties": {
1247
- "advanced_attributes_map": {
1248
- "default": { },
1249
- "description": "advanced_attributes_map",
1250
- "format": "json",
1251
- "type": "string",
1252
- "x-model": {
1253
- "blank": true
1254
- }
1255
- },
1256
- "component_state": {
1257
- "description": "component_state",
1258
- "enum": [
1259
- "PENDING_CREATION",
1260
- "CREATED",
1261
- "DELETED",
1262
- "PENDING_DELETION",
1263
- "MODIFICATION",
1264
- "PENDING_MODIFICATION"
1265
- ],
1266
- "maxLength": 32,
1267
- "type": "string"
1268
- },
1269
- "logical_free": {
1270
- "default": 0,
1271
- "description": "logical_free",
1272
- "format": "int64",
1273
- "type": "integer",
1274
- "x-model": {
1275
- "blank": true,
1276
- "null": true
1277
- }
1278
- },
1279
- "logical_total": {
1280
- "default": 0,
1281
- "description": "The Total logical capacity of this resource (gb)",
1282
- "format": "int64",
1283
- "type": "integer"
1284
- },
1285
- "name": {
1286
- "description": "name",
1287
- "type": "string",
1288
- "x-model": {
1289
- "unique": true
1290
- }
1291
- },
1292
- "pool_name": {
1293
- "description": "Pool (or slice) name",
1294
- "type": "string"
1295
- },
1296
- "protocol": {
1297
- "description": "protocol",
1298
- "enum": [
1299
- "fc",
1300
- "iscsi"
1301
- ],
1302
- "type": "string"
1303
- },
1304
- "storage_system": {
1305
- "description": "!!uuid of storage_system",
1306
- "type": "string",
1307
- "x-model": "#/components/schemas/StorageSystem",
1308
- "x-serializer": {
1309
- "slug": "uuid"
1310
- }
1311
- },
1312
- "uuid": {
1313
- "description": "uuid",
1314
- "type": "string",
1315
- "x-model": {
1316
- "default": "generate_uuid",
1317
- "editable": false,
1318
- "unique": true
1319
- }
1320
- }
1321
- },
1322
- "x-serializer": "StorageResource"
1323
- },
1324
- "StorageSystem": {
1325
- "description": "Use to define storage system properties.",
1326
- "properties": {
1327
- "component_state": {
1328
- "description": "component_state",
1329
- "enum": [
1330
- "PENDING_CREATION",
1331
- "CREATED",
1332
- "DELETED",
1333
- "PENDING_DELETION",
1334
- "MODIFICATION",
1335
- "PENDING_MODIFICATION"
1336
- ],
1337
- "maxLength": 32,
1338
- "type": "string"
1339
- },
1340
- "management_ip": {
1341
- "description": "management_ip",
1342
- "type": "string",
1343
- "x-model": {
1344
- "blank": true,
1345
- "null": true,
1346
- "unique": true
1347
- }
1348
- },
1349
- "name": {
1350
- "description": "name",
1351
- "maxLength": 15,
1352
- "type": "string"
1353
- },
1354
- "storage_array": {
1355
- "description": "storage_array",
1356
- "type": "string",
1357
- "x-model": {
1358
- "blank": true,
1359
- "null": true
1360
- }
1361
- },
1362
- "storage_family": {
1363
- "description": "storage_family",
1364
- "enum": [
1365
- "",
1366
- "ontap_7mode",
1367
- "ontap_cluster"
1368
- ],
1369
- "type": "string",
1370
- "x-model": {
1371
- "blank": true
1372
- }
1373
- },
1374
- "system_type": {
1375
- "$ref": "#/components/schemas/SystemType",
1376
- "x-model": {
1377
- "on_delete": "models.PROTECT"
1378
- }
1379
- },
1380
- "uuid": {
1381
- "description": "uuid",
1382
- "type": "string",
1383
- "x-model": {
1384
- "default": "generate_uuid",
1385
- "editable": false,
1386
- "unique": true
1387
- }
1388
- }
1389
- }
1390
- },
1391
- "StorageSystemCreate": {
1392
- "description": "TODO add description",
1393
- "properties": {
1394
- "auto_add_pools": {
1395
- "default": false,
1396
- "description": "auto_add_pools",
1397
- "type": "boolean"
1398
- },
1399
- "auto_setup": {
1400
- "default": false,
1401
- "description": "auto_setup",
1402
- "type": "boolean"
1403
- },
1404
- "chap_name": {
1405
- "description": "chap_name",
1406
- "type": "string",
1407
- "x-model": {
1408
- "blank": true,
1409
- "null": true
1410
- }
1411
- },
1412
- "chap_secret": {
1413
- "description": "chap_secret",
1414
- "type": "string",
1415
- "x-model": {
1416
- "blank": true,
1417
- "null": true
1418
- }
1419
- },
1420
- "component_state": {
1421
- "description": "component_state",
1422
- "enum": [
1423
- "PENDING_CREATION",
1424
- "CREATED",
1425
- "DELETED",
1426
- "PENDING_DELETION",
1427
- "MODIFICATION",
1428
- "PENDING_MODIFICATION"
1429
- ],
1430
- "maxLength": 32,
1431
- "type": "string"
1432
- },
1433
- "iqn": {
1434
- "description": "",
1435
- "type": "string",
1436
- "x-model": {
1437
- "blank": true,
1438
- "null": true
1439
- }
1440
- },
1441
- "management_ip": {
1442
- "description": "management_ip",
1443
- "type": "string",
1444
- "x-model": {
1445
- "blank": true,
1446
- "null": true,
1447
- "unique": true
1448
- }
1449
- },
1450
- "name": {
1451
- "description": "name",
1452
- "maxLength": 15,
1453
- "type": "string"
1454
- },
1455
- "password": {
1456
- "description": "password",
1457
- "type": "string"
1458
- },
1459
- "port_type": {
1460
- "description": "port_type",
1461
- "enum": [
1462
- "ISCSI",
1463
- "FC",
1464
- "NVMeFC"
1465
- ],
1466
- "type": "string",
1467
- "x-model": {
1468
- "blank": true,
1469
- "null": true
1470
- }
1471
- },
1472
- "secondary_ip": {
1473
- "description": "secondary_ip",
1474
- "type": "string",
1475
- "x-model": {
1476
- "blank": true,
1477
- "null": true
1478
- }
1479
- },
1480
- "storage_array": {
1481
- "description": "storage_array",
1482
- "type": "string",
1483
- "x-model": {
1484
- "blank": true,
1485
- "null": true
1486
- }
1487
- },
1488
- "storage_driver": {
1489
- "description": "storage_driver",
1490
- "type": "string",
1491
- "x-model": {
1492
- "blank": true,
1493
- "null": true
1494
- }
1495
- },
1496
- "storage_family": {
1497
- "description": "storage_family",
1498
- "enum": [
1499
- "",
1500
- "ontap_7mode",
1501
- "ontap_cluster"
1502
- ],
1503
- "type": "string",
1504
- "x-model": {
1505
- "blank": true
1506
- }
1507
- },
1508
- "system_type": {
1509
- "$ref": "#/components/schemas/SystemType",
1510
- "x-serializer": {
1511
- "slug": "name"
1512
- }
1513
- },
1514
- "user": {
1515
- "description": "user",
1516
- "type": "string"
1517
- },
1518
- "wwpn": {
1519
- "description": "wwpn",
1520
- "type": "string",
1521
- "x-model": {
1522
- "blank": true,
1523
- "null": true
1524
- }
1525
- }
1526
- },
1527
- "x-serializer": "StorageSystem"
1528
- },
1529
- "SystemType": {
1530
- "description": "Use to define the storage system type.",
1531
- "properties": {
1532
- "component_state": {
1533
- "description": "component_state",
1534
- "enum": [
1535
- "PENDING_CREATION",
1536
- "CREATED",
1537
- "DELETED",
1538
- "PENDING_DELETION",
1539
- "MODIFICATION",
1540
- "PENDING_MODIFICATION"
1541
- ],
1542
- "maxLength": 32,
1543
- "type": "string"
1544
- },
1545
- "name": {
1546
- "default": "xiv",
1547
- "description": "name",
1548
- "enum": [
1549
- "a_line",
1550
- "xiv",
1551
- "ds8000",
1552
- "vmax",
1553
- "netapp",
1554
- "ds8x00",
1555
- "svc"
1556
- ],
1557
- "maxLength": 10,
1558
- "type": "string"
1559
- },
1560
- "short_version": {
1561
- "description": "short_version",
1562
- "maxLength": 255,
1563
- "type": "string"
1564
- },
1565
- "uuid": {
1566
- "description": "uuid",
1567
- "type": "string",
1568
- "x-model": {
1569
- "default": "generate_uuid",
1570
- "editable": false,
1571
- "unique": true
1572
- }
1573
- },
1574
- "version": {
1575
- "description": "SystemType version",
1576
- "type": "string"
1577
- }
1578
- }
1579
- },
1580
- "SystemTypeCreate": {
1581
- "description": "TODO add description",
1582
- "properties": {
1583
- "component_state": {
1584
- "description": "component_state",
1585
- "enum": [
1586
- "PENDING_CREATION",
1587
- "CREATED",
1588
- "DELETED",
1589
- "PENDING_DELETION",
1590
- "MODIFICATION",
1591
- "PENDING_MODIFICATION"
1592
- ],
1593
- "maxLength": 32,
1594
- "type": "string"
1595
- },
1596
- "name": {
1597
- "default": "xiv",
1598
- "description": "name",
1599
- "enum": [
1600
- "a_line",
1601
- "xiv",
1602
- "ds8000",
1603
- "vmax",
1604
- "netapp",
1605
- "ds8x00",
1606
- "svc"
1607
- ],
1608
- "maxLength": 10,
1609
- "type": "string"
1610
- },
1611
- "short_version": {
1612
- "description": "short_version",
1613
- "maxLength": 255,
1614
- "type": "string"
1615
- },
1616
- "super_type": {
1617
- "default": null,
1618
- "description": "super_type",
1619
- "type": "string",
1620
- "x-model": {
1621
- "null": true
1622
- }
1623
- },
1624
- "uuid": {
1625
- "description": "uuid",
1626
- "type": "string",
1627
- "x-model": {
1628
- "default": "generate_uuid",
1629
- "editable": false,
1630
- "unique": true
1631
- }
1632
- },
1633
- "version": {
1634
- "description": "SystemType version",
1635
- "type": "string"
1636
- }
1637
- },
1638
- "x-serializer": "SystemType"
1639
- },
1640
- "Volume": {
1641
- "description": "Define volume properties on a specific storage resource.",
1642
- "properties": {
1643
- "compliant": {
1644
- "default": false,
1645
- "description": "compliant",
1646
- "type": "boolean"
1647
- },
1648
- "component_state": {
1649
- "description": "component_state",
1650
- "enum": [
1651
- "PENDING_CREATION",
1652
- "CREATED",
1653
- "DELETED",
1654
- "PENDING_DELETION",
1655
- "MODIFICATION",
1656
- "PENDING_MODIFICATION"
1657
- ],
1658
- "maxLength": 32,
1659
- "type": "string"
1660
- },
1661
- "historical_service": {
1662
- "$ref": "#/components/schemas/Service",
1663
- "x-model": {
1664
- "null": true,
1665
- "on_delete": "custom_protect('Can not delete a service that is associated with volumes.')",
1666
- "related_name": "\"historical_service\""
1667
- }
1668
- },
1669
- "name": {
1670
- "description": "name",
1671
- "type": "string",
1672
- "x-model": {
1673
- "unique": true
1674
- }
1675
- },
1676
- "service": {
1677
- "$ref": "#/components/schemas/Service",
1678
- "x-model": {
1679
- "null": true,
1680
- "on_delete": "custom_protect('Can not delete a service that is associated with volumes.')"
1681
- },
1682
- "x-serializer": {
1683
- "slug": "uuid"
1684
- }
1685
- },
1686
- "size": {
1687
- "description": "size",
1688
- "type": "integer"
1689
- },
1690
- "storage_resource": {
1691
- "$ref": "#/components/schemas/StorageResource",
1692
- "x-model": {
1693
- "on_delete": "models.PROTECT",
1694
- "related_name": "\"storage_volumes\""
1695
- },
1696
- "x-serializer": {
1697
- "slug": "uuid"
1698
- }
1699
- },
1700
- "uuid": {
1701
- "description": "uuid",
1702
- "type": "string",
1703
- "x-model": {
1704
- "default": "generate_uuid",
1705
- "editable": false,
1706
- "unique": true
1707
- }
1708
- }
1709
- }
1710
- },
1711
- "VolumeCreate": {
1712
- "description": "TODO add description",
1713
- "properties": {
1714
- "compliant": {
1715
- "default": false,
1716
- "description": "compliant",
1717
- "type": "boolean"
1718
- },
1719
- "component_state": {
1720
- "description": "component_state",
1721
- "enum": [
1722
- "PENDING_CREATION",
1723
- "CREATED",
1724
- "DELETED",
1725
- "PENDING_DELETION",
1726
- "MODIFICATION",
1727
- "PENDING_MODIFICATION"
1728
- ],
1729
- "maxLength": 32,
1730
- "type": "string"
1731
- },
1732
- "name": {
1733
- "description": "name",
1734
- "type": "string",
1735
- "x-model": {
1736
- "unique": true
1737
- }
1738
- },
1739
- "service": {
1740
- "description": "!!uuid of service",
1741
- "type": "string",
1742
- "x-model": "#/components/schemas/Service",
1743
- "x-serializer": {
1744
- "slug": "uuid"
1745
- }
1746
- },
1747
- "size": {
1748
- "description": "size",
1749
- "type": "integer"
1750
- },
1751
- "uuid": {
1752
- "description": "uuid",
1753
- "type": "string",
1754
- "x-model": {
1755
- "default": "generate_uuid",
1756
- "editable": false,
1757
- "unique": true
1758
- }
1759
- }
1760
- },
1761
- "x-serializer": "Volume"
1762
- },
1763
- "VolumeSafeDelete": {
1764
- "description": "Volume safe delete api",
1765
- "properties": {
1766
- "task_id": {
1767
- "description": "task_id",
1768
- "format": "text",
1769
- "type": "string"
1770
- },
1771
- "uuid": {
1772
- "description": "uuid",
1773
- "type": "string",
1774
- "x-model": {
1775
- "default": "generate_uuid",
1776
- "editable": false,
1777
- "unique": true
1778
- }
1779
- },
1780
- "volume": {
1781
- "$ref": "#/components/schemas/Volume",
1782
- "x-model": {
1783
- "null": true
1784
- },
1785
- "x-serializer": {
1786
- "slug": "uuid"
1787
- }
1788
- }
1789
- }
1790
- },
1791
- "VolumeSafeDeleteCreate": {
1792
- "description": "TODO add description",
1793
- "properties": {
1794
- "volume": {
1795
- "$ref": "#/components/schemas/Volume",
1796
- "x-model": {
1797
- "null": true
1798
- },
1799
- "x-serializer": {
1800
- "slug": "uuid"
1801
- }
1802
- }
1803
- },
1804
- "x-serializer": "VolumeSafeDelete"
1805
- },
1806
- "volumeResponse": {
1807
- "description": "TODO add description",
1808
- "properties": {
1809
- "compliant": {
1810
- "default": false,
1811
- "description": "compliant",
1812
- "type": "boolean"
1813
- },
1814
- "component_state": {
1815
- "description": "component_state",
1816
- "enum": [
1817
- "PENDING_CREATION",
1818
- "CREATED",
1819
- "DELETED",
1820
- "PENDING_DELETION",
1821
- "MODIFICATION",
1822
- "PENDING_MODIFICATION"
1823
- ],
1824
- "maxLength": 32,
1825
- "type": "string"
1826
- },
1827
- "historical_service": {
1828
- "$ref": "#/components/schemas/Service",
1829
- "x-model": {
1830
- "null": true,
1831
- "on_delete": "custom_protect('Can not delete a service that is associated with volumes.')",
1832
- "related_name": "\"historical_service\""
1833
- }
1834
- },
1835
- "name": {
1836
- "description": "name",
1837
- "type": "string",
1838
- "x-model": {
1839
- "unique": true
1840
- }
1841
- },
1842
- "service": {
1843
- "description": "!!uuid of service",
1844
- "type": "string",
1845
- "x-model": "#/components/schemas/Service",
1846
- "x-serializer": {
1847
- "slug": "uuid"
1848
- }
1849
- },
1850
- "size": {
1851
- "description": "size",
1852
- "type": "integer"
1853
- },
1854
- "storage_resource": {
1855
- "description": "!!uuid of storage_resource",
1856
- "type": "string",
1857
- "x-model": "#/components/schemas/StorageResource",
1858
- "x-serializer": {
1859
- "slug": "uuid"
1860
- }
1861
- },
1862
- "uuid": {
1863
- "description": "uuid",
1864
- "type": "string",
1865
- "x-model": {
1866
- "default": "generate_uuid",
1867
- "editable": false,
1868
- "unique": true
1869
- }
1870
- }
1871
- },
1872
- "x-serializer": "Volume"
1873
- },
1874
- "volumeUpdate": {
1875
- "description": "TODO add description",
1876
- "properties": {
1877
- "size": {
1878
- "description": "size",
1879
- "type": "integer"
1880
- }
1881
- },
1882
- "x-serializer": "Volume"
1883
- }
1884
- },
1885
- "securitySchemes": {
1886
- "bearerAuth": {
1887
- "scheme": "bearer",
1888
- "type": "http"
1889
- }
1890
- }
1891
- },
1892
- "info": {
1893
- "contact": {
1894
- "email": "autosde@il.ibm.com",
1895
- "name": "autosde"
1896
- },
1897
- "description": "Site Manager API",
1898
- "license": {
1899
- "name": "Apache-2.0",
1900
- "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
1901
- },
1902
- "title": "Site Manager API",
1903
- "version": "1.0.0"
1904
- },
1905
- "openapi": "3.0.0",
1906
- "paths": {
1907
- "/abstract-capabilities/": {
1908
- "get": {
1909
- "responses": {
1910
- "200": {
1911
- "content": {
1912
- "*/*": {
1913
- "schema": {
1914
- "items": {
1915
- "$ref": "#/components/schemas/AbstractCapability"
1916
- },
1917
- "type": "array"
1918
- }
1919
- }
1920
- },
1921
- "description": "successful operation"
1922
- }
1923
- },
1924
- "tags": [
1925
- "AbstractCapability"
1926
- ]
1927
- },
1928
- "post": {
1929
- "requestBody": {
1930
- "content": {
1931
- "application/json": {
1932
- "schema": {
1933
- "$ref": "#/components/schemas/AbstractCapability"
1934
- }
1935
- }
1936
- },
1937
- "required": true
1938
- },
1939
- "responses": {
1940
- "200": {
1941
- "content": {
1942
- "*/*": {
1943
- "schema": {
1944
- "items": {
1945
- "$ref": "#/components/schemas/AbstractCapability"
1946
- },
1947
- "type": "array"
1948
- }
1949
- }
1950
- },
1951
- "description": "successful operation"
1952
- }
1953
- },
1954
- "tags": [
1955
- "AbstractCapability"
1956
- ]
1957
- },
1958
- "x-model": "AbstractCapability"
1959
- },
1960
- "/abstract-capabilities/{pk}/": {
1961
- "delete": {
1962
- "responses": {
1963
- "200": {
1964
- "content": {
1965
- "*/*": {
1966
- "schema": {
1967
- "items": {
1968
- "$ref": "#/components/schemas/AbstractCapability"
1969
- },
1970
- "type": "array"
1971
- }
1972
- }
1973
- },
1974
- "description": "successful operation"
1975
- }
1976
- },
1977
- "tags": [
1978
- "AbstractCapability"
1979
- ]
1980
- },
1981
- "get": {
1982
- "responses": {
1983
- "200": {
1984
- "content": {
1985
- "*/*": {
1986
- "schema": {
1987
- "items": {
1988
- "$ref": "#/components/schemas/AbstractCapability"
1989
- },
1990
- "type": "array"
1991
- }
1992
- }
1993
- },
1994
- "description": "successful operation"
1995
- }
1996
- },
1997
- "tags": [
1998
- "AbstractCapability"
1999
- ]
2000
- },
2001
- "parameters": [
2002
- {
2003
- "in": "path",
2004
- "name": "pk",
2005
- "required": true,
2006
- "schema": {
2007
- "type": "integer"
2008
- }
2009
- }
2010
- ],
2011
- "x-model": "AbstractCapability"
2012
- },
2013
- "/accounts/": {
2014
- "get": {
2015
- "responses": {
2016
- "200": {
2017
- "content": {
2018
- "*/*": {
2019
- "schema": {
2020
- "items": {
2021
- "$ref": "#/components/schemas/AccountPostResponse"
2022
- },
2023
- "type": "array"
2024
- }
2025
- }
2026
- },
2027
- "description": "successful operation"
2028
- }
2029
- },
2030
- "tags": [
2031
- "Account"
2032
- ]
2033
- },
2034
- "post": {
2035
- "requestBody": {
2036
- "content": {
2037
- "application/json": {
2038
- "schema": {
2039
- "$ref": "#/components/schemas/AccountPostRequest"
2040
- }
2041
- }
2042
- },
2043
- "required": true
2044
- },
2045
- "responses": {
2046
- "200": {
2047
- "content": {
2048
- "*/*": {
2049
- "schema": {
2050
- "items": {
2051
- "$ref": "#/components/schemas/AccountPostResponse"
2052
- },
2053
- "type": "array"
2054
- }
2055
- }
2056
- },
2057
- "description": "successful operation"
2058
- }
2059
- },
2060
- "tags": [
2061
- "Account"
2062
- ]
2063
- },
2064
- "x-model": "Account"
2065
- },
2066
- "/accounts/{pk}": {
2067
- "delete": {
2068
- "responses": {
2069
- "200": {
2070
- "content": {
2071
- "*/*": {
2072
- "schema": {
2073
- "items": {
2074
- "$ref": "#/components/schemas/AccountPostResponse"
2075
- },
2076
- "type": "array"
2077
- }
2078
- }
2079
- },
2080
- "description": "successful operation"
2081
- }
2082
- },
2083
- "tags": [
2084
- "Account"
2085
- ]
2086
- },
2087
- "get": {
2088
- "responses": {
2089
- "200": {
2090
- "content": {
2091
- "*/*": {
2092
- "schema": {
2093
- "items": {
2094
- "$ref": "#/components/schemas/AccountPostResponse"
2095
- },
2096
- "type": "array"
2097
- }
2098
- }
2099
- },
2100
- "description": "successful operation"
2101
- }
2102
- },
2103
- "tags": [
2104
- "Account"
2105
- ]
2106
- },
2107
- "parameters": [
2108
- {
2109
- "in": "path",
2110
- "name": "pk",
2111
- "required": true,
2112
- "schema": {
2113
- "type": "integer"
2114
- }
2115
- }
2116
- ],
2117
- "put": {
2118
- "requestBody": {
2119
- "content": {
2120
- "application/json": {
2121
- "schema": {
2122
- "$ref": "#/components/schemas/AccountPostRequest"
2123
- }
2124
- }
2125
- },
2126
- "required": true
2127
- },
2128
- "responses": {
2129
- "200": {
2130
- "content": {
2131
- "*/*": {
2132
- "schema": {
2133
- "items": {
2134
- "$ref": "#/components/schemas/AccountPostResponse"
2135
- },
2136
- "type": "array"
2137
- }
2138
- }
2139
- },
2140
- "description": "successful operation"
2141
- }
2142
- },
2143
- "tags": [
2144
- "Account"
2145
- ]
2146
- },
2147
- "x-model": "Account"
2148
- },
2149
- "/addresses/": {
2150
- "get": {
2151
- "responses": {
2152
- "200": {
2153
- "content": {
2154
- "*/*": {
2155
- "schema": {
2156
- "items": {
2157
- "$ref": "#/components/schemas/Address"
2158
- },
2159
- "type": "array"
2160
- }
2161
- }
2162
- },
2163
- "description": "successful operation"
2164
- }
2165
- },
2166
- "tags": [
2167
- "Address"
2168
- ]
2169
- },
2170
- "post": {
2171
- "requestBody": {
2172
- "content": {
2173
- "application/json": {
2174
- "schema": {
2175
- "$ref": "#/components/schemas/AddressCreate"
2176
- }
2177
- }
2178
- },
2179
- "required": true
2180
- },
2181
- "responses": {
2182
- "200": {
2183
- "content": {
2184
- "*/*": {
2185
- "schema": {
2186
- "items": {
2187
- "$ref": "#/components/schemas/Address"
2188
- },
2189
- "type": "array"
2190
- }
2191
- }
2192
- },
2193
- "description": "successful operation"
2194
- }
2195
- },
2196
- "tags": [
2197
- "Address"
2198
- ]
2199
- },
2200
- "x-model": "Address"
2201
- },
2202
- "/addresses/{pk}": {
2203
- "delete": {
2204
- "responses": {
2205
- "200": {
2206
- "content": {
2207
- "*/*": {
2208
- "schema": {
2209
- "items": {
2210
- "$ref": "#/components/schemas/Address"
2211
- },
2212
- "type": "array"
2213
- }
2214
- }
2215
- },
2216
- "description": "successful operation"
2217
- }
2218
- },
2219
- "tags": [
2220
- "Address"
2221
- ]
2222
- },
2223
- "get": {
2224
- "responses": {
2225
- "200": {
2226
- "content": {
2227
- "*/*": {
2228
- "schema": {
2229
- "items": {
2230
- "$ref": "#/components/schemas/Address"
2231
- },
2232
- "type": "array"
2233
- }
2234
- }
2235
- },
2236
- "description": "successful operation"
2237
- }
2238
- },
2239
- "tags": [
2240
- "Address"
2241
- ]
2242
- },
2243
- "parameters": [
2244
- {
2245
- "in": "path",
2246
- "name": "pk",
2247
- "required": true,
2248
- "schema": {
2249
- "type": "integer"
2250
- }
2251
- }
2252
- ],
2253
- "x-model": "Address"
2254
- },
2255
- "/autosde-projects/": {
2256
- "get": {
2257
- "responses": {
2258
- "200": {
2259
- "content": {
2260
- "*/*": {
2261
- "schema": {
2262
- "items": {
2263
- "$ref": "#/components/schemas/AutoSDEProject"
2264
- },
2265
- "type": "array"
2266
- }
2267
- }
2268
- },
2269
- "description": "successful operation"
2270
- }
2271
- },
2272
- "tags": [
2273
- "AutoSDEProject"
2274
- ]
2275
- },
2276
- "post": {
2277
- "requestBody": {
2278
- "content": {
2279
- "application/json": {
2280
- "schema": {
2281
- "$ref": "#/components/schemas/AutoSDEProject"
2282
- }
2283
- }
2284
- },
2285
- "required": true
2286
- },
2287
- "responses": {
2288
- "200": {
2289
- "content": {
2290
- "*/*": {
2291
- "schema": {
2292
- "items": {
2293
- "$ref": "#/components/schemas/AutoSDEProject"
2294
- },
2295
- "type": "array"
2296
- }
2297
- }
2298
- },
2299
- "description": "successful operation"
2300
- }
2301
- },
2302
- "tags": [
2303
- "AutoSDEProject"
2304
- ]
2305
- },
2306
- "x-model": "AutoSDEProject"
2307
- },
2308
- "/autosde-projects/{pk}/": {
2309
- "delete": {
2310
- "responses": {
2311
- "200": {
2312
- "content": {
2313
- "*/*": {
2314
- "schema": {
2315
- "items": {
2316
- "$ref": "#/components/schemas/AutoSDEProject"
2317
- },
2318
- "type": "array"
2319
- }
2320
- }
2321
- },
2322
- "description": "successful operation"
2323
- }
2324
- },
2325
- "tags": [
2326
- "AutoSDEProject"
2327
- ]
2328
- },
2329
- "get": {
2330
- "responses": {
2331
- "200": {
2332
- "content": {
2333
- "*/*": {
2334
- "schema": {
2335
- "items": {
2336
- "$ref": "#/components/schemas/AutoSDEProject"
2337
- },
2338
- "type": "array"
2339
- }
2340
- }
2341
- },
2342
- "description": "successful operation"
2343
- }
2344
- },
2345
- "tags": [
2346
- "AutoSDEProject"
2347
- ]
2348
- },
2349
- "parameters": [
2350
- {
2351
- "in": "path",
2352
- "name": "pk",
2353
- "required": true,
2354
- "schema": {
2355
- "type": "integer"
2356
- }
2357
- }
2358
- ],
2359
- "x-model": "AutoSDEProject"
2360
- },
2361
- "/autosde-roles/": {
2362
- "get": {
2363
- "responses": {
2364
- "200": {
2365
- "content": {
2366
- "*/*": {
2367
- "schema": {
2368
- "items": {
2369
- "$ref": "#/components/schemas/AutoSDERole"
2370
- },
2371
- "type": "array"
2372
- }
2373
- }
2374
- },
2375
- "description": "successful operation"
2376
- }
2377
- },
2378
- "tags": [
2379
- "AutoSDERole"
2380
- ]
2381
- },
2382
- "post": {
2383
- "requestBody": {
2384
- "content": {
2385
- "application/json": {
2386
- "schema": {
2387
- "$ref": "#/components/schemas/AutoSDERole"
2388
- }
2389
- }
2390
- },
2391
- "required": true
2392
- },
2393
- "responses": {
2394
- "200": {
2395
- "content": {
2396
- "*/*": {
2397
- "schema": {
2398
- "items": {
2399
- "$ref": "#/components/schemas/AutoSDERole"
2400
- },
2401
- "type": "array"
2402
- }
2403
- }
2404
- },
2405
- "description": "successful operation"
2406
- }
2407
- },
2408
- "tags": [
2409
- "AutoSDERole"
2410
- ]
2411
- },
2412
- "x-model": "AutoSDERole"
2413
- },
2414
- "/autosde-roles/{pk}/": {
2415
- "delete": {
2416
- "responses": {
2417
- "200": {
2418
- "content": {
2419
- "*/*": {
2420
- "schema": {
2421
- "items": {
2422
- "$ref": "#/components/schemas/AutoSDERole"
2423
- },
2424
- "type": "array"
2425
- }
2426
- }
2427
- },
2428
- "description": "successful operation"
2429
- }
2430
- },
2431
- "tags": [
2432
- "AutoSDERole"
2433
- ]
2434
- },
2435
- "get": {
2436
- "responses": {
2437
- "200": {
2438
- "content": {
2439
- "*/*": {
2440
- "schema": {
2441
- "items": {
2442
- "$ref": "#/components/schemas/AutoSDERole"
2443
- },
2444
- "type": "array"
2445
- }
2446
- }
2447
- },
2448
- "description": "successful operation"
2449
- }
2450
- },
2451
- "tags": [
2452
- "AutoSDERole"
2453
- ]
2454
- },
2455
- "parameters": [
2456
- {
2457
- "in": "path",
2458
- "name": "pk",
2459
- "required": true,
2460
- "schema": {
2461
- "type": "integer"
2462
- }
2463
- }
2464
- ],
2465
- "x-model": "AutoSDERole"
2466
- },
2467
- "/capability-translations/": {
2468
- "get": {
2469
- "responses": {
2470
- "200": {
2471
- "content": {
2472
- "*/*": {
2473
- "schema": {
2474
- "items": {
2475
- "$ref": "#/components/schemas/CapabilityTranslation"
2476
- },
2477
- "type": "array"
2478
- }
2479
- }
2480
- },
2481
- "description": "successful operation"
2482
- }
2483
- },
2484
- "tags": [
2485
- "CapabilityTranslation"
2486
- ]
2487
- },
2488
- "post": {
2489
- "requestBody": {
2490
- "content": {
2491
- "application/json": {
2492
- "schema": {
2493
- "$ref": "#/components/schemas/CapabilityTranslationCreate"
2494
- }
2495
- }
2496
- },
2497
- "required": true
2498
- },
2499
- "responses": {
2500
- "200": {
2501
- "content": {
2502
- "*/*": {
2503
- "schema": {
2504
- "items": {
2505
- "$ref": "#/components/schemas/CapabilityTranslation"
2506
- },
2507
- "type": "array"
2508
- }
2509
- }
2510
- },
2511
- "description": "successful operation"
2512
- }
2513
- },
2514
- "tags": [
2515
- "CapabilityTranslation"
2516
- ]
2517
- },
2518
- "x-model": "CapabilityTranslation"
2519
- },
2520
- "/capability-translations/{pk}": {
2521
- "delete": {
2522
- "responses": {
2523
- "200": {
2524
- "content": {
2525
- "*/*": {
2526
- "schema": {
2527
- "items": {
2528
- "$ref": "#/components/schemas/CapabilityTranslation"
2529
- },
2530
- "type": "array"
2531
- }
2532
- }
2533
- },
2534
- "description": "successful operation"
2535
- }
2536
- },
2537
- "tags": [
2538
- "CapabilityTranslation"
2539
- ]
2540
- },
2541
- "get": {
2542
- "responses": {
2543
- "200": {
2544
- "content": {
2545
- "*/*": {
2546
- "schema": {
2547
- "items": {
2548
- "$ref": "#/components/schemas/CapabilityTranslation"
2549
- },
2550
- "type": "array"
2551
- }
2552
- }
2553
- },
2554
- "description": "successful operation"
2555
- }
2556
- },
2557
- "tags": [
2558
- "CapabilityTranslation"
2559
- ]
2560
- },
2561
- "parameters": [
2562
- {
2563
- "in": "path",
2564
- "name": "pk",
2565
- "required": true,
2566
- "schema": {
2567
- "type": "integer"
2568
- }
2569
- }
2570
- ],
2571
- "x-model": "CapabilityTranslation"
2572
- },
2573
- "/host-volume-connection/": {
2574
- "get": {
2575
- "responses": {
2576
- "200": {
2577
- "content": {
2578
- "*/*": {
2579
- "schema": {
2580
- "items": {
2581
- "$ref": "#/components/schemas/HostVolumeConnection"
2582
- },
2583
- "type": "array"
2584
- }
2585
- }
2586
- },
2587
- "description": "successful operation"
2588
- }
2589
- },
2590
- "tags": [
2591
- "HostVolumeConnection"
2592
- ]
2593
- },
2594
- "post": {
2595
- "requestBody": {
2596
- "content": {
2597
- "application/json": {
2598
- "schema": {
2599
- "$ref": "#/components/schemas/HostVolumeConnectionCreate"
2600
- }
2601
- }
2602
- },
2603
- "required": true
2604
- },
2605
- "responses": {
2606
- "200": {
2607
- "content": {
2608
- "*/*": {
2609
- "schema": {
2610
- "items": {
2611
- "$ref": "#/components/schemas/HostVolumeConnection"
2612
- },
2613
- "type": "array"
2614
- }
2615
- }
2616
- },
2617
- "description": "successful operation"
2618
- }
2619
- },
2620
- "tags": [
2621
- "HostVolumeConnection"
2622
- ]
2623
- },
2624
- "x-model": "HostVolumeConnection"
2625
- },
2626
- "/host-volume-connection/{pk}": {
2627
- "delete": {
2628
- "responses": {
2629
- "200": {
2630
- "content": {
2631
- "*/*": {
2632
- "schema": {
2633
- "items": {
2634
- "$ref": "#/components/schemas/HostVolumeConnection"
2635
- },
2636
- "type": "array"
2637
- }
2638
- }
2639
- },
2640
- "description": "successful operation"
2641
- }
2642
- },
2643
- "tags": [
2644
- "HostVolumeConnection"
2645
- ]
2646
- },
2647
- "get": {
2648
- "responses": {
2649
- "200": {
2650
- "content": {
2651
- "*/*": {
2652
- "schema": {
2653
- "items": {
2654
- "$ref": "#/components/schemas/HostVolumeConnection"
2655
- },
2656
- "type": "array"
2657
- }
2658
- }
2659
- },
2660
- "description": "successful operation"
2661
- }
2662
- },
2663
- "tags": [
2664
- "HostVolumeConnection"
2665
- ]
2666
- },
2667
- "parameters": [
2668
- {
2669
- "in": "path",
2670
- "name": "pk",
2671
- "required": true,
2672
- "schema": {
2673
- "type": "integer"
2674
- }
2675
- }
2676
- ],
2677
- "x-model": "HostVolumeConnection"
2678
- },
2679
- "/hosts/": {
2680
- "get": {
2681
- "responses": {
2682
- "200": {
2683
- "content": {
2684
- "*/*": {
2685
- "schema": {
2686
- "items": {
2687
- "$ref": "#/components/schemas/Host"
2688
- },
2689
- "type": "array"
2690
- }
2691
- }
2692
- },
2693
- "description": "successful operation"
2694
- }
2695
- },
2696
- "tags": [
2697
- "Host"
2698
- ]
2699
- },
2700
- "post": {
2701
- "requestBody": {
2702
- "content": {
2703
- "application/json": {
2704
- "schema": {
2705
- "$ref": "#/components/schemas/HostCreate"
2706
- }
2707
- }
2708
- },
2709
- "required": true
2710
- },
2711
- "responses": {
2712
- "200": {
2713
- "content": {
2714
- "*/*": {
2715
- "schema": {
2716
- "items": {
2717
- "$ref": "#/components/schemas/Host"
2718
- },
2719
- "type": "array"
2720
- }
2721
- }
2722
- },
2723
- "description": "successful operation"
2724
- }
2725
- },
2726
- "tags": [
2727
- "Host"
2728
- ]
2729
- },
2730
- "x-model": "Host"
2731
- },
2732
- "/hosts/{pk}": {
2733
- "delete": {
2734
- "responses": {
2735
- "200": {
2736
- "content": {
2737
- "*/*": {
2738
- "schema": {
2739
- "items": {
2740
- "$ref": "#/components/schemas/Host"
2741
- },
2742
- "type": "array"
2743
- }
2744
- }
2745
- },
2746
- "description": "successful operation"
2747
- }
2748
- },
2749
- "tags": [
2750
- "Host"
2751
- ]
2752
- },
2753
- "get": {
2754
- "responses": {
2755
- "200": {
2756
- "content": {
2757
- "*/*": {
2758
- "schema": {
2759
- "items": {
2760
- "$ref": "#/components/schemas/Host"
2761
- },
2762
- "type": "array"
2763
- }
2764
- }
2765
- },
2766
- "description": "successful operation"
2767
- }
2768
- },
2769
- "tags": [
2770
- "Host"
2771
- ]
2772
- },
2773
- "parameters": [
2774
- {
2775
- "in": "path",
2776
- "name": "pk",
2777
- "required": true,
2778
- "schema": {
2779
- "type": "integer"
2780
- }
2781
- }
2782
- ],
2783
- "x-model": "Host"
2784
- },
2785
- "/native-capabilities/": {
2786
- "get": {
2787
- "responses": {
2788
- "200": {
2789
- "content": {
2790
- "*/*": {
2791
- "schema": {
2792
- "items": {
2793
- "$ref": "#/components/schemas/NativeCapability"
2794
- },
2795
- "type": "array"
2796
- }
2797
- }
2798
- },
2799
- "description": "successful operation"
2800
- }
2801
- },
2802
- "tags": [
2803
- "NativeCapability"
2804
- ]
2805
- },
2806
- "post": {
2807
- "requestBody": {
2808
- "content": {
2809
- "application/json": {
2810
- "schema": {
2811
- "$ref": "#/components/schemas/NativeCapability"
2812
- }
2813
- }
2814
- },
2815
- "required": true
2816
- },
2817
- "responses": {
2818
- "200": {
2819
- "content": {
2820
- "*/*": {
2821
- "schema": {
2822
- "items": {
2823
- "$ref": "#/components/schemas/NativeCapability"
2824
- },
2825
- "type": "array"
2826
- }
2827
- }
2828
- },
2829
- "description": "successful operation"
2830
- }
2831
- },
2832
- "tags": [
2833
- "NativeCapability"
2834
- ]
2835
- },
2836
- "x-model": "NativeCapability"
2837
- },
2838
- "/native-capabilities/{pk}": {
2839
- "delete": {
2840
- "responses": {
2841
- "200": {
2842
- "content": {
2843
- "*/*": {
2844
- "schema": {
2845
- "items": {
2846
- "$ref": "#/components/schemas/NativeCapability"
2847
- },
2848
- "type": "array"
2849
- }
2850
- }
2851
- },
2852
- "description": "successful operation"
2853
- }
2854
- },
2855
- "tags": [
2856
- "NativeCapability"
2857
- ]
2858
- },
2859
- "get": {
2860
- "responses": {
2861
- "200": {
2862
- "content": {
2863
- "*/*": {
2864
- "schema": {
2865
- "items": {
2866
- "$ref": "#/components/schemas/NativeCapability"
2867
- },
2868
- "type": "array"
2869
- }
2870
- }
2871
- },
2872
- "description": "successful operation"
2873
- }
2874
- },
2875
- "tags": [
2876
- "NativeCapability"
2877
- ]
2878
- },
2879
- "parameters": [
2880
- {
2881
- "in": "path",
2882
- "name": "pk",
2883
- "required": true,
2884
- "schema": {
2885
- "type": "integer"
2886
- }
2887
- }
2888
- ],
2889
- "x-model": "NativeCapability"
2890
- },
2891
- "/profiles/": {
2892
- "get": {
2893
- "responses": {
2894
- "200": {
2895
- "content": {
2896
- "*/*": {
2897
- "schema": {
2898
- "items": {
2899
- "$ref": "#/components/schemas/Profile"
2900
- },
2901
- "type": "array"
2902
- }
2903
- }
2904
- },
2905
- "description": "successful operation"
2906
- }
2907
- },
2908
- "tags": [
2909
- "Profile"
2910
- ]
2911
- },
2912
- "post": {
2913
- "requestBody": {
2914
- "content": {
2915
- "application/json": {
2916
- "schema": {
2917
- "$ref": "#/components/schemas/Profile"
2918
- }
2919
- }
2920
- },
2921
- "required": true
2922
- },
2923
- "responses": {
2924
- "200": {
2925
- "content": {
2926
- "*/*": {
2927
- "schema": {
2928
- "items": {
2929
- "$ref": "#/components/schemas/Profile"
2930
- },
2931
- "type": "array"
2932
- }
2933
- }
2934
- },
2935
- "description": "successful operation"
2936
- }
2937
- },
2938
- "tags": [
2939
- "Profile"
2940
- ]
2941
- },
2942
- "x-model": "Profile"
2943
- },
2944
- "/profiles/{pk}/": {
2945
- "delete": {
2946
- "responses": {
2947
- "200": {
2948
- "content": {
2949
- "*/*": {
2950
- "schema": {
2951
- "items": {
2952
- "$ref": "#/components/schemas/Profile"
2953
- },
2954
- "type": "array"
2955
- }
2956
- }
2957
- },
2958
- "description": "successful operation"
2959
- }
2960
- },
2961
- "tags": [
2962
- "Profile"
2963
- ]
2964
- },
2965
- "get": {
2966
- "responses": {
2967
- "200": {
2968
- "content": {
2969
- "*/*": {
2970
- "schema": {
2971
- "items": {
2972
- "$ref": "#/components/schemas/Profile"
2973
- },
2974
- "type": "array"
2975
- }
2976
- }
2977
- },
2978
- "description": "successful operation"
2979
- }
2980
- },
2981
- "tags": [
2982
- "Profile"
2983
- ]
2984
- },
2985
- "parameters": [
2986
- {
2987
- "in": "path",
2988
- "name": "pk",
2989
- "required": true,
2990
- "schema": {
2991
- "type": "integer"
2992
- }
2993
- }
2994
- ],
2995
- "x-model": "Profile"
2996
- },
2997
- "/provisioning-strategy/": {
2998
- "get": {
2999
- "responses": {
3000
- "200": {
3001
- "content": {
3002
- "*/*": {
3003
- "schema": {
3004
- "items": {
3005
- "$ref": "#/components/schemas/ProvisioningStrategy"
3006
- },
3007
- "type": "array"
3008
- }
3009
- }
3010
- },
3011
- "description": "successful operation"
3012
- }
3013
- },
3014
- "tags": [
3015
- "ProvisioningStrategy"
3016
- ]
3017
- },
3018
- "post": {
3019
- "requestBody": {
3020
- "content": {
3021
- "application/json": {
3022
- "schema": {
3023
- "$ref": "#/components/schemas/ProvisioningStrategy"
3024
- }
3025
- }
3026
- },
3027
- "required": true
3028
- },
3029
- "responses": {
3030
- "200": {
3031
- "content": {
3032
- "*/*": {
3033
- "schema": {
3034
- "items": {
3035
- "$ref": "#/components/schemas/ProvisioningStrategy"
3036
- },
3037
- "type": "array"
3038
- }
3039
- }
3040
- },
3041
- "description": "successful operation"
3042
- }
3043
- },
3044
- "tags": [
3045
- "ProvisioningStrategy"
3046
- ]
3047
- },
3048
- "x-model": "ProvisioningStrategy"
3049
- },
3050
- "/provisioning-strategy/{pk}": {
3051
- "delete": {
3052
- "responses": {
3053
- "200": {
3054
- "content": {
3055
- "*/*": {
3056
- "schema": {
3057
- "items": {
3058
- "$ref": "#/components/schemas/ProvisioningStrategy"
3059
- },
3060
- "type": "array"
3061
- }
3062
- }
3063
- },
3064
- "description": "successful operation"
3065
- }
3066
- },
3067
- "tags": [
3068
- "ProvisioningStrategy"
3069
- ]
3070
- },
3071
- "get": {
3072
- "responses": {
3073
- "200": {
3074
- "content": {
3075
- "*/*": {
3076
- "schema": {
3077
- "items": {
3078
- "$ref": "#/components/schemas/ProvisioningStrategy"
3079
- },
3080
- "type": "array"
3081
- }
3082
- }
3083
- },
3084
- "description": "successful operation"
3085
- }
3086
- },
3087
- "tags": [
3088
- "ProvisioningStrategy"
3089
- ]
3090
- },
3091
- "parameters": [
3092
- {
3093
- "in": "path",
3094
- "name": "pk",
3095
- "required": true,
3096
- "schema": {
3097
- "type": "integer"
3098
- }
3099
- }
3100
- ],
3101
- "x-model": "ProvisioningStrategy"
3102
- },
3103
- "/safe-deletes/": {
3104
- "get": {
3105
- "responses": {
3106
- "200": {
3107
- "content": {
3108
- "*/*": {
3109
- "schema": {
3110
- "items": {
3111
- "$ref": "#/components/schemas/VolumeSafeDelete"
3112
- },
3113
- "type": "array"
3114
- }
3115
- }
3116
- },
3117
- "description": "successful operation"
3118
- }
3119
- },
3120
- "tags": [
3121
- "VolumeSafeDelete"
3122
- ]
3123
- },
3124
- "post": {
3125
- "requestBody": {
3126
- "content": {
3127
- "application/json": {
3128
- "schema": {
3129
- "$ref": "#/components/schemas/VolumeSafeDeleteCreate"
3130
- }
3131
- }
3132
- },
3133
- "required": true
3134
- },
3135
- "responses": {
3136
- "200": {
3137
- "content": {
3138
- "*/*": {
3139
- "schema": {
3140
- "items": {
3141
- "$ref": "#/components/schemas/VolumeSafeDelete"
3142
- },
3143
- "type": "array"
3144
- }
3145
- }
3146
- },
3147
- "description": "successful operation"
3148
- }
3149
- },
3150
- "tags": [
3151
- "VolumeSafeDelete"
3152
- ]
3153
- },
3154
- "x-model": "VolumeSafeDelete"
3155
- },
3156
- "/safe-deletes/{pk}": {
3157
- "delete": {
3158
- "responses": {
3159
- "200": {
3160
- "content": {
3161
- "*/*": {
3162
- "schema": {
3163
- "items": {
3164
- "$ref": "#/components/schemas/VolumeSafeDelete"
3165
- },
3166
- "type": "array"
3167
- }
3168
- }
3169
- },
3170
- "description": "successful operation"
3171
- }
3172
- },
3173
- "tags": [
3174
- "VolumeSafeDelete"
3175
- ]
3176
- },
3177
- "get": {
3178
- "responses": {
3179
- "200": {
3180
- "content": {
3181
- "*/*": {
3182
- "schema": {
3183
- "items": {
3184
- "$ref": "#/components/schemas/VolumeSafeDelete"
3185
- },
3186
- "type": "array"
3187
- }
3188
- }
3189
- },
3190
- "description": "successful operation"
3191
- }
3192
- },
3193
- "tags": [
3194
- "VolumeSafeDelete"
3195
- ]
3196
- },
3197
- "parameters": [
3198
- {
3199
- "in": "path",
3200
- "name": "pk",
3201
- "required": true,
3202
- "schema": {
3203
- "type": "integer"
3204
- }
3205
- }
3206
- ],
3207
- "x-model": "VolumeSafeDelete"
3208
- },
3209
- "/service-resource-attchment/": {
3210
- "get": {
3211
- "responses": {
3212
- "200": {
3213
- "content": {
3214
- "*/*": {
3215
- "schema": {
3216
- "items": {
3217
- "$ref": "#/components/schemas/ServiceResourceAttachment"
3218
- },
3219
- "type": "array"
3220
- }
3221
- }
3222
- },
3223
- "description": "successful operation"
3224
- }
3225
- },
3226
- "tags": [
3227
- "ServiceResourceAttachment"
3228
- ]
3229
- },
3230
- "post": {
3231
- "requestBody": {
3232
- "content": {
3233
- "application/json": {
3234
- "schema": {
3235
- "$ref": "#/components/schemas/ServiceResourceAttachment"
3236
- }
3237
- }
3238
- },
3239
- "required": true
3240
- },
3241
- "responses": {
3242
- "200": {
3243
- "content": {
3244
- "*/*": {
3245
- "schema": {
3246
- "items": {
3247
- "$ref": "#/components/schemas/ServiceResourceAttachment"
3248
- },
3249
- "type": "array"
3250
- }
3251
- }
3252
- },
3253
- "description": "successful operation"
3254
- }
3255
- },
3256
- "tags": [
3257
- "ServiceResourceAttachment"
3258
- ]
3259
- },
3260
- "x-model": "ServiceResourceAttachment"
3261
- },
3262
- "/service-resource-attchment/{pk}": {
3263
- "delete": {
3264
- "responses": {
3265
- "200": {
3266
- "content": {
3267
- "*/*": {
3268
- "schema": {
3269
- "items": {
3270
- "$ref": "#/components/schemas/ServiceResourceAttachment"
3271
- },
3272
- "type": "array"
3273
- }
3274
- }
3275
- },
3276
- "description": "successful operation"
3277
- }
3278
- },
3279
- "tags": [
3280
- "ServiceResourceAttachment"
3281
- ]
3282
- },
3283
- "get": {
3284
- "responses": {
3285
- "200": {
3286
- "content": {
3287
- "*/*": {
3288
- "schema": {
3289
- "items": {
3290
- "$ref": "#/components/schemas/ServiceResourceAttachment"
3291
- },
3292
- "type": "array"
3293
- }
3294
- }
3295
- },
3296
- "description": "successful operation"
3297
- }
3298
- },
3299
- "tags": [
3300
- "ServiceResourceAttachment"
3301
- ]
3302
- },
3303
- "parameters": [
3304
- {
3305
- "in": "path",
3306
- "name": "pk",
3307
- "required": true,
3308
- "schema": {
3309
- "type": "integer"
3310
- }
3311
- }
3312
- ],
3313
- "x-model": "ServiceResourceAttachment"
3314
- },
3315
- "/services/": {
3316
- "get": {
3317
- "responses": {
3318
- "200": {
3319
- "content": {
3320
- "*/*": {
3321
- "schema": {
3322
- "items": {
3323
- "$ref": "#/components/schemas/Service"
3324
- },
3325
- "type": "array"
3326
- }
3327
- }
3328
- },
3329
- "description": "successful operation"
3330
- }
3331
- },
3332
- "tags": [
3333
- "Service"
3334
- ]
3335
- },
3336
- "post": {
3337
- "requestBody": {
3338
- "content": {
3339
- "application/json": {
3340
- "schema": {
3341
- "$ref": "#/components/schemas/ServiceCreate"
3342
- }
3343
- }
3344
- },
3345
- "required": true
3346
- },
3347
- "responses": {
3348
- "200": {
3349
- "content": {
3350
- "*/*": {
3351
- "schema": {
3352
- "items": {
3353
- "$ref": "#/components/schemas/Service"
3354
- },
3355
- "type": "array"
3356
- }
3357
- }
3358
- },
3359
- "description": "successful operation"
3360
- }
3361
- },
3362
- "tags": [
3363
- "Service"
3364
- ]
3365
- },
3366
- "x-model": "Service"
3367
- },
3368
- "/services/{pk}": {
3369
- "delete": {
3370
- "responses": {
3371
- "200": {
3372
- "content": {
3373
- "*/*": {
3374
- "schema": {
3375
- "items": {
3376
- "$ref": "#/components/schemas/Service"
3377
- },
3378
- "type": "array"
3379
- }
3380
- }
3381
- },
3382
- "description": "successful operation"
3383
- }
3384
- },
3385
- "tags": [
3386
- "Service"
3387
- ]
3388
- },
3389
- "get": {
3390
- "responses": {
3391
- "200": {
3392
- "content": {
3393
- "*/*": {
3394
- "schema": {
3395
- "items": {
3396
- "$ref": "#/components/schemas/Service"
3397
- },
3398
- "type": "array"
3399
- }
3400
- }
3401
- },
3402
- "description": "successful operation"
3403
- }
3404
- },
3405
- "tags": [
3406
- "Service"
3407
- ]
3408
- },
3409
- "parameters": [
3410
- {
3411
- "in": "path",
3412
- "name": "pk",
3413
- "required": true,
3414
- "schema": {
3415
- "type": "integer"
3416
- }
3417
- }
3418
- ],
3419
- "put": {
3420
- "requestBody": {
3421
- "content": {
3422
- "application/json": {
3423
- "schema": {
3424
- "$ref": "#/components/schemas/Service"
3425
- }
3426
- }
3427
- },
3428
- "required": true
3429
- },
3430
- "responses": {
3431
- "200": {
3432
- "content": {
3433
- "*/*": {
3434
- "schema": {
3435
- "items": {
3436
- "$ref": "#/components/schemas/Service"
3437
- },
3438
- "type": "array"
3439
- }
3440
- }
3441
- },
3442
- "description": "successful operation"
3443
- }
3444
- },
3445
- "tags": [
3446
- "Service"
3447
- ]
3448
- },
3449
- "x-model": "Service"
3450
- },
3451
- "/storage-resources/": {
3452
- "get": {
3453
- "responses": {
3454
- "200": {
3455
- "content": {
3456
- "*/*": {
3457
- "schema": {
3458
- "items": {
3459
- "$ref": "#/components/schemas/StorageResourceResponse"
3460
- },
3461
- "type": "array"
3462
- }
3463
- }
3464
- },
3465
- "description": "successful operation"
3466
- }
3467
- },
3468
- "tags": [
3469
- "StorageResource"
3470
- ]
3471
- },
3472
- "post": {
3473
- "requestBody": {
3474
- "content": {
3475
- "application/json": {
3476
- "schema": {
3477
- "$ref": "#/components/schemas/StorageResourceCreate"
3478
- }
3479
- }
3480
- },
3481
- "required": true
3482
- },
3483
- "responses": {
3484
- "200": {
3485
- "content": {
3486
- "*/*": {
3487
- "schema": {
3488
- "items": {
3489
- "$ref": "#/components/schemas/StorageResourceResponse"
3490
- },
3491
- "type": "array"
3492
- }
3493
- }
3494
- },
3495
- "description": "successful operation"
3496
- }
3497
- },
3498
- "tags": [
3499
- "StorageResource"
3500
- ]
3501
- },
3502
- "x-model": "StorageResource"
3503
- },
3504
- "/storage-resources/{pk}": {
3505
- "delete": {
3506
- "responses": {
3507
- "200": {
3508
- "content": {
3509
- "*/*": {
3510
- "schema": {
3511
- "items": {
3512
- "$ref": "#/components/schemas/StorageResourceResponse"
3513
- },
3514
- "type": "array"
3515
- }
3516
- }
3517
- },
3518
- "description": "successful operation"
3519
- }
3520
- },
3521
- "tags": [
3522
- "StorageResource"
3523
- ]
3524
- },
3525
- "get": {
3526
- "responses": {
3527
- "200": {
3528
- "content": {
3529
- "*/*": {
3530
- "schema": {
3531
- "items": {
3532
- "$ref": "#/components/schemas/StorageResourceResponse"
3533
- },
3534
- "type": "array"
3535
- }
3536
- }
3537
- },
3538
- "description": "successful operation"
3539
- }
3540
- },
3541
- "tags": [
3542
- "StorageResource"
3543
- ]
3544
- },
3545
- "parameters": [
3546
- {
3547
- "in": "path",
3548
- "name": "pk",
3549
- "required": true,
3550
- "schema": {
3551
- "type": "integer"
3552
- }
3553
- }
3554
- ],
3555
- "put": {
3556
- "requestBody": {
3557
- "content": {
3558
- "application/json": {
3559
- "schema": {
3560
- "$ref": "#/components/schemas/StorageResourceCreate"
3561
- }
3562
- }
3563
- },
3564
- "required": true
3565
- },
3566
- "responses": {
3567
- "200": {
3568
- "content": {
3569
- "*/*": {
3570
- "schema": {
3571
- "items": {
3572
- "$ref": "#/components/schemas/StorageResourceResponse"
3573
- },
3574
- "type": "array"
3575
- }
3576
- }
3577
- },
3578
- "description": "successful operation"
3579
- }
3580
- },
3581
- "tags": [
3582
- "StorageResource"
3583
- ]
3584
- },
3585
- "x-model": "StorageResource"
3586
- },
3587
- "/storage-systems/": {
3588
- "get": {
3589
- "responses": {
3590
- "200": {
3591
- "content": {
3592
- "*/*": {
3593
- "schema": {
3594
- "items": {
3595
- "$ref": "#/components/schemas/StorageSystem"
3596
- },
3597
- "type": "array"
3598
- }
3599
- }
3600
- },
3601
- "description": "successful operation"
3602
- }
3603
- },
3604
- "tags": [
3605
- "StorageSystem"
3606
- ]
3607
- },
3608
- "post": {
3609
- "requestBody": {
3610
- "content": {
3611
- "application/json": {
3612
- "schema": {
3613
- "$ref": "#/components/schemas/StorageSystemCreate"
3614
- }
3615
- }
3616
- },
3617
- "required": true
3618
- },
3619
- "responses": {
3620
- "200": {
3621
- "content": {
3622
- "*/*": {
3623
- "schema": {
3624
- "items": {
3625
- "$ref": "#/components/schemas/StorageSystem"
3626
- },
3627
- "type": "array"
3628
- }
3629
- }
3630
- },
3631
- "description": "successful operation"
3632
- }
3633
- },
3634
- "tags": [
3635
- "StorageSystem"
3636
- ]
3637
- },
3638
- "x-model": "StorageSystem"
3639
- },
3640
- "/storage-systems/{pk}": {
3641
- "delete": {
3642
- "responses": {
3643
- "200": {
3644
- "content": {
3645
- "*/*": {
3646
- "schema": {
3647
- "items": {
3648
- "$ref": "#/components/schemas/StorageSystem"
3649
- },
3650
- "type": "array"
3651
- }
3652
- }
3653
- },
3654
- "description": "successful operation"
3655
- }
3656
- },
3657
- "tags": [
3658
- "StorageSystem"
3659
- ]
3660
- },
3661
- "get": {
3662
- "responses": {
3663
- "200": {
3664
- "content": {
3665
- "*/*": {
3666
- "schema": {
3667
- "items": {
3668
- "$ref": "#/components/schemas/StorageSystem"
3669
- },
3670
- "type": "array"
3671
- }
3672
- }
3673
- },
3674
- "description": "successful operation"
3675
- }
3676
- },
3677
- "tags": [
3678
- "StorageSystem"
3679
- ]
3680
- },
3681
- "parameters": [
3682
- {
3683
- "in": "path",
3684
- "name": "pk",
3685
- "required": true,
3686
- "schema": {
3687
- "type": "integer"
3688
- }
3689
- }
3690
- ],
3691
- "x-model": "StorageSystem"
3692
- },
3693
- "/system-types/": {
3694
- "get": {
3695
- "responses": {
3696
- "200": {
3697
- "content": {
3698
- "*/*": {
3699
- "schema": {
3700
- "items": {
3701
- "$ref": "#/components/schemas/SystemType"
3702
- },
3703
- "type": "array"
3704
- }
3705
- }
3706
- },
3707
- "description": "successful operation"
3708
- }
3709
- },
3710
- "tags": [
3711
- "SystemType"
3712
- ]
3713
- },
3714
- "post": {
3715
- "requestBody": {
3716
- "content": {
3717
- "application/json": {
3718
- "schema": {
3719
- "$ref": "#/components/schemas/SystemTypeCreate"
3720
- }
3721
- }
3722
- },
3723
- "required": true
3724
- },
3725
- "responses": {
3726
- "200": {
3727
- "content": {
3728
- "*/*": {
3729
- "schema": {
3730
- "items": {
3731
- "$ref": "#/components/schemas/SystemType"
3732
- },
3733
- "type": "array"
3734
- }
3735
- }
3736
- },
3737
- "description": "successful operation"
3738
- }
3739
- },
3740
- "tags": [
3741
- "SystemType"
3742
- ]
3743
- },
3744
- "x-model": "SystemType"
3745
- },
3746
- "/system-types/{pk}": {
3747
- "delete": {
3748
- "responses": {
3749
- "200": {
3750
- "content": {
3751
- "*/*": {
3752
- "schema": {
3753
- "items": {
3754
- "$ref": "#/components/schemas/SystemType"
3755
- },
3756
- "type": "array"
3757
- }
3758
- }
3759
- },
3760
- "description": "successful operation"
3761
- }
3762
- },
3763
- "tags": [
3764
- "SystemType"
3765
- ]
3766
- },
3767
- "get": {
3768
- "responses": {
3769
- "200": {
3770
- "content": {
3771
- "*/*": {
3772
- "schema": {
3773
- "items": {
3774
- "$ref": "#/components/schemas/SystemType"
3775
- },
3776
- "type": "array"
3777
- }
3778
- }
3779
- },
3780
- "description": "successful operation"
3781
- }
3782
- },
3783
- "tags": [
3784
- "SystemType"
3785
- ]
3786
- },
3787
- "parameters": [
3788
- {
3789
- "in": "path",
3790
- "name": "pk",
3791
- "required": true,
3792
- "schema": {
3793
- "type": "integer"
3794
- }
3795
- }
3796
- ],
3797
- "x-model": "SystemType"
3798
- },
3799
- "/token-auth": {
3800
- "post": {
3801
- "requestBody": {
3802
- "content": {
3803
- "application/json": {
3804
- "schema": {
3805
- "$ref": "#/components/schemas/Authentication"
3806
- }
3807
- }
3808
- },
3809
- "required": true
3810
- },
3811
- "responses": {
3812
- "200": {
3813
- "content": {
3814
- "*/*": {
3815
- "schema": {
3816
- "$ref": "#/components/schemas/AuthResponse"
3817
- }
3818
- }
3819
- },
3820
- "description": "successful operation"
3821
- }
3822
- },
3823
- "security": [ ],
3824
- "tags": [
3825
- "Authentication"
3826
- ]
3827
- },
3828
- "x-model": "Authentication"
3829
- },
3830
- "/volumes/": {
3831
- "get": {
3832
- "responses": {
3833
- "200": {
3834
- "content": {
3835
- "*/*": {
3836
- "schema": {
3837
- "items": {
3838
- "$ref": "#/components/schemas/volumeResponse"
3839
- },
3840
- "type": "array"
3841
- }
3842
- }
3843
- },
3844
- "description": "successful operation"
3845
- }
3846
- },
3847
- "tags": [
3848
- "Volume"
3849
- ]
3850
- },
3851
- "post": {
3852
- "requestBody": {
3853
- "content": {
3854
- "application/json": {
3855
- "schema": {
3856
- "$ref": "#/components/schemas/VolumeCreate"
3857
- }
3858
- }
3859
- },
3860
- "required": true
3861
- },
3862
- "responses": {
3863
- "200": {
3864
- "content": {
3865
- "*/*": {
3866
- "schema": {
3867
- "items": {
3868
- "$ref": "#/components/schemas/volumeResponse"
3869
- },
3870
- "type": "array"
3871
- }
3872
- }
3873
- },
3874
- "description": "successful operation"
3875
- }
3876
- },
3877
- "tags": [
3878
- "Volume"
3879
- ]
3880
- },
3881
- "x-model": "Volume"
3882
- },
3883
- "/volumes/{pk}": {
3884
- "delete": {
3885
- "responses": {
3886
- "200": {
3887
- "content": {
3888
- "*/*": {
3889
- "schema": {
3890
- "items": {
3891
- "$ref": "#/components/schemas/Volume"
3892
- },
3893
- "type": "array"
3894
- }
3895
- }
3896
- },
3897
- "description": "successful operation"
3898
- }
3899
- },
3900
- "tags": [
3901
- "Volume"
3902
- ]
3903
- },
3904
- "get": {
3905
- "responses": {
3906
- "200": {
3907
- "content": {
3908
- "*/*": {
3909
- "schema": {
3910
- "items": {
3911
- "$ref": "#/components/schemas/volumeResponse"
3912
- },
3913
- "type": "array"
3914
- }
3915
- }
3916
- },
3917
- "description": "successful operation"
3918
- }
3919
- },
3920
- "tags": [
3921
- "Volume"
3922
- ]
3923
- },
3924
- "parameters": [
3925
- {
3926
- "in": "path",
3927
- "name": "pk",
3928
- "required": true,
3929
- "schema": {
3930
- "type": "integer"
3931
- }
3932
- }
3933
- ],
3934
- "put": {
3935
- "requestBody": {
3936
- "content": {
3937
- "application/json": {
3938
- "schema": {
3939
- "$ref": "#/components/schemas/volumeUpdate"
3940
- }
3941
- }
3942
- },
3943
- "required": true
3944
- },
3945
- "responses": {
3946
- "200": {
3947
- "content": {
3948
- "*/*": {
3949
- "schema": {
3950
- "items": {
3951
- "$ref": "#/components/schemas/volumeResponse"
3952
- },
3953
- "type": "array"
3954
- }
3955
- }
3956
- },
3957
- "description": "successful operation"
3958
- }
3959
- },
3960
- "tags": [
3961
- "Volume"
3962
- ]
3963
- },
3964
- "x-model": "Volume"
3965
- }
3966
- },
3967
- "security": [
3968
- {
3969
- "bearerAuth": [ ]
3970
- }
3971
- ],
3972
- "servers": [
3973
- {
3974
- "url": "{protocol}://{host}:{port}/site-manager/api/v1/engine",
3975
- "variables": {
3976
- "host": {
3977
- "default": "localhost"
3978
- },
3979
- "port": {
3980
- "default": "9000"
3981
- },
3982
- "protocol": {
3983
- "default": "http",
3984
- "enum": [
3985
- "http",
3986
- "https"
3987
- ]
3988
- }
3989
- }
3990
- }
3991
- ]
3992
- }