1 # Copyright © Intel Corporation 2019
\r
3 # Licensed under the Apache License, Version 2.0 (the "License");
\r
4 # you may not use this file except in compliance with the License.
\r
5 # You may obtain a copy of the License at
\r
7 # http://www.apache.org/licenses/LICENSE-2.0
\r
9 # Unless required by applicable law or agreed to in writing, software
\r
10 # distributed under the License is distributed on an "AS IS" BASIS,
\r
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
12 # See the License for the specific language governing permissions and
\r
13 # limitations under the License.
\r
15 open_cli_schema_version: 1.0
\r
16 name: service-delete
\r
18 description: Delete a service instance using SO
\r
21 product: onap-dublin
\r
23 author: ONAP CLI Team onap-discuss@lists.onap.org
\r
27 description: unique id for service instance
\r
30 long_option: service-instace-id
\r
32 - name: model-invariant-id
\r
33 description: model invariant id for service in SDC catalog
\r
36 long_option: model-invariant-id
\r
39 description: model uuid for service in SDC catalog
\r
42 long_option: model-uuid
\r
45 description: model name available in SDC catalog
\r
48 long_option: model-name
\r
50 - name: model-version
\r
51 description: model version of service (eg. 1.0)
\r
54 long_option: model-version
\r
56 - name: customer-name
\r
57 description: unique id for customer
\r
60 long_option: customer-name
\r
62 - name: cloud-region
\r
63 description: cloud region id
\r
66 long_option: cloud-region
\r
69 description: tenant id
\r
72 long_option: tenant-id
\r
74 - name: requestor-id
\r
75 description: requestor ID
\r
78 long_option: requestor-id
\r
88 uri: /onap/so/infra/serviceInstances/v6/${service-id}
\r
93 "modelType":"service",
\r
94 "modelInvariantId":"${model-invariant-id}",
\r
95 "modelVersionId":"${model-uuid}",
\r
96 "modelName":"${model-name}",
\r
97 "modelVersion":"${model-version}"
\r
99 "cloudConfiguration":{
\r
100 "lcpCloudRegionId":"${cloud-region}",
\r
101 "tenantId":"${tenant-id}"
\r
104 "globalSubscriberId":"${customer-name}"
\r
107 "requestorId":"${requestor-id}",
\r