diff options
author | 2019-03-14 06:56:27 +0000 | |
---|---|---|
committer | 2019-03-14 06:56:27 +0000 | |
commit | 72e01174faa3376fb5c095715b3e4cca037ff969 (patch) | |
tree | b4aa18560ab39d31b1183d8c0e12e06a9f4e9018 /products/onap-dublin/features/multicloud/src/main/resources/open-cli-schema/multicloud-cloud-delete-schema.yaml | |
parent | 7bdf1ffcec130d6e0f76cd4b69919f7fdc6b805f (diff) | |
parent | e8e80aa23f5fbddd01408c776b619b2d3e1b20fa (diff) |
Merge "CLI Schema files for multicloud"
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 |