diff options
author | 2019-03-12 22:52:23 +0000 | |
---|---|---|
committer | 2019-03-13 23:53:20 +0000 | |
commit | e8e80aa23f5fbddd01408c776b619b2d3e1b20fa (patch) | |
tree | 3956c564da64be8863dcf25741250301d186e33c /products/onap-dublin/features/multicloud/src/main/resources/open-cli-schema/multicloud-cloud-delete-schema.yaml | |
parent | 65d9d65c6e3bf9f4f5590a3ba3d9234b63c04596 (diff) |
CLI Schema files for multicloud
Schema files for CLI command to trigger multicloud
registration and delete cloud region using multicloud
Change-Id: Ife9e93cf61f745141f13bea8d87b46b0afcc238a
Issue-ID: CLI-133 CLI-152
Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Diffstat (limited to 'products/onap-dublin/features/multicloud/src/main/resources/open-cli-schema/multicloud-cloud-delete-schema.yaml')
-rw-r--r-- | products/onap-dublin/features/multicloud/src/main/resources/open-cli-schema/multicloud-cloud-delete-schema.yaml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/products/onap-dublin/features/multicloud/src/main/resources/open-cli-schema/multicloud-cloud-delete-schema.yaml b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-schema/multicloud-cloud-delete-schema.yaml new file mode 100644 index 00000000..ca47473d --- /dev/null +++ b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-schema/multicloud-cloud-delete-schema.yaml @@ -0,0 +1,46 @@ +# Copyright © Intel Corporation 2019 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +open_cli_schema_version: 1.0 +name: multicloud-cloud-delete +description: Deletes a cloud region, can be used to directly delete cloud referenced by other resources + +info: + product: onap-dublin + service: multicloud + author: ONAP HPA Integration Team (itohan.ukponmwan@intel.com) + +parameters: + - name: cloud-region + description: Onap Cloud region name + type: string + short_option: x + long_option: cloud-region + is_optional: false + - name: cloud-owner + description: Onap Cloud Owner name + type: string + short_option: y + long_option: cloud-owner + is_optional: false + +http: + service: + auth: none + mode: direct + request: + uri: /api/multicloud-titaniumcloud/v0/${cloud-owner}_${cloud-region} + method: DELETE + success_codes: + - 204 |